зеркало из https://github.com/mozilla/gecko-dev.git
1722817403
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 |
||
---|---|---|
.. | ||
JSWindowActor | ||
.eslintrc.js | ||
blob_verify.sjs | ||
browser.ini | ||
browser_ElapsedTime.js | ||
browser_cancel_content_js.js | ||
browser_crash_oopiframe.js | ||
browser_domainPolicy.js | ||
browser_memory_distribution_telemetry.js | ||
chrome.ini | ||
elapsed_time.sjs | ||
file_bug1086684.html | ||
file_cancel_content_js.html | ||
file_disableScript.html | ||
file_domainPolicy_base.html | ||
mochitest.ini | ||
process_error.xhtml | ||
test_CrashService_crash.html | ||
test_Preallocated.html | ||
test_blob_sliced_from_child_process.html | ||
test_blob_sliced_from_parent_process.html | ||
test_bug1086684.html | ||
test_child_docshell.html | ||
test_cpow_cookies.html | ||
test_process_error.xhtml | ||
test_sharedMap.js | ||
test_temporaryfile_stream.html | ||
test_window_open_discarded_bc.html | ||
xpcshell.ini |