| Index: third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-processing-algorithm.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-processing-algorithm.html b/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-processing-algorithm.html
|
| index f3848b5ad903363bae0ccd69693d65db8804b245..0a9403e779dea7595c26c2fa407e3f5053581a79 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-processing-algorithm.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/event-handler-processing-algorithm.html
|
| @@ -21,21 +21,7 @@
|
| t.done();
|
| }, "mouseover listener returning false doesn't cancel event");
|
|
|
| - async_test(function(t) {
|
| - var ev = new Event('beforeunload', {cancelable: true});
|
| - window.onbeforeunload = t.step_func(function() {return null});
|
| - window.dispatchEvent(ev);
|
| - assert_equals(ev.defaultPrevented, true);
|
| - t.done();
|
| - }, "beforeunload listener returning null cancels event");
|
| -
|
| - async_test(function(t) {
|
| - var ev = new Event('beforeunload', {cancelable: true});
|
| - window.onbeforeunload = t.step_func(function() {return true});
|
| - window.dispatchEvent(ev);
|
| - assert_equals(ev.defaultPrevented, false);
|
| - t.done();
|
| - }, "beforeunload listener returning non-null doesn't cancel event");
|
| + // beforeunload is tested in html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html
|
|
|
| async_test(function(t) {
|
| var ev = new Event("click", {cancelable: true});
|
|
|