mirror of
https://github.com/servo/servo.git
synced 2025-08-26 23:58:20 +01:00
Update web-platform-tests to revision 3503c50a6452e153bde906a9c6644cb6237224fc
This commit is contained in:
parent
3db473714b
commit
dc71e05859
379 changed files with 37923 additions and 5120 deletions
|
@ -19,12 +19,6 @@ interface CookieStore : EventTarget {
|
|||
Promise<void> delete(USVString name);
|
||||
Promise<void> delete(CookieStoreDeleteOptions options);
|
||||
|
||||
[Exposed=ServiceWorker]
|
||||
Promise<void> subscribeToChanges(sequence<CookieStoreGetOptions> subscriptions);
|
||||
|
||||
[Exposed=ServiceWorker]
|
||||
Promise<sequence<CookieStoreGetOptions>> getChangeSubscriptions();
|
||||
|
||||
[Exposed=Window]
|
||||
attribute EventHandler onchange;
|
||||
};
|
||||
|
@ -77,8 +71,7 @@ dictionary CookieListItem {
|
|||
|
||||
typedef sequence<CookieListItem> CookieList;
|
||||
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
[Exposed=Window, SecureContext]
|
||||
interface CookieChangeEvent : Event {
|
||||
constructor(DOMString type, optional CookieChangeEventInit eventInitDict = {});
|
||||
readonly attribute CookieList changed;
|
||||
|
@ -90,8 +83,8 @@ dictionary CookieChangeEventInit : EventInit {
|
|||
CookieList deleted;
|
||||
};
|
||||
|
||||
[Exposed=ServiceWorker
|
||||
] interface ExtendableCookieChangeEvent : ExtendableEvent {
|
||||
[Exposed=ServiceWorker]
|
||||
interface ExtendableCookieChangeEvent : ExtendableEvent {
|
||||
constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict = {});
|
||||
readonly attribute CookieList changed;
|
||||
readonly attribute CookieList deleted;
|
||||
|
@ -102,6 +95,13 @@ dictionary ExtendableCookieChangeEventInit : ExtendableEventInit {
|
|||
CookieList deleted;
|
||||
};
|
||||
|
||||
[Exposed=(ServiceWorker,Window), SecureContext]
|
||||
interface CookieStoreManager {
|
||||
Promise<void> subscribe(sequence<CookieStoreGetOptions> subscriptions);
|
||||
Promise<sequence<CookieStoreGetOptions>> getSubscriptions();
|
||||
Promise<void> unsubscribe(sequence<CookieStoreGetOptions> subscriptions);
|
||||
};
|
||||
|
||||
[SecureContext]
|
||||
partial interface Window {
|
||||
[Replaceable, SameObject] readonly attribute CookieStore cookieStore;
|
||||
|
@ -109,6 +109,10 @@ partial interface Window {
|
|||
|
||||
partial interface ServiceWorkerGlobalScope {
|
||||
[Replaceable, SameObject] readonly attribute CookieStore cookieStore;
|
||||
|
||||
attribute EventHandler oncookiechange;
|
||||
};
|
||||
|
||||
[Exposed=(ServiceWorker,Window), SecureContext]
|
||||
partial interface ServiceWorkerRegistration {
|
||||
readonly attribute CookieStoreManager cookies;
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ interface ResizeObserver {
|
|||
|
||||
callback ResizeObserverCallback = void (sequence<ResizeObserverEntry> entries, ResizeObserver observer);
|
||||
|
||||
[Exposed=Window, Constructor(Element target)]
|
||||
[Exposed=Window]
|
||||
interface ResizeObserverEntry {
|
||||
readonly attribute Element target;
|
||||
readonly attribute DOMRectReadOnly contentRect;
|
||||
|
|
|
@ -39,15 +39,17 @@ dictionary ModuleImportDescriptor {
|
|||
required ImportExportKind kind;
|
||||
};
|
||||
|
||||
[LegacyNamespace=WebAssembly, Constructor(BufferSource bytes), Exposed=(Window,Worker,Worklet)]
|
||||
[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
|
||||
interface Module {
|
||||
constructor(BufferSource bytes);
|
||||
static sequence<ModuleExportDescriptor> exports(Module moduleObject);
|
||||
static sequence<ModuleImportDescriptor> imports(Module moduleObject);
|
||||
static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
|
||||
};
|
||||
|
||||
[LegacyNamespace=WebAssembly, Constructor(Module module, optional object importObject), Exposed=(Window,Worker,Worklet)]
|
||||
[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
|
||||
interface Instance {
|
||||
constructor(Module module, optional object importObject);
|
||||
readonly attribute object exports;
|
||||
};
|
||||
|
||||
|
@ -56,8 +58,9 @@ dictionary MemoryDescriptor {
|
|||
[EnforceRange] unsigned long maximum;
|
||||
};
|
||||
|
||||
[LegacyNamespace=WebAssembly, Constructor(MemoryDescriptor descriptor), Exposed=(Window,Worker,Worklet)]
|
||||
[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
|
||||
interface Memory {
|
||||
constructor(MemoryDescriptor descriptor);
|
||||
unsigned long grow([EnforceRange] unsigned long delta);
|
||||
readonly attribute ArrayBuffer buffer;
|
||||
};
|
||||
|
@ -74,8 +77,9 @@ dictionary TableDescriptor {
|
|||
[EnforceRange] unsigned long maximum;
|
||||
};
|
||||
|
||||
[LegacyNamespace=WebAssembly, Constructor(TableDescriptor descriptor), Exposed=(Window,Worker,Worklet)]
|
||||
[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
|
||||
interface Table {
|
||||
constructor(TableDescriptor descriptor);
|
||||
unsigned long grow([EnforceRange] unsigned long delta);
|
||||
Function? get([EnforceRange] unsigned long index);
|
||||
void set([EnforceRange] unsigned long index, Function? value);
|
||||
|
@ -94,8 +98,9 @@ dictionary GlobalDescriptor {
|
|||
boolean mutable = false;
|
||||
};
|
||||
|
||||
[LegacyNamespace=WebAssembly, Constructor(GlobalDescriptor descriptor, optional any v), Exposed=(Window,Worker,Worklet)]
|
||||
[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
|
||||
interface Global {
|
||||
constructor(GlobalDescriptor descriptor, optional any v);
|
||||
any valueOf();
|
||||
attribute any value;
|
||||
};
|
||||
|
|
|
@ -13,6 +13,8 @@ dictionary NDEFMessageInit {
|
|||
required sequence<NDEFRecordInit> records;
|
||||
};
|
||||
|
||||
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFRecordDataSource;
|
||||
|
||||
[Exposed=Window]
|
||||
interface NDEFRecord {
|
||||
constructor(NDEFRecordInit recordInit);
|
||||
|
@ -36,7 +38,7 @@ dictionary NDEFRecordInit {
|
|||
USVString encoding;
|
||||
USVString lang;
|
||||
|
||||
any data;
|
||||
NDEFRecordDataSource data;
|
||||
};
|
||||
|
||||
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFMessageSource;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue