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

76024 Коммитов

Автор SHA1 Сообщение Дата
Sandor Molnar 46a8a1bb7d Backed out changeset 2582c97cd813 (bug 1717891) for causing newtab failures. CLOSED TREE 2021-07-15 21:35:38 +03:00
Gavin Lazar Suntop 8543b8cfac Bug 1717891 - Spoc position pref r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D119435
2021-07-15 17:56:03 +00:00
Michelle Goossens 50dbea09d4 Bug 1719370 - Remove unused protections panel "disabled" icons r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119911
2021-07-15 16:59:53 +00:00
Mike Conley a844f32143 Bug 1717225 - Remove superfluous border rule to restore the Bookmarks Menu Button menupopup border on Arch. r=mhowell
This rule was first introduced in bug 1700194 to get rid of a double-border
that was appearing on Windows 10.

I think bug 1708735 made this workaround unnecessary, and also results
in the border being missing on some distributions of Linux.

Removing this rule doesn't cause the double-border to recur on Windows 10,
and doesn't change the appearance on Windows 7, macOS or Ubuntu, so if
this fixes things for those Linux distributions, that's great.

Differential Revision: https://phabricator.services.mozilla.com/D119916
2021-07-15 11:27:49 +00:00
Tim Huang f5c81ff9f2 Bug 1719447 - Add an init function to the URLQueryStrippingListService. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119879
2021-07-15 08:23:48 +00:00
Tim Huang b6b7f2cabf Bug 1719447 - Delay the initialization of URLQueryStringListService in the parent process. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119733
2021-07-15 08:23:47 +00:00
Csoregi Natalia e3638062b6 Backed out changeset cec939837018 (bug 1709978) for causing failures on app update. CLOSED TREE 2021-07-14 22:21:53 +03:00
Molly Howell c797d0b164 Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

The telemetry environment's update.enabled flag is deliberately left alone in
this patch, because the mere fact of using an app package does not really say
anything about whether the user intends to allow automatic updating or not.

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-14 18:23:41 +00:00
Tom Ritter 42c0ec86b4 Bug 1666222: Rip fuzzyfox out of the timestamp classes 2/5 r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D119637
2021-07-14 18:18:16 +00:00
Mike Conley 68d6c6f23f Bug 1706981 - Fix placement of chevron for Bookmarks Menu button menupopups on Windows 10. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D115423
2021-07-14 17:39:00 +00:00
Tarik Eshaq 9f2a55c5bc Bug 1587228 - Removes support for old send-tab clients. r=markh
* Removes the fallback to the old sent-tab
* Deletes the api to send URIs using commands
* Modifies tests that depended on that api to now use
   other commands, namely the wipeEngine command

Differential Revision: https://phabricator.services.mozilla.com/D118086
2021-07-14 16:50:26 +00:00
Mark Banner 317fbf055e Bug 1720151 - Hook up Snapshot handling to the real database. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D119652
2021-07-14 16:18:37 +00:00
Mark Banner 0f85cc5da1 Bug 1720461 - Improve layout of the interactions viewer to make more room for tables. r=mak
Also change the "page metadata" name to "Interactions" as that fits better.

Differential Revision: https://phabricator.services.mozilla.com/D119875
2021-07-14 16:18:37 +00:00
Nan Jiang 0bf5838230 Bug 1719743 - Update eBay hi-res icon r=dao DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D119463
2021-07-14 15:34:36 +00:00
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