Index: LayoutTests/inspector-protocol/console/console-timestamp.html |
diff --git a/LayoutTests/inspector-protocol/console/console-timestamp.html b/LayoutTests/inspector-protocol/console/console-timestamp.html |
index 8876cd6b3336716e0ba0f2ec8335852023ed44f3..4e62621caeb577afe2cb22e3471972a6cb2c7f20 100644 |
--- a/LayoutTests/inspector-protocol/console/console-timestamp.html |
+++ b/LayoutTests/inspector-protocol/console/console-timestamp.html |
@@ -25,22 +25,10 @@ function test() |
messages.push(payload); |
InspectorTest.assert(payload.timestamp, "No timestamp found in message."); |
- InspectorTest.assert(Math.abs(new Date().getTime() / 1000 - payload.timestamp) < 60, "Timestamp shouldn't differ very much from current time (one minute interval)."); |
- } |
- |
- function messageRepeatCountUpdated(data) |
- { |
- InspectorTest.assert(data.params.timestamp, "No timestamp found on repeat count update."); |
- |
- var updatedTimestamp = data.params.timestamp; |
- |
- InspectorTest.assert(updatedTimestamp >= messages[messages.length - 1].timestamp, "Timestamp shouldn't decrease over time."); |
- |
- InspectorTest.completeTest(); |
+ InspectorTest.assert(Math.abs(new Date().getTime() - payload.timestamp) < 60000, "Timestamp shouldn't differ very much from current time (one minute interval)."); |
} |
InspectorTest.eventHandler["Console.messageAdded"] = messageAdded; |
- InspectorTest.eventHandler["Console.messageRepeatCountUpdated"] = messageRepeatCountUpdated; |
InspectorTest.sendCommand("Console.enable", {}); |
InspectorTest.sendCommand("Runtime.evaluate", { expression: "console.log('testUnique'); for (var i = 0; i < 2; ++i) console.log('testDouble');" }); |