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

Side by Side Diff: LayoutTests/fast/xsl/modify-xsl-while-loading-crash.html

Issue 429363004: Should clear sheet when ProcessingInstruction's removedFrom or attributeChanged (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/xsl/modify-xsl-while-loading-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 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5
6 onload = function() {
7 var iframe = document.createElement('iframe');
8 document.getElementById("div").appendChild(iframe);
9 var iframeDoc = iframe.contentWindow.document;
10 var style = iframeDoc.createProcessingInstruction('xml-stylesheet', 'href="n ull.css" type="text/css"');
11 iframeDoc.insertBefore(style, iframeDoc.firstChild);
12 style.deleteData(0, 0);
13 style.deleteData(10, 1);
14 }
15 </script>
16 <div id="div">PASS</div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/xsl/modify-xsl-while-loading-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698