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

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

Issue 2651843003: DevTools: update console timestamp style (Closed)
Patch Set: nochange Created 3 years, 11 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/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 634b5d0ff09edfeb88917ce6f0a2393ba27e376e..8e75051692d5588809eebea0c0aeb2056073800c 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-timestamp.html
@@ -37,16 +37,20 @@ function test()
InspectorTest.dumpConsoleMessages();
InspectorTest.addResult("Console messages with timestamps enabled:");
- Common.settingForTest("consoleTimestampsEnabled").set(true);
+ Common.settingForTest("consoleTimestampFormat").set(Console.ConsoleViewMessage.TimestampFormat.Full);
addMessageWithFixedTimestamp("<After>", baseTimestamp + 1000);
addMessageWithFixedTimestamp("<After>", baseTimestamp + 1000);
addMessageWithFixedTimestamp("<After>", baseTimestamp + 1456);
- Common.settingForTest("consoleTimestampsEnabled").set(false);
- Common.settingForTest("consoleTimestampsEnabled").set(true);
+ Common.settingForTest("consoleTimestampFormat").set(Console.ConsoleViewMessage.TimestampFormat.None);
+ Common.settingForTest("consoleTimestampFormat").set(Console.ConsoleViewMessage.TimestampFormat.Full);
InspectorTest.dumpConsoleMessages();
+
+ InspectorTest.addResult("Console messages with short timestamps:");
+ Common.settingForTest("consoleTimestampFormat").set(Console.ConsoleViewMessage.TimestampFormat.Short);
+ InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698