WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
102350
Write test for frame disconnection in ShadowRoots
https://bugs.webkit.org/show_bug.cgi?id=102350
Summary
Write test for frame disconnection in ShadowRoots
Elliott Sprehn
Reported
2012-11-15 01:15:00 PST
We should have a test for frame disconnection across shadow boundaries.
Attachments
Add attachment
proposed patch, testcase, etc.
Dominic Cooney
Comment 1
2013-03-14 19:35:04 PDT
What is frame disconnection?
Adam Barth
Comment 2
2013-03-15 14:00:55 PDT
> What is frame disconnection?
When a frame gets removed from the DOM, it's connection to the Page is removed. There's a disconnectFrame function that's a good place to start looking.
Elliott Sprehn
Comment 3
2013-03-15 18:04:36 PDT
Specifically this just needs a test like: div = document.createElement('div'); iframe = document.createElement('iframe'); root = div.webkitCreateShadowRoot(); root.appendChild(iframe); document.body.appendChild(div); ASSERT(iframe.contentDocument); div.remove(); ASSERT(iframe.contentDocument == null);
Ryosuke Niwa
Comment 4
2020-08-18 10:48:02 PDT
We have this already.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug