| Index: third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html b/third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html
|
| index 2c0e7668e22dcafec05ce4144287aac21388ced9..6235b355d0ed1e235dccb4910501b8e4a5bf332f 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html
|
| @@ -12,12 +12,6 @@
|
| assert_true(internals.isLoading(url), "The image should be loading before window.stop().");
|
| }
|
| window.stop();
|
| -
|
| - // We emulate window load event to signal testharness.js that we don't
|
| - // have to wait for window load event (that will never occur because
|
| - // we've called window.stop()) before test completes.
|
| - dispatchEvent(new Event('load'));
|
| -
|
| window.setTimeout(t.step_func(function() {
|
| if (window.internals) {
|
| assert_false(internals.isLoading(url), "The image should not be loading after window.stop().");
|
|
|