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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.html

Issue 1857713004: DevTools: simplify the async instrumentation harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.html b/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.html
index bb4ea84c2eced9abd7534a2c5eee27782263e9c0..548297931cc5ad2319f2aac136bf4fc6b597ca56 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.html
@@ -12,20 +12,17 @@ function testFunction()
function doFetch()
{
fetch("../debugger/resources/script1.js").then(function chained1() {
+ debugger;
}).then(function chained2() {
}).then(function chained3() {
- throw Error("thrown from chained3");
}).then(function chained4() {
- }).then(function chained5() {
- }).then(function chained6() {
- }).catch(function catchCallback() {
debugger;
});
}
var test = function()
{
- var totalDebuggerStatements = 1;
+ var totalDebuggerStatements = 2;
var maxAsyncCallStackDepth = 4;
InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallStackDepth);
}

Powered by Google App Engine
This is Rietveld 408576698