| Index: third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed-cloned.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed-cloned.html b/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed-cloned.html
|
| index 8aadb6ae96bdb6ccd690ec670a1898996618f9d1..0319126c276f7633312f4170bccbb1485c748527 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed-cloned.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed-cloned.html
|
| @@ -10,9 +10,10 @@ function runTest() {
|
| port.onmessage = function() {
|
| iframeDocGC = internals.observeGC(document.querySelector('iframe').contentDocument);
|
| document.querySelector('iframe').remove();
|
| - gc();
|
| - shouldBeTrue("iframeDocGC.wasCollected");
|
| - finishJSTest();
|
| + asyncGC(function() {
|
| + shouldBeTrue("iframeDocGC.wasCollected");
|
| + finishJSTest();
|
| + });
|
| };
|
| window.frames[0].postMessage("connect", "*", [channel.port2]);
|
| }
|
|
|