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

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

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/html/imports/import-destroy-stress.html
diff --git a/LayoutTests/fast/html/imports/import-destroy-stress.html b/LayoutTests/fast/html/imports/import-destroy-stress.html
index 9334c1edb8345edb3d816445ec21baacb2a9f2ef..29ef98ad4ddb0faba422b5070b7434d67302749a 100644
--- a/LayoutTests/fast/html/imports/import-destroy-stress.html
+++ b/LayoutTests/fast/html/imports/import-destroy-stress.html
@@ -10,8 +10,8 @@ var count = parseInt(window.localStorage['count'] || '0');
if (iteration < count) {
debug('PASS unless crash')
finishJSTest();
+} else {
+ window.localStorage['count'] = (count + 1).toString();
+ window.location.reload();
}
-
-window.localStorage['count'] = (count + 1).toString();
-window.location.reload();
</script>

Powered by Google App Engine
This is Rietveld 408576698