Commit graph

487 commits

Author SHA1 Message Date
Cosmin Sabou
3a544c8273 Backed out 2 changesets (bug 1625513) for causing several reftest failures. CLOSED TREE
Backed out changeset 64dfd2e32a7b (bug 1625513)
Backed out changeset a78ae89b25b6 (bug 1625513)

--HG--
extra : amend_source : b2383d74665a38a1fcf6cf0c3b62f6700002055c
extra : histedit_source : c9251ae9cdf46168c15328aa83655e2f93c95b85
2020-04-06 20:11:51 +03:00
Cosmin Sabou
aefb5f9c88 Backed out 24 changesets (bug 1616353) for fission assertion failures nsGlobalWindowOuter.cpp.
Backed out changeset 3a43210e4900 (bug 1616353)
Backed out changeset cb77e9149cf8 (bug 1616353)
Backed out changeset 3aacc7cfe33f (bug 1616353)
Backed out changeset c026b06063a5 (bug 1616353)
Backed out changeset 580e790c5d17 (bug 1616353)
Backed out changeset 6f09bc1c476d (bug 1616353)
Backed out changeset 6955906262c0 (bug 1616353)
Backed out changeset a7700472807a (bug 1616353)
Backed out changeset a4735096e01b (bug 1616353)
Backed out changeset bd1706c57d91 (bug 1616353)
Backed out changeset 363c13296fda (bug 1616353)
Backed out changeset e414df387524 (bug 1616353)
Backed out changeset 765d3364cca0 (bug 1616353)
Backed out changeset 8a13355b4ac4 (bug 1616353)
Backed out changeset ada17fb8fca7 (bug 1616353)
Backed out changeset 6b6b99af186d (bug 1616353)
Backed out changeset ea966e78b296 (bug 1616353)
Backed out changeset cb88e0bbb3b9 (bug 1616353)
Backed out changeset f89a89015114 (bug 1616353)
Backed out changeset ae6058552969 (bug 1616353)
Backed out changeset f42bb5b48c1b (bug 1616353)
Backed out changeset 1ab9d22c73bb (bug 1616353)
Backed out changeset 2692c2c1396b (bug 1616353)
Backed out changeset 11a279c8da08 (bug 1616353)
2020-04-06 20:03:02 +03:00
Nika Layzell
312045489f Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh
When I first added this method last year, I added it in JS, handled from within
SessionStore.jsm, as that was the easiest place to do it. Now that
DocumentLoadListener exists, it makes more sense to handle this logic directly
from within that code.

Many parts of the process switch are still handled by frontend JS, such as
selecting remote types, and performing toplevel process switches.

Differential Revision: https://phabricator.services.mozilla.com/D68594

--HG--
extra : moz-landing-system : lando
2020-04-06 15:17:40 +00:00
Nika Layzell
7be2efaa78 Bug 1616353 - Part 7.4: Pass nsOpenWindowInfo through tabbrowser, r=Gijs
The interface changes which browser.js and tabbrowser.js are being updated for
are performed in earlier parts. This patch just covers the required changes to
frontend code to propagate this information down to the nsFrameLoader when it is
created.

Differential Revision: https://phabricator.services.mozilla.com/D67053

--HG--
extra : moz-landing-system : lando
2020-04-06 14:30:07 +00:00
Zibi Braniecki
44bbaba5c4 Bug 1602808 - Revert Window Title to use DTD. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68661

--HG--
extra : moz-landing-system : lando
2020-04-01 18:44:03 +00:00
Narcis Beleuzu
7fba7adfcd Backed out changeset 16d82f57e0fb (bug 1602808) for bc failures on browser_privatebrowsing_windowtitle.js . CLOSED TREE 2020-04-01 10:24:08 +03:00
Zibi Braniecki
329298b6fc Bug 1602808 - Revert Window Title to use DTD. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68661

--HG--
extra : moz-landing-system : lando
2020-03-31 23:52:03 +00:00
Emma Malysz
e2f8c97e91 Bug 1624511, ensure that tab crashes within the same content process can be restored. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68318

--HG--
extra : moz-landing-system : lando
2020-03-27 15:28:11 +00:00
Mike Conley
ba02ddc1e1 Bug 1618936 - Make the front-end more robust in how it handles content process launch failures. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67003

--HG--
extra : moz-landing-system : lando
2020-03-20 19:50:20 +00:00
Andrea Marchesini
1e01916653 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-19 13:03:14 +00:00
Coroiu Cristina
0c837bbcd0 Backed out changeset 0453b0a0c49d (bug 1531289) for browser-chrome failures at uriloader/exthandler/tests/mochitest/browser_auto_close_window.js on a CLOSED TREE 2020-03-18 15:55:43 +02:00
Andrea Marchesini
c486efbb58 Bug 1531289 - target=_blank with a download should close the download tab, r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66454

--HG--
extra : moz-landing-system : lando
2020-03-18 12:08:24 +00:00
Matt Woodrow
4731d04c51 Bug 1620875 - Suppress extra onStateChange(STATE_START) notifications from RemoteWebProgress when switching DocumentChannel with a real channel. r=Gijs,nika
Note that this also suppresses notifications from the initial about:blank in the new process, and updates the tabbrowser to not expect those.

Differential Revision: https://phabricator.services.mozilla.com/D65923

--HG--
extra : moz-landing-system : lando
2020-03-17 00:50:29 +00:00
Dão Gottwald
976a235654 Bug 1610479 - Remove UrlbarInput's dependency on focusAndSelectUrlBar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D66954

--HG--
extra : moz-landing-system : lando
2020-03-16 15:53:32 +00:00
Marco Bonardo
2dc20c6432 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269

--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Ed Lee
acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Dão Gottwald
1f136fd774 Bug 1610475 - Move URLBarSetURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65535

--HG--
rename : browser/components/urlbar/tests/browser/browser_URLBarSetURI.js => browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js
extra : moz-landing-system : lando
2020-03-06 16:27:16 +00:00
Alastor Wu
0936fc7520 Bug 1577890 - part6 : remove browser's methods which were used for android media control. r=baku
These methods were used for media control and audio focus on Fennec, and we don't need them anymore.

Differential Revision: https://phabricator.services.mozilla.com/D65262

--HG--
extra : moz-landing-system : lando
2020-03-05 06:15:33 +00:00
Morgan Reschenberg
9d60e35ec9 Bug 1617544: Add tabHasCustomZoom property to tabbrowser to correctly store state when siteSpecific zoom is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D65036

--HG--
extra : moz-landing-system : lando
2020-03-04 02:30:07 +00:00
Gijs Kruitbosch
3738af45a4 Bug 1618379 - remove Web Replay (recordExecution/replayExecution) remnants from browser code, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D64747

--HG--
extra : moz-landing-system : lando
2020-02-28 16:03:08 +00:00
Dão Gottwald
4d610df268 Bug 1508171 - Remove gBrowser.initialBrowser. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63332

--HG--
extra : moz-landing-system : lando
2020-02-19 15:49:19 +00:00
Zibi Braniecki
8cf0edd469 Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-18 20:07:46 +00:00
shindli
419596f741 Backed out changeset e5c72e92c4dc (bug 1613801) for causing bc permafailures in browser_privatebrowsing_windowtitle.js CLOSED TREE 2020-02-18 03:07:08 +02:00
Zibi Braniecki
53ffd7288a Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-17 14:39:00 +00:00
Nika Layzell
cf096a0546 Bug 1610614 - Part 2: Check for gFissionBrowser match in swapBrowsersAndCloseOther, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61924

--HG--
extra : moz-landing-system : lando
2020-02-10 21:34:30 +00:00
Mohd Umar Alam
0df2f86445 Bug 356980 - Added context menu to tab manager menu. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D61799

--HG--
extra : moz-landing-system : lando
2020-02-10 19:30:10 +00:00
Nihanth Subramanya
ba28d4e4a2 Bug 1608713 - Add nsIWebNavigation load flags to force TRR mode and use them to load captive portal tabs with TRR disabled. r=valentin,Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D60860

--HG--
extra : moz-landing-system : lando
2020-01-24 17:18:35 +00:00
Marco Bonardo
459a5ab5b4 Bug 1601052 - Wait for both TabSelect and urlbar focus changes from the tab switcher. r=dao
The Async Tab Switcher seems to fire the TabSelect event in parallel with focus
changes, making the behavior non-predictable, because we need a stable situation
where both events happened.

Differential Revision: https://phabricator.services.mozilla.com/D61353

--HG--
extra : moz-landing-system : lando
2020-01-31 15:10:27 +00:00
Emma Malysz
cf03403781 Bug 1610463, move _setTabAttributes back into addTab because it was incorrectly named r=dao
Differential Revision: https://phabricator.services.mozilla.com/D61232

--HG--
extra : moz-landing-system : lando
2020-01-29 15:17:05 +00:00
Mike Conley
ea70cbeec9 Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D53075

--HG--
extra : moz-landing-system : lando
2020-01-22 21:24:19 +00:00
Doug Thayer
bf593b995c Bug 1596592 - Warm tab being switched to early during tab removal r=mconley,dao
Tab switch can be expensive if a page has a beforeunload handler. We should
start warming up the next tab to be shown early in the process of tab removal
to compensate for this. We could only do this if we know we have a
beforeUnload handler, but there shouldn't be any negative side effects of
getting started on the tab switch early regardless.

Differential Revision: https://phabricator.services.mozilla.com/D53099

--HG--
extra : moz-landing-system : lando
2020-01-22 17:15:21 +00:00
Emma Malysz
746b2ac5ad Bug 1607718, make addTab helper methods private r=dao
Differential Revision: https://phabricator.services.mozilla.com/D59892

--HG--
extra : moz-landing-system : lando
2020-01-18 00:29:30 +00:00
Gijs Kruitbosch
9d4ffbfc01 Bug 1608545 - ensure userContextId inherited from relatedTab is used throughout addTab and test for it, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60017

--HG--
extra : moz-landing-system : lando
2020-01-16 13:54:21 +00:00
Dimi Lee
27d4d88bfe Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

Differential Revision: https://phabricator.services.mozilla.com/D55622

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:23 +00:00
Abdoulaye Oumar Ly
be651315aa Bug 1578131 - (Multi-select tabs) Close window directly instead of removing tabs one by one when all tabs are selected and 'closeWindowWithLastTab' pref enabled. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D58699

--HG--
extra : moz-landing-system : lando
2020-01-11 00:34:03 +00:00
Gijs Kruitbosch
4a8075c515 Bug 1608036 - fix pinned tabs getting lost when restoring sessions, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D59335

--HG--
extra : moz-landing-system : lando
2020-01-10 18:17:07 +00:00
Neil Deakin
16f95497b9 Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D56570

--HG--
rename : browser/modules/webrtcUI.jsm => browser/actors/WebRTCParent.jsm
extra : moz-landing-system : lando
2020-01-10 15:09:59 +00:00
Matt Woodrow
4c52496f39 Bug 1603196 - Skip START_STOP notifications from old process being delivered to RemoteWebProgress when process switching during a load. r=kmag,nika
This doesn't block the STATE_START notification from the new process, as we currently have a second start notification (when DocumentChannel redirects to the real channel), so this is unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D56818

--HG--
extra : moz-landing-system : lando
2020-01-09 22:31:40 +00:00
Emma Malysz
290bc505ff Bug 1607441, ensure pinned tabs order is correct by updating their position attribute r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D59068

--HG--
extra : moz-landing-system : lando
2020-01-08 10:48:43 +00:00
Emma Malysz
4285163c77 Bug 1242912, batch insert tabs during a session restore instead of adding tabs individually. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53692

--HG--
extra : moz-landing-system : lando
2020-01-07 00:38:24 +00:00
Shane Caraveo
3169a8d7a2 Bug 1586612 properly handle tab events that happen prior to firing tabs.onCreated r=rpl,Gijs
Ensure that our delay in firing the onCreated (TabOpen) event does not result
in other events happening prior to onCreated.

Differential Revision: https://phabricator.services.mozilla.com/D55865

--HG--
extra : moz-landing-system : lando
2019-12-13 20:17:39 +00:00
Dave Townsend
c696551b78 Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs
The action should open the SSB UI to show the page. No other custom behaviour
is expecgterd at this point.

Differential Revision: https://phabricator.services.mozilla.com/D56283

--HG--
extra : moz-landing-system : lando
2019-12-12 20:22:50 +00:00
Dão Gottwald
2dd81d3884 Bug 1599544 - Remove the workaround hiding the initial browser. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D56718

--HG--
extra : moz-landing-system : lando
2019-12-12 14:06:40 +00:00
Brindusan Cristian
d784ce8921 Backed out 2 changesets (bug 1602168, bug 1602123) for turning bug 1336075 into perma. CLOSED TREE
Backed out changeset b892c240d938 (bug 1602168)
Backed out changeset f47c59a4e3d3 (bug 1602123)

--HG--
extra : histedit_source : c3cddd5170a0d0e98753cd01f901964a92ad48bc
2019-12-11 04:44:43 +02:00
Dave Townsend
597e62a81e Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs
The action should open the SSB UI to show the page. No other custom behaviour
is expecgterd at this point.

Differential Revision: https://phabricator.services.mozilla.com/D56283

--HG--
extra : moz-landing-system : lando
2019-12-10 22:33:10 +00:00
Matt Woodrow
dc7b5810bc Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.

All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.

Differential Revision: https://phabricator.services.mozilla.com/D54251

--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:21 +00:00
Bogdan Tara
0108d839e9 Backed out 8 changesets (bug 1598516) for run startup hangs CLOSED TREE
Backed out changeset bc0035aa57fe (bug 1598516)
Backed out changeset 33603b723337 (bug 1598516)
Backed out changeset 31c11dd9146d (bug 1598516)
Backed out changeset 4e269a638350 (bug 1598516)
Backed out changeset 76b86080c868 (bug 1598516)
Backed out changeset b6f84b01cbd9 (bug 1598516)
Backed out changeset 74d136798dd3 (bug 1598516)
Backed out changeset bf370938463e (bug 1598516)
2019-12-04 00:48:17 +02:00
Matt Woodrow
c10f854a76 Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.

All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.

Differential Revision: https://phabricator.services.mozilla.com/D54251

--HG--
extra : moz-landing-system : lando
2019-12-03 20:43:59 +00:00
Gurzau Raul
2e8639b3b4 Backed out 8 changesets (bug 1598516) for build bustage at ParentChannelListener.cpp on a CLOSED TREE.
Backed out changeset 7ac1b091aa5f (bug 1598516)
Backed out changeset b62c5b49b91c (bug 1598516)
Backed out changeset e48c0ce38498 (bug 1598516)
Backed out changeset cc2599921b5e (bug 1598516)
Backed out changeset 0a0f80b0b278 (bug 1598516)
Backed out changeset 1dc19a039cab (bug 1598516)
Backed out changeset b664c8af6e2d (bug 1598516)
Backed out changeset 943b440179b9 (bug 1598516)
2019-12-03 21:48:14 +02:00
Matt Woodrow
d4fc6bca1b Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.

All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.

Differential Revision: https://phabricator.services.mozilla.com/D54251

--HG--
extra : moz-landing-system : lando
2019-12-03 06:20:51 +00:00