Bug 302234

Summary: Web Inspector: Uncaught Exception: TypeError: snapshot.element.toDataURL is not a function. (In 'snapshot.element.toDataURL()', 'snapshot.element.toDataURL' is undefined)
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://mdn.github.io/dom-examples/web-workers/offscreen-canvas-worker/

Devin Rousso
Reported 2025-11-09 19:33:19 PST
Uncaught Exception in Web Inspector. Steps to Reproduce: 1. inspect <https://mdn.github.io/dom-examples/web-workers/offscreen-canvas-worker/> 2. try to do a single-frame recording of the offscreen canvas Uncaught Exceptions: ----------------------- - TypeError: snapshot.element.toDataURL is not a function. (In 'snapshot.element.toDataURL()', 'snapshot.element.toDataURL' is undefined) (at RecordingContentView.js:410:62) _generateContentCanvas2D @ RecordingContentView.js:410:62 imageLoad @ RecordingContentView.js:249:42 ----------------------- Notes: Inspected URL: https://mdn.github.io/dom-examples/web-workers/offscreen-canvas-worker/ Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Attachments
Devin Rousso
Comment 1 2025-11-09 19:38:46 PST
Radar WebKit Bug Importer
Comment 2 2025-11-16 19:34:09 PST
EWS
Comment 3 2025-11-18 21:50:41 PST
Committed 303229@main (9b02b96117db): <https://commits.webkit.org/303229@main> Reviewed commits have been landed. Closing PR #53656 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.