Commit graph

451 commits

Author SHA1 Message Date
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
Coroiu Cristina
b55f6bda39 Backed out 6 changesets (bug 1598516) for Mn and pgo failures on a CLOSED TREE
Backed out changeset 63a84cdfd937 (bug 1598516)
Backed out changeset 894aaa4bc62e (bug 1598516)
Backed out changeset e19ada9e8b30 (bug 1598516)
Backed out changeset 72f2256ae171 (bug 1598516)
Backed out changeset 6ba74ff735ba (bug 1598516)
Backed out changeset b235cf22b0e4 (bug 1598516)
2019-11-26 04:40:35 +02:00
Matt Woodrow
d537b5fdb6 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-11-25 23:39:06 +00:00
Zibi Braniecki
58b54fbcc6 Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
Depends on D53775

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:16:15 +00:00
Michael Kaply
b78bcbe3c1 Bug 1590715 - Don't show URL status in kiosk mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D53053

--HG--
extra : moz-landing-system : lando
2019-11-21 09:50:08 +00:00
Gijs Kruitbosch
ecd21d5a23 Bug 1595925 - QI to nsIWebNavigation before using docShell.document, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D53661

--HG--
extra : moz-landing-system : lando
2019-11-18 17:59:36 +00:00
Kirk Steuber
835dd19f39 Bug 1588142 - Prevent internal pages from flashing the URL on reload r=Gijs
Converting about:preferences's root from a xul:window to an html:html involves moving the Fluent-translated title attribute to a title tag, which starts empty and is populated by Fluent. The initially-empty title tag causes the title bar to flash "about:preferences" on reload.

This patch ignores empty title updates via DOMTitleChanged events to prevent this. This is only done for internal pages (i.e. pages with a system principal).

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

--HG--
extra : moz-landing-system : lando
2019-11-14 00:17:52 +00:00
Csoregi Natalia
6db46a2b36 Backed out 4 changesets (bug 1588142) for failures on browser_canvasframe_helper_02.js. CLOSED TREE
Backed out changeset 2284a535c8bc (bug 1588142)
Backed out changeset 939b6b3922c2 (bug 1588142)
Backed out changeset 1a5f2b044f82 (bug 1588142)
Backed out changeset 87336cc7f8a1 (bug 1588142)
2019-11-14 00:18:21 +02:00
Kirk Steuber
b77ab540b1 Bug 1588142 - Prevent internal pages from flashing the URL on reload r=Gijs
Converting about:preferences's root from a xul:window to an html:html involves moving the Fluent-translated title attribute to a title tag, which starts empty and is populated by Fluent. The initially-empty title tag causes the title bar to flash "about:preferences" on reload.

This patch ignores empty title updates via DOMTitleChanged events to prevent this. This is only done for internal pages (i.e. pages with a system principal).

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

--HG--
extra : moz-landing-system : lando
2019-11-12 18:01:01 +00:00
Gijs Kruitbosch
4afacb2085 Bug 1594457 - fix DOMTitleChanged handling for reloads, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D52022

--HG--
extra : moz-landing-system : lando
2019-11-12 17:29:14 +00:00
Brendan Dahl
880b358f10 Bug 1492582 - Support the <body> element being the default focus node in browser.xhtml r=Gijs
Previously we were returning the documentElement in order to match the old XUL behavior.
Now that we have a document.body we can just follow the normal HTML convention.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:33:52 +00:00
Brendan Dahl
1f2263790c Bug 1492582 - Use document.title instead of writing the title attribute on the document element r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33561

--HG--
extra : moz-landing-system : lando
2019-11-08 23:33:50 +00:00
Gijs Kruitbosch
7e5577e2b2 Bug 1594472 - do less work for same-document navigations, r=MattN,mconley
Updating tab
- mute state
- audio playing indicator state
- find bar state
- tab titles
- icons

is not necessary when the navigation is same-document. Avoid doing the work.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 21:02:26 +00:00
Noemi Erli
f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Brendan Dahl
5fdb5686bc Bug 1492582 - Support the <body> element being the default focus node in browser.xhtml r=Gijs
Previously we were returning the documentElement in order to match the old XUL behavior.
Now that we have a document.body we can just follow the normal HTML convention.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:21:09 +00:00
Brendan Dahl
b155aa1c0e Bug 1492582 - Use document.title instead of writing the title attribute on the document element r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33561

--HG--
extra : moz-landing-system : lando
2019-11-07 16:21:02 +00:00
Gijs Kruitbosch
f02d1fa467 Bug 1591183 - fix tabbrowser's expectations about state_start with documentchannel and add a test, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D51081

--HG--
extra : moz-landing-system : lando
2019-10-30 19:10:21 +00:00
Gijs Kruitbosch
cbe6115aca Bug 1585732 - cache fission.rebuild_frameloaders_on_remoteness_change pref instead of refetching it, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D50956

--HG--
extra : moz-landing-system : lando
2019-10-29 23:33:54 +00:00
Brian Grinstead
193683f1c6 Bug 1592054 - Initialize tabbrowser-tab contents before appending it into the DOM r=dao
This prevents a brief flash of unstyled tab content that can be noticed especially
in debug builds.

What happens currently is that we first append child content into the tab
upon connection, then we do attribute inheritance which sets the relevant
styling properties.

With this change we first set up the child content and attributes _before_ appending
the tab into the DOM, so that it's ready to render after being appended.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 17:23:29 +00:00
Dão Gottwald
d093241f42 Bug 1586351 - Cache retained results in the view temporarily to prevent results from flickering when MegaBar reopens. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48818

--HG--
extra : moz-landing-system : lando
2019-10-15 16:05:05 +00:00
Matt Woodrow
4cefa2fdd3 Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-11 01:56:35 +00:00
Brindusan Cristian
ef3c975bc9 Backed out 11 changesets (bug 1578624) for build bustages. CLOSED TREE
Backed out changeset b22733eb880f (bug 1578624)
Backed out changeset cb5e15489635 (bug 1578624)
Backed out changeset f1746b2f9dec (bug 1578624)
Backed out changeset d08a099a22ff (bug 1578624)
Backed out changeset 8ebd563c72a8 (bug 1578624)
Backed out changeset d8bfec2dc9b6 (bug 1578624)
Backed out changeset 591664928bce (bug 1578624)
Backed out changeset 63f5a619b9ef (bug 1578624)
Backed out changeset ff67cc13cdf3 (bug 1578624)
Backed out changeset 43556c937a09 (bug 1578624)
Backed out changeset 49065a55694d (bug 1578624)
2019-10-09 11:50:37 +03:00
Matt Woodrow
4b70f9f830 Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-09 07:54:45 +00:00
Narcis Beleuzu
3429292547 Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)

--HG--
extra : histedit_source : ea22e628bf35425402009e9af274602f342a7476
2019-10-09 08:52:25 +03:00
Matt Woodrow
d2a7eac05f Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-03 23:15:19 +00:00
Nils Maier
78d77f92c9 Bug 1296365 - Show extension name instead of URI in popup windows r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D45213

--HG--
extra : moz-landing-system : lando
2019-09-26 04:13:27 +00:00
Neil Deakin
1ab71ae6f9 Bug 1553384, update findbar actors to inherit from JSWindowActor so that type ahead find works in out of process iframes, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41226

--HG--
extra : moz-landing-system : lando
2019-09-17 23:29:46 +00:00
Paul Zuehlcke
5cc91c0754 Bug 1577480 - Fixed hideTab webRTC sharing state check. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45820

--HG--
extra : moz-landing-system : lando
2019-09-17 15:00:49 +00:00
monikamaheshwari
9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Kris Maglione
c9bc5f8a41 Bug 1542415: Part 4 - Always rebuild frameloaders on remoteness change in Fission windows. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44738

--HG--
extra : moz-landing-system : lando
2019-09-09 12:28:09 +00:00
Andreas Farre
6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Paul Zuehlcke
619584035d Bug 1574110 - Updated tabbrowser.js SitePermissions call to use principal. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42321

--HG--
extra : moz-landing-system : lando
2019-08-20 12:29:26 +00:00
Cameron McCormack
d622a3d445 Bug 1569060 - Add layout debugger command to dump process IDs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39437

--HG--
extra : moz-landing-system : lando
2019-08-06 23:31:55 +00:00
Paul Zuehlcke
5a377a3a37 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-30 08:28:31 +00:00
Csoregi Natalia
141bcffcc8 Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Paul Zuehlcke
15afab0390 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428

--HG--
extra : moz-landing-system : lando
2019-07-29 08:37:55 +00:00
Abdoulaye Oumar Ly
70d817b8d5 Bug 1481055 - Improve the consistency of params of tab multiselection functions in gBrowser. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36356

--HG--
extra : moz-landing-system : lando
2019-07-22 17:16:40 +00:00