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

Side by Side Diff: LayoutTests/fast/dom/HTMLStyleElement/style-onload-remove-crash.html

Issue 203253006: Don't call ill-balanced removeStyleSheetCandidateNode() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/HTMLStyleElement/style-onload-remove-crash-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
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <script src="../../../resources/js-test.js"></script>
4 <div></div>
5 <script>
6 myDiv = document.body.querySelector("div");
7
8 newStyle = document.createElement("style");
9 newStyle.onload = function() { document.body.appendChild(myDiv); }
10 document.body.appendChild(newStyle);
11
12 newDiv = document.createElement("div");
13 // Inserting <iframe> into tree flushes the pending @onload event.
14 newDiv.innerHTML = "<iframe></iframe><style></style>";
15 myDiv.createShadowRoot().appendChild(newDiv);
16
17 debug("PASS unless crash");
18 </script>
19 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLStyleElement/style-onload-remove-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698