mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00

This patch does change the extension-related special case in SVGContextPaint::IsAllowedForImageFromURI to check the "internal:svgContextPropertiesAllowed" extension permission, and move the existing criteria in the Extension class (which takes care of adding the internal permission when those criteria as met). This patch does not contain yet a new explicit test case for the new internal permission (which is part of the patch build on top of this one and attached to the same bugzilla issue), but it does pass the existing mochitest-chrome (test_chrome_ext_svg_context_fill.html). Differential Revision: https://phabricator.services.mozilla.com/D115835