Bug 177447 - [GTK] Layout test imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html is failing
Summary: [GTK] Layout test imported/w3c/web-platform-tests/dom/events/Event-timestamp-...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-25 11:40 PDT by Michael Catanzaro
Modified: 2017-09-25 12:49 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2017-09-25 11:40:40 PDT
Layout test imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution.html has been unexpectedly failing for GTK since r222392 "Use high resolution timestamp for event time" when it was changed from an expected failure to an expected pass. The diff:

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/dom/events/Event-timestamp-high-resolution-actual.txt
@@ -1,7 +1,4 @@
+CONSOLE MESSAGE: line 7: ReferenceError: Can't find variable: GamepadEvent
 
-PASS Constructed MouseEvent timestamp should be high resolution and have the same time origin as performance.now() 
-PASS Constructed KeyboardEvent timestamp should be high resolution and have the same time origin as performance.now() 
-PASS Constructed WheelEvent timestamp should be high resolution and have the same time origin as performance.now() 
-PASS Constructed GamepadEvent timestamp should be high resolution and have the same time origin as performance.now() 
-PASS Constructed FocusEvent timestamp should be high resolution and have the same time origin as performance.now() 
+FAIL Untitled ReferenceError: Can't find variable: GamepadEvent

GTK does not support the gamepad API so there won't be any gamepad events. Shame. Updating expectations accordingly.
Comment 1 Chris Dumez 2017-09-25 12:20:35 PDT
This test was skipped and I unskipped it in r222392. It looks like it still fails in GTK due to lack of Gamepad API support.

The right thing to do here is to skip again for GTK port only, until Gamepad API is supported.
Comment 2 Michael Catanzaro 2017-09-25 12:49:24 PDT
(Mostly) agreed, I marked it as an expected failure for now. I don't think we have any plans to implement the gamepad API unfortunately.