gecko-dev/image/test/mochitest
Emilio Cobos Álvarez 6553f27967 Bug 1762298 - Inherit used color-scheme from embedder <browser> elements. r=nika,dao,Gijs
This allows popups and sidebars to use the chrome preferred
color-scheme.

This moves the responsibility of setting the content-preferred color
scheme to the appropriate browsers to the front-end (via tabs.css).

We still return the PreferredColorSchemeForContent() when there's no
pres context (e.g., for display:none in-process iframes). We could
potentially move a bunch of the pres-context data to the document
instead, but that should be acceptable IMO as for general web content
there's no behavior change in any case.

Differential Revision: https://phabricator.services.mozilla.com/D142578
2022-04-04 18:22:04 +00:00
..
.eslintrc.js
6M-pixels.png
12M-pixels-1.png
12M-pixels-2.png
animated1.gif
animated1.svg
animated2.gif
animated-gif2.gif
animated-gif_trailing-garbage.gif
animated-gif-finalframe.gif
animated-gif.gif
animatedMask.gif
animation.svg
animationPolling.js
bad.jpg
big.png
blue.gif
blue.png
bug89419-iframe.html
bug89419.sjs
bug399925.gif
bug415761.ico
bug468160.sjs
bug478398_ONLY.png
bug490949-iframe.html
bug490949.sjs
bug496292-1.sjs
bug496292-2.sjs
bug496292-iframe-1.html
bug496292-iframe-2.html
bug496292-iframe-ref.html
bug497665-iframe.html
bug497665.sjs
bug552605.sjs
bug657191.sjs
bug671906-iframe.html
bug671906.sjs
bug733553-informant.sjs
bug733553.sjs
bug767779.sjs
bug900200-ref.png
bug900200.png
bug1132427.gif
bug1132427.html
bug1180105-waiter.sjs
bug1180105.sjs
bug1217571-iframe.html
bug1217571.jpg
bug1319025-ref.png
bug1319025.png
child.html
chrome.ini
clear2-results.gif
clear2.gif
clear2.webp
clear.gif
clear.png
clear.webp
damon.jpg
error-early.png
filter-final.svg
filter.svg
finite-apng.png
first-frame-padding.gif
green-background.html
green.png
grey.png
ico-bmp-opaque.ico
ico-bmp-transparent.ico
iframe.html
imgutils.js
infinite-apng.png
infinite.webp
INT32_MIN.bmp
invalid.jpg
keep.gif
keep.png
keep.webp
lime100x100.svg
lime-anim-100x100-2.svg
lime-anim-100x100.svg
lime-css-anim-100x100.svg
mochitest.ini
mq_dynamic_svg_ref.html
mq_dynamic_svg_test.html
opaque.bmp
over.png
purple.gif
rainbow.gif
red.gif
red.png
ref-iframe.html
restore-previous.gif
restore-previous.png
rillybad.jpg
schrep.png
shaver.png
short_header.gif
source.png
test_animated_css_image.html
test_animated_gif.html
test_animation2.html
test_animation_operators.html
test_animation.html
test_animSVGImage2.html
test_animSVGImage.html
test_background_image_anim.html
test_bug89419-1.html
test_bug89419-2.html
test_bug399925.html
test_bug415761.html
test_bug435296.html
test_bug466586.html
test_bug468160.html
test_bug478398.html
test_bug490949.html
test_bug496292.html
test_bug497665.html
test_bug552605-1.html
test_bug552605-2.html
test_bug553982.html
test_bug601470.html
test_bug614392.html
test_bug657191.html
test_bug671906.html
test_bug733553.html
test_bug767779.html
test_bug865919.html
test_bug1132427.html
test_bug1180105.html
test_bug1217571.html
test_bug1325080.html
test_bullet_animation.html
test_canvas_frame_animation.html
test_changeOfSource2.html
test_changeOfSource.html
test_discardAnimatedImage.html
test_discardFinishedAnimatedImage.html
test_discardFramesAnimatedImage.html
test_drawDiscardedImage.html
test_error_events.html
test_has_transparency.html
test_image_cache_notification.html
test_image_crossorigin_data_url.html
test_mq_dynamic_svg.html
test_net_failedtoprocess.html
test_removal_ondecode.html
test_removal_onload.html
test_short_gif_header.html
test_staticClone.html
test_svg_animatedGIF.html
test_svg_filter_animation.html
test_synchronized_animation.html
test_undisplayed_iframe.html
test_webcam.html
test_xultree_animation.xhtml
transparent.gif
transparent.png
webcam-simulacrum.sjs