Closed Bug 1886714 Opened 1 year ago Closed 11 months ago

Setting font on a canvas context in a display:none iframe fails

Categories

(Web Compatibility :: Knowledge Base, defect)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1779227

People

(Reporter: jgraham, Unassigned)

References

Details

Something like:

<iframe style="display:none" srcdoc="<script>document.createElement('canvas').getContext('2d').font = '14px sans-serif';</script>"></iframe>

Produces NS_ERROR_FAILURE in the console logs.

Status: NEW → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1779227
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.