Closed
Bug 1615851
Opened 5 years ago
Closed 5 years ago
Crash in ImageBitmap::ToCloneData when running webgl/sdk/tests/conformance2/textures/image_bitmap_from_video/tex-2d-r32f-red-float.html?webglVersion=2&quiet=0&quick=1
Categories
(Core :: Graphics: CanvasWebGL, defect, P1)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla75
People
(Reporter: jgilbert, Assigned: jgilbert)
References
()
Details
Crash Data
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•5 years ago
|
Crash Signature: mozilla::dom::ImageBitmap::ToCloneData → [@ mozilla::dom::ImageBitmap::ToCloneData ]
Assignee | ||
Comment 1•5 years ago
|
||
This fixes a crash, where we expected it to be infallible.
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb59957df144
layer::Image::GetAsSourceSurface is fallible. r=lsalzman
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Comment 4•5 years ago
|
||
Jeff, is GetAsSourceSurface() always fallible? Here are some other calls to GetAsSourceSurface() that do not verify the returned surface (in release builds). Should they all be changed to verify surface like you did in ImageBitmap::ToCloneData()?
Also, should this fix be uplifted to 74 Beta?
status-firefox74:
--- → ?
Flags: needinfo?(jgilbert)
Assignee | ||
Comment 5•5 years ago
|
||
It's hard to tell but we should at least be asserting at all these points.
I'm not worried about uplifting the fix here to Beta, given that the only crashes are pretty much just me. :)
I'll shave this yak on Tuesday. Thanks for checking up on this!
Flags: needinfo?(jgilbert)
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•