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

Side by Side Diff: LayoutTests/http/tests/misc/object-image-load-outlives-gc-without-crashing.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 <script src="/js-test-resources/js-test-pre.js"></script> 1 <script src="/js-test-resources/js-test.js"></script>
2 <script> 2 <script>
3 3
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 } 7 }
8 8
9 function loaded() { 9 function loaded() {
10 // If the garbage collection causes the image load to stop and therefore causes the load event to fire on the main frame, we failed. 10 // If the garbage collection causes the image load to stop and therefore causes the load event to fire on the main frame, we failed.
11 alert("FAIL: The load event fired"); 11 alert("FAIL: The load event fired");
(...skipping 27 matching lines...) Expand all
39 function removeTheDiv() { 39 function removeTheDiv() {
40 var element = window.document.getElementById("thediv"); 40 var element = window.document.getElementById("thediv");
41 element.parentNode.removeChild(element); 41 element.parentNode.removeChild(element);
42 element = null; 42 element = null;
43 setTimeout("forceGC();", 0); 43 setTimeout("forceGC();", 0);
44 } 44 }
45 45
46 setTimeout("removeTheDiv();", 0); 46 setTimeout("removeTheDiv();", 0);
47 47
48 </script> 48 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698