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

Side by Side Diff: LayoutTests/fast/css/cloneNode-after-deleteRule-crash.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 9
10 function runtest() { 10 function runtest() {
11 q = document.getElementsByTagName('object')[0].contentDocument; 11 q = document.getElementsByTagName('object')[0].contentDocument;
12 q.styleSheets[0].deleteRule(1); 12 q.styleSheets[0].deleteRule(1);
13 q.getElementsByTagName('head')[0].cloneNode(true); 13 q.getElementsByTagName('head')[0].cloneNode(true);
14 } 14 }
15 15
16 description("This test checks that mutating a stylesheet and then using cloneNod e() in a subdocument doesn't cause a crash."); 16 description("This test checks that mutating a stylesheet and then using cloneNod e() in a subdocument doesn't cause a crash.");
17 17
18 </script> 18 </script>
19 <object data="resources/cloneNode-after-deleteRule-subdocument.html" onload="run test()"/> 19 <object data="resources/cloneNode-after-deleteRule-subdocument.html" onload="run test()"/>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698