Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: LayoutTests/inspector/sources/debugger/async-callstack-events.html

Issue 335963004: DevTools: Instrument GenericEventQueue for async stacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/async-callstack-events-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/async-callstack-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698