зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1746245, bug 1824447) for xpcshell failure on test_FeatureGate.js . CLOSED TREE
Backed out changeset 5cc2daf4f55a (bug 1746245) Backed out changeset 754743cbc36b (bug 1824447)
This commit is contained in:
Родитель
4b46881101
Коммит
f89e9747a5
|
@ -475,76 +475,6 @@ let interfaceNamesInGlobalScope = [
|
|||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GeolocationPositionError", insecureContext: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPU", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUAdapter", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUBindGroup", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUBindGroupLayout", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUBuffer", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUBufferUsage", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUCanvasContext", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUColorWrite", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUCommandBuffer", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUCommandEncoder", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUCompilationInfo", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUCompilationMessage", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUComputePassEncoder", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUComputePipeline", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUDevice", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUDeviceLostInfo", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUMapMode", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUOutOfMemoryError", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUPipelineLayout", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUQuerySet", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUQueue", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPURenderBundle", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPURenderBundleEncoder", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPURenderPassEncoder", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPURenderPipeline", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUSampler", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUShaderModule", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUShaderStage", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUSupportedFeatures", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUSupportedLimits", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUTexture", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUTextureUsage", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUTextureView", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUUncapturedErrorEvent", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "GPUValidationError", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "HashChangeEvent", insecureContext: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "Headers", insecureContext: true },
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
[DEFAULT]
|
||||
subsuite = webgpu
|
||||
run-if = release_or_beta
|
||||
|
||||
# Even if the pref were enabled, WebGPU is only available in secure contexts.
|
||||
#
|
||||
# See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu
|
||||
scheme = https
|
||||
|
||||
[test_disabled.html]
|
||||
|
|
|
@ -9,11 +9,6 @@ support-files =
|
|||
test_basic_canvas.worker.js
|
||||
test_submit_render_empty.worker.js
|
||||
|
||||
# WebGPU is only available in secure contexts.
|
||||
#
|
||||
# See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu
|
||||
scheme = https
|
||||
|
||||
[test_basic_canvas.worker.html]
|
||||
skip-if = true # Bug 1818379 - no webgpu in worker scopes, see bug 1808820
|
||||
fail-if = (os == 'linux' && os_version == '18.04') || (os == 'win' && os_version == '6.1') || (os == 'mac')
|
||||
|
@ -26,9 +21,6 @@ fail-if = (os == 'linux' && os_version == '18.04') || (os == 'win' && os_version
|
|||
[test_enabled.html]
|
||||
[test_error_scope.html]
|
||||
fail-if = (os == 'linux' && os_version == '18.04') || (os == 'win' && os_version == '6.1') || (os == 'mac')
|
||||
[test_insecure_context.html]
|
||||
# This test checks that WebGPU is not available in insecure contexts.
|
||||
scheme = http
|
||||
[test_queue_copyExternalImageToTexture.html]
|
||||
fail-if = (os == 'linux' && os_version == '18.04') || (os == 'win' && os_version == '6.1') || (os == 'mac')
|
||||
[test_queue_write.html]
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<!-- This is somewhat redundant with
|
||||
dom/tests/mochitest/general/test_interfaces.js, but I think it's good to
|
||||
have something here as well. -->
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
|
||||
ok(SpecialPowers.getBoolPref('dom.webgpu.enabled'), 'Pref should be enabled.');
|
||||
ok(!isSecureContext, 'test should not run in a secure context');
|
||||
ok(navigator.gpu === undefined, 'navigator.gpu === undefined');
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -12,7 +12,7 @@ dictionary GPUUncapturedErrorEventInit : EventInit {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker*/), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker*/)]
|
||||
interface GPUUncapturedErrorEvent: Event {
|
||||
constructor(DOMString type, GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict);
|
||||
readonly attribute GPUError error;
|
||||
|
|
|
@ -16,7 +16,7 @@ dictionary GPUObjectDescriptorBase {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUSupportedLimits {
|
||||
readonly attribute unsigned long maxTextureDimension1D;
|
||||
readonly attribute unsigned long maxTextureDimension2D;
|
||||
|
@ -47,7 +47,7 @@ interface GPUSupportedLimits {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUSupportedFeatures {
|
||||
readonly setlike<DOMString>;
|
||||
};
|
||||
|
@ -58,7 +58,7 @@ interface GPUSupportedFeatures {
|
|||
|
||||
[
|
||||
Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext
|
||||
Exposed=(Window /* ,DedicatedWorker */)
|
||||
]
|
||||
interface GPU {
|
||||
// May reject with DOMException
|
||||
|
@ -68,7 +68,7 @@ interface GPU {
|
|||
|
||||
// Add a "webgpu" member to Navigator/Worker that contains the global instance of a "WebGPU"
|
||||
interface mixin GPUProvider {
|
||||
[SameObject, Replaceable, Pref="dom.webgpu.enabled", Exposed=(Window /* ,DedicatedWorker */), SecureContext] readonly attribute GPU gpu;
|
||||
[SameObject, Replaceable, Pref="dom.webgpu.enabled", Exposed=(Window /* ,DedicatedWorker */)] readonly attribute GPU gpu;
|
||||
};
|
||||
|
||||
dictionary GPURequestAdapterOptions {
|
||||
|
@ -82,7 +82,7 @@ enum GPUPowerPreference {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUAdapter {
|
||||
readonly attribute DOMString name;
|
||||
[SameObject] readonly attribute GPUSupportedFeatures features;
|
||||
|
@ -112,7 +112,7 @@ enum GPUFeatureName {
|
|||
|
||||
// Device
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUDevice: EventTarget {
|
||||
[SameObject] readonly attribute GPUSupportedFeatures features;
|
||||
[SameObject] readonly attribute GPUSupportedLimits limits;
|
||||
|
@ -153,7 +153,7 @@ GPUDevice includes GPUObjectBase;
|
|||
|
||||
// Buffer
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUBuffer {
|
||||
[NewObject]
|
||||
Promise<undefined> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
||||
|
@ -174,7 +174,7 @@ dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
|
|||
|
||||
typedef [EnforceRange] unsigned long GPUBufferUsageFlags;
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUBufferUsage {
|
||||
const GPUBufferUsageFlags MAP_READ = 0x0001;
|
||||
const GPUBufferUsageFlags MAP_WRITE = 0x0002;
|
||||
|
@ -191,7 +191,7 @@ interface GPUBufferUsage {
|
|||
typedef [EnforceRange] unsigned long GPUMapModeFlags;
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUMapMode
|
||||
{
|
||||
const GPUMapModeFlags READ = 0x0001;
|
||||
|
@ -203,7 +203,7 @@ typedef sequence<any> GPUMappedBuffer;
|
|||
// Texture
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUTexture {
|
||||
[NewObject]
|
||||
GPUTextureView createView(optional GPUTextureViewDescriptor descriptor = {});
|
||||
|
@ -229,7 +229,7 @@ enum GPUTextureDimension {
|
|||
|
||||
typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUTextureUsage {
|
||||
const GPUTextureUsageFlags COPY_SRC = 0x01;
|
||||
const GPUTextureUsageFlags COPY_DST = 0x02;
|
||||
|
@ -247,7 +247,7 @@ enum GPUTextureComponentType {
|
|||
|
||||
// Texture view
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUTextureView {
|
||||
};
|
||||
GPUTextureView includes GPUObjectBase;
|
||||
|
@ -356,7 +356,7 @@ enum GPUTextureFormat {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUSampler {
|
||||
};
|
||||
GPUSampler includes GPUObjectBase;
|
||||
|
@ -398,7 +398,7 @@ enum GPUCompareFunction {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUBindGroupLayout {
|
||||
};
|
||||
GPUBindGroupLayout includes GPUObjectBase;
|
||||
|
@ -418,7 +418,7 @@ dictionary GPUBindGroupLayoutEntry {
|
|||
|
||||
typedef [EnforceRange] unsigned long GPUShaderStageFlags;
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUShaderStage {
|
||||
const GPUShaderStageFlags VERTEX = 1;
|
||||
const GPUShaderStageFlags FRAGMENT = 2;
|
||||
|
@ -472,7 +472,7 @@ dictionary GPUStorageTextureBindingLayout {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUBindGroup {
|
||||
};
|
||||
GPUBindGroup includes GPUObjectBase;
|
||||
|
@ -497,7 +497,7 @@ dictionary GPUBufferBinding {
|
|||
|
||||
// PipelineLayout
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUPipelineLayout {
|
||||
};
|
||||
GPUPipelineLayout includes GPUObjectBase;
|
||||
|
@ -508,7 +508,7 @@ dictionary GPUPipelineLayoutDescriptor : GPUObjectDescriptorBase {
|
|||
|
||||
// ShaderModule
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUShaderModule {
|
||||
[Throws]
|
||||
Promise<GPUCompilationInfo> compilationInfo();
|
||||
|
@ -528,7 +528,7 @@ enum GPUCompilationMessageType {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUCompilationMessage {
|
||||
readonly attribute DOMString message;
|
||||
readonly attribute GPUCompilationMessageType type;
|
||||
|
@ -539,7 +539,7 @@ interface GPUCompilationMessage {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUCompilationInfo {
|
||||
[Cached, Frozen, Pure]
|
||||
readonly attribute sequence<GPUCompilationMessage> messages;
|
||||
|
@ -562,7 +562,7 @@ dictionary GPUProgrammableStage {
|
|||
//TODO: Serializable
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1696219
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUComputePipeline {
|
||||
};
|
||||
GPUComputePipeline includes GPUObjectBase;
|
||||
|
@ -576,7 +576,7 @@ dictionary GPUComputePipelineDescriptor : GPUPipelineDescriptorBase {
|
|||
//TODO: Serializable
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1696219
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPURenderPipeline {
|
||||
};
|
||||
GPURenderPipeline includes GPUObjectBase;
|
||||
|
@ -641,7 +641,7 @@ dictionary GPUBlendState {
|
|||
|
||||
typedef [EnforceRange] unsigned long GPUColorWriteFlags;
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUColorWrite {
|
||||
const GPUColorWriteFlags RED = 0x1;
|
||||
const GPUColorWriteFlags GREEN = 0x2;
|
||||
|
@ -808,7 +808,7 @@ dictionary GPUImageBitmapCopyView {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUCommandBuffer {
|
||||
};
|
||||
GPUCommandBuffer includes GPUObjectBase;
|
||||
|
@ -818,7 +818,7 @@ dictionary GPUCommandBufferDescriptor : GPUObjectDescriptorBase {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUCommandEncoder {
|
||||
[NewObject]
|
||||
GPUComputePassEncoder beginComputePass(optional GPUComputePassDescriptor descriptor = {});
|
||||
|
@ -876,7 +876,7 @@ interface mixin GPUProgrammablePassEncoder {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUComputePassEncoder {
|
||||
undefined setPipeline(GPUComputePipeline pipeline);
|
||||
undefined dispatchWorkgroups(GPUSize32 x, optional GPUSize32 y = 1, optional GPUSize32 z = 1);
|
||||
|
@ -915,7 +915,7 @@ interface mixin GPURenderEncoderBase {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPURenderPassEncoder {
|
||||
undefined setViewport(float x, float y,
|
||||
float width, float height,
|
||||
|
@ -984,7 +984,7 @@ dictionary GPURenderPassLayout: GPUObjectDescriptorBase {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPURenderBundle {
|
||||
};
|
||||
GPURenderBundle includes GPUObjectBase;
|
||||
|
@ -993,7 +993,7 @@ dictionary GPURenderBundleDescriptor : GPUObjectDescriptorBase {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPURenderBundleEncoder {
|
||||
GPURenderBundle finish(optional GPURenderBundleDescriptor descriptor = {});
|
||||
};
|
||||
|
@ -1011,7 +1011,7 @@ dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
|
|||
// https://github.com/heycam/webidl/issues/961
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUQueue {
|
||||
undefined submit(sequence<GPUCommandBuffer> buffers);
|
||||
|
||||
|
@ -1042,7 +1042,7 @@ interface GPUQueue {
|
|||
GPUQueue includes GPUObjectBase;
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUQuerySet {
|
||||
undefined destroy();
|
||||
};
|
||||
|
@ -1069,7 +1069,7 @@ enum GPUQueryType {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUCanvasContext {
|
||||
// Calling configure() a second time invalidates the previous one,
|
||||
// and all of the textures it's produced.
|
||||
|
@ -1099,7 +1099,7 @@ enum GPUDeviceLostReason {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUDeviceLostInfo {
|
||||
readonly attribute any reason; // GPUDeviceLostReason or undefined
|
||||
readonly attribute DOMString message;
|
||||
|
@ -1116,13 +1116,13 @@ partial interface GPUDevice {
|
|||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUOutOfMemoryError {
|
||||
//constructor();
|
||||
};
|
||||
|
||||
[Pref="dom.webgpu.enabled",
|
||||
Exposed=(Window /* ,DedicatedWorker */), SecureContext]
|
||||
Exposed=(Window /* ,DedicatedWorker */)]
|
||||
interface GPUValidationError {
|
||||
[Throws]
|
||||
constructor(DOMString message);
|
||||
|
|
|
@ -4612,7 +4612,7 @@
|
|||
# Is support for the Web GPU API enabled?
|
||||
- name: dom.webgpu.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: @IS_NIGHTLY_BUILD@
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
# Are WebGPU indirect draws/dispatches enabled?
|
||||
|
|
Загрузка…
Ссылка в новой задаче