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

Side by Side Diff: LayoutTests/fast/html/details-summary-document-child.html

Issue 375293002: Node.insertBefore and Node.appendChild do not use custom binding anymore (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace assert with condition Created 6 years, 5 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
OLDNEW
1 <html> 1 <html>
2 <body onload="test()"> 2 <body onload="test()">
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 function test() { 7 function test() {
8 document.open(); 8 document.open();
9 document.insertBefore(document.createElement("summary")); 9 document.insertBefore(document.createElement("summary"), null);
10 // The document don't have <body> so we need use console.log() 10 // The document don't have <body> so we need use console.log()
11 // to make readable expectation. 11 // to make readable expectation.
12 console.log("PASS unless crash"); 12 console.log("PASS unless crash");
13 } 13 }
14 </script> 14 </script>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698