gecko-dev/dom/ipc/tests
Nika Layzell bd152e0d88 Bug 1614259 - Ensure BrowisngContexts are detached when nsDocShell is destroyed, r=farre
After bug 1582832, DocShell destruction and BrowsingContext detaching happen
in separate operations, leaving a gap where a DocShell has been destroyed, but
its BrowsingContext is still considered attached. During this gap, the usual
invariant that an in-process, attached BrowsingContext always has an
associated DOM window doesn't hold, nor do the usual invariants for outer
window forwarding security checks.

This patch fixes the detach timing so that a child BrowsingContext for a frame
which has been removed is always marked detached at the same time its DocShell
is destroyed.

Co-authored-by: Kris Maglione <maglione.k@gmail.com>

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

--HG--
extra : moz-landing-system : lando
2020-03-23 13:28:09 +00:00
..
JSWindowActor Bug 1580447 - Expose Content{Parent, Child} to JS;r=nika 2020-03-20 09:11:32 +00:00
.eslintrc.js Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
blob_verify.sjs
browser_cancel_content_js.js Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8 2019-12-13 20:36:48 +00:00
browser_crash_oopiframe.js Bug 1580848 - Clean up some review feedback on the browser_crash_oopiframe.js test. r=kmag 2019-09-13 09:16:19 +00:00
browser_domainPolicy.js Bug 1592596 - Make browser_domainPolicy.js Fission-compatible, r=kmag 2019-11-05 20:53:47 +00:00
browser_ElapsedTime.js
browser_memory_distribution_telemetry.js
browser.ini Bug 1612953 - Fix typo in skipif for browser_memory_distribution_telemetry.js r=Dexter 2020-02-04 15:48:21 +00:00
chrome.ini Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto 2020-03-03 21:16:00 +00:00
elapsed_time.sjs
file_bug1086684.html
file_cancel_content_js.html Bug 1592470 - Don't cancel content JS when "navigating" to javascript: URLs; r=smaug 2019-11-08 02:43:00 +00:00
file_disableScript.html
file_domainPolicy_base.html
mochitest.ini Bug 1585119 - Re-enable many more mochitests on Android; r=geckoview-reviewers,snorp 2019-10-18 14:35:20 +00:00
process_error.xhtml Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto 2020-03-03 21:16:00 +00:00
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_CrashService_crash.html
test_Preallocated.html
test_process_error_oom.xhtml Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto 2020-03-03 21:16:00 +00:00
test_process_error.xhtml Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
test_sharedMap.js
test_temporaryfile_stream.html
test_window_open_discarded_bc.html Bug 1614259 - Ensure BrowisngContexts are detached when nsDocShell is destroyed, r=farre 2020-03-23 13:28:09 +00:00
xpcshell.ini