@webref/idl 3.29.0 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +15 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +22 -0
- package/compute-pressure.idl +37 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +609 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +93 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2717 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +100 -0
- package/orientation-event.idl +76 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +28 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessFor.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +11 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +48 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +220 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +58 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +46 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +104 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +252 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +313 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1245 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +627 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_clip_cull_distance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_clip_cull_distance/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_clip_cull_distance {
|
|
8
|
+
const GLenum MAX_CLIP_DISTANCES_WEBGL = 0x0D32;
|
|
9
|
+
const GLenum MAX_CULL_DISTANCES_WEBGL = 0x82F9;
|
|
10
|
+
const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_WEBGL = 0x82FA;
|
|
11
|
+
|
|
12
|
+
const GLenum CLIP_DISTANCE0_WEBGL = 0x3000;
|
|
13
|
+
const GLenum CLIP_DISTANCE1_WEBGL = 0x3001;
|
|
14
|
+
const GLenum CLIP_DISTANCE2_WEBGL = 0x3002;
|
|
15
|
+
const GLenum CLIP_DISTANCE3_WEBGL = 0x3003;
|
|
16
|
+
const GLenum CLIP_DISTANCE4_WEBGL = 0x3004;
|
|
17
|
+
const GLenum CLIP_DISTANCE5_WEBGL = 0x3005;
|
|
18
|
+
const GLenum CLIP_DISTANCE6_WEBGL = 0x3006;
|
|
19
|
+
const GLenum CLIP_DISTANCE7_WEBGL = 0x3007;
|
|
20
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_color_buffer_float Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_color_buffer_float/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_color_buffer_float {
|
|
8
|
+
const GLenum RGBA32F_EXT = 0x8814;
|
|
9
|
+
const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211;
|
|
10
|
+
const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17;
|
|
11
|
+
}; // interface WEBGL_color_buffer_float
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_compressed_texture_astc Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_astc/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_compressed_texture_astc {
|
|
8
|
+
/* Compressed Texture Format */
|
|
9
|
+
const GLenum COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0;
|
|
10
|
+
const GLenum COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1;
|
|
11
|
+
const GLenum COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2;
|
|
12
|
+
const GLenum COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3;
|
|
13
|
+
const GLenum COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4;
|
|
14
|
+
const GLenum COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5;
|
|
15
|
+
const GLenum COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6;
|
|
16
|
+
const GLenum COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7;
|
|
17
|
+
const GLenum COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8;
|
|
18
|
+
const GLenum COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9;
|
|
19
|
+
const GLenum COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA;
|
|
20
|
+
const GLenum COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB;
|
|
21
|
+
const GLenum COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC;
|
|
22
|
+
const GLenum COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD;
|
|
23
|
+
|
|
24
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0;
|
|
25
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1;
|
|
26
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2;
|
|
27
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3;
|
|
28
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4;
|
|
29
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5;
|
|
30
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6;
|
|
31
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7;
|
|
32
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8;
|
|
33
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9;
|
|
34
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA;
|
|
35
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB;
|
|
36
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC;
|
|
37
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD;
|
|
38
|
+
|
|
39
|
+
// Profile query support.
|
|
40
|
+
sequence<DOMString> getSupportedProfiles();
|
|
41
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_compressed_texture_etc Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_etc/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_compressed_texture_etc {
|
|
8
|
+
/* Compressed Texture Formats */
|
|
9
|
+
const GLenum COMPRESSED_R11_EAC = 0x9270;
|
|
10
|
+
const GLenum COMPRESSED_SIGNED_R11_EAC = 0x9271;
|
|
11
|
+
const GLenum COMPRESSED_RG11_EAC = 0x9272;
|
|
12
|
+
const GLenum COMPRESSED_SIGNED_RG11_EAC = 0x9273;
|
|
13
|
+
const GLenum COMPRESSED_RGB8_ETC2 = 0x9274;
|
|
14
|
+
const GLenum COMPRESSED_SRGB8_ETC2 = 0x9275;
|
|
15
|
+
const GLenum COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276;
|
|
16
|
+
const GLenum COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277;
|
|
17
|
+
const GLenum COMPRESSED_RGBA8_ETC2_EAC = 0x9278;
|
|
18
|
+
const GLenum COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279;
|
|
19
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_compressed_texture_etc1 Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_etc1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_compressed_texture_etc1 {
|
|
8
|
+
/* Compressed Texture Format */
|
|
9
|
+
const GLenum COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_compressed_texture_pvrtc Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_pvrtc/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_compressed_texture_pvrtc {
|
|
8
|
+
/* Compressed Texture Formats */
|
|
9
|
+
const GLenum COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
|
|
10
|
+
const GLenum COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01;
|
|
11
|
+
const GLenum COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
|
|
12
|
+
const GLenum COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_compressed_texture_s3tc Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_compressed_texture_s3tc {
|
|
8
|
+
/* Compressed Texture Formats */
|
|
9
|
+
const GLenum COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
|
|
10
|
+
const GLenum COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
|
|
11
|
+
const GLenum COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
|
|
12
|
+
const GLenum COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_compressed_texture_s3tc_srgb Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_compressed_texture_s3tc_srgb {
|
|
8
|
+
/* Compressed Texture Formats */
|
|
9
|
+
const GLenum COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C;
|
|
10
|
+
const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
|
|
11
|
+
const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
|
|
12
|
+
const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F;
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_debug_renderer_info Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_debug_renderer_info/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_debug_renderer_info {
|
|
8
|
+
|
|
9
|
+
const GLenum UNMASKED_VENDOR_WEBGL = 0x9245;
|
|
10
|
+
const GLenum UNMASKED_RENDERER_WEBGL = 0x9246;
|
|
11
|
+
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_debug_shaders Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_debug_shaders/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_debug_shaders {
|
|
8
|
+
|
|
9
|
+
DOMString getTranslatedShaderSource(WebGLShader shader);
|
|
10
|
+
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_depth_texture Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_depth_texture/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_depth_texture {
|
|
8
|
+
const GLenum UNSIGNED_INT_24_8_WEBGL = 0x84FA;
|
|
9
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_draw_buffers Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_draw_buffers/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_draw_buffers {
|
|
8
|
+
const GLenum COLOR_ATTACHMENT0_WEBGL = 0x8CE0;
|
|
9
|
+
const GLenum COLOR_ATTACHMENT1_WEBGL = 0x8CE1;
|
|
10
|
+
const GLenum COLOR_ATTACHMENT2_WEBGL = 0x8CE2;
|
|
11
|
+
const GLenum COLOR_ATTACHMENT3_WEBGL = 0x8CE3;
|
|
12
|
+
const GLenum COLOR_ATTACHMENT4_WEBGL = 0x8CE4;
|
|
13
|
+
const GLenum COLOR_ATTACHMENT5_WEBGL = 0x8CE5;
|
|
14
|
+
const GLenum COLOR_ATTACHMENT6_WEBGL = 0x8CE6;
|
|
15
|
+
const GLenum COLOR_ATTACHMENT7_WEBGL = 0x8CE7;
|
|
16
|
+
const GLenum COLOR_ATTACHMENT8_WEBGL = 0x8CE8;
|
|
17
|
+
const GLenum COLOR_ATTACHMENT9_WEBGL = 0x8CE9;
|
|
18
|
+
const GLenum COLOR_ATTACHMENT10_WEBGL = 0x8CEA;
|
|
19
|
+
const GLenum COLOR_ATTACHMENT11_WEBGL = 0x8CEB;
|
|
20
|
+
const GLenum COLOR_ATTACHMENT12_WEBGL = 0x8CEC;
|
|
21
|
+
const GLenum COLOR_ATTACHMENT13_WEBGL = 0x8CED;
|
|
22
|
+
const GLenum COLOR_ATTACHMENT14_WEBGL = 0x8CEE;
|
|
23
|
+
const GLenum COLOR_ATTACHMENT15_WEBGL = 0x8CEF;
|
|
24
|
+
|
|
25
|
+
const GLenum DRAW_BUFFER0_WEBGL = 0x8825;
|
|
26
|
+
const GLenum DRAW_BUFFER1_WEBGL = 0x8826;
|
|
27
|
+
const GLenum DRAW_BUFFER2_WEBGL = 0x8827;
|
|
28
|
+
const GLenum DRAW_BUFFER3_WEBGL = 0x8828;
|
|
29
|
+
const GLenum DRAW_BUFFER4_WEBGL = 0x8829;
|
|
30
|
+
const GLenum DRAW_BUFFER5_WEBGL = 0x882A;
|
|
31
|
+
const GLenum DRAW_BUFFER6_WEBGL = 0x882B;
|
|
32
|
+
const GLenum DRAW_BUFFER7_WEBGL = 0x882C;
|
|
33
|
+
const GLenum DRAW_BUFFER8_WEBGL = 0x882D;
|
|
34
|
+
const GLenum DRAW_BUFFER9_WEBGL = 0x882E;
|
|
35
|
+
const GLenum DRAW_BUFFER10_WEBGL = 0x882F;
|
|
36
|
+
const GLenum DRAW_BUFFER11_WEBGL = 0x8830;
|
|
37
|
+
const GLenum DRAW_BUFFER12_WEBGL = 0x8831;
|
|
38
|
+
const GLenum DRAW_BUFFER13_WEBGL = 0x8832;
|
|
39
|
+
const GLenum DRAW_BUFFER14_WEBGL = 0x8833;
|
|
40
|
+
const GLenum DRAW_BUFFER15_WEBGL = 0x8834;
|
|
41
|
+
|
|
42
|
+
const GLenum MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF;
|
|
43
|
+
const GLenum MAX_DRAW_BUFFERS_WEBGL = 0x8824;
|
|
44
|
+
|
|
45
|
+
undefined drawBuffersWEBGL(sequence<GLenum> buffers);
|
|
46
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_draw_instanced_base_vertex_base_instance/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_draw_instanced_base_vertex_base_instance {
|
|
8
|
+
undefined drawArraysInstancedBaseInstanceWEBGL(
|
|
9
|
+
GLenum mode, GLint first, GLsizei count,
|
|
10
|
+
GLsizei instanceCount, GLuint baseInstance);
|
|
11
|
+
undefined drawElementsInstancedBaseVertexBaseInstanceWEBGL(
|
|
12
|
+
GLenum mode, GLsizei count, GLenum type, GLintptr offset,
|
|
13
|
+
GLsizei instanceCount, GLint baseVertex, GLuint baseInstance);
|
|
14
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_lose_context Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_lose_context/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_lose_context {
|
|
8
|
+
undefined loseContext();
|
|
9
|
+
undefined restoreContext();
|
|
10
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_multi_draw Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_multi_draw/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_multi_draw {
|
|
8
|
+
undefined multiDrawArraysWEBGL(
|
|
9
|
+
GLenum mode,
|
|
10
|
+
([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset,
|
|
11
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
12
|
+
GLsizei drawcount);
|
|
13
|
+
undefined multiDrawElementsWEBGL(
|
|
14
|
+
GLenum mode,
|
|
15
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
16
|
+
GLenum type,
|
|
17
|
+
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
|
|
18
|
+
GLsizei drawcount);
|
|
19
|
+
undefined multiDrawArraysInstancedWEBGL(
|
|
20
|
+
GLenum mode,
|
|
21
|
+
([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset,
|
|
22
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
23
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
24
|
+
GLsizei drawcount);
|
|
25
|
+
undefined multiDrawElementsInstancedWEBGL(
|
|
26
|
+
GLenum mode,
|
|
27
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
28
|
+
GLenum type,
|
|
29
|
+
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
|
|
30
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
31
|
+
GLsizei drawcount);
|
|
32
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_multi_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
|
|
8
|
+
undefined multiDrawArraysInstancedBaseInstanceWEBGL(
|
|
9
|
+
GLenum mode,
|
|
10
|
+
([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset,
|
|
11
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
12
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
13
|
+
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
|
|
14
|
+
GLsizei drawcount
|
|
15
|
+
);
|
|
16
|
+
undefined multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(
|
|
17
|
+
GLenum mode,
|
|
18
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
19
|
+
GLenum type,
|
|
20
|
+
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
|
|
21
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
22
|
+
([AllowShared] Int32Array or sequence<GLint>) baseVerticesList, GLuint baseVerticesOffset,
|
|
23
|
+
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
|
|
24
|
+
GLsizei drawcount
|
|
25
|
+
);
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebGL WEBGL_provoking_vertex Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_provoking_vertex/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
|
+
interface WEBGL_provoking_vertex {
|
|
8
|
+
const GLenum FIRST_VERTEX_CONVENTION_WEBGL = 0x8E4D;
|
|
9
|
+
const GLenum LAST_VERTEX_CONVENTION_WEBGL = 0x8E4E; // default
|
|
10
|
+
const GLenum PROVOKING_VERTEX_WEBGL = 0x8E4F;
|
|
11
|
+
|
|
12
|
+
undefined provokingVertexWEBGL(GLenum provokeMode);
|
|
13
|
+
};
|
package/WebCryptoAPI.idl
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Web Cryptography API (https://w3c.github.io/webcrypto/)
|
|
5
|
+
|
|
6
|
+
partial interface mixin WindowOrWorkerGlobalScope {
|
|
7
|
+
[SameObject] readonly attribute Crypto crypto;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=(Window,Worker)]
|
|
11
|
+
interface Crypto {
|
|
12
|
+
[SecureContext] readonly attribute SubtleCrypto subtle;
|
|
13
|
+
ArrayBufferView getRandomValues(ArrayBufferView array);
|
|
14
|
+
[SecureContext] DOMString randomUUID();
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
typedef (object or DOMString) AlgorithmIdentifier;
|
|
18
|
+
|
|
19
|
+
typedef AlgorithmIdentifier HashAlgorithmIdentifier;
|
|
20
|
+
|
|
21
|
+
dictionary Algorithm {
|
|
22
|
+
required DOMString name;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
dictionary KeyAlgorithm {
|
|
26
|
+
required DOMString name;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
enum KeyType { "public", "private", "secret" };
|
|
30
|
+
|
|
31
|
+
enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey" };
|
|
32
|
+
|
|
33
|
+
[SecureContext,Exposed=(Window,Worker),Serializable]
|
|
34
|
+
interface CryptoKey {
|
|
35
|
+
readonly attribute KeyType type;
|
|
36
|
+
readonly attribute boolean extractable;
|
|
37
|
+
readonly attribute object algorithm;
|
|
38
|
+
readonly attribute object usages;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
enum KeyFormat { "raw", "spki", "pkcs8", "jwk" };
|
|
42
|
+
|
|
43
|
+
[SecureContext,Exposed=(Window,Worker)]
|
|
44
|
+
interface SubtleCrypto {
|
|
45
|
+
Promise<any> encrypt(AlgorithmIdentifier algorithm,
|
|
46
|
+
CryptoKey key,
|
|
47
|
+
BufferSource data);
|
|
48
|
+
Promise<any> decrypt(AlgorithmIdentifier algorithm,
|
|
49
|
+
CryptoKey key,
|
|
50
|
+
BufferSource data);
|
|
51
|
+
Promise<any> sign(AlgorithmIdentifier algorithm,
|
|
52
|
+
CryptoKey key,
|
|
53
|
+
BufferSource data);
|
|
54
|
+
Promise<any> verify(AlgorithmIdentifier algorithm,
|
|
55
|
+
CryptoKey key,
|
|
56
|
+
BufferSource signature,
|
|
57
|
+
BufferSource data);
|
|
58
|
+
Promise<any> digest(AlgorithmIdentifier algorithm,
|
|
59
|
+
BufferSource data);
|
|
60
|
+
|
|
61
|
+
Promise<any> generateKey(AlgorithmIdentifier algorithm,
|
|
62
|
+
boolean extractable,
|
|
63
|
+
sequence<KeyUsage> keyUsages );
|
|
64
|
+
Promise<any> deriveKey(AlgorithmIdentifier algorithm,
|
|
65
|
+
CryptoKey baseKey,
|
|
66
|
+
AlgorithmIdentifier derivedKeyType,
|
|
67
|
+
boolean extractable,
|
|
68
|
+
sequence<KeyUsage> keyUsages );
|
|
69
|
+
Promise<ArrayBuffer> deriveBits(AlgorithmIdentifier algorithm,
|
|
70
|
+
CryptoKey baseKey,
|
|
71
|
+
unsigned long length);
|
|
72
|
+
|
|
73
|
+
Promise<CryptoKey> importKey(KeyFormat format,
|
|
74
|
+
(BufferSource or JsonWebKey) keyData,
|
|
75
|
+
AlgorithmIdentifier algorithm,
|
|
76
|
+
boolean extractable,
|
|
77
|
+
sequence<KeyUsage> keyUsages );
|
|
78
|
+
Promise<any> exportKey(KeyFormat format, CryptoKey key);
|
|
79
|
+
|
|
80
|
+
Promise<any> wrapKey(KeyFormat format,
|
|
81
|
+
CryptoKey key,
|
|
82
|
+
CryptoKey wrappingKey,
|
|
83
|
+
AlgorithmIdentifier wrapAlgorithm);
|
|
84
|
+
Promise<CryptoKey> unwrapKey(KeyFormat format,
|
|
85
|
+
BufferSource wrappedKey,
|
|
86
|
+
CryptoKey unwrappingKey,
|
|
87
|
+
AlgorithmIdentifier unwrapAlgorithm,
|
|
88
|
+
AlgorithmIdentifier unwrappedKeyAlgorithm,
|
|
89
|
+
boolean extractable,
|
|
90
|
+
sequence<KeyUsage> keyUsages );
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
dictionary RsaOtherPrimesInfo {
|
|
94
|
+
// The following fields are defined in Section 6.3.2.7 of JSON Web Algorithms
|
|
95
|
+
DOMString r;
|
|
96
|
+
DOMString d;
|
|
97
|
+
DOMString t;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
dictionary JsonWebKey {
|
|
101
|
+
// The following fields are defined in Section 3.1 of JSON Web Key
|
|
102
|
+
DOMString kty;
|
|
103
|
+
DOMString use;
|
|
104
|
+
sequence<DOMString> key_ops;
|
|
105
|
+
DOMString alg;
|
|
106
|
+
|
|
107
|
+
// The following fields are defined in JSON Web Key Parameters Registration
|
|
108
|
+
boolean ext;
|
|
109
|
+
|
|
110
|
+
// The following fields are defined in Section 6 of JSON Web Algorithms
|
|
111
|
+
DOMString crv;
|
|
112
|
+
DOMString x;
|
|
113
|
+
DOMString y;
|
|
114
|
+
DOMString d;
|
|
115
|
+
DOMString n;
|
|
116
|
+
DOMString e;
|
|
117
|
+
DOMString p;
|
|
118
|
+
DOMString q;
|
|
119
|
+
DOMString dp;
|
|
120
|
+
DOMString dq;
|
|
121
|
+
DOMString qi;
|
|
122
|
+
sequence<RsaOtherPrimesInfo> oth;
|
|
123
|
+
DOMString k;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
typedef Uint8Array BigInteger;
|
|
127
|
+
|
|
128
|
+
dictionary CryptoKeyPair {
|
|
129
|
+
CryptoKey publicKey;
|
|
130
|
+
CryptoKey privateKey;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
dictionary RsaKeyGenParams : Algorithm {
|
|
134
|
+
required [EnforceRange] unsigned long modulusLength;
|
|
135
|
+
required BigInteger publicExponent;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
dictionary RsaHashedKeyGenParams : RsaKeyGenParams {
|
|
139
|
+
required HashAlgorithmIdentifier hash;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
dictionary RsaKeyAlgorithm : KeyAlgorithm {
|
|
143
|
+
required unsigned long modulusLength;
|
|
144
|
+
required BigInteger publicExponent;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
dictionary RsaHashedKeyAlgorithm : RsaKeyAlgorithm {
|
|
148
|
+
required KeyAlgorithm hash;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
dictionary RsaHashedImportParams : Algorithm {
|
|
152
|
+
required HashAlgorithmIdentifier hash;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
dictionary RsaPssParams : Algorithm {
|
|
156
|
+
required [EnforceRange] unsigned long saltLength;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
dictionary RsaOaepParams : Algorithm {
|
|
160
|
+
BufferSource label;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
dictionary EcdsaParams : Algorithm {
|
|
164
|
+
required HashAlgorithmIdentifier hash;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
typedef DOMString NamedCurve;
|
|
168
|
+
|
|
169
|
+
dictionary EcKeyGenParams : Algorithm {
|
|
170
|
+
required NamedCurve namedCurve;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
dictionary EcKeyAlgorithm : KeyAlgorithm {
|
|
174
|
+
required NamedCurve namedCurve;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
dictionary EcKeyImportParams : Algorithm {
|
|
178
|
+
required NamedCurve namedCurve;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
dictionary EcdhKeyDeriveParams : Algorithm {
|
|
182
|
+
required CryptoKey public;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
dictionary AesCtrParams : Algorithm {
|
|
186
|
+
required BufferSource counter;
|
|
187
|
+
required [EnforceRange] octet length;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
dictionary AesKeyAlgorithm : KeyAlgorithm {
|
|
191
|
+
required unsigned short length;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
dictionary AesKeyGenParams : Algorithm {
|
|
195
|
+
required [EnforceRange] unsigned short length;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
dictionary AesDerivedKeyParams : Algorithm {
|
|
199
|
+
required [EnforceRange] unsigned short length;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
dictionary AesCbcParams : Algorithm {
|
|
203
|
+
required BufferSource iv;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
dictionary AesGcmParams : Algorithm {
|
|
207
|
+
required BufferSource iv;
|
|
208
|
+
BufferSource additionalData;
|
|
209
|
+
[EnforceRange] octet tagLength;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
dictionary HmacImportParams : Algorithm {
|
|
213
|
+
required HashAlgorithmIdentifier hash;
|
|
214
|
+
[EnforceRange] unsigned long length;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
dictionary HmacKeyAlgorithm : KeyAlgorithm {
|
|
218
|
+
required KeyAlgorithm hash;
|
|
219
|
+
required unsigned long length;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
dictionary HmacKeyGenParams : Algorithm {
|
|
223
|
+
required HashAlgorithmIdentifier hash;
|
|
224
|
+
[EnforceRange] unsigned long length;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
dictionary HkdfParams : Algorithm {
|
|
228
|
+
required HashAlgorithmIdentifier hash;
|
|
229
|
+
required BufferSource salt;
|
|
230
|
+
required BufferSource info;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
dictionary Pbkdf2Params : Algorithm {
|
|
234
|
+
required BufferSource salt;
|
|
235
|
+
required [EnforceRange] unsigned long iterations;
|
|
236
|
+
required HashAlgorithmIdentifier hash;
|
|
237
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Accelerometer (https://w3c.github.io/accelerometer/)
|
|
5
|
+
|
|
6
|
+
[SecureContext, Exposed=Window]
|
|
7
|
+
interface Accelerometer : Sensor {
|
|
8
|
+
constructor(optional AccelerometerSensorOptions options = {});
|
|
9
|
+
readonly attribute double? x;
|
|
10
|
+
readonly attribute double? y;
|
|
11
|
+
readonly attribute double? z;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
enum AccelerometerLocalCoordinateSystem { "device", "screen" };
|
|
15
|
+
|
|
16
|
+
dictionary AccelerometerSensorOptions : SensorOptions {
|
|
17
|
+
AccelerometerLocalCoordinateSystem referenceFrame = "device";
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
[SecureContext, Exposed=Window]
|
|
21
|
+
interface LinearAccelerationSensor : Accelerometer {
|
|
22
|
+
constructor(optional AccelerometerSensorOptions options = {});
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
[SecureContext, Exposed=Window]
|
|
26
|
+
interface GravitySensor : Accelerometer {
|
|
27
|
+
constructor(optional AccelerometerSensorOptions options = {});
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
dictionary AccelerometerReadingValues {
|
|
31
|
+
required double? x;
|
|
32
|
+
required double? y;
|
|
33
|
+
required double? z;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
dictionary LinearAccelerationReadingValues : AccelerometerReadingValues {
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
dictionary GravityReadingValues : AccelerometerReadingValues {
|
|
40
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Ambient Light Sensor (https://w3c.github.io/ambient-light/)
|
|
5
|
+
|
|
6
|
+
[SecureContext, Exposed=Window]
|
|
7
|
+
interface AmbientLightSensor : Sensor {
|
|
8
|
+
constructor(optional SensorOptions sensorOptions = {});
|
|
9
|
+
readonly attribute double? illuminance;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary AmbientLightReadingValues {
|
|
13
|
+
required double? illuminance;
|
|
14
|
+
};
|
package/anchors.idl
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebXR Anchors Module (https://immersive-web.github.io/anchors/)
|
|
5
|
+
|
|
6
|
+
[SecureContext, Exposed=Window]
|
|
7
|
+
interface XRAnchor {
|
|
8
|
+
readonly attribute XRSpace anchorSpace;
|
|
9
|
+
|
|
10
|
+
Promise<DOMString> requestPersistentHandle();
|
|
11
|
+
|
|
12
|
+
undefined delete();
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
partial interface XRFrame {
|
|
16
|
+
Promise<XRAnchor> createAnchor(XRRigidTransform pose, XRSpace space);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
partial interface XRSession {
|
|
20
|
+
readonly attribute FrozenArray<DOMString> persistentAnchors;
|
|
21
|
+
|
|
22
|
+
Promise<XRAnchor> restorePersistentAnchor(DOMString uuid);
|
|
23
|
+
Promise<undefined> deletePersistentAnchor(DOMString uuid);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
partial interface XRHitTestResult {
|
|
27
|
+
Promise<XRAnchor> createAnchor();
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
[Exposed=Window]
|
|
31
|
+
interface XRAnchorSet {
|
|
32
|
+
readonly setlike<XRAnchor>;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
partial interface XRFrame {
|
|
36
|
+
[SameObject] readonly attribute XRAnchorSet trackedAnchors;
|
|
37
|
+
};
|