Chromium Code Reviews| Index: LayoutTests/inspector/sources/debugger/async-callstack-events.html |
| diff --git a/LayoutTests/inspector/sources/debugger/async-callstack-events.html b/LayoutTests/inspector/sources/debugger/async-callstack-events.html |
| index 778da2d68ed89c0271a04fa8fe57a08ec5ea6b3f..05b1d1d53b66a4ad457e861f845ecf7abcb6e70a 100644 |
| --- a/LayoutTests/inspector/sources/debugger/async-callstack-events.html |
| +++ b/LayoutTests/inspector/sources/debugger/async-callstack-events.html |
| @@ -41,13 +41,20 @@ function onSelectionChange() |
| function doTestHashChange() |
| { |
| - window.addEventListener("hashchange", onHashChange, false); |
| + window.addEventListener("hashchange", onHashChange1, false); |
| + window.addEventListener("hashchange", onHashChange2, true); |
|
aandrey
2014/07/12 16:21:28
Note: this test would also pass before, just addin
|
| location.hash = location.hash + "x"; |
| } |
| -function onHashChange() |
| +function onHashChange1() |
| { |
| - window.removeEventListener("hashchange", onHashChange, false); |
| + window.removeEventListener("hashchange", onHashChange1, false); |
| + debugger; |
| +} |
| + |
| +function onHashChange2() |
| +{ |
| + window.removeEventListener("hashchange", onHashChange2, true); |
| debugger; |
| } |
| @@ -66,7 +73,7 @@ function onVideoPlay() |
| var test = function() |
| { |
| - var totalDebuggerStatements = 3; |
| + var totalDebuggerStatements = 4; |
| var maxAsyncCallStackDepth = 4; |
| InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallStackDepth); |
| } |