Commit Graph

6346 Commits

Author SHA1 Message Date
Alphan Chen
a7084554c8 Bug 1567943 - Early return if do_ImportModule() failed. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39170

--HG--
extra : moz-landing-system : lando
2019-07-25 14:44:09 +00:00
Andreea Pavel
fc92f585e2 Backed out 3 changesets (bug 1559244) for causing bug 1370046
Backed out changeset de76712278a6 (bug 1559244)
Backed out changeset 467caef2ef9c (bug 1559244)
Backed out changeset 17ab0c52dca0 (bug 1559244)
2019-07-25 17:42:32 +03:00
Andreea Pavel
e4263c00eb Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Abdoulaye O. Ly
bda94b6b5d Bug 1559244 - Step 3: Add test for crashing an oop iframe. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D38896

--HG--
extra : moz-landing-system : lando
2019-07-24 18:43:14 +00:00
Abdoulaye O. Ly
71143356cc Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-07-24 18:43:14 +00:00
Coroiu Cristina
075c52994f Backed out 4 changesets (bug 1561079, bug 1561913) for mochitest failures at dom/base/test/test_bug375314.html on a CLOSED TREE
Backed out changeset 0d1eaf86253f (bug 1561913)
Backed out changeset 1d1be67a5950 (bug 1561079)
Backed out changeset 528a46ffe2af (bug 1561079)
Backed out changeset f562e67e38cf (bug 1561079)
2019-07-24 20:56:30 +03:00
Barret Rennie
2ce8272804 Bug 1562821 - Propagate nsIWebProgress events to the <xul:browser> in responsive design mode r=Ehsan
The work from bug 1510569 that has ported the majority of the `nsIWebProgress`
event handlers from `WebProgressChild`/`RemoteWebProgress` to
`BrowserChild`/`BrowserParent` was not properly propogating the events in the
responsive design mode case. The `BrowserParent` assumed that its frame element
was an `nsIBrowser`, but in RDM it is an `<iframe mozbrowser>` which does not
implement `nsIBrowser`. In the RDM case we now walk up the document in the
`BrowserParent` tree to find the `<xul:browser>` and call the event handlers on
that instead.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 16:43:20 +00:00
James Willcox
212e5673e3 Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525

--HG--
extra : moz-landing-system : lando
2019-07-24 16:33:47 +00:00
Bogdan Tara
e82c5fe738 Backed out 4 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset 50244d8132f9 (bug 1561913)
Backed out changeset 9abb44cca93b (bug 1561079)
Backed out changeset e6e23c902808 (bug 1561079)
Backed out changeset e48cf42b707f (bug 1561079)
2019-07-24 19:23:44 +03:00
James Willcox
a7171dad07 Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525

--HG--
extra : moz-landing-system : lando
2019-07-24 15:47:55 +00:00
Bogdan Tara
c230c12dae Backed out 2 changesets (bug 1561079) foe ES lint failure on browser-custom-element.js CLOSED TREE
Backed out changeset 74cd5c0338ee (bug 1561079)
Backed out changeset adbc4ea67da9 (bug 1561079)
2019-07-24 18:31:15 +03:00
James Willcox
0a734ca6ba Bug 1561079 - Add referrerInfo to <browser> r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36525

--HG--
extra : moz-landing-system : lando
2019-07-24 14:53:19 +00:00
Alphan Chen
bb06ecd152 Bug 1567057 - TabListener is only for contentSessionStore on desktop r=peterv
Don't need TabListener on geckoview

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

--HG--
extra : moz-landing-system : lando
2019-07-24 08:05:55 +00:00
Narcis Beleuzu
78f3381905 Backed out changeset f74c9d255293 (bug 1568055) for Assertion failures (MOZ_ASSERT_UNREACHABLE: leaking stream event). CLOSED TREE 2019-07-23 23:13:43 +03:00
Cosmin Sabou
20d813093c Bug 1563597 - Fix lint errors. r=jdai
--HG--
extra : amend_source : 9ded5b32117f5d390d50b90d71e22d215d121f32
2019-07-23 19:50:19 +03:00
John Dai
5bed95bf3d Bug 1563597 - Support nsGlobalWindowOuter as observer notification's subject; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39029

--HG--
extra : moz-landing-system : lando
2019-07-23 16:09:27 +00:00
Nika Layzell
454761339c Bug 1568055 - Part 2: Set embedder for BrowsingContext upon frame creation, r=farre
This should help ensure that the embedder is always set soon enough that we
don't run into the situation which caused the null deref fixed by bug 1565489.

This patch also adds an assertion earlier in WindowGlobalParent's lifecycle to
ensure that the condition is satisfied. This assertion will fail before the
changes in part 1.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 08:05:50 +00:00
Ciure Andrei
c0756f3389 Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE
Backed out changeset 644ceb2fe568 (bug 1523638)
Backed out changeset 27647ee7a927 (bug 1523638)
Backed out changeset 96f1ccb95570 (bug 1523638)
Backed out changeset b60a17ea716a (bug 1523638)
Backed out changeset 507e63186c5f (bug 1523638)
Backed out changeset 33255408ca61 (bug 1523638)
Backed out changeset d97b2d223616 (bug 1523638)
Backed out changeset eba2a0514cde (bug 1523638)
Backed out changeset d7065174c5c4 (bug 1523638)
Backed out changeset c21b361e175d (bug 1523638)
2019-07-23 05:13:32 +03:00
Nika Layzell
2a0d22e428 Bug 1523638 - Part 10: Implement WindowGlobalParent::GetRootFrameLoader in terms of Top()->GetEmbedderElement(), r=farre
Differential Revision: https://phabricator.services.mozilla.com/D38552

--HG--
extra : moz-landing-system : lando
2019-07-19 19:53:53 +00:00
Nika Layzell
83236ff0f4 Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:22 +00:00
Nika Layzell
d3369b5645 Bug 1523638 - Part 7: Transmit permissions for newly created WindowGlobalParent actors, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D37654

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:18 +00:00
Nika Layzell
d57e4902c0 Bug 1523638 - Part 6: Create an initial WindowGlobal actor for popup browser construction, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37653

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:16 +00:00
Nika Layzell
96156f34c3 Bug 1523638 - Part 5: Create a WindowGlobal actor during normal PBrowser construction, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37652

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:14 +00:00
Nika Layzell
5dc554280a Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37651

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:12 +00:00
Nika Layzell
b1f124f20a Bug 1523638 - Part 3: Construct WindowGlobal actors using ManagedEndpoint, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37650

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:10 +00:00
Nika Layzell
68e5c025a2 Bug 1523638 - Part 2: Store and expose URI and Principal on WindowGlobalChild, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37649

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:03 +00:00
Nika Layzell
29cceccb51 Bug 1523638 - Part 1: Remove mIPCClosed from PWindowGlobal, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37648

--HG--
extra : moz-landing-system : lando
2019-07-18 19:38:01 +00:00
Nika Layzell
2f4cd365ad Bug 1566806 - Check discarded status before forwarding WindowProxy messages between processes, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D38545

--HG--
extra : moz-landing-system : lando
2019-07-22 01:54:36 +00:00
Boris Zbarsky
0f70d08ec8 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387

--HG--
extra : moz-landing-system : lando
2019-07-22 20:27:39 +00:00
Bobby Holley
de399107e1 Bug 1566839 - Use NS_WARNING rather than NS_ERROR when child process initialization fails. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D38908

--HG--
extra : moz-landing-system : lando
2019-07-22 19:14:45 +00:00
Ciure Andrei
98278afa46 Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
Boris Zbarsky
9c74919340 Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38387

--HG--
extra : moz-landing-system : lando
2019-07-22 14:52:04 +00:00
Nika Layzell
e691fe7a86 Bug 1565489 - Part 1: Avoid null dereference in IsProcessRoot, r=farre
The crash appears to be being caused by the GetEmbedderWindowGlobal call
returning a null value. This patch simply avoids the crash in this case, and
returns a reasonable default value of false, as it should never be true for a
BrowsingContext with a parent without Fission enabled.

This patch should be small enough to safely uplift if necessary.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:43:14 +00:00
Kris Maglione
4bd4d680d4 Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D38725

--HG--
extra : rebase_source : 3e8b32b86b12b22d038baa770070a5c8095043c9
2019-07-17 13:37:48 -07:00
Kashav Madan
b1d0050ee1 Bug 1563629 - Inherit TabContext values from the current BrowserParent, r=nika,kmag
Differential Revision: https://phabricator.services.mozilla.com/D37618

--HG--
extra : moz-landing-system : lando
2019-07-19 19:00:31 +00:00
Olli Pettay
7c88ba1685 Bug 1539497, navigator.maxTouchPoints returns 0 in child process, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38583

--HG--
extra : amend_source : 52f1fdbf79f18a6c3ff52eab0a45b397cee76baf
2019-07-19 01:45:16 +03:00
Kris Maglione
4503ade360 Bug 1563409: Inherit RemoteSubframes and RemoteTabs flags from parent docshells. r=nika
This also adds an extra assertion against browsing context mismatches that
happen when we don't get this right.

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

--HG--
extra : source : 4b07deb4cd2ef4c98b6d6ee961a20705f4f2deae
2019-07-03 16:09:20 -07:00
Ciure Andrei
3ba5c11f47 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-18 06:48:24 +03:00
Marcos Cáceres
4d6c019baa Bug 1566018 - Return the URL of the manifest from manifest validation in object r=Ola,baku
returns a moz_manifest_url member when `{checkConformance: true}`

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

--HG--
extra : moz-landing-system : lando
2019-07-17 14:04:19 +00:00
Kris Maglione
0962c2b731 Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

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

--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Gurzau Raul
a40be3ff67 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-17 06:53:00 +03:00
Gurzau Raul
21df1f7413 Merge inbound to mozilla-central. a=merge 2019-07-17 06:48:50 +03:00
Jean-Yves Avenard
59c3f78447 Bug 1566153 - P2. Clean-up BrowsingContextGroup references when empty. r=nika
We can remove references held in the ContentChild and the ContentParent once the BrowsingContextGroup becomes empty.
This allows to break the cycles and the BrowsingContextGroup to be deleted.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 00:31:38 +00:00
Jean-Yves Avenard
99469c7170 Bug 1566153 - P1. Remove unnecessary AddRef. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D38179

--HG--
extra : moz-landing-system : lando
2019-07-16 15:07:29 +00:00
Bogdan Tara
ca45889546 Backed out 9 changesets (bug 1523638) for browser_contextmenu.js failures CLOSED TREE
Backed out changeset 0a584a07b696 (bug 1523638)
Backed out changeset 8c5af2289900 (bug 1523638)
Backed out changeset 40ed1bd64b09 (bug 1523638)
Backed out changeset 9a99a0391979 (bug 1523638)
Backed out changeset 07fb4748b91a (bug 1523638)
Backed out changeset 49047c3ebae9 (bug 1523638)
Backed out changeset d606d072126c (bug 1523638)
Backed out changeset 76dc1937fc77 (bug 1523638)
Backed out changeset c784c14b5d5d (bug 1523638)
2019-07-16 23:40:47 +03:00
Nika Layzell
89d26ca7eb Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37656

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:56 +00:00
Nika Layzell
6a004f4a3e Bug 1523638 - Part 7: Transmit permissions for newly created WindowGlobalParent actors, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D37654

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:46 +00:00
Nika Layzell
76281505f8 Bug 1523638 - Part 6: Create an initial WindowGlobal actor for popup browser construction, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37653

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:45 +00:00
Nika Layzell
fe65d00241 Bug 1523638 - Part 5: Create a WindowGlobal actor during normal PBrowser construction, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37652

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:43 +00:00
Nika Layzell
4d83ce526b Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D37651

--HG--
extra : moz-landing-system : lando
2019-07-16 18:47:41 +00:00