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

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

Issue 309453003: Merge 174627 "DevTools: Remove async call stacks support for Eve..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
Patch Set: Created 6 years, 7 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-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.html
===================================================================
--- LayoutTests/inspector/sources/debugger/async-callstack.html (revision 175041)
+++ LayoutTests/inspector/sources/debugger/async-callstack.html (working copy)
@@ -11,7 +11,6 @@
timeout1();
}
setTimeout(innerTestFunction, 0);
- document.getElementById("image").addEventListener("error", imageErrorHandler, false);
}
function timeout1()
@@ -45,8 +44,6 @@
function animFrame2()
{
- document.getElementById("image").addEventListener("error", imageErrorHandler, true);
- document.getElementById("image").addEventListener("click", imageClickHandlerSync, true);
debugger;
function longTail0()
{
@@ -62,23 +59,11 @@
function timeout3()
{
debugger;
- image.src = "non_existing.png";
- image.click();
}
-function imageErrorHandler()
-{
- debugger; // should hit 3 times with different async stacks
-}
-
-function imageClickHandlerSync()
-{
- debugger; // synchronous call => should have same async call chain as for timeout3()
-}
-
var test = function()
{
- var totalDebuggerStatements = 10;
+ var totalDebuggerStatements = 6;
var maxAsyncCallStackDepth = 4;
InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallStackDepth);
}
@@ -90,7 +75,6 @@
<p>
Tests asynchronous call stacks in debugger.
</p>
-<img id="image" onerror="imageErrorHandler()"></img>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/async-callstack-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698