Commit Graph

9575 Commits

Author SHA1 Message Date
Andreas Pehrson
e34f5951b7 Bug 1597451 - Remove the almost-duplicate gum_in_oop_frame.html. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D93074
2020-10-21 07:44:42 +00:00
Andreas Pehrson
9f81146616 Bug 1597451 - Make runTests able to track nested iframes. r=johannh
This would allow us to track tests in e.g., a same-process iframe inside an
out-of-process iframe.

Differential Revision: https://phabricator.services.mozilla.com/D93073
2020-10-15 08:00:06 +00:00
Andreas Pehrson
8bd2f17474 Bug 1597451 - Extend timeout of in-frame gum browser test. r=johannh
This is timing out locally in a non-opt debug build.

Differential Revision: https://phabricator.services.mozilla.com/D93072
2020-10-15 07:59:58 +00:00
Tim Nguyen
da94db3328 Bug 1356031 - Remove toolkit error-16.png and replace usages with respective SVGs. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D94173
2020-10-20 21:14:47 +00:00
Gijs Kruitbosch
5c4c731f32 Bug 1667787 - fix saving webp images served with jpeg extensions without content-disposition information, r=mak
This changes two bits of Firefox that, together with the mime service, end up
very confused over webp + jpeg.

1) it changes contentAreaUtils.js' getDefaultExtension that if it gets an image
mimetype as the content type, it should ignore the URL. It doesn't have full channel
info so it can't really do better anyway. This fixes the context menu's "save image as..."
case.
2) it changes the external helper app service to do a few things slightly differently:
a. If we're told not to get an extension out of a URL, really don't. Don't just get the
   filename and then get it from there anyway...
b. If we've got a suggested filename, and a primary extension for the mimetype,
   and the extension on the file is not one of the known extensions for the mimetype,
   replace it with the primary extension.
This fixes the link case.

It also adds tests for both of these mechanisms as well as "save image as."

Differential Revision: https://phabricator.services.mozilla.com/D92306
2020-10-20 20:35:26 +00:00
Csoregi Natalia
e1f31bf2cf Backed out changeset ff2ad4b3e863 (bug 1667787) for failures on test_nullCharFile.xhtml. CLOSED TREE 2020-10-20 19:24:50 +03:00
Gijs Kruitbosch
993ebad789 Bug 1667787 - fix saving webp images served with jpeg extensions without content-disposition information, r=mak
This changes two bits of Firefox that, together with the mime service, end up
very confused over webp + jpeg.

1) it changes contentAreaUtils.js' getDefaultExtension that if it gets an image
mimetype as the content type, it should ignore the URL. It doesn't have full channel
info so it can't really do better anyway. This fixes the context menu's "save image as..."
case.
2) it changes the external helper app service to do a few things slightly differently:
a. If we're told not to get an extension out of a URL, really don't. Don't just get the
   filename and then get it from there anyway...
b. If we've got a suggested filename, and a primary extension for the mimetype,
   and the extension on the file is not one of the known extensions for the mimetype,
   replace it with the primary extension.
This fixes the link case.

It also adds tests for both of these mechanisms as well as "save image as."

Differential Revision: https://phabricator.services.mozilla.com/D92306
2020-10-20 12:05:10 +00:00
Steven MacLeod
de51813a38 Bug 1667286 - wait for requestFullscreen promise in browser_fullscreen_api_fission.js r=mconley
Before this change we were only waiting for the `fullscreenchange`
event in the frame that requested fullscreen. This event is fired
before the the promise returned by `requestFullscreen` is resolved.
We now wait on the returned promise to resolve in addition to the
event, which should delay when we check the logged events from
all the frames.

Differential Revision: https://phabricator.services.mozilla.com/D94017
2020-10-19 15:10:30 +00:00
Narcis Beleuzu
b0a4fed533 Backed out changeset 19f174844357 (bug 1667787) for bc failure on browser_bug676619.js . CLOSED TREE 2020-10-20 00:11:01 +03:00
Gijs Kruitbosch
304c70a46b Bug 1667787 - fix saving webp images served with jpeg extensions without content-disposition information, r=mak
This changes two bits of Firefox that, together with the mime service, end up
very confused over webp + jpeg.

1) it changes contentAreaUtils.js' getDefaultExtension that if it gets an image
mimetype as the content type, it should ignore the URL. It doesn't have full channel
info so it can't really do better anyway. This fixes the context menu's "save image as..."
case.
2) it changes the external helper app service to do a few things slightly differently:
a. If we're told not to get an extension out of a URL, really don't. Don't just get the
   filename and then get it from there anyway...
b. If we've got a suggested filename, and a primary extension for the mimetype,
   and the extension on the file is not one of the known extensions for the mimetype,
   replace it with the primary extension.
This fixes the link case.

It also adds tests for both of these mechanisms as well as "save image as."

Differential Revision: https://phabricator.services.mozilla.com/D92306
2020-10-19 16:14:13 +00:00
Narcis Beleuzu
9bc9f8eaab Backed out 12 changesets (bug 1626278) for mochitest leakchecks . CLOSED TREE
Backed out changeset eeed6ebfc444 (bug 1626278)
Backed out changeset cc2023032191 (bug 1626278)
Backed out changeset 15f89d2c5981 (bug 1626278)
Backed out changeset 1227d9db743d (bug 1626278)
Backed out changeset d91d9eb46983 (bug 1626278)
Backed out changeset 5861d6340ee8 (bug 1626278)
Backed out changeset 1cf19408d522 (bug 1626278)
Backed out changeset 90cf750aba51 (bug 1626278)
Backed out changeset 991bc13ae061 (bug 1626278)
Backed out changeset 8432bc08676e (bug 1626278)
Backed out changeset 5c0c76832287 (bug 1626278)
Backed out changeset 2f57fa13df7e (bug 1626278)
2020-10-19 22:58:59 +03:00
Narcis Beleuzu
8c2c851d6a Backed out 1 changesets (bug 727668) for bc failures on browser_aboutNewTab_bookmarksToolbar.js . CLOSED TREE
Backed out changeset 5b6a14b4e16e (bug 727668)
2020-10-19 21:19:17 +03:00
Jared Wein
dae078ac27 Bug 727668 - Show bookmarks toolbar on the new tab page. r=Gijs,fluent-reviewers
This adds the ability to force the bookmarks toolbar to appear on all pages. The checkbox in the toolbar context menu will reflect if the toolbar will appear outside of the newtab page. The toolbar will always appear on the newtab page. Profiles that already had the toolbar showing will have a migration to keep their experience unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D89222
2020-10-19 16:38:17 +00:00
Byron Campen [:bwc]
3cb5009305 Bug 1626278: Add a browser-chrome test for the WebrtcGlobalInformation interface. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D92637
2020-10-15 19:51:55 +00:00
Peter Van der Beken
f2f3dbccf6 Bug 1671223 - Reenable some tests that are now succeeding with session history in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D93770
2020-10-19 08:41:11 +00:00
Jared Wein
ca443e7580 Bug 1670255 - Show default notification bar on permanent private windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D93591
2020-10-15 21:49:03 +00:00
Andreu Botella
f83dda1f28 Bug 1661075 - Switch the security checks when loading favicons depending on the crossorigin attribute. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D93168
2020-10-15 19:47:13 +00:00
Bogdan Tara
9b0aed6bf7 Backed out 11 changesets (bug 1626278) for leaks and WebrtcGlobalInformation related failures CLOSED TREE
Backed out changeset 59228ee9d9e0 (bug 1626278)
Backed out changeset 59da0d11510e (bug 1626278)
Backed out changeset cd2e50c8af34 (bug 1626278)
Backed out changeset afdb75a17ac9 (bug 1626278)
Backed out changeset 5f453c8df70b (bug 1626278)
Backed out changeset 9b612ea670d4 (bug 1626278)
Backed out changeset 387a53fd83f3 (bug 1626278)
Backed out changeset 5870625073f6 (bug 1626278)
Backed out changeset 25c03ac56306 (bug 1626278)
Backed out changeset 3239d49be3ee (bug 1626278)
Backed out changeset 82ed327e71ed (bug 1626278)
2020-10-14 02:34:48 +03:00
Byron Campen [:bwc]
0f5160db92 Bug 1626278: Add a browser-chrome test for the WebrtcGlobalInformation interface. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D92637
2020-10-12 19:22:12 +00:00
Mike Conley
fb9e758891 Bug 1669801 - Fix the shared device menupopup when sharing an application window over WebRTC. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D92994
2020-10-13 01:13:04 +00:00
Emilio Cobos Álvarez
8045c99c7d Bug 1669844 - Add a printing section to about:support. r=Gijs,jwatt,fluent-reviewers
Which allows to view and clear all the modified print settings really
fast.

Differential Revision: https://phabricator.services.mozilla.com/D92937
2020-10-12 10:58:53 +00:00
Razvan Maries
3d9e3cd31d Backed out 2 changesets (bug 1440203) for causing bug 1670277. CLOSED TREE
Backed out changeset 0b10bf76fe35 (bug 1440203)
Backed out changeset 468878422866 (bug 1440203)
2020-10-10 03:39:33 +03:00
Jed Davis
df0dde0218 Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90604
2020-10-07 20:22:40 +00:00
Emilio Cobos Álvarez
36ebff8616 Bug 140718 - Add a "Print selection only" entry to the context menu. r=Gijs,jwatt,fluent-reviewers
This allows to use the feature from the context menu and is very
straight-forward.

This has the benefit of working with fission (as print from the focused
frame) and so on.

Making a checkbox on the UI on top of this is doable, but it is a lot
more complex (requires a bunch of both front-end and platform work)
because undoing this implies restoring the DOM which "print selection"
removes.

I think the context menu entry is very useful regardless of whether we
add a checkbox to undo it, and other browsers (with smaller context
menus) seem to agree.

Differential Revision: https://phabricator.services.mozilla.com/D92205
2020-10-07 20:45:08 +00:00
Jared Wein
3a16949974 Bug 1668755 - Don't show the default browser notification bar in private windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92794
2020-10-07 18:27:13 +00:00
Andreea Pavel
66390335e9 Bug 1668809 - disable test_bug385434.html and browser_new_tab_in_privilegedabout_process_pref.js on fission r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92355
2020-10-07 08:31:20 +00:00
Razvan Maries
bc3d683366 Backed out 5 changesets (bug 1662564, bug 1664922, bug 1440203) for Valgrind bustages. CLOSED TREE
Backed out changeset 9366b15ee97c (bug 1440203)
Backed out changeset bb512f5fdeda (bug 1440203)
Backed out changeset be90d6aec690 (bug 1664922)
Backed out changeset f6527a1d0f14 (bug 1662564)
Backed out changeset 3a2941fa7d4b (bug 1662564)
2020-10-07 08:38:13 +03:00
Jed Davis
4eb41fe4bd Bug 1440203 - Prelude: ignore memfd for the "main thread I/O" test. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90604
2020-10-05 22:34:07 +00:00
Emilio Cobos Álvarez
7a3751edb9 Bug 1666497 - Don't flush layout from popuppositioned events. r=mconley,Gijs,smaug
We don't need to flush before dispatching the event because we know that
if the values we cared about changed, then we'd get another event.

Differential Revision: https://phabricator.services.mozilla.com/D92444
2020-10-06 16:28:41 +00:00
julianwels
d2086b7851 Bug 1653026 - Added new HTTPS-Only Mode UI in site-identity panel and removed permission from list. r=flod,ewright,fluent-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D90332
2020-10-06 00:35:05 +00:00
Emma Malysz
2eee89c2e5 Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-06 00:40:51 +00:00
Kris Maglione
18bfb781e8 Bug 1667485: Fix inifinite nested event loop spinning in corner cases. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D91886
2020-10-05 17:57:48 +00:00
Narcis Beleuzu
ac1f0e4e73 Backed out 2 changesets (bug 1666497, bug 1489259) for bc failure on browser_appmenu.js
Backed out changeset aa49cdc20ff4 (bug 1489259)
Backed out changeset 368f054779b2 (bug 1666497)
2020-10-05 21:38:08 +03:00
Jared Wein
44e4f48e76 Bug 1668507 - Add back accidentally removed call to show the modal dialog when the notificationbar is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92134
2020-10-05 17:36:03 +00:00
Emilio Cobos Álvarez
b52c855c25 Bug 1489259 - Increase the number of allowed reflows in browser_appmenu.js.
Before my patch we were skipping some popuppositioned events, so it's
not unexpected that this count can go up as a result.

MANUAL PUSH: Bustage on a CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D92444
2020-10-05 17:13:34 +02:00
Mike Conley
69dc33ff19 Bug 1668838 - Make sure popuphiding event is only considered for device control menus in WebRTC indicator. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D92241
2020-10-05 09:23:40 +00:00
Emilio Cobos Álvarez
855da86e89 Bug 1666497 - Fix various issues with anchored popups. r=NeilDeakin
The patch in bug 1666497 (which makes regular <window>-based XUL
documents with other the XHTML-based ones) uncovers an issue in the
anchored popup tests, which starts timing out.

The underlying issue is that it changes the reflow order from popups in
XUL-only documents with respect to their anchors. Note that Firefox
already uses the "broken" code, because we moved to xhtml and
browser.xhtml doesn't use a XUL <window> anymore.

Since we reflow now the popup _after_ the anchor rather than before, we
don't need to rely on CheckForAnchorChange() to deal with changes. This
means that we need to notify on the positioning changes that happen
during reflow though.

We should be able to simplify a bit the CheckForAnchorChange() stuff
now, but it also takes care of hiding popups and such so I don't plan to
do it on this bug to minimize risk.

Differential Revision: https://phabricator.services.mozilla.com/D91012
2020-10-05 13:34:59 +00:00
Robert Mader
9dec5a255b Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Also adapt tests accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-05 02:19:10 +00:00
Razvan Maries
e4dce0315b Backed out changeset c3362c39bb7b (bug 1667116) for perma failures on browser_startup_syncIPC.js. 2020-10-05 02:04:41 +03:00
Robert Mader
235e00ce34 Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Also adapt tests accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-04 21:12:52 +00:00
Cameron McCormack
1a10f8e9fc Bug 1662839 - Set author style disabled state correctly on newly created iframes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D90953
2020-10-04 03:25:16 +00:00
Brindusan Cristian
3cc0d3988e Backed out 2 changesets (bug 1653026) for mochitest failures at WindowGlobalParent.cpp. CLOSED TREE
Backed out changeset 54c69c99b241 (bug 1653026)
Backed out changeset e70649f78910 (bug 1653026)
2020-10-03 10:49:04 +03:00
julianwels
9fc4f235f4 Bug 1653026 - Added new HTTPS-Only Mode UI in site-identity panel and removed permission from list. r=flod,ewright,fluent-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D90332
2020-10-02 21:11:46 +00:00
Razvan Maries
b91fcb3c51 Bug 1668809 - Disabled browser_privilegedmozilla_process_pref.js on fission. a=test-only DONTBUILD CLOSED TREE 2020-10-02 19:37:33 +03:00
Tom Schuster
4b99afe8f5 Bug 1657701 - Localize the media control Firefox is now playing fallback text r=alwu,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D91514
2020-10-02 10:02:00 +00:00
alwu
01a26a6071 Bug 1656414 - part2 : add a test under a new created folder for tab media indicator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91368
2020-10-02 03:56:02 +00:00
Dorel Luca
43bce7e150 Backed out changeset d4c1abcfbba0 (bug 1634042) for Browser-chrome failures in browser/base/content/test/touch/browser_menu_touch.js. CLOSED TREE 2020-10-02 02:50:31 +03:00
Andreas Farre
5ce3bad345 Bug 1668297 - Fix browser/base/content/test/tabs/browser_e10s_switchbrowser.js r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92033
2020-10-01 12:46:16 +00:00
Emma Malysz
a3dbc35859 Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-01 15:00:55 +00:00
Chris H-C
e9b953f273 Bug 1667798 - Always supply a correct value for TelemetryReportingPolicy.isFirstRun() r=janerik
Previously it would wait until `sessionrestore-windows-restored` before
checking the pref. Now it'll check the pref the first time someone asks.

This requires a change to a test that still checks the behaviour of the
fallback infobar that now correctly has to content with this being the actual
first run of the profile : )

Differential Revision: https://phabricator.services.mozilla.com/D91831
2020-10-01 06:54:15 +00:00