Commit 491a1c39 authored by Yashar Dabiran's avatar Yashar Dabiran Committed by Commit Bot

Rename OriginTrialEnabled to RuntimeEnabled across idl files

This CL is part of the efforts to replace OriginTrialEnabled with
RuntimeEnabled.

Design doc for the overall change:
https://docs.google.com/document/d/1Qog5qwZ-6Rfx10AKkJxN-LrwhCw_GJ1xdLoQSnpsT1Q

Bug: 934451
Change-Id: I14688df0fdf4895b8ed61a5a45142bcdeabf5aa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1558707
Commit-Queue: Yashar Dabiran <yashard@google.com>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#649860}
parent 42d2a131
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
ConstructorCallWith=Document, ConstructorCallWith=Document,
MeasureAs=ScrollTimelineConstructor, MeasureAs=ScrollTimelineConstructor,
RaisesException=Constructor, RaisesException=Constructor,
OriginTrialEnabled=AnimationWorklet RuntimeEnabled=AnimationWorklet
] interface ScrollTimeline : AnimationTimeline { ] interface ScrollTimeline : AnimationTimeline {
readonly attribute Element? scrollSource; readonly attribute Element? scrollSource;
readonly attribute ScrollDirection orientation; readonly attribute ScrollDirection orientation;
......
...@@ -121,8 +121,8 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; ...@@ -121,8 +121,8 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
[CallWith=Isolate, CEReactions, CustomElementCallbacks, RaisesException] void writeln(DOMString... text); [CallWith=Isolate, CEReactions, CustomElementCallbacks, RaisesException] void writeln(DOMString... text);
// TrustedTypes variants of the above. // TrustedTypes variants of the above.
// Note: This should be gated on [OriginTrialEnabled=TrustedDOMTypes], but // Note: This should be gated on [RuntimeEnabled=TrustedDOMTypes], but
// since OriginTrialEnabled isn't compatible with overloaded methods, we're // since RuntimeEnabled isn't compatible with overloaded methods, we're
// handling these unconditionally. // handling these unconditionally.
[CallWith=Isolate, CEReactions, CustomElementCallbacks, RaisesException] void write(TrustedHTML text); [CallWith=Isolate, CEReactions, CustomElementCallbacks, RaisesException] void write(TrustedHTML text);
[CallWith=Isolate, CEReactions, CustomElementCallbacks, RaisesException] void writeln(TrustedHTML text); [CallWith=Isolate, CEReactions, CustomElementCallbacks, RaisesException] void writeln(TrustedHTML text);
...@@ -169,7 +169,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement; ...@@ -169,7 +169,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
// Custom Elements // Custom Elements
// https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-interface-to-register // https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-interface-to-register
// FIXME: The registerElement return type should be Function. // FIXME: The registerElement return type should be Function.
[OriginTrialEnabled=CustomElementsV0, CallWith=ScriptState, CustomElementCallbacks, RaisesException, DeprecateAs=DocumentRegisterElement] any registerElement(DOMString type, optional ElementRegistrationOptions options); [RuntimeEnabled=CustomElementsV0, CallWith=ScriptState, CustomElementCallbacks, RaisesException, DeprecateAs=DocumentRegisterElement] any registerElement(DOMString type, optional ElementRegistrationOptions options);
// https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-interface-to-instantiate // https://w3c.github.io/webcomponents/spec/custom/#extensions-to-document-interface-to-instantiate
[CustomElementCallbacks, PerWorldBindings, RaisesException, ImplementedAs=CreateElementForBinding] Element createElement(DOMString localName, (DOMString or ElementCreationOptions) options); [CustomElementCallbacks, PerWorldBindings, RaisesException, ImplementedAs=CreateElementForBinding] Element createElement(DOMString localName, (DOMString or ElementCreationOptions) options);
[CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, (DOMString or ElementCreationOptions) options); [CustomElementCallbacks, RaisesException] Element createElementNS(DOMString? namespaceURI, DOMString qualifiedName, (DOMString or ElementCreationOptions) options);
......
...@@ -122,8 +122,8 @@ interface Element : Node { ...@@ -122,8 +122,8 @@ interface Element : Node {
// Non-standard API // Non-standard API
[MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(optional boolean centerIfNeeded);
[OriginTrialEnabled=ShadowDOMV0, RaisesException, DeprecateAs=ElementCreateShadowRoot] ShadowRoot createShadowRoot(); [RuntimeEnabled=ShadowDOMV0, RaisesException, DeprecateAs=ElementCreateShadowRoot] ShadowRoot createShadowRoot();
[OriginTrialEnabled=ShadowDOMV0] NodeList getDestinationInsertionPoints(); [RuntimeEnabled=ShadowDOMV0] NodeList getDestinationInsertionPoints();
// Experimental accessibility API // Experimental accessibility API
[RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? computedRole; [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? computedRole;
......
...@@ -120,10 +120,10 @@ ...@@ -120,10 +120,10 @@
// Touch Events // Touch Events
// https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers-interface // https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers-interface
[OriginTrialEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchcancel; [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchcancel;
[OriginTrialEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchend; [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchend;
[OriginTrialEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchmove; [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchmove;
[OriginTrialEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchstart; [RuntimeEnabled=TouchEventFeatureDetection] attribute EventHandler ontouchstart;
// Selection API // Selection API
// https://w3c.github.io/selection-api/#extensions-to-globaleventhandlers // https://w3c.github.io/selection-api/#extensions-to-globaleventhandlers
......
...@@ -31,5 +31,5 @@ ...@@ -31,5 +31,5 @@
[ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement? assignedSlot; [ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement? assignedSlot;
// Non-standard API: // Non-standard API:
[OriginTrialEnabled=ShadowDOMV0] NodeList getDestinationInsertionPoints(); [RuntimeEnabled=ShadowDOMV0] NodeList getDestinationInsertionPoints();
}; };
...@@ -21,7 +21,7 @@ dictionary RequestInit { ...@@ -21,7 +21,7 @@ dictionary RequestInit {
RequestRedirect redirect; RequestRedirect redirect;
DOMString integrity; DOMString integrity;
boolean keepalive; boolean keepalive;
[OriginTrialEnabled=PriorityHints] RequestImportance importance; [RuntimeEnabled=PriorityHints] RequestImportance importance;
AbortSignal? signal; AbortSignal? signal;
// TODO(domfarolino): add support for RequestInit window member. // TODO(domfarolino): add support for RequestInit window member.
//any window; // can only be set to null //any window; // can only be set to null
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
Exposed=Window, Exposed=Window,
ImplementedAs=NavigatorScheduling, ImplementedAs=NavigatorScheduling,
OriginTrialEnabled=ExperimentalIsInputPending RuntimeEnabled=ExperimentalIsInputPending
] partial interface Navigator { ] partial interface Navigator {
readonly attribute Scheduling scheduling; readonly attribute Scheduling scheduling;
}; };
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// https://github.com/tdresser/is-input-pending // https://github.com/tdresser/is-input-pending
[OriginTrialEnabled=ExperimentalIsInputPending] [RuntimeEnabled=ExperimentalIsInputPending]
interface Scheduling { interface Scheduling {
[CallWith=ScriptState, MeasureAs=SchedulingIsInputPending, OriginTrialEnabled=ExperimentalIsInputPending] boolean isInputPending(optional sequence<DOMString> inputTypes = []); [CallWith=ScriptState, MeasureAs=SchedulingIsInputPending, RuntimeEnabled=ExperimentalIsInputPending] boolean isInputPending(optional sequence<DOMString> inputTypes = []);
}; };
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
attribute DOMMatrixConstructor WebKitCSSMatrix; attribute DOMMatrixConstructor WebKitCSSMatrix;
// TrustedTypes API: http://github.com/wicg/trusted-types // TrustedTypes API: http://github.com/wicg/trusted-types
[OriginTrialEnabled=TrustedDOMTypes, Unforgeable] readonly attribute TrustedTypePolicyFactory TrustedTypes; [RuntimeEnabled=TrustedDOMTypes, Unforgeable] readonly attribute TrustedTypePolicyFactory TrustedTypes;
}; };
Window includes GlobalEventHandlers; Window includes GlobalEventHandlers;
......
...@@ -27,7 +27,7 @@ interface HTMLAnchorElement : HTMLElement { ...@@ -27,7 +27,7 @@ interface HTMLAnchorElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString rel; [CEReactions, Reflect] attribute DOMString rel;
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList; [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
[CEReactions, Reflect] attribute DOMString hreflang; [CEReactions, Reflect] attribute DOMString hreflang;
[OriginTrialEnabled=HrefTranslate, CEReactions, Reflect] attribute DOMString hrefTranslate; [RuntimeEnabled=HrefTranslate, CEReactions, Reflect] attribute DOMString hrefTranslate;
[CEReactions, Reflect] attribute DOMString type; [CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy; [CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy;
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
readonly attribute DOMString currentSrc; readonly attribute DOMString currentSrc;
[CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy; [CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy;
[CEReactions, Reflect, ReflectOnly=("async", "sync", "auto"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString decoding; [CEReactions, Reflect, ReflectOnly=("async", "sync", "auto"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString decoding;
[CEReactions, MeasureAs=PriorityHints, OriginTrialEnabled=PriorityHints, Reflect, ReflectOnly=("low", "auto", "high"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString importance; [CEReactions, MeasureAs=PriorityHints, RuntimeEnabled=PriorityHints, Reflect, ReflectOnly=("low", "auto", "high"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString importance;
// https://github.com/ojanvafai/intrinsicsize-attribute/blob/master/README.md // https://github.com/ojanvafai/intrinsicsize-attribute/blob/master/README.md
[RuntimeEnabled=ExperimentalProductivityFeatures, CEReactions, Reflect] attribute DOMString intrinsicSize; [RuntimeEnabled=ExperimentalProductivityFeatures, CEReactions, Reflect] attribute DOMString intrinsicSize;
[RuntimeEnabled=LazyImageLoading, CEReactions, Reflect, ReflectOnly=("lazy", "eager", "auto"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString loading; [RuntimeEnabled=LazyImageLoading, CEReactions, Reflect, ReflectOnly=("lazy", "eager", "auto"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString loading;
......
...@@ -35,7 +35,7 @@ interface HTMLLinkElement : HTMLElement { ...@@ -35,7 +35,7 @@ interface HTMLLinkElement : HTMLElement {
[Reflect, ReflectOnly=("script","style","image", "track", "font", "fetch")] attribute DOMString as; [Reflect, ReflectOnly=("script","style","image", "track", "font", "fetch")] attribute DOMString as;
[CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy; [CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-when-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", ReflectInvalid=""] attribute DOMString referrerPolicy;
[PutForwards=value] readonly attribute DOMTokenList sizes; [PutForwards=value] readonly attribute DOMTokenList sizes;
[CEReactions, MeasureAs=PriorityHints, OriginTrialEnabled=PriorityHints, Reflect, ReflectOnly=("low", "auto", "high"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString importance; [CEReactions, MeasureAs=PriorityHints, RuntimeEnabled=PriorityHints, Reflect, ReflectOnly=("low", "auto", "high"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString importance;
[CEReactions, Reflect] attribute DOMString imageSrcset; [CEReactions, Reflect] attribute DOMString imageSrcset;
[CEReactions, Reflect] attribute DOMString imageSizes; [CEReactions, Reflect] attribute DOMString imageSizes;
...@@ -51,7 +51,7 @@ interface HTMLLinkElement : HTMLElement { ...@@ -51,7 +51,7 @@ interface HTMLLinkElement : HTMLElement {
// HTML Imports // HTML Imports
// https://w3c.github.io/webcomponents/spec/imports/#interface-import // https://w3c.github.io/webcomponents/spec/imports/#interface-import
[OriginTrialEnabled=HTMLImports] readonly attribute Document? import; [RuntimeEnabled=HTMLImports] readonly attribute Document? import;
// Subresource Integrity // Subresource Integrity
// https://w3c.github.io/webappsec-subresource-integrity/#HTMLLinkElement // https://w3c.github.io/webappsec-subresource-integrity/#HTMLLinkElement
......
...@@ -29,7 +29,7 @@ interface HTMLScriptElement : HTMLElement { ...@@ -29,7 +29,7 @@ interface HTMLScriptElement : HTMLElement {
[CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
[CEReactions, RaisesException=Setter] attribute ScriptString text; [CEReactions, RaisesException=Setter] attribute ScriptString text;
[CEReactions, Reflect, ReflectOnly=("", "no-referrer", "no-referrer-when-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-origin", "strict-origin-when-cross-origin", "unsafe-url"), ReflectEmpty="", ReflectInvalid=""] attribute DOMString? referrerPolicy; [CEReactions, Reflect, ReflectOnly=("", "no-referrer", "no-referrer-when-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-origin", "strict-origin-when-cross-origin", "unsafe-url"), ReflectEmpty="", ReflectInvalid=""] attribute DOMString? referrerPolicy;
[CEReactions, MeasureAs=PriorityHints, OriginTrialEnabled=PriorityHints, Reflect, ReflectOnly=("low", "auto", "high"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString importance; [CEReactions, MeasureAs=PriorityHints, RuntimeEnabled=PriorityHints, Reflect, ReflectOnly=("low", "auto", "high"), ReflectMissing="auto", ReflectInvalid="auto"] attribute DOMString importance;
// obsolete members // obsolete members
// https://html.spec.whatwg.org/C/#HTMLScriptElement-partial // https://html.spec.whatwg.org/C/#HTMLScriptElement-partial
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
// found in the LICENSE file. // found in the LICENSE file.
interface OriginTrialsTest { interface OriginTrialsTest {
[OriginTrialEnabled=OriginTrialsSampleAPI] readonly attribute boolean normalAttribute; [RuntimeEnabled=OriginTrialsSampleAPI] readonly attribute boolean normalAttribute;
[OriginTrialEnabled=OriginTrialsSampleAPI] static readonly attribute boolean staticAttribute; [RuntimeEnabled=OriginTrialsSampleAPI] static readonly attribute boolean staticAttribute;
[OriginTrialEnabled=OriginTrialsSampleAPI] boolean normalMethod(); [RuntimeEnabled=OriginTrialsSampleAPI] boolean normalMethod();
[OriginTrialEnabled=OriginTrialsSampleAPI] static boolean staticMethod(); [RuntimeEnabled=OriginTrialsSampleAPI] static boolean staticMethod();
[OriginTrialEnabled=OriginTrialsSampleAPI] const unsigned short CONSTANT = 1; [RuntimeEnabled=OriginTrialsSampleAPI] const unsigned short CONSTANT = 1;
// This attribute uses native code to test whether the trial is enabled, // This attribute uses native code to test whether the trial is enabled,
// and throws an exception in JavaScript if it is not. // and throws an exception in JavaScript if it is not.
...@@ -33,22 +33,22 @@ interface OriginTrialsTest { ...@@ -33,22 +33,22 @@ interface OriginTrialsTest {
// secure context // secure context
[SecureContext] readonly attribute boolean secureUnconditionalAttribute; [SecureContext] readonly attribute boolean secureUnconditionalAttribute;
// TODO(chasej): Add [SecureContext] when that attribute is fixed to work on // TODO(chasej): Add [SecureContext] when that attribute is fixed to work on
// static attributes. That problem is not related to [OriginTrialEnabled]. // static attributes. That problem is not related to [RuntimeEnabled].
static readonly attribute boolean secureStaticUnconditionalAttribute; static readonly attribute boolean secureStaticUnconditionalAttribute;
[SecureContext] boolean secureUnconditionalMethod(); [SecureContext] boolean secureUnconditionalMethod();
[SecureContext] static boolean secureStaticUnconditionalMethod(); [SecureContext] static boolean secureStaticUnconditionalMethod();
// These are only available if the trial is enabled, as well as in secure // These are only available if the trial is enabled, as well as in secure
// context. // context.
[SecureContext, OriginTrialEnabled=OriginTrialsSampleAPI] readonly attribute boolean secureAttribute; [SecureContext, RuntimeEnabled=OriginTrialsSampleAPI] readonly attribute boolean secureAttribute;
[SecureContext, OriginTrialEnabled=OriginTrialsSampleAPI] static readonly attribute boolean secureStaticAttribute; [SecureContext, RuntimeEnabled=OriginTrialsSampleAPI] static readonly attribute boolean secureStaticAttribute;
[SecureContext, OriginTrialEnabled=OriginTrialsSampleAPI] boolean secureMethod(); [SecureContext, RuntimeEnabled=OriginTrialsSampleAPI] boolean secureMethod();
[SecureContext, OriginTrialEnabled=OriginTrialsSampleAPI] static boolean secureStaticMethod(); [SecureContext, RuntimeEnabled=OriginTrialsSampleAPI] static boolean secureStaticMethod();
// These are available if the specified trial is available, and also if the // These are available if the specified trial is available, and also if the
// implied by trial is enabled // implied by trial is enabled
[OriginTrialEnabled=OriginTrialsSampleAPIImplied] readonly attribute boolean impliedAttribute; [RuntimeEnabled=OriginTrialsSampleAPIImplied] readonly attribute boolean impliedAttribute;
// These are not available even with the token present. // These are not available even with the token present.
[OriginTrialEnabled=OriginTrialsSampleAPIInvalidOS] readonly attribute boolean invalidOSAttribute; [RuntimeEnabled=OriginTrialsSampleAPIInvalidOS] readonly attribute boolean invalidOSAttribute;
}; };
...@@ -4,5 +4,5 @@ ...@@ -4,5 +4,5 @@
dictionary OriginTrialsTestDictionary { dictionary OriginTrialsTestDictionary {
boolean unconditionalBool = true; boolean unconditionalBool = true;
[OriginTrialEnabled=OriginTrialsSampleAPI] boolean normalBool = true; [RuntimeEnabled=OriginTrialsSampleAPI] boolean normalBool = true;
}; };
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
[ [
ImplementedAs=OriginTrialsTestPartial, ImplementedAs=OriginTrialsTestPartial,
OriginTrialEnabled=OriginTrialsSampleAPI RuntimeEnabled=OriginTrialsSampleAPI
] partial interface OriginTrialsTest { ] partial interface OriginTrialsTest {
const unsigned short CONSTANT_PARTIAL = 2; const unsigned short CONSTANT_PARTIAL = 2;
readonly attribute boolean normalAttributePartial; readonly attribute boolean normalAttributePartial;
......
...@@ -37,6 +37,6 @@ ...@@ -37,6 +37,6 @@
[Measure] readonly attribute unsigned long long totalJSHeapSize; [Measure] readonly attribute unsigned long long totalJSHeapSize;
[Measure] readonly attribute unsigned long long usedJSHeapSize; [Measure] readonly attribute unsigned long long usedJSHeapSize;
[Measure] readonly attribute unsigned long long jsHeapSizeLimit; [Measure] readonly attribute unsigned long long jsHeapSizeLimit;
[OriginTrialEnabled=LegacyPerformanceMemoryCounters] readonly attribute unsigned long long usedJSHeapSizeWithoutExternalMemory; [RuntimeEnabled=LegacyPerformanceMemoryCounters] readonly attribute unsigned long long usedJSHeapSizeWithoutExternalMemory;
[OriginTrialEnabled=LegacyPerformanceMemoryCounters] readonly attribute unsigned long long totalJSHeapSizeWithoutExternalMemory; [RuntimeEnabled=LegacyPerformanceMemoryCounters] readonly attribute unsigned long long totalJSHeapSizeWithoutExternalMemory;
}; };
...@@ -53,16 +53,16 @@ interface Performance : EventTarget { ...@@ -53,16 +53,16 @@ interface Performance : EventTarget {
// Element Timing // Element Timing
// https://github.com/npm1/Element-Timing // https://github.com/npm1/Element-Timing
[MeasureAs=ElementTimingExplicitlyRequested, OriginTrialEnabled=ElementTiming] void clearElementTimings(); [MeasureAs=ElementTimingExplicitlyRequested, RuntimeEnabled=ElementTiming] void clearElementTimings();
[MeasureAs=ElementTimingExplicitlyRequested, OriginTrialEnabled=ElementTiming] void setElementTimingBufferMaxSize(unsigned long maxSize); [MeasureAs=ElementTimingExplicitlyRequested, RuntimeEnabled=ElementTiming] void setElementTimingBufferMaxSize(unsigned long maxSize);
[MeasureAs=ElementTimingExplicitlyRequested, OriginTrialEnabled=ElementTiming] attribute EventHandler onelementtimingbufferfull; [MeasureAs=ElementTimingExplicitlyRequested, RuntimeEnabled=ElementTiming] attribute EventHandler onelementtimingbufferfull;
// Event Timing // Event Timing
// https://github.com/wicg/event-timing // https://github.com/wicg/event-timing
[MeasureAs=PerformanceEventTimingBuffer, OriginTrialEnabled=EventTiming] void clearEventTimings(); [MeasureAs=PerformanceEventTimingBuffer, RuntimeEnabled=EventTiming] void clearEventTimings();
[MeasureAs=PerformanceEventTimingBuffer, OriginTrialEnabled=EventTiming] void setEventTimingBufferMaxSize(unsigned long maxSize); [MeasureAs=PerformanceEventTimingBuffer, RuntimeEnabled=EventTiming] void setEventTimingBufferMaxSize(unsigned long maxSize);
[MeasureAs=PerformanceEventTimingBuffer, OriginTrialEnabled=EventTiming] attribute EventHandler oneventtimingbufferfull; [MeasureAs=PerformanceEventTimingBuffer, RuntimeEnabled=EventTiming] attribute EventHandler oneventtimingbufferfull;
// Navigation Timing // Navigation Timing
// https://w3c.github.io/navigation-timing/#extensions-to-the-performance-interface // https://w3c.github.io/navigation-timing/#extensions-to-the-performance-interface
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// https://docs.google.com/document/d/1blFeMVdqxB0V3BAJh60ptOBFY7cJSXnf7VyW3wspbZ8 // https://docs.google.com/document/d/1blFeMVdqxB0V3BAJh60ptOBFY7cJSXnf7VyW3wspbZ8
[OriginTrialEnabled=ElementTiming] [RuntimeEnabled=ElementTiming]
interface PerformanceElementTiming : PerformanceEntry { interface PerformanceElementTiming : PerformanceEntry {
readonly attribute DOMRectReadOnly intersectionRect; readonly attribute DOMRectReadOnly intersectionRect;
readonly attribute DOMHighResTimeStamp responseEnd; readonly attribute DOMHighResTimeStamp responseEnd;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// https://github.com/wicg/event-timing // https://github.com/wicg/event-timing
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=EventTiming RuntimeEnabled=EventTiming
] interface PerformanceEventTiming : PerformanceEntry { ] interface PerformanceEventTiming : PerformanceEntry {
readonly attribute DOMHighResTimeStamp processingStart; readonly attribute DOMHighResTimeStamp processingStart;
readonly attribute DOMHighResTimeStamp processingEnd; readonly attribute DOMHighResTimeStamp processingEnd;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
// https://gist.github.com/skobes/2f296da1b0a88cc785a4bf10a42bca07 // https://gist.github.com/skobes/2f296da1b0a88cc785a4bf10a42bca07
[Exposed=Window, OriginTrialEnabled=LayoutJankAPI] [Exposed=Window, RuntimeEnabled=LayoutJankAPI]
interface PerformanceLayoutJank : PerformanceEntry { interface PerformanceLayoutJank : PerformanceEntry {
readonly attribute double fraction; readonly attribute double fraction;
......
...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedHTML) HTMLString; ...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedHTML) HTMLString;
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=TrustedDOMTypes RuntimeEnabled=TrustedDOMTypes
] interface TrustedHTML { ] interface TrustedHTML {
stringifier; stringifier;
}; };
......
...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedScript) ScriptString; ...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedScript) ScriptString;
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=TrustedDOMTypes RuntimeEnabled=TrustedDOMTypes
] interface TrustedScript { ] interface TrustedScript {
stringifier; stringifier;
}; };
...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedScriptURL) ScriptURLString; ...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedScriptURL) ScriptURLString;
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=TrustedDOMTypes RuntimeEnabled=TrustedDOMTypes
] interface TrustedScriptURL { ] interface TrustedScriptURL {
stringifier; stringifier;
}; };
...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedHTML or TrustedScript or TrustedScriptURL or Truste ...@@ -8,7 +8,7 @@ typedef (DOMString or TrustedHTML or TrustedScript or TrustedScriptURL or Truste
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=TrustedDOMTypes RuntimeEnabled=TrustedDOMTypes
] interface TrustedTypePolicy { ] interface TrustedTypePolicy {
[Unforgeable] readonly attribute DOMString name; [Unforgeable] readonly attribute DOMString name;
[CallWith=ScriptState, RaisesException, Unforgeable] TrustedHTML createHTML(DOMString input); [CallWith=ScriptState, RaisesException, Unforgeable] TrustedHTML createHTML(DOMString input);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
Exposed=(Window, Worker), Exposed=(Window, Worker),
OriginTrialEnabled=TrustedDOMTypes RuntimeEnabled=TrustedDOMTypes
] interface TrustedTypePolicyFactory { ] interface TrustedTypePolicyFactory {
[RaisesException, Unforgeable] TrustedTypePolicy createPolicy(DOMString policyName, TrustedTypePolicyOptions policyOptions, optional boolean exposed = false); [RaisesException, Unforgeable] TrustedTypePolicy createPolicy(DOMString policyName, TrustedTypePolicyOptions policyOptions, optional boolean exposed = false);
[Unforgeable] TrustedTypePolicy getExposedPolicy(DOMString policyName); [Unforgeable] TrustedTypePolicy getExposedPolicy(DOMString policyName);
......
...@@ -8,7 +8,7 @@ typedef (USVString or TrustedURL) URLString; ...@@ -8,7 +8,7 @@ typedef (USVString or TrustedURL) URLString;
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=TrustedDOMTypes RuntimeEnabled=TrustedDOMTypes
] interface TrustedURL { ] interface TrustedURL {
stringifier; stringifier;
}; };
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
Exposed=AnimationWorklet, Exposed=AnimationWorklet,
Global=(Worklet,AnimationWorklet), Global=(Worklet,AnimationWorklet),
OriginTrialEnabled=AnimationWorklet RuntimeEnabled=AnimationWorklet
] interface AnimationWorkletGlobalScope : WorkletGlobalScope { ] interface AnimationWorkletGlobalScope : WorkletGlobalScope {
[MeasureAs=AnimationWorkletRegisterAnimator, RaisesException] void registerAnimator(DOMString name, AnimatorConstructor animatorCtor); [MeasureAs=AnimationWorkletRegisterAnimator, RaisesException] void registerAnimator(DOMString name, AnimatorConstructor animatorCtor);
}; };
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
[ [
ImplementedAs=CSSAnimationWorklet, ImplementedAs=CSSAnimationWorklet,
OriginTrialEnabled=AnimationWorklet, RuntimeEnabled=AnimationWorklet,
SecureContext SecureContext
] partial interface CSS { ] partial interface CSS {
[CallWith=ScriptState] static readonly attribute Worklet animationWorklet; [CallWith=ScriptState] static readonly attribute Worklet animationWorklet;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// TODO(majidvp): Get rid of this in favor using KeyframeEffect interface directly. // TODO(majidvp): Get rid of this in favor using KeyframeEffect interface directly.
[ [
Exposed=AnimationWorklet, Exposed=AnimationWorklet,
OriginTrialEnabled=AnimationWorklet RuntimeEnabled=AnimationWorklet
] interface EffectProxy { ] interface EffectProxy {
attribute unrestricted double? localTime; attribute unrestricted double? localTime;
}; };
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
RaisesException=Constructor, RaisesException=Constructor,
ConstructorCallWith=ScriptState, ConstructorCallWith=ScriptState,
MeasureAs=WorkletAnimationConstructor, MeasureAs=WorkletAnimationConstructor,
OriginTrialEnabled=AnimationWorklet RuntimeEnabled=AnimationWorklet
] interface WorkletAnimation { ] interface WorkletAnimation {
readonly attribute AnimationEffect? effect; readonly attribute AnimationEffect? effect;
readonly attribute AnimationTimeline? timeline; readonly attribute AnimationTimeline? timeline;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
[ [
Exposed=AnimationWorklet, Exposed=AnimationWorklet,
OriginTrialEnabled=AnimationWorklet RuntimeEnabled=AnimationWorklet
] interface WorkletGroupEffectProxy { ] interface WorkletGroupEffectProxy {
sequence<EffectProxy> getChildren(); sequence<EffectProxy> getChildren();
}; };
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// https://github.com/WICG/badging/blob/master/explainer.md // https://github.com/WICG/badging/blob/master/explainer.md
[ [
OriginTrialEnabled=Badging, RuntimeEnabled=Badging,
// TODO(estevenson): Expose the Badge interface to Worker. // TODO(estevenson): Expose the Badge interface to Worker.
Exposed=Window, Exposed=Window,
ImplementedAs=Badge ImplementedAs=Badge
......
...@@ -55,5 +55,5 @@ dictionary CanvasContextCreationAttributesModule { ...@@ -55,5 +55,5 @@ dictionary CanvasContextCreationAttributesModule {
boolean preserveDrawingBuffer = false; boolean preserveDrawingBuffer = false;
CanvasPowerPreference powerPreference = "default"; CanvasPowerPreference powerPreference = "default";
boolean failIfMajorPerformanceCaveat = false; boolean failIfMajorPerformanceCaveat = false;
[OriginTrialEnabled=WebXR] boolean xrCompatible = false; [RuntimeEnabled=WebXR] boolean xrCompatible = false;
}; };
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
Exposed=Window, Exposed=Window,
SecureContext, SecureContext,
OriginTrialEnabled=ContactsManager RuntimeEnabled=ContactsManager
] interface ContactsManager { ] interface ContactsManager {
[CallWith=ScriptState] Promise<sequence<ContactInfo>> select(ContactsSelectOptions options); [CallWith=ScriptState] Promise<sequence<ContactInfo>> select(ContactsSelectOptions options);
}; };
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
Exposed=Window, Exposed=Window,
ImplementedAs=NavigatorContacts ImplementedAs=NavigatorContacts
] partial interface Navigator { ] partial interface Navigator {
[SecureContext, OriginTrialEnabled=ContactsManager] readonly attribute ContactsManager contacts; [SecureContext, RuntimeEnabled=ContactsManager] readonly attribute ContactsManager contacts;
}; };
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=CookieStore, RuntimeEnabled=CookieStore,
SecureContext, SecureContext,
Constructor(DOMString type, optional CookieChangeEventInit eventInitDict) Constructor(DOMString type, optional CookieChangeEventInit eventInitDict)
] interface CookieChangeEvent : Event { ] interface CookieChangeEvent : Event {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
Exposed=(ServiceWorker,Window), Exposed=(ServiceWorker,Window),
OriginTrialEnabled=CookieStore, RuntimeEnabled=CookieStore,
SecureContext SecureContext
] interface CookieStore : EventTarget { ] interface CookieStore : EventTarget {
// https://wicg.github.io/cookie-store/explainer.html#the-query-api // https://wicg.github.io/cookie-store/explainer.html#the-query-api
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
[ [
Exposed=ServiceWorker, Exposed=ServiceWorker,
OriginTrialEnabled=CookieStore, RuntimeEnabled=CookieStore,
Constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict) Constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict)
] interface ExtendableCookieChangeEvent : ExtendableEvent { ] interface ExtendableCookieChangeEvent : ExtendableEvent {
[MeasureAs=CookieStoreAPI] readonly attribute CookieList changed; [MeasureAs=CookieStoreAPI] readonly attribute CookieList changed;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// https://github.com/WICG/async-cookies-api/blob/gh-pages/explainer.md // https://github.com/WICG/async-cookies-api/blob/gh-pages/explainer.md
[ [
OriginTrialEnabled=CookieStore, RuntimeEnabled=CookieStore,
ImplementedAs=ServiceWorkerGlobalScopeCookieStore ImplementedAs=ServiceWorkerGlobalScopeCookieStore
] partial interface ServiceWorkerGlobalScope { ] partial interface ServiceWorkerGlobalScope {
[Replaceable, SameObject] readonly attribute CookieStore cookieStore; [Replaceable, SameObject] readonly attribute CookieStore cookieStore;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// https://github.com/WICG/async-cookies-api/blob/gh-pages/explainer.md // https://github.com/WICG/async-cookies-api/blob/gh-pages/explainer.md
[ [
OriginTrialEnabled=CookieStore, RuntimeEnabled=CookieStore,
ImplementedAs=WindowCookieStore, ImplementedAs=WindowCookieStore,
SecureContext SecureContext
] partial interface Window { ] partial interface Window {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// https://w3c.github.io/gamepad/extensions.html#gamepadhand-enum // https://w3c.github.io/gamepad/extensions.html#gamepadhand-enum
[ [
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] enum GamepadHand { ] enum GamepadHand {
"left", "left",
"right" "right"
...@@ -45,9 +45,9 @@ interface Gamepad { ...@@ -45,9 +45,9 @@ interface Gamepad {
// https://github.com/w3c/gamepad/pull/68 // https://github.com/w3c/gamepad/pull/68
[MeasureAs=GamepadVibrationActuator] readonly attribute GamepadHapticActuator? vibrationActuator; [MeasureAs=GamepadVibrationActuator] readonly attribute GamepadHapticActuator? vibrationActuator;
[OriginTrialEnabled=WebVR, MeasureAs=GamepadPose] readonly attribute GamepadPose? pose; [RuntimeEnabled=WebVR, MeasureAs=GamepadPose] readonly attribute GamepadPose? pose;
[OriginTrialEnabled=WebVR, MeasureAs=GamepadHand] readonly attribute GamepadHand hand; [RuntimeEnabled=WebVR, MeasureAs=GamepadHand] readonly attribute GamepadHand hand;
// https://w3c.github.io/webvr/#interface-gamepad // https://w3c.github.io/webvr/#interface-gamepad
[OriginTrialEnabled=WebVR, MeasureAs=GamepadDisplayId] readonly attribute unsigned long displayId; [RuntimeEnabled=WebVR, MeasureAs=GamepadDisplayId] readonly attribute unsigned long displayId;
}; };
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/gamepad/extensions.html#gamepadpose-interface // https://w3c.github.io/gamepad/extensions.html#gamepadpose-interface
[ [
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] interface GamepadPose { ] interface GamepadPose {
[MeasureAs=GamepadPoseHasOrientation] readonly attribute boolean hasOrientation; [MeasureAs=GamepadPoseHasOrientation] readonly attribute boolean hasOrientation;
[MeasureAs=GamepadPoseHasPosition] readonly attribute boolean hasPosition; [MeasureAs=GamepadPoseHasPosition] readonly attribute boolean hasPosition;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
ImplementedAs=NavigatorInstalledApp, ImplementedAs=NavigatorInstalledApp,
OriginTrialEnabled=InstalledApp RuntimeEnabled=InstalledApp
] partial interface Navigator { ] partial interface Navigator {
[CallWith=ScriptState, Measure, SecureContext] Promise<RelatedApplication> getInstalledRelatedApps(); [CallWith=ScriptState, Measure, SecureContext] Promise<RelatedApplication> getInstalledRelatedApps();
}; };
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
// https://crbug.com/687444. // https://crbug.com/687444.
[ [
NoInterfaceObject, NoInterfaceObject,
OriginTrialEnabled=InstalledApp RuntimeEnabled=InstalledApp
] interface RelatedApplication { ] interface RelatedApplication {
readonly attribute DOMString platform; readonly attribute DOMString platform;
readonly attribute DOMString url; readonly attribute DOMString url;
......
...@@ -11,7 +11,7 @@ dictionary MediaTrackCapabilities { ...@@ -11,7 +11,7 @@ dictionary MediaTrackCapabilities {
sequence<DOMString> resizeMode; sequence<DOMString> resizeMode;
sequence<boolean> echoCancellation; sequence<boolean> echoCancellation;
// See http://crbug.com/846270. // See http://crbug.com/846270.
[OriginTrialEnabled=ExperimentalHardwareEchoCancellation] sequence<DOMString> echoCancellationType; [RuntimeEnabled=ExperimentalHardwareEchoCancellation] sequence<DOMString> echoCancellationType;
sequence<boolean> autoGainControl; sequence<boolean> autoGainControl;
sequence<boolean> noiseSuppression; sequence<boolean> noiseSuppression;
LongRange sampleSize; LongRange sampleSize;
......
...@@ -22,7 +22,7 @@ dictionary MediaTrackConstraintSet { ...@@ -22,7 +22,7 @@ dictionary MediaTrackConstraintSet {
ConstrainLong sampleSize; ConstrainLong sampleSize;
ConstrainBoolean echoCancellation; ConstrainBoolean echoCancellation;
// See http://crbug.com/846270. // See http://crbug.com/846270.
[OriginTrialEnabled=ExperimentalHardwareEchoCancellation] ConstrainDOMString echoCancellationType; [RuntimeEnabled=ExperimentalHardwareEchoCancellation] ConstrainDOMString echoCancellationType;
ConstrainBoolean autoGainControl; ConstrainBoolean autoGainControl;
ConstrainBoolean noiseSuppression; ConstrainBoolean noiseSuppression;
ConstrainDouble latency; ConstrainDouble latency;
......
...@@ -21,7 +21,7 @@ dictionary MediaTrackSettings { ...@@ -21,7 +21,7 @@ dictionary MediaTrackSettings {
long channelCount; long channelCount;
DOMString deviceId; DOMString deviceId;
DOMString groupId; DOMString groupId;
[OriginTrialEnabled=ExperimentalHardwareEchoCancellation] DOMString echoCancellationType; [RuntimeEnabled=ExperimentalHardwareEchoCancellation] DOMString echoCancellationType;
// Media Capture Depth Stream Extensions // Media Capture Depth Stream Extensions
// https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
// TODO(riju): videoKind attribute should be declared as partial // TODO(riju): videoKind attribute should be declared as partial
......
...@@ -19,7 +19,7 @@ dictionary MediaTrackSupportedConstraints { ...@@ -19,7 +19,7 @@ dictionary MediaTrackSupportedConstraints {
boolean sampleSize = true; boolean sampleSize = true;
boolean echoCancellation = true; boolean echoCancellation = true;
// See http://crbug.com/846270. // See http://crbug.com/846270.
[OriginTrialEnabled=ExperimentalHardwareEchoCancellation] boolean echoCancellationType = true; [RuntimeEnabled=ExperimentalHardwareEchoCancellation] boolean echoCancellationType = true;
boolean autoGainControl = true; boolean autoGainControl = true;
boolean noiseSuppression = true; boolean noiseSuppression = true;
boolean latency = true; boolean latency = true;
......
...@@ -51,8 +51,8 @@ dictionary RTCConfiguration { ...@@ -51,8 +51,8 @@ dictionary RTCConfiguration {
// Nonstandard, added for backward compatibility reasons during a // Nonstandard, added for backward compatibility reasons during a
// transitional phase. https://crbug.com/908377 // transitional phase. https://crbug.com/908377
boolean offerExtmapAllowMixed; boolean offerExtmapAllowMixed;
[OriginTrialEnabled=RtcAudioJitterBufferMaxPackets] long rtcAudioJitterBufferMaxPackets; [RuntimeEnabled=RtcAudioJitterBufferMaxPackets] long rtcAudioJitterBufferMaxPackets;
[OriginTrialEnabled=RtcAudioJitterBufferMaxPackets] boolean rtcAudioJitterBufferFastAccelerate; [RuntimeEnabled=RtcAudioJitterBufferMaxPackets] boolean rtcAudioJitterBufferFastAccelerate;
[OriginTrialEnabled=RtcAudioJitterBufferMaxPackets] long rtcAudioJitterBufferMinDelayMs; [RuntimeEnabled=RtcAudioJitterBufferMaxPackets] long rtcAudioJitterBufferMinDelayMs;
}; };
...@@ -34,7 +34,7 @@ enum RTCIceGatheringState { ...@@ -34,7 +34,7 @@ enum RTCIceGatheringState {
ConstructorCallWith=ExecutionContext, ConstructorCallWith=ExecutionContext,
Exposed=Window, Exposed=Window,
Measure, Measure,
OriginTrialEnabled=RTCIceTransportExtension, RuntimeEnabled=RTCIceTransportExtension,
SecureContext SecureContext
] interface RTCIceTransport : EventTarget { ] interface RTCIceTransport : EventTarget {
// TODO(github.com/w3c/webrtc-ice/issues/4): role is non-null in the // TODO(github.com/w3c/webrtc-ice/issues/4): role is non-null in the
......
...@@ -14,7 +14,7 @@ enum RTCQuicStreamState { ...@@ -14,7 +14,7 @@ enum RTCQuicStreamState {
// https://w3c.github.io/webrtc-quic/#quicstream* // https://w3c.github.io/webrtc-quic/#quicstream*
[ [
Exposed=Window, Exposed=Window,
OriginTrialEnabled=RTCQuicTransport, RuntimeEnabled=RTCQuicTransport,
SecureContext SecureContext
] interface RTCQuicStream : EventTarget { ] interface RTCQuicStream : EventTarget {
[Measure] readonly attribute RTCQuicTransport transport; [Measure] readonly attribute RTCQuicTransport transport;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/webrtc-quic/#rtcquicstreamevent // https://w3c.github.io/webrtc-quic/#rtcquicstreamevent
[ [
OriginTrialEnabled=RTCQuicTransport, RuntimeEnabled=RTCQuicTransport,
Constructor(DOMString type, optional RTCQuicStreamEventInit eventInitDict), Constructor(DOMString type, optional RTCQuicStreamEventInit eventInitDict),
Exposed=Window Exposed=Window
] interface RTCQuicStreamEvent : Event { ] interface RTCQuicStreamEvent : Event {
......
...@@ -18,7 +18,7 @@ enum RTCQuicTransportState { ...@@ -18,7 +18,7 @@ enum RTCQuicTransportState {
RaisesException=Constructor, RaisesException=Constructor,
Exposed=Window, Exposed=Window,
Measure, Measure,
OriginTrialEnabled=RTCQuicTransport, RuntimeEnabled=RTCQuicTransport,
SecureContext SecureContext
] interface RTCQuicTransport : EventTarget { ] interface RTCQuicTransport : EventTarget {
[Measure] readonly attribute RTCIceTransport transport; [Measure] readonly attribute RTCIceTransport transport;
......
...@@ -8,7 +8,7 @@ interface RTCRtpReceiver { ...@@ -8,7 +8,7 @@ interface RTCRtpReceiver {
readonly attribute MediaStreamTrack track; readonly attribute MediaStreamTrack track;
[RuntimeEnabled=RTCDtlsTransport] readonly attribute RTCDtlsTransport? transport; [RuntimeEnabled=RTCDtlsTransport] readonly attribute RTCDtlsTransport? transport;
[RuntimeEnabled=RTCDtlsTransport] readonly attribute RTCDtlsTransport? rtcp_transport; [RuntimeEnabled=RTCDtlsTransport] readonly attribute RTCDtlsTransport? rtcp_transport;
[RaisesException, OriginTrialEnabled=RtcJitterBufferDelayHint] attribute double? jitterBufferDelayHint; [RaisesException, RuntimeEnabled=RtcJitterBufferDelayHint] attribute double? jitterBufferDelayHint;
static RTCRtpCapabilities? getCapabilities(DOMString kind); static RTCRtpCapabilities? getCapabilities(DOMString kind);
RTCRtpReceiveParameters getParameters(); RTCRtpReceiveParameters getParameters();
sequence<RTCRtpSynchronizationSource> getSynchronizationSources(); sequence<RTCRtpSynchronizationSource> getSynchronizationSources();
......
...@@ -12,6 +12,6 @@ partial interface HTMLVideoElement { ...@@ -12,6 +12,6 @@ partial interface HTMLVideoElement {
[RuntimeEnabled=PictureInPictureAPI] attribute EventHandler onenterpictureinpicture; [RuntimeEnabled=PictureInPictureAPI] attribute EventHandler onenterpictureinpicture;
[RuntimeEnabled=PictureInPictureAPI] attribute EventHandler onleavepictureinpicture; [RuntimeEnabled=PictureInPictureAPI] attribute EventHandler onleavepictureinpicture;
[OriginTrialEnabled=AutoPictureInPicture, CEReactions, Measure, Reflect] attribute boolean autoPictureInPicture; [RuntimeEnabled=AutoPictureInPicture, CEReactions, Measure, Reflect] attribute boolean autoPictureInPicture;
[RuntimeEnabled=PictureInPictureAPI, CEReactions, Measure, Reflect] attribute boolean disablePictureInPicture; [RuntimeEnabled=PictureInPictureAPI, CEReactions, Measure, Reflect] attribute boolean disablePictureInPicture;
}; };
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
ImplementedAs=NavigatorVR ImplementedAs=NavigatorVR
] partial interface Navigator { ] partial interface Navigator {
// Latest API // Latest API
[SecureContext, OriginTrialEnabled=WebXR, MeasureAs=NavigatorXR] readonly attribute XR xr; [SecureContext, RuntimeEnabled=WebXR, MeasureAs=NavigatorXR] readonly attribute XR xr;
// Legacy API // Legacy API
[OriginTrialEnabled=WebVR, CallWith=ScriptState] Promise<sequence<VRDisplay>> getVRDisplays(); [RuntimeEnabled=WebVR, CallWith=ScriptState] Promise<sequence<VRDisplay>> getVRDisplays();
}; };
...@@ -10,7 +10,7 @@ enum VREye { ...@@ -10,7 +10,7 @@ enum VREye {
// https://w3c.github.io/webvr/#interface-vrdisplay // https://w3c.github.io/webvr/#interface-vrdisplay
[ [
ActiveScriptWrappable, ActiveScriptWrappable,
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] interface VRDisplay : EventTarget { ] interface VRDisplay : EventTarget {
// An identifier for this device unique across VRDisplays. // An identifier for this device unique across VRDisplays.
readonly attribute unsigned long displayId; readonly attribute unsigned long displayId;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/webvr/#interface-vrdisplaycapabilities // https://w3c.github.io/webvr/#interface-vrdisplaycapabilities
[ [
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] interface VRDisplayCapabilities { ] interface VRDisplayCapabilities {
// Whether or not the VR display is capable of reporting user position. // Whether or not the VR display is capable of reporting user position.
// If false position may still be reported using simulated values like // If false position may still be reported using simulated values like
......
...@@ -12,7 +12,7 @@ enum VRDisplayEventReason { ...@@ -12,7 +12,7 @@ enum VRDisplayEventReason {
// https://w3c.github.io/webvr/#interface-vrdisplayevent // https://w3c.github.io/webvr/#interface-vrdisplayevent
[ [
OriginTrialEnabled=WebVR, RuntimeEnabled=WebVR,
Constructor(DOMString type, optional VRDisplayEventInit eventInitDict) Constructor(DOMString type, optional VRDisplayEventInit eventInitDict)
] interface VRDisplayEvent : Event { ] interface VRDisplayEvent : Event {
readonly attribute VRDisplay display; readonly attribute VRDisplay display;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/webvr/#interface-vreyeparameters // https://w3c.github.io/webvr/#interface-vreyeparameters
[ [
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] interface VREyeParameters { ] interface VREyeParameters {
/* These values will vary after a FOV has been set */ /* These values will vary after a FOV has been set */
[DeprecateAs=VREyeParametersOffset] readonly attribute Float32Array offset; [DeprecateAs=VREyeParametersOffset] readonly attribute Float32Array offset;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/webvr/#interface-vrframedata // https://w3c.github.io/webvr/#interface-vrframedata
[ [
OriginTrialEnabled=WebVR, RuntimeEnabled=WebVR,
Constructor Constructor
] interface VRFrameData { ] interface VRFrameData {
readonly attribute Float32Array leftProjectionMatrix; readonly attribute Float32Array leftProjectionMatrix;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/webvr/#interface-vrpose // https://w3c.github.io/webvr/#interface-vrpose
[ [
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] interface VRPose { ] interface VRPose {
readonly attribute Float32Array? position; readonly attribute Float32Array? position;
[MeasureAs=VRPoseLinearVelocity] readonly attribute Float32Array? linearVelocity; [MeasureAs=VRPoseLinearVelocity] readonly attribute Float32Array? linearVelocity;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
// https://w3c.github.io/webvr/#interface-vrstageparameters // https://w3c.github.io/webvr/#interface-vrstageparameters
[ [
OriginTrialEnabled=WebVR RuntimeEnabled=WebVR
] interface VRStageParameters { ] interface VRStageParameters {
// A 16 element array containing the components of a 4x4 transform // A 16 element array containing the components of a 4x4 transform
// matrix. This matrix transforms the sitting space position // matrix. This matrix transforms the sitting space position
......
...@@ -41,6 +41,6 @@ dictionary WebGLContextAttributes { ...@@ -41,6 +41,6 @@ dictionary WebGLContextAttributes {
boolean preserveDrawingBuffer = false; boolean preserveDrawingBuffer = false;
WebGLPowerPreference powerPreference = "default"; WebGLPowerPreference powerPreference = "default";
boolean failIfMajorPerformanceCaveat = false; boolean failIfMajorPerformanceCaveat = false;
[OriginTrialEnabled=WebXR] boolean xrCompatible = false; [RuntimeEnabled=WebXR] boolean xrCompatible = false;
boolean desynchronized = false; boolean desynchronized = false;
}; };
...@@ -709,5 +709,5 @@ interface mixin WebGLRenderingContextBase { ...@@ -709,5 +709,5 @@ interface mixin WebGLRenderingContextBase {
[RuntimeEnabled=OffscreenCanvasCommit] void commit(); [RuntimeEnabled=OffscreenCanvasCommit] void commit();
// WebXR Device API support // WebXR Device API support
[OriginTrialEnabled=WebXR, SecureContext, CallWith=ScriptState] Promise<void> makeXRCompatible(); [RuntimeEnabled=WebXR, SecureContext, CallWith=ScriptState] Promise<void> makeXRCompatible();
}; };
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XR : EventTarget { ] interface XR : EventTarget {
attribute EventHandler ondevicechange; attribute EventHandler ondevicechange;
[CallWith=ScriptState, MeasureAs=XRSupportsSession] Promise<void> supportsSessionMode(XRSessionMode mode); [CallWith=ScriptState, MeasureAs=XRSupportsSession] Promise<void> supportsSessionMode(XRSessionMode mode);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRBoundedReferenceSpace : XRReferenceSpace { ] interface XRBoundedReferenceSpace : XRReferenceSpace {
readonly attribute FrozenArray<DOMPointReadOnly> boundsGeometry; readonly attribute FrozenArray<DOMPointReadOnly> boundsGeometry;
}; };
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRFrame { ] interface XRFrame {
readonly attribute XRSession session; readonly attribute XRSession session;
......
...@@ -17,7 +17,7 @@ enum XRTargetRayMode { ...@@ -17,7 +17,7 @@ enum XRTargetRayMode {
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRInputSource { ] interface XRInputSource {
readonly attribute XRHandedness handedness; readonly attribute XRHandedness handedness;
readonly attribute XRTargetRayMode targetRayMode; readonly attribute XRTargetRayMode targetRayMode;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR, RuntimeEnabled=WebXR,
Constructor(DOMString type, XRInputSourceEventInit eventInitDict) Constructor(DOMString type, XRInputSourceEventInit eventInitDict)
] interface XRInputSourceEvent : Event { ] interface XRInputSourceEvent : Event {
readonly attribute XRFrame frame; readonly attribute XRFrame frame;
......
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRLayer {}; ] interface XRLayer {};
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRPose { ] interface XRPose {
readonly attribute XRRigidTransform transform; readonly attribute XRRigidTransform transform;
readonly attribute boolean emulatedPosition; readonly attribute boolean emulatedPosition;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRPresentationContext { ] interface XRPresentationContext {
// back-reference to the canvas // back-reference to the canvas
readonly attribute HTMLCanvasElement canvas; readonly attribute HTMLCanvasElement canvas;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR, RuntimeEnabled=WebXR,
Constructor(), Constructor(),
Constructor(DOMPointInit origin), Constructor(DOMPointInit origin),
Constructor(DOMPointInit origin, DOMPointInit direction), Constructor(DOMPointInit origin, DOMPointInit direction),
......
...@@ -14,7 +14,7 @@ enum XRReferenceSpaceType { ...@@ -14,7 +14,7 @@ enum XRReferenceSpaceType {
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRReferenceSpace : XRSpace { ] interface XRReferenceSpace : XRSpace {
attribute XRRigidTransform originOffset; attribute XRRigidTransform originOffset;
attribute EventHandler onreset; attribute EventHandler onreset;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRRenderState { ] interface XRRenderState {
readonly attribute double depthNear; readonly attribute double depthNear;
readonly attribute double depthFar; readonly attribute double depthFar;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR, RuntimeEnabled=WebXR,
Constructor(optional DOMPointInit position, optional DOMPointInit orientation) Constructor(optional DOMPointInit position, optional DOMPointInit orientation)
] interface XRRigidTransform { ] interface XRRigidTransform {
readonly attribute DOMPointReadOnly position; readonly attribute DOMPointReadOnly position;
......
...@@ -20,7 +20,7 @@ enum XREnvironmentBlendMode { ...@@ -20,7 +20,7 @@ enum XREnvironmentBlendMode {
ActiveScriptWrappable, ActiveScriptWrappable,
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRSession : EventTarget { ] interface XRSession : EventTarget {
readonly attribute XRSessionMode mode; readonly attribute XRSessionMode mode;
readonly attribute XREnvironmentBlendMode environmentBlendMode; readonly attribute XREnvironmentBlendMode environmentBlendMode;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR, RuntimeEnabled=WebXR,
Constructor(DOMString type, XRSessionEventInit eventInitDict) Constructor(DOMString type, XRSessionEventInit eventInitDict)
] interface XRSessionEvent : Event { ] interface XRSessionEvent : Event {
readonly attribute XRSession session; readonly attribute XRSession session;
......
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRSpace : EventTarget {}; ] interface XRSpace : EventTarget {};
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRStageBounds { ] interface XRStageBounds {
readonly attribute FrozenArray<DOMPointReadOnly> geometry; readonly attribute FrozenArray<DOMPointReadOnly> geometry;
}; };
...@@ -13,7 +13,7 @@ enum XRStationaryReferenceSpaceSubtype { ...@@ -13,7 +13,7 @@ enum XRStationaryReferenceSpaceSubtype {
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRStationaryReferenceSpace : XRReferenceSpace { ] interface XRStationaryReferenceSpace : XRReferenceSpace {
readonly attribute XRStationaryReferenceSpaceSubtype subtype; readonly attribute XRStationaryReferenceSpaceSubtype subtype;
}; };
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRUnboundedReferenceSpace : XRReferenceSpace { ] interface XRUnboundedReferenceSpace : XRReferenceSpace {
}; };
...@@ -11,7 +11,7 @@ enum XREye { ...@@ -11,7 +11,7 @@ enum XREye {
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRView { ] interface XRView {
readonly attribute XREye eye; readonly attribute XREye eye;
readonly attribute Float32Array projectionMatrix; readonly attribute Float32Array projectionMatrix;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRViewerPose : XRPose { ] interface XRViewerPose : XRPose {
readonly attribute FrozenArray<XRView> views; readonly attribute FrozenArray<XRView> views;
}; };
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR RuntimeEnabled=WebXR
] interface XRViewport { ] interface XRViewport {
readonly attribute long x; readonly attribute long x;
readonly attribute long y; readonly attribute long y;
......
...@@ -8,7 +8,7 @@ typedef (WebGLRenderingContext or WebGL2RenderingContext) XRWebGLRenderingContex ...@@ -8,7 +8,7 @@ typedef (WebGLRenderingContext or WebGL2RenderingContext) XRWebGLRenderingContex
[ [
SecureContext, SecureContext,
Exposed=Window, Exposed=Window,
OriginTrialEnabled=WebXR, RuntimeEnabled=WebXR,
Constructor(XRSession session, XRWebGLRenderingContext context, optional XRWebGLLayerInit layerInit), Constructor(XRSession session, XRWebGLRenderingContext context, optional XRWebGLLayerInit layerInit),
RaisesException=Constructor RaisesException=Constructor
] interface XRWebGLLayer : XRLayer { ] interface XRWebGLLayer : XRLayer {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment