Index: third_party/WebKit/LayoutTests/fast/events/hr-timestamp/constructed-events.html |
diff --git a/third_party/WebKit/LayoutTests/fast/events/hr-timestamp/constructed-events.html b/third_party/WebKit/LayoutTests/fast/events/hr-timestamp/constructed-events.html |
deleted file mode 100644 |
index bbe5ed43ada66e7df260664f5e23666a0b1f1930..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/events/hr-timestamp/constructed-events.html |
+++ /dev/null |
@@ -1,16 +0,0 @@ |
-<!DOCTYPE html> |
- |
-<script src="../../../resources/testharness.js"></script> |
-<script src="../../../resources/testharnessreport.js"></script> |
-<script type="text/javascript"> |
-'use strict'; |
-for (let eventType of [MouseEvent, KeyboardEvent, WheelEvent, GamepadEvent, FocusEvent]) { |
- test(function() { |
- let before = performance.now(); |
- let e = new eventType('test'); |
- let after = performance.now(); |
- assert_greater_than_equal(e.timeStamp, before, "Event timestamp should be greater than performance.now() timestamp taken before its creation"); |
- assert_less_than_equal(e.timeStamp, after, "Event timestamp should be less than performance.now() timestamp taken after its creation"); |
- }, `Constructed ${eventType.prototype.constructor.name} timestamp should be high resolution and have the same time origin as performance.now()`); |
-} |
-</script> |