зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1887323 [wpt PR 45297] - Sync interfaces/ with @webref/idl 3.45.3, a=testonly
Automatic update from web-platform-tests Sync interfaces/ with @webref/idl 3.45.3 (#45297) Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> -- wpt-commits: ac8b032c18666de37a8035fc219403d1811af1eb wpt-pr: 45297
This commit is contained in:
Родитель
94e55fd44d
Коммит
636bdfd12d
|
@ -33,5 +33,5 @@ interface PressureRecord {
|
||||||
};
|
};
|
||||||
|
|
||||||
dictionary PressureObserverOptions {
|
dictionary PressureObserverOptions {
|
||||||
double sampleRate = 1.0;
|
[EnforceRange] unsigned long sampleInterval = 0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,7 +24,7 @@ partial interface CSSRule {
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface CSSKeyframeRule : CSSRule {
|
interface CSSKeyframeRule : CSSRule {
|
||||||
attribute CSSOMString keyText;
|
attribute CSSOMString keyText;
|
||||||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
|
|
|
@ -3,9 +3,42 @@
|
||||||
// (https://github.com/w3c/webref)
|
// (https://github.com/w3c/webref)
|
||||||
// Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/)
|
// Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/)
|
||||||
|
|
||||||
|
[Exposed=Window]
|
||||||
|
interface CSSFontFaceDescriptors : CSSStyleDeclaration {
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString src;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontFamily;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-family;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontStyle;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-style;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontWeight;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-weight;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontStretch;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-stretch;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontWidth;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-width;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString unicodeRange;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString unicode-range;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontFeatureSettings;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-feature-settings;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontVariationSettings;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-variation-settings;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontNamedInstance;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-named-instance;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontDisplay;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-display;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString fontLanguageOverride;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString font-language-override;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString ascentOverride;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString ascent-override;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString descentOverride;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString descent-override;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString lineGapOverride;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString line-gap-override;
|
||||||
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface CSSFontFaceRule : CSSRule {
|
interface CSSFontFaceRule : CSSRule {
|
||||||
readonly attribute CSSStyleDeclaration style;
|
readonly attribute CSSFontFaceDescriptors style;
|
||||||
};
|
};
|
||||||
|
|
||||||
partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14;
|
partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14;
|
||||||
|
|
|
@ -3,31 +3,14 @@
|
||||||
// (https://github.com/w3c/webref)
|
// (https://github.com/w3c/webref)
|
||||||
// Source: CSS Scroll Snap Module Level 2 (https://drafts.csswg.org/css-scroll-snap-2/)
|
// Source: CSS Scroll Snap Module Level 2 (https://drafts.csswg.org/css-scroll-snap-2/)
|
||||||
|
|
||||||
|
dictionary SnapEventInit : EventInit {
|
||||||
|
Node? snapTargetBlock;
|
||||||
|
Node? snapTargetInline;
|
||||||
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface SnapEvent : Event {
|
interface SnapEvent : Event {
|
||||||
constructor(DOMString type, optional SnapEventInit eventInitDict = {});
|
constructor(DOMString type, optional SnapEventInit eventInitDict = {});
|
||||||
readonly attribute EventTarget? target;
|
readonly attribute Node? snapTargetBlock;
|
||||||
readonly attribute SnapTargetList snappedTargets;
|
readonly attribute Node? snapTargetInline;
|
||||||
readonly attribute SnapTargetList snapTargets;
|
|
||||||
readonly attribute boolean invokedProgrammatically;
|
|
||||||
readonly attribute boolean smoothlyScrolled;
|
|
||||||
};
|
|
||||||
|
|
||||||
[Exposed=Window]
|
|
||||||
interface SnapTargetList {
|
|
||||||
readonly attribute SnapTargetArray x;
|
|
||||||
readonly attribute SnapTargetArray y;
|
|
||||||
};
|
|
||||||
|
|
||||||
[Exposed=Window]
|
|
||||||
interface SnapTargetArray {
|
|
||||||
readonly attribute unsigned long length;
|
|
||||||
getter EventTarget? item (unsigned long index);
|
|
||||||
};
|
|
||||||
|
|
||||||
dictionary SnapEventInit : EventModifierInit {
|
|
||||||
sequence<EventTarget> snappedTargetsX = [];
|
|
||||||
sequence<EventTarget> snappedTargetsY = [];
|
|
||||||
sequence<EventTarget> snapTargetsListX = [];
|
|
||||||
sequence<EventTarget> snapTargetsListY = [];
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,27 +3,39 @@
|
||||||
// (https://github.com/w3c/webref)
|
// (https://github.com/w3c/webref)
|
||||||
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
||||||
|
|
||||||
dictionary StartViewTransitionOptions {
|
|
||||||
UpdateCallback? update = null;
|
|
||||||
sequence<DOMString>? type = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
partial interface Document {
|
|
||||||
|
|
||||||
ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
|
|
||||||
};
|
|
||||||
|
|
||||||
partial interface CSSRule {
|
partial interface CSSRule {
|
||||||
const unsigned short VIEW_TRANSITION_RULE = 15;
|
const unsigned short VIEW_TRANSITION_RULE = 15;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ViewTransitionNavigation { "auto", "none" };
|
enum ViewTransitionNavigation { "auto", "none" };
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface CSSViewTransitionRule : CSSRule {
|
interface CSSViewTransitionTypeSet {
|
||||||
attribute ViewTransitionNavigation navigation;
|
readonly setlike<CSSOMString>;
|
||||||
attribute DOMTokenList typeList;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
partial interface ViewTransition {
|
[Exposed=Window]
|
||||||
readonly attribute DOMTokenList typeList;
|
interface CSSViewTransitionRule : CSSRule {
|
||||||
|
readonly attribute ViewTransitionNavigation navigation;
|
||||||
|
readonly attribute CSSViewTransitionTypeSet types;
|
||||||
|
};
|
||||||
|
|
||||||
|
[Exposed=Window]
|
||||||
|
interface ViewTransitionTypeSet {
|
||||||
|
setlike<DOMString>;
|
||||||
|
};
|
||||||
|
|
||||||
|
[Exposed=Window]
|
||||||
|
partial interface ViewTransition {
|
||||||
|
attribute ViewTransitionTypeSet types;
|
||||||
|
};
|
||||||
|
|
||||||
|
dictionary StartViewTransitionOptions {
|
||||||
|
UpdateCallback? update = null;
|
||||||
|
sequence<DOMString>? types = null;
|
||||||
|
};
|
||||||
|
|
||||||
|
partial interface Document {
|
||||||
|
|
||||||
|
ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
|
||||||
};
|
};
|
||||||
|
|
|
@ -130,6 +130,7 @@ partial interface Element {
|
||||||
readonly attribute long clientLeft;
|
readonly attribute long clientLeft;
|
||||||
readonly attribute long clientWidth;
|
readonly attribute long clientWidth;
|
||||||
readonly attribute long clientHeight;
|
readonly attribute long clientHeight;
|
||||||
|
readonly attribute double currentCSSZoom;
|
||||||
};
|
};
|
||||||
|
|
||||||
partial interface HTMLElement {
|
partial interface HTMLElement {
|
||||||
|
|
|
@ -99,7 +99,7 @@ interface CSSRule {
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface CSSStyleRule : CSSGroupingRule {
|
interface CSSStyleRule : CSSGroupingRule {
|
||||||
attribute CSSOMString selectorText;
|
attribute CSSOMString selectorText;
|
||||||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
|
@ -118,10 +118,26 @@ interface CSSGroupingRule : CSSRule {
|
||||||
undefined deleteRule(unsigned long index);
|
undefined deleteRule(unsigned long index);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
[Exposed=Window]
|
||||||
|
interface CSSPageDescriptors : CSSStyleDeclaration {
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString margin;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString marginTop;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString marginRight;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString marginBottom;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString marginLeft;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString margin-top;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString margin-right;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString margin-bottom;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString margin-left;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString size;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString marks;
|
||||||
|
attribute [LegacyNullToEmptyString] CSSOMString bleed;
|
||||||
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface CSSPageRule : CSSGroupingRule {
|
interface CSSPageRule : CSSGroupingRule {
|
||||||
attribute CSSOMString selectorText;
|
attribute CSSOMString selectorText;
|
||||||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
[SameObject, PutForwards=cssText] readonly attribute CSSPageDescriptors style;
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
|
@ -146,6 +162,10 @@ interface CSSStyleDeclaration {
|
||||||
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
||||||
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
||||||
readonly attribute CSSRule? parentRule;
|
readonly attribute CSSRule? parentRule;
|
||||||
|
};
|
||||||
|
|
||||||
|
[Exposed=Window]
|
||||||
|
interface CSSStyleProperties : CSSStyleDeclaration {
|
||||||
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cssFloat;
|
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cssFloat;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
|
||||||
|
|
||||||
[LegacyOverrideBuiltIns]
|
[LegacyOverrideBuiltIns]
|
||||||
partial interface Document {
|
partial interface Document {
|
||||||
static Document parseHTMLUnsafe(DOMString html);
|
static Document parseHTMLUnsafe(HTMLString html);
|
||||||
|
|
||||||
// resource metadata management
|
// resource metadata management
|
||||||
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
|
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
|
||||||
|
@ -77,8 +77,8 @@ partial interface Document {
|
||||||
[CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored
|
[CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored
|
||||||
WindowProxy? open(USVString url, DOMString name, DOMString features);
|
WindowProxy? open(USVString url, DOMString name, DOMString features);
|
||||||
[CEReactions] undefined close();
|
[CEReactions] undefined close();
|
||||||
[CEReactions] undefined write(DOMString... text);
|
[CEReactions] undefined write(HTMLString... text);
|
||||||
[CEReactions] undefined writeln(DOMString... text);
|
[CEReactions] undefined writeln(HTMLString... text);
|
||||||
|
|
||||||
// user interaction
|
// user interaction
|
||||||
readonly attribute WindowProxy? defaultView;
|
readonly attribute WindowProxy? defaultView;
|
||||||
|
@ -452,7 +452,7 @@ interface HTMLIFrameElement : HTMLElement {
|
||||||
[HTMLConstructor] constructor();
|
[HTMLConstructor] constructor();
|
||||||
|
|
||||||
[CEReactions] attribute USVString src;
|
[CEReactions] attribute USVString src;
|
||||||
[CEReactions] attribute DOMString srcdoc;
|
[CEReactions] attribute HTMLString srcdoc;
|
||||||
[CEReactions] attribute DOMString name;
|
[CEReactions] attribute DOMString name;
|
||||||
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
|
||||||
[CEReactions] attribute DOMString allow;
|
[CEReactions] attribute DOMString allow;
|
||||||
|
@ -2296,7 +2296,7 @@ WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|
||||||
interface DOMParser {
|
interface DOMParser {
|
||||||
constructor();
|
constructor();
|
||||||
|
|
||||||
[NewObject] Document parseFromString(DOMString string, DOMParserSupportedType type);
|
[NewObject] Document parseFromString(HTMLString string, DOMParserSupportedType type);
|
||||||
};
|
};
|
||||||
|
|
||||||
enum DOMParserSupportedType {
|
enum DOMParserSupportedType {
|
||||||
|
@ -2308,11 +2308,11 @@ enum DOMParserSupportedType {
|
||||||
};
|
};
|
||||||
|
|
||||||
partial interface Element {
|
partial interface Element {
|
||||||
[CEReactions] undefined setHTMLUnsafe(DOMString html);
|
[CEReactions] undefined setHTMLUnsafe(HTMLString html);
|
||||||
};
|
};
|
||||||
|
|
||||||
partial interface ShadowRoot {
|
partial interface ShadowRoot {
|
||||||
[CEReactions] undefined setHTMLUnsafe(DOMString html);
|
[CEReactions] undefined setHTMLUnsafe(HTMLString html);
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
|
@ -2527,7 +2527,7 @@ interface WorkerGlobalScope : EventTarget {
|
||||||
readonly attribute WorkerGlobalScope self;
|
readonly attribute WorkerGlobalScope self;
|
||||||
readonly attribute WorkerLocation location;
|
readonly attribute WorkerLocation location;
|
||||||
readonly attribute WorkerNavigator navigator;
|
readonly attribute WorkerNavigator navigator;
|
||||||
undefined importScripts(USVString... urls);
|
undefined importScripts(ScriptURLString... urls);
|
||||||
|
|
||||||
attribute OnErrorEventHandler onerror;
|
attribute OnErrorEventHandler onerror;
|
||||||
attribute EventHandler onlanguagechange;
|
attribute EventHandler onlanguagechange;
|
||||||
|
@ -2565,7 +2565,7 @@ interface mixin AbstractWorker {
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker,SharedWorker)]
|
[Exposed=(Window,DedicatedWorker,SharedWorker)]
|
||||||
interface Worker : EventTarget {
|
interface Worker : EventTarget {
|
||||||
constructor(USVString scriptURL, optional WorkerOptions options = {});
|
constructor(ScriptURLString scriptURL, optional WorkerOptions options = {});
|
||||||
|
|
||||||
undefined terminate();
|
undefined terminate();
|
||||||
|
|
||||||
|
@ -2587,7 +2587,7 @@ Worker includes AbstractWorker;
|
||||||
|
|
||||||
[Exposed=Window]
|
[Exposed=Window]
|
||||||
interface SharedWorker : EventTarget {
|
interface SharedWorker : EventTarget {
|
||||||
constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options = {});
|
constructor(ScriptURLString scriptURL, optional (DOMString or WorkerOptions) options = {});
|
||||||
|
|
||||||
readonly attribute MessagePort port;
|
readonly attribute MessagePort port;
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,23 +18,25 @@ enum EndOfStreamError {
|
||||||
interface MediaSource : EventTarget {
|
interface MediaSource : EventTarget {
|
||||||
constructor();
|
constructor();
|
||||||
|
|
||||||
[ SameObject, Exposed=DedicatedWorker ]
|
[SameObject, Exposed=DedicatedWorker]
|
||||||
readonly attribute MediaSourceHandle handle;
|
readonly attribute MediaSourceHandle handle;
|
||||||
|
readonly attribute SourceBufferList sourceBuffers;
|
||||||
|
readonly attribute SourceBufferList activeSourceBuffers;
|
||||||
|
readonly attribute ReadyState readyState;
|
||||||
|
|
||||||
readonly attribute SourceBufferList sourceBuffers;
|
attribute unrestricted double duration;
|
||||||
readonly attribute SourceBufferList activeSourceBuffers;
|
attribute EventHandler onsourceopen;
|
||||||
readonly attribute ReadyState readyState;
|
attribute EventHandler onsourceended;
|
||||||
attribute unrestricted double duration;
|
attribute EventHandler onsourceclose;
|
||||||
attribute EventHandler onsourceopen;
|
|
||||||
attribute EventHandler onsourceended;
|
static readonly attribute boolean canConstructInDedicatedWorker;
|
||||||
attribute EventHandler onsourceclose;
|
|
||||||
static readonly attribute boolean canConstructInDedicatedWorker;
|
SourceBuffer addSourceBuffer(DOMString type);
|
||||||
SourceBuffer addSourceBuffer (DOMString type);
|
undefined removeSourceBuffer(SourceBuffer sourceBuffer);
|
||||||
undefined removeSourceBuffer (SourceBuffer sourceBuffer);
|
undefined endOfStream(optional EndOfStreamError error);
|
||||||
undefined endOfStream (optional EndOfStreamError error);
|
undefined setLiveSeekableRange(double start, double end);
|
||||||
undefined setLiveSeekableRange (double start, double end);
|
undefined clearLiveSeekableRange();
|
||||||
undefined clearLiveSeekableRange ();
|
static boolean isTypeSupported(DOMString type);
|
||||||
static boolean isTypeSupported (DOMString type);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
[Transferable, Exposed=(Window,DedicatedWorker)]
|
[Transferable, Exposed=(Window,DedicatedWorker)]
|
||||||
|
@ -47,32 +49,36 @@ enum AppendMode {
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker)]
|
[Exposed=(Window,DedicatedWorker)]
|
||||||
interface SourceBuffer : EventTarget {
|
interface SourceBuffer : EventTarget {
|
||||||
attribute AppendMode mode;
|
attribute AppendMode mode;
|
||||||
readonly attribute boolean updating;
|
readonly attribute boolean updating;
|
||||||
readonly attribute TimeRanges buffered;
|
readonly attribute TimeRanges buffered;
|
||||||
attribute double timestampOffset;
|
attribute double timestampOffset;
|
||||||
readonly attribute AudioTrackList audioTracks;
|
readonly attribute AudioTrackList audioTracks;
|
||||||
readonly attribute VideoTrackList videoTracks;
|
readonly attribute VideoTrackList videoTracks;
|
||||||
readonly attribute TextTrackList textTracks;
|
readonly attribute TextTrackList textTracks;
|
||||||
attribute double appendWindowStart;
|
attribute double appendWindowStart;
|
||||||
attribute unrestricted double appendWindowEnd;
|
attribute unrestricted double appendWindowEnd;
|
||||||
attribute EventHandler onupdatestart;
|
|
||||||
attribute EventHandler onupdate;
|
attribute EventHandler onupdatestart;
|
||||||
attribute EventHandler onupdateend;
|
attribute EventHandler onupdate;
|
||||||
attribute EventHandler onerror;
|
attribute EventHandler onupdateend;
|
||||||
attribute EventHandler onabort;
|
attribute EventHandler onerror;
|
||||||
undefined appendBuffer (BufferSource data);
|
attribute EventHandler onabort;
|
||||||
undefined abort ();
|
|
||||||
undefined changeType (DOMString type);
|
undefined appendBuffer(BufferSource data);
|
||||||
undefined remove (double start, unrestricted double end);
|
undefined abort();
|
||||||
|
undefined changeType(DOMString type);
|
||||||
|
undefined remove(double start, unrestricted double end);
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker)]
|
[Exposed=(Window,DedicatedWorker)]
|
||||||
interface SourceBufferList : EventTarget {
|
interface SourceBufferList : EventTarget {
|
||||||
readonly attribute unsigned long length;
|
readonly attribute unsigned long length;
|
||||||
attribute EventHandler onaddsourcebuffer;
|
|
||||||
attribute EventHandler onremovesourcebuffer;
|
attribute EventHandler onaddsourcebuffer;
|
||||||
getter SourceBuffer (unsigned long index);
|
attribute EventHandler onremovesourcebuffer;
|
||||||
|
|
||||||
|
getter SourceBuffer (unsigned long index);
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker)]
|
[Exposed=(Window,DedicatedWorker)]
|
||||||
|
@ -103,15 +109,15 @@ interface ManagedSourceBuffer : SourceBuffer {
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker)]
|
[Exposed=(Window,DedicatedWorker)]
|
||||||
partial interface AudioTrack {
|
partial interface AudioTrack {
|
||||||
readonly attribute SourceBuffer? sourceBuffer;
|
readonly attribute SourceBuffer? sourceBuffer;
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker)]
|
[Exposed=(Window,DedicatedWorker)]
|
||||||
partial interface VideoTrack {
|
partial interface VideoTrack {
|
||||||
readonly attribute SourceBuffer? sourceBuffer;
|
readonly attribute SourceBuffer? sourceBuffer;
|
||||||
};
|
};
|
||||||
|
|
||||||
[Exposed=(Window,DedicatedWorker)]
|
[Exposed=(Window,DedicatedWorker)]
|
||||||
partial interface TextTrack {
|
partial interface TextTrack {
|
||||||
readonly attribute SourceBuffer? sourceBuffer;
|
readonly attribute SourceBuffer? sourceBuffer;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,36 +3,49 @@
|
||||||
// (https://github.com/w3c/webref)
|
// (https://github.com/w3c/webref)
|
||||||
// Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
|
// Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
|
||||||
|
|
||||||
[
|
|
||||||
Exposed=(Window),
|
|
||||||
SecureContext
|
|
||||||
] interface Sanitizer {
|
|
||||||
constructor(optional SanitizerConfig config = {});
|
|
||||||
|
|
||||||
DocumentFragment sanitize((Document or DocumentFragment) input);
|
|
||||||
Element? sanitizeFor(DOMString element, DOMString input);
|
|
||||||
|
|
||||||
SanitizerConfig getConfiguration();
|
|
||||||
static SanitizerConfig getDefaultConfiguration();
|
|
||||||
};
|
|
||||||
|
|
||||||
dictionary SetHTMLOptions {
|
|
||||||
Sanitizer sanitizer;
|
|
||||||
};
|
|
||||||
[SecureContext]
|
|
||||||
partial interface Element {
|
partial interface Element {
|
||||||
undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
|
[CEReactions] undefined setHTMLUnsafe__TO_BE_MERGED(DOMString html, optional SanitizerConfig config = {});
|
||||||
|
[CEReactions] undefined setHTML(DOMString html, optional SanitizerConfig config = {});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
partial interface ShadowRoot {
|
||||||
|
[CEReactions] undefined setHTMLUnsafe__TO_BE_MERGED(DOMString html, optional SanitizerConfig config = {});
|
||||||
|
[CEReactions] undefined setHTML(DOMString html, optional SanitizerConfig config = {});
|
||||||
|
};
|
||||||
|
|
||||||
|
partial interface Document {
|
||||||
|
static Document parseHTMLUnsafe__TO_BE_MERGED(DOMString html, optional SanitizerConfig config = {});
|
||||||
|
static Document parseHTML(DOMString html, optional SanitizerConfig config = {});
|
||||||
|
};
|
||||||
|
|
||||||
|
dictionary SanitizerElementNamespace {
|
||||||
|
required DOMString name;
|
||||||
|
DOMString? _namespace = "http://www.w3.org/1999/xhtml";
|
||||||
|
};
|
||||||
|
|
||||||
|
// Used by "elements"
|
||||||
|
dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace {
|
||||||
|
sequence<SanitizerAttribute> attributes;
|
||||||
|
sequence<SanitizerAttribute> removeAttributes;
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef (DOMString or SanitizerElementNamespace) SanitizerElement;
|
||||||
|
typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes;
|
||||||
|
|
||||||
|
dictionary SanitizerAttributeNamespace {
|
||||||
|
required DOMString name;
|
||||||
|
DOMString? _namespace = null;
|
||||||
|
};
|
||||||
|
typedef (DOMString or SanitizerAttributeNamespace) SanitizerAttribute;
|
||||||
|
|
||||||
dictionary SanitizerConfig {
|
dictionary SanitizerConfig {
|
||||||
sequence<DOMString> allowElements;
|
sequence<SanitizerElementWithAttributes> elements;
|
||||||
sequence<DOMString> blockElements;
|
sequence<SanitizerElement> removeElements;
|
||||||
sequence<DOMString> dropElements;
|
sequence<SanitizerElement> replaceWithChildrenElements;
|
||||||
AttributeMatchList allowAttributes;
|
|
||||||
AttributeMatchList dropAttributes;
|
|
||||||
boolean allowCustomElements;
|
|
||||||
boolean allowUnknownMarkup;
|
|
||||||
boolean allowComments;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef record<DOMString, sequence<DOMString>> AttributeMatchList;
|
sequence<SanitizerAttribute> attributes;
|
||||||
|
sequence<SanitizerAttribute> removeAttributes;
|
||||||
|
|
||||||
|
boolean comments;
|
||||||
|
boolean dataAttributes;
|
||||||
|
};
|
||||||
|
|
|
@ -25,6 +25,7 @@ dictionary GenerateBidInterestGroup {
|
||||||
boolean enableBiddingSignalsPrioritization = false;
|
boolean enableBiddingSignalsPrioritization = false;
|
||||||
record<DOMString, double> priorityVector;
|
record<DOMString, double> priorityVector;
|
||||||
|
|
||||||
|
record<USVString, sequence<DOMString>> sellerCapabilities;
|
||||||
DOMString executionMode = "compatibility";
|
DOMString executionMode = "compatibility";
|
||||||
USVString biddingLogicURL;
|
USVString biddingLogicURL;
|
||||||
USVString biddingWasmHelperURL;
|
USVString biddingWasmHelperURL;
|
||||||
|
@ -68,28 +69,30 @@ partial interface Navigator {
|
||||||
dictionary AuctionAdConfig {
|
dictionary AuctionAdConfig {
|
||||||
required USVString seller;
|
required USVString seller;
|
||||||
required USVString decisionLogicURL;
|
required USVString decisionLogicURL;
|
||||||
|
|
||||||
USVString trustedScoringSignalsURL;
|
USVString trustedScoringSignalsURL;
|
||||||
long maxTrustedScoringSignalsURLLength;
|
long maxTrustedScoringSignalsURLLength;
|
||||||
sequence<USVString> interestGroupBuyers;
|
sequence<USVString> interestGroupBuyers;
|
||||||
Promise<any> auctionSignals;
|
Promise<any> auctionSignals;
|
||||||
record<DOMString, DOMString> requestedSize;
|
|
||||||
sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
|
|
||||||
Promise<any> sellerSignals;
|
Promise<any> sellerSignals;
|
||||||
Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
|
Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
|
||||||
Promise<record<USVString, USVString>> deprecatedRenderURLReplacements;
|
Promise<record<USVString, USVString>> deprecatedRenderURLReplacements;
|
||||||
unsigned long long sellerTimeout;
|
unsigned long long sellerTimeout;
|
||||||
unsigned short sellerExperimentGroupId;
|
unsigned short sellerExperimentGroupId;
|
||||||
USVString sellerCurrency;
|
|
||||||
Promise<record<USVString, any>> perBuyerSignals;
|
Promise<record<USVString, any>> perBuyerSignals;
|
||||||
Promise<record<USVString, unsigned long long>> perBuyerTimeouts;
|
Promise<record<USVString, unsigned long long>> perBuyerTimeouts;
|
||||||
Promise<record<USVString, unsigned long long>> perBuyerCumulativeTimeouts;
|
Promise<record<USVString, unsigned long long>> perBuyerCumulativeTimeouts;
|
||||||
|
USVString sellerCurrency;
|
||||||
|
Promise<record<USVString, USVString>> perBuyerCurrencies;
|
||||||
record<USVString, unsigned short> perBuyerGroupLimits;
|
record<USVString, unsigned short> perBuyerGroupLimits;
|
||||||
record<USVString, unsigned short> perBuyerExperimentGroupIds;
|
record<USVString, unsigned short> perBuyerExperimentGroupIds;
|
||||||
record<USVString, record<USVString, double>> perBuyerPrioritySignals;
|
record<USVString, record<USVString, double>> perBuyerPrioritySignals;
|
||||||
Promise<record<USVString, USVString>> perBuyerCurrencies;
|
sequence<DOMString> requiredSellerCapabilities;
|
||||||
sequence<AuctionAdConfig> componentAuctions = [];
|
record<DOMString, DOMString> requestedSize;
|
||||||
|
sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
|
||||||
Promise<undefined> additionalBids;
|
Promise<undefined> additionalBids;
|
||||||
DOMString auctionNonce;
|
DOMString auctionNonce;
|
||||||
|
sequence<AuctionAdConfig> componentAuctions = [];
|
||||||
AbortSignal? signal;
|
AbortSignal? signal;
|
||||||
Promise<boolean> resolveToConfig;
|
Promise<boolean> resolveToConfig;
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
interface URL {
|
interface URL {
|
||||||
constructor(USVString url, optional USVString base);
|
constructor(USVString url, optional USVString base);
|
||||||
|
|
||||||
|
static URL? parse(USVString url, optional USVString base);
|
||||||
static boolean canParse(USVString url, optional USVString base);
|
static boolean canParse(USVString url, optional USVString base);
|
||||||
|
|
||||||
stringifier attribute USVString href;
|
stringifier attribute USVString href;
|
||||||
|
|
|
@ -9,6 +9,8 @@ partial dictionary AudioEncoderConfig {
|
||||||
|
|
||||||
dictionary OpusEncoderConfig {
|
dictionary OpusEncoderConfig {
|
||||||
OpusBitstreamFormat format = "opus";
|
OpusBitstreamFormat format = "opus";
|
||||||
|
OpusSignal signal = "auto";
|
||||||
|
OpusApplication application = "audio";
|
||||||
[EnforceRange] unsigned long long frameDuration = 20000;
|
[EnforceRange] unsigned long long frameDuration = 20000;
|
||||||
[EnforceRange] unsigned long complexity;
|
[EnforceRange] unsigned long complexity;
|
||||||
[EnforceRange] unsigned long packetlossperc = 0;
|
[EnforceRange] unsigned long packetlossperc = 0;
|
||||||
|
@ -20,3 +22,15 @@ enum OpusBitstreamFormat {
|
||||||
"opus",
|
"opus",
|
||||||
"ogg",
|
"ogg",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum OpusSignal {
|
||||||
|
"auto",
|
||||||
|
"music",
|
||||||
|
"voice",
|
||||||
|
};
|
||||||
|
|
||||||
|
enum OpusApplication {
|
||||||
|
"voip",
|
||||||
|
"audio",
|
||||||
|
"lowdelay",
|
||||||
|
};
|
||||||
|
|
|
@ -158,8 +158,8 @@ dictionary VideoDecoderConfig {
|
||||||
|
|
||||||
dictionary AudioEncoderConfig {
|
dictionary AudioEncoderConfig {
|
||||||
required DOMString codec;
|
required DOMString codec;
|
||||||
[EnforceRange] unsigned long sampleRate;
|
[EnforceRange] required unsigned long sampleRate;
|
||||||
[EnforceRange] unsigned long numberOfChannels;
|
[EnforceRange] required unsigned long numberOfChannels;
|
||||||
[EnforceRange] unsigned long long bitrate;
|
[EnforceRange] unsigned long long bitrate;
|
||||||
BitrateMode bitrateMode = "variable";
|
BitrateMode bitrateMode = "variable";
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче