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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html

Issue 1427653002: DevTools: move ui messages from SourceFrame to UISourceCodeFrame (step1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 5 years, 2 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/inspector/sources/debugger-ui/source-frame.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html
index 7e1171feef6647124057ec8741d32942ff362353..dbc7a08be133adce5617715b8532bbd2a3ed10e5 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html
@@ -48,8 +48,8 @@ function test()
{
InspectorTest.addResult("Script source was shown.");
shownSourceFrame = sourceFrame;
- InspectorTest.addSniffer(WebInspector.SourceFrame.prototype, "addMessageToSource", didAddMessage);
- InspectorTest.addSniffer(WebInspector.SourceFrame.prototype, "clearMessages", clearMessages);
+ InspectorTest.addSniffer(WebInspector.UISourceCodeFrame.prototype, "addMessageToSource", didAddMessage);
+ InspectorTest.addSniffer(WebInspector.UISourceCodeFrame.prototype, "clearMessages", clearMessages);
InspectorTest.evaluateInPage("addErrorToConsole()");
}
@@ -57,7 +57,7 @@ function test()
{
if (this !== shownSourceFrame)
return;
- InspectorTest.addResult("Message added to source frame: " + message.messageText());
+ InspectorTest.addResult("Message added to source frame: " + message.text());
InspectorTest.consoleModel.requestClearMessages();
}

Powered by Google App Engine
This is Rietveld 408576698