Update web-platform-tests to revision e0875f70f4f33a92d8a935e8d0e09a67a45761e8

This commit is contained in:
WPT Sync Bot 2019-10-19 10:24:03 +00:00
parent 175c0d56ca
commit b209ce8d5b
49 changed files with 712 additions and 137 deletions

View file

@ -3,4 +3,5 @@
// (https://github.com/tidoust/reffy-reports)
// Source: Paint Timing 1 (https://w3c.github.io/paint-timing/)
[Exposed=Window]
interface PerformancePaintTiming : PerformanceEntry {};

View file

@ -25,9 +25,6 @@ interface NDEFRecord {
readonly attribute USVString? encoding;
readonly attribute USVString? lang;
USVString? text();
[NewObject] ArrayBuffer? arrayBuffer();
[NewObject] any json();
sequence<NDEFRecord> toRecords();
};
@ -45,61 +42,61 @@ dictionary NDEFRecordInit {
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFMessageSource;
[SecureContext, Exposed=Window]
interface NFCWriter {
interface NDEFWriter {
constructor();
Promise<void> push(NDEFMessageSource message, optional NFCPushOptions options={});
Promise<void> push(NDEFMessageSource message, optional NDEFPushOptions options={});
};
[SecureContext, Exposed=Window]
interface NFCReader : EventTarget {
interface NDEFReader : EventTarget {
constructor();
attribute EventHandler onreading;
attribute EventHandler onerror;
void scan(optional NFCScanOptions options={});
void scan(optional NDEFScanOptions options={});
};
[SecureContext, Exposed=Window]
interface NFCReadingEvent : Event {
constructor(DOMString type, NFCReadingEventInit readingEventInitDict);
interface NDEFReadingEvent : Event {
constructor(DOMString type, NDEFReadingEventInit readingEventInitDict);
readonly attribute DOMString serialNumber;
[SameObject] readonly attribute NDEFMessage message;
};
dictionary NFCReadingEventInit : EventInit {
dictionary NDEFReadingEventInit : EventInit {
DOMString? serialNumber = "";
required NDEFMessageInit message;
};
[SecureContext, Exposed=Window]
interface NFCErrorEvent : Event {
constructor(DOMString type, NFCErrorEventInit errorEventInitDict);
interface NDEFErrorEvent : Event {
constructor(DOMString type, NDEFErrorEventInit errorEventInitDict);
readonly attribute DOMException error;
};
dictionary NFCErrorEventInit : EventInit {
dictionary NDEFErrorEventInit : EventInit {
required DOMException error;
};
dictionary NFCPushOptions {
NFCPushTarget target = "any";
dictionary NDEFPushOptions {
NDEFPushTarget target = "any";
unrestricted double timeout = Infinity;
boolean ignoreRead = true;
boolean overwrite = true;
AbortSignal? signal;
};
enum NFCPushTarget {
enum NDEFPushTarget {
"tag",
"peer",
"any"
};
dictionary NFCScanOptions {
dictionary NDEFScanOptions {
USVString id = "";
USVString recordType;
USVString mediaType = "";