[Webkit-unassigned] [Bug 217606] Web Audio broken on iOS 14 after switching app
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 26 09:57:53 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217606
--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
I see an exception showing in the console on homing out:
Unhandled Promise Rejection: undefined
_SetSuspended(e)
{
const isSuspended = e["isSuspended"];
console.log("[Construct 3] Setting audio suspended: ", isSuspended);
// Upon resume: first resume the whole context
if (!isSuspended && this._audioContext["resume"])
this._audioContext["resume"]();
// Suspend or resume all audio instances
for (const ai of this._audioInstances)
ai.SetSuspended(isSuspended);
// After suspend: also suspend the whole context
if (isSuspended && this._audioContext["suspend"])
this._audioContext["suspend"](); // On this line.
}
Looks like the script is not dealing with this promise rejection.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201026/1a50e4da/attachment-0001.htm>
More information about the webkit-unassigned
mailing list