Closed Bug 1779274 Opened 2 years ago Closed 2 years ago

Ensure the buffer map callback passed to wgpu does not outlive the IPDL actor.

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: nical, Unassigned)

References

Details

Referring to https://searchfox.org/mozilla-central/rev/9ad01b5eae48436e3bdb8df01be3973e683d5242/dom/webgpu/ipc/WebGPUParent.cpp#357 which has a raw pointer to the gpu globals.

Right now I think that it is implcitly enforced by the guarantee that the actor outlives the wgpu instance itself, but it would be better to have code that guarantees the lifetime in case subtle things change.

Will be fixed by bug 1777535.

Depends on: 1777535

The severity field is not set for this bug.
:jimb, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jimb)
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jimb)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.