Bug 102350

Summary: Write test for frame disconnection in ShadowRoots
Product: WebKit Reporter: Elliott Sprehn <esprehn>
Component: DOMAssignee: Elliott Sprehn <esprehn>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: abarth, dominicc, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 101619, 102333    
Bug Blocks:    

Elliott Sprehn
Reported 2012-11-15 01:15:00 PST
We should have a test for frame disconnection across shadow boundaries.
Attachments
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.