Commit Graph

24875 Commits

Author SHA1 Message Date
Henri Sivonen
f6991d7c78 Bug 1720654 - Make fullscreen tests wait for the right page to load in newly-opened windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D119961
2021-07-16 16:40:00 +00:00
Molly Howell
39c252e415 Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

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

Depends on D114427

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-15 20:58:21 +00:00
Sandor Molnar
4373501a35 Backed out 2 changesets (bug 1717486, bug 1718713) for causng eslint failures. CLOSED TREE
Backed out changeset 57c50b132961 (bug 1718713)
Backed out changeset 00b064dbf950 (bug 1717486)
2021-07-15 22:07:54 +03:00
Kajal Sah
758f060369 Bug 1718713 - Creates dummy custom element in new screenshot. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119209
2021-07-15 18:40:43 +00:00
Csoregi Natalia
3c1b358566 Backed out changeset cec939837018 (bug 1709978) for causing failures on app update. CLOSED TREE 2021-07-14 22:21:53 +03:00
Molly Howell
9b2e4a1c87 Bug 1709978 - Disable app update when running as a packaged app. r=agashlin,preferences-reviewers
This patch disables the update service as if it were disabled by policy
whenever a package identify is present. User interfaces are treated as if
the updater had not been included in the build, because that prevents any of
our usual update UI from being shown, and in particular ensures that we do not
generate messages about an administrator handling updates, as would normally
happen when disabling updates via policy.

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

Differential Revision: https://phabricator.services.mozilla.com/D114886
2021-07-14 18:23:41 +00:00
Tarik Eshaq
e436613e2b Bug 1587228 - Removes support for old send-tab clients. r=markh
* Removes the fallback to the old sent-tab
* Deletes the api to send URIs using commands
* Modifies tests that depended on that api to now use
   other commands, namely the wipeEngine command

Differential Revision: https://phabricator.services.mozilla.com/D118086
2021-07-14 16:50:26 +00:00
Mike Conley
170d44687e Bug 1720300 - Remove browser.proton.enabled preference probe. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119822
2021-07-14 13:50:11 +00:00
Masayuki Nakano
0b3df8071a Bug 1720405 - part 1: Get rid of the pref check of dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content from the tests r=smaug
Its default value is `true` and it will never be reverted in release builds
by default.  Therefore, we can get rid of it from the tests unless testing
non-default behavior.

Differential Revision: https://phabricator.services.mozilla.com/D119849
2021-07-14 10:59:03 +00:00
Henri Sivonen
1a4efedb7f Bug 1698036 - Pause for OOP focus to stabilize in browser_fullscreen_window_focus.js. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D119395
2021-07-13 17:09:16 +00:00
Jared Wein
41b3687ccf Bug 1717587 - Disable browser_tab_drag_drop_perwindow.js on Windows 7 webrender builds. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D119671
2021-07-13 16:24:57 +00:00
Harry Twyford
c8e2519ec2 Bug 1706479 - Simplify page action style rules. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D114642
2021-07-13 15:03:19 +00:00
Marco Bonardo
487ee1abea Bug 1719700 - Add Places storage for snapshots. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119430
2021-07-13 13:45:54 +00:00
Emma Malysz
e03deca9a7 Bug 1703051, apply proton panel styling to other bookmarks dropdown and overflow menu in bookmarks toolbar r=desktop-theme-reviewers,mconley,jaws,harry
Differential Revision: https://phabricator.services.mozilla.com/D113200
2021-07-13 05:10:19 +00:00
Sam Foster
af0a4c265d Bug 1699631 - Move the reload icon into toolkit. r=harry,preferences-reviewers,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119554
2021-07-12 20:45:08 +00:00
Marian-Vasile Laza
d5c0b4d67a Backed out changeset c47653711a25 (bug 1699631) for causing node devtools failures. CLOSED TREE 2021-07-12 21:04:22 +03:00
Sam Foster
7d0c8a043f Bug 1699631 - Move the reload icon into toolkit. r=harry,preferences-reviewers,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119554
2021-07-12 17:26:16 +00:00
Csoregi Natalia
bfad1c6ed2 Backed out changeset fce7b9d54faf (bug 1703051) for failures on browser_parsable_css.js. CLOSED TREE 2021-07-12 19:56:45 +03:00
Matthew Noorenberghe
04bb39bed9 Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh
The permission manager automatically only saves permissions for the session with private browsing principals:
https://searchfox.org/mozilla-central/rev/da25888c4495585c532640f0e5efad07b1037621/extensions/permissions/PermissionManager.cpp#1586-1588

Differential Revision: https://phabricator.services.mozilla.com/D118887
2021-07-12 15:04:23 +00:00
Emma Malysz
b6874ed8c8 Bug 1703051, apply proton panel styling to other bookmarks dropdown and overflow menu in bookmarks toolbar r=desktop-theme-reviewers,mconley,jaws,harry
Differential Revision: https://phabricator.services.mozilla.com/D113200
2021-07-12 15:04:05 +00:00
Noemi Erli
3b5816e7f2 Backed out 3 changesets (bug 970675) for causing failures in browser_privatebrowsing_popupblocker.js CLOSED TREE
Backed out changeset 98f78b0795b7 (bug 970675)
Backed out changeset ec59b5b4094a (bug 970675)
Backed out changeset 5a1853ea9693 (bug 970675)
2021-07-12 17:38:14 +03:00
Matthew Noorenberghe
1afe3e6d41 Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh
The permission manager automatically only saves permissions for the session with private browsing principals:
https://searchfox.org/mozilla-central/rev/da25888c4495585c532640f0e5efad07b1037621/extensions/permissions/PermissionManager.cpp#1586-1588

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

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

Depends on D119329

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

Depends on D117567

Differential Revision: https://phabricator.services.mozilla.com/D119329
2021-07-12 13:50:02 +00:00
Mike Conley
8eb9dd9a31 Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-07-12 13:50:02 +00:00
Andrei Oprea
839de743e1 Bug 1719987 - Add browser_preferences_usage.js pref exception only for Nightly builds r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119571
2021-07-11 22:25:05 +00:00
Gijs Kruitbosch
8494befe06 Bug 1705101 - remove now-unnecessary workarounds for bug 1699844, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D119506
2021-07-09 18:46:16 +00:00
Nika Layzell
f73636fb78 Bug 1706302 - Part 2: Unskip browser_aboutCertError_offlineSupport with fission, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118619
2021-07-09 16:30:28 +00:00
Molly Howell
ac56a22e52 Bug 1719592 - Back out bug 1699419 for causing multiple tab bar background regressions. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119464
2021-07-09 14:19:47 +00:00
Andrei Oprea
09076d6ad9 Bug 1704130 - Removing FxA badge message from onboarding r=pdahiya,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111450
2021-07-09 13:51:02 +00:00
Neil Deakin
a2b0395af6 Bug 1717680, use popup.triggerNode instead of document.popupNode in browser menu commands, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118522
2021-07-09 11:51:14 +00:00
Neil Deakin
b239aadf74 Bug 1717680, use popup.triggerNode instead of document.triggerNode when determining bookmarks tooltips, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D118521
2021-07-09 11:51:14 +00:00
Neil Deakin
4a5d20edd3 Bug 1717680, modify the test browser_bug423833.js to not set popupNode and instead open a context menu for testing 'Show Only This Frame' command, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118519
2021-07-09 11:51:13 +00:00
Mark Striemer
52ee5d15ce 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
aefaad96af 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
Gijs Kruitbosch
4508e659f8 Bug 1711508 - remove PanelUI.protonAppMenuEnabled property, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D117058
2021-07-07 22:15:50 +00:00
Molly Howell
1015ad0945 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
Tim Huang
b88bf86922 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
Paul Zuehlcke
55cb0343e0 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
a033d7c0c7 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
Butkovits Atila
2b3e2e6e5f 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
088762e74e Backed out changeset 5ca5387a57ce (bug 1712750) on Dev's request. CLOSED TREE 2021-07-06 19:26:21 +03:00
Molly Howell
5abe51e990 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
Gijs Kruitbosch
d7e900afc2 Bug 1695658 - tests, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106773
2021-07-05 21:28:57 +00:00
Emilio Cobos Álvarez
89f1367b8f 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
Kajal Sah
2b57205e39 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
Emma Malysz
3003e4e7c4 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
Mark Banner
93fa00cce5 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
Mike Conley
c5a90fb1b3 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
591e5facd9 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