Commit graph

724 commits

Author SHA1 Message Date
Gabriel Luong
f12235b53c Bug 1692840 - Add "Open a New Tab" at the top of the tabstrip context menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D108365
2021-04-12 10:28:46 +00:00
Mark Striemer
909ff1f4d9 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-10 19:56:10 +00:00
Dorel Luca
26ac39c8d5 Backed out 9 changesets (bug 1702330) for Mochitest failures in toolkit/components/url-classifier/tests/mochitest/test_reporturl.html. CLOSED TREE
Backed out changeset f84605e6fc8b (bug 1702330)
Backed out changeset 79c63bf11b29 (bug 1702330)
Backed out changeset 5425a2312f6e (bug 1702330)
Backed out changeset d76516e0d07d (bug 1702330)
Backed out changeset 3b75ffae171a (bug 1702330)
Backed out changeset 4bb6ceb6adb3 (bug 1702330)
Backed out changeset 607be325b4e8 (bug 1702330)
Backed out changeset 4b345ea924cc (bug 1702330)
Backed out changeset c7f0de372b21 (bug 1702330)
2021-04-10 07:48:08 +03:00
Mark Striemer
4119d385db Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-10 00:30:39 +00:00
Dorel Luca
7c6d9844e5 Backed out 8 changesets (bug 1702330)for Browser-chrome failures in est/popups/browser_popup_blocker.js. CLOSED TREE
Backed out changeset b81511f8e157 (bug 1702330)
Backed out changeset 15f60f1d3f14 (bug 1702330)
Backed out changeset 809af1f94b4b (bug 1702330)
Backed out changeset 63cec3eadb4f (bug 1702330)
Backed out changeset b9964fb4dd70 (bug 1702330)
Backed out changeset 1e5ccb47056e (bug 1702330)
Backed out changeset 65faaeeb2339 (bug 1702330)
Backed out changeset e72fb8b52609 (bug 1702330)
2021-04-09 20:21:35 +03:00
Mark Striemer
71680c44e5 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-09 15:26:24 +00:00
Alexandru Michis
b40e464292 Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
Mark Striemer
0201d62878 Bug 1702330 - Graduate infobars to main proton pref r=jaws,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110638
2021-04-08 22:25:04 +00:00
Michael Kohler
7ad0621f83 Bug 1699153 - Disable Close Multiple Tabs option when sub menuitems are disabled r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110866
2021-04-08 17:54:14 +00:00
Jared Wein
51c3023b73 Bug 1701707 - Update the tab tooltip for audio regardless if Proton is enabled or not. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110592
2021-04-01 21:20:13 +00:00
Mark Striemer
355b6522d8 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-29 02:38:56 +00:00
Butkovits Atila
e3f13578b0 Backed out changeset 1890d2ac5a43 (bug 1690333) for causing failures on test_bug509732.xhtml. CLOSED TREE 2021-03-29 02:56:02 +03:00
Mark Striemer
bc875387b4 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 19:04:34 +00:00
Butkovits Atila
71d46d5a75 Backed out 2 changesets (bug 1690333, bug 1699250) for causing failures on test_bug509732.xhtml. CLOSED TREE
Backed out changeset dcba2814dbc4 (bug 1690333)
Backed out changeset ae3a0e6dde00 (bug 1699250)
2021-03-28 21:16:58 +03:00
Mark Striemer
5711775e12 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 17:02:21 +00:00
Cosmin Sabou
4618d0a607 Backed out 2 changesets (bug 1690333, bug 1699250) for mochitest failures on test_notificationbox.xhtml.
Backed out changeset d6780d34ca05 (bug 1690333)
Backed out changeset 50cc5db86f1e (bug 1699250)
2021-03-27 23:58:04 +02:00
Mark Striemer
ce67801c64 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-27 21:02:51 +00:00
Jared Wein
bf9bf52bb8 Bug 1701003 - Move proton tabs to the proton general pref. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D109764
2021-03-26 22:55:21 +00:00
Rob Wu
772719835c Bug 1698192 - Use correct currentURI during swapping of lazy browsers r=dao
Re-order calls in SessionStore.jsm to invoke the side-effect-free logic
before triggering observable events.

Clear (likely) stale value of the cached currentURI when lazy browsers
are swapped.

And while I was at it, I also fixed a bug that caused a lazy browser to
eagerly be unlazified because the unneeded mute() call on a lazy browser
unlazifies it (discovered when I added complete test coverage for this
change).

Differential Revision: https://phabricator.services.mozilla.com/D108260
2021-03-26 19:51:15 +00:00
Rob Wu
f4e9de17e6 Bug 1695346 - Skip tabs amidst restoration in tabs.onUpdated r=Gijs,rpl
`swapBrowsersAndCloseOther` calls `SessionStore.setTabState`, but the
latter may trigger several tab events before the tab has fully been
restored. This results in duplicate tabs.onUpdated events and in
unexpected access to properties of the tab/browser (which in turn
triggers the reported bug).

Fix this specific case by ignoring events that happen while the tab is
amidst a restoration.

Differential Revision: https://phabricator.services.mozilla.com/D108259
2021-03-26 19:51:14 +00:00
Jens Stutte
48b1ebeb71 Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers
The SpinEventLoopUntilOrShutdown is interrupted in the main process only at stage "xpcom-shutdown", which is too late. In a content process instead we interrupt it early enough, at "content-child-will-shutdown".

This patch removes the current observer logic in nsThreadManager in favor of a current shutdown phase state machinery in AppShutdown and renames SpinEventLoopUntilOrShutdown to SpinEventLoopUntilOrQuit. It also ensures that SpinEventLoopUntilOrQuit breaks early (at "quit-application" in the main process).

For a further possible cleanup around shutdown state in child and parent process please refer to bug 1697745.

We have no automated test for this edge case, but we have diagnostic telemetry that will tell us if it helps.

Differential Revision: https://phabricator.services.mozilla.com/D107619
2021-03-17 08:07:48 +00:00
Tim Nguyen
46fa6456fb Bug 1693066 - Implement new proton tab audio indicator design. r=jaws,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D107733
2021-03-13 14:17:36 +00:00
heftydav
cfda812b52 Bug 1669205 - Ensure PictureinPicture attribute is preserved when parent tab is changed r=mhowell,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D105831
2021-03-12 21:27:24 +00:00
Jared Wein
5f3ba32ae9 Bug 1688301 - Use a special attribute to insert the space between the pinned tabs and unpinned tabs to account for possible hidden tabs. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105381
2021-03-12 18:19:42 +00:00
Paul Zuehlcke
5d2d56e536 Bug 1693621 - Only clear temporary block permissions on user reload. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106496
2021-03-12 10:06:15 +00:00
Gijs Kruitbosch
833b41296c Bug 1697783 - don't create a share menu on older Windows versions, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D107997
2021-03-11 20:11:44 +00:00
Erica Wright
314b24db0d Bug 1682676 - Position infobars inside of the chrome. r=mstriemer
Depends on D106012

Differential Revision: https://phabricator.services.mozilla.com/D104741
2021-03-10 19:22:56 +00:00
Matjaz Horvat
4a3f6d7778 Bug 1693048 - Update close tabs warning dialog. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107535
2021-03-08 23:05:23 +00:00
Rob Wu
f7a790dd78 Bug 1498432 - Correctly delete _cachedCurrentURI r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106734
2021-03-07 16:16:36 +00:00
Alexandru Michis
7b98a02461 Backed out 2 changesets (bug 1498432, bug 1680279) for causing bc failures in browser_ext_tabs_discard_reversed.js
CLOSED TREE

Backed out changeset 9ce142e600af (bug 1498432)
Backed out changeset 4c8c60ac262a (bug 1680279)
2021-03-05 02:50:58 +02:00
Tim Nguyen
41fc8d5a7f Bug 1695351 - Wrap rich tab tooltip titles instead of cropping them. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107281
2021-03-04 23:16:53 +00:00
Jonathan Kew
a6f10447df Bug 1695568 - Strip https:// from the URL in proton tab tooltips; add a broken-lock icon to http:// URLs. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107250
2021-03-04 21:23:31 +00:00
Rob Wu
2112c7380a Bug 1498432 - Correctly delete _cachedCurrentURI r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106734
2021-03-04 20:50:35 +00:00
Jared Wein
c6f4ebbf27 Bug 1696322 - Move the formatted tab and bookmarks tooltip behind its own Proton pref. r=bwinton
Differential Revision: https://phabricator.services.mozilla.com/D107171
2021-03-04 18:03:58 +00:00
Florian Quèze
7ddd7f1e23 Bug 1379174 - when closing multiple tabs, handle PermitUnload in parallel, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D106826
2021-03-04 14:04:57 +00:00
Jared Wein
51c498a4b9 Bug 1695711 - Only add the position and anchortoclosest attributes to the tabs and bookmarks toolbar tooltips if Proton is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106818
2021-03-01 20:49:02 +00:00
Masayuki Nakano
e2b7c9c6b0 Bug 1520263 - Make tabbrowser wait reply event for F7 key before toggling caret browsing mode r=smaug
Unfortunately, it seems that `F7` key handling in `tabbrowser.js` cannot
replaced with using XUL `<key>` element because it works with
`ShortcutUtils.getSystemActionForEvent` for mapping `F7` is a toggle key of
caret browsing mode.

Therefore, this patch exposes some raw information of `WidgetEvent` related
to cross process event propagation and makes `tabbrowser.js` check it and
request reply event if it's required.

So, when a remote content has focus, `tabbrowser.js` will do nothing for both
`keydown` and `keypress` of `F7` key with original events, then, will request
a reply event if its default is not prevented.  Finally, reply `F7` keypress
event will toggle caret browsing mode if the event is fired and not consumed.

Differential Revision: https://phabricator.services.mozilla.com/D106591
2021-02-27 03:02:23 +00:00
Patrick Storz
6d5ab486a9 Bug 1009728 - Implement "Close Tabs to the Left" r=jaws
With "Close Tabs to the Right" having moved into a submenu in r533105,
it's only logical to offer this functionality as well for having feature parity.

Differential Revision: https://phabricator.services.mozilla.com/D104317
2021-02-25 21:57:54 +00:00
Jared Wein
5810ee434c Bug 1665390 - Style bookmarks toolbar and tabs toolbar tooltips. r=NeilDeakin,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104257
2021-02-25 20:47:54 +00:00
Micah Tigley
ff65d58651 Bug 1690569 - Add Share item to the tab context menu on Windows and macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104558
2021-02-25 02:51:03 +00:00
Tom Tung
84decfcb34 Bug 1665942 - Remove the code for updating remoteness logic in addMultipleTabs since we have already handled fixing remoteness when restoring tabs; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D105942
2021-02-23 08:28:57 +00:00
Tom Tung
0a551fd6c7 Bug 1683713 - Ensure the restoring tab is not reused in addMultipleTabs; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D100249
2021-02-23 08:28:56 +00:00
Rob Wu
fa006df8b4 Bug 1693664 - Correctly run prefix logic in getWindowTitleForBrowser r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105690
2021-02-23 08:23:44 +00:00
Mihai Alexandru Michis
6a61685aef Backed out changeset 29bb42ae7d0b (bug 1009728) for causing bc failures in browser_multiselect_tabs_close_tabs_to_the_left.js
CLOSED TREE
2021-02-18 01:36:25 +02:00
Patrick Storz
1197ac26ba Bug 1009728 - Implement "Close Tabs to the Left" r=jaws
With "Close Tabs to the Right" having moved into a submenu in r533105,
it's only logical to offer this functionality as well for having feature parity.

Differential Revision: https://phabricator.services.mozilla.com/D104317
2021-02-17 21:27:38 +00:00
Csoregi Natalia
3e2dc7ffec Backed out 2 changesets (bug 1665942, bug 1683713) for failures on browser_cookies_legacy.js. CLOSED TREE
Backed out changeset d2f4a6c7e9ca (bug 1665942)
Backed out changeset b04fe74185a0 (bug 1683713)
2021-02-17 13:28:09 +02:00
Tom Tung
77da8b6452 Bug 1683713 - Ensure the restoring tab is not reused in addMultipleTabs; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D100249
2021-02-17 07:45:12 +00:00
james
16060f0cc4 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00
Narcis Beleuzu
ed6880e281 Backed out changeset b3fcb4fcea64 (bug 1691274) for bc failures on browser_pointerlock_warning.js . CLOSED TREE 2021-02-13 21:46:51 +02:00
james
8069ab6165 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 18:11:18 +00:00
Gijs Kruitbosch
d63ecb6114 Bug 1685313 - disable menus, commands and tabswitches while window-modal dialogs are up, r=jaws
This removes observation of the 'disabled' attribute from the macOS
full screen menu items, because removing the attribute doesn't work
correctly. This is a scenario that, as far as I can tell, didn't
happen elsewhere until now. On other OSes we use a single item which
gets disabled state directly from the command attribute (ie without
an 'observes' child) which appears to work fine.

It also exempts the editing commands from being disabled, but it
appears that at least on macOS, undo history is lost anyway. It's
not clear to me why this is the case, but I don't think it needs
to block an initial landing of this work.

Differential Revision: https://phabricator.services.mozilla.com/D103389
2021-02-12 22:41:54 +00:00
Andreea Pavel
c9c6e3158d Backed out 3 changesets (bug 1685313) for failing test_prompt.html on a CLOSED TREE
Backed out changeset 7bdcbdc2d57f (bug 1685313)
Backed out changeset 319bc4d7bc0d (bug 1685313)
Backed out changeset 713de42fe3b4 (bug 1685313)
2021-02-12 06:50:58 +02:00
Gijs Kruitbosch
7512d98047 Bug 1685313 - disable menus, commands and tabswitches while window-modal dialogs are up, r=jaws
This removes observation of the 'disabled' attribute from the macOS
full screen menu items, because removing the attribute doesn't work
correctly. This is a scenario that, as far as I can tell, didn't
happen elsewhere until now. On other OSes we use a single item which
gets disabled state directly from the command attribute (ie without
an 'observes' child) which appears to work fine.

It also exempts the editing commands from being disabled, but it
appears that at least on macOS, undo history is lost anyway. It's
not clear to me why this is the case, but I don't think it needs
to block an initial landing of this work.

Differential Revision: https://phabricator.services.mozilla.com/D103389
2021-02-11 23:57:57 +00:00
Paul Zuehlcke
66fe5653ff 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-02-05 13:40:35 +00:00
Micah Tigley
d245fddb87 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-31 03:05:00 +00:00
Narcis Beleuzu
868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
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
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
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
Paul Zuehlcke
854a5e0895 Bug 1686989 - Fixed SubDialogManager focus issues and added support for custom focus handlers. r=Gijs
- Content embedded by SubDialog can define its own focus handler which will be called on SubDialog#focus
- Updated CommonDialog to register custom focus handler
- Moved focus calls from SubDialog to SubDialogManager
- Return early after tab dialog focus on tab switch

Differential Revision: https://phabricator.services.mozilla.com/D102298
2021-01-27 11:33:57 +00:00
Mark Banner
c4afa9e9ad Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
smolnar
edb1ce7144 Backed out 2 changesets (bug 1686989, bug 1684469) for causing mochitest failures in browser_basicAuth_multiTab. CLOSED TREE
Backed out changeset b2aa38ecfb55 (bug 1684469)
Backed out changeset d96ac6e7874e (bug 1686989)
2021-01-26 15:36:54 +02:00
Paul Zuehlcke
927b0e98ca Bug 1686989 - Fixed SubDialogManager focus issues and added support for custom focus handlers. r=Gijs
- Content embedded by SubDialog can define its own focus handler which will be called on SubDialog#focus
- Updated CommonDialog to register custom focus handler
- Moved focus calls from SubDialog to SubDialogManager
- Return early after tab dialog focus on tab switch

Differential Revision: https://phabricator.services.mozilla.com/D102298
2021-01-26 10:33:51 +00:00
Brindusan Cristian
70ab748bed Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner
c793c1efb7 Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
Csoregi Natalia
086251db75 Backed out 2 changesets (bug 1686989, bug 1684469) for auth and dialog box failures. CLOSED TREE
Backed out changeset 111af4c2bf6b (bug 1684469)
Backed out changeset 81794f8a220b (bug 1686989)
2021-01-25 21:47:43 +02:00
Paul Zuehlcke
bfa0aa96ef Bug 1686989 - Fixed SubDialogManager focus issues and added support for custom focus handlers. r=Gijs
- Content embedded by SubDialog can define its own focus handler which will be called on SubDialog#focus
- Updated CommonDialog to register custom focus handler
- Moved focus calls from SubDialog to SubDialogManager
- Return early after tab dialog focus on tab switch

Differential Revision: https://phabricator.services.mozilla.com/D102298
2021-01-25 17:36:18 +00:00
Emilio Cobos Álvarez
505c441303 Bug 1572798 - Make content browsing contexts for tabs start as inactive. r=nika
Otherwise autoplay blocking until-in-foreground breaks with the other
patch in this bug, because it unblocks media playback once a browsing
context is active for the first time.

Differential Revision: https://phabricator.services.mozilla.com/D42329
2021-01-21 20:20:57 +00:00
Cosmin Sabou
c2cbf590a6 Backed out changeset 975f6057245a (bug 1572798) for turning bug 1511706 to perma. CLOSED TREE 2021-01-21 21:35:33 +02:00
Emilio Cobos Álvarez
a713e37be6 Bug 1572798 - Make content browsing contexts for tabs start as inactive. r=nika
Otherwise autoplay blocking until-in-foreground breaks with the other
patch in this bug, because it unblocks media playback once a browsing
context is active for the first time.

Differential Revision: https://phabricator.services.mozilla.com/D42329
2021-01-21 17:40:12 +00:00
Neil Deakin
7c97e0940d Bug 1644911, add notification bar when a subframe crashes that allows submitting a crash report, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D97346
2021-01-21 08:44:51 +00:00
Emilio Cobos Álvarez
f89f2ba6d0 Bug 1687717 - Show activeness in tab tooltip on nightly. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D102432
2021-01-21 05:42:21 +00:00
Emilio Cobos Álvarez
cd99d52bde Bug 1673683 - Copy activeness status in CanonicalBrowsingContext::ReplacedBy, instead of handling it on consumers. r=nika,agi
Differential Revision: https://phabricator.services.mozilla.com/D102220
2021-01-20 15:09:09 +00:00
smolnar
1182b67f0f Backed out changeset 8e3490247126 (bug 1673683) for causing bc failures in browser_aboutNewTab_bookmarksToolbar.js CLOSED TREE 2021-01-20 15:17:08 +02:00
Oriol Brufau
97892639fb Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-20 11:56:54 +00:00
Emilio Cobos Álvarez
a3f5fa882e Bug 1673683 - Copy activeness status in CanonicalBrowsingContext::ReplacedBy, instead of handling it on consumers. r=nika,agi
Differential Revision: https://phabricator.services.mozilla.com/D102220
2021-01-20 12:16:20 +00:00
smolnar
a905f86ac5 Merge autoland to mozilla-central. a=merge 2021-01-20 11:49:57 +02:00
smolnar
b3bcdd2462 Backed out changeset ae3db166c985 (bug 1673683) for causing empty pinned tabs with fission (bug 1687616). a=backout DONTBUILD 2021-01-20 11:46:11 +02:00
Emilio Cobos Álvarez
199530f89a Bug 1673683 - Copy activeness status in CanonicalBrowsingContext::ReplacedBy, instead of handling it on consumers. r=nika,agi
Differential Revision: https://phabricator.services.mozilla.com/D102220
2021-01-19 17:21:24 +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
Dorel Luca
f3c332c453 Backed out 2 changesets (bug 1572798) for multiple failures. CLOSED TREE
Backed out changeset cfdebb863454 (bug 1572798)
Backed out changeset f2d3a6800638 (bug 1572798)
2021-01-20 00:15:48 +02:00
Emilio Cobos Álvarez
333b73de84 Bug 1572798 - Make content browsing contexts for tabs start as inactive. r=nika
Otherwise autoplay blocking until-in-foreground breaks with the other
patch in this bug, because it unblocks media playback once a browsing
context is active for the first time.

Differential Revision: https://phabricator.services.mozilla.com/D42329
2021-01-19 19:14:33 +00:00
Gijs Kruitbosch
16fba39cc6 Bug 1686907 - fix the window title being affected by JS's 'replace' API treating dollar signs as 'special', r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D101930
2021-01-15 14:34:49 +00:00
Narcis Beleuzu
f108cdcd91 Backed out changeset 81be428b9df0 (bug 1580003) for bc failures on browser_multiselect_tabs_close_other_tabs.js. CLOSED TREE 2021-01-14 21:19:04 +02:00
Oriol Brufau
04f94d6d52 Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Oriol Brufau
8e5c5588b8 Bug 1551239 - Keep tab icon when reloading Customize Mode tab. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100784
2021-01-05 18:25:59 +00:00
Oriol Brufau
41d24f62b7 Bug 1621984 - Fix title for lazy tab in customize mode r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100620
2021-01-04 15:31:24 +00:00
Paul Zuehlcke
3e2b46506a Bug 1680793 - Do not overwrite the webRTC sharing state when updating other sharing states. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D98798
2020-12-14 17:07:57 +00:00
pbz
a1698fe983 Bug 1642747 - Don't blur closing active tab early if screensharing. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D96726
2020-12-10 11:45:42 +00:00
Mike Hommey
8af9b4dc08 Bug 1680685 - Allow to turn on pid in tabs via a pref. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98715
2020-12-04 20:57:02 +00:00
Anny Gakhokidze
7804c5bdd9 Bug 1661833 - Fix duplicate OnStateChange events during process switches, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96228
2020-11-19 23:21:04 +00:00
Liz Krane
e65db138f1 Bug 1650956 - browser.tabs.remove() now calls removeTabs(). r=robwu,Gijs
Removing multiple tabs via extensions now calls `gBrowser.removeTabs()`
once for each window that has tabs being removed. Also adds automated
browser tests for removing one tab or multiple tabs.

Differential Revision: https://phabricator.services.mozilla.com/D93438
2020-11-19 19:01:40 +00:00
Razvan Maries
aa6c94921b Backed out changeset b952d7de3e3e (bug 1650956) for perma failures on browser_ext_tabs_successors.js. CLOSED TREE 2020-10-30 01:29:15 +02:00
Liz Krane
ab5ae8ff2a Bug 1650956 - browser.tabs.remove() now calls removeTabs(). r=robwu
Removing multiple tabs via extensions now calls `gBrowser.removeTabs()`
once for each window that has tabs being removed. Also adds automated
browser tests for removing one tab or multiple tabs.

Differential Revision: https://phabricator.services.mozilla.com/D93438
2020-10-29 20:36:34 +00:00
Mike Conley
632be8b06a Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Depends on D93590

Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-20 20:17:50 +00:00
Agi Sferro
cc915ca469 Bug 1646810 - Expose browser-custom-element::afterChangeRemoteness. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D93864
2020-10-19 17:25:25 +00:00
Narcis Beleuzu
1e5c5c405a Backed out 7 changesets (bug 1661304) for xpcshell failures on test_UserInteraction_annotations.js. CLOSED TREE
Backed out changeset 10459893968e (bug 1661304)
Backed out changeset 234f7dd34c95 (bug 1661304)
Backed out changeset e1954838e36f (bug 1661304)
Backed out changeset 6f0f76bb873d (bug 1661304)
Backed out changeset 5186bba48ce7 (bug 1661304)
Backed out changeset 442ce3a64bab (bug 1661304)
Backed out changeset 88b46f9a789e (bug 1661304)
2020-10-19 21:39:07 +03:00
Mike Conley
5bdc893fa8 Bug 1661304 - Add an initial UserInteraction for tab opening. r=Gijs,data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88896
2020-10-19 17:43:09 +00:00