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 261ec0538bd7ab1d8eb098facc318a34b1820656..778da2d68ed89c0271a04fa8fe57a08ec5ea6b3f 100644 |
--- a/LayoutTests/inspector/sources/debugger/async-callstack-events.html |
+++ b/LayoutTests/inspector/sources/debugger/async-callstack-events.html |
@@ -51,9 +51,22 @@ function onHashChange() |
debugger; |
} |
+function doTestMediaEvents() |
+{ |
+ var video = document.getElementById("video"); |
+ video.addEventListener("play", onVideoPlay, false); |
+ video.play(); |
+} |
+ |
+function onVideoPlay() |
+{ |
+ video.removeEventListener("play", onVideoPlay, false); |
+ debugger; |
+} |
+ |
var test = function() |
{ |
- var totalDebuggerStatements = 2; |
+ var totalDebuggerStatements = 3; |
var maxAsyncCallStackDepth = 4; |
InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallStackDepth); |
} |
@@ -62,6 +75,7 @@ var test = function() |
</head> |
<body onload="runTest()"> |
+<video id="video" src="../../../media/content/test.ogv"></video> |
<p id="content"> |
Tests asynchronous call stacks for various DOM events. |
</p> |