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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-element-crash.html

Issue 14731014: Added another guard to the NodeRenderingContext::nextSibling() fast path and its twin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/shadow/content-element-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 <html>
3 <head></head>
4 <body>
5 <div id="target"></div>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 var target = document.getElementById("target");
10 var shadow = target.webkitCreateShadowRoot();
11 shadow.innerHTML = "<div> <content></content> </div>";
12
13 var style = document.createElement("style");
14 style.innerHTML = " p { display: none; } "; // Contents doesn't matter.
15 document.head.appendChild(style);
16 </script>
17 <div>PASS unless crash.</div>
18 </body>
19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/content-element-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698