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

76060 Коммитов

Автор SHA1 Сообщение Дата
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
Ava Katushka ava8katushka f552d1b02b Bug 1716564 Add test for saving files with download preferences r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117914
2021-06-25 17:11:56 +00:00
Daisuke Akatsuka e58b0a854b Bug 1677606: Stop using a new tab. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D118778
2021-06-25 13:01:59 +00:00
Andrei Oprea b3b5077c8a Bug 1717871 - Add targeting attribute to detect any active policies r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118611
2021-06-25 12:31:02 +00:00
Alexandru Michis f9933c1155 Backed out changeset b07431a83e6b (bug 1717871) for causing newtab failures in activity-stream:ASRTargeting docs
CLOSED TREE
2021-06-25 11:54:39 +03:00
Mark Banner 9b29670324 Bug 1716748 - Add a nightly only viewer for interaction metadata. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D117999
2021-06-25 08:18:20 +00:00
Andrei Oprea 9d1ed273fe Bug 1717871 - Add targeting attribute to detect any active policies r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118611
2021-06-25 08:12:58 +00:00
Valentin Gosu cb9c214eea Bug 1700951 - Make DoHController watch for network:captive-portal-connectivity-changed instead r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117652
2021-06-25 07:57:28 +00:00
Itiel 1c1866d4df Bug 1714512 - Fix focus rings in menulists inside a richlistitem r=preferences-reviewers,Gijs
Also fix the contrast for these menulists.
Also fix some styling in the containers section in about:preferences

Differential Revision: https://phabricator.services.mozilla.com/D117907
2021-06-25 07:16:36 +00:00
Sam Foster b6f8f294bc Bug 1699586 - Rename default right arrow icon to arrow-right.svg for naming consistency with its other directions. Use it rather than flipping the left arrow. r=Itiel,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118424
2021-06-25 00:03:22 +00:00
Sam Foster fa43fe37e3 Bug 1699586 - De-duplicate default up arrow icons, rename as arrow-up.svg r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117577
2021-06-25 00:03:22 +00:00
Sam Foster a4b983a6cb Bug 1699586 - De-duplicate default down arrow icons, rename as arrow-down.svg. r=harry,desktop-theme-reviewers,Itiel,extension-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D117576
2021-06-25 00:03:21 +00:00
Sam Foster 194b1aaf6a Bug 1699586 - De-duplicate small right arrow icons, rename as arrow-right-12.svg r=harry,desktop-theme-reviewers,thecount,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117575
2021-06-25 00:03:21 +00:00
Sam Foster deab16a9d6 Bug 1699586 - De-duplicate small left arrow icons, rename as arrow-left-12.svg. r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117574
2021-06-25 00:03:21 +00:00
Sam Foster c703c07954 Bug 1699586 - De-duplicate small down arrow icons, rename as arrow-down-12.svg. r=harry,preferences-reviewers,desktop-theme-reviewers,thecount,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117571
2021-06-25 00:03:20 +00:00
Sam Foster b61fcc9780 Bug 1708018 - Use toolkit's lightbulb icon for the report-site-issue extension. r=webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D117581
2021-06-24 21:59:33 +00:00
Nihanth Subramanya 796640eaa8 Bug 1718097 - Use DoHConfigController.currentConfig.enabled instead of doh-rollout.enabled in about:preferences. r=preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D118752
2021-06-24 21:26:47 +00:00
Iulian Moraru 7a2e51ed62 Backed out 3 changesets (bug 1703692) for causing bc failures on multiple files.
Backed out changeset a199dfd8ce8d (bug 1703692)
Backed out changeset 599a0a99ded9 (bug 1703692)
Backed out changeset 14fe807e6be4 (bug 1703692)
2021-06-25 00:43:23 +03:00
Mike Conley 2400d6b254 Bug 1700198 - Remove subviewbutton-iconic class from History and Synced Tabs panels. r=Gijs
Depends on D118623

Differential Revision: https://phabricator.services.mozilla.com/D118624
2021-06-24 20:27:48 +00:00
Mike Conley d8bdffca8b Bug 1700198 - Remove most subviewbutton-iconic class usage from FxA panel. r=markh
This also removes code that handled the case where a Send Tab or Send Link to Device
menu needed to be populated when in the STATUS_NOT_CONFIGURED state. Since those menus
should be unavailable when in the STATUS_NOT_CONFIGURED state, we throw instead.

Depends on D118622

Differential Revision: https://phabricator.services.mozilla.com/D118623
2021-06-24 20:27:47 +00:00
Mike Conley fe2f862a54 Bug 1700198 - Remove subviewbutton-iconic class from Bookmarks panel. r=mak
Depends on D118621

Differential Revision: https://phabricator.services.mozilla.com/D118622
2021-06-24 20:27:47 +00:00
Mike Conley 958f051aed Bug 1700198 - Remove subviewbutton-iconic class from Library panel markup. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D118621
2021-06-24 20:27:46 +00:00
Kashav Madan 3971133af5 Bug 1703692 - Update SessionStore and TabState{,Cache} functions to take a permanentKey, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118541
2021-06-24 20:26:14 +00:00
Kashav Madan c75e110512 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-24 20:26:13 +00:00
amy churchwell d9dbcddd7a Bug 1714461 - Remove Snippets Button From Personalize Panel on New Tab. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D116789
2021-06-24 18:47:31 +00:00
Andi-Bogdan Postelnicu 2f96ce4d79 Bug 1717600 - Add browsertime perf tests for FF built with clang-trunk. r=perftest-reviewers,jmaher,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D118456
2021-06-24 17:15:43 +00:00
Butkovits Atila c9a9518fc2 Backed out changeset 9bf2df766379 (bug 1717600) for causing linting failures. CLOSED TREE 2021-06-24 19:55:15 +03:00
Butkovits Atila d8270e7f30 Backed out changeset f8170849f7ce (bug 1714461) for causing node failures. 2021-06-24 19:47:59 +03:00
Andi-Bogdan Postelnicu 9f8b8b202c Bug 1717600 - Add browsertime perf tests for FF built with clang-trunk. r=perftest-reviewers,jmaher,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D118456
2021-06-24 16:05:17 +00:00
Mike Conley b4deb453df Bug 1686570 - Add a tooltip for crashed subframes. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118626
2021-06-24 15:57:17 +00:00
Michelle Goossens fc09f27525 Bug 1714462 - Part 2: Remove CSS rules using "not (-moz-proton)" in miscellaneous files r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118594
2021-06-24 15:42:03 +00:00
amy churchwell cc56106ed5 Bug 1714461 - Remove Snippets Button From Personalize Panel on New Tab. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D116789
2021-06-24 15:38:21 +00:00
Jasleen d32a884ef2 Bug 1716642 - Replaced calls to GlobalManager.extensionMap.get() with WebExtensionPolicy.getByID(). r=Standard8,kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D118407
2021-06-24 15:06:17 +00:00
Butkovits Atila 5970c58426 Backed out changeset e202be055557 (bug 1695658) for causing failures at browser_identityBlock_focus.js. CLOSED TREE 2021-06-24 17:28:01 +03:00
Gijs Kruitbosch 014f481551 Bug 1695658 - tests, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106773
2021-06-24 12:50:06 +00:00
Kagami Sascha Rosylight 66ab2e605c Bug 1717552 - Remove dom.select_events.enabled r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D118639
2021-06-24 12:30:35 +00:00
Paul Zuehlcke 6d29185618 Bug 1587763 - Make browser_postMessage test more reliable by polling for postMessage result. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D118608
2021-06-24 11:20:01 +00:00
Marco Bonardo 3efec453cb Bug 1715991 - Write history metadata to the Places database. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D118230
2021-06-24 08:46:38 +00:00
Butkovits Atila 910ab9f041 Bug 1714295 - disable browser_screenshots_dimensions.js on Win_64_opt_asan for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118428
2021-06-24 05:49:04 +00:00
Narcis Beleuzu 303b64cd7e Backed out changeset 21bf8384ddfa (bug 1716564) for bc failures on browser_open_download_preferences.js 2021-06-24 04:50:02 +03:00
Nihanth Subramanya e78d4b3565 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 23:28:16 +00:00
Nihanth Subramanya a5d79d29ab Bug 1714486 - [DoH] Allow pref values to override Remote Settings. r=necko-reviewers,jaws,dragana
Differential Revision: https://phabricator.services.mozilla.com/D116798
2021-06-23 23:28:16 +00:00
Dorel Luca 38d37d5ac1 Backed out 6 changesets (bug 1699586) for Browser-chrome failures in browser/base/content/test/performance/browser_startup_images.js. CLOSED TREE
Backed out changeset 8d42246a3ee8 (bug 1699586)
Backed out changeset e492a3c410b1 (bug 1699586)
Backed out changeset 621c35b393a2 (bug 1699586)
Backed out changeset 91f70d7ff2b1 (bug 1699586)
Backed out changeset 25a77358d2bc (bug 1699586)
Backed out changeset 1d3c1fe20fe9 (bug 1699586)
2021-06-24 02:03:18 +03:00
Ava Katushka ava8katushka a80685d24a Bug 1716564 Add test for saving files with download preferences r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117914
2021-06-23 20:37:14 +00:00
Drew Willcoxon 5a341fb860 Bug 1717719 - Don't show quick suggest results in private windows. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D118548
2021-06-23 20:04:56 +00:00
Dorel Luca 1779a0d311 Backed out 2 changesets (bug 1713036, bug 1714486) for XPCshell failures in netwerk/test/unit/test_trr.js. CLOSED TREE
Backed out changeset 06c40198b074 (bug 1713036)
Backed out changeset 41800e77c675 (bug 1714486)
2021-06-23 23:02:46 +03:00
Sam Foster d8768ef4ce Bug 1699586 - Rename default right arrow icon to arrow-right.svg for naming consistency with its other directions. Use it rather than flipping the left arrow. r=Itiel,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118424
2021-06-23 18:49:43 +00:00
Sam Foster e2c1c7fbb2 Bug 1699586 - De-duplicate default up arrow icons, rename as arrow-up.svg r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117577
2021-06-23 18:49:43 +00:00
Sam Foster 49c6f1e705 Bug 1699586 - De-duplicate default down arrow icons, rename as arrow-down.svg. r=harry,desktop-theme-reviewers,Itiel,extension-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D117576
2021-06-23 18:49:42 +00:00
Sam Foster 13ff596b35 Bug 1699586 - De-duplicate small right arrow icons, rename as arrow-right-12.svg r=harry,desktop-theme-reviewers,thecount,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117575
2021-06-23 18:49:42 +00:00
Sam Foster d7aad17d27 Bug 1699586 - De-duplicate small left arrow icons, rename as arrow-left-12.svg. r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117574
2021-06-23 18:49:41 +00:00
Sam Foster 9347a81644 Bug 1699586 - De-duplicate small down arrow icons, rename as arrow-down-12.svg. r=harry,preferences-reviewers,desktop-theme-reviewers,thecount,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117571
2021-06-23 18:49:41 +00:00
Harry Twyford 3682f5d22a Bug 1713662 - Apply more checks in the muxer to results marked with satisfiesAutofillThreshold. r=mak
This patch will reduce the number of TTS results we show, because we will no longer allow some partially matched hosts. Previously, we let some TTS results through the muxer even when a domain was not autofilled because we thought the user might be typing a subdomain of the TTS domain. However, this created false positives, as demonstrated in the bug. This patch strikes a compromise by retaining the satisfiesAutofillThreshold property, but requires the heuristic result to be a URL result. That way, we can ensure the TTS engine domain has the same hostname as the heuristic URL. This patch still handles the Wikipedia and eBay cases that satisfiesAutofillThreshold was designed to address.

Differential Revision: https://phabricator.services.mozilla.com/D116644
2021-06-23 17:25:51 +00:00
Mike Kaply a645e65532 Bug 1716360 - Add policy for Windows 10 SSO. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D118042
2021-06-23 17:01:23 +00:00
Kashav Madan ed76d6e152 Bug 1696815 - Wait for the _restoreHistory() promise before firing SSTabRestored, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D118501
2021-06-23 16:15:51 +00:00
Kashav Madan e10868a2d4 Bug 1696815 - Handle browser.loadURI() calls that happen before the browser is fully restored, r=annyG,nika,zombie
Differential Revision: https://phabricator.services.mozilla.com/D118101
2021-06-23 16:15:51 +00:00
Nihanth Subramanya 8c4bb92c84 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 15:24:01 +00:00
Nihanth Subramanya 1fa8b4f4b2 Bug 1714486 - [DoH] Allow pref values to override Remote Settings. r=necko-reviewers,jaws,dragana
Differential Revision: https://phabricator.services.mozilla.com/D116798
2021-06-23 15:24:01 +00:00
Mike Conley 77bbab5c56 Bug 1698883 - Use :focus-visible rather than :focus for panel focus ring rules. r=Itiel,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118542
2021-06-23 13:54:41 +00:00
Mike Conley ba30b01adc Bug 1698883 - Remove the panel-footer-menulike class. r=mhowell
We kept this class around so that we could toggle back and forth between the
Photon-era footer button style, and the Proton-era menuitem style for footer
buttons.

Now that v89 has shipped, we can remove that class and switch the markup and
styling over completely to the Proton styling.

Differential Revision: https://phabricator.services.mozilla.com/D117553
2021-06-23 13:54:41 +00:00
Cosmin Sabou edeaffb831 Backed out 3 changesets (bug 1714486, bug 1713036) for xpcshell failures on test_trr.js. CLOSED TREE
Backed out changeset 5161c4f25f80 (bug 1713036)
Backed out changeset 6ce07df62710 (bug 1713036)
Backed out changeset c824fe9b4adb (bug 1714486)
2021-06-23 08:00:36 +03:00
Nihanth Subramanya 19d9d9de89 Bug 1713036 - Fix some test failures. a=fix
CLOSED TREE

Ensure we only remove the DoH config update observer once in the connection dialog code.
await resetPrefs when cleaning up in the dialog test - it's an async function.
Don't forget to reset the regional pref in browser_remoteSettings_newProfile.js
Use the new default provider pref in test_trr_confirmation.js
2021-06-23 06:51:54 +03:00
Nihanth Subramanya 44665bb834 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 02:29:19 +00:00
Nihanth Subramanya 4e001bacfc Bug 1714486 - [DoH] Allow pref values to override Remote Settings. r=necko-reviewers,jaws,dragana
Differential Revision: https://phabricator.services.mozilla.com/D116798
2021-06-23 02:29:18 +00:00
Brindusan Cristian 0f63b1513f Backed out 6 changesets (bug 1699586) for causing bc failures in browser_ext_tabs_hide.js.
CLOSED TREE

Backed out changeset aeeaa1d05965 (bug 1699586)
Backed out changeset 2b0292c56e66 (bug 1699586)
Backed out changeset b23c2cdf6055 (bug 1699586)
Backed out changeset 4c4d46cb250d (bug 1699586)
Backed out changeset bd33ea428223 (bug 1699586)
Backed out changeset faedaeb2a10f (bug 1699586)
2021-06-23 03:12:24 +03:00
Sam Foster 0901151ac2 Bug 1699586 - Rename default right arrow icon to arrow-right.svg for naming consistency with its other directions. Use it rather than flipping the left arrow. r=Itiel,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118424
2021-06-22 22:32:35 +00:00
Sam Foster 9b797ac970 Bug 1699586 - De-duplicate default up arrow icons, rename as arrow-up.svg r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117577
2021-06-22 22:32:34 +00:00
Sam Foster e84104bc3d Bug 1699586 - De-duplicate default down arrow icons, rename as arrow-down.svg. r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117576
2021-06-22 22:32:34 +00:00
Sam Foster 7743f214a9 Bug 1699586 - De-duplicate small right arrow icons, rename as arrow-right-12.svg r=harry,desktop-theme-reviewers,thecount,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117575
2021-06-22 22:32:34 +00:00
Sam Foster 899a5d3b0f Bug 1699586 - De-duplicate small left arrow icons, rename as arrow-left-12.svg. r=harry,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117574
2021-06-22 22:32:33 +00:00
Sam Foster 4037e82e34 Bug 1699586 - De-duplicate small down arrow icons, rename as arrow-down-12.svg. r=harry,preferences-reviewers,desktop-theme-reviewers,thecount,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D117571
2021-06-22 22:32:33 +00:00
Alexandru Michis de21e66a25 Backed out 2 changesets (bug 1696815) for causing bc failures in browser_ext_tabs_discard_reversed.js
CLOSED TREE

Backed out changeset b52bf621dbe4 (bug 1696815)
Backed out changeset ca4535b8d3aa (bug 1696815)
2021-06-23 02:09:45 +03:00
Daisuke Akatsuka 9f476d7803 Bug 1677606: Wait for pagehide event instead of beforeunload. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D118453
2021-06-22 21:47:16 +00:00
Harry Twyford 45ebbdc987 Bug 1715137 - Part 3 - Port test_preloaded_sites.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D118220
2021-06-22 21:02:58 +00:00
Harry Twyford 914315ca8c Bug 1715137 - Part 2 - Remove Preloaded Sites and heuristic result code from UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D118219
2021-06-22 21:02:58 +00:00
Harry Twyford 1c5a86cc7f Bug 1715137 - Part 1 - Split UrlbarProviderPreloadedSites out from UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D118218
2021-06-22 21:02:57 +00:00
Brindusan Cristian ed528a5835 Backed out changeset 0a18936814a7 (bug 1587228) for causing bc failures in browser_contextmenu_sendpage.js.
CLOSED TREE
2021-06-23 00:09:46 +03:00
Mike Conley 56e7baaf05 Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-06-22 20:43:41 +00:00
Tarik Eshaq c8b1f02eae 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-06-22 20:21:40 +00:00
Kashav Madan 7c34229951 Bug 1696815 - Wait for the _restoreHistory() promise before firing SSTabRestored, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D118501
2021-06-22 19:58:42 +00:00
Kashav Madan 145f291ac7 Bug 1696815 - Handle browser.loadURI() calls that happen before the browser is fully restored, r=annyG,nika,zombie
Differential Revision: https://phabricator.services.mozilla.com/D118101
2021-06-22 19:58:42 +00:00
amy churchwell a17b80b9e4 Bug 1712222 - Update card background color in dark mode. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D116050
2021-06-22 17:35:56 +00:00
amy churchwell f3d0380678 Bug 1712223 - Update newtab background color in dark mode. r=thecount,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D116049
2021-06-22 17:35:56 +00:00
amy churchwell 8be6dca9cd Bug 1712215, 1712221 - Update drop shadows. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D116048
2021-06-22 17:35:55 +00:00
Bernard Igiri 142c430968 Bug 1704669 - Deduplicate and consolidate checkmark icons across the tree r=mconley,desktop-theme-reviewers,Itiel
Replaced instances of success.svg with check.svg and removed success.svg.

Differential Revision: https://phabricator.services.mozilla.com/D118031
2021-06-22 17:19:40 +00:00
Silke Hofmann aa6c2b6da8 Bug 1717124 - Add margin-block between the two labels in the ETP toggle section when the toggle is OFF r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D118233
2021-06-22 17:15:33 +00:00
Tarik Eshaq 453be8c6fd Bug 1716450 - Removes fxa-client rust code from Desktop. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D118238
2021-06-22 17:04:35 +00:00
Anny Gakhokidze e235ee5556 Bug 1682361 - Make test wait for SessionStore.getLastClosedTabCount to be correct to give it time to update, r=kashav,robwu
Differential Revision: https://phabricator.services.mozilla.com/D118423
2021-06-22 16:50:44 +00:00
Anny Gakhokidze c6198e151d Bug 1713894 - Unskip browser_originattrs_reopenin.js, r=nika
This test has been fixed by patches concerning native menus on macos in bug 1717129

Differential Revision: https://phabricator.services.mozilla.com/D118425
2021-06-22 16:49:51 +00:00
Paul Zuehlcke 4c29bed2b9 Bug 1717602 - Enable places.forgetThisSite.clearByBaseDomain for all channels. r=szabka
Differential Revision: https://phabricator.services.mozilla.com/D118457
2021-06-22 14:31:34 +00:00
Neil Deakin 9cc85b84a2 Bug 1712838 , remove fxmonitor component, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117352
2021-06-22 14:11:08 +00:00
Marcos Cáceres ee3a5b1832 Bug 1714703 - Promisify GamepadServiceTest r=tjr,peterv
make GamepadServiceTest's methods return promises, so to avoid testing with flaky setTimeout().

Differential Revision: https://phabricator.services.mozilla.com/D117258
2021-06-22 08:45:59 +00:00
Mike Hommey 744db845c6 Bug 1700534 - Coalesce RLBox wasmboxed libraries. r=firefox-build-system-reviewers,shravanrn,bholley,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D116440
2021-06-22 05:31:33 +00:00
Mathew Hodson 855a6df6a6 Bug 1716982 - Use BrowserTestUtils.waitForEvent in preferences tests. r=Standard8,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D118254
2021-06-21 16:17:48 +00:00
Mark Banner 06972ea56e Bug 1717424 - End existing interactions when the user navigates to a non-http page. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D118352
2021-06-21 16:09:39 +00:00
Dorel Luca c625851ce4 Backed out changeset 2e289ebaa100 (bug 1713662) for Browser-chrome and XPCshell failures. CLOSED TREE 2021-06-21 19:13:48 +03:00
Kajal Sah 371a34a387 Bug 1715838 - Creates preference for new screenshot components. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117654
2021-06-21 15:07:47 +00:00
Kajal Sah 53a78b8618 Bug 1713938 - Corrects toggle-screenshot-disable button. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117506
2021-06-21 15:02:52 +00:00
Harry Twyford 04323f3755 Bug 1713662 - Apply more checks in the muxer to results marked with satisfiesAutofillThreshold. r=mak
This patch will reduce the number of TTS results we show. Previously, we let some TTS results through the muxer even when the heuristic URL was not similar to the tab-to-search engine. We did this because ProviderTabToSearch thought the user might be typing part of a TTS domain, but we didn't check that the actual heuristic result was for that domain. This patch allows tab-to-search results only when (1) the heuristic result is not a URL result or (2) the heuristic URL resembles the tab-to-search engine domain. This patch still handles the Wikipedia and eBay cases that satisfiesAutofillThreshold was designed to address.

Differential Revision: https://phabricator.services.mozilla.com/D116644
2021-06-21 14:49:08 +00:00
Harry Twyford 136510c70d Bug 1716025 - Part 2 - Add pref that can extend the metadata blocklist. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D117544
2021-06-21 14:32:46 +00:00
Harry Twyford 699c2f666c Bug 1716025 - Part 1 - Add hardcoded blocklist of sites to exclude from history metadata. r=mak
This patch creates a blocklist of sites that should not be saved as keyframes. The blocklist maps hostnames to regular expressions. While the map is a bit of an awkward structure, it lets us avoid checking every URL against a list of regular expressions. This performance gain will be more apparent as the list expands.

Differential Revision: https://phabricator.services.mozilla.com/D117543
2021-06-21 14:32:46 +00:00
Neil Deakin 22900508de Bug 1701078, re-enable browser_remoteiframe.js now that bug 1600059 that improved the form autofill tests is fixed, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D118285
2021-06-21 14:23:44 +00:00
Chris Martin 38d538c966 Bug 1701770 - Defer Windows DPI Awareness from load time to run time r=bobowen,aklotz
Currently, we set DPI awareness in the manifest files for firefox.exe.

Unfortunately, that causes DPI-related Win32k calls when user32.dll
is loaded.

This changes things to wait until we are sure we're not running in a
Win32k Lockdown Content Process before we attempt to initialize DPI scaling.

Differential Revision: https://phabricator.services.mozilla.com/D116433
2021-06-21 13:50:31 +00:00
Andrew Osmond 98f810e4e4 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-21 12:46:32 +00:00
Henri Sivonen 7df7939f77 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 12:09:01 +00:00
Dorel Luca 2118316ba4 Backed out changeset 4891a17c55e2 (bug 1713627) for Browser-chrome failures in docshell/test/browser/browser_bug673087-1.js. CLOSED TREE 2021-06-21 12:10:54 +03:00
Andreas Farre 7292512649 Bug 1713901 - Turn on browser_aboutHomeLoading.js for Fission. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118189
2021-06-21 08:48:53 +00:00
Henri Sivonen abbbf94915 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 08:09:43 +00:00
Daisuke Akatsuka 0142cb5790 Bug 1265208: Restore url if the value of inputed bar that had been inputting is empty upon switching tab. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D118125
2021-06-21 02:30:06 +00:00
Daisuke Akatsuka 1cc55fd4cf Bug 1686951: Support switch-to-tab in private browsing window. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D117974
2021-06-21 01:33:26 +00:00
Narcis Beleuzu 192a45a34e Backed out 2 changesets (bug 1701770) for causing tp5n crashes.
Backed out changeset 2351f158ef88 (bug 1701770)
Backed out changeset 4af044ed9208 (bug 1701770)
2021-06-19 07:06:41 +03:00
Neil Deakin 7e61ee9e36 Bug 1709445, remove duplicate history icons, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D118172
2021-06-18 23:48:34 +00:00
Neil Deakin b2b0f5cd62 Bug 1706206, remove duplicate storage permission icons, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D118171
2021-06-18 18:04:13 +00:00
Neil Deakin bc6ca9ef7f Bug 1707101, remove duplication protection panel icons, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D118170
2021-06-18 13:37:25 +00:00
Neil Deakin 496e371f46 Bug 1706592, add test for checking title when opening alert from a file url, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117421
2021-06-18 13:16:33 +00:00
Andrei Oprea 392f7dce8e Bug 1715504 - Banner variations for Private Browsing mode experiment r=desktop-theme-reviewers,k88hudson,harry
Differential Revision: https://phabricator.services.mozilla.com/D117281
2021-06-18 11:06:58 +00:00
Sandor Molnar 917badff50 Backed out changeset f4ab27bcac2e (bug 1715504) for causing browser-chrome failures in browser_all_files_referenced. CLOSED TREE 2021-06-18 13:38:10 +03:00
Andrei Oprea 5e63926089 Bug 1715504 - Banner variations for Private Browsing mode experiment r=desktop-theme-reviewers,k88hudson,harry
Differential Revision: https://phabricator.services.mozilla.com/D117281
2021-06-18 09:50:19 +00:00
Itiel a507e0cf17 Bug 1715722 - Remove obsolete .button-box padding rule on Windows r=desktop-theme-reviewers,harry,dao
Differential Revision: https://phabricator.services.mozilla.com/D117639
2021-06-18 09:13:07 +00:00
Brindusan Cristian 97b71ee13f Backed out 2 changesets (bug 1715515) for breaking the decision task.
CLOSED TREE

Backed out changeset 2e674ac39f8f (bug 1715515)
Backed out changeset 39580a1b4188 (bug 1715515)
2021-06-18 03:20:07 +03:00
Drew Willcoxon 81609255b5 Bug 1713322 - Properly fill flex groups and add support for both availableSpan and maxResultCount. r=mak
The problem in this bug is that the sum of the available spans of child buckets
is not necessarily equal to the available span of the parent bucket. That's
because each child span must be an integer, but a child's ideal span may not be
an integer, so we have to round and an error can accumulate.

This fixes it by detecting that case and then tweaking child spans until their
sum is equal to the parent's available span. If the sum is smaller than the
parent span, then we increment child spans until it's equal; if the sum is
larger than the parent span, then we decrement instead. (The case where the sum
is larger isn't as much of a problem as when it's smaller. We still correctly
limit the total result span due to logic elsewhere, but the bucket's final
result composition may not reflect flex ratios as accurately as it could.)

I added some logic so that the child spans we choose to tweak are the ones that
minimize the mathematical error between the final integer spans and the ideal
unrounded spans. In other words, we pick the best spans possible given that they
must be integers.

We need to do this tweaking when we try to overfill buckets too, not only on the
first pass for a bucket. Currently the second pass is hardcoded in
`_fillBuckets`. Rather than hardcoding the tweaking in both places, I added an
`_updateFlexData` helper method. While I was doing that, I realized we may need
more than two passes per parent bucket in order to optimally fill the children.
So I modified `_fillBuckets` so it recurses with the parent bucket itself when
we need to overfill any of its children.

I also added support for both `availableSpan` and `maxResultCount`. That lets us
get rid of the ugly heuristic special case in `_addResults`. A bucket will be
filled while both its used span and result count are under both these limits.

This also removes support for zero flex. I got really annoyed with it while I
was working on earlier versions of this. It made the code unnecessarily complex.
I added zero flex kind of as a hack to support tail suggestions, but we don't
actually need it at all. We can just move the tail suggestions bucket out of the
main suggestions bucket with form history and remote suggestions.

Finally while I was here I switched from "bucket" to "group" in light of the
renaming in bug 1715484 and bug 1715822.

Differential Revision: https://phabricator.services.mozilla.com/D117582
2021-06-18 00:08:25 +00:00
Andrew Osmond be550ad9c9 Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117287
2021-06-17 23:53:39 +00:00
Ed Lee 2b631a483e Bug 1716884 - Allow experimenting with disabling Keep in Dock / Pin to taskbar r=andreio
Add new NimbusFeature.shellService that is available at startup, e.g., for default browser prompt.

Differential Revision: https://phabricator.services.mozilla.com/D118092
2021-06-17 23:44:38 +00:00
Emily McMinn f617736811 Bug 1716908 - Update newtab source docs with correct instructions for npm install r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D118217
2021-06-17 22:45:15 +00:00
Ed Lee 43592e9cc2 Bug 1714466 - Relax upgrade dialog dependency on unrelated/deprecated prefs, e.g., whatsNewPanel and aboutwelcome r=pdahiya
Check default pref branch instead of user when looking for enterprise policy changes.

Differential Revision: https://phabricator.services.mozilla.com/D118089
2021-06-17 22:23:28 +00:00
Harry Twyford 8cccc13c16 Bug 1662172 - Part 3 - Port and combine test_keyword_search and test_keyword_search_action. r=adw
Depends on D116899

Differential Revision: https://phabricator.services.mozilla.com/D116900
2021-06-17 22:04:54 +00:00
Harry Twyford 11271080a2 Bug 1662172 - Part 2 - Remove keyword code from UnifiedComplete. r=adw
Depends on D116898

Differential Revision: https://phabricator.services.mozilla.com/D116899
2021-06-17 22:04:54 +00:00
Harry Twyford bbd6391909 Bug 1662172 - Part 1 - Port UrlbarProviderBookmarkKeywords from UnifiedComplete. r=adw
Depends on D116764

Differential Revision: https://phabricator.services.mozilla.com/D116898
2021-06-17 22:04:54 +00:00
Ed Lee deecb9b20a Bug 1716663 - Get automatic recompiling of activity-stream-*.css working with sass r=pdahiya
With https://github.com/sass/dart-sass/issues/1359 duplicate of a wontfixed bug, others have used --load-path to have watch include a parent directory.

Differential Revision: https://phabricator.services.mozilla.com/D118090
2021-06-17 20:41:57 +00:00
Alexandru Michis b07cc86a4a Backed out changeset dc5c5ba21183 (bug 1712750) for causing bc failures in browser_interventions.js
CLOSED TREE
2021-06-18 00:47:32 +03:00
Adam Gashlin 25b5f25e18 Bug 1703578 - Part 4: Record setAsDefaultUserChoice() result telemetry. r=bytesized
Depends on D113428

Differential Revision: https://phabricator.services.mozilla.com/D113429
2021-06-17 18:06:35 +00:00
Adam Gashlin 00133ca183 Bug 1703578 - Part 3: Invoke WDBA to set UserChoice. r=bytesized
Depends on D113427

Differential Revision: https://phabricator.services.mozilla.com/D113428
2021-06-17 18:06:35 +00:00
Adam Gashlin 858729153b Bug 1703578 - Part 1: Generate and check UserChoice hash. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D113426
2021-06-17 18:06:34 +00:00
Brindusan Cristian 20b73f0fc2 Backed out changeset e88b44182dda (bug 1698883) for causing bc failures in browser_documentnavigation.js and browser_protectionsUI.js.
CLOSED TREE
2021-06-17 22:43:47 +03:00
Silke Hofmann c45f796a16 Bug 1715544 - Extend timezone converter's 12h correction logic for times between 12pm and 1pm, and 12am and 1am. Add testcases. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D117958
2021-06-17 15:59:31 +00:00
Chris Martin 59f6230bef Bug 1701770 - Defer Windows DPI Awareness from load time to run time r=bobowen,aklotz
Currently, we set DPI awareness in the manifest files for firefox.exe.

Unfortunately, that causes DPI-related Win32k calls when user32.dll
is loaded.

This changes things to wait until we are sure we're not running in a
Win32k Lockdown Content Process before we attempt to initialize DPI scaling.

Differential Revision: https://phabricator.services.mozilla.com/D116433
2021-06-17 15:53:23 +00:00
Mike Conley d90592e793 Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-06-17 15:47:16 +00:00
Olli Pettay b413126a30 Bug 1679194 - browser_backfwd_enabled_post_customize.js should wait until the state of back and forward buttons has changed, r=annyG
When session history (and bfcache) run in the parent process, things happening there are less asynchronous vs. having session history
in the child process.

The fix is such that if the disabled state doesn't change, then the test will just time out.

Differential Revision: https://phabricator.services.mozilla.com/D117891
2021-06-17 15:42:36 +00:00
Mike Conley 6c5816deeb Bug 1698883 - Remove the panel-footer-menulike class. r=mhowell
We kept this class around so that we could toggle back and forth between the
Photon-era footer button style, and the Proton-era menuitem style for footer
buttons.

Now that v89 has shipped, we can remove that class and switch the markup and
styling over completely to the Proton styling.

Differential Revision: https://phabricator.services.mozilla.com/D117553
2021-06-17 15:34:17 +00:00
Ava Katushka ava8katushka d18fc00d38 Bug 1716521 - Fix typo in the test for browser_application_selection.js. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117745
2021-06-17 15:33:56 +00:00
Bernard Igiri d8cff91aa0 Bug 1706192 - Get rid of popup-subitem r=mconley
Removed occurences of popup-subitem.

Differential Revision: https://phabricator.services.mozilla.com/D117330
2021-06-17 15:30:28 +00:00
prathikshaprasadsuman 1a1b462ea9 WIP: Bug 1713891 - Re-enable protections dashboard tests for fission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D118158
2021-06-17 15:21:33 +00:00
Thomas Wisniewski afd5465704 Bug 1713685 - Update the Google Publisher Tags SmartBlock shim; r=denschub,webcompat-reviewers
- expand the API surface that is stubbed out more completely to account for sites relying on deprecated or more obscure functionality.
- have the shim perform basic content placement as some sites expect GPT to do.

Differential Revision: https://phabricator.services.mozilla.com/D118098
2021-06-17 14:35:59 +00:00
Mark Banner 6fdf25dc9d Bug 1717025 - Remove unnecessary inclusions of Promise.jsm in test harnesses and tests. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D118180
2021-06-17 14:31:57 +00:00
Harry Twyford ac2a7709f9 Bug 1714409 - Part 3 - Port test_search_engine_alias. r=adw
I removed the part of the test that checks for a history result. That was there to test _filterOnHost, which was removed. See Part 2.

Depends on D116763

Differential Revision: https://phabricator.services.mozilla.com/D116764
2021-06-17 11:34:13 +00:00
Harry Twyford dafdcd51d7 Bug 1714409 - Part 2 - Remove _matchSearchEngineAlias from UnifiedComplete. r=adw
I didn't port _filterOnHost, which searches for history from an engine's domain when its alias is typed. It is no longer relevant: a heuristic alias search result puts the user in search mode.

Depends on D116762

Differential Revision: https://phabricator.services.mozilla.com/D116763
2021-06-17 11:34:13 +00:00
Harry Twyford ebfeee1f72 Bug 1714409 - Part 1 - Split UrlbarProviderAliasEngines from UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D116762
2021-06-17 11:34:12 +00:00
Francesco Lodolo (:flod) 4b62e3acc8 Bug 1716987 - Add Scots (sco) to Beta/Release builds with Firefox 91, r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D118164
2021-06-17 11:30:33 +00:00
Mark Banner 28abf1cb81 Bug 1515695 - Remove Task.jsm. r=florian,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D118001
2021-06-17 08:28:02 +00:00
Kris Maglione 5c9ca10ec3 Bug 1643998: Ignore load events from stale actors in browserLoaded helper. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117570
2021-06-17 04:42:34 +00:00
Itiel 81275099b6 Bug 1705967 - Overhaul and protonize the library window for Windows r=mak,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D112490
2021-06-16 21:24:27 +00:00
Drew Willcoxon c2b15a15cd Bug 1716639 - Add a "Disable" button to the Firefox Suggest onboarding prompt that opens about:preferences#search. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D117950
2021-06-16 21:16:34 +00:00
Butkovits Atila b252130bae Backed out changeset 8473f7b4d147 (bug 1705967) for causing build bustages on organizer.css. CLOSED TREE 2021-06-16 22:32:30 +03:00
Itiel 290b312d8e Bug 1705967 - Overhaul and protonize the library window for Windows r=mak,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D112490
2021-06-16 19:11:17 +00:00
Kashav Madan 1aac97839f Bug 1713896 - Remove fission annotation for false positive, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D118039
2021-06-16 18:52:34 +00:00
Thomas Wisniewski 8ed04d7a16 Bug 1713725 - update the SmartBlock shim for Rich Relevance; r=denschub,webcompat-reviewers
- stub out more of the API to mitigate more breakage
- update the ES coding style to be more modern

Differential Revision: https://phabricator.services.mozilla.com/D118038
2021-06-16 18:38:31 +00:00
Kashav Madan de0419dc6e Bug 1713900 - Remove platform-specific Fission sessionstore annotations from bug 1694824, r=neha
Most of these fail very rarely (if at all), and the ones that do already have
intermittent bugs filed.

See comment #6.

Differential Revision: https://phabricator.services.mozilla.com/D118005
2021-06-16 16:26:42 +00:00
Alexandre Lissy 859e2bdc3d Bug 1716774 - Send correct telemetry for buildid mismatch false-positive r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D118009
2021-06-16 15:37:48 +00:00
Emilio Cobos Álvarez b71251fbb3 Bug 1716617 - Ignore shadow tree in search autocomplete attr inheritance. r=Standard8
After bug 1708735, this popup has a shadow root with a slot for its
contents, but this popup wants attr inheritance to work on the light
tree, which used to work due to the fallback here to `this`:

  https://searchfox.org/mozilla-central/rev/294f10eff7398d6b05beac6aa256d86ac3cb7113/toolkit/content/customElements.js#431

So override getElementForAttrInheritance to ignore the shadow tree in
order to preserve the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D117982
2021-06-16 14:06:29 +00:00
Kashav Madan cb6768b9ef Bug 1716444 - Don't do final tab state flush for replaced contexts, r=farre,annyG
If we're destroying the frame loader of a replaced browsing context we'll end up
firing browser-shutdown-tabstate-updated for a tab that wasn't actually closed.

This results in us cleaning up Session Store state earlier than expected, which
means we drop future updates to SessionStoreInternal._closedTabs.

Fixes browser_sessionHistory.js, browser_async_remove_tab.js, and possibly
browser_491168.js for SHIP+BFCache.

Differential Revision: https://phabricator.services.mozilla.com/D117944
2021-06-16 14:05:53 +00:00
Dão Gottwald bf9d68cfb7 Bug 1716731 - Update Yandex favicons and tippytop icons. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D117988
2021-06-16 11:32:48 +00:00
Ed Lee 0df530a625 Bug 1715917 - Remove dependency on deprecated node-sass r=pdahiya
Update yamscripts to use sass command line interface with input:output args and appropriate --options, and also fix incorrect watchmc as bundle:css was && chained. Fix up sass errors (multiline string variable) and warnings (divide vs css / separator).

Differential Revision: https://phabricator.services.mozilla.com/D117484
2021-06-16 01:46:19 +00:00
Kashav Madan 577616f5ab Bug 1701337 - Respect browser.sessionstore.debug.no_auto_updates in native flushers, r=nika
We should not be doing any timed flushes if the pref is set to true.

See https://searchfox.org/mozilla-central/rev/d97dca5907e2a0a77a2435b24ef980268cd3c4fe/browser/components/sessionstore/ContentSessionStore.jsm#402
for how the pref is used in non-SHIP code.

Fixes browser_async_window_flushing.js, which relies on us not sending automatic
updates.

Differential Revision: https://phabricator.services.mozilla.com/D117953
2021-06-16 00:37:53 +00:00
Anny Gakhokidze 95c3dbf0de WIP: Bug 1713713 - Remove pref that decides if OriginAttributes should be used in a remote type r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117926
2021-06-16 00:31:15 +00:00
Sandor Molnar 0c74ccb7df Backed out changeset 463f9505434d (bug 1715917) for causing browser-chrome failures in browser_parsable_css. CLOSED TREE DONTBUILD 2021-06-16 02:11:14 +03:00
Ed Lee 92c361efcc Bug 1715917 - Remove dependency on deprecated node-sass r=pdahiya
Update yamscripts to use sass command line interface with input:output args and appropriate --options, and also fix incorrect watchmc as bundle:css was && chained. Fix up sass errors (multiline string variable) and warnings (divide vs css / separator).

Differential Revision: https://phabricator.services.mozilla.com/D117484
2021-06-15 22:07:06 +00:00
Mike Kaply 04dd2f4733 Bug 1716630 - Test for developer tools on app menu when developer tools are disabled is set. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117933
2021-06-15 21:41:41 +00:00
Sandor Molnar 7bf37eeab8 Backed out changeset c7ca6974f739 (bug 1643998) for causing multiple bc failures. CLOSED TREE 2021-06-15 23:23:39 +03:00
Kris Maglione 37f454f2eb Bug 1643998: Ignore load events from stale actors in browserLoaded helper. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117570
2021-06-15 19:40:26 +00:00
Thomas Wisniewski 8e4e262b09 Bug 1713687 - Improve the ETP shim for Google Analytics and fold the Tag Manager shim into it; r=webcompat-reviewers,denschub
- add wildcards to the URLs, as some sites access the scripts with GET parameters.
- we don't actually need a standalone Tag Manager shim, so just re-use the GA one.
- this will also mitigate breakage on some sites which load only one of the two scripts.
- more thoroughly stub out the Analytics window object to mitigate more site breakage.

Differential Revision: https://phabricator.services.mozilla.com/D117678
2021-06-15 19:38:20 +00:00
Emily McMinn 1b1f307613 Bug 1714617 - Update noodle positions & sizes on about:welcome to more closely match design spec r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D117047
2021-06-15 18:50:57 +00:00
Andrew Halberstadt 7a16af4434 Bug 1700781 - Skip failing mochitest-plain tests with fission + xorigin, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D117704
2021-06-15 18:24:18 +00:00
Sandor Molnar 75b64984a6 Backed out changeset fcc24ac34f5d (bug 1699794) for causing mochitest failures in creditCard/test_clear_form. CLOSED TREE 2021-06-15 21:32:49 +03:00
Emily McMinn ce4e4163cb Bug 1712869 - Set keyboard focus on the correct button for each screen of the upgrade modal r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D117364
2021-06-15 17:12:23 +00:00
Shane Caraveo f2dce17402 Bug 1706398 support action context type for context menus r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D116858
2021-06-15 14:51:13 +00:00
Shane Caraveo 5d0fc14d5e Bug 1706398 support internal command _execute_action r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D114028
2021-06-15 14:51:12 +00:00
Shane Caraveo 957cb7e5e2 Bug 1706398 implement action support and alias browser_action to action. r=robwu,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D113461
2021-06-15 14:51:12 +00:00
owlishDeveloper 9440a70da9 Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-15 13:59:59 +00:00
Kashav Madan 1a33a37654 Bug 1715852 - Fix SessionHistoryEntry::mSrcdocData to work with session restore, r=peterv
Not setting mIsSrcdocEntry causes us to drop srcdoc data and not set
INTERNAL_LOAD_FLAGS_IS_SRCDOC in FillLoadInfo for srcdoc restores.

Differential Revision: https://phabricator.services.mozilla.com/D117479
2021-06-15 13:34:01 +00:00
Andrei Oprea d39bcd7010 Bug 1695764 - Remove code related to CFR ML Experiment r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D113963
2021-06-15 10:44:15 +00:00
Alexandru Michis 862514ac0a Bug 1625690 - Disable browser_urlbar_event_telemetry.js on OS X 10.15 for frequent failures. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D117593
2021-06-15 06:06:39 +00:00
Alexandru Michis ace850e7bd Bug 1711507 - Disable browser_remoteTroubleshoot.js on linux asan for frequent failures. r=intermittent-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D117594
2021-06-15 06:03:36 +00:00
Kris Maglione ae436f55ec Bug 1646560: Part 2 - Move allowJavascript and friends from DocShell to BrowsingContext and WindowContext. r=jdescottes,nika,geckoview-reviewers,devtools-backward-compat-reviewers,agi
This is slightly complicated by the fact that the editor code wants to be able
to set this from the content process, so we really need separate
BrowsingContext and WindowContext flags, the latter of which can be set by the
owning process.

Differential Revision: https://phabricator.services.mozilla.com/D114899
2021-06-15 04:40:11 +00:00
Kris Maglione b3c34d273e Bug 1646560: Part 1 - Move some XPCShell content helpers to generic shared module. r=nika
They were originally written for the extension framework, but have been used
more and more widely ever since.

Differential Revision: https://phabricator.services.mozilla.com/D114898
2021-06-15 04:40:10 +00:00
Noemi Erli 6fcc995a0a Backed out 2 changesets (bug 1701770) for causing failures in browser_checkdllblockliststate.js CLOSED TREE
Backed out changeset a6f46b0a30e9 (bug 1701770)
Backed out changeset 263591537722 (bug 1701770)
2021-06-15 04:09:49 +03:00
Daisuke Akatsuka 753cf86f05 Bug 1602396: Set focus to URLBar when an empty tab is moved to new window. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D117522
2021-06-14 23:38:50 +00:00
Csoregi Natalia ee2d1d13f4 Backed out changeset 9c2ba085b136 (bug 1703609) for failures on browser_devices_get_user_media_queue_request.js. CLOSED TREE 2021-06-15 02:55:35 +03:00
Aaron Klotz f3adb70f19 Bug 1707954: Part 2 - Update Launcher Process with mscom::ProcessRuntime changes; r=Jamie
Given the changes in part 1, we must now use the `ProcessCategory` variant of
`ProcessRuntime`'s constructors.

Differential Revision: https://phabricator.services.mozilla.com/D113561
2021-06-14 21:53:18 +00:00
Chris Martin d909ca765f Bug 1701770 - Defer Windows DPI Awareness from load time to run time r=bobowen,aklotz
Currently, we set DPI awareness in the manifest files for firefox.exe.

Unfortunately, that causes DPI-related Win32k calls when user32.dll
is loaded.

This changes things to wait until we are sure we're not running in a
Win32k Lockdown Content Process before we attempt to initialize DPI scaling.

Differential Revision: https://phabricator.services.mozilla.com/D116433
2021-06-14 20:55:33 +00:00
Molly Howell c5b07911a3 Bug 1703609 - Hide doorhangers while site permissions panel is showing. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117700
2021-06-14 20:49:38 +00:00
Andrew Creskey de66360ca3 Bug 1713385 - Add typing metrics to history metadata r=Standard8
Collect typing metrics (time spent typing, number of keys pressed) to improve history metadata.

Differential Revision: https://phabricator.services.mozilla.com/D116719
2021-06-14 19:56:06 +00:00
Molly Howell d2dac1c2f8 Bug 1698920 - Remove a couple of superflous CSS variables. r=desktop-theme-reviewers,Itiel
Also remove some associated `color: inherit` properties that don't appear
necessary; as far as I can tell, equivalent rules already exist everywhere
that these ones would match, so they're not having any effect.

Differential Revision: https://phabricator.services.mozilla.com/D117572
2021-06-14 17:04:14 +00:00
Kate Hudson 703b986ebe Bug 1714595 - Allow about:home startup cache to be toggled via Nimbus. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D116853
2021-06-14 14:48:00 +00:00
Mark Banner 40f6a4b111 Bug 1705374 - Update expected url in browser_searchEngine_behaviors.js. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D117660
2021-06-14 15:10:59 +00:00
Andreas Farre 966f9def62 Bug 1705689 - Don't update the tab state if the browsing context has been replaced. r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D117266
2021-06-14 13:48:49 +00:00
Mark Banner 7e49795b30 Bug 1693821 - Update tracking regexps for search ad telemetry. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D109636
2021-06-14 13:05:02 +00:00
Alexandre Lissy 59f1595f14 Bug 1651133 - Double-check the build ID to avoid spurious about:restartrequired r=jld
Differential Revision: https://phabricator.services.mozilla.com/D115593
2021-06-14 10:33:19 +00:00
Silke Hofmann 4650ab077c Bug 1481470 - Stop using xlink:href in SVG in browser/. r=nhnt11,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D117204
2021-06-13 19:01:19 +00:00
Jared Wein fefa376411 Bug 1715208 - Wait for the closebutton attribute to update instead of assuming it is atomic with inDOMFullscreen r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117157
2021-06-12 08:21:33 +00:00
Dana Keeler ef0a88c6f2 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-12 01:12:25 +00:00
Sam Foster 3fb516c1ba Bug 1707690 - Remove the places folder icon in favor of the toolkit shared icon.r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D117483
2021-06-11 23:35:08 +00:00