Diff
Modified: trunk/LayoutTests/ChangeLog (264477 => 264478)
--- trunk/LayoutTests/ChangeLog 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/ChangeLog 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,3 +1,13 @@
+2020-07-16 Chris Dumez <[email protected]>
+
+ Resync web-platform-tests/interfaces from upstream
+ https://bugs.webkit.org/show_bug.cgi?id=214413
+
+ Reviewed by Alex Christensen.
+
+ * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+
2020-07-16 Jer Noble <[email protected]>
[Cocoa] Add MediaCapabilities support for SW VP9 decoder.
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,5 +1,54 @@
2020-07-16 Chris Dumez <[email protected]>
+ Resync web-platform-tests/interfaces from upstream
+ https://bugs.webkit.org/show_bug.cgi?id=214413
+
+ Reviewed by Alex Christensen.
+
+ Resync web-platform-tests/interfaces from upstream 81de986322a0de90f2.
+
+ * web-platform-tests/interfaces/CSS-Parser-API.idl: Removed.
+ * web-platform-tests/interfaces/ambient-light.idl:
+ * web-platform-tests/interfaces/appmanifest.idl:
+ * web-platform-tests/interfaces/background-sync.idl: Renamed from LayoutTests/imported/w3c/web-platform-tests/interfaces/BackgroundSync.idl.
+ * web-platform-tests/interfaces/compression.idl: Added.
+ * web-platform-tests/interfaces/content-index.idl: Added.
+ * web-platform-tests/interfaces/cookie-store.idl:
+ * web-platform-tests/interfaces/css-properties-values-api.idl:
+ * web-platform-tests/interfaces/custom-state-pseudo-class.idl: Added.
+ * web-platform-tests/interfaces/deprecation-reporting.idl: Added.
+ * web-platform-tests/interfaces/fetch.idl:
+ * web-platform-tests/interfaces/get-installed-related-apps.idl: Added.
+ * web-platform-tests/interfaces/html.idl:
+ * web-platform-tests/interfaces/image-capture.idl:
+ * web-platform-tests/interfaces/input-device-capabilities.idl: Renamed from LayoutTests/imported/w3c/web-platform-tests/interfaces/InputDeviceCapabilities.idl.
+ * web-platform-tests/interfaces/intervention-reporting.idl: Added.
+ * web-platform-tests/interfaces/is-input-pending.idl: Added.
+ * web-platform-tests/interfaces/media-capabilities.idl:
+ * web-platform-tests/interfaces/native-file-system.idl:
+ * web-platform-tests/interfaces/payment-handler.idl:
+ * web-platform-tests/interfaces/picture-in-picture.idl:
+ * web-platform-tests/interfaces/pointerevents.idl:
+ * web-platform-tests/interfaces/savedata.idl: Added.
+ * web-platform-tests/interfaces/scroll-animations.idl:
+ * web-platform-tests/interfaces/storage-access-api.tentative.idl: Removed.
+ * web-platform-tests/interfaces/storage-access.idl: Added.
+ * web-platform-tests/interfaces/streams.idl: Added.
+ * web-platform-tests/interfaces/ua-client-hints.idl: Added.
+ * web-platform-tests/interfaces/w3c-import.log:
+ * web-platform-tests/interfaces/wai-aria.idl:
+ * web-platform-tests/interfaces/web-otp.idl: Added.
+ * web-platform-tests/interfaces/webauthn.idl:
+ * web-platform-tests/interfaces/webdriver.idl:
+ * web-platform-tests/interfaces/webhid.idl: Added.
+ * web-platform-tests/interfaces/webxr-ar-module.idl:
+ * web-platform-tests/interfaces/webxr.idl:
+ * web-platform-tests/interfaces/xhr.idl:
+ * web-platform-tests/xhr/idlharness.any-expected.txt:
+ * web-platform-tests/xhr/idlharness.any.worker-expected.txt:
+
+2020-07-16 Chris Dumez <[email protected]>
+
Resync web-platform-tests/webaudio from upstream
https://bugs.webkit.org/show_bug.cgi?id=214411
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/idlharness-expected.txt (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/idlharness-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/idlharness-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -3,8 +3,6 @@
PASS idl_test validation
PASS Partial namespace CSS: original namespace defined
PASS Partial namespace CSS: member names are unique
-PASS Partial interface CSSRule: original interface defined
-PASS Partial interface CSSRule: member names are unique
FAIL CSSPropertyRule interface: existence and properties of interface object assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface object length assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface object name assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
@@ -15,8 +13,6 @@
FAIL CSSPropertyRule interface: attribute syntax assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute inherits assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute initialValue assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
-FAIL CSSRule interface: constant PROPERTY_RULE on interface object assert_own_property: expected property "PROPERTY_RULE" missing
-FAIL CSSRule interface: constant PROPERTY_RULE on interface prototype object assert_own_property: expected property "PROPERTY_RULE" missing
PASS CSS namespace: operation escape(CSSOMString)
PASS CSS namespace: operation registerProperty(PropertyDefinition)
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/BackgroundSync.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/BackgroundSync.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/BackgroundSync.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,29 +0,0 @@
-// GENERATED CONTENT - DO NOT EDIT
-// Content was automatically extracted by Reffy into reffy-reports
-// (https://github.com/tidoust/reffy-reports)
-// Source: Web Background Synchronization (https://wicg.github.io/BackgroundSync/spec/)
-
-partial interface ServiceWorkerRegistration {
- readonly attribute SyncManager sync;
-};
-
-[Exposed=(Window,Worker)]
-interface SyncManager {
- Promise<void> register(DOMString tag);
- Promise<sequence<DOMString>> getTags();
-};
-
-partial interface ServiceWorkerGlobalScope {
- attribute EventHandler onsync;
-};
-
-[Constructor(DOMString type, SyncEventInit init), Exposed=ServiceWorker]
-interface SyncEvent : ExtendableEvent {
- readonly attribute DOMString tag;
- readonly attribute boolean lastChance;
-};
-
-dictionary SyncEventInit : ExtendableEventInit {
- required DOMString tag;
- boolean lastChance = false;
-};
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/CSS-Parser-API.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/CSS-Parser-API.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/CSS-Parser-API.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,69 +0,0 @@
-// GENERATED CONTENT - DO NOT EDIT
-// Content was automatically extracted by Reffy into reffy-reports
-// (https://github.com/tidoust/reffy-reports)
-// Source: CSS Parser API (https://wicg.github.io/CSS-Parser-API/)
-
-typedef (DOMString or ReadableStream) CSSStringSource;
-typedef (DOMString or CSSStyleValue or CSSParserValue) CSSToken;
-
-partial namespace CSS {
- Promise<sequence<CSSParserRule>> parseStylesheet(CSSStringSource css, optional CSSParserOptions options);
- Promise<sequence<CSSParserRule>> parseRuleList(CSSStringSource css, optional CSSParserOptions options);
- Promise<CSSParserRule> parseRule(CSSStringSource css, optional CSSParserOptions options);
- Promise<sequence<CSSParserRule>> parseDeclarationList(CSSStringSource css, optional CSSParserOptions options);
- CSSParserDeclaration parseDeclaration(DOMString css, optional CSSParserOptions options);
- CSSToken parseValue(DOMString css);
- sequence<CSSToken> parseValueList(DOMString css);
- sequence<sequence<CSSToken>> parseCommaValueList(DOMString css);
-};
-
-dictionary CSSParserOptions {
- object atRules;
- /* dict of at-rule name => at-rule type
- (contains decls or contains qualified rules) */
-};
-
-interface CSSParserRule {
- /* Just a superclass. */
-};
-
-[Constructor(DOMString name, sequence<CSSToken> prelude, optional sequence<CSSParserRule>? body)]
-interface CSSParserAtRule : CSSParserRule {
- readonly attribute DOMString name;
- readonly attribute FrozenArray<CSSParserValue> prelude;
- readonly attribute FrozenArray<CSSParserRule>? body;
- /* nullable to handle at-statements */
- stringifier;
-};
-
-[Constructor(sequence<CSSToken> prelude, optional sequence<CSSParserRule>? body)]
-interface CSSParserQualifiedRule : CSSParserRule {
- readonly attribute FrozenArray<CSSParserValue> prelude;
- readonly attribute FrozenArray<CSSParserRule> body;
- stringifier;
-};
-
-[Constructor(DOMString name, optional sequence<CSSParserRule> body)]
-interface CSSParserDeclaration : CSSParserRule {
- readonly attribute DOMString name;
- readonly attribute FrozenArray<CSSParserValue> body;
- stringifier;
-};
-
-interface CSSParserValue {
- /* Just a superclass. */
-};
-
-[Constructor(DOMString name, sequence<CSSParserValue> body)]
-interface CSSParserBlock : CSSParserValue {
- readonly attribute DOMString name; /* "[]", "{}", or "()" */
- readonly attribute FrozenArray<CSSParserValue> body;
- stringifier;
-};
-
-[Constructor(DOMString name, sequence<sequence<CSSParserValue>> args)]
-interface CSSParserFunction : CSSParserValue {
- readonly attribute DOMString name;
- readonly attribute FrozenArray<FrozenArray<CSSParserValue>> args;
- stringifier;
-};
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/InputDeviceCapabilities.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/InputDeviceCapabilities.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/InputDeviceCapabilities.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,24 +0,0 @@
-// GENERATED CONTENT - DO NOT EDIT
-// Content was automatically extracted by Reffy into reffy-reports
-// (https://github.com/tidoust/reffy-reports)
-// Source: Input Device Capabilities (https://wicg.github.io/InputDeviceCapabilities/)
-
-[Exposed=Window,
- Constructor(optional InputDeviceCapabilitiesInit deviceInitDict = {})]
-interface InputDeviceCapabilities {
- readonly attribute boolean firesTouchEvents;
- readonly attribute boolean pointerMovementScrolls;
-};
-
-dictionary InputDeviceCapabilitiesInit {
- boolean firesTouchEvents = false;
- boolean pointerMovementScrolls = false;
-};
-
-partial interface UIEvent {
- readonly attribute InputDeviceCapabilities? sourceCapabilities;
-};
-
-partial dictionary UIEventInit {
- InputDeviceCapabilities? sourceCapabilities = null;
-};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ambient-light.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ambient-light.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ambient-light.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -3,8 +3,9 @@
// (https://github.com/tidoust/reffy-reports)
// Source: Ambient Light Sensor (https://w3c.github.io/ambient-light/)
-[Constructor(optional SensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
+[SecureContext, Exposed=Window]
interface AmbientLightSensor : Sensor {
+ constructor(optional SensorOptions sensorOptions = {});
readonly attribute double? illuminance;
};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/appmanifest.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/appmanifest.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/appmanifest.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -8,11 +8,7 @@
DOMString lang;
USVString name;
USVString short_name;
- USVString description;
- sequence<ImageResource> icons;
- sequence<ImageResource> screenshots;
- sequence<USVString> categories;
- DOMString iarc_rating_id;
+ sequence<ManifestImageResource> icons;
USVString start_url;
DisplayModeType display = "browser";
OrientationLockType orientation;
@@ -33,12 +29,8 @@
"browser"
};
-dictionary ImageResource {
- required USVString src;
- DOMString sizes;
- USVString type;
+dictionary ManifestImageResource : ImageResource {
USVString purpose;
- USVString platform;
};
dictionary ShortcutItem {
@@ -46,7 +38,7 @@
USVString short_name;
USVString description;
required USVString url;
- sequence<ImageResource> icons;
+ sequence<ManifestImageResource> icons;
};
dictionary ExternalApplicationResource {
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/background-sync.idl (from rev 264477, trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/BackgroundSync.idl) (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/background-sync.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/background-sync.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,30 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Web Background Synchronization (https://wicg.github.io/background-sync/spec/)
+
+partial interface ServiceWorkerRegistration {
+ readonly attribute SyncManager sync;
+};
+
+[Exposed=(Window,Worker)]
+interface SyncManager {
+ Promise<void> register(DOMString tag);
+ Promise<sequence<DOMString>> getTags();
+};
+
+partial interface ServiceWorkerGlobalScope {
+ attribute EventHandler onsync;
+};
+
+[Exposed=ServiceWorker]
+interface SyncEvent : ExtendableEvent {
+ constructor(DOMString type, SyncEventInit init);
+ readonly attribute DOMString tag;
+ readonly attribute boolean lastChance;
+};
+
+dictionary SyncEventInit : ExtendableEventInit {
+ required DOMString tag;
+ boolean lastChance = false;
+};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/compression.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/compression.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/compression.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,21 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Compression Streams (https://wicg.github.io/compression/)
+
+interface mixin GenericTransformStream {
+ readonly attribute ReadableStream readable;
+ readonly attribute WritableStream writable;
+};
+
+[Exposed=(Window,Worker)]
+interface CompressionStream {
+ constructor(DOMString format);
+};
+CompressionStream includes GenericTransformStream;
+
+[Exposed=(Window,Worker)]
+interface DecompressionStream {
+ constructor(DOMString format);
+};
+DecompressionStream includes GenericTransformStream;
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/content-index.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/content-index.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/content-index.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,45 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Content Index (https://wicg.github.io/content-index/spec/)
+
+partial interface ServiceWorkerGlobalScope {
+ attribute EventHandler oncontentdelete;
+};
+
+partial interface ServiceWorkerRegistration {
+ [SameObject] readonly attribute ContentIndex index;
+};
+
+enum ContentCategory {
+ "",
+ "homepage",
+ "article",
+ "video",
+ "audio",
+};
+
+dictionary ContentDescription {
+ required DOMString id;
+ required DOMString title;
+ required DOMString description;
+ ContentCategory category = "";
+ sequence<ImageResource> icons = [];
+ required USVString url;
+};
+
+[Exposed=(Window,Worker)]
+interface ContentIndex {
+ Promise<void> add(ContentDescription description);
+ Promise<void> delete(DOMString id);
+ Promise<sequence<ContentDescription>> getAll();
+};
+
+dictionary ContentIndexEventInit : ExtendableEventInit {
+ required DOMString id;
+};
+
+[Constructor(DOMString type, ContentIndexEventInit init), Exposed=ServiceWorker]
+interface ContentIndexEvent : ExtendableEvent {
+ readonly attribute DOMString id;
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/cookie-store.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/cookie-store.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/cookie-store.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -12,9 +12,8 @@
Promise<CookieList> getAll(USVString name);
Promise<CookieList> getAll(optional CookieStoreGetOptions options = {});
- Promise<void> set(USVString name, USVString value,
- optional CookieStoreSetOptions options = {});
- Promise<void> set(CookieStoreSetExtraOptions options);
+ Promise<void> set(USVString name, USVString value);
+ Promise<void> set(CookieInit options);
Promise<void> delete(USVString name);
Promise<void> delete(CookieStoreDeleteOptions options);
@@ -40,7 +39,9 @@
"none"
};
-dictionary CookieStoreSetOptions {
+dictionary CookieInit {
+ required USVString name;
+ required USVString value;
DOMTimeStamp? expires = null;
USVString? domain = null;
USVString path = "/";
@@ -47,11 +48,6 @@
CookieSameSite sameSite = "strict";
};
-dictionary CookieStoreSetExtraOptions : CookieStoreSetOptions {
- required USVString name;
- required USVString value;
-};
-
dictionary CookieStoreDeleteOptions {
required USVString name;
USVString? domain = null;
@@ -59,13 +55,13 @@
};
dictionary CookieListItem {
- required USVString name;
+ USVString name;
USVString value;
- USVString? domain = null;
- USVString path = "/";
- DOMTimeStamp? expires = null;
- boolean secure = true;
- CookieSameSite sameSite = "strict";
+ USVString? domain;
+ USVString path;
+ DOMTimeStamp? expires;
+ boolean secure;
+ CookieSameSite sameSite;
};
typedef sequence<CookieListItem> CookieList;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-properties-values-api.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-properties-values-api.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-properties-values-api.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -14,10 +14,6 @@
void registerProperty(PropertyDefinition definition);
};
-partial interface CSSRule {
- const unsigned short PROPERTY_RULE = 18;
-};
-
[Exposed=Window]
interface CSSPropertyRule : CSSRule {
readonly attribute CSSOMString name;
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/custom-state-pseudo-class.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/custom-state-pseudo-class.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/custom-state-pseudo-class.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,8 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Custom State Pseudo Class (https://wicg.github.io/custom-state-pseudo-class/)
+
+partial interface ElementInternals {
+ [SameObject, PutForwards=value] readonly attribute DOMTokenList states;
+};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/deprecation-reporting.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/deprecation-reporting.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/deprecation-reporting.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,15 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Deprecation Reporting (https://wicg.github.io/deprecation-reporting/)
+
+[Exposed=(Window,Worker)]
+interface DeprecationReportBody : ReportBody {
+ [Default] object toJSON();
+ readonly attribute DOMString id;
+ readonly attribute Date? anticipatedRemoval;
+ readonly attribute DOMString message;
+ readonly attribute DOMString? sourceFile;
+ readonly attribute unsigned long? lineNumber;
+ readonly attribute unsigned long? columnNumber;
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/fetch.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/fetch.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/fetch.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -17,7 +17,9 @@
iterable<ByteString, ByteString>;
};
-typedef (Blob or BufferSource or FormData or URLSearchParams or ReadableStream or USVString) BodyInit;
+typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) XMLHttpRequestBodyInit;
+
+typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;
interface mixin Body {
readonly attribute ReadableStream? body;
readonly attribute boolean bodyUsed;
@@ -70,7 +72,7 @@
any window; // can only be set to null
};
-enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
+enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
enum RequestCredentials { "omit", "same-origin", "include" };
enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/get-installed-related-apps.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/get-installed-related-apps.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/get-installed-related-apps.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,16 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Get Installed Related Apps API (https://wicg.github.io/get-installed-related-apps/spec/)
+
+dictionary RelatedApplication {
+ required USVString platform;
+ USVString url;
+ DOMString id;
+ USVString version;
+};
+
+[Exposed=Window]
+partial interface Navigator {
+ [SecureContext] Promise<sequence<RelatedApplication>> getInstalledRelatedApps();
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/html.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/html.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/html.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -194,6 +194,7 @@
[CEReactions] attribute USVString imageSrcset;
[CEReactions] attribute DOMString imageSizes;
[CEReactions] attribute DOMString referrerPolicy;
+ [CEReactions] attribute boolean disabled;
};
HTMLLinkElement includes LinkStyle;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/image-capture.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/image-capture.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/image-capture.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -33,6 +33,7 @@
readonly attribute double max;
readonly attribute double min;
readonly attribute double step;
+ [Default] object toJSON();
};
enum RedEyeReduction {
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/input-device-capabilities.idl (from rev 264477, trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/InputDeviceCapabilities.idl) (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/input-device-capabilities.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/input-device-capabilities.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,24 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Input Device Capabilities (https://wicg.github.io/input-device-capabilities/)
+
+[Exposed=Window]
+interface InputDeviceCapabilities {
+ constructor(optional InputDeviceCapabilitiesInit deviceInitDict = {});
+ readonly attribute boolean firesTouchEvents;
+ readonly attribute boolean pointerMovementScrolls;
+};
+
+dictionary InputDeviceCapabilitiesInit {
+ boolean firesTouchEvents = false;
+ boolean pointerMovementScrolls = false;
+};
+
+partial interface UIEvent {
+ readonly attribute InputDeviceCapabilities? sourceCapabilities;
+};
+
+partial dictionary UIEventInit {
+ InputDeviceCapabilities? sourceCapabilities = null;
+};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/intervention-reporting.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/intervention-reporting.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/intervention-reporting.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,14 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Intervention Reporting (https://wicg.github.io/intervention-reporting/)
+
+[Exposed=(Window,Worker)]
+interface InterventionReportBody : ReportBody {
+ [Default] object toJSON();
+ readonly attribute DOMString id;
+ readonly attribute DOMString message;
+ readonly attribute DOMString? sourceFile;
+ readonly attribute unsigned long? lineNumber;
+ readonly attribute unsigned long? columnNumber;
+};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/is-input-pending.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/is-input-pending.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/is-input-pending.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,22 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Early detection of input events (https://wicg.github.io/is-input-pending/)
+
+dictionary IsInputPendingOptionsInit {
+ boolean includeContinuous = "false";
+};
+
+[Exposed=Window]
+interface IsInputPendingOptions {
+ constructor(optional IsInputPendingOptionsInit isInputPendingOptionsInit = {});
+ attribute boolean includeContinuous;
+};
+
+[Exposed=Window] interface Scheduling {
+ boolean isInputPending(optional IsInputPendingOptions isInputPendingOptions);
+};
+
+partial interface Navigator {
+ readonly attribute Scheduling scheduling;
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/media-capabilities.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/media-capabilities.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/media-capabilities.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -108,5 +108,5 @@
[Exposed=(Window, Worker)]
interface MediaCapabilities {
[NewObject] Promise<MediaCapabilitiesDecodingInfo> decodingInfo(MediaDecodingConfiguration configuration);
- [NewObject] Promise<MediaCapabilitiesInfo> encodingInfo(MediaEncodingConfiguration configuration);
+ [NewObject] Promise<MediaCapabilitiesEncodingInfo> encodingInfo(MediaEncodingConfiguration configuration);
};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/native-file-system.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/native-file-system.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/native-file-system.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -7,17 +7,23 @@
boolean writable = false;
};
+enum FileSystemHandleKind {
+ "file",
+ "directory",
+};
+
[Exposed=(Window,Worker), SecureContext, Serializable]
interface FileSystemHandle {
- readonly attribute boolean isFile;
- readonly attribute boolean isDirectory;
+ readonly attribute FileSystemHandleKind kind;
readonly attribute USVString name;
+ Promise<boolean> isSameEntry(FileSystemHandle other);
+
Promise<PermissionState> queryPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
Promise<PermissionState> requestPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
};
-dictionary FileSystemCreateWriterOptions {
+dictionary FileSystemCreateWritableOptions {
boolean keepExistingData = false;
};
@@ -24,7 +30,7 @@
[Exposed=(Window,Worker), SecureContext, Serializable]
interface FileSystemFileHandle : FileSystemHandle {
Promise<File> getFile();
- Promise<FileSystemWriter> createWriter(optional FileSystemCreateWriterOptions options = {});
+ Promise<FileSystemWritableFileStream> createWritable(optional FileSystemCreateWritableOptions options = {});
};
dictionary FileSystemGetFileOptions {
@@ -41,52 +47,66 @@
[Exposed=(Window,Worker), SecureContext, Serializable]
interface FileSystemDirectoryHandle : FileSystemHandle {
- Promise<FileSystemFileHandle> getFile(USVString name, optional FileSystemGetFileOptions options = {});
- Promise<FileSystemDirectoryHandle> getDirectory(USVString name, optional FileSystemGetDirectoryOptions options = {});
+ async iterable<USVString, FileSystemHandle>;
- // This really returns an async iterable, but that is not yet expressable in WebIDL.
- object getEntries();
+ Promise<FileSystemFileHandle> getFileHandle(USVString name, optional FileSystemGetFileOptions options = {});
+ Promise<FileSystemDirectoryHandle> getDirectoryHandle(USVString name, optional FileSystemGetDirectoryOptions options = {});
Promise<void> removeEntry(USVString name, optional FileSystemRemoveOptions options = {});
+
+ Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
};
+enum WriteCommandType {
+ "write",
+ "seek",
+ "truncate",
+};
+
+dictionary WriteParams {
+ required WriteCommandType type;
+ unsigned long long? size;
+ unsigned long long? position;
+ (BufferSource or Blob or USVString)? data;
+};
+
+typedef (BufferSource or Blob or USVString or WriteParams) FileSystemWriteChunkType;
+
[Exposed=(Window,Worker), SecureContext]
-interface FileSystemWriter {
- Promise<void> write(unsigned long long position, (BufferSource or Blob or USVString) data);
+interface FileSystemWritableFileStream : WritableStream {
+ Promise<void> write(FileSystemWriteChunkType data);
+ Promise<void> seek(unsigned long long position);
Promise<void> truncate(unsigned long long size);
- Promise<void> close();
};
-enum ChooseFileSystemEntriesType { "open-file", "save-file", "open-directory" };
+dictionary FilePickerAcceptType {
+ USVString description;
+ record<USVString, sequence<USVString>> accept;
+};
-dictionary ChooseFileSystemEntriesOptionsAccepts {
- USVString description;
- sequence<USVString> mimeTypes;
- sequence<USVString> extensions;
+dictionary FilePickerOptions {
+ sequence<FilePickerAcceptType> types;
+ boolean excludeAcceptAllOption = false;
};
-dictionary ChooseFileSystemEntriesOptions {
- ChooseFileSystemEntriesType type = "open-file";
+dictionary OpenFilePickerOptions : FilePickerOptions {
boolean multiple = false;
- sequence<ChooseFileSystemEntriesOptionsAccepts> accepts;
- boolean excludeAcceptAllOption = false;
};
-[SecureContext]
-partial interface Window {
- Promise<(FileSystemHandle or sequence<FileSystemHandle>)>
- chooseFileSystemEntries(optional ChooseFileSystemEntriesOptions options = {});
+dictionary SaveFilePickerOptions : FilePickerOptions {
};
-enum SystemDirectoryType {
- "sandbox"
+dictionary DirectoryPickerOptions {
};
-dictionary GetSystemDirectoryOptions {
- required SystemDirectoryType type;
+[SecureContext]
+partial interface Window {
+ Promise<sequence<FileSystemFileHandle>> showOpenFilePicker(optional OpenFilePickerOptions options = {});
+ Promise<FileSystemFileHandle> showSaveFilePicker(optional SaveFilePickerOptions options = {});
+ Promise<FileSystemDirectoryHandle> showDirectoryPicker(optional DirectoryPickerOptions options = {});
};
[SecureContext]
-partial interface FileSystemDirectoryHandle {
- static Promise<FileSystemDirectoryHandle> getSystemDirectory(GetSystemDirectoryOptions options);
+partial interface mixin WindowOrWorkerGlobalScope {
+ Promise<FileSystemDirectoryHandle> getOriginPrivateDirectory();
};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/payment-handler.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/payment-handler.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/payment-handler.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -11,7 +11,7 @@
interface PaymentManager {
[SameObject] readonly attribute PaymentInstruments instruments;
attribute DOMString userHint;
- Promise<void> enableDelegations(FrozenArray<PaymentDelegation> delegations);
+ Promise<void> enableDelegations(sequence<PaymentDelegation> delegations);
};
enum PaymentDelegation {
@@ -70,8 +70,8 @@
dictionary PaymentRequestDetailsUpdate {
DOMString error;
PaymentCurrencyAmount total;
- FrozenArray<PaymentDetailsModifier> modifiers;
- FrozenArray<PaymentShippingOption> shippingOptions;
+ sequence<PaymentDetailsModifier> modifiers;
+ sequence<PaymentShippingOption> shippingOptions;
object paymentMethodErrors;
AddressErrors shippingAddressErrors;
};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/picture-in-picture.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/picture-in-picture.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/picture-in-picture.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -32,11 +32,11 @@
};
[Exposed=Window]
-interface EnterPictureInPictureEvent : Event {
- constructor(DOMString type, EnterPictureInPictureEventInit eventInitDict);
+interface PictureInPictureEvent : Event {
+ constructor(DOMString type, PictureInPictureEventInit eventInitDict);
[SameObject] readonly attribute PictureInPictureWindow pictureInPictureWindow;
};
-dictionary EnterPictureInPictureEventInit : EventInit {
+dictionary PictureInPictureEventInit : EventInit {
required PictureInPictureWindow pictureInPictureWindow;
};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/pointerevents.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/pointerevents.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/pointerevents.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -9,11 +9,11 @@
double height = 1;
float pressure = 0;
float tangentialPressure = 0;
- long tiltX = 0;
- long tiltY = 0;
+ long tiltX;
+ long tiltY;
long twist = 0;
- double altitudeAngle = 0;
- double azimuthAngle = 0;
+ double altitudeAngle;
+ double azimuthAngle;
DOMString pointerType = "";
boolean isPrimary = false;
sequence<PointerEvent> coalescedEvents = [];
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/savedata.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/savedata.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/savedata.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,10 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Save Data API (https://wicg.github.io/savedata/)
+
+interface mixin NetworkInformationSaveData {
+ [SameObject] readonly attribute boolean saveData;
+};
+
+NetworkInformation includes NetworkInformationSaveData;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/scroll-animations.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/scroll-animations.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/scroll-animations.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -15,8 +15,8 @@
dictionary ScrollTimelineOptions {
Element? source = null;
ScrollDirection orientation = "block";
- DOMString start = "auto";
- DOMString end = "auto";
+ (DOMString or ElementBasedOffset) start = "auto";
+ (DOMString or ElementBasedOffset) end = "auto";
(double or ScrollTimelineAutoKeyword) timeRange = "auto";
};
@@ -29,3 +29,11 @@
readonly attribute DOMString end;
readonly attribute (double or ScrollTimelineAutoKeyword) timeRange;
};
+
+enum Edge { "start", "end" };
+
+dictionary ElementBasedOffset {
+ Element target;
+ Edge edge = "start";
+ double threshold = 0.0;
+};
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access-api.tentative.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access-api.tentative.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access-api.tentative.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,6 +0,0 @@
-// https://github.com/whatwg/html/issues/3338
-
-partial interface Document {
- Promise<bool> hasStorageAccess();
- Promise<void> requestStorageAccess();
-};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,9 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: The Storage Access API (https://privacycg.github.io/storage-access/)
+
+partial interface Document {
+ Promise<boolean> hasStorageAccess();
+ Promise<void> requestStorageAccess();
+};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/streams.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/streams.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/streams.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,219 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Streams Standard (https://streams.spec.whatwg.org/)
+
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableStream {
+ constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
+
+ readonly attribute boolean locked;
+
+ Promise<void> cancel(optional any reason);
+ ReadableStreamReader getReader(optional ReadableStreamGetReaderOptions options = {});
+ ReadableStream pipeThrough(ReadableWritablePair transform, optional StreamPipeOptions options = {});
+ Promise<void> pipeTo(WritableStream destination, optional StreamPipeOptions options = {});
+ sequence<ReadableStream> tee();
+
+ async iterable<any>(optional ReadableStreamIteratorOptions options = {});
+};
+
+typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader;
+
+enum ReadableStreamReaderMode { "byob" };
+
+dictionary ReadableStreamGetReaderOptions {
+ ReadableStreamReaderMode mode;
+};
+
+dictionary ReadableStreamIteratorOptions {
+ boolean preventCancel = false;
+};
+
+dictionary ReadableWritablePair {
+ required ReadableStream readable;
+ required WritableStream writable;
+};
+
+dictionary StreamPipeOptions {
+ boolean preventClose = false;
+ boolean preventAbort = false;
+ boolean preventCancel = false;
+ AbortSignal signal;
+};
+
+dictionary UnderlyingSource {
+ UnderlyingSourceStartCallback start;
+ UnderlyingSourcePullCallback pull;
+ UnderlyingSourceCancelCallback cancel;
+ ReadableStreamType type;
+ [EnforceRange] unsigned long long autoAllocateChunkSize;
+};
+
+typedef (ReadableStreamDefaultController or ReadableByteStreamController) ReadableStreamController;
+
+callback UnderlyingSourceStartCallback = any (ReadableStreamController controller);
+callback UnderlyingSourcePullCallback = Promise<void> (ReadableStreamController controller);
+callback UnderlyingSourceCancelCallback = Promise<void> (optional any reason);
+
+enum ReadableStreamType { "bytes" };
+
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableStreamDefaultReader {
+ constructor(ReadableStream stream);
+
+ readonly attribute Promise<void> closed;
+
+ Promise<void> cancel(optional any reason);
+ Promise<ReadableStreamDefaultReadResult> read();
+ void releaseLock();
+};
+
+dictionary ReadableStreamDefaultReadResult {
+ any value;
+ boolean done;
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableStreamBYOBReader {
+ constructor(ReadableStream stream);
+
+ readonly attribute Promise<void> closed;
+
+ Promise<void> cancel(optional any reason);
+ Promise<ReadableStreamBYOBReadResult> read(ArrayBufferView view);
+ void releaseLock();
+};
+
+dictionary ReadableStreamBYOBReadResult {
+ ArrayBufferView value;
+ boolean done;
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableStreamDefaultController {
+ readonly attribute unrestricted double? desiredSize;
+
+ void close();
+ void enqueue(optional any chunk);
+ void error(optional any e);
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableByteStreamController {
+ readonly attribute ReadableStreamBYOBRequest? byobRequest;
+ readonly attribute unrestricted double? desiredSize;
+
+ void close();
+ void enqueue(ArrayBufferView chunk);
+ void error(optional any e);
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableStreamBYOBRequest {
+ readonly attribute ArrayBufferView? view;
+
+ void respond([EnforceRange] unsigned long long bytesWritten);
+ void respondWithNewView(ArrayBufferView view);
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface WritableStream {
+ constructor(optional object underlyingSink, optional QueuingStrategy strategy = {});
+
+ readonly attribute boolean locked;
+
+ Promise<void> abort(optional any reason);
+ Promise<void> close();
+ WritableStreamDefaultWriter getWriter();
+};
+
+dictionary UnderlyingSink {
+ UnderlyingSinkStartCallback start;
+ UnderlyingSinkWriteCallback write;
+ UnderlyingSinkCloseCallback close;
+ UnderlyingSinkAbortCallback abort;
+ any type;
+};
+
+callback UnderlyingSinkStartCallback = any (WritableStreamDefaultController controller);
+callback UnderlyingSinkWriteCallback = Promise<void> (WritableStreamDefaultController controller, optional any chunk);
+callback UnderlyingSinkCloseCallback = Promise<void> ();
+callback UnderlyingSinkAbortCallback = Promise<void> (optional any reason);
+
+[Exposed=(Window,Worker,Worklet)]
+interface WritableStreamDefaultWriter {
+ constructor(WritableStream stream);
+
+ readonly attribute Promise<void> closed;
+ readonly attribute unrestricted double? desiredSize;
+ readonly attribute Promise<void> ready;
+
+ Promise<void> abort(optional any reason);
+ Promise<void> close();
+ void releaseLock();
+ Promise<void> write(optional any chunk);
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface WritableStreamDefaultController {
+ void error(optional any e);
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface TransformStream {
+ constructor(optional object transformer,
+ optional QueuingStrategy writableStrategy = {},
+ optional QueuingStrategy readableStrategy = {});
+
+ readonly attribute ReadableStream readable;
+ readonly attribute WritableStream writable;
+};
+
+dictionary Transformer {
+ TransformerStartCallback start;
+ TransformerTransformCallback transform;
+ TransformerFlushCallback flush;
+ any readableType;
+ any writableType;
+};
+
+callback TransformerStartCallback = any (TransformStreamDefaultController controller);
+callback TransformerFlushCallback = Promise<void> (TransformStreamDefaultController controller);
+callback TransformerTransformCallback = Promise<void> (TransformStreamDefaultController controller, optional any chunk);
+
+[Exposed=(Window,Worker,Worklet)]
+interface TransformStreamDefaultController {
+ readonly attribute unrestricted double? desiredSize;
+
+ void enqueue(optional any chunk);
+ void error(optional any reason);
+ void terminate();
+};
+
+dictionary QueuingStrategy {
+ unrestricted double highWaterMark;
+ QueuingStrategySize size;
+};
+
+callback QueuingStrategySize = unrestricted double (optional any chunk);
+
+dictionary QueuingStrategyInit {
+ required unrestricted double highWaterMark;
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface ByteLengthQueuingStrategy {
+ constructor(QueuingStrategyInit init);
+
+ readonly attribute unrestricted double highWaterMark;
+ readonly attribute Function size;
+};
+
+[Exposed=(Window,Worker,Worklet)]
+interface CountQueuingStrategy {
+ constructor(QueuingStrategyInit init);
+
+ readonly attribute unrestricted double highWaterMark;
+ readonly attribute Function size;
+};
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ua-client-hints.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ua-client-hints.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/ua-client-hints.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,32 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: User-Agent Client Hints (https://wicg.github.io/ua-client-hints/)
+
+dictionary NavigatorUABrandVersion {
+ DOMString brand;
+ DOMString version;
+};
+
+dictionary UADataValues {
+ DOMString platform;
+
+ DOMString platformVersion;
+ DOMString architecture;
+ DOMString model;
+ DOMString uaFullVersion;
+};
+
+[Exposed=(Window,Worker)]
+interface NavigatorUAData {
+ readonly attribute FrozenArray<NavigatorUABrandVersion> brands;
+ readonly attribute boolean mobile;
+ Promise<UADataValues> getHighEntropyValues(sequence<DOMString> hints);
+};
+
+interface mixin NavigatorUA {
+ [SecureContext] readonly attribute NavigatorUAData userAgentData;
+};
+
+Navigator includes NavigatorUA;
+WorkerNavigator includes NavigatorUA;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/w3c-import.log (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/w3c-import.log 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/w3c-import.log 2020-07-16 21:18:04 UTC (rev 264478)
@@ -14,13 +14,10 @@
None
------------------------------------------------------------------------
List of files:
-/LayoutTests/imported/w3c/web-platform-tests/interfaces/BackgroundSync.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/CSP.idl
-/LayoutTests/imported/w3c/web-platform-tests/interfaces/CSS-Parser-API.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/DOM-Parsing.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/FileAPI.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/IndexedDB.idl
-/LayoutTests/imported/w3c/web-platform-tests/interfaces/InputDeviceCapabilities.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/META.yml
/LayoutTests/imported/w3c/web-platform-tests/interfaces/README.md
/LayoutTests/imported/w3c/web-platform-tests/interfaces/SRI.idl
@@ -32,13 +29,16 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/appmanifest.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/audio-output.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/background-fetch.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/background-sync.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/badging.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/battery-status.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/beacon.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/clipboard-apis.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/compat.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/compression.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/console.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/construct-stylesheets.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/content-index.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/cookie-store.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/cors-rfc1918.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/credential-management.idl
@@ -54,6 +54,7 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-layout-api.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-masking.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-paint-api.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-parser-api.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-properties-values-api.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-pseudo.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-shadow-parts.idl
@@ -61,6 +62,8 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/css-typed-om.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/cssom-view.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/cssom.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/custom-state-pseudo-class.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/deprecation-reporting.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/device-memory.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/dom.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/element-timing.idl
@@ -77,6 +80,7 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/geolocation-API.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/geolocation-sensor.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/geometry.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/get-installed-related-apps.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/gyroscope.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/hit-test.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/hr-time.idl
@@ -83,8 +87,11 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/html-media-capture.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/html.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/image-capture.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/input-device-capabilities.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/input-events.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/intersection-observer.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/intervention-reporting.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/is-input-pending.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/js-self-profiling.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/keyboard-lock.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/keyboard-map.idl
@@ -131,6 +138,7 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/requestidlecallback.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/resize-observer.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/resource-timing.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/savedata.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/screen-capture.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/screen-orientation.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/scroll-animations.idl
@@ -140,11 +148,13 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/service-workers.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/shape-detection-api.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/speech-api.idl
-/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access-api.tentative.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage-access.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/storage.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/streams.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/text-detection-api.tentative.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/touch-events.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/trusted-types.tentative.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/ua-client-hints.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/uievents.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/url.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/user-timing.idl
@@ -159,6 +169,7 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-bluetooth.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-locks.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-nfc.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-otp.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-share.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webaudio.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webauthn.idl
@@ -165,6 +176,7 @@
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webdriver.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webgl1.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webgl2.idl
+/LayoutTests/imported/w3c/web-platform-tests/interfaces/webhid.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webmidi.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webrtc-identity.idl
/LayoutTests/imported/w3c/web-platform-tests/interfaces/webrtc-stats.idl
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/wai-aria.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/wai-aria.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/wai-aria.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -4,7 +4,7 @@
// Source: Accessible Rich Internet Applications (WAI-ARIA) 1.2 (https://w3c.github.io/aria/)
interface mixin AccessibilityRole {
- attribute DOMString? role;
+ attribute DOMString role;
};
Element includes AccessibilityRole;
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-otp.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-otp.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/web-otp.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -0,0 +1,21 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into reffy-reports
+// (https://github.com/tidoust/reffy-reports)
+// Source: Web OTP API (https://wicg.github.io/web-otp/)
+
+[Exposed=Window, SecureContext]
+interface OTPCredential : Credential {
+ readonly attribute DOMString code;
+};
+
+partial dictionary CredentialRequestOptions {
+ OTPCredentialRequestOptions otp;
+};
+
+dictionary OTPCredentialRequestOptions {
+ sequence<OTPCredentialTransportType> transport = [];
+};
+
+enum OTPCredentialTransportType {
+ "sms",
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webauthn.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webauthn.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webauthn.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -44,7 +44,7 @@
};
dictionary PublicKeyCredentialParameters {
- required PublicKeyCredentialType type;
+ required DOMString type;
required COSEAlgorithmIdentifier alg;
};
@@ -76,10 +76,10 @@
};
dictionary AuthenticatorSelectionCriteria {
- AuthenticatorAttachment authenticatorAttachment;
+ DOMString authenticatorAttachment;
boolean requireResidentKey = false;
- ResidentKeyRequirement residentKey;
- UserVerificationRequirement userVerification = "preferred";
+ DOMString residentKey;
+ DOMString userVerification = "preferred";
};
enum AuthenticatorAttachment {
@@ -105,7 +105,7 @@
unsigned long timeout;
USVString rpId;
sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
- UserVerificationRequirement userVerification = "preferred";
+ DOMString userVerification = "preferred";
AuthenticationExtensionsClientInputs extensions;
};
@@ -115,8 +115,6 @@
dictionary AuthenticationExtensionsClientOutputs {
};
-typedef record<DOMString, DOMString> AuthenticationExtensionsAuthenticatorInputs;
-
dictionary CollectedClientData {
required DOMString type;
required DOMString challenge;
@@ -126,7 +124,7 @@
};
dictionary TokenBinding {
- required TokenBindingStatus status;
+ required DOMString status;
DOMString id;
};
@@ -137,7 +135,7 @@
};
dictionary PublicKeyCredentialDescriptor {
- required PublicKeyCredentialType type;
+ required DOMString type;
required BufferSource id;
sequence<DOMString> transports;
};
@@ -169,6 +167,10 @@
USVString appidExclude;
};
+partial dictionary AuthenticationExtensionsClientOutputs {
+ boolean appidExclude;
+};
+
partial dictionary AuthenticationExtensionsClientInputs {
boolean uvm;
};
@@ -191,3 +193,44 @@
partial dictionary AuthenticationExtensionsClientOutputs {
CredentialPropertiesOutput credProps;
};
+
+dictionary AuthenticationExtensionsPRFValues {
+ required ArrayBuffer first;
+ ArrayBuffer second;
+};
+
+dictionary AuthenticationExtensionsPRFInputs {
+ AuthenticationExtensionsPRFValues eval;
+ record<USVString, AuthenticationExtensionsPRFValues> evalByCredential;
+};
+
+partial dictionary AuthenticationExtensionsClientInputs {
+ AuthenticationExtensionsPRFInputs prf;
+};
+
+dictionary AuthenticationExtensionsPRFOutputs {
+ boolean enabled;
+ AuthenticationExtensionsPRFValues results;
+};
+
+partial dictionary AuthenticationExtensionsClientOutputs {
+ AuthenticationExtensionsPRFOutputs prf;
+};
+
+partial dictionary AuthenticationExtensionsClientInputs {
+ AuthenticationExtensionsLargeBlobInputs largeBlob;
+};
+
+dictionary AuthenticationExtensionsLargeBlobInputs {
+ boolean read;
+ ArrayBuffer write;
+};
+
+partial dictionary AuthenticationExtensionsClientOutputs {
+ AuthenticationExtensionsLargeBlobOutputs largeBlob;
+};
+
+dictionary AuthenticationExtensionsLargeBlobOutputs {
+ ArrayBuffer blob;
+ boolean written;
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webdriver.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webdriver.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webdriver.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -3,8 +3,7 @@
// (https://github.com/tidoust/reffy-reports)
// Source: WebDriver (https://w3c.github.io/webdriver/)
-Navigator includes NavigatorAutomationInformation;
-
interface mixin NavigatorAutomationInformation {
readonly attribute boolean webdriver;
};
+Navigator includes NavigatorAutomationInformation;
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webhid.idl (0 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webhid.idl (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webhid.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -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<HIDDeviceFilter> filters;
+};
+
+[SecureContext]
+interface HID : EventTarget {
+ attribute EventHandler onconnect;
+ attribute EventHandler ondisconnect;
+ Promise<sequence<HIDDevice>> getDevices();
+ Promise<sequence<HIDDevice>> 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<unsigned long> 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<DOMString> strings;
+};
+
+[SecureContext] interface HIDReportInfo {
+ readonly attribute octet reportId;
+ readonly attribute FrozenArray<HIDReportItem> items;
+};
+
+[SecureContext] interface HIDCollectionInfo {
+ readonly attribute unsigned short usagePage;
+ readonly attribute unsigned short usage;
+ readonly attribute FrozenArray<HIDCollectionInfo> children;
+ readonly attribute FrozenArray<HIDReportInfo> inputReports;
+ readonly attribute FrozenArray<HIDReportInfo> outputReports;
+ readonly attribute FrozenArray<HIDReportInfo> 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<HIDCollectionInfo> collections;
+ Promise<void> open();
+ Promise<void> close();
+ Promise<void> sendReport(octet reportId, BufferSource data);
+ Promise<void> sendFeatureReport(octet reportId, BufferSource data);
+ Promise<DataView> receiveFeatureReport(octet reportId);
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr-ar-module.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr-ar-module.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr-ar-module.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -23,3 +23,7 @@
// Attributes
readonly attribute XRInteractionMode interactionMode;
};
+
+partial interface XRView {
+ readonly attribute boolean isFirstPersonObserver;
+};
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/webxr.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -44,7 +44,7 @@
[NewObject] Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceType type);
unsigned long requestAnimationFrame(XRFrameRequestCallback callback);
- void cancelAnimationFrame(long handle);
+ void cancelAnimationFrame(unsigned long handle);
Promise<void> end();
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/xhr.idl (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/xhr.idl 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/xhr.idl 2020-07-16 21:18:04 UTC (rev 264478)
@@ -50,7 +50,7 @@
attribute unsigned long timeout;
attribute boolean withCredentials;
[SameObject] readonly attribute XMLHttpRequestUpload upload;
- void send(optional (Document or BodyInit)? body = null);
+ void send(optional (Document or XMLHttpRequestBodyInit)? body = null);
void abort();
// response
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any-expected.txt (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,3 +1,5 @@
-FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/streams.idl."
+FAIL idl_test setup promise_test: Unhandled rejection with value: object "WebIDLParseError: Syntax error at line 18 in streams, since `interface ReadableStream`:
+ async iterable<any>(optional ReadableStreamIteratorOptions options
+ ^ Missing second type argument in iterable declaration"
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any.worker-expected.txt (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any.worker-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any.worker-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -1,3 +1,5 @@
-FAIL idl_test setup promise_test: Unhandled rejection with value: object "Error fetching /interfaces/streams.idl."
+FAIL idl_test setup promise_test: Unhandled rejection with value: object "WebIDLParseError: Syntax error at line 18 in streams, since `interface ReadableStream`:
+ async iterable<any>(optional ReadableStreamIteratorOptions options
+ ^ Missing second type argument in iterable declaration"
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/idlharness.any-expected.txt (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/idlharness.any-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/idlharness.any-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -60,7 +60,7 @@
PASS XMLHttpRequest interface: attribute timeout
PASS XMLHttpRequest interface: attribute withCredentials
PASS XMLHttpRequest interface: attribute upload
-PASS XMLHttpRequest interface: operation send(optional (Document or BodyInit)?)
+PASS XMLHttpRequest interface: operation send(optional (Document or XMLHttpRequestBodyInit)?)
PASS XMLHttpRequest interface: operation abort()
PASS XMLHttpRequest interface: attribute responseURL
PASS XMLHttpRequest interface: attribute status
@@ -90,8 +90,8 @@
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "timeout" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "withCredentials" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "upload" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send(optional (Document or BodyInit)?)" with the proper type
-PASS XMLHttpRequest interface: calling send(optional (Document or BodyInit)?) on new XMLHttpRequest() with too few arguments must throw TypeError
+PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send(optional (Document or XMLHttpRequestBodyInit)?)" with the proper type
+PASS XMLHttpRequest interface: calling send(optional (Document or XMLHttpRequestBodyInit)?) on new XMLHttpRequest() with too few arguments must throw TypeError
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "abort()" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseURL" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "status" with the proper type
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/idlharness.any.worker-expected.txt (264477 => 264478)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/idlharness.any.worker-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/idlharness.any.worker-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -60,7 +60,7 @@
PASS XMLHttpRequest interface: attribute timeout
PASS XMLHttpRequest interface: attribute withCredentials
PASS XMLHttpRequest interface: attribute upload
-PASS XMLHttpRequest interface: operation send(optional (Document or BodyInit)?)
+PASS XMLHttpRequest interface: operation send(optional (Document or XMLHttpRequestBodyInit)?)
PASS XMLHttpRequest interface: operation abort()
PASS XMLHttpRequest interface: attribute responseURL
PASS XMLHttpRequest interface: attribute status
@@ -90,8 +90,8 @@
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "timeout" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "withCredentials" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "upload" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send(optional (Document or BodyInit)?)" with the proper type
-PASS XMLHttpRequest interface: calling send(optional (Document or BodyInit)?) on new XMLHttpRequest() with too few arguments must throw TypeError
+PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send(optional (Document or XMLHttpRequestBodyInit)?)" with the proper type
+PASS XMLHttpRequest interface: calling send(optional (Document or XMLHttpRequestBodyInit)?) on new XMLHttpRequest() with too few arguments must throw TypeError
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "abort()" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseURL" with the proper type
PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "status" with the proper type
Modified: trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (264477 => 264478)
--- trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -507,6 +507,7 @@
PASS HTMLLinkElement interface: attribute imageSrcset
PASS HTMLLinkElement interface: attribute imageSizes
FAIL HTMLLinkElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false
+PASS HTMLLinkElement interface: attribute disabled
PASS HTMLLinkElement interface: attribute charset
PASS HTMLLinkElement interface: attribute rev
PASS HTMLLinkElement interface: attribute target
@@ -525,6 +526,7 @@
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "imageSrcset" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "imageSizes" with the proper type
FAIL HTMLLinkElement interface: document.createElement("link") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain
+PASS HTMLLinkElement interface: document.createElement("link") must inherit property "disabled" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "charset" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "rev" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "target" with the proper type
Modified: trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (264477 => 264478)
--- trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -507,6 +507,7 @@
PASS HTMLLinkElement interface: attribute imageSrcset
PASS HTMLLinkElement interface: attribute imageSizes
FAIL HTMLLinkElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false
+PASS HTMLLinkElement interface: attribute disabled
PASS HTMLLinkElement interface: attribute charset
PASS HTMLLinkElement interface: attribute rev
PASS HTMLLinkElement interface: attribute target
@@ -525,6 +526,7 @@
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "imageSrcset" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "imageSizes" with the proper type
FAIL HTMLLinkElement interface: document.createElement("link") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain
+PASS HTMLLinkElement interface: document.createElement("link") must inherit property "disabled" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "charset" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "rev" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "target" with the proper type
Modified: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (264477 => 264478)
--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2020-07-16 20:52:34 UTC (rev 264477)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2020-07-16 21:18:04 UTC (rev 264478)
@@ -507,6 +507,7 @@
PASS HTMLLinkElement interface: attribute imageSrcset
PASS HTMLLinkElement interface: attribute imageSizes
FAIL HTMLLinkElement interface: attribute referrerPolicy assert_true: The prototype object must have a property "referrerPolicy" expected true got false
+PASS HTMLLinkElement interface: attribute disabled
PASS HTMLLinkElement interface: attribute charset
PASS HTMLLinkElement interface: attribute rev
PASS HTMLLinkElement interface: attribute target
@@ -525,6 +526,7 @@
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "imageSrcset" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "imageSizes" with the proper type
FAIL HTMLLinkElement interface: document.createElement("link") must inherit property "referrerPolicy" with the proper type assert_inherits: property "referrerPolicy" not found in prototype chain
+PASS HTMLLinkElement interface: document.createElement("link") must inherit property "disabled" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "charset" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "rev" with the proper type
PASS HTMLLinkElement interface: document.createElement("link") must inherit property "target" with the proper type