EWE.reporting.contentTypesMap.get("main_frame") should return "document"
Background
This was brought up by Thomas on https://gitlab.com/eyeo/adblockplus/abc/webext-sdk/-/issues/135.
EWE.reporting.contentTypesMap.get("main_frame")
currently returns "other", which is not useful.
ABPUI is currently working around this (see code and code)
Use case
- When reporting in the dev tools, it's useful to have a meaningful type from a filter perspective (see https://gitlab.com/eyeo/adblockplus/abc/webext-sdk/-/issues/135#note_813687920)
What to change
Add "main_frame" => "document"
to EWE.reporting.contentTypesMap