gecko-dev/dom
Kris Maglione 1722817403 Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika
There are all sorts of lifecycle issues which arise from making DocShell
responsible for discarding BrowsingContexts. In this particular bug, we tend
to run into them in cases where we create a BrowsingContext for a FrameLoader,
and then never create a DocShell for it, leading to it never being destroyed.
But there are myriad other issues as well.

This patch moves the responsibility for BrowsingContext lifecycle management
to the FrameLoader/FrameLoaderOwner, rather than the DocShell, which makes
things more consistent, and more closely aligns with spec-defined behavior.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 19:07:56 +00:00
..
abort
animation Bug 1613349 - Rename nsINode::DeleteProperty to RemoveProperty. r=smaug 2020-02-06 16:06:49 +00:00
audiochannel
base Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika 2020-02-06 19:07:56 +00:00
battery Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
bindings Bug 1152078. Remove the const_cast<ErrorResult> bits from DOM cache code. r=Ehsan 2020-02-05 16:15:07 +00:00
broadcastchannel Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 5 - more tests, r=smaug 2020-02-06 13:48:30 +00:00
browser-element
cache Bug 1152078. Remove the const_cast<ErrorResult> bits from DOM cache code. r=Ehsan 2020-02-05 16:15:07 +00:00
canvas Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert 2020-02-03 20:37:32 +00:00
chrome-webidl Bug 1612510 - Remove IsChromeOrXBL*. r=bzbarsky 2020-02-04 21:28:57 +00:00
clients Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug 2020-02-06 13:46:25 +00:00
commandhandler Bug 1606187 - Part 2b: Update users of nsClassHashtable to handle UniquePtr differences r=KrisWright,froydnj 2020-01-13 19:18:56 +00:00
console Bug 1613147 - Console API on worker dispatches messages to the main-thread behind prefs, r=asuth 2020-02-04 16:04:08 +00:00
credentialmanagement
crypto bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
debugger
docs Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre 2020-01-21 21:32:28 +00:00
encoding bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
events Bug 1523853: Change a mousewheel test to wait on the outcome, not the trigger. r=kats 2020-02-06 15:16:05 +00:00
fetch bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
file Bug 1611509 part 3. Remove the Date type from Web IDL. r=edgar 2020-01-27 08:50:35 +00:00
filehandle Bug 1607791 - Get rid of IDBMutableFile.getFile() - part 1, r=asuth,janv 2020-01-15 12:02:21 +00:00
filesystem
flex
gamepad bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
geolocation Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
grid
html Bug 1613349 - Rename nsINode::DeleteProperty to RemoveProperty. r=smaug 2020-02-06 16:06:49 +00:00
imptests
indexedDB Bug 1612213 part 1. Switch most consumers of ThrowDOMException to the new methods. r=smaug,jgilbert 2020-02-03 20:19:11 +00:00
interfaces Bug 1574307 - Part 2. Add nsIDOMWindowUtils.getViewportFitInfo r=smaug 2020-01-20 08:40:20 +00:00
ipc Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika 2020-02-06 19:07:56 +00:00
jsurl Bug 1597257: Monitor use of javascript: URIs in system privileged contexts and about: pages. r=bzbarsky 2020-01-16 16:06:42 +00:00
l10n
locales Bug 1613292. Stop throwing localized errors from web share code to web content. r=farre 2020-02-05 14:22:41 +00:00
localstorage Bug 1613411 - Remove unnecessary const_cast. r=dom-workers-and-storage-reviewers,janv 2020-02-05 16:09:52 +00:00
manifest Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE 2020-01-20 20:57:54 +02:00
mathml Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
media Bug 1582832: Part 1 - Make FrameLoader owner rather than DocShell responsible for discarding a BC. r=nika 2020-02-06 19:07:56 +00:00
messagechannel Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 5 - more tests, r=smaug 2020-02-06 13:48:30 +00:00
midi bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
network bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
notification Bug 1610704 - Add missing call to base class' Cancel. r=baku 2020-01-22 21:35:55 +00:00
offline
payments Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo 2020-01-17 19:29:09 +00:00
performance Bug 1597453 - Fix uses of nsIDocShellTreeItem in mozilla::dom::PerformanceTiming::IsTopLevelContentDocument. r=kmag 2020-01-16 04:47:51 +00:00
permission
plugins Bug 1610566 - Prevent child processes crashing before the exception-handler is in place from triggering an assertion in the parent process r=froydnj 2020-01-23 21:33:37 +00:00
power
presentation Bug 1606813 - Disable broken test_tcp_control_channel.js. r=kershaw 2020-02-06 17:01:09 +00:00
prio bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
promise Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert 2020-02-03 20:37:32 +00:00
prototype Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
push Bug 1608281 - Automated rewrite away from reading properties on the global this in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
quota Bug 1607770 - Drop QM_REPOSITORIES_INITIALIZATION_TIME; r=janv 2020-01-17 18:32:44 +00:00
reporting Backed out changeset 228931ff1d49 (bug 1607364) for mochitest failures. CLOSED TREE 2020-01-28 22:03:47 +02:00
res
script Bug 1607769 - Remove script loader telemetry added by Bug 1579876 and Bug 1573904. r=jorendorff 2020-02-03 18:55:44 +00:00
security Bug 1612707 - Disable various slow tests under TSan. r=froydnj 2020-02-04 14:34:07 +00:00
serviceworkers Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug 2020-02-06 13:46:25 +00:00
simpledb
smil Bug 1612444. Improve some error messages for exceptions in layout. r=emilio 2020-02-03 20:35:54 +00:00
storage Bug 1597726 - use storage principal to generate origin key; r=Ehsan 2020-01-20 19:58:24 +00:00
svg Bug 1613349 - Rename nsINode::UnsetProperty to nsINode::TakeProperty. r=smaug 2020-02-05 22:26:20 +00:00
system
tests Bug 1484213 - Try to make browser_autofocus_background.js more reliable. r=dao 2020-02-05 13:14:42 +00:00
u2f Bug 1603100 - Remove the unused line in U2F.cpp. r=sylvestre 2020-02-03 16:13:34 +00:00
url Bug 1612519 - Fix "Terminating worker revokes its URLs" WPT, r=smaug 2020-02-02 09:24:37 +00:00
vr bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
webauthn Bug 1610732 part 2. Throw the right exception when a user.id value is too long. r=jcj 2020-01-22 16:53:09 +00:00
webbrowserpersist Bug 1526731 - pass content policy to webbrowserpersist to improve image request headers, r=smaug,johannh 2020-01-23 08:36:00 +00:00
webgpu Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert 2020-02-03 20:37:32 +00:00
webidl Bug 1591199: Reduce redundant code. r=mjf,smaug 2020-02-06 15:50:03 +00:00
websocket bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
workers Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 8 - usage of IsSharedMemoryAllowed, r=smaug 2020-02-06 13:51:07 +00:00
worklet Bug 1612570 - Add promise support to worklet, r=smaug 2020-02-06 13:54:19 +00:00
xhr Bug 1575425 - Part 4: Remove manually checking shareness in various APIs implmentation; r=bzbarsky 2020-01-23 13:51:04 +00:00
xml Bug 1613349 - Rename nsINode::DeleteProperty to RemoveProperty. r=smaug 2020-02-06 16:06:49 +00:00
xslt Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
xul Bug 1533406 - Extend private browsing lifetime for gecko view too. r=smaug 2020-01-22 22:06:58 +00:00
jar.mn
moz.build