Closed
Bug 1610902
Opened 5 years ago
Closed 3 months ago
Document the code expectations on the values of mValid versus mParent in WebGPU DOM classes
Categories
(Core :: Graphics: WebGPU, task, P3)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
People
(Reporter: kvark, Unassigned)
References
Details
As discussed in https://phabricator.services.mozilla.com/D59896, we want to have both the field commented w.r.t invariants, and a strict assertion in the Cleanup()
code.
Updated•2 years ago
|
Severity: normal → S3
Updated•3 months ago
|
Blocks: webgpu-triage
Updated•3 months ago
|
No longer blocks: webgpu-triage
Comment 1•3 months ago
|
||
The landing of several recent bugs, primarily Bug 1881518, but also Bug 1859825 and Bug 1709951 has standardized our resource Cleanup()
methods to consistently check and set mValid
. The code is so consistent now that we can consider it invariant and self-documenting.
You need to log in
before you can comment on or make changes to this bug.
Description
•