Emilio Cobos Álvarez
645b3eb6fd
Bug 1782595 - Use the preferred color-scheme to propagate to SVG images. r=tnikkel
...
We have tests for the explicit color-scheme in the WPT, and testing this
properly needs prefs to switch the light/dark preference so tests can't
go there.
Undoing https://hg.mozilla.org/integration/autoland/rev/f31efc2a9229
should be enough to cover the difference between preferred and used
color-scheme.
Depends on D154923
Differential Revision: https://phabricator.services.mozilla.com/D154924
2022-08-18 15:49:52 +00:00
Mark Banner
7428be4a86
Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Emilio Cobos Álvarez
5b5d69a8c4
Bug 1779457 - Fix test_mq_dynamic_svg.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-07-14 12:37:41 +02:00
Tooru Fujisawa
52c95734e7
Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Joel Maher
490f3d046c
Bug 1773523 - allow_xul_xbl support in manifests. r=mccr8,gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D148681
2022-06-09 19:01:01 +00:00
Mark Banner
61c02dadbe
Bug 1770727 - Fix ESLint rule mozilla/use-services on sjs files and expose Services to sjs files. r=Gijs
...
Depends on D147080
Differential Revision: https://phabricator.services.mozilla.com/D147081
2022-06-07 19:14:08 +00:00
Molnar Sandor
05e3775a6c
Backed out 4 changesets (bug 1770727) for causing mochitest failures in test_bug1180105/test_access_control. CLOSED TREE
...
Backed out changeset 6323b526b0ac (bug 1770727)
Backed out changeset fc7ea80aa2ff (bug 1770727)
Backed out changeset 2a358ba86652 (bug 1770727)
Backed out changeset 464d1af6523b (bug 1770727)
2022-05-24 17:24:40 +03:00
Mark Banner
dac6401c3b
Bug 1770727 - Fix ESLint rule mozilla/use-services on sjs files and expose Services to sjs files. r=Gijs
...
Depends on D147080
Differential Revision: https://phabricator.services.mozilla.com/D147081
2022-05-24 12:59:09 +00:00
Mark Banner
7c198e01fd
Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-18 08:13:19 +00:00
Mark Banner
3924c8914b
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Sebastian Hengst
c552340e0c
Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
...
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner
5865f044db
Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
Mark Banner
4acbb4ff59
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
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
Sean Feng
8e783e6bee
Bug 1753471 - Only notify http-on-image-cache-response once per cache entry r=tnikkel
...
I've also tested the behavior in Chrome and I think this is
the correct way of doing it. Chrome also only notifies the
cached entry once, it won't notify it even if I manually
trigger it after pageload.
Differential Revision: https://phabricator.services.mozilla.com/D138346
2022-02-10 18:18:28 +00:00
Joel Maher
63bf096aef
Bug 1743907 - Remove webrender annotation from manifestparser manifests. r=ahal,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D132682
2021-12-03 16:04:29 +00:00
Sean Feng
5283aecc5d
Bug 1468476 - Make soft reload only force validates top level document r=necko-reviewers,nika,dragana,asuth
...
Currently, soft reload uses the `VALIDATE_ALWAYS` flag to not only
force revalidate the top level document, but also subresources.
This causes content to be refetched from the web even if there
are caches that are still valid and can be used.
Chrome already has such behaviour to not revalidate all resources.
Differential Revision: https://phabricator.services.mozilla.com/D122270
2021-10-28 16:11:56 +00:00
Evgenia Kotovich
0d0980ee0d
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli
2bba3cec69
Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE
2021-10-18 02:05:57 +03:00
Evgenia Kotovich
3e3dff109c
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Emilio Cobos Alvarez
6b14a46381
Bug 1736163 - Use the right pref to enforce prefers-color-scheme values in a mochitest.
...
Differential Revision: https://phabricator.services.mozilla.com/D128678
2021-10-17 12:31:24 +00:00
Alexandru Michis
dac6815201
Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
...
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich
a8b32926fa
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Emilio Cobos Álvarez
79c6ddf304
Bug 1731138 - Invalidate WebRender mask data from css::ImageLoader. r=tnikkel
...
Otherwise we don't properly repaint animated images.
Differential Revision: https://phabricator.services.mozilla.com/D126093
2021-09-21 11:18:58 +00:00
Emilio Cobos Álvarez
2120c052a0
Bug 1730834 - Don't stop animated images from nsDocumentViewer::Stop. r=smaug
...
We don't stop other animations and such, so seems weird to do it only
for animated images. This line comes from bug 70030, but we no longer
provide "Esc" as a shortcut for Stop(), so it's probably no longer
relevant for users.
Differential Revision: https://phabricator.services.mozilla.com/D125815
2021-09-16 17:25:35 +00:00
Jon Bauman
909cb45a39
Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D121819
2021-08-05 15:48:00 +00:00
Emilio Cobos Álvarez
7ee0e2d6e4
Bug 1719375 - Consider documents used-as-an-image always active. r=tnikkel
...
These are ticked when painted, so it is fine and it's effectively what
happened before bug 1717983 (because we didn't get into this condition:
https://hg.mozilla.org/mozilla-central/rev/cb704553fc64#l3.73 ).
Differential Revision: https://phabricator.services.mozilla.com/D119314
2021-07-08 12:54:48 +00:00
Jon Bauman
bd341b09c9
Bug 1682995 - Revert Enable AVIF support by default. r=aosmond,valentin,necko-reviewers,preferences-reviewers,Gijs
...
Revert this change to turn AVIF off by default for now
Differential Revision: https://phabricator.services.mozilla.com/D111892
2021-04-14 23:36:23 +00:00
Joel Maher
1358ee02d0
Bug 1702786 - migrate mochitest plain, chrome, gpu, remote, a11y, and crashtests from OSX 10.14 -> OSX 10.15. r=releng-reviewers,aki
...
Differential Revision: https://phabricator.services.mozilla.com/D110713
2021-04-08 15:20:00 +00:00
Daniel Holbert
0414682ea1
Bug 1701510: Zero out the 'body' margin for all ImageDocuments (including iframes and printed images). r=emilio
...
This makes us match Blink and WebKit on how to render an iframe whose src
attribute is an image URL. They seem to have always used 0 margin in this
case, and this seems preferable from an author's perspective (since the
standard HTML-body margin feels kind of arbitrary, when viewing an image).
Note that this change does also mean that images will be slightly closer to the
upper-left of the page, if they're viewed directly and then printed. This
shouldn't cause them to be clipped or cause other issues; they'll still be
offset from the page edge by the printed-page margins, as well as any
unprintable areas that we get from the printer.
Differential Revision: https://phabricator.services.mozilla.com/D110294
2021-04-01 00:24:10 +00:00
Andrew Osmond
29848ac31b
Bug 1693383 - Part 1. Adjust tests to correctly detect HW-WR and SW-WR variants. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D105620
2021-02-24 18:47:23 +00:00
Butkovits Atila
8237c8c393
Bug 1354561 - disable test_animSVGImage2.html for frequent failures. r=intermittent-reviewers,tnikkel,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D104941
2021-02-16 22:01:20 +00:00
Jon Bauman
7fed1dba96
Bug 1682995 - Enable AVIF support by default. r=aosmond,preferences-reviewers,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D99964
2021-01-08 20:16:58 +00:00
Emilio Cobos Álvarez
2ec5aacdde
Bug 1685078 - Fix test_bullet_animation.html. r=tnikkel
...
The current test relies on the explicit decoding that we start
triggering unconditionally right now, and which my previous patch
removes:
https://searchfox.org/mozilla-central/rev/519f913527b0d9d5097d290d5731cff6b2991fe0/layout/generic/nsBulletFrame.cpp#1065
Remove the text so that the animation polling stuff detects when the
image loads (otherwise it sees a non-blank paint and starts thinking
that stuff is loaded, taking the reference snapshot too early).
Similarly, we need to set the color to transparent so that we don't get the
bullet that we draw as a fallback while the image is loading.
Differential Revision: https://phabricator.services.mozilla.com/D101034
2021-01-08 09:44:32 +00:00
Randell Jesup
184f4e7a19
Bug 1653458: re-enable test_bug1325080.html for fission+xorigin r=kashav
...
Differential Revision: https://phabricator.services.mozilla.com/D95343
2020-10-30 17:05:15 +00:00
tkhan
75ea54bf01
Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 20:34:46 +00:00
Bogdan Tara
6faddf7d8f
Backed out changeset 1a0f002865d3 (bug 1650919) for test_deprecated.html failures CLOSED TREE
2020-07-13 19:22:21 +03:00
tkhan
e50031dfc7
Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 13:01:43 +00:00
Kartikaya Gupta
77fbcf18c0
Bug 1651050 - Make sure the iframe is actually outside the "nearly visible" displayport. r=tnikkel
...
If the scrollable div ends up as the first-encountered scrollframe, it gets a
big displayport that is just over 5000px CSS pixels tall (on GeckoView). When we
check for images being "nearly visible" we expand that displayport further by a
pref-controlled multiplier, which ends up doubling the displayport height to
over 10000 CSS pixels. So for the image to actually get detected as outside the
"nearly visible rect" it needs to be positioned further down in the iframe.
This test was previously passing on GeckoView because the scrollable div was
not getting detected as the first-encountered scrollframe; the root scrollframe
for the top-level document was the one getting the displayport even though it
didn't really need it. A later patch in this bug changes the first-encountered
scrollframe, causing this test to fail without this patch.
Differential Revision: https://phabricator.services.mozilla.com/D82777
2020-07-08 23:50:16 +00:00
longsonr
ea442838d3
Bug 1648463 - Move SVGForeignObjectFrame SVGImageFrame and SVGUseFrame to mozilla namespace r=dholbert,jgilbert
...
stop exposing SVGImageListener as only SVGImageFrame uses it.
Differential Revision: https://phabricator.services.mozilla.com/D81087
2020-06-25 20:42:49 +00:00
tkhan
6ccabd4784
Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D70362
2020-06-22 19:09:49 +00:00
Kris Maglione
3bda67deab
Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-17 17:17:16 +00:00
Razvan Maries
a36bb7751f
Backed out 3 changesets (bug 1638153) for perma failures on cross-origin-objects.html. CLOSED TREE
...
Backed out changeset f7aedc92d396 (bug 1638153)
Backed out changeset 07ec713926c6 (bug 1638153)
Backed out changeset 5a656842e241 (bug 1638153)
2020-06-01 23:51:35 +03:00
Kris Maglione
b3fcd970ec
Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D75429
2020-06-01 17:59:01 +00:00
Masatoshi Kimura
b9a2ffc214
Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Razvan Maries
b65c634b01
Backed out changeset 6c865ed1f998 (bug 1641389) for perma failures on test_animation_operators.html. CLOSED TREE
2020-05-28 05:43:40 +03:00
Andrew Osmond
994485ee93
Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D77182
2020-05-28 01:39:01 +00:00
Razvan Maries
09cc85b802
Backed out changeset fd4e161666b0 (bug 1641389) for build bustages on nsImageModule.cpp. CLOSED TREE
2020-05-28 02:44:42 +03:00
Andrew Osmond
342432ef38
Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D77182
2020-05-27 23:08:38 +00:00
Mihai Alexandru Michis
37ef8a125d
Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
...
CLOSED TREE
2020-05-23 02:22:20 +03:00