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)

task

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.

Severity: normal → S3
No longer blocks: webgpu-triage

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.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
See Also: → 1881518
You need to log in before you can comment on or make changes to this bug.