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

Unified Diff: LayoutTests/http/tests/inspector/console-test.js

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: thread-local sequence numbers Created 5 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: LayoutTests/http/tests/inspector/console-test.js
diff --git a/LayoutTests/http/tests/inspector/console-test.js b/LayoutTests/http/tests/inspector/console-test.js
index fd216d5fca2db3f63600714b02e1df336519fcb1..c878a8ea6b32aad9b1d381001145886ffac72996 100644
--- a/LayoutTests/http/tests/inspector/console-test.js
+++ b/LayoutTests/http/tests/inspector/console-test.js
@@ -114,8 +114,8 @@ InspectorTest.dumpConsoleMessagesIntoArray = function(printOriginatingCommand, d
result.push(messageText + (dumpClassNames ? " " + classNames.join(" > ") : ""));
}
- if (printOriginatingCommand && uiMessage.consoleMessage().originatingMessage())
- result.push("Originating from: " + uiMessage.consoleMessage().originatingMessage().messageText);
+ if (printOriginatingCommand && uiMessage.consoleMessage().relatedMessage())
+ result.push("Originating from: " + uiMessage.consoleMessage().relatedMessage().messageText);
}
return result;
}

Powered by Google App Engine
This is Rietveld 408576698