Brindusan Cristian
f92b05e5f0
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Christoph Kerschbaumer
cb811b1773
Bug 1546378: Write cross process CSP inheritance tests. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D28599
--HG--
extra : moz-landing-system : lando
2019-04-24 15:21:37 +00:00
Mike de Boer
775fbffcb9
Bug 1518551 - Remove the 'MOZ_TOOLKIT_SEARCH' build config constant, because it's unused; we always enable the search service. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D27702
--HG--
extra : moz-landing-system : lando
2019-04-24 08:52:32 +00:00
Cosmin Sabou
921056d7a8
Backed out changeset 57df9b1a7033 (bug 1546378) as requested by the developer. CLOSED TREE
2019-04-24 14:58:32 +03:00
Christoph Kerschbaumer
e7f65d65e7
Bug 1546378: Write cross process CSP inheritance tests. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D28599
--HG--
extra : moz-landing-system : lando
2019-04-24 11:45:26 +00:00
Masayuki Nakano
65aa369673
Bug 1543315 - part 10: Mark nsIPresShell::GoToAnchor() and nsIPresShell::ScrollToAnchor() as MOZ_CAN_RUN_SCRIPT r=smaug
...
Next, we should mark `PresShell::ScrollContentIntoView()` as
`MOZ_CAN_RUN_SCRIPT` because it's used widely.
This patch marks its `PresShell` users, `GoToAnchor()` and `ScrollToAnchor()`,
as `MOZ_CAN_RUN_SCRIPT`. Additionally, this patch moves them from
`nsIPresShell` to `PresShell` because all callers refers `PresShell` directly.
Differential Revision: https://phabricator.services.mozilla.com/D28319
--HG--
extra : moz-landing-system : lando
2019-04-23 01:27:47 +00:00
Ryan Hunt
d6509bb237
Bug 1534395 - Rename TabChild to BrowserChild. r=nika
...
This commit renames TabChild to BrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28135
--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt
e9e7d608be
Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
...
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28134
--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ryan Hunt
0eeced87be
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Ryan Hunt
3675f2449b
Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
...
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.
Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.
Differential Revision: https://phabricator.services.mozilla.com/D28132
--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Coroiu Cristina
33d59a9c32
Backed out 4 changesets (bug 1493225) for browser-chrome failures with application terminated with exit code 2147483651 on a CLOSED TREE
...
Backed out changeset 62ee0aed9e59 (bug 1493225)
Backed out changeset 3537b8f8d38a (bug 1493225)
Backed out changeset 1de539e8f568 (bug 1493225)
Backed out changeset e9c116dba541 (bug 1493225)
2019-04-19 23:55:50 +03:00
Jim Porter
7f3f2e49dc
Bug 1493225, part 3 - Cancel content JS when navigating through history to prevent hangs r=smaug
...
This patch adds an ID to ensure that we avoid canceling content JS if the next
page already started loading by the time we're ready to try canceling the JS.
Differential Revision: https://phabricator.services.mozilla.com/D25164
--HG--
extra : moz-landing-system : lando
2019-04-18 18:39:45 +00:00
Brian Grinstead
381332c51e
Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
...
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672
Differential Revision: https://phabricator.services.mozilla.com/D27761
--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Ehsan Akhgari
0ad9b25d34
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-17 15:01:53 +00:00
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
cd6b56221a
Bug 1544419 - Work around devtools mutating BrowsingContext parent, r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D27517
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:24 +00:00
Nika Layzell
bb55fe0501
Bug 1542790 - Part 5: Relax toplevel BC requirements, r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D27516
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:20 +00:00
Nika Layzell
4ebea6d3b6
Bug 1542790 - Part 2: Use BC::GetParent and BC::GetTop for local windows, r=peterv
...
This is required to support getting the `parent` and `top` properties from
within remote subframes.
Differential Revision: https://phabricator.services.mozilla.com/D26559
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:09 +00:00
Nika Layzell
7d3df12687
Bug 1542790 - Part 1: BC::GetParent on toplevel windows should be self, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D26558
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:05 +00:00
Nika Layzell
9778d014f1
Bug 1525427 - Part 3: Tests for new WindowGlobal properties, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D25183
--HG--
extra : moz-landing-system : lando
2019-04-17 00:52:51 +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
Dale Harvey
c3bdb93609
Bug 1543973 - Switch to AppConstants to avoid appinfo conflict. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D27804
--HG--
extra : moz-landing-system : lando
2019-04-16 20:56:56 +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
Christoph Kerschbaumer
aee4945e49
Bug 1544534: Add carveout for NullPrincipal when asserting if explicit CSP and CSP on Principal are equal. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D27700
--HG--
extra : moz-landing-system : lando
2019-04-16 14:19:44 +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
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise 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/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead
6515f97bcb
Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
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 1` argument.
Differential Revision: https://phabricator.services.mozilla.com/D26812
--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Masayuki Nakano
60e014c55e
Bug 1544215 - Make nsIContentVewer::GetPresShell() return mozilla::PresShell instead of nsIPresShell r=bzbarsky
...
Additionally, this patch makes `nsDocumentViewer` which is the only
implementation of `nsIContentViewer` use `mozilla::PresShell` directly
rather than via `nsIPresShell`.
Differential Revision: https://phabricator.services.mozilla.com/D27470
--HG--
extra : moz-landing-system : lando
2019-04-16 02:47:26 +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
772d2d3a49
Bug 1544421 - Actually check for a valid bc in read, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D27511
--HG--
extra : moz-landing-system : lando
2019-04-15 14:52:11 +00:00
Nika Layzell
43ded41fb0
Bug 1542785 - Expose a top
method on BrowsingContext to Chrome JS, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D26554
--HG--
extra : moz-landing-system : lando
2019-04-09 06:19:24 +00:00
Masayuki Nakano
414509fe00
Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug
...
So, this patch makes all caller of it safe including its arguments unless
they come from other methods.
Differential Revision: https://phabricator.services.mozilla.com/D27225
--HG--
extra : moz-landing-system : lando
2019-04-13 12:43:57 +00:00
Masayuki Nakano
e8514bbdc6
Bug 1543315 - part 4: Mark ResizeReflow() as MOZ_CAN_RUN_SCRIPT r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27220
--HG--
extra : moz-landing-system : lando
2019-04-13 12:39:47 +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
Boris Zbarsky
d0bcf72821
Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D27027
--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +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
Dale Harvey
9bdc33dd43
Bug 1496075
- Part 3: Use webextensions in SearchServices. r=mikedeboer,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D25246
--HG--
rename : browser/components/search/searchplugins/list.json => browser/components/search/extensions/list.json
rename : browser/components/search/searchplugins/images/wikipedia.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/multilocale/favicon.ico
rename : browser/components/search/searchplugins/images/google.ico => toolkit/components/search/tests/xpcshell/data/test-extensions/special-engine/favicon.ico
extra : moz-landing-system : lando
2019-04-11 20:49:31 +00:00
Khyati Agarwal
ca2437eedf
bug 1524359 - 49,600 instances of "NS_ENSURE_SUCCESS(rv, false) failed with result 0x80004005" emitted from docshell/shistory/nsSHistory.cpp during linux64 debug testing r=peterv
...
Replaced "NS_ENSURE_SUCCESS" with 'if' condition
Differential Revision: https://phabricator.services.mozilla.com/D25529
--HG--
extra : moz-landing-system : lando
2019-04-11 12:11:05 +00:00
Peter Van der Beken
7552bea442
Bug 1534638
- Part 3: rename SetRootDocShell to ClearDocShell. r=qdot
...
Depends on D25763
Differential Revision: https://phabricator.services.mozilla.com/D25764
--HG--
extra : moz-landing-system : lando
2019-04-04 16:20:19 +00:00
Peter Van der Beken
e646d6366e
Bug 1534638
- Part 2: remove nsISHEntry::getAnyContentViewer. r=qdot
...
Bug 304860 and bug 1364364 have disabled the bfcache for subframes, so we only
store the contentviewer in the root entry.
Depends on D25761
Differential Revision: https://phabricator.services.mozilla.com/D25763
--HG--
extra : moz-landing-system : lando
2019-04-04 16:19:37 +00:00
Peter Van der Beken
023a72eb9b
Bug 1534638
- Part 1: remove unused arguments from session history listeners. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D25761
--HG--
extra : moz-landing-system : lando
2019-04-04 16:18:48 +00:00
Olli Pettay
a368094f3c
Bug 1542673, increase history.state size limit, r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D26881
--HG--
extra : moz-landing-system : lando
2019-04-10 20:21:55 +00:00
Daniel Varga
f2b514eaaa
Merge autoland to mozilla-central. a=merge
2019-04-11 00:51:52 +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
Andrea Marchesini
0ca645f0d6
Bug 1534351 - HTMLInputElement should always allow popups for system principal, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D26671
--HG--
extra : moz-landing-system : lando
2019-04-09 19:27:15 +00:00
Christoph Kerschbaumer
e6f0e30f1e
Bug 1542858: Duplicate browser_data_load_inherit_csp.js and use upgrade-insecure-requests. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D26735
--HG--
extra : moz-landing-system : lando
2019-04-10 12:35:03 +00:00
Brindusan Cristian
aac73a89d3
Backed out changeset 2647a23c02bf (bug 1534351) for mochitest failures at test_multipleFilePicker.html. CLOSED TREE
...
--HG--
extra : histedit_source : aa91bdf0dd2666052949d80d9910e03a0d787598
2019-04-09 20:45:05 +03:00