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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/NodeList/adoptNode-node-list-cache.html

Issue 2818563004: sendBeacon should throw a TypeError on bad URLs. (Closed)
Patch Set: Patch Set 2 was the final submit, 3 was uploaded by mistake. Created 3 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
OLDNEW
1 <head> 1 <head>
2 <script src="../../../resources/gc.js"></script>
2 <script> 3 <script>
3 4
4 var pageHasLoaded = false; 5 var pageHasLoaded = false;
5 var frameHasLoaded = false; 6 var frameHasLoaded = false;
6 7
7 function gc()
8 {
9 if (window.GCController)
10 return GCController.collect();
11
12 for (var i = 0; i < 10000; i++)
13 var s = new String("");
14 }
15
16 function pageLoaded() 8 function pageLoaded()
17 { 9 {
18 if (window.testRunner) 10 if (window.testRunner)
19 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
20 12
21 pageHasLoaded = true; 13 pageHasLoaded = true;
22 if (pageHasLoaded && frameHasLoaded) 14 if (pageHasLoaded && frameHasLoaded)
23 runTest(); 15 runTest();
24 } 16 }
25 17
(...skipping 21 matching lines...) Expand all
47 if (window.testRunner) 39 if (window.testRunner)
48 testRunner.notifyDone(); 40 testRunner.notifyDone();
49 } 41 }
50 42
51 </script> 43 </script>
52 </head> 44 </head>
53 <body onload="pageLoaded()"> 45 <body onload="pageLoaded()">
54 <iframe id="frame" src="resources/adoptNode-node-list-cache-subframe.html" onloa d="frameLoaded()"></iframe> 46 <iframe id="frame" src="resources/adoptNode-node-list-cache-subframe.html" onloa d="frameLoaded()"></iframe>
55 <div id="result">TEST DID NOT RUN YET</div> 47 <div id="result">TEST DID NOT RUN YET</div>
56 </body> 48 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698