Commit graph

23120 commits

Author SHA1 Message Date
Emma Malysz
f26d917593 Bug 1634033: lazify menus and panels used within customize mode by placing in template. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D74576
2020-05-11 18:13:57 +00:00
Mihai Alexandru Michis
7686b00958 Backed out 2 changesets (bug 1594752) for causing failures in browser_e10s_switchbrowser.js
CLOSED TREE

Backed out changeset b54107a687e4 (bug 1594752)
Backed out changeset 801d1e226947 (bug 1594752)
2020-05-11 18:11:24 +03:00
Neil Deakin
c4073b529c Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.

Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-11 09:03:03 +00:00
Dão Gottwald
c25aee166f Bug 1636112 - Make post-prompt animation obey prefers-reduced-motion. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D74231
2020-05-11 12:06:50 +00:00
Dimi Lee
dde23f5029 Bug 1628732 - Don't notify block decision when uri is chrome r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D73867
2020-05-10 11:25:06 +00:00
Gijs Kruitbosch
5705baea2e Bug 1636559 - make confirmation hint panel lazy, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D74466
2020-05-08 21:51:31 +00:00
Anny Gakhokidze
5fc9601f29 Bug 1633471 - Do not reuse inner window when printing, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D74261
2020-05-08 20:13:16 +00:00
Csoregi Natalia
4bb1a50963 Backed out changeset 8a48a3a488ab (bug 1621433) for hazard failures on CanvasRenderingContext2D.cpp CLOSED TREE 2020-05-08 09:39:25 +03:00
sanketh
44762b8054 Bug 1621433 - In RFP mode, turn canvas image extraction into a random 'poison pill' for fingerprinters r=tjr,jrmuizel
In RFP mode, canvas image extraction leads to an all-white image, replace that
with a random (sample 32 bytes of randomness and fill the buffer with that)
'poison pill'. This helps defeat naive fingerprinters by producing a random
image on every try. This feature is toggled using a new, default on, pref
`privacy.resistFingerprinting.randomDataOnCanvasExtract`.

Updated `browser_canvas_fingerprinting_resistance.js` to test this new feature
as well.

Updates and replaces D66308.

Differential Revision: https://phabricator.services.mozilla.com/D72716
2020-05-07 22:45:27 +00:00
Emilio Cobos Álvarez
12644d52bc Bug 1634569 - Remove hackaround for bug that can no longer happen. r=masayuki
This seems to come from bug 618907, which seems to be a hack-around code
that went away in bug 1595435.

If we open a window on mousedown such as it gains focus before this code
runs, we just steal the focus from it, which is undesired.

Also remove the test for bug 799299. It doesn't work anyways if the
browser is remote (this test only runs on non-e10s mode), and this
unifies the behavior with e10s and with content (see attached test-case,
which doesn't change behavior with and without my patch).

Differential Revision: https://phabricator.services.mozilla.com/D73901
2020-05-08 03:57:23 +00:00
Emilio Cobos Álvarez
a9d7165b1b Bug 1636224 - Explicitly flush layout in an acceskey test. r=Gijs
Accesskey for XUL works from frame construction, so we need to do this
for the test to keep passing with LazyFC.

I don't think this has a user-visible impact in practice.

Differential Revision: https://phabricator.services.mozilla.com/D74280
2020-05-07 20:51:14 +00:00
Emilio Cobos Álvarez
3f1dec8de1 Bug 1634109 - Support scrollbar customization on the <select> dropdown. r=Gijs
This needs another platform fix (bug 1571376), but I'll make sure that's
fixed before landing this.

Differential Revision: https://phabricator.services.mozilla.com/D73184
2020-04-30 13:12:50 +00:00
Dorel Luca
bdddaad896 Backed out changeset 57d78ba110be (bug 1634650) for marionette failures in migration/tests/marionette/test_refresh_firefox.py. CLOSED TREE 2020-05-07 19:36:39 +03:00
Mark Banner
8c1bb4181c Bug 1636023 - Disable undesired outline on the searchbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74198
2020-05-07 11:01:33 +00:00
Marco Bonardo
410cff4774 Bug 1634650 - Add whitelisting of domain suffixes for URIFixup. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D74015
2020-05-07 08:42:10 +00:00
Dana Keeler
e8ebc73d50 Bug 1630038 - remove HPKP entirely r=kjacobs,bbeurdouche
This removes processing of HTTP Public Key Pinning headers, remotely modifying
pinning information, and using cached pinning information, all of which was
already disabled in bug 1412438. Static pins that ship with the browser are
still enforced.

Differential Revision: https://phabricator.services.mozilla.com/D73352
2020-05-06 22:57:50 +00:00
Yura Zenevich
5b6b095fcf Bug 1602075 - display Inspect Accessibility Properties menu item if devtools.accessibility.auto-init.enabled pref is set to true. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71586
2020-05-06 15:54:58 +00:00
Sebastian Hengst
9c0ffff641 Bug 1624868 - Disable browser/base/content/test/performance/io/ on Linux ccov for almost failing permanently. r=florian DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D74039
2020-05-06 14:40:03 +00:00
Dão Gottwald
cc79858cd7 Bug 1635419 - Make saved-to-library animations obey prefers-reduced-motion. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D73859
2020-05-06 12:08:51 +00:00
Narcis Beleuzu
96bd10ac35 Backed out changeset 6cc9a20bbb57 (bug 1634569) for mochitest failures on test_focus.xhtml . CLOSED TREE 2020-05-06 13:58:31 +03:00
Emilio Cobos Álvarez
6b5242fa05 Bug 1311444 - Disable some undesired outlines in the front-end. r=dao
These elements handle focus on their own. They're right now not
having outlines because they specify background-color, which disables
theming, but that is about to change.

Differential Revision: https://phabricator.services.mozilla.com/D73855
2020-05-05 23:18:35 +00:00
Emilio Cobos Álvarez
1e934bc543 Bug 1634569 - Remove hackaround for bug that can no longer happen. r=masayuki
This seems to come from bug 618907, which seems to be a hack-around code
that went away in bug 1595435.

If we open a window on mousedown such as it gains focus before this code
runs, we just steal the focus from it, which is undesired.

Also remove the test for bug 799299. It doesn't work anyways if the
browser is remote (this test only runs on non-e10s mode), and this
unifies the behavior with e10s and with content (see attached test-case,
which doesn't change behavior with and without my patch).

Differential Revision: https://phabricator.services.mozilla.com/D73901
2020-05-06 06:18:13 +00:00
sotaro
df9c735cbe Bug 1574746 - Remove AllowWebRenderForThisWindow() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D71440
2020-05-05 23:44:36 +00:00
Ian Moody
011b59d595 Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.

This was done automatically with a new eslint rule that will be introduced in
the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS.  The rule will be disabled for that instance.

Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Dão Gottwald
e43aa48385 Bug 1631734 - Remove broken code for animating the address bar's pocket button when clicked. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D73691
2020-05-04 23:11:59 +00:00
Dorel Luca
c46daa5d4d Backed out changeset 786823305560 (bug 1574746) for Browser-chrome failures in test/performance/browser_startup_syncIPC.js. CLOSED TREE 2020-05-05 08:00:52 +03:00
sotaro
4fa1b411fd Bug 1574746 - Remove AllowWebRenderForThisWindow() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D71440
2020-05-03 11:38:53 +00:00
Emilio Cobos Álvarez
761e9dfe4c Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.

Anyhow, always require an element, and add two convenience constructors
for C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 18:50:20 +00:00
Cosmin Sabou
71a40eae48 Backed out 2 changesets (bug 1635094) for build bustages on nsMacShellService.cpp. CLOSED TREE
Backed out changeset 0a2b0c6ea19a (bug 1635094)
Backed out changeset ead4f26f76ee (bug 1635094)
2020-05-04 20:04:06 +03:00
Emilio Cobos Álvarez
6dde680742 Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.

Anyhow, always require an element, and add two convenience constructors
for C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 16:26:51 +00:00
jayati
20a03ae802 Bug 1633770 - Remove unnecessary loop in ContentSearchUIController._updateDefaultEngineIcon.r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D73091
2020-05-04 10:49:15 +00:00
Gijs Kruitbosch
3e60b89564 Bug 1634431 - actually update tab colours when container data changes, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73684
2020-05-04 14:21:22 +00:00
Mélanie Chauvel (ariasuni)
9632cae262 Bug 1560218 - browser.tabs.duplicate() can now specify index and active property r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D67782
2020-05-04 01:11:32 +00:00
Dão Gottwald
84553118c4 Bug 1634865 - Backed out bug 1625720 and bug 1625721. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73542
2020-05-02 13:16:31 +00:00
Liang-Heng Chen
16a940c040 Bug 1634303 - make test support BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D73257
2020-04-30 21:40:02 +00:00
Emma Malysz
b7c5fd62b7 Bug 1634026, lazy load panic button panel by storing in HTML template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73106
2020-04-30 20:34:35 +00:00
Dão Gottwald
042ea1810d Bug 1633635 - Make tab animations obey prefers-reduced-motion. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D72791
2020-04-30 18:43:37 +00:00
Neil Deakin
6b57ac9c48 Bug 1614749, convert about:tabcrashed to JSWindowActor-based remote page manager, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D71026
2020-04-30 00:50:10 +00:00
Gijs Kruitbosch
7073bb6903 Bug 1634075 - back out changeset 0aa77ee04caa (bug 1583696) over regressions with overly long non-wrapping prompt text and visual appearance with lightweight themes, r=MattN
Things that were broken:

- prompts become unreadable when using dark-background lwthemes, because they
  keep the window text-shadow (due to the namespace change of tabmodalprompt)
- prompts with long text without word-wrap possibilities
  (e.g. `alert("x".repeat(1000))`) cause the text to escape its container.

Differential Revision: https://phabricator.services.mozilla.com/D73131
2020-04-29 20:30:37 +00:00
aarushivij
972799f8aa Bug 1634013 - Remove the browser.tabs.multiselect pref r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73074
2020-04-29 20:52:32 +00:00
Julian Descottes
bdabf1705b Bug 1630228 - Show a doorhanger when using F12 r=fluent-reviewers,nchevobbe,Gijs,victoria
Depends on D71035

When F12 is disabled, if the user presses this key we show a notification hanging below the Firefox Hamburger menu.
This anchor was chosen because this is where the users can normally find the Web Developer menu.
Note that they could also open DevTools via another keyboard shortcut, even if it's not mentioned in the message.

Pressing on F12 again hides the message. The message will be displayed again if the user presses F12 again (ie, F12 is a toggle and the message is not just a one shot)

{F2136447}

Differential Revision: https://phabricator.services.mozilla.com/D71036
2020-04-29 16:17:47 +00:00
jayati
8a94be457d Bug 1634012 - Remove the browser.tabs.showAudioPlayingIcon pref.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73084
2020-04-29 17:22:48 +00:00
Bogdan Tara
3c80900e77 Backed out changeset a38011a0bed3 (bug 1572377) for protectionsUI mochitest failures CLOSED TREE 2020-04-29 19:41:44 +03:00
luma
9c453531db Bug 1572377 - Updating the protection panel only when the panel is opened or already opened. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D68534
2020-04-29 15:11:23 +00:00
Andrew Swan
57ae213677 Bug 1627336 Add Blocklist.jsm to browser_startup.js blacklist r=florian
Differential Revision: https://phabricator.services.mozilla.com/D69604
2020-04-29 13:47:37 +00:00
Jean-Yves Avenard
a50346320b Bug 1630211 - P3. Use new domWindowOpenedAndLoaded where we can. r=Gijs
Remove duplicated code; and properly wait for the window to be loaded where needed.

Differential Revision: https://phabricator.services.mozilla.com/D72879
2020-04-29 11:12:53 +00:00
Dão Gottwald
4c346b3be6 Bug 1633781 - Remove activemedia-blocked icon from tab when discarding browser. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73009
2020-04-29 09:23:55 +00:00
Dão Gottwald
8dde39e373 Bug 1630918 - Use prefers-reduced-motion media query for the tracking protection shield icon animation. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D71308
2020-04-29 06:26:49 +00:00
Bianca Danforth
700da17102 Bug 1598464 - Stop pre-filtering logins from the context menu to about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D72780
2020-04-29 00:14:04 +00:00
Narcis Beleuzu
c6a90c4273 Backed out 5 changesets (bug 1630228) for bc failures on browser_startup_images.js . CLOSED TREE
Backed out changeset 92172b9cef6b (bug 1630228)
Backed out changeset 8a9c30923847 (bug 1630228)
Backed out changeset 11f6beab6bdf (bug 1630228)
Backed out changeset f9e6d07f3a90 (bug 1630228)
Backed out changeset ae64b5ffc3b5 (bug 1630228)
2020-04-29 02:20:52 +03:00