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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html

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/inspector/console/console-timestamp.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html b/third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html
index 5c8dbfc2ad9e94035f41855155afb1e5a59ff348..55753077ef7d2f6e6c06d307ff052ea1dc6201e4 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html
@@ -13,10 +13,10 @@ function test()
function addMessageWithFixedTimestamp(messageText, timestamp)
{
- var message = new WebInspector.ConsoleMessage(
+ var message = new SDK.ConsoleMessage(
InspectorTest.consoleModel.target(),
- WebInspector.ConsoleMessage.MessageSource.Other, // source
- WebInspector.ConsoleMessage.MessageLevel.Log, // level
+ SDK.ConsoleMessage.MessageSource.Other, // source
+ SDK.ConsoleMessage.MessageLevel.Log, // level
messageText,
undefined, // type
undefined, // url
@@ -37,14 +37,14 @@ function test()
InspectorTest.dumpConsoleMessages();
InspectorTest.addResult("Console messages with timestamps enabled:");
- WebInspector.settingForTest("consoleTimestampsEnabled").set(true);
+ Common.settingForTest("consoleTimestampsEnabled").set(true);
addMessageWithFixedTimestamp("<After>", baseTimestamp + 1000);
addMessageWithFixedTimestamp("<After>", baseTimestamp + 1000);
addMessageWithFixedTimestamp("<After>", baseTimestamp + 1456);
- WebInspector.settingForTest("consoleTimestampsEnabled").set(false);
- WebInspector.settingForTest("consoleTimestampsEnabled").set(true);
+ Common.settingForTest("consoleTimestampsEnabled").set(false);
+ Common.settingForTest("consoleTimestampsEnabled").set(true);
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698