diff --git a/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini index 3605e8f3fc99..76b44d9e9cf9 100644 --- a/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -4,7 +4,7 @@ expected: TIMEOUT [Opening a blob URL in a new window immediately before revoking it works.] - expected: TIMEOUT + expected: FAIL [Fetching a blob URL immediately before revoking it works in an iframe.] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini new file mode 100644 index 000000000000..f64b45fea6b5 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-002.html.ini @@ -0,0 +1,4 @@ +[hit-test-floats-002.html] + [Hit test float] + expected: FAIL + diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini index 5e54b53e5d27..6425f4beda16 100644 --- a/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/CSS2/linebox/inline-negative-margin-001.html.ini @@ -5,36 +5,9 @@ [[data-expected-height\] 7] expected: FAIL - [[data-expected-height\] 4] - expected: FAIL - [[data-expected-height\] 1] expected: FAIL - [[data-expected-height\] 10] - expected: FAIL - [[data-expected-height\] 2] expected: FAIL - [[data-expected-height\] 5] - expected: FAIL - - [[data-expected-height\] 6] - expected: FAIL - - [[data-expected-height\] 9] - expected: FAIL - - [[data-expected-height\] 8] - expected: FAIL - - [[data-expected-height\] 13] - expected: FAIL - - [[data-expected-height\] 12] - expected: FAIL - - [[data-expected-height\] 11] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-backgrounds/border-image-shorthand-001.htm.ini b/tests/wpt/metadata-layout-2020/css/css-backgrounds/border-image-shorthand-001.htm.ini deleted file mode 100644 index 6484302570c4..000000000000 --- a/tests/wpt/metadata-layout-2020/css/css-backgrounds/border-image-shorthand-001.htm.ini +++ /dev/null @@ -1,2 +0,0 @@ -[border-image-shorthand-001.htm] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/custom-elements/reactions/HTMLMediaElement.html.ini b/tests/wpt/metadata-layout-2020/custom-elements/reactions/HTMLMediaElement.html.ini new file mode 100644 index 000000000000..2ca05f57bb00 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/custom-elements/reactions/HTMLMediaElement.html.ini @@ -0,0 +1,2 @@ +[HTMLMediaElement.html] + expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini index 392d55789f43..24b243191a4c 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/response.window.js.ini @@ -315,18 +315,18 @@ [ -
+ + +
+ + diff --git a/tests/wpt/web-platform-tests/interfaces/webhid.idl b/tests/wpt/web-platform-tests/interfaces/webhid.idl new file mode 100644 index 000000000000..aa699a31ba71 --- /dev/null +++ b/tests/wpt/web-platform-tests/interfaces/webhid.idl @@ -0,0 +1,112 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into reffy-reports +// (https://github.com/tidoust/reffy-reports) +// Source: WebHID API (https://wicg.github.io/webhid/) + +dictionary HIDDeviceFilter { + unsigned long vendorId; + unsigned short productId; + unsigned short usagePage; + unsigned short usage; +}; + +dictionary HIDDeviceRequestOptions { + required sequence filters; +}; + +[SecureContext] +interface HID : EventTarget { + attribute EventHandler onconnect; + attribute EventHandler ondisconnect; + Promise> getDevices(); + Promise> requestDevice( + HIDDeviceRequestOptions options); +}; + +[SecureContext] partial interface Navigator { + [SameObject] readonly attribute HID hid; +}; + +dictionary HIDConnectionEventInit : EventInit { + required HIDDevice device; +}; + +[ + Constructor(DOMString type, HIDConnectionEventInit eventInitDict), + SecureContext +] interface HIDConnectionEvent : Event { + [SameObject] readonly attribute HIDDevice device; +}; + +dictionary HIDInputReportEventInit : EventInit { + required HIDDevice device; + required octet reportId; + required DataView data; +}; + +[ + Constructor(DOMString type, HIDInputReportEventInit eventInitDict), + SecureContext +] interface HIDInputReportEvent : Event { + [SameObject] readonly attribute HIDDevice device; + readonly attribute octet reportId; + readonly attribute DataView data; +}; + +enum HIDUnitSystem { + "none", "si-linear", "si-rotation", "english-linear", + "english-rotation", "vendor-defined", "reserved" +}; + +[SecureContext] interface HIDReportItem { + readonly attribute boolean isAbsolute; + readonly attribute boolean isArray; + readonly attribute boolean isRange; + readonly attribute boolean hasNull; + readonly attribute FrozenArray usages; + readonly attribute unsigned long usageMinimum; + readonly attribute unsigned long usageMaximum; + readonly attribute unsigned short reportSize; + readonly attribute unsigned short reportCount; + readonly attribute unsigned long unitExponent; + readonly attribute HIDUnitSystem unitSystem; + readonly attribute byte unitFactorLengthExponent; + readonly attribute byte unitFactorMassExponent; + readonly attribute byte unitFactorTimeExponent; + readonly attribute byte unitFactorTemperatureExponent; + readonly attribute byte unitFactorCurrentExponent; + readonly attribute byte unitFactorLuminousIntensityExponent; + readonly attribute long logicalMinimum; + readonly attribute long logicalMaximum; + readonly attribute long physicalMinimum; + readonly attribute long physicalMaximum; + readonly attribute FrozenArray strings; +}; + +[SecureContext] interface HIDReportInfo { + readonly attribute octet reportId; + readonly attribute FrozenArray items; +}; + +[SecureContext] interface HIDCollectionInfo { + readonly attribute unsigned short usagePage; + readonly attribute unsigned short usage; + readonly attribute FrozenArray children; + readonly attribute FrozenArray inputReports; + readonly attribute FrozenArray outputReports; + readonly attribute FrozenArray featureReports; +}; + +[SecureContext] interface HIDDevice : EventTarget { + attribute EventHandler oninputreport; + readonly attribute boolean opened; + readonly attribute unsigned short vendorId; + readonly attribute unsigned short productId; + readonly attribute DOMString productName; + readonly attribute FrozenArray collections; + Promise open(); + Promise close(); + Promise sendReport(octet reportId, BufferSource data); + Promise sendFeatureReport(octet reportId, BufferSource data); + Promise receiveFeatureReport(octet reportId); +}; diff --git a/tests/wpt/web-platform-tests/paint-timing/fcp-only/fcp-video-frame.html b/tests/wpt/web-platform-tests/paint-timing/fcp-only/fcp-video-frame.html index cdfd1670715d..9089883cdfbd 100644 --- a/tests/wpt/web-platform-tests/paint-timing/fcp-only/fcp-video-frame.html +++ b/tests/wpt/web-platform-tests/paint-timing/fcp-only/fcp-video-frame.html @@ -6,6 +6,7 @@ + diff --git a/tests/wpt/web-platform-tests/webhid/idlharness.https.window.js b/tests/wpt/web-platform-tests/webhid/idlharness.https.window.js new file mode 100644 index 000000000000..fa763e0d80ac --- /dev/null +++ b/tests/wpt/web-platform-tests/webhid/idlharness.https.window.js @@ -0,0 +1,23 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +'use strict'; + +// https://wicg.github.io/webhid/ + +idl_test( + ['webhid'], + ['html', 'dom'], + idl_array => { + idl_array.add_objects({ + HID: ['navigator.hid'], + Navigator: ['navigator'], + // TODO: HIDConnectionEvent + // TODO: HIDInputReportEvent + // TODO: HIDReportItem + // TODO: HIDReportInfo + // TODO: HIDCollectionInfo + // TODO: HIDDevice + }); + } +); diff --git a/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers.html.ini b/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers.html.ini index 22c147a88676..07c1b8f8ea23 100644 --- a/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers.html.ini +++ b/tests/wpt/webgl/meta/conformance2/rendering/draw-buffers.html.ini @@ -167,3 +167,6 @@ [WebGL test #52: attachment 7 should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 255,0,0,0] expected: FAIL + [WebGL test #52: attachment 7 should be 0,255,0,255\nat (0, 0) expected: 0,255,0,255 was 0,0,255,0] + expected: FAIL +