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

Unified Diff: LayoutTests/editing/execCommand/window-open-insert-list-crash.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/editing/execCommand/window-open-insert-list-crash.html
diff --git a/LayoutTests/editing/execCommand/window-open-insert-list-crash.html b/LayoutTests/editing/execCommand/window-open-insert-list-crash.html
index c51bb88469d20a6fcae79475adbceef35f262dc2..10c71161984b96fae74dcbb987b815ab9776c26e 100644
--- a/LayoutTests/editing/execCommand/window-open-insert-list-crash.html
+++ b/LayoutTests/editing/execCommand/window-open-insert-list-crash.html
@@ -18,8 +18,11 @@ document.body.appendChild(iframe);
function didReceiveMessage(event)
{
+ if (iframe === null)
+ return;
shouldBeEqualToString('event.data', 'FINISH');
document.body.removeChild(iframe);
+ iframe = null;
testPassed('Did not crash.');
window.finishJSTest();
}

Powered by Google App Engine
This is Rietveld 408576698