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

Side by Side Diff: LayoutTests/fast/html/imports/import-destroy-stress.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <link rel="import" href="resources/import-destroy-stress-ref.html"> 3 <link rel="import" href="resources/import-destroy-stress-ref.html">
4 <script> 4 <script>
5 5
6 window.jsTestIsAsync = true; 6 window.jsTestIsAsync = true;
7 7
8 var iteration = 20; 8 var iteration = 20;
9 var count = parseInt(window.localStorage['count'] || '0'); 9 var count = parseInt(window.localStorage['count'] || '0');
10 if (iteration < count) { 10 if (iteration < count) {
11 debug('PASS unless crash') 11 debug('PASS unless crash')
12 finishJSTest(); 12 finishJSTest();
13 } else {
14 window.localStorage['count'] = (count + 1).toString();
15 window.location.reload();
16 } 13 }
14
15 window.localStorage['count'] = (count + 1).toString();
16 window.location.reload();
17 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698