Граф коммитов

76060 Коммитов

Автор SHA1 Сообщение Дата
Hardik Sharma e0db37de5a Bug 1716996 - Replace waitForCondition use in customizableui tests with TestUtils.waitForCondition r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119509
2021-07-14 15:31:12 +00:00
Butkovits Atila 433d514141 Backed out 4 changesets (bug 1718755) for causing Reftest failures. CLOSED TREE
Backed out changeset f2cc4fb3caa8 (bug 1718755)
Backed out changeset babc4fdcd08c (bug 1718755)
Backed out changeset 4566477a7075 (bug 1718755)
Backed out changeset 3cc5fcf9aeb6 (bug 1718755)
2021-07-14 18:36:32 +03:00
Thomas Wisniewski 172d2b2de9 Bug 1713699 - Add a SmartBlock shim for Chartbeat Superfly; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119883
2021-07-14 14:26:26 +00:00
Luca Greco ea8a4e4c3e Bug 1570478 - Re-enabled browser_ext_devtools_network.js on all jobs besides fission. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D119115
2021-07-14 14:02:41 +00:00
Mike Conley 6fd25326aa Bug 1720300 - Remove browser.proton.enabled preference probe. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119822
2021-07-14 13:50:11 +00:00
Harry Twyford 0a09bfc556 Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-14 13:36:54 +00:00
Emilio Cobos Álvarez 0d448eff03 Bug 1718755 - Fix the SpecialPowers pref code to deal with ui / font prefs correctly after the previous change. r=kmag
This allows us to remove the timeout (which was there for these prefs)
and makes the code a bit more explicit.

Unconditionally making all tests wait for rAF causes some timing changes
which cause some tests to time out / fail, see:

  https://treeherder.mozilla.org/jobs?repo=try&revision=3aef4c168c6ab7d762dd360f49d4f56dff686c03

So this only does it when changing the prefs that care about it. Fix
some tests that were relying on the timeout to get this green.

Differential Revision: https://phabricator.services.mozilla.com/D119040
2021-07-14 11:29:25 +00:00
Masayuki Nakano 185287a885 Bug 1720405 - part 3: Get rid of the pref check/setting of `dom.keyboardevent.keypress.set_keycode_and_charcode_to_same_value` from the tests r=smaug
It's default value is `true`.
`dom.keyboardevent.keypress.set_keycode_and_charcode_to_same_value` will neve
be reverted in release builds by default.  Therefore, we can get rid of it
from the tests unless testing non-default behavior.

Differential Revision: https://phabricator.services.mozilla.com/D119851
2021-07-14 10:59:04 +00:00
Masayuki Nakano 02417e6be6 Bug 1720405 - part 1: Get rid of the pref check of `dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content` from the tests r=smaug
Its default value is `true` and it will never be reverted in release builds
by default.  Therefore, we can get rid of it from the tests unless testing
non-default behavior.

Differential Revision: https://phabricator.services.mozilla.com/D119849
2021-07-14 10:59:03 +00:00
Aki Sasaki be5ecee905 Bug 1720403 - reenable what's new page on release for 90+. r=releng-reviewers,mtabara DONTBUILD
Turns out we only wanted to turn off the WNP on 89, not 89+.
Backs out 5efdc103f8dd

Differential Revision: https://phabricator.services.mozilla.com/D119831
2021-07-14 08:58:11 +00:00
Iulian Moraru 8f714d1514 Backed out changeset 3e9e40d668c1 (bug 1714242) for causing bc failures on browser_urlbar_event_telemetry_noEvent.js. CLOSED TREE 2021-07-14 04:10:35 +03:00
Daisuke Akatsuka 430d97d8d4 Bug 1714242: Rename settingsButtonCompact with settingsButton. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D119581
2021-07-13 22:35:14 +00:00
Kate Hudson a9acf38998 Bug 1720380 - Add metadata export to interactionsViewer r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119813
2021-07-13 21:18:49 +00:00
Andre Natal d30670b17a Bug 1715913 - Update Firefox Translations to 0.4.3 r=preferences-reviewers,jaws,fluent-reviewers,flod,mixedpuppy
Updating Firefox Translations to 0.4.3 https://bugzilla.mozilla.org/show_bug.cgi?id=1715913
Adding a new option to the preferences menu to handle translations exceptions https://bugzilla.mozilla.org/show_bug.cgi?id=1714031
Fixes diffoscope issues https://bugzilla.mozilla.org/show_bug.cgi?id=1713561

Differential Revision: https://phabricator.services.mozilla.com/D117512
2021-07-13 21:00:08 +00:00
Adam Gashlin 7b21c41dfe Bug 1710137 - Don't run helper to set default from a package. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D114662
2021-07-13 20:31:25 +00:00
Karim Rahal 307e859b0e Bug 1690613 - Allow access to url/title/favIconUrl with extension host permission in Tab.convertFromSessionStoreClosedData; add unit test. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D119735
2021-07-13 18:07:43 +00:00
Henri Sivonen febc702c0c Bug 1698036 - Pause for OOP focus to stabilize in browser_fullscreen_window_focus.js. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D119395
2021-07-13 17:09:16 +00:00
Kartikaya Gupta ebcf08cd70 Bug 1720171 - Ensure ga.getAll().filter exists in SmartBlock Google Analytics shim. r=twisniewski,webcompat-reviewers
The original GA code returns an Array for ga.getAll(), while the
shim was returning an Iterator. This caused code that relied on
ga.getAll().filter(..) to break with the shim. This patch wraps
the Iterator contents back into an Array.

Differential Revision: https://phabricator.services.mozilla.com/D119737
2021-07-13 16:44:42 +00:00
Jared Wein ee003f8b9d Bug 1717587 - Disable browser_tab_drag_drop_perwindow.js on Windows 7 webrender builds. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D119671
2021-07-13 16:24:57 +00:00
Sandor Molnar dab21ee839 Backed out 2 changesets (bug 1719734, bug 1710934) for causing bc failures in browser_ext_themes_highlight. CLOSED TREE
Backed out changeset 74a832b24286 (bug 1719734)
Backed out changeset 9f6b5145351a (bug 1710934)
2021-07-13 18:29:26 +03:00
Harry Twyford a639abe1b3 Bug 1706479 - Simplify page action style rules. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D114642
2021-07-13 15:03:19 +00:00
Harry Twyford 1865ff1ebd Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-13 14:20:41 +00:00
Marco Bonardo aae548f6f8 Bug 1719700 - Add Places storage for snapshots. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119430
2021-07-13 13:45:54 +00:00
Masayuki Nakano 3169bc5de5 Bug 1720252 - Get rid of "dom.input_events.beforeinput.enabled" from tests r=smaug
`beforeinput` event was shipped and it won't be disabled for avoiding confusion
of web developers. So, we can drop the pref setting of
"dom.input_events.beforeinput.enabled" in our tests.

Depends on D119716

Differential Revision: https://phabricator.services.mozilla.com/D119729
2021-07-13 10:02:12 +00:00
Emma Malysz b683e4147a Bug 1703051, apply proton panel styling to other bookmarks dropdown and overflow menu in bookmarks toolbar r=desktop-theme-reviewers,mconley,jaws,harry
Differential Revision: https://phabricator.services.mozilla.com/D113200
2021-07-13 05:10:19 +00:00
Marcos Cáceres 77d16c7a16 Bug 1718221 - Set gamepad policy allow list to 'all' r=smaug
temporarily setting the allow list to all until we can figure out why "self" is not working.

Differential Revision: https://phabricator.services.mozilla.com/D119471
2021-07-13 03:46:22 +00:00
Gijs Kruitbosch ab5b2c0999 Bug 1659101 - fix intermittent failure in browser_preoloading_tab_moving.js, r=jaws
See discussion in the last few comments on the bug. If we don't wait for the correct URL
to load in the browser, the SpecialPowers.spawn task can get aborted, which causes the
test to fail.

Differential Revision: https://phabricator.services.mozilla.com/D119518
2021-07-12 22:12:48 +00:00
Alexandru Michis f46a01150f Merge mozilla-central to autoland. a=merge 2021-07-13 00:58:12 +03:00
Alexandru Michis 4163c8f09b Merge autoland to mozilla-central. a=merge 2021-07-13 00:55:10 +03:00
Sam Foster 3bb9aa63ff Bug 1699631 - Move the reload icon into toolkit. r=harry,preferences-reviewers,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119554
2021-07-12 20:45:08 +00:00
Scott f53ec1227e Bug 1692066 - Pocket panels remove panel id from messaging. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D117964
2021-07-12 18:41:24 +00:00
Marian-Vasile Laza 4e2bd249f2 Backed out changeset c47653711a25 (bug 1699631) for causing node devtools failures. CLOSED TREE 2021-07-12 21:04:22 +03:00
Sam Foster 08af461236 Bug 1699631 - Move the reload icon into toolkit. r=harry,preferences-reviewers,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119554
2021-07-12 17:26:16 +00:00
Mark Banner 2cd85755ff Bug 1719697 - Extend the interactions viewer to view Snapshots as well. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D119623
2021-07-12 16:47:19 +00:00
Mark Banner b36f31c033 Bug 1719697 - Add an API for accessing Snapshots based on metadata. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D119227
2021-07-12 16:47:18 +00:00
Thomas Wisniewski 46c757c605 Bug 1713701 - Add a SmartBlock shim for IASPet; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119642
2021-07-12 16:03:56 +00:00
Csoregi Natalia 7658ff3191 Backed out changeset fce7b9d54faf (bug 1703051) for failures on browser_parsable_css.js. CLOSED TREE 2021-07-12 19:56:45 +03:00
Matthew Noorenberghe be0ee78044 Bug 970675 - Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118889
2021-07-12 15:04:24 +00:00
Matthew Noorenberghe f49c7390dd Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 15:04:23 +00:00
Matthew Noorenberghe e8f3a3e708 Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh
The permission manager automatically only saves permissions for the session with private browsing principals:
https://searchfox.org/mozilla-central/rev/da25888c4495585c532640f0e5efad07b1037621/extensions/permissions/PermissionManager.cpp#1586-1588

Differential Revision: https://phabricator.services.mozilla.com/D118887
2021-07-12 15:04:23 +00:00
Emma Malysz 533aa0b841 Bug 1703051, apply proton panel styling to other bookmarks dropdown and overflow menu in bookmarks toolbar r=desktop-theme-reviewers,mconley,jaws,harry
Differential Revision: https://phabricator.services.mozilla.com/D113200
2021-07-12 15:04:05 +00:00
Bernard Igiri 0d6d95f32b Bug 1699439 - Removing `--in-content-button` vars from common.inc.css r=desktop-theme-reviewers,jaws,Itiel
Removing the following vars from common.inc.css

-  `--in-content-button-border-radius`
-  `--in-content-button-horizontal-padding`
-  `--in-content-button-vertical-padding`

Differential Revision: https://phabricator.services.mozilla.com/D119190
2021-07-12 14:52:27 +00:00
Noemi Erli 727c4d984a Backed out 3 changesets (bug 970675) for causing failures in browser_privatebrowsing_popupblocker.js CLOSED TREE
Backed out changeset 98f78b0795b7 (bug 970675)
Backed out changeset ec59b5b4094a (bug 970675)
Backed out changeset 5a1853ea9693 (bug 970675)
2021-07-12 17:38:14 +03:00
Emily McMinn cd0dc9663a Bug 1716660 - Improve spacing around text items on import screen of about:welcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D118630
2021-07-12 14:12:18 +00:00
Matthew Noorenberghe 7a28a1907e Bug 970675 - Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118889
2021-07-12 13:53:45 +00:00
Matthew Noorenberghe aa80a022de Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 13:53:44 +00:00
Matthew Noorenberghe 3e41e1b218 Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh
The permission manager automatically only saves permissions for the session with private browsing principals:
https://searchfox.org/mozilla-central/rev/da25888c4495585c532640f0e5efad07b1037621/extensions/permissions/PermissionManager.cpp#1586-1588

Differential Revision: https://phabricator.services.mozilla.com/D118887
2021-07-12 13:53:44 +00:00
Mike Conley eaa75cbe8c Bug 1712750 - Make sure sanitize.xhtml gets to set its mozSubdialogReady. r=mtigley
The mozSubdialogReady was being set inside of sanitize.xhtml in
its load event handler, which would be scheduled to run AFTER the
SubDialog _onLoad handler (which is what awaits mozSubdialogReady).

The only reason this wasn't more obvious is because the first time
the dialog is opened, the SubDialog _onLoad handler awaits
translation of the document, which gives sanitize.xhtml a chance
to run its load event handler and set the mozSubdialogReady.
Subsequent opens of the dialog wouldn't need to re-run translation
due to document caching, and so the mozSubdialogReady wouldn't
be waited for, resulting in incorrect dialog layout.

Depends on D119329

Differential Revision: https://phabricator.services.mozilla.com/D119330
2021-07-12 13:50:03 +00:00
Mike Conley 1cdf3f0759 Bug 1712750 - Get rid of some old-modal condition handlers in sanitize.xhtml. r=mtigley
These handlers and markup were only ever relevant when opening the
dialog in an old-style modal. Now that we're opening the dialog as
a SubDialog, these conditions can be cleaned up.

Depends on D117567

Differential Revision: https://phabricator.services.mozilla.com/D119329
2021-07-12 13:50:02 +00:00
Mike Conley 75b0f95fcc Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-07-12 13:50:02 +00:00
Mozilla Releng Treescript abd155b8ec Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-07-12 12:48:42 +00:00
Noemi Erli f6510e1b99 Backed out changeset cac8db928ff6 (bug 1718221) for causing failures in gamepad-default-feature-policy.https.sub.html CLOSED TREE 2021-07-12 08:26:20 +03:00
Marcos Cáceres 6f5d36675b Bug 1718221 - Set gamepad policy allow list to 'all' r=smaug
temporarily setting the allow list to all until we can figure out why "self" is not working.

Differential Revision: https://phabricator.services.mozilla.com/D119471
2021-07-12 00:51:42 +00:00
Andrei Oprea 47ab5c5645 Bug 1719987 - Add browser_preferences_usage.js pref exception only for Nightly builds r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119571
2021-07-11 22:25:05 +00:00
Harry Twyford 8ee5ae1678 Bug 1717509 - Part 5 - Replace references to UnifiedComplete with references to UrlbarProviderPlaces. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119310
2021-07-09 23:52:39 +00:00
Harry Twyford aca42929d0 Bug 1717509 - Part 4 - Remove files and result group related to UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119309
2021-07-09 23:52:39 +00:00
Harry Twyford f14ae37663 Bug 1717509 - Part 3 - Remove unused, obsolete, and duplicated code from UrlbarProviderPlaces. r=adw
There's more I'd like to do here. Namely, I want to eliminate the Search class in favour of everything being part of ProviderPlaces, and I'd like to get rid of "match" objects/nsIAutoCompleteResult in favour of always dealing with UrlbarResults. I think major changes like those are best left to bug 1717511. The latter change would require moving the muxer-lite deduping code from ProviderPlaces to the muxer. That way, ProviderPlaces can just send results to the muxer as soon as they're ready rather than needing to first order them inside an nsIAutoCompleteResult.

Differential Revision: https://phabricator.services.mozilla.com/D119308
2021-07-09 23:52:38 +00:00
Harry Twyford eb4483f22b Bug 1717509 - Part 2 - Minimal working UrlbarProviderPlaces. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119307
2021-07-09 23:52:38 +00:00
Harry Twyford 93961ec313 Bug 1717509 - Part 1 - Hook up UrlbarProviderPlaces and fix various lint issues. r=adw,preferences-reviewers
UnifiedComplete must stick around to serve as an mozIPlacesAutoComplete implementation for XUL consumers like search.js and privacy.js.

Differential Revision: https://phabricator.services.mozilla.com/D119306
2021-07-09 23:52:37 +00:00
Anny Gakhokidze 17e5a34c2e Bug 1646356 - Wait for hashchange event in a different way for browser_sessionHistory.js, r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D119458
2021-07-09 20:58:17 +00:00
Sam Foster 58d620a957 Bug 1704970 - Move fxr's refresh icon to its own assets directory.
Differential Revision: https://phabricator.services.mozilla.com/D117094
2021-07-09 20:07:08 +00:00
Molly Howell 87cba8f0f4 Bug 1718760 - Restore some erroneously removed menu item color properties. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D119229
2021-07-09 19:46:58 +00:00
Gijs Kruitbosch 37441d5977 Bug 1705101 - remove now-unnecessary workarounds for bug 1699844, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D119506
2021-07-09 18:46:16 +00:00
Nihanth Subramanya e883000c1c Bug 1719851 - Allow default-branch regional pref values in DoH Config. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119516
2021-07-09 17:09:03 +00:00
Nika Layzell 37a0464a0f Bug 1706302 - Part 3: Remove AWTerminate.UNKNOWN, r=pdahiya
Previously the WebProgressListener in AboutWelcomeChild was detecting
OnLocationChange notifications for loading about:welcome rather than
notifications for navigating away from it, meaning that
AWTerminate.UNKNOWN was almost immediately replaced as soon as the
document was loaded, rather than only when navigating away. The
DOMDocElementInserted event fires slightly later than DOMWindowCreated
so the actor no longer sees the OnLocationChange notification for the
current document, causing tests to fail.

As this telemetry is no longer actively monitored, this patch removes
AWTerminate.UNKNOWN to preserve the existing behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D118620
2021-07-09 16:30:28 +00:00
Nika Layzell 1ebb4f4d83 Bug 1706302 - Part 2: Unskip browser_aboutCertError_offlineSupport with fission, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118619
2021-07-09 16:30:28 +00:00
Nika Layzell 8337d7a4df Bug 1706302 - Part 1: Use DOMDocElementCreated for RemotePage actors, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118618
2021-07-09 16:30:28 +00:00
Sam Johnson 9d8b84bd47 Bug 1710328 - Align reload icon without shifting background r=desktop-theme-reviewers,harry
This fixes a regression from bug 1708882 by adjusting the position of the button contents rather than the entire button.

Differential Revision: https://phabricator.services.mozilla.com/D119198
2021-07-09 16:28:54 +00:00
Dennis Schubert bb99db5ea8 Bug 1714611 - Ship v24.0.0 of webcompat system addon. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119526
2021-07-09 15:34:20 +00:00
Michelle Goossens e183bd0f0a Bug 1714462 - Part 3b: Fix a CSS typo edit in panelmultiview r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119527
2021-07-09 15:16:12 +00:00
Harry Twyford 199dfc1b74 Bug 1717507 - Convert tests bound to a legacy instance of unifiedcomplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119429
2021-07-09 14:24:01 +00:00
Harry Twyford 90d4eb0eb0 Bug 1717507 - Convert test_special_search.js. r=adw
Apologies in advance for this review. It's the test I've had to rewrite the most. This is because the unifiedcomplete tests did not care about sorting, and urlbar tests do. Since this test does some complicated stuff with frecency, many of the expected matches had to be reordered in the test. The old test just listed all the uris in descending order in `matches`, paying no mind to frecency. As I've been doing with other tests, I reversed the order which with they are added to history/bookmarks, to reduce the number of changes required in the sets of expected matches.
That yielded this order, in descending order of frecency:
uri11
uri1
uri4
uri6
uri5
uri7
uri8
uri9
uri10
uri12
uri2
uri3

Differential Revision: https://phabricator.services.mozilla.com/D119113
2021-07-09 14:23:47 +00:00
Harry Twyford e44cbd69d2 Bug 1719180 - Set restrictSource to the first restriction token, dropping support for combined tokens. r=mak
This bug was introduced because UnifiedComplete was only filtering tokens when the queryContext contained a restrictToken. UrlbarProvidersManager was only setting queryContext.restrictToken when a source restriction token was typed (i.e. not including $ and #). This meant that # and $ were never filtered from the search string. This patch now sets restrictToken to whatever the first token is, including # and $. This ensures UnifiedComplete will always filter tokens when a restriction token is typed.

Differential Revision: https://phabricator.services.mozilla.com/D119197
2021-07-09 14:23:46 +00:00
Molly Howell 21cd59e32c Bug 1719592 - Back out bug 1699419 for causing multiple tab bar background regressions. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119464
2021-07-09 14:19:47 +00:00
Andrei Oprea 21d074f483 Bug 1704130 - Removing FxA badge message from onboarding r=pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111450
2021-07-09 13:51:02 +00:00
Ava Katushka ava8katushka cdd4c0e55f Bug 1711053 - Open file after download if user clicked on downloading file. r=mtigley,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118328
2021-07-09 13:20:29 +00:00
Neil Deakin e2ed8eb1b9 Bug 1714996, add a test to check that the invalid form popup hides during the pagehide event, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118484
2021-07-09 11:52:34 +00:00
Neil Deakin ec72de00a6 Bug 1717680, manage the last context menu trigger node in places utils rather than using document.popupNode, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D118523
2021-07-09 11:51:15 +00:00
Neil Deakin 41d2442de6 Bug 1717680, use popup.triggerNode instead of document.popupNode in browser menu commands, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118522
2021-07-09 11:51:14 +00:00
Neil Deakin b8424dd0fb Bug 1717680, use popup.triggerNode instead of document.triggerNode when determining bookmarks tooltips, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D118521
2021-07-09 11:51:14 +00:00
Neil Deakin c3a3eed1ba Bug 1717680, modify the test browser_bug423833.js to not set popupNode and instead open a context menu for testing 'Show Only This Frame' command, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118519
2021-07-09 11:51:13 +00:00
Daisuke Akatsuka e699dd882b Bug 1719766: Avoid using ui.popup.disable_autohide pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119473
2021-07-09 02:31:55 +00:00
Thomas Wisniewski 0b95b2ee14 Bug 1713690 - fix a trivial mis-merge for the Google IMA SmartBlock shim; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119472
2021-07-09 00:27:40 +00:00
Anny Gakhokidze 0ace0ca0d9 Bug 1692749 - Skip superfluous about:blank load when duplicating a tab, r=kashav,extension-reviewers,kmag
When we duplicate a tab, we don't need to have about:blank load in it, because
we are going to use restore mechanism to copy data into the new tab. If we
don't skip the superfluous load, the restoring process might race with the
loading of about:blank, and sometimes we might try to destroy the
WindowGlobalChild actor just as SessionStore is trying to restore docshell
capabilities for that tab resulting in a rejected promise in _restoreHistory
and `_restoreHistoryComplete` not getting called.

Differential Revision: https://phabricator.services.mozilla.com/D119313
2021-07-08 22:31:52 +00:00
Harry Twyford 5ce932b346 Bug 1717507 - Convert batch 2 of miscellaneous tests from unifiedcomplete to urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D119112
2021-07-08 22:13:35 +00:00
Daisuke Akatsuka 65d61b8899 Bug 1715699: Re-enable browser_suppressFocusBorder test for linux TV. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D119371
2021-07-08 21:25:54 +00:00
Mike Kaply 0b3210519d Bug 1716360 - Add a preference for Windows 10 SSO - r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D118087
2021-07-08 20:06:18 +00:00
Rob Wu 85a7ce3d7c Bug 1717068 - Package summary of last_modified of RemoteSettings dumps r=leplatrem,nalexander
Package a summary of the RemoteSettings dumps with the application, so
that RemoteSettings clients can look up the last_modified value of a
dump without loading the whole JSON dump file.

For simplicity, the initial version of `gen_last_modified.py` generates
only one entry for the only present use case. A more generic version of
the script will be implemented in bug 1719560.

Differential Revision: https://phabricator.services.mozilla.com/D119336
2021-07-08 20:02:07 +00:00
Sam Foster 08389c68f4 Bug 1700124 - de-duplicate add (+) icons r=thecount,harry,desktop-theme-reviewers
* Rename toolkit's add.svg to plus.svg, use it for the zoom-in buttons and about:newtab's add icon

Differential Revision: https://phabricator.services.mozilla.com/D118627
2021-07-08 18:52:40 +00:00
Scott 3d165a8eb3 Bug 1714749 - Fixing Pocket icon state. r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D117703
2021-07-08 18:07:00 +00:00
Punam Dahiya 919c531b85 Bug 1719707 - Include screen order in message id r=andreio
Patch appends screen order in message id to be passed in Impression and Click telemetry from respective screen. This is useful to keep onboarding engagement dashboard consistent across releases by using message id that begins with 'feature id_screen order_%'

Differential Revision: https://phabricator.services.mozilla.com/D119345
2021-07-08 17:58:37 +00:00
Adam Gashlin 593d81e560 Bug 1719189 - Only set UserChoice on build 15063 and later. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D119343
2021-07-08 17:34:26 +00:00
Thomas Wisniewski b4f317ed6c Bug 1713690 - Improve the SmartBlock shimming for Google IMA3; r=denschub,webcompat-reviewers
- adds an actual shim for Google IMA3, rather than shimming with an empty file
- simplifies the AdSafeProtected IMA shim:
  - no longer needs to opt in to the original script for videos to play
  - it can now just be a basic stub shim for the API

Differential Revision: https://phabricator.services.mozilla.com/D119337
2021-07-08 15:08:27 +00:00
Harry Twyford 0a9da4cb75 Bug 1717507 - Convert batch 1 of miscellaneous tests from unifiedcomplete to urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D118744
2021-07-08 15:01:49 +00:00
Harry Twyford ad20a8695b Bug 1717507 - Convert protocol tests from unifiedcomplete to urlbar. r=adw
There are two substantive changes to test_protocol_swap worth pointing out:
1. Some subtests now search for <protocol>://sit instead of <protocol>://site. This is because the latter would make the heuristic result the same as the relevant history result and the history result would be deduped. We would thus lose test coverage for that history result.
2. Tests that expected allMatches no longer expect uri5. The muxer dedupes https://www. URLs in favour of https:// URLs.

Depends on D118636

Differential Revision: https://phabricator.services.mozilla.com/D118637
2021-07-08 15:01:31 +00:00
Harry Twyford 75563866de Bug 1717507 - Convert URI escaping tests from unifiedcomplete to urlbar. r=adw
Depends on D118635

Differential Revision: https://phabricator.services.mozilla.com/D118636
2021-07-08 15:01:30 +00:00
Harry Twyford 2897122d92 Bug 1717507 - Convert tag tests from unifiedcomplete to urlbar. r=adw
The last few subtests in test_tags_returnedInSearches.js got substantive changes. This is because urlbar tests reflect the results actually shown in the Urlbar and unifiedcomplete tests just tested what came out of UnifiedComplete. Those last few subtests tested that we show non-matching tags. While UnifiedComplete returns those non-matching tags, UrlbarProviderUnifiedComplete has filtered them out since bug 1522226.

Differential Revision: https://phabricator.services.mozilla.com/D118635
2021-07-08 15:01:30 +00:00
Markus Stange 364d97cbe8 Bug 1713897 - Re-enable browser_firstPartyIsolation_saveAs.js for macOS Fission, now that bug 1717129 has fixed the underlying problem. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D119301
2021-07-08 14:36:01 +00:00
Sandor Molnar 320d01b1d8 Backed out 2 changesets (bug 1718755) for causing build bustages. CLOSED TREE DONTBUILD
Backed out changeset eae7bcfd58c9 (bug 1718755)
Backed out changeset 6ad9e60bc38e (bug 1718755)
2021-07-08 12:55:09 +03:00
Emilio Cobos Álvarez 2cdef2f45e Bug 1718755 - Fix the SpecialPowers pref code to deal with ui / font prefs correctly after the previous change. r=kmag
This allows us to remove the timeout (which was there for these prefs)
and makes the code a bit more explicit.

Unconditionally making all tests wait for rAF causes some timing changes
which cause some tests to time out / fail, see:

  https://treeherder.mozilla.org/jobs?repo=try&revision=3aef4c168c6ab7d762dd360f49d4f56dff686c03

So this only does it when changing the prefs that care about it. Fix
some tests that were relying on the timeout to get this green.

Differential Revision: https://phabricator.services.mozilla.com/D119040
2021-07-08 09:23:36 +00:00
Mark Striemer 4809cc2277 Bug 1666247 - Part 2: Return dialog from tabDialogBox.open r=pbz
Depends on D102356

Differential Revision: https://phabricator.services.mozilla.com/D103525
2021-07-08 03:54:19 +00:00
Mark Striemer 222e434cd2 Bug 1666247 - Part 1: Add a simplify page checkbox r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D102356
2021-07-08 03:54:19 +00:00
Marian-Vasile Laza 6068d86025 Backed out changeset 41171ae56f5e (bug 1692749) for causing bc failures on browser_searchMode_sessionStore.js. CLOSED TREE 2021-07-08 02:37:31 +03:00
Doug Thayer b5f7314e3e Bug 1714212 - Ensure COM initialized prior to showing skeleton UI r=Jamie,aklotz,tkikuchi
This implements Jamie's suggested fixes for a screenreader issue when the
skeleton UI is enabled. Most of the work here is just pulling out pieces from the
files we needed to include in mozglue so that any references to, say, nsString
or other pieces from libxul either no longer exist or are only included when
building libxul. In a few cases this meant creating whole files to house single
functions, which isn't so pretty, but it was the best I could come up with to
get the job done.

Differential Revision: https://phabricator.services.mozilla.com/D117663
2021-07-07 22:37:14 +00:00
Gijs Kruitbosch a7bc26c7f3 Bug 1711508 - remove protonToolbarEnabled property from CustomizableUI, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D119274
2021-07-07 22:15:50 +00:00
Gijs Kruitbosch 6e1012d2e4 Bug 1711508 - remove PanelUI.protonAppMenuEnabled property, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117058
2021-07-07 22:15:50 +00:00
Anny Gakhokidze 60b3217bb3 Bug 1692749 - Skip superfluous about:blank load when duplicating a tab, r=kashav,extension-reviewers,kmag
When we duplicate a tab, we don't need to have about:blank load in it, because
we are going to use restore mechanism to copy data into the new tab. If we
don't skip the superfluous load, the restoring process might race with the
loading of about:blank, and sometimes we might try to destroy the
WindowGlobalChild actor just as SessionStore is trying to restore docshell
capabilities for that tab resulting in a rejected promise in _restoreHistory
and `_restoreHistoryComplete` not getting called.

Differential Revision: https://phabricator.services.mozilla.com/D119313
2021-07-07 22:08:46 +00:00
Michelle Goossens 201dd0ca83 Bug 1714462 - Part 3: Remove CSS rules from browser/themes using "not (-proton)" r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119287
2021-07-07 20:59:03 +00:00
Luca Greco 33d252a3a5 Bug 1642444 - Fix intermittent failures triggered by browser_ext_tabs_executeScript.js. r=mixedpuppy CLOSED TREE
I was unable to reproduce this locally, but looking to the logs from the failures tracked by this bug
I did notice this logged error which suspiciously point in the direction of a race between registering
a browser.runtime.onMessage listener and sending a message to that listner from the content script "script.js":

```
Console message: [JavaScript Error: "Error: Could not establish connection. Receiving end does not exist."
                 {file: "moz-extension://f0d0d3ec-6815-4d78-aa83-3516814353a2/script.js" line: 2}]
```

This patch just change the order of those two promise, making sure that the browser.runtime.onMessage will be registered by the time the content script is going to be executed.

Differential Revision: https://phabricator.services.mozilla.com/D119175
2021-07-07 18:42:18 +00:00
Narcis Beleuzu 1797d18b9c Backed out changeset 77f16565a279 (bug 1642444) for WP failures on iframe-cross-origin-print.sub.html CLOSED TREE 2021-07-07 23:15:46 +03:00
Narcis Beleuzu 1ff027d763 Backed out changeset acf2d74efbbc (bug 1714212) for SM bustages on NativeNt.h 2021-07-07 23:13:42 +03:00
Thomas Wisniewski b2fc60f6f5 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-07 19:14:32 +00:00
Kirk Steuber e747f2cebc Bug 1712778 - Enable Background Update by default on Beta starting in FX91 r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119204
2021-07-07 19:08:59 +00:00
Sebastian Hengst d3731cdc9f Bug 1714664 - Update onboarding documentation on source doc: change words to make spell linter happy. CLOSED TREE DONTBUILD 2021-07-07 20:50:41 +02:00
Luca Greco 3894ffc301 Bug 1642444 - Fix intermittent failures triggered by browser_ext_tabs_executeScript.js. r=mixedpuppy
I was unable to reproduce this locally, but looking to the logs from the failures tracked by this bug
I did notice this logged error which suspiciously point in the direction of a race between registering
a browser.runtime.onMessage listener and sending a message to that listner from the content script "script.js":

```
Console message: [JavaScript Error: "Error: Could not establish connection. Receiving end does not exist."
                 {file: "moz-extension://f0d0d3ec-6815-4d78-aa83-3516814353a2/script.js" line: 2}]
```

This patch just change the order of those two promise, making sure that the browser.runtime.onMessage will be registered by the time the content script is going to be executed.

Differential Revision: https://phabricator.services.mozilla.com/D119175
2021-07-07 18:42:18 +00:00
Doug Thayer dc9c284076 Bug 1714212 - Ensure COM initialized prior to showing skeleton UI r=Jamie,aklotz,tkikuchi
This implements Jamie's suggested fixes for a screenreader issue when the
skeleton UI is enabled. Most of the work here is just pulling out pieces from the
files we needed to include in mozglue so that any references to, say, nsString
or other pieces from libxul either no longer exist or are only included when
building libxul. In a few cases this meant creating whole files to house single
functions, which isn't so pretty, but it was the best I could come up with to
get the job done.

Differential Revision: https://phabricator.services.mozilla.com/D117663
2021-07-07 18:17:36 +00:00
Punam Dahiya 79eb24313f Bug 1714664 - Update onboarding documentation on source doc with latest MR1 r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D118048
2021-07-07 17:46:35 +00:00
Paul Zuehlcke 6ae03e10fd Bug 1714608 - Replace custom partitionKey parsing method in SiteDataManager with ChromeUtils helper. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D118726
2021-07-07 17:36:46 +00:00
Molly Howell cade0ddd2c Bug 1709671 - Remove redundant ProgID check from IsDefaultBrowser. r=agashlin
Also switch to removing the quotes and command-line parameters from the command
string obtained from the registry before comparing it to our path, instead of
*adding* those things to our path, to make the comparison more reliable.

Differential Revision: https://phabricator.services.mozilla.com/D114383
2021-07-07 17:33:06 +00:00
Sam Foster 27fd851b8d Bug 1708502 - De-dupe about:newtab icons. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D118863
2021-07-07 17:08:28 +00:00
Molly Howell c0c9d4dab5 Bug 1699419 - Consolidate browser toolbar background handling. r=desktop-theme-reviewers,harry
This patch moves code that sets the background of the browser toolbars into
one place. It also removes some non-Proton Windows-only code rather than
updating it for this.

Differential Revision: https://phabricator.services.mozilla.com/D118658
2021-07-07 16:11:23 +00:00
Kate Hudson 37fd301090 Bug 1715281 - Rename ExperimentFeature to _ExperimentFeature r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D119201
2021-07-07 13:54:21 +00:00
Andrew Creskey 1347e6dc17 Bug 1719199 - Add scrolling metrics to history metadata tables in places db r=mak
We need to first add the scrolling metrics (scrolling_time and scrolling_distance) to the DB so we can complete the capturing and tests for those metrics (see Bug 1717920)

Differential Revision: https://phabricator.services.mozilla.com/D119119
2021-07-07 12:42:30 +00:00
Iulian Moraru cc08558bc3 Bug 1716546 - fix linting failure. r=fix CLOSED TREE 2021-07-07 15:05:38 +03:00
Emilio Cobos Álvarez b4379d4a38 Bug 1716546 - Fix and cleanup bookmarks submenu styling. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D118188
2021-07-07 11:33:43 +00:00
Csoregi Natalia cd64ee0ebb Backed out changeset a81a827f54fb (bug 1711053) for failures on browser_download_opens_on_click.js. CLOSED TREE 2021-07-07 13:20:05 +03:00
Tim Huang b7e493dac8 Bug 1706608 - Part 7: Make URLQueryStrippingListService working with Fission r=pbz
The URLQueryStrippingListService will get initialized too late in
Fission because the 'profile-after-change' won't be triggered for
content processes in Fission. So, it won't have a complete list when the
query stripping happens because it will be initalized by then.

To address this issue, we add a content process script which will run
during the creation of content processes and it will get the service to
initialize it early so that we will have a complete list when doing the
stripping.

Differential Revision: https://phabricator.services.mozilla.com/D117376
2021-07-07 09:16:10 +00:00
Ava Katushka ava8katushka afa86b23e5 Bug 1711053 - Open file after download if user clicked on downloading file. r=mtigley,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118328
2021-07-07 09:13:28 +00:00
Butkovits Atila 9d17bf1f4b Backed out changeset 19efa711bd54 (bug 1714749) for causing assertion failures at foundWebScheme. CLOSED TREE 2021-07-07 04:40:29 +03:00
Butkovits Atila 2ec5e2abd7 Backed out changeset 4731ed823f03 (bug 1717486) for causing mochitest failures at browser_all_files_referenced.js. CLOSED TREE 2021-07-07 04:22:27 +03:00
Drew Willcoxon 7315b8f72e Bug 1718158 - Change "Google suggestions" to "Google Suggestions" for Firefox Suggest. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D118776
2021-07-07 00:44:03 +00:00
Scott de5573cf6d Bug 1719352 - Some newtab css changes to generated css files. r=emcminn,amy
Differential Revision: https://phabricator.services.mozilla.com/D119228
2021-07-06 23:38:42 +00:00
Kajal Sah 6bd28604ba Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-06 22:45:56 +00:00
Toshihito Kikuchi ee072f14eb Bug 1701368 - Part6: Tab unloading precedes memory pressure events. r=gsvelto
This is the main part to address bug 1701368.

Before this patch, `nsAvailableMemoryWatcher` directly broadcasted a memory-pressure
event when we enter into a low-memory situation and `TabUnloader` unloaded a tab in
response to the memory-pressure message.  We want to decouple `TabUnloader` from
memory-pressure listeners because unloading a tab may solve a low-memory situation
alone.

With this patch, if `nsAvailableMemoryWatcher` detects a low-memory situation,
it invokes `TabUnloader` synchronously via an XPCOM interface.  If `TabUnloader`
unloads a tab, we don't do any further action.  If there is no discardable tab,
`TabUnloader` notifies back `nsAvailableMemoryWatcher` via another XPCOM interface,
so that `nsAvailableMemoryWatcher` can notify of a memory-pressure event.

Differential Revision: https://phabricator.services.mozilla.com/D117673
2021-07-06 22:30:59 +00:00
Toshihito Kikuchi 02f0a6ddd5 Bug 1701368 - Part5: Convert nsAvailableMemoryWatcher to an XPCOM object. r=gsvelto
This patch introduces an XPCOM object which is represented by the single instance of
`nsAvailableMemoryWatcherBase` so that `nsAvailableMemoryWatcher` can synchronously
access `TabUnloader`.

We currently implement a watcher class for Windows only.  For other platforms, what
we need to do is to define a class inherinting `nsAvailableMemoryWatcherBase` and
a simple factory method `CreateAvailableMemoryWatcher()` returning an instance of
that class.

Differential Revision: https://phabricator.services.mozilla.com/D118393
2021-07-06 22:30:59 +00:00
Butkovits Atila c57b13331c Backed out changeset 2e42adcd4838 (bug 1719352) for causing failures on browser_parsable_css.js. CLOSED TREE 2021-07-07 01:33:57 +03:00
Gavin Lazar Suntop b9dfc2a792 Bug 1710950 - fixing arrow keys r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D117684
2021-07-06 21:03:38 +00:00
Butkovits Atila 70afe12e43 Backed out changeset afe1754751ff (bug 1710950) for causing failures at browser_parsable_css.js. CLOSED TREE 2021-07-07 01:26:37 +03:00
Scott 41005ea220 Bug 1714749 - Fixing Pocket icon state. r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D117703
2021-07-06 22:07:03 +00:00
Paul Zuehlcke 22b0fb8a58 Bug 1712170 - Update preferences siteData dialog to list entries by base domain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116863
2021-07-06 21:11:00 +00:00
Paul Zuehlcke 6e2aca1f84 Bug 1711869 - Part 4: Update site data removal confirmation dialog for SiteDataManager base domain changes. r=johannh,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116862
2021-07-06 21:10:59 +00:00
Paul Zuehlcke aeffb2f87e Bug 1711869 - Part 3: Update site identity for SiteDataManager base domain changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116861
2021-07-06 21:10:59 +00:00
Paul Zuehlcke 7a4cd97907 Bug 1711869 - Part 2: Update pageinfo security for SiteDataManager base domain changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116860
2021-07-06 21:10:58 +00:00
Paul Zuehlcke 03054d7ef0 Bug 1711869 - Part 1: Refactor SiteDataManager to key sites by base domain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116859
2021-07-06 21:10:58 +00:00
Scott dc7a8dec32 Bug 1719352 - Some newtab css changes to generated css files. r=amy,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D119228
2021-07-06 21:10:43 +00:00
Gavin Lazar Suntop 11becc3b48 Bug 1710950 - fixing arrow keys r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D117684
2021-07-06 21:03:38 +00:00
Butkovits Atila 785829138d Backed out 7 changesets (bug 1701368) for causing build bustages on TestMemoryPressure.cpp. CLOSED TREE
Backed out changeset 3be9f410b666 (bug 1701368)
Backed out changeset 907317341862 (bug 1701368)
Backed out changeset 38fb1e114a53 (bug 1701368)
Backed out changeset f3a475931a13 (bug 1701368)
Backed out changeset 98046adfc310 (bug 1701368)
Backed out changeset d773413513cf (bug 1701368)
Backed out changeset feca7daa9c96 (bug 1701368)
2021-07-07 00:21:34 +03:00
Butkovits Atila 90cdad3ef1 Backed out changeset a0e84f443e91 (bug 1713693) for causing build bustage. CLOSED TREE 2021-07-06 23:19:49 +03:00
Thomas Wisniewski a0c2587813 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 19:59:33 +00:00
Butkovits Atila 0da24cf66f Backed out changeset 21e5a34cf792 (bug 1713693) for causing build bustages. CLOSED TREE 2021-07-06 22:29:35 +03:00
Toshihito Kikuchi 37bb76635c Bug 1701368 - Part6: Tab unloading precedes memory pressure events. r=gsvelto
This is the main part to address bug 1701368.

Before this patch, `nsAvailableMemoryWatcher` directly broadcasted a memory-pressure
event when we enter into a low-memory situation and `TabUnloader` unloaded a tab in
response to the memory-pressure message.  We want to decouple `TabUnloader` from
memory-pressure listeners because unloading a tab may solve a low-memory situation
alone.

With this patch, if `nsAvailableMemoryWatcher` detects a low-memory situation,
it invokes `TabUnloader` synchronously via an XPCOM interface.  If `TabUnloader`
unloads a tab, we don't do any further action.  If there is no discardable tab,
`TabUnloader` notifies back `nsAvailableMemoryWatcher` via another XPCOM interface,
so that `nsAvailableMemoryWatcher` can notify of a memory-pressure event.

Differential Revision: https://phabricator.services.mozilla.com/D117673
2021-07-06 18:59:10 +00:00
Toshihito Kikuchi 42a8a18b8f Bug 1701368 - Part5: Convert nsAvailableMemoryWatcher to an XPCOM object. r=gsvelto
This patch introduces an XPCOM object which is represented by the single instance of
`nsAvailableMemoryWatcherBase` so that `nsAvailableMemoryWatcher` can synchronously
access `TabUnloader`.

We currently implement a watcher class for Windows only.  For other platforms, what
we need to do is to define a class inherinting `nsAvailableMemoryWatcherBase` and
a simple factory method `CreateAvailableMemoryWatcher()` returning an instance of
that class.

Differential Revision: https://phabricator.services.mozilla.com/D118393
2021-07-06 18:59:09 +00:00
Thomas Wisniewski 9dcc3a93e9 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 18:46:17 +00:00
Mike Kaply 65c099cdbf Bug 1719301 - Remove version number from Windows SSO pref and policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119187
2021-07-06 18:18:53 +00:00
Butkovits Atila 6f9484d739 Bug 1713368 - disable browser_aboutSupport.js on Linux_64_asan_opt for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118890
2021-07-06 17:31:54 +00:00
Dorel Luca 57801f8ba0 Backed out changeset 5ca5387a57ce (bug 1712750) on Dev's request. CLOSED TREE 2021-07-06 19:26:21 +03:00
Dorel Luca ab5cd564fb Backed out changeset 52a7608366bd (bug 1713693) for Build bustages. CLOSED TREE 2021-07-06 19:24:14 +03:00
Thomas Wisniewski 5967be691e Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 15:52:17 +00:00
Mike Conley 7686762684 Bug 1700469 - Replace ID-specific margin rules for combined toolbar buttons for one that is more general. r=mhowell,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D118614
2021-07-06 15:50:45 +00:00
Molly Howell e9e71b8796 Bug 1703608 - Hide doorhangers while protections panel is open. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117693
2021-07-06 15:37:44 +00:00
Dorel Luca 408e4932cf Backed out changeset 82f3980be0c0 (bug 1713693) for build bustage on Linux. CLOSED TREE 2021-07-06 18:30:12 +03:00
Thomas Wisniewski 05f0a79366 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 14:59:20 +00:00
Hardik Sharma 9c9f2f85d0 Bug 1714032 - Fix size of click area for Learn more link in about:logins. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D118874
2021-07-06 14:27:22 +00:00
Mike Hommey d807719733 Bug 1719236 - Remove -gcc-toolchain flag from clang-trunk builds. r=firefox-build-system-reviewers,andi
Now that we have libstdc++ 7.x in the build sysroot, we don't need it
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D119141
2021-07-06 07:53:31 +00:00
Daisuke Akatsuka fde6550e6b Bug 1677606: Run browser_searchbar_focus_timing.js to avoid potential conflicts with other tests. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119043
2021-07-05 22:52:22 +00:00
Gijs Kruitbosch e494abb483 Bug 1695658 - tests, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106773
2021-07-05 21:28:57 +00:00
Kajal Sah d09ca6460e Bug 1718860 - Adds null check for button. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119032
2021-07-05 16:41:47 +00:00
Gijs Kruitbosch 986df48ffa Bug 1717819 - wrap exception button for https-only mode in hbox so search tooltips align correctly, r=mconley
I'm also removing the align=end, because the vbox is adjacent to a flex=1 vbox,
so all horizontal space will be eaten by that other box, meaning alignment of
the button is a no-op as its container is the same width as the button anyway.

Differential Revision: https://phabricator.services.mozilla.com/D119097
2021-07-05 15:51:11 +00:00
Alexandru Michis 6daae29ec4 Backed out changeset c204c9f05b2e (bug 1711053) for causing failures in browser_download_opens_on_click.js
CLOSED TREE
2021-07-05 19:22:36 +03:00
Andreas Farre d9f3a1519c Bug 1701303 - Move counting of private browsing contexts to parent process. r=smaug,johannh
Move the counting of private browsing contexts to the parent
process. Also change to only consider non-chrome browsing contexts
when counting private contexts. The latter is possible due to bug
1528115, because we no longer need to support hidden private windows.

With counting in the parent process we can make sure that when we're
changing remoteness on a private browsing context the private browsing
context count never drops to zero. This fixes an issue with Fission,
where we remoteness changes could transiently have a zero private
browsing context count, that would be mistaken for the last private
browsing context going away.

Changing to only count non-chrome browsing contexts makes us only fire
'last-pb-context-exited' once, and since we count them in the parent
there is no missing information about contexts that makes us wait for
a content process about telling us about insertion or removal of
browsing contexts.

Differential Revision: https://phabricator.services.mozilla.com/D118182
2021-07-05 15:17:55 +00:00
Ava Katushka ava8katushka 3b8aae0267 Bug 1709129 - Open downloads panel when new download starts. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118186
2021-07-05 14:51:03 +00:00
Ava Katushka ava8katushka bc8b666b90 Bug 1711053 - Open file after download if user clicked on downloading file. r=mtigley,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118328
2021-07-05 14:32:01 +00:00
Marian-Vasile Laza 17d6e262f7 Backed out changeset 55f827545de2 (bug 1701303) for causing bustages on ContentParent.cpp. CLOSED TREE 2021-07-05 17:12:13 +03:00
Nan Jiang 1afd3a5c8e Bug 1718749 - Filter blocked sponsored top sites from RemoteSettings when Contile is enabled r=dao
Differential Revision: https://phabricator.services.mozilla.com/D119019
2021-07-05 13:22:33 +00:00
Andreas Farre b3cd1ccf21 Bug 1701303 - Move counting of private browsing contexts to parent process. r=smaug,johannh
Move the counting of private browsing contexts to the parent
process. Also change to only consider non-chrome browsing contexts
when counting private contexts. The latter is possible due to bug
1528115, because we no longer need to support hidden private windows.

With counting in the parent process we can make sure that when we're
changing remoteness on a private browsing context the private browsing
context count never drops to zero. This fixes an issue with Fission,
where we remoteness changes could transiently have a zero private
browsing context count, that would be mistaken for the last private
browsing context going away.

Changing to only count non-chrome browsing contexts makes us only fire
'last-pb-context-exited' once, and since we count them in the parent
there is no missing information about contexts that makes us wait for
a content process about telling us about insertion or removal of
browsing contexts.

Differential Revision: https://phabricator.services.mozilla.com/D118182
2021-07-05 13:16:49 +00:00
Gijs Kruitbosch 7f6cad43fd Bug 1677652 - request a longer timeout for tsan and debug runs of browser_cookie_exceptions_addRemove.js, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119077
2021-07-05 11:42:37 +00:00
Marian-Vasile Laza 47a2086ba6 Backed out changeset 4854ff4fff72 (bug 1701303) for causing bustages on nsDocShell.cpp. CLOSED TREE 2021-07-05 14:21:48 +03:00
Emilio Cobos Álvarez e0f049bbca Bug 1718384 - Don't unnecessarily use viewport units in #fullscreen-and-pointerlock-wrapper. r=Gijs
This is the only usage of viewport units in the whole browser window and
we could live without it trivially. It avoids otherwise-unnecessary
style invalidation.

In the cloned bug I've improved the style system so that we do a lot
less work, but we still need to do a full DOM walk.

Instead let's use percentages, which only need re-layout, not restyle
(viewport units compute to a pixel value, percentages compute to
themselves).

Differential Revision: https://phabricator.services.mozilla.com/D118879
2021-07-05 10:40:17 +00:00
Paul Zuehlcke 80b7bda1cd Bug 1713578 - Removed leftover PermissionStateChange events. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D118850
2021-07-05 10:10:23 +00:00
Andreas Farre 56b9a33c06 Bug 1701303 - Move counting of private browsing contexts to parent process. r=smaug,johannh
Move the counting of private browsing contexts to the parent
process. Also change to only consider non-chrome browsing contexts
when counting private contexts. The latter is possible due to bug
1528115, because we no longer need to support hidden private windows.

With counting in the parent process we can make sure that when we're
changing remoteness on a private browsing context the private browsing
context count never drops to zero. This fixes an issue with Fission,
where we remoteness changes could transiently have a zero private
browsing context count, that would be mistaken for the last private
browsing context going away.

Changing to only count non-chrome browsing contexts makes us only fire
'last-pb-context-exited' once, and since we count them in the parent
there is no missing information about contexts that makes us wait for
a content process about telling us about insertion or removal of
browsing contexts.

Differential Revision: https://phabricator.services.mozilla.com/D118182
2021-07-05 09:30:53 +00:00
antonin.loubiere b7bc94b468 Bug 1706973 - Fix learn more button too wide. r=desktop-theme-reviewers,Itiel
Fix the learn button of the master password that was too wide.

Differential Revision: https://phabricator.services.mozilla.com/D118881
2021-07-04 16:55:14 +00:00
Iulian Moraru 73d24dce23 Backed out changeset 7632b6b6aedc (bug 1717486) for causing build bustages on packager.mk. CLOSED TREE 2021-06-30 07:14:31 +03:00
Kajal Sah 561c2e1e9c Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-06-30 03:37:25 +00:00
Kajal Sah 2549c209de Bug 1718269 Renamed event that opens screenshots UI from the extension.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118855
2021-06-30 03:35:40 +00:00
Nan Jiang 4b53f50971 Bug 1717847 - Filter the blocked sponsored top sites from RemoteSettings r=dao
Differential Revision: https://phabricator.services.mozilla.com/D118650
2021-06-27 08:25:39 +00:00
Alexandru Michis 16daf6a7fa Bug 1638958 - Disable browser_label_and_icon.js on OS X 10.15 for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118297
2021-06-26 21:23:31 +00:00
Kashav Madan 68ff44693b Bug 1703692 - Update SessionStore and TabState{,Cache} functions to take a permanentKey, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118541
2021-06-26 20:25:29 +00:00
Kashav Madan 2b70b9d821 Bug 1703692 - Store the latest embedder's permanent key on CanonicalBrowsingContext, r=nika,mccr8
And include it in Session Store flushes to avoid dropping updates in case the
browser is unavailable.

Differential Revision: https://phabricator.services.mozilla.com/D118385
2021-06-26 20:25:29 +00:00
Shane Caraveo 1266d06fb6 Bug 1717006 support choice+string enumeration injection to fix access to menus.ContextType r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D118856
2021-06-26 15:07:37 +00:00
Dorel Luca 40fe0b4056 Backed out 3 changesets (bug 1703692) for Browser-chrome failures in browser/components/sessionstore/test/browser_broadcast.js. CLOSED TREE
Backed out changeset fe5703d7b580 (bug 1703692)
Backed out changeset eec4a4138ca7 (bug 1703692)
Backed out changeset 6745b363a745 (bug 1703692)
2021-06-26 10:09:23 +03:00
Dorel Luca bc6f2486e2 Backed out changeset 11d1710e481f (bug 1714212) for Browser-chrome failures in toolkit/xre/test/browser_checkdllblockliststate.js. CLOSED TREE 2021-06-26 09:45:29 +03:00
Kashav Madan 004a79bae0 Bug 1703692 - Update SessionStore and TabState{,Cache} functions to take a permanentKey, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118541
2021-06-26 05:49:12 +00:00
Kashav Madan e6788be168 Bug 1703692 - Store the latest embedder's permanent key on CanonicalBrowsingContext, r=nika,mccr8
And include it in Session Store flushes to avoid dropping updates in case the
browser is unavailable.

Differential Revision: https://phabricator.services.mozilla.com/D118385
2021-06-26 05:49:12 +00:00
Doug Thayer c3702a9447 Bug 1714212 - Ensure COM initialized prior to showing skeleton UI r=Jamie,aklotz,tkikuchi
This implements Jamie's suggested fixes for a screenreader issue when the
skeleton UI is enabled. Most of the work here is just pulling out pieces from the
files we needed to include in mozglue so that any references to, say, nsString
or other pieces from libxul either no longer exist or are only included when
building libxul. In a few cases this meant creating whole files to house single
functions, which isn't so pretty, but it was the best I could come up with to
get the job done.

Differential Revision: https://phabricator.services.mozilla.com/D117663
2021-06-26 04:10:50 +00:00
Emily McMinn 04897a9d6d Bug 1712797 - Remove "background-color: initial" and "opacity: initial" from step indicators r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D118202
2021-06-25 22:48:17 +00:00
Ed Lee 469e83e010 Bug 1694259 - Allow experimenting with 1-click default vs settings-dialog-ful flow r=andreio
Switch pref check to NimbusFeature.getVariable with updated manifest for fallback pref.

Differential Revision: https://phabricator.services.mozilla.com/D118760
2021-06-25 21:53:26 +00:00
Anny Gakhokidze 86672c1b31 Bug 1646356 - Add extra logs to browser_sessionHistory.js, r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D118867
2021-06-25 21:10:50 +00:00
Jan-Ivar Bruaroey 766c513cdc Bug 1713096 - Simplify checkRequestAllowed() in WebRTCParent. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D116543
2021-06-25 19:53:34 +00:00
Andrew Creskey 32478151d9 Bug 1716606 - Replace keyup handling of history metadata typing metrics with C++ implementation r=Standard8,smaug
Due to measured performance issues in the Chrome process, moving this code to C++.

Differential Revision: https://phabricator.services.mozilla.com/D118178
2021-06-25 19:40:36 +00:00
Emma Malysz 47957a154b Bug 1703150, ensure dev tools subview is shown when opening developer tools panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118773
2021-06-25 18:50:47 +00:00