Граф коммитов

5886 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 40f96bcf80 Bug 1542791 - Part 1: Support enabling out-of-process iframes with per-frame granularity, r=mconley
This code builds on top of the E10S "remote tabs" configuration system to add a
system for specifying that remote subframes should be used. Fission can be
enabled for a window by including the "fission" flag in options when opening
the window.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:22 +00:00
Nika Layzell 2ba6dc3f7f Bug 1542783 - Expose WindowGlobalParent.tabParent to JS, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D26553

--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:03 +00:00
Nika Layzell b68048927c Bug 1525427 - Part 5: Don't kill tab when oop iframe dies, r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D27509

--HG--
extra : moz-landing-system : lando
2019-04-17 00:54:12 +00:00
Nika Layzell 6c4519cec0 Bug 1525427 - Part 4: Correctly tear down TabParent within BrowserBridgeParent, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D25184

--HG--
extra : moz-landing-system : lando
2019-04-17 00:52:53 +00:00
Nika Layzell 0bc40288dc Bug 1525427 - Part 1: Expose WindowGlobalParent & Element on BrowsingContext, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D25181

--HG--
extra : moz-landing-system : lando
2019-04-17 00:51:36 +00:00
Nika Layzell 7f4ecdea61 Bug 1538353 - Part 2: Create PBrowser actors using ManagedEndpoint instead of IPDL Ctors, r=bzbarsky
Depends on D24566

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:51:38 +00:00
Brindusan Cristian 1f36a419a9 Backed out changeset 19d9a16423fd (bug 1543786) for ESlint failure at browser_storageAccessRemovalNavigateTopframe.js. CLOSED TREE 2019-04-17 08:29:16 +03:00
Ehsan Akhgari ad1be13e59 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-16 22:49:25 +00:00
Kartikaya Gupta 2cfb84082d Bug 1527380 - Re-enable fission test for WebRender. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D27699

--HG--
extra : moz-landing-system : lando
2019-04-16 14:57:16 +00:00
Brian Grinstead c4fa4cfc0c Bug 1544322 - Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 4` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 04:01:46 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead 0d460e3432 Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Nika Layzell 48a4697754 Bug 1539959 - Don't send WindowGlobalChild constructors when parent BrowsingContext has already been closed, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27365

--HG--
extra : moz-landing-system : lando
2019-04-15 14:57:09 +00:00
Nika Layzell 6186f66b37 Bug 1542779 - Use callback interfaces for JSWindowActor callbacks, r=jdai
This should not have any major behaviour changes, with the following exceptions:

 1. The method for receiving messages from IPC is called `receiveMessage` rather
    than `recvAsyncMessage`. This is more consistent with existing code, so
    should be OK.
 2. Exceptions will be correctly reported when thrown within a callback.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 15:49:02 +00:00
Andreas Farre 29d439a983 Bug 1523636 - Create BrowsingContext in nsFrameLoader. r=nika,qdot
Differential Revision: https://phabricator.services.mozilla.com/D25039

--HG--
extra : moz-landing-system : lando
2019-04-15 15:14:54 +00:00
Nika Layzell 3c646bec4c Bug 1542786 - Set documentURI during WindowGlobalParent creation, r=farre
This avoids a racy situation early during WGP creation where a null documentURI
can be read incorrectly.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 11:58:35 +00:00
Andreas Farre 19e1e35b0d Bug 1541038 - Part 1: Sync a BrowsingContext to it's groups. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D27317

--HG--
extra : moz-landing-system : lando
2019-04-12 19:00:24 +00:00
Masayuki Nakano e2a9511e93 Bug 1542665 - Stop using `const nsCOMPtr<nsIPresShell>&` arguments r=bzbarsky
Some methods take `const nsCOMPtr<nsIPresShell>&` as their argument to make
their callers guarantee the lifetime.  However, currently all of them are
marked as `MOZ_CAN_RUN_SCRIPT`.  So, it's safe to change them to raw pointer.

Additionally, this patch makes them take `mozilla::PresShell*` directly
rather than via `nsIPresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 02:23:07 +00:00
Masayuki Nakano fdbbccd877 Bug 1542664 - Make TabChild use mozilla::PresShell directly rather than via nsIPresShell r=nika
This patch makes `TabChild` use `mozilla::PresShell` directly.

Then, renames `TabChild::GetPresShell()` and `TabChild::GetDocument()` to
`TabChild::GetTopLevelPresShell()` and `TabChild::GetTopLevelDocument()` to
make what they do clearer (e.g., see the change in `PresShell.cpp`).

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

--HG--
extra : moz-landing-system : lando
2019-04-13 01:53:10 +00:00
Masayuki Nakano 0986fb819b Bug 1542506 - Make nsDocShell use mozilla::PresShell* directly rather than nsIPresShell* r=bzbarsky
This patch makes `nsDocShell::GetPresShell()` and
`nsDocShell::GetEldestPresShell()` return `mozilla::PresShell*` and
some non-public methods use `mozilla::PresShell*` directly.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 01:03:13 +00:00
Sylvestre Ledru 7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Liang-Heng Chen 2cb34bb8bf Bug 1539641 - Log and report storage access granted reason; r=Ehsan,chutten
Differential Revision: https://phabricator.services.mozilla.com/D26720

--HG--
extra : moz-landing-system : lando
2019-04-12 00:38:57 +00:00
Boris Zbarsky 6d78fdff25 Bug 1543564 part 1. Get rid of pointless nsPIDOMWindowOuter::AsOuter() methods. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D27026

--HG--
extra : moz-landing-system : lando
2019-04-11 12:12:04 +00:00
Daniel Varga bf215dbbd8 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 33d0709730d68206491b4facb0645c798ff943e3
2019-04-11 00:59:25 +03:00
Csoregi Natalia b794b31607 Backed out changeset d76b42f0d6ca (bug 1523636) for causing bug 1543015. a=backout 2019-04-10 18:46:01 +03:00
Valentin Gosu 06334e695a Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23935

--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Michael Froman ac99c1dda6 Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag
Cmd-line params for the SharedPreferenceSerializer was
duplicated in ContentParent and
SocketProcessHost.  Since we'll have a 3rd process (RDD)
using this same code, let's move the repsonsiblity for knowing how to add
these cmdline params into SharedPreferenceSerializer.

Depends on D26567

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

--HG--
extra : moz-landing-system : lando
2019-04-09 21:07:47 +00:00
Kartikaya Gupta d45de3307d Bug 1526928 - Check for TabParent destruction before trying to send a message on it. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D26830

--HG--
extra : moz-landing-system : lando
2019-04-10 18:40:42 +00:00
Cosmin Sabou fa0cc212b6 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-09 19:24:14 +03:00
Henri Sivonen 95281be87c Bug 1532901 - Fix event.screenX and event.screenY inside out-of-process iframes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D25582

--HG--
extra : moz-landing-system : lando
2019-04-09 10:26:31 +00:00
Henri Sivonen b8e3697e3b Bug 1540665 - Propagate chrome flags to out-of-process iframes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D26500

--HG--
extra : moz-landing-system : lando
2019-04-08 21:22:58 +00:00
Jan Varga cbaad6cbbc Bug 1542535 - Ensure QuotaManagerService exists before calling AbortOperationsForProcess in ContentParent; r=asuth 2019-04-06 21:11:59 +02:00
Nika Layzell 71352e476f Bug 1542778 - Part 1: Fix clang-format fallout for FakeChannel, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26545

--HG--
extra : moz-landing-system : lando
2019-04-08 20:30:19 +00:00
Andreas Farre 888908c3cb Bug 1523636 - Create BrowsingContext in nsFrameLoader. r=nika,qdot
Differential Revision: https://phabricator.services.mozilla.com/D25039

--HG--
extra : moz-landing-system : lando
2019-04-08 08:21:40 +00:00
Andreas Farre 56fffce764 Bug 1542204 - Normalize "_blank" to "" before calling SendCreateWindowInDifferentProcess. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D26300

--HG--
extra : moz-landing-system : lando
2019-04-05 20:14:03 +00:00
Andreas Farre 1f89df5c43 Bug 1471598 - Assert valid browsing context modifications. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D25066

--HG--
extra : moz-landing-system : lando
2019-04-05 14:36:24 +00:00
Sylvestre Ledru 03c8e8c2dd Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Barret Rennie 306f4c39ad Bug 1542183 - Ensure TabChilds always have a TabGroup upon initialization r=nika
Differential Revision: https://phabricator.services.mozilla.com/D26374

--HG--
extra : moz-landing-system : lando
2019-04-05 19:38:27 +00:00
Gijs Kruitbosch d395728ea0 Bug 1537622 - fix various minor eslint issues in XUL files, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24297

--HG--
extra : moz-landing-system : lando
2019-04-05 12:18:24 +00:00
Csoregi Natalia ba58e936bd Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE 2019-04-05 09:48:19 +03:00
Sylvestre Ledru d1c1878603 Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu 24dbe577a5 Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE 2019-04-05 00:27:56 +03:00
Sylvestre Ledru 399dbd28fe Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Mike Conley a2494f98e9 Bug 1540845 - Pass the browsing context ID through the event fired when oop frames crash. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D25843

--HG--
extra : moz-landing-system : lando
2019-04-04 13:38:51 +00:00
Andrea Marchesini 10b25d6759 Bug 1539637 - Make cryptomining and fingerprinting annotations use the "strict" list always, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D25266

--HG--
extra : moz-landing-system : lando
2019-04-04 05:31:44 +00:00
Barret Rennie 9bbc7930d4 Bug 1510569 - Port onRefreshAttempted from WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25650

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:56 +00:00
Barret Rennie 163ec0ba8b Bug 1510569 - Port onProgressChange notifications inside WebProgressChild.jsm to C++ r=baku
We do not need to handle onProgressChange64 notifications since the TabChild's
web progress events are filtered through an nsBrowserStatusFilter, which
truncates onProgresChange64 event values to 32-bit integers and then calls
onProgressChange.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:41 +00:00
Barret Rennie c6fc7a9f0d Bug 1510569 - Implement nsIWebProgressListener2 for TabChild r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25648

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:21 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 779f6e3bbf Bug 1510569 - Reconstruct nsIWebProgress and nsIRequest for onContentBlockingEvent in TabParent r=Ehsan
Now that we have access to the RemoteWebProgress from the TabParent and can
construct RemoteWebProgress and RemoteWebProgressRequests in C++, we can
reconstruct the RemoteWebProgress and RemoteWebProgressRequest in the TabParent
instead of RemoteWebProgressManager. This improves the API for nsIBrowser and
RemoteWebProgressManager, removing the need for the
`callWebProgressContentBlockingEventListeners` method in both. It also means we
won't need to implement `callWebProgress*Listeners` for methods on nsIBrowser
and RemoteWebProgressManager for all other nsIWebProgress events.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:41 +00:00