new content types for nsIContentPolicy

Various discussions related to Adblock Plus development

new content types for nsIContentPolicy

Postby lewisje » Sat Nov 07, 2015 4:01 pm

I noticed in Firefox 42 that there is a new TYPE_EMBED as distinct from TYPE_OBJECT (and the tracking bug also mentioned the long-deprecated APPLET), and that SUBDOCUMENT was split into FRAME and IFRAME (and maybe IMPORT for HTML Imports, I know that was mentioned in the tracking bug): https://developer.mozilla.org/en-US/Fir ... tentPolicy

I realize that you have probably already seen this change, because Firefox 42 Nightly builds started appearing months ago, but I'm surprised to see all the types that have been added to nsIContentPolicy over the years: https://developer.mozilla.org/en-US/doc ... tentPolicy

I wonder whether ABP for Firefox will support new filter syntax to specially handle these new content types, or maybe just (for consistency with the other platforms) merge them with the existing request-type selectors, like mapping FRAME, IFRAME, and IMPORT to subdocument, EMBED to object, IMAGESET to image, FETCH and BEACON to xmlhttprequest, etc. (or maybe some of these are just mapped to other).
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
lewisje
 
Posts: 2744
Joined: Mon Jun 14, 2010 12:07 pm

Return to Adblock Plus development

Who is online

Users browsing this forum: No registered users and 1 guest