Commit Graph

25303 Commits

Author SHA1 Message Date
Antonin LOUBIERE
b63f50366a Bug 1629205 - Context menu action show number of tabs affected by close. r=flod,dao
The context menu show the number of tabs affected by the close => Close N tabs.

Differential Revision: https://phabricator.services.mozilla.com/D120986
2021-07-30 11:51:32 +00:00
Gijs Kruitbosch
5144c311b3 Bug 1721651 - show a warning triangle favicon on certificate error pages, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D121151
2021-07-29 15:39:56 +00:00
Butkovits Atila
aadb760346 Backed out changeset c7a8038bc730 (bug 1721651) for causing Xpcshell failures at test_bookmarks_html.js. CLOSED TREE 2021-07-29 15:50:30 +03:00
Gijs Kruitbosch
e206287fd4 Bug 1721651 - show a warning triangle favicon on certificate error pages, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D121151
2021-07-29 11:40:23 +00:00
Dave Townsend
cdd80a4dcc Bug 1722680 - Store and retrieve pagedata for snapshots. r=mossop
Depends on D120498

Differential Revision: https://phabricator.services.mozilla.com/D120848
2021-07-29 08:09:29 +00:00
Karl Tomlinson
3bc1708380 Bug 1720643 perform getUserMedia Permissions Policy checks even when "media.navigator.permission.disabled" is set r=jib
"media.getusermedia.microphone.deny" and "media.getusermedia.camera.deny" now
override "media.navigator.permission.disabled".

User permission checks are removed because they are repeated in the app.

Differential Revision: https://phabricator.services.mozilla.com/D120065
2021-07-29 04:49:57 +00:00
Dorel Luca
0ec812b2f0 Backed out 5 changesets (bug 1650089) for Browser-chrome failures in browser/components/originattributes/test/browser/browser_firstPartyIsolation_aboutPages.js. CLOSED TREE
Backed out changeset 26ddad079ad3 (bug 1650089)
Backed out changeset 5ae2b2641484 (bug 1650089)
Backed out changeset c5d267a1907c (bug 1650089)
Backed out changeset d9eeca699dec (bug 1650089)
Backed out changeset 8bb303f6831a (bug 1650089)
2021-07-29 05:53:31 +03:00
Nika Layzell
07b7d4f483 Bug 1650089 - Part 5: Skip the unnecessary about:blank load when loading view-source for a document, r=Gijs
This load was causing a process switch after the changes in this patch.
This caused the view-source load to also process-switch back when loaded
and confused some view-source machinery. The load isn't necessary, and
if skipped the process switch due to navigation will not occur.

Differential Revision: https://phabricator.services.mozilla.com/D120736
2021-07-29 01:40:21 +00:00
Nika Layzell
954fea8c6d Bug 1650089 - Part 4: Update various tests with new expectations, r=annyG,kmag
The changes in the previous part had a few behaviour changes which are visible
in tests, including cross-origin iframes with sandboxed origins now loading
remotely, and process selection for chrome-triggered null principal loads
behaving differently. In general this caused more process switches.

Differential Revision: https://phabricator.services.mozilla.com/D120674
2021-07-29 01:40:20 +00:00
Nika Layzell
9e235a6989 Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-07-29 01:40:19 +00:00
Molly Howell
1ca50b1e69 Bug 1698030 - Remove a redundant warning icon. r=preferences-reviewers,Gijs
The only difference between the icon that was removed and the one kept is that
the removed one has a default fill color in the SVG. This meant everywhere the
icon was replaced, we have to make sure that a fill color is defined in CSS.
In a few cases, that necessitated adding a new class. In a few others, colors
were already being defined for the icon, so there was no need to add any here.

Differential Revision: https://phabricator.services.mozilla.com/D121030
2021-07-28 23:55:51 +00:00
Christoph Kerschbaumer
5ee0a6a910 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 19:16:16 +00:00
Neil Deakin
734124e0f9 Bug 1714337, remove separate high and non-high notification box references, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D121083
2021-07-28 18:24:42 +00:00
Cosmin Sabou
9f51ea5f84 Backed out 2 changesets (bug 1722275, bug 1722680) for snapshots related xpcshell and bc failures. CLOSED TREE
Backed out changeset 62ed0dc702e1 (bug 1722275)
Backed out changeset 70d2848c396a (bug 1722680)
2021-07-28 20:51:36 +03:00
Mark Banner
a103298d2a Bug 1722275 - Add a basic framework for collecting page data from loaded pages. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D120825
2021-07-28 17:14:34 +00:00
Sandor Molnar
5e383dfda4 Backed out changeset 7eb8945dd8e3 (bug 1719272) for causing bustages in gecko decision task. CLOSED TREE 2021-07-28 19:47:06 +03:00
Christoph Kerschbaumer
8fef13ba13 Bug 1719272: Annotate failing browser/ tests to potentially enable https-first mode in Nightly r=webcompat-reviewers,denschub,webdriver-reviewers,preferences-reviewers,Gijs,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119177
2021-07-28 16:08:07 +00:00
Neil Deakin
a551374625 Bug 1714079, send confirmation does not appear when sending a tab when the account button is in the overflow menu, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D120845
2021-07-28 09:13:38 +00:00
Andrew Osmond
c2bb6740bf Bug 1721945 - Move Linux mochitest-browser-chrome tests to Software WebRender. r=jmaher
autoland

--- target_task_set@27882dfe84fb
+++ target_task_set@ao_ci_linux_browser_chrome_swr
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-fis-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-fis-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-a11y-checks-e10s
+test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-qr/opt-mochitest-devtools-chrome-a11y-checks-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-fis-e10s
-test-linux1804-64/opt-mochitest-browser-chrome-a11y-checks-e10s
-test-linux1804-64/opt-mochitest-browser-chrome-e10s
-test-linux1804-64/opt-mochitest-browser-chrome-fis-e10s

mozilla-central

--- target_task_set@27882dfe84fb
+++ target_task_set@ao_ci_linux_browser_chrome_swr
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-fis-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-fis-e10s
+test-linux1804-64-ccov-qr/opt-mochitest-browser-chrome-swr-e10s
-test-linux1804-64-ccov/opt-mochitest-browser-chrome-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-a11y-checks-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-fis-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-devtools-chrome-a11y-checks-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-a11y-checks-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-fis-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-fis-e10s

mozilla-release

--- target_task_set@27882dfe84fb
+++ target_task_set@ao_ci_linux_browser_chrome_swr
+test-linux1804-64-asan-qr/opt-mochitest-browser-chrome-swr-e10s
-test-linux1804-64-asan/opt-mochitest-browser-chrome-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-browser-chrome-swr-e10s
-test-linux1804-64-shippable/opt-mochitest-browser-chrome-e10s
-test-linux1804-64/debug-mochitest-browser-chrome-e10s

Differential Revision: https://phabricator.services.mozilla.com/D120977
2021-07-27 19:22:36 +00:00
Karl Tomlinson
390519c870 Bug 1715419 use a speaker icon for selectAudioOutput() prompt anchor r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D117261
2021-07-27 06:57:04 +00:00
Gijs Kruitbosch
6b6c8c9230 Bug 1721655 - stop using yellow 'caution' borders on network error pages, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D120686
2021-07-26 20:02:43 +00:00
Dave Townsend
65dcbf0b37 Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 18:23:06 +00:00
Cosmin Sabou
393d2a3fd1 Backed out changeset e9a336383b55 (bug 1721647) for bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-07-26 20:04:46 +03:00
Dave Townsend
a9ee86fdb3 Bug 1721647: Add a stub page data service API to enable parallel development. r=mak
This adds the stub API for the page data service and some basic docs. The service can be used from
xpcshell tests and the events respond with sane data. As there are no consumers currently the
in-memory cache never clears.

Differential Revision: https://phabricator.services.mozilla.com/D120498
2021-07-26 15:30:58 +00:00
Andrei Oprea
4a4f117b68 Bug 1716736 - Add schema validation for experiment enrollments in tests r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118367
2021-07-26 14:48:22 +00:00
Gijs Kruitbosch
8cb905c538 Bug 1512851 - make share menu handling more generic and replace the file menu's email link with it on macOS, r=sfoster,fluent-reviewers,flod
Depends on D120637

Differential Revision: https://phabricator.services.mozilla.com/D120638
2021-07-26 12:22:38 +00:00
Gijs Kruitbosch
e58d8c5911 Bug 1512851 - extract share menu handling from tabbrowser.js into a utility in browser.js, r=sfoster
Depends on D120636

Differential Revision: https://phabricator.services.mozilla.com/D120637
2021-07-26 12:22:38 +00:00
Gijs Kruitbosch
c43492bf27 Bug 1512851 - tidy up file menu popup event handling, r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120636
2021-07-26 12:22:37 +00:00
Dorel Luca
d152572739 Backed out changeset e7dffca31fa7 (bug 1716736) for Browser-chrome failures in browser/components/shell/test/browser_setDefaultBrowser.js. CLOSED TREE 2021-07-26 14:08:51 +03:00
Andrei Oprea
626914c896 Bug 1716736 - Add schema validation for experiment enrollments in tests r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118367
2021-07-26 09:43:28 +00:00
Sandor Molnar
ce4534f206 Backed out changeset e5cfc59f9063 (bug 1716736) for causing bc failures in browser_setDefaultBrowser. CLOSED TREE 2021-07-26 01:17:51 +03:00
Andrei Oprea
3037ecf02e Bug 1716736 - Add schema validation for experiment enrollments in tests r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118367
2021-07-25 21:01:16 +00:00
Jonathan Kew
764c367629 Bug 1704404 - Apply an explicit line-height to tab labels, in case the title uses fallback fonts with excessive ascent/descent metrics. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D120226
2021-07-25 15:29:30 +00:00
Chris Peterson
eebf64c153 Bug 776669 - Add pinned tabs to the "List all tabs" drop-down list. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D98867
2021-07-24 17:56:52 +00:00
Kajal Sah
2b548ff121 Bug 1719492 - Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Depends on D118573

Differential Revision: https://phabricator.services.mozilla.com/D119540
2021-07-23 18:25:51 +00:00
Benjamin Beurdouche
de05c87e83 Bug 1720464 - Update performance test according to sqlite related changes in NSS 3.69. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D120697
2021-07-23 09:23:49 +00:00
Toshihito Kikuchi
37ac4d2ae7 Bug 1715858 - Part2. Add telemetry scalars to count the tab unload and reload events. r=NeilDeakin
This patch adds two scalars:

* `browser.engagement.tab_unload_count`: Incremented by 1 when TabUnloader
  successfully unloaded a tab.
* `browser.engagement.tab_reload_count`: Incremented by 1 when an unloaded
  tab was reloaded.

The value of `browser.engagement.tab_reload_count` will be the same as
the count of the histogram `TAB_UNLOAD_TO_RELOAD` data, but we still need
this scalar to compare it to `browser.engagement.tab_unload_count`, which
tells us the ratio of reload-after-unload tabs to all unloaded tabs.

Depends on D120019

Differential Revision: https://phabricator.services.mozilla.com/D120020
2021-07-22 21:15:00 +00:00
Toshihito Kikuchi
31e2140144 Bug 1715858 - Part1. Add a new telemetry histogram TAB_UNLOAD_TO_RELOAD. r=NeilDeakin
The new histogram `TAB_UNLOAD_TO_RELOAD` records how long a tab had been
unloaded until it was reload by a user.  With this data, we can evaluate
the selection logic to choose a tab to unload.  For example, if many of
unloaded tabs are reloaded within 30 seconds or so, we unload a wrong tab.

Differential Revision: https://phabricator.services.mozilla.com/D120019
2021-07-22 21:15:00 +00:00
Mike Kaply
a85fc0146a Bug 1720389 - Add IS_ESR to AppConstants and rename ESR #ifdef to MOZ_ESR. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D120371
2021-07-22 20:00:26 +00:00
Emma Malysz
2a4f828aa1 Bug 1721215, lazily load screenshots subscript r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120642
2021-07-22 17:10:42 +00:00
Jeff Muizelaar
dadaf60f80 Bug 1721681 - startup_syncIPC: Print expected count and actual count. r=florian
This makes debugging failures a little easier.

Differential Revision: https://phabricator.services.mozilla.com/D120517
2021-07-22 13:33:57 +00:00
Emilio Cobos Álvarez
8981cbcb1a Bug 1714639 - Don't call FrameLoader.printPreview in hidden frames. r=mstriemer,jwatt
We need to be displayed when cloning into a same-process frame, so that
the preview code hooks up to the view tree correctly and the frame is
correctly painted.

This works for out-of-process frames, but mostly by chance.

Fortify the printPreview() API code to gracefully handle that case, and
remove the sessionrestore special-case which is not really special.

Differential Revision: https://phabricator.services.mozilla.com/D119980
2021-07-22 10:18:26 +00:00
Butkovits Atila
a0808e43c0 Backed out changeset 7d53ab517f06 (bug 1719492) for causing bc failures at browser_all_files_referenced.js 2021-07-22 01:34:09 +03:00
Kajal Sah
6d2388027a Bug 1719492 - Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Depends on D118573

Differential Revision: https://phabricator.services.mozilla.com/D119540
2021-07-21 19:09:17 +00:00
Mathew Hodson
699b93e5fd Bug 1697069 - Fix padding for Developer about dialog. r=desktop-theme-reviewers,harry
Should match browser/branding/nightly/content/aboutDialog.css

Differential Revision: https://phabricator.services.mozilla.com/D118298
2021-07-21 15:04:19 +00:00
Neil Deakin
1e496a13ff Bug 1721047, fix tooltip not appearing on bookmarks sidebar, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D120271
2021-07-20 17:54:45 +00:00
Alexandru Michis
4f0db02f68 Backed out changeset 04cfc5a3587f (bug 1721215) for causing eslint failures in screenshots.js
CLOSED TREE
2021-07-20 19:37:27 +03:00
Emma Malysz
a29987e69d Bug 1721215, lazily load screenshots subscript r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120255
2021-07-20 15:53:32 +00:00
Sam Foster
c920c4f341 Bug 1708008 - Remove browser's extension icon, always use extensionGeneric as default extension icon. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D119931
2021-07-19 16:58:11 +00:00
Kajal Sah
831fa7de88 Bug 1718713 - Creates dummy custom element in new screenshot. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119209
2021-07-19 16:47:34 +00:00