Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: LayoutTests/fast/dom/script-remove-child-id-map.html

Issue 465593003: Merge 178976 "Call insertedInto or removedFrom before childrenCh..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2062/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/script-remove-child-id-map-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 4
5 <script> 5 <script>
6 description("Passes if it doesn't crash and the child is not in the id map"); 6 description("Passes if it doesn't crash and the child is not in the id map");
7 7
8 var script = document.createElement("script"); 8 var script = document.createElement("script");
9 script.type = "dont-execute"; 9 script.type = "dont-execute";
10 script.textContent = "script.remove()"; 10 script.textContent = "script.remove()";
(...skipping 10 matching lines...) Expand all
21 21
22 // but changing the children *will* execute the script now that the type is 22 // but changing the children *will* execute the script now that the type is
23 // is valid. 23 // is valid.
24 child.remove(); 24 child.remove();
25 25
26 child = null; 26 child = null;
27 gc(); 27 gc();
28 28
29 shouldBeNull("document.getElementById('child')"); 29 shouldBeNull("document.getElementById('child')");
30 </script> 30 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/script-remove-child-id-map-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698