Sitelet https://github.com/gpuweb/gpuweb/pull/260/files
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
8 changes: 7 additions & 1 deletion design/sketch.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,14 @@ enum GPUErrorFilter {
"validation"
};

[
Constructor()
]
interface GPUOutOfMemoryError {};

[
Constructor(DOMString message)
]
interface GPUValidationError {
readonly attribute DOMString message;
};
Expand All @@ -829,7 +835,7 @@ interface GPUUncapturedErrorEvent : Event {
};

dictionary GPUUncapturedErrorEventInit : EventInit {
required DOMString message;
required GPUError error;
};

// TODO: is it possible to expose the EventTarget only on the main thread?
Expand Down