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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/stacktraces/resources/stacktrace-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js
index 1b12829c821354d2761218bc3b357cb113022fde..8ba3046126a2dae7a83bb4dcb4c3da901d74e382 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js
@@ -2,10 +2,10 @@ function test() {
InspectorTest.addConsoleSniffer(addMessage);
function addMessage(message) {
- var viewMessages = WebInspector.ConsoleView.instance()._visibleViewMessages;
+ var viewMessages = Console.ConsoleView.instance()._visibleViewMessages;
for (var i = 0; i < viewMessages.length; ++i) {
var m = viewMessages[i].consoleMessage();
- InspectorTest.addResult("Message[" + i + "]: " + WebInspector.displayNameForURL(m.url) + ":" + m.line + " " + m.messageText);
+ InspectorTest.addResult("Message[" + i + "]: " + Bindings.displayNameForURL(m.url) + ":" + m.line + " " + m.messageText);
var trace = m.stackTrace ? m.stackTrace.callFrames : null;
if (!trace) {
InspectorTest.addResult("FAIL: no stack trace attached to message #" + i);

Powered by Google App Engine
This is Rietveld 408576698