Noemi Erli
2d0ab9d2db
Backed out changeset 404955e976d6 (bug 1658454) for causing build bustages in nsDocShell.cpp CLOSED TREE
2020-08-14 01:30:50 +03:00
Csoregi Natalia
568e94a5b4
Backed out 2 changesets (bug 1656997, bug 1656996) for fission failures on browser_preferences_usage.js. CLOSED TREE
...
Backed out changeset c3aaa4f191e6 (bug 1656997)
Backed out changeset e41977f9608f (bug 1656996)
2020-08-14 00:47:56 +03:00
Olli Pettay
7eccb93d2d
Bug 1658454 - nsISHEntry.cacheKey setter for session-history-in-parent, r=peterv
...
SessionHistoryEntry::MaybeSynchronizeSharedStateToInfo call is a tad controversial, but
something like that is needed for the cases when the actual value lives in the SHEntrySharedParentState.
Differential Revision: https://phabricator.services.mozilla.com/D86640
2020-08-13 19:18:29 +00:00
Olli Pettay
f0b7a8b7c9
Bug 1658280 - nsISHEntry.scrollRestorationIsManual setter for session-history-in-parent, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D86547
2020-08-13 19:18:06 +00:00
Olli Pettay
d300e2d275
Bug 1657757 - nsISHEntry.title setter for session-history-in-parent, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D86275
2020-08-13 19:17:38 +00:00
Olli Pettay
6d8b284807
Bug 1656996 - Ensure cross-process session history navigations update child process side index and length, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D85789
2020-08-13 19:17:08 +00:00
Razvan Maries
9f91deb136
Backed out changeset 2eca7dff6597 (bug 1658902) for perma failures on test_history_length_during_pageload.html. CLOSED TREE
2020-08-13 19:00:00 +03:00
Peter Van der Beken
cd584d3fdf
Bug 1658902 - Fix some code for session history in parent to work without the session history implementation in the child. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D86946
2020-08-13 13:07:21 +00:00
Edgar Chen
a59e313573
Bug 1658572 - Do not propagate user activation state while loading loading-error-page (about:neterror); r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D86724
2020-08-13 09:47:08 +00:00
Steven MacLeod
80f3b74cde
Bug 1580596 - Fix usage of nsIDocShellTreeItem in nsDocShell::CheckLoadingPermission r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D56004
2020-08-10 19:36:35 +00:00
Christoph Kerschbaumer
4d84c962e7
Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-10 08:51:44 +00:00
Kartikaya Gupta
112a1b7268
Bug 1657995 - Rename UpdateViewportOverridden to a more appropriate name. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D86491
2020-08-09 21:40:56 +00:00
Bogdan Tara
2891496f1f
Backed out changeset c20c383af4db (bug 1657583) for http related failures CLOSED TREE
2020-08-07 17:13:37 +03:00
Christoph Kerschbaumer
84846ff16b
Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-07 12:50:31 +00:00
Bogdan Tara
5a1b810975
Backed out changeset 5a2241b01c82 (bug 1657583) for DocumentLoadListener.cpp related bustage CLOSED TREE
2020-08-07 14:58:47 +03:00
Christoph Kerschbaumer
8916d5acd9
Bug 1657583: Simplify TestSitePermission within nsHTTPSOnlyUtils r=necko-reviewers,JulianWels,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86178
2020-08-07 11:27:56 +00:00
Emilio Cobos Álvarez
363cc234d2
Bug 1657841 - Remove unused visible tabs tracking. r=edgar
...
This stopped being used at some point and now it's just useless.
Differential Revision: https://phabricator.services.mozilla.com/D86322
2020-08-07 09:40:07 +00:00
Csoregi Natalia
1d46598d45
Backed out 3 changesets (bug 1648887, bug 1611961) for assertion failures on WindowContext.cpp. CLOSED TREE
...
Backed out changeset 3719f7db339d (bug 1648887)
Backed out changeset b7c7fcb5df37 (bug 1648887)
Backed out changeset ab82a9c613f8 (bug 1611961)
2020-08-06 17:43:51 +03:00
Edgar Chen
ef727eb50f
Bug 1611961 - Move UserActivationState from BrowsingContext to WindowContext; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D83126
2020-08-06 10:25:00 +00:00
Butkovits Atila
7aa3c5898d
Backed out 10 changesets (bug 1589102) for failure at browser_saveHeapSnapshot_e10s_01.js CLOSED TREE
...
Backed out changeset 0d22ad297b19 (bug 1589102)
Backed out changeset 14bcaf2a452c (bug 1589102)
Backed out changeset 20905f91e2bb (bug 1589102)
Backed out changeset 29ee0fbe855f (bug 1589102)
Backed out changeset d1f6185030af (bug 1589102)
Backed out changeset 31949872cc1d (bug 1589102)
Backed out changeset ec04e1a20597 (bug 1589102)
Backed out changeset ffe8da473b91 (bug 1589102)
Backed out changeset 3b92f7306c64 (bug 1589102)
Backed out changeset b187548e258f (bug 1589102)
2020-08-05 21:47:50 +03:00
Anny Gakhokidze
d0d9ae5dc4
Bug 1589102 - Part 1: Enable about:srcdoc loads via DocumentChannel, r=mattwoodrow
...
This patch enables sandboxed srcdoc loads to take place via DocumentChannel,
and adds mechanisms for enabling unsandboxed ones.
Both unsandboxed srcdoc, and in subsequent patches, about:blank, loads require
that the triggering principal and the principal to inherit point to the same
instance if the load takes place in the same process as where we are inheriting
those principals from. We save those principals on a target browsing context before
we load the URI, and later, when we are deserializing LoadInfoArgs into
LoadInfo in the content process, we retrieve the saved principals if the
current load identifier of the target BC matches the load identifier saved
along with the principals.
We also need to make sure that during a process switch for about:srcdoc load,
we don't use the original URI for about:srcdoc to determine the remote type and
instead we use channel's result principal.
Differential Revision: https://phabricator.services.mozilla.com/D85079
2020-08-05 16:44:01 +00:00
Christoph Kerschbaumer
0cb673ad61
Bug 1657348: Simplify CouldBeHttpsOnlyError within docshell. r=JulianWels
...
Differential Revision: https://phabricator.services.mozilla.com/D86009
2020-08-05 15:18:01 +00:00
Nika Layzell
6174cf47c9
Bug 1653729 - Part 1: Generalize do_QueryActor API, r=kmag
...
This changes the set of types which can be passed as the second argument to
do_QueryActor to ones which can be unambiguously converted to a JSActorManager,
and combines nsCOMPtr_helper implementations.
Differential Revision: https://phabricator.services.mozilla.com/D84067
2020-08-04 21:34:29 +00:00
Anny Gakhokidze
5612ec521f
Bug 1654922 - Part 1: Remove DocumentChannel pref usage from tests and document navigation code, r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D85483
2020-08-01 16:36:12 +00:00
Steven MacLeod
8c56d26543
Bug 1646567 - fix nsDocShell::HasUnloadedParent to work for OOP frames. r=nika
...
With fission enabled, walking the docshell tree to find unloaded
parents would stop at the first OOP parent. Instead we now walk
the `BrowsingContext`/`WindowContext` tree. To still check parents
which are OOP, we take advantage of the fact that a parent
`WindowContext` will no longer be the current `WindowContext` if
the parent was unloaded. For in process docshell's we additionally
check the docshell directly.
Differential Revision: https://phabricator.services.mozilla.com/D85328
2020-07-31 19:58:09 +00:00
Butkovits Atila
81de7a9763
Backed out changeset 6164e09df60e (bug 1646567) for nsDocShell failures. CLOSED TREE
2020-07-31 21:26:45 +03:00
Steven MacLeod
223a5f5df0
Bug 1646567 - fix nsDocShell::HasUnloadedParent to work for OOP frames. r=nika
...
With fission enabled, walking the docshell tree to find unloaded
parents would stop at the first OOP parent. Instead we now walk
the `BrowsingContext`/`WindowContext` tree. To still check parents
which are OOP, we take advantage of the fact that a parent
`WindowContext` will no longer be the current `WindowContext` if
the parent was unloaded. For in process docshell's we additionally
check the docshell directly.
Differential Revision: https://phabricator.services.mozilla.com/D85328
2020-07-31 16:23:58 +00:00
Andreas Farre
b447c24f6c
Bug 1613431 - Part 3: Handle synced setters return value. r=nika
...
Depends on D83646
Differential Revision: https://phabricator.services.mozilla.com/D83647
2020-07-31 13:37:13 +00:00
Andreas Farre
a531ef1d94
Bug 1613431 - Part 2: Ignore synced setters return value. r=nika
...
Depends on D83645
Differential Revision: https://phabricator.services.mozilla.com/D83646
2020-07-31 13:37:00 +00:00
Nika Layzell
959ca86280
Bug 1648955 - Check parent WC is in-proc rather than parent BC nsDocShell to tree, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D85309
2020-07-30 12:27:12 +00:00
Steven MacLeod
cfb6f98c3d
Bug 1647449 - fix nsDocShell::DetermineContentType to work for OOP frames. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D85194
2020-07-29 15:41:40 +00:00
Sebastian Streich
346b193c48
Bug 1558394 - Pass the TriggeringSandboxFlags to nsILoadinfo r=ckerschb,smaug,necko-reviewers,valentin
...
Add triggering Sandbox flags to loadinfo
***
Pass triggering Flags into Loadinfo
***
Fix triggeringSandboxflags passing
Differential Revision: https://phabricator.services.mozilla.com/D69588
2020-07-29 11:43:23 +00:00
Peter Van der Beken
674a0e0f36
Bug 1655735 - Remove nsIDocShell::GetOSHEId. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D85146
2020-07-28 14:17:49 +00:00
Nika Layzell
49917de283
Bug 1648955 - Stop process changing loads in inactive subframes, r=mattwoodrow,annyG
...
Differential Revision: https://phabricator.services.mozilla.com/D84752
2020-07-24 22:19:38 +00:00
Olli Pettay
c0a4310e33
Bug 1647229 - Synchronize layouthistorystate to parent process, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D81753
2020-07-23 19:35:29 +00:00
prathiksha
d43e6ba83b
Bug 1653839 - Fix error 'mozilla/dom/RTCCertificateBinding.h' file not found on mingw builds. r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D84480
2020-07-22 16:22:55 +00:00
Dan Glastonbury
23f70228fe
Bug 1646899 - P4: Handle object & embed via DocumentChannel. r=mattwoodrow,jya
...
Pass internal content policy type to DLL and switch behavior depending on type
being loaded. This implementation immediately redirects channel back to the
content process for further handling.
Depends on D80406
Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-21 01:01:05 +00:00
Dan Glastonbury
0cbe9e3810
Bug 1646899 - P3: Modify CanUseDocumentChannel to take necessary vars. r=mattwoodrow
...
Allows checking if DocumentChannel can be used with out creating an
nsDocShellLoadState object.
Depends on D80405
Differential Revision: https://phabricator.services.mozilla.com/D80406
2020-07-21 01:01:03 +00:00
prathiksha
8f55113fa7
Bug 1617987 - Fix URLs by prefixing www. when users encounter bad cert domain errors. r=nika,keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D82024
2020-07-18 13:38:59 +00:00
Olli Pettay
43a947cd3b
Bug 1602115 - Make history.length Fission compatible, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D79197
2020-07-16 22:23:29 +00:00
Kris Maglione
b7c7968da8
Bug 1652849: Use NotifyWhenScriptSafe for some additional observers. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D83845
2020-07-16 20:44:51 +00:00
Edgar Chen
a275e72f12
Bug 1653214 - Part 2: Remove nsIBaseWindow::Create; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D83767
2020-07-16 20:42:20 +00:00
Edgar Chen
3e6487ae46
Bug 1653214 - Part 1: Merge implementations of nsDocShell::Create into nsDocShell::InitWindow; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D83766
2020-07-16 20:42:02 +00:00
Razvan Maries
22f0615ea7
Backed out 3 changesets (bug 1653123, bug 1602115) for perma failures on test_history_length_during_pageload.html. CLOSED TREE
...
Backed out changeset 6b3c0f542ef3 (bug 1653123)
Backed out changeset 951c0fd65a00 (bug 1602115)
Backed out changeset 258d0ebd9e34 (bug 1602115)
2020-07-16 23:21:18 +03:00
Olli Pettay
81ced2e67b
Bug 1602115 - Make history.length Fission compatible, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D79197
2020-07-16 19:01:36 +00:00
Peter Van der Beken
915cfcc864
Bug 1648040 - Use the new session history if pref is on. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D80885
2020-07-16 14:04:59 +00:00
Peter Van der Beken
42df6e4e35
Bug 1648038 - Don't require session history object when creating an entry. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D80883
2020-07-14 11:14:46 +00:00
Frederik Braun
617d3006d9
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Peter Van der Beken
9bcd1edd65
Bug 1644140 - Remove nsDocShell::AddChildSHEntryInternal and make some session history code in nsDocShell work with fission. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D78686
2020-07-13 15:42:15 +00:00
Narcis Beleuzu
84c2303e03
Backed out 5 changesets (bug 1646899) for mochitest failures on DocumentLoadListener.cpp . CLOSED TREE
...
Backed out changeset f41ac122a801 (bug 1646899)
Backed out changeset 86a5e0827050 (bug 1646899)
Backed out changeset d2fd0f955e24 (bug 1646899)
Backed out changeset 7a7194146fe1 (bug 1646899)
Backed out changeset 4731d76dae88 (bug 1646899)
2020-07-13 05:43:30 +03:00