Index: third_party/WebKit/LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove.html b/third_party/WebKit/LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove.html |
index 56a30ec5eef77d7cff8911a5b755f7f06e96e767..217773dac5f33f86a25bf1fc5822d745f7b469df 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/adopt-iframe-src-attr-after-remove.html |
@@ -10,7 +10,8 @@ if (window.testRunner) { |
window.onload = function() |
{ |
iframe.remove(); |
- gc(); |
+ // Run the GC after this event handler has completed & back at the event loop. |
+ setTimeout(gc); |
} |
document.addEventListener("DOMContentLoaded", function() { |