Bug 1838693 Part 2: Rationalize GPUDevice lost promise handling. r=webgpu-reviewers...
commit20f995376c2a41be454bce75354376390beb95f1
authorBrad Werth <bwerth@mozilla.com>
Mon, 16 Oct 2023 15:32:00 +0000 (16 15:32 +0000)
committerBrad Werth <bwerth@mozilla.com>
Mon, 16 Oct 2023 15:32:00 +0000 (16 15:32 +0000)
tree311a433aed48e69ca1e9364442c817311f98ad61
parent52d53561f002541a1c0ed132ab8ae7b92d9c1c71
Bug 1838693 Part 2: Rationalize GPUDevice lost promise handling. r=webgpu-reviewers,nical

This ensures that both internal and external triggers of "lose the
device" resolve the lost promise using the same code path.

Differential Revision: https://phabricator.services.mozilla.com/D190129
dom/webgpu/Buffer.cpp
dom/webgpu/Device.cpp
dom/webgpu/Device.h
dom/webgpu/ipc/WebGPUChild.cpp