Closed
Bug 1876818
Opened 2 years ago
Closed 2 years ago
Footgun: deserialization arg type mismatch due to ClientWebGLContext caller vs HostWebGLContext callee
Categories
(Core :: Graphics: CanvasWebGL, task, P1)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
124 Branch
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: jgilbert, Assigned: jgilbert)
Details
Attachments
(1 file)
I ran into this when I tried adding a std::variant<size_t,...> arg in HostWebGLContext, but invoked ClientWebGLContext::Run with size_t, and the std::variant serialization code didn't even get compiled, because it would directly serialize a size_t, but deser would try to read it as a variant! Oops!
| Assignee | ||
Comment 1•2 years ago
|
||
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b7eadc28250
ClientWebGLContext::Run serialization now coerces to HostWebGLContext arg types. r=gfx-reviewers,lsalzman
Comment 3•2 years ago
|
||
Backed out for causing hazard-linux bustage in ClientWebGLContext.h.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | hazards | unrooted '__temp_1' of type 'std::optional<JS::AutoCheckCannotGC>' live across GC call at dom/canvas/ClientWebGLContext.h:2320
Flags: needinfo?(jgilbert)
| Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(jgilbert)
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5738e7d139a9
ClientWebGLContext::Run serialization now coerces to HostWebGLContext arg types. r=gfx-reviewers,lsalzman
Comment 5•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•