Add support for AudioWorkletNode.onprocessorerror
Categories
(Core :: Web Audio, enhancement, P2)
Tracking
()
People
(Reporter: karlt, Assigned: padenot)
References
(Regressed 1 open bug)
Details
Attachments
(7 files, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1558124 - Don't suppress the exception when the ctor of an AudioWorkletProcessor throws. r?karlt
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
https://webaudio.github.io/web-audio-api/#dom-audioworkletnode-onprocessorerror
When an exception is thrown from the processor’s constructor, process method, or any user-defined class method, the processor will queue a task on the control thread to fire onprocessorerror event to the node.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Having nested AutoJSAPI clobbers the exception value of the innermost one on
destruction.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Those are needed, respectively to be able to ensure the stream doesn't go away
when messaging back to the control thread, and then to access the details of the
exception thrown.
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
I don't really understand why yet, but in WPT, the file, line and column are not reported correctly.
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment on attachment 9134138 [details]
Bug 1558124 - Update test_audioWorkletGlobalScopeRegisterProcessor.html with new error messages and error type. r?karlt
Revision D67326 was moved to bug 1565464. Setting attachment 9134138 [details] to obsolete.
Comment 11•5 years ago
|
||
Reporter | ||
Comment 14•5 years ago
|
||
(In reply to Paul Adenot (:padenot) from comment #8)
I don't really understand why yet, but in WPT, the file, line and column are not reported correctly.
Bug 1623226 is the same issue.
Comment 15•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/82a790408f9b
https://hg.mozilla.org/mozilla-central/rev/23e341cbee7f
https://hg.mozilla.org/mozilla-central/rev/cfe8f7aab169
https://hg.mozilla.org/mozilla-central/rev/1f8bd600d0dc
https://hg.mozilla.org/mozilla-central/rev/3632d18388cb
https://hg.mozilla.org/mozilla-central/rev/907dd6c366e7
https://hg.mozilla.org/mozilla-central/rev/c5b0bcb5bc5b
Updated•5 years ago
|
Description
•