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

Unified Diff: LayoutTests/fast/html/object-image-nested-fallback.html

Issue 15159008: Node::lazyAttach shouldn't lie about being attached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase again Created 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/html/object-image-nested-fallback.html
diff --git a/LayoutTests/fast/html/object-image-nested-fallback.html b/LayoutTests/fast/html/object-image-nested-fallback.html
index 132a282633e3ee8abbf10f945d1db44037c8622d..6728a84214e54981a06883548f4bd02a3eaecf3f 100644
--- a/LayoutTests/fast/html/object-image-nested-fallback.html
+++ b/LayoutTests/fast/html/object-image-nested-fallback.html
@@ -1,12 +1,20 @@
<html>
<script>
- if (window.testRunner)
+ if (window.testRunner) {
testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+
+ function finish()
+ {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
</script>
<body>
<object type="image/png" data="this.object.does.not.exist.dtd">
<object type="image/png" data="this.object.does.not.exist.dtd">
- <object type="image/png" data="this.object.does.not.exist.dtd">PASS when no crash occurs.</object>
+ <object type="image/png" data="this.object.does.not.exist.dtd" onerror="finish()">PASS when no crash occurs.</object>
</object>
</object>
</body>

Powered by Google App Engine
This is Rietveld 408576698