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:
Corentin Wallez 2022-04-05 16:27:43 +00:00 committed by Dawn LUCI CQ
parent 4d68bcbd9d
commit 91c25df838
1 changed files with 5 additions and 0 deletions

View File

@ -494,11 +494,13 @@ namespace wgpu::binding {
};
interop::Interface<interop::EventHandler> GPUDevice::getOnuncapturederror(Napi::Env) {
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
UNIMPLEMENTED();
}
void GPUDevice::setOnuncapturederror(Napi::Env,
interop::Interface<interop::EventHandler> value) {
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
UNIMPLEMENTED();
}
@ -507,6 +509,7 @@ namespace wgpu::binding {
std::string type,
std::optional<interop::Interface<interop::EventListener>> callback,
std::optional<std::variant<interop::AddEventListenerOptions, bool>> options) {
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
UNIMPLEMENTED();
}
@ -515,10 +518,12 @@ namespace wgpu::binding {
std::string type,
std::optional<interop::Interface<interop::EventListener>> callback,
std::optional<std::variant<interop::EventListenerOptions, bool>> options) {
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
UNIMPLEMENTED();
}
bool GPUDevice::dispatchEvent(Napi::Env, interop::Interface<interop::Event> event) {
// TODO(dawn:1348): Implement support for the "unhandlederror" event.
UNIMPLEMENTED();
}