这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ It is the top-level object through which [=WebGPU interfaces=] are created.
<script type=idl>
[Exposed=(Window, Worker), Serializable]
interface GPUDevice : EventTarget {
readonly attribute GPUAdapter adapter;
[SameObject] readonly attribute GPUAdapter adapter;
readonly attribute object extensions;
readonly attribute object limits;

Expand Down Expand Up @@ -1920,7 +1920,7 @@ interface GPUDeviceLostInfo {
};

partial interface GPUDevice {
readonly attribute Promise<GPUDeviceLostInfo> lost;
[SameObject] readonly attribute Promise<GPUDeviceLostInfo> lost;
};
</script>

Expand Down Expand Up @@ -1969,7 +1969,7 @@ interface GPUUncapturedErrorEvent : Event {
DOMString type,
GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict
);
readonly attribute GPUError error;
[SameObject] readonly attribute GPUError error;
};

dictionary GPUUncapturedErrorEventInit : EventInit {
Expand Down