dawn.node: Add TODOs for implementing unhandlederror.
Bug: dawn:1348 Change-Id: I3b3d10a1ff1828f602087f8b17610749c60b6e49 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85801 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
4d68bcbd9d
commit
91c25df838
|
@ -494,11 +494,13 @@ namespace wgpu::binding {
|
||||||
};
|
};
|
||||||
|
|
||||||
interop::Interface<interop::EventHandler> GPUDevice::getOnuncapturederror(Napi::Env) {
|
interop::Interface<interop::EventHandler> GPUDevice::getOnuncapturederror(Napi::Env) {
|
||||||
|
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPUDevice::setOnuncapturederror(Napi::Env,
|
void GPUDevice::setOnuncapturederror(Napi::Env,
|
||||||
interop::Interface<interop::EventHandler> value) {
|
interop::Interface<interop::EventHandler> value) {
|
||||||
|
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -507,6 +509,7 @@ namespace wgpu::binding {
|
||||||
std::string type,
|
std::string type,
|
||||||
std::optional<interop::Interface<interop::EventListener>> callback,
|
std::optional<interop::Interface<interop::EventListener>> callback,
|
||||||
std::optional<std::variant<interop::AddEventListenerOptions, bool>> options) {
|
std::optional<std::variant<interop::AddEventListenerOptions, bool>> options) {
|
||||||
|
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -515,10 +518,12 @@ namespace wgpu::binding {
|
||||||
std::string type,
|
std::string type,
|
||||||
std::optional<interop::Interface<interop::EventListener>> callback,
|
std::optional<interop::Interface<interop::EventListener>> callback,
|
||||||
std::optional<std::variant<interop::EventListenerOptions, bool>> options) {
|
std::optional<std::variant<interop::EventListenerOptions, bool>> options) {
|
||||||
|
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GPUDevice::dispatchEvent(Napi::Env, interop::Interface<interop::Event> event) {
|
bool GPUDevice::dispatchEvent(Napi::Env, interop::Interface<interop::Event> event) {
|
||||||
|
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue