Open
Bug 1612339
Opened 5 years ago
Updated 2 years ago
Improve error handling and reporting in FontFace
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
There are a few issues:
FontFace::EnsurePromise
can fail to createmLoaded
but then still dereference it. It should instead take anErrorResult
arg that it passes through toPromise::Create
and immediately bail out if it fails.- Errors are propagated through as nsresult values. It might be better to propagate them through as
ErrorResult
s so that we can provide a useful message describing the error at the point when we detect that we have an error. We might need something else if we might need to reject multiple promises with the same error?
Updated•5 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•