Commit graph

5162 commits

Author SHA1 Message Date
Paul Zuehlcke
6445d181dc Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-29 16:06:08 +00:00
Kris Maglione
e6237071e6 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Kris Maglione
f440a0cc36 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 20:58:26 +00:00
Mihai Alexandru Michis
040e2ea5d0 Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
CLOSED TREE

Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Brindusan Cristian
e117dc4695 Backed out 2 changesets (bug 1596897) for mochitest failures at browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 00c45a405129 (bug 1596897)
Backed out changeset 61304ccbaada (bug 1596897)
2021-01-28 21:53:46 +02:00
Kris Maglione
69c936d646 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Kris Maglione
59963809cd Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 18:48:25 +00:00
Mihai Alexandru Michis
3d03115e06 Backed out changeset 4c98dbd2dbac (bug 1686316) for causing bc failures in browser_openPromptInBackgroundTab.js
CLOSED TREE
2021-01-28 20:28:29 +02:00
Paul Zuehlcke
868eb8a1f8 Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-28 18:00:44 +00:00
Micah Tigley
2b8127587b Bug 1686316 - Show the allowFocusCheckbox for dialogs opened from TabDialogBox. r=Gijs
This revision introduces helpers for determining whether or not dialogs opened with TabDialogBox show the checkbox for allowing focus (tab switching). The approach for showing the checkbox follows the pattern similar to how its handled for TabModalPromptBox:

First, when a prompt is opened, the "DOMWillOpenModalDialog" event is fired from `PromptParent.jsm` on the browser tab. The browser then determines if the tab the event is dispatched on is the current selected tab. If the dialog was opened from another tab, then we check if the content prompt principal permission "focus-tab-by-prompt" is allowed for the URI the dialog was opened for and store its prompt principal on the tab prompt's `_onNextPromptShowAllowFocusCheckboxFor` property.  This presence for this value is ultimately what determines whether or not the checkbox is shown. Everything after that, the prompt's UI component is responsible for handling the checkbox's state and setting a handler for setting the permission when it's checked.

Implementing this for TabDialogBox makes it so we also store the prompt principal on the dialog box. We then process this value and send some information (such as explicitly setting a `checkLabel` value) via the `args` object for common dialog to process. And finally, we set the "focus-tab-by-prompt" permission for that URI via a closing callback for the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D102076
2021-01-28 17:41:00 +00:00
Butkovits Atila
7decdccbdc Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
5b2b2517a2 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
Kris Maglione
36a64d4784 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 03:32:30 +00:00
Emma Malysz
0ee3d1c888 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-28 00:29:29 +00:00
Butkovits Atila
df8358b5bb Backed out changeset 9226bc3ca03c (bug 1688700) for causing failures on browser_preferences_usage.js. 2021-01-28 01:09:22 +02:00
Emma Malysz
365360e929 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-27 21:18:20 +00:00
Butkovits Atila
0bd4fa26f2 Backed out changeset cc398c4ac5c8 (bug 1688700) for causing mochitest failures. CLOSED TREE 2021-01-27 22:59:12 +02:00
Emma Malysz
6d589aa680 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-27 19:58:22 +00:00
Gijs Kruitbosch
45ca6b7c5f Bug 1681138 - avoid delaying loading the bookmarks toolbar in new windows post-startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101689
2021-01-22 12:42:25 +00:00
Mark Banner
9a1e222770 Bug 1664847 - Change BrowserSearchTelemetry.recordSearch to take a browser rather than tabbrowser as that is more accurate. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D102440
2021-01-21 23:08:09 +00:00
Mark Banner
9ef7551b55 Bug 1513680 - Remove remaining references to ContentSearch.jsm. r=daleharvey
Depends on D102226

Differential Revision: https://phabricator.services.mozilla.com/D102227
2021-01-22 08:31:03 +00:00
Bogdan Tara
cd76ee9261 Backed out 2 changesets (bug 1680216, bug 1681138) for browser_984455_bookmarks_items_reparenting.js failures
Backed out changeset 09beb66ab605 (bug 1680216)
Backed out changeset 5e8e8cc89f61 (bug 1681138)
2021-01-22 04:55:12 +02:00
Gijs Kruitbosch
088b5c2ed6 Bug 1681138 - avoid delaying loading the bookmarks toolbar in new windows post-startup, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D101689
2021-01-22 01:13:39 +00:00
Jared Wein
eba891ef0a Bug 1681421 - Implement separated Proton tab design behind browser.proton.enabled pref. r=dao,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99823
2021-01-21 15:32:46 +00:00
Csoregi Natalia
6df60ec3bc Backed out 2 changesets (bug 1681421) for failures on browser_devtools-record-capture.js. CLOSED TREE
Backed out changeset b4556b1e292c (bug 1681421)
Backed out changeset b649f963a6b1 (bug 1681421)
2021-01-20 22:36:09 +02:00
Jared Wein
0eb16a5a43 Bug 1681421 - Implement separated Proton tab design behind browser.proton.enabled pref. r=dao,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99823
2021-01-20 17:11:36 +00:00
Anny Gakhokidze
3ae9a2f63d Bug 1630908 - Part 1: Pass OriginAttributes to be included with remote type, r=nika,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101073
2021-01-19 22:23:29 +00:00
Dave Townsend
2459f40c64 Bug 1682593: Remove the site specific browser feature. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101860
2021-01-15 11:11:19 +00:00
Micah Tigley
4210332570 Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-14 06:55:55 +00:00
Micah Tigley
dcd626eb78 Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-14 06:55:55 +00:00
Butkovits Atila
7742c03714 Backed out 4 changesets (bug 1680637, bug 1682395) for causing Marionette failures. CLOSED TREE
Backed out changeset 073e0be7db95 (bug 1680637)
Backed out changeset 552b91b31b0f (bug 1682395)
Backed out changeset c80de6c72779 (bug 1680637)
Backed out changeset d513e228b0ad (bug 1680637)
2021-01-13 02:13:06 +02:00
Micah Tigley
c0ec6961ed Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-11 20:55:19 +00:00
Micah Tigley
ebb0c0923f Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-11 20:55:09 +00:00
Bogdan Tara
6101a13054 Backed out 3 changesets (bug 1680637, bug 1682395) for browser/base/content/* failures CLOSED TREE
Backed out changeset 270e2e3183de (bug 1682395)
Backed out changeset e3566f596187 (bug 1680637)
Backed out changeset 66563136c84e (bug 1680637)
2021-01-11 21:36:20 +02:00
Micah Tigley
a3faaf4c5d Bug 1680637 - Rename TabDialogBox's manager to tabDialogManager r=marionette-reviewers,Gijs
To clarify the two separate SubDialog managers managed by TabDialogManager, this patch renames `_.dialogManager` to `._tabDialogManager`.

Depends on D100066

Differential Revision: https://phabricator.services.mozilla.com/D100955
2021-01-11 05:13:00 +00:00
Micah Tigley
5d13763b51 Bug 1680637 - Add a dialog manager for content prompts in TabDialogBox r=jaws,Gijs
The TabDialogBox will manage two separate SubDialog managers at the tab and content level. Dialogs managed at the tab level will always be on top of content ones and should always receive focus first when tab switching or refocusing the window.

Differential Revision: https://phabricator.services.mozilla.com/D100066
2021-01-11 17:52:53 +00:00
Emma Malysz
c04c6333bc Bug 1685184, print selected frame when selecting Print Frame from context menu r=marionette-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D100842
2021-01-07 19:34:56 +00:00
Mark Banner
3f5df73069 Bug 1681382 - Drop BrowserSearch.record*SearchInTelemetry and call BrowserSearchTelemetry direct. r=daleharvey
Depends on D99206

Differential Revision: https://phabricator.services.mozilla.com/D99207
2020-12-10 23:40:58 +00:00
Mark Banner
5cf95b6b27 Bug 1680735 - Move search specific telemetry out of BrowserUsageTelemetry.jsm into a new module. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98753
2020-12-08 20:42:03 +00:00
Michael Kaply
6197f4c30c Bug 1680095 - Block Save Link As if site is blocked by policy. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98527
2020-12-07 16:37:12 +00:00
Tim Huang
9fadef5261 Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
Micah Tigley
dade423e1a Bug 1678659 - Remove 'Show Other Bookmarks' context menu item from the primary toolbar. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D97840
2020-12-01 21:27:50 +00:00
Gijs Kruitbosch
5e6f13744e Bug 1680069 - proton root attribute and pref work, r=jaws,mconley
Differential Revision: https://phabricator.services.mozilla.com/D98375
2020-12-01 20:11:54 +00:00
Emilio Cobos Álvarez
a302d5875a Bug 1679160 - Simplify a bit PageStyleChild. r=mconley
We don't use the href, so don't send it to the parent.

Remove getBrowserStyleSheets (also unused).

Differential Revision: https://phabricator.services.mozilla.com/D97921
2020-11-30 21:37:15 +00:00
Gijs Kruitbosch
e811fa3d34 Bug 1667237 - bookmarks toolbar flickers on startup / new windows in some cases, r=florian,jaws
Differential Revision: https://phabricator.services.mozilla.com/D97712
2020-11-20 13:22:38 +00:00
Micah Tigley
69903c7039 Bug 1674539 - Add option to hide Other Bookmarks button from bookmarks toolbar. r=jaws,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97211
2020-11-19 21:49:26 +00:00
Narcis Beleuzu
7d6ce0d218 Backed out 2 changesets (bug 1674539) for bc failures on browser_toolbar_other_bookmarks.js . CLOSED TREE
Backed out changeset 63032f8390ea (bug 1674539)
Backed out changeset 36ab7b9324d9 (bug 1674539)
2020-11-19 23:46:02 +02:00
Micah Tigley
6a8271fa76 Bug 1674539 - Add option to hide Other Bookmarks button from bookmarks toolbar. r=jaws,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97211
2020-11-19 20:40:04 +00:00
Jared Wein
e95fc55e72 Bug 1665391 - Add telemetry to measure effectiveness of 2h2020 bookmarks changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D97251
2020-11-19 16:01:25 +00:00
Nika Layzell
6b824cc31d Bug 1671983 - Part 2: Remove SessionStore.navigateAndRestore, r=annyG,kashav
This formed the backbone of the previous process switching codepath, and
shouldn't be necessary anymore thanks to DocumentChannel's new codepath.

This also removes the eager process switching logic from frontend's _loadURI, as
it would rarely be taken, unless an invalid URI was entered, already.

Differential Revision: https://phabricator.services.mozilla.com/D94639
2020-11-12 18:00:55 +00:00