Nika Layzell
79c8ef3bf4
Bug 1523638 - Part 8: Remove unused arguments from nsDocShell::Embed(), r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D37655
2019-07-18 19:38:20 +00:00
Nika Layzell
b389df592e
Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37651
2019-07-18 19:38:12 +00:00
Benjamin
d4d9c94534
Bug 1566453: Added flag to detect if a load was initiated by a form submission r=ckerschb
...
The flag in loadinfo can be used to detect if a load was initiated by a form submission. This is crucial for implmenting the CSP directive navigate-to. https://www.w3.org/TR/CSP3/#navigate-to-pre-navigate
Differential Revision: https://phabricator.services.mozilla.com/D38403
2019-07-22 13:41:47 +00:00
Cameron McCormack
ef94bb8cdd
Bug 1566215 - Part 6: Undo the insecure URI loading exception for the Layout Debugger. r=dbaron
...
Differential Revision: https://phabricator.services.mozilla.com/D38416
2019-07-22 04:48:46 +00:00
Kris Maglione
1754243c71
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
2019-07-03 16:09:20 -07:00
Bogdan Tara
8aef5e7fca
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
Boris Zbarsky
3ee3a0b8d9
Bug 1566543. Stop using [array] for get/setColorMatrix. r=eeejay
...
Differential Revision: https://phabricator.services.mozilla.com/D38222
2019-07-16 18:30:10 +00:00
Nika Layzell
5cc63b3949
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
2019-07-16 18:47:56 +00:00
Nika Layzell
02d7cb9efb
Bug 1523638 - Part 8: Remove unused arguments from nsDocShell::Embed(), r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D37655
2019-07-16 18:47:54 +00:00
Nika Layzell
7f4c71a43d
Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37651
2019-07-16 18:47:41 +00:00
Cameron McCormack
e58fc7bfbe
Bug 1565965 - Allow unsafe loads in the Layout Debugger. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D38037
2019-07-16 03:47:56 +00:00
Boris Zbarsky
011222050d
Bug 1565767 part 4. Remove some unnecesary refcounting at Document::GetBaseURI callsites. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D37972
2019-07-15 18:28:43 +00:00
Gijs Kruitbosch
0dabfb20b0
Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D36312
2019-07-12 16:29:01 +00:00
Dorel Luca
a2abe7cb8f
Backed out 5 changesets (bug 1560178) for Browser-chrome failures in builds/worker/workspace/build/src/dom/base/Document.cpp. CLOSED TREE
...
Backed out changeset 1ff8a41dd3c1 (bug 1560178 )
Backed out changeset 4aaeda889656 (bug 1560178 )
Backed out changeset b1dfc0b5a14c (bug 1560178 )
Backed out changeset 45fca0f1b675 (bug 1560178 )
Backed out changeset fc2be64e4ece (bug 1560178 )
2019-07-12 18:38:34 +03:00
Gijs Kruitbosch
1fd1667364
Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D36312
2019-07-12 12:36:33 +00:00
Ehsan Akhgari
297dbc461e
Bug 1565373 - Use the intrinsic storage principal when inheriting directly; r=baku
...
We shouldn't perform an anti-tracking check here, since that may result
in us picking the node principal unintentionally.
Differential Revision: https://phabricator.services.mozilla.com/D37811
2019-07-12 09:08:38 +00:00
Emilio Cobos Álvarez
9b6e807979
Bug 1218456 - Remove nsILinkHandler. r=smaug
...
Interfaces with just one implementation don't seem very useful.
Differential Revision: https://phabricator.services.mozilla.com/D37406
2019-07-09 23:08:05 +02:00
Dorel Luca
7a5944a08d
Backed out 5 changesets (bug 1218456) for Crashtest failures on dom/l10n/tests/mochitest/dom_localization/test_overlay.html. CLOSED TREE
...
Backed out changeset 31afe89c2d42 (bug 1218456)
Backed out changeset 8bd57ebc4528 (bug 1218456)
Backed out changeset e5d37afff36a (bug 1218456)
Backed out changeset e3da86278ecf (bug 1218456)
Backed out changeset 343046089f8e (bug 1218456)
2019-07-09 22:04:13 +03:00
Emilio Cobos Álvarez
ba7fec9fd4
Bug 1218456 - followup: Fix MinGW build bustage.
...
CLOSED TREE
2019-07-09 19:24:20 +02:00
Emilio Cobos Álvarez
19f9994690
Bug 1218456 - Remove nsILinkHandler. r=smaug
...
Interfaces with just one implementation don't seem very useful.
Differential Revision: https://phabricator.services.mozilla.com/D37406
2019-07-09 16:17:47 +00:00
Nicholas Nethercote
f32d068858
Bug 1563996 - Make privacy.trackingprotection.{pbmode.,}enabled static prefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D37202
2019-07-09 07:59:22 +00:00
Nicholas Nethercote
03e42804b0
Bug 1563996 - Make browser.xul.error_pages.enabled a static pref. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D37201
2019-07-09 07:59:03 +00:00
Jonathan Kingston
32524b62e2
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00
Kershaw Chang
df861c4185
Bug 1563824 - New error NS_ERROR_TOO_MANY_REQUESTS for 429 response r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37140
2019-07-06 21:46:00 +00:00
Thomas Nguyen
1ceb823ce6
Bug 1556827 - Dont send referrer in case of meta refresh redirect r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D35810
2019-07-04 19:58:35 +00:00
arthur.iakab
21f8d052a5
Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
...
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Sebastian Streich
1d5f0d116f
Bug 1552168 - Remove Pref data_uri.unique_opaque_origin r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35005
2019-07-03 10:23:29 +00:00
Andrew McCreight
83e99493cd
Bug 1560977 - Annotate crash reports if Fission is enabled. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D36530
2019-07-02 21:08:55 +00:00
Valentin Gosu
b784b8d063
Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D35839
2019-06-30 20:20:51 +00:00
Narcis Beleuzu
c89f431fab
Backed out changeset 2719ba46ac12 (bug 1551601) for causing xpcshell failures. CLOSED TREE
2019-06-29 02:41:31 +03:00
Valentin Gosu
cb63a0c66f
Bug 1551601 - When performing a cross process redirect update the loadInfo to have the correct browsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D35839
2019-06-28 21:10:13 +00:00
Andreas Farre
9fcc5f2a2d
Bug 1555287 - Make sure to detach browsing context children early. r=nika
...
Always move browsing contexts to the cache, even if we're not caching
the docshell. If we're not moving to bfcache, BrowsingContext::Detach
will detach as normal.
Differential Revision: https://phabricator.services.mozilla.com/D35594
2019-06-27 13:31:58 +00:00
Hiroyuki Ikezoe
f9bc9ef982
Bug 1560237 - Introduce nsIScrollableFrame::IsSmoothScroll. r=botond
...
This is pretty much the same as ScrollStyles::IsSmoothScroll right now,
but in the next commit, we will no longer propagate scroll-behavior on <body> to
the root element so that nsIScrollableFrame::IsSmoothScroll will be changed
to reflect it.
Differential Revision: https://phabricator.services.mozilla.com/D35737
2019-06-26 20:59:01 +00:00
Nicholas Nethercote
09dc756dbf
Bug 1500829 - Remove nsIDocShell::shouldSaveLayoutState. r=nika
...
It's unused.
Differential Revision: https://phabricator.services.mozilla.com/D34949
2019-06-25 22:06:39 +00:00
Ciure Andrei
985ba69b12
Backed out changeset a30ecde306ef (bug 1555287) for causing bug 1559537 a=backout
2019-06-25 09:36:36 +03:00
Valentin Gosu
252d385203
Bug 1555036 - If there is a Cross-Origin-Opener-Policy mismatch and the SANDBOXED_AUXILIARY_NAVIGATION is set navigate to a network error r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D34420
2019-06-14 21:48:51 +00:00
Andreas Farre
d46b408846
Bug 1555287 - Make sure to detach browsing context children early. r=nika
...
Waiting for docshells and frameloaders to destroy will leave attached
browsing contexts attached too long. In case the children of a
browsing contexts cannot be cached we want to detach all of them as
soon as possible.
Also normalizes the use of BrowsingContext::mGroup.
Differential Revision: https://phabricator.services.mozilla.com/D33602
2019-06-13 16:11:47 +00:00
Noemi Erli
d2f577db57
Backed out changeset c807d0b9d872 (bug 1555287) for valgrind bustages CLOSED TREE
2019-06-13 12:50:32 +03:00
Andreas Farre
28ad206e7f
Bug 1555287 - Make sure to detach browsing context children early. r=nika
...
Waiting for docshells and frameloaders to destroy will leave attached
browsing contexts attached too long. In case the children of a
browsing contexts cannot be cached we want to detach all of them as
soon as possible.
Also normalizes the use of BrowsingContext::mGroup.
Differential Revision: https://phabricator.services.mozilla.com/D33602
2019-06-12 15:35:17 +00:00
Ehsan Akhgari
5cccca47c6
Bug 1557887 - Part 10: Prevent initial about:blank documents from escaping out of partitioned storage by using the correct storage principal when creating them; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34464
2019-06-12 18:47:25 +00:00
Ehsan Akhgari
3054fa72d0
Bug 1557887 - Part 3: Extend nsIDocShell.createAboutBlankContentViewer() to accept a storage principal argument; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34457
2019-06-12 09:04:24 +00:00
Ehsan Akhgari
114bc6a4ec
Bug 1557887 - Part 2: Add the nsISHEntry.storagePrincipalToInherit attribute; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34456
2019-06-12 23:01:56 +00:00
Ehsan Akhgari
5f993e4983
Bug 1558628 - Add back nsIDocShell.hasTrackingContentBlocked since it is used in the webcompat report-site-issue extension; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34613
2019-06-12 09:01:51 +00:00
Sean Feng
60f4bc3ba6
Bug 1512388 - Add loading cross domain iframes in background r=smaug
...
This patch adds the ability to load cross domain iframes in the
background to make the top level documents finish earlier.
This is an experiment feature that we'll keep it disabled by default.
Differential Revision: https://phabricator.services.mozilla.com/D24938
2019-06-11 20:43:40 +00:00
Boris Zbarsky
95de682140
Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34196
2019-06-11 15:51:51 +00:00
Christoph Kerschbaumer
1a2e0be13f
Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33499
2019-06-06 20:19:56 +00:00
Bogdan Tara
4b6718bb8e
Backed out 2 changesets (bug 1555050) for test_reloadInFreshProcess.html failures CLOSED TREE
...
Backed out changeset f5e954d593f8 (bug 1555050)
Backed out changeset b5b99e78b753 (bug 1555050)
2019-06-06 23:13:52 +03:00
Christoph Kerschbaumer
c450f31f10
Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33499
2019-06-06 18:09:03 +00:00
Nika Layzell
d5729dfedc
Bug 1555488 - Part 1: Clear WindowProxy cache when flipping processes, r=peterv,mccr8
...
This is sorta-part of the work for bug 1510760. Currently if you do a process
switch, the window proxy state is completely borked, and a lot of stuff doesn't
work.
This patch aims to make it so that, while not transplanted correctly, methods
generally don't return the wrong WindowProxy object anymore after a process
swap.
Differential Revision: https://phabricator.services.mozilla.com/D33082
2019-06-06 14:57:18 +00:00
Thomas Nguyen
5a46d126ce
Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs
...
Also, in many place, we use document uri as referrer. It is not right
for the case srdoc iframe. We should use the last non-srdoc parent
document's uri
Differential Revision: https://phabricator.services.mozilla.com/D30191
2019-06-06 07:23:37 +00:00