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

Side by Side Diff: LayoutTests/fast/dom/id-attribute-shared.html

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/gc.js"></script> 3 <script src="../../resources/gc.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
(...skipping 19 matching lines...) Expand all
30 object1.id = 4294967294; 30 object1.id = 4294967294;
31 template2 = document.createElement('template'); 31 template2 = document.createElement('template');
32 object1.insertAdjacentElement("afterbegin", embed); 32 object1.insertAdjacentElement("afterbegin", embed);
33 title = document.createElement('title'); 33 title = document.createElement('title');
34 title.appendChild(embed); 34 title.appendChild(embed);
35 object2 = document.createElement('object'); 35 object2 = document.createElement('object');
36 object2.id = 'object10901'; 36 object2.id = 'object10901';
37 template2content = template2.content; 37 template2content = template2.content;
38 object1.parentNode.removeChild(object1); 38 object1.parentNode.removeChild(object1);
39 object1 = null; 39 object1 = null;
40 textnode1 = document.createTextNode(); 40 textnode1 = document.createTextNode('');
41 node3 = document.importNode(textnode1, true); 41 node3 = document.importNode(textnode1, true);
42 object2.appendChild(node3); 42 object2.appendChild(node3);
43 template2content.appendChild(object2); 43 template2content.appendChild(object2);
44 gc(); 44 gc();
45 object2.cloneNode(); 45 object2.cloneNode();
46 document.location='data:text/html,<body>PASS<script>if (window.testRunner) t estRunner.notifyDone()</scr' + 'ipt></body>'; 46 document.location='data:text/html,<body>PASS<script>if (window.testRunner) t estRunner.notifyDone()</scr' + 'ipt></body>';
47 } 47 }
48 48
49 runTest(); 49 runTest();
50 </script> 50 </script>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698