forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync interfaces/ with @webref/idl 2.2.4
- Loading branch information
1 parent
0895a4d
commit c03e3a9
Showing
251 changed files
with
21,457 additions
and
20,967 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/) | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface ANGLE_instanced_arrays { | ||
const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | ||
undefined drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
undefined drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount); | ||
undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor); | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/) | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface ANGLE_instanced_arrays { | ||
const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | ||
undefined drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
undefined drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount); | ||
undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,55 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/) | ||
|
||
[Exposed=Window] | ||
interface CSPViolationReportBody : ReportBody { | ||
readonly attribute USVString documentURL; | ||
readonly attribute USVString? referrer; | ||
readonly attribute USVString? blockedURL; | ||
readonly attribute DOMString effectiveDirective; | ||
readonly attribute DOMString originalPolicy; | ||
readonly attribute USVString? sourceFile; | ||
readonly attribute DOMString? sample; | ||
readonly attribute SecurityPolicyViolationEventDisposition disposition; | ||
readonly attribute unsigned short statusCode; | ||
readonly attribute unsigned long? lineNumber; | ||
readonly attribute unsigned long? columnNumber; | ||
}; | ||
|
||
enum SecurityPolicyViolationEventDisposition { | ||
"enforce", "report" | ||
}; | ||
|
||
[Exposed=(Window,Worker)] | ||
interface SecurityPolicyViolationEvent : Event { | ||
constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict = {}); | ||
readonly attribute USVString documentURL; | ||
readonly attribute USVString documentURI; // historical alias of documentURL | ||
readonly attribute USVString referrer; | ||
readonly attribute USVString blockedURL; | ||
readonly attribute USVString blockedURI; // historical alias of blockedURL | ||
readonly attribute DOMString effectiveDirective; | ||
readonly attribute DOMString violatedDirective; // historical alias of effectiveDirective | ||
readonly attribute DOMString originalPolicy; | ||
readonly attribute USVString sourceFile; | ||
readonly attribute DOMString sample; | ||
readonly attribute SecurityPolicyViolationEventDisposition disposition; | ||
readonly attribute unsigned short statusCode; | ||
readonly attribute unsigned long lineno; | ||
readonly attribute unsigned long lineNumber; // historical alias of lineno | ||
readonly attribute unsigned long colno; | ||
readonly attribute unsigned long columnNumber; // historical alias of colno | ||
}; | ||
|
||
dictionary SecurityPolicyViolationEventInit : EventInit { | ||
required USVString documentURL; | ||
USVString referrer = ""; | ||
USVString blockedURL = ""; | ||
required DOMString effectiveDirective; | ||
required DOMString originalPolicy; | ||
USVString sourceFile = ""; | ||
DOMString sample = ""; | ||
required SecurityPolicyViolationEventDisposition disposition; | ||
required unsigned short statusCode; | ||
unsigned long lineno = 0; | ||
unsigned long colno = 0; | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/) | ||
|
||
[Exposed=Window] | ||
interface CSPViolationReportBody : ReportBody { | ||
readonly attribute USVString documentURL; | ||
readonly attribute USVString? referrer; | ||
readonly attribute USVString? blockedURL; | ||
readonly attribute DOMString effectiveDirective; | ||
readonly attribute DOMString originalPolicy; | ||
readonly attribute USVString? sourceFile; | ||
readonly attribute DOMString? sample; | ||
readonly attribute SecurityPolicyViolationEventDisposition disposition; | ||
readonly attribute unsigned short statusCode; | ||
readonly attribute unsigned long? lineNumber; | ||
readonly attribute unsigned long? columnNumber; | ||
}; | ||
|
||
enum SecurityPolicyViolationEventDisposition { | ||
"enforce", "report" | ||
}; | ||
|
||
[Exposed=(Window,Worker)] | ||
interface SecurityPolicyViolationEvent : Event { | ||
constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict = {}); | ||
readonly attribute USVString documentURI; | ||
readonly attribute USVString referrer; | ||
readonly attribute USVString blockedURI; | ||
readonly attribute DOMString effectiveDirective; | ||
readonly attribute DOMString violatedDirective; // historical alias of effectiveDirective | ||
readonly attribute DOMString originalPolicy; | ||
readonly attribute USVString sourceFile; | ||
readonly attribute DOMString sample; | ||
readonly attribute SecurityPolicyViolationEventDisposition disposition; | ||
readonly attribute unsigned short statusCode; | ||
readonly attribute unsigned long lineNumber; | ||
readonly attribute unsigned long columnNumber; | ||
}; | ||
|
||
dictionary SecurityPolicyViolationEventInit : EventInit { | ||
required USVString documentURI; | ||
USVString referrer = ""; | ||
USVString blockedURI = ""; | ||
required DOMString violatedDirective; | ||
required DOMString effectiveDirective; | ||
required DOMString originalPolicy; | ||
USVString sourceFile = ""; | ||
DOMString sample = ""; | ||
required SecurityPolicyViolationEventDisposition disposition; | ||
required unsigned short statusCode; | ||
unsigned long lineNumber = 0; | ||
unsigned long columnNumber = 0; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/) | ||
|
||
[Exposed=Window] | ||
interface XMLSerializer { | ||
constructor(); | ||
DOMString serializeToString(Node root); | ||
}; | ||
|
||
interface mixin InnerHTML { | ||
[CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML; | ||
}; | ||
|
||
Element includes InnerHTML; | ||
ShadowRoot includes InnerHTML; | ||
|
||
partial interface Element { | ||
[CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML; | ||
[CEReactions] undefined insertAdjacentHTML(DOMString position, DOMString text); | ||
}; | ||
|
||
partial interface Range { | ||
[CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment); | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/) | ||
[Exposed=Window] | ||
interface XMLSerializer { | ||
constructor(); | ||
DOMString serializeToString(Node root); | ||
}; | ||
interface mixin InnerHTML { | ||
[CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML; | ||
}; | ||
Element includes InnerHTML; | ||
ShadowRoot includes InnerHTML; | ||
partial interface Element { | ||
[CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML; | ||
[CEReactions] undefined insertAdjacentHTML(DOMString position, DOMString text); | ||
}; | ||
partial interface Range { | ||
[CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_blend_minmax Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/) | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_blend_minmax { | ||
const GLenum MIN_EXT = 0x8007; | ||
const GLenum MAX_EXT = 0x8008; | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_blend_minmax Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/) | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_blend_minmax { | ||
const GLenum MIN_EXT = 0x8007; | ||
const GLenum MAX_EXT = 0x8008; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_clip_cull_distance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/EXT_clip_cull_distance/) | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_clip_cull_distance { | ||
const GLenum MAX_CLIP_DISTANCES_EXT = 0x0D32; | ||
const GLenum MAX_CULL_DISTANCES_EXT = 0x82F9; | ||
const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT = 0x82FA; | ||
|
||
const GLenum CLIP_DISTANCE0_EXT = 0x3000; | ||
const GLenum CLIP_DISTANCE1_EXT = 0x3001; | ||
const GLenum CLIP_DISTANCE2_EXT = 0x3002; | ||
const GLenum CLIP_DISTANCE3_EXT = 0x3003; | ||
const GLenum CLIP_DISTANCE4_EXT = 0x3004; | ||
const GLenum CLIP_DISTANCE5_EXT = 0x3005; | ||
const GLenum CLIP_DISTANCE6_EXT = 0x3006; | ||
const GLenum CLIP_DISTANCE7_EXT = 0x3007; | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_clip_cull_distance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/EXT_clip_cull_distance/) | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_clip_cull_distance { | ||
const GLenum MAX_CLIP_DISTANCES_EXT = 0x0D32; | ||
const GLenum MAX_CULL_DISTANCES_EXT = 0x82F9; | ||
const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT = 0x82FA; | ||
const GLenum CLIP_DISTANCE0_EXT = 0x3000; | ||
const GLenum CLIP_DISTANCE1_EXT = 0x3001; | ||
const GLenum CLIP_DISTANCE2_EXT = 0x3002; | ||
const GLenum CLIP_DISTANCE3_EXT = 0x3003; | ||
const GLenum CLIP_DISTANCE4_EXT = 0x3004; | ||
const GLenum CLIP_DISTANCE5_EXT = 0x3005; | ||
const GLenum CLIP_DISTANCE6_EXT = 0x3006; | ||
const GLenum CLIP_DISTANCE7_EXT = 0x3007; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_color_buffer_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_float/) | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_color_buffer_float { | ||
}; // interface EXT_color_buffer_float | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_color_buffer_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_float/) | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_color_buffer_float { | ||
}; // interface EXT_color_buffer_float |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_color_buffer_half_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/) | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_color_buffer_half_float { | ||
const GLenum RGBA16F_EXT = 0x881A; | ||
const GLenum RGB16F_EXT = 0x881B; | ||
const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211; | ||
const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17; | ||
}; // interface EXT_color_buffer_half_float | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_color_buffer_half_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/) | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_color_buffer_half_float { | ||
const GLenum RGBA16F_EXT = 0x881A; | ||
const GLenum RGB16F_EXT = 0x881B; | ||
const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211; | ||
const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17; | ||
}; // interface EXT_color_buffer_half_float |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_disjoint_timer_query Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/) | ||
|
||
typedef unsigned long long GLuint64EXT; | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface WebGLTimerQueryEXT : WebGLObject { | ||
}; | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_disjoint_timer_query { | ||
const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | ||
const GLenum CURRENT_QUERY_EXT = 0x8865; | ||
const GLenum QUERY_RESULT_EXT = 0x8866; | ||
const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; | ||
const GLenum TIME_ELAPSED_EXT = 0x88BF; | ||
const GLenum TIMESTAMP_EXT = 0x8E28; | ||
const GLenum GPU_DISJOINT_EXT = 0x8FBB; | ||
|
||
WebGLTimerQueryEXT? createQueryEXT(); | ||
undefined deleteQueryEXT(WebGLTimerQueryEXT? query); | ||
[WebGLHandlesContextLoss] boolean isQueryEXT(WebGLTimerQueryEXT? query); | ||
undefined beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); | ||
undefined endQueryEXT(GLenum target); | ||
undefined queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); | ||
any getQueryEXT(GLenum target, GLenum pname); | ||
any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenum pname); | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_disjoint_timer_query Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/) | ||
typedef unsigned long long GLuint64EXT; | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface WebGLTimerQueryEXT : WebGLObject { | ||
}; | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_disjoint_timer_query { | ||
const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | ||
const GLenum CURRENT_QUERY_EXT = 0x8865; | ||
const GLenum QUERY_RESULT_EXT = 0x8866; | ||
const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867; | ||
const GLenum TIME_ELAPSED_EXT = 0x88BF; | ||
const GLenum TIMESTAMP_EXT = 0x8E28; | ||
const GLenum GPU_DISJOINT_EXT = 0x8FBB; | ||
WebGLTimerQueryEXT? createQueryEXT(); | ||
undefined deleteQueryEXT(WebGLTimerQueryEXT? query); | ||
[WebGLHandlesContextLoss] boolean isQueryEXT(WebGLTimerQueryEXT? query); | ||
undefined beginQueryEXT(GLenum target, WebGLTimerQueryEXT query); | ||
undefined endQueryEXT(GLenum target); | ||
undefined queryCounterEXT(WebGLTimerQueryEXT query, GLenum target); | ||
any getQueryEXT(GLenum target, GLenum pname); | ||
any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenum pname); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_disjoint_timer_query_webgl2 Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query_webgl2/) | ||
|
||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_disjoint_timer_query_webgl2 { | ||
const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | ||
const GLenum TIME_ELAPSED_EXT = 0x88BF; | ||
const GLenum TIMESTAMP_EXT = 0x8E28; | ||
const GLenum GPU_DISJOINT_EXT = 0x8FBB; | ||
|
||
undefined queryCounterEXT(WebGLQuery query, GLenum target); | ||
}; | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: WebGL EXT_disjoint_timer_query_webgl2 Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query_webgl2/) | ||
[Exposed=(Window,Worker), LegacyNoInterfaceObject] | ||
interface EXT_disjoint_timer_query_webgl2 { | ||
const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; | ||
const GLenum TIME_ELAPSED_EXT = 0x88BF; | ||
const GLenum TIMESTAMP_EXT = 0x8E28; | ||
const GLenum GPU_DISJOINT_EXT = 0x8FBB; | ||
undefined queryCounterEXT(WebGLQuery query, GLenum target); | ||
}; |
Oops, something went wrong.