| Index: third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html b/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
|
| index 4cc906ac01e6d48f7137bbe1ba35e4e19ad4ad8b..e913ac75f9afbb1d8816ff371af8fcd0f06f5909 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/message-port-gc-closed.html
|
| @@ -7,9 +7,10 @@ description("MessagePorts (and their execution contexts) should be collected by
|
| window.jsTestIsAsync = true;
|
|
|
| function runGCAndTest() {
|
| - gc();
|
| - shouldBeTrue("iframeDocGC.wasCollected");
|
| - finishJSTest();
|
| + asyncGC(function() {
|
| + shouldBeTrue("iframeDocGC.wasCollected");
|
| + finishJSTest();
|
| + });
|
| }
|
|
|
| window.onmessage = function(evt) {
|
|
|