Check if AudioWorklet exists before register AudioContext
In some cases where the worklet cannot function, registering AudioContext is not possible. (e.g. detached iframe from the document) So BaseAudioContext needs to check the existence of worklet before registering itself. The fix is locally confirmed; ASAN does not crash anymore with it. Bug: 750502 Change-Id: Id35358b0811c7f4c3476ab62e49611a8d28bad60 Reviewed-on: https://chromium-review.googlesource.com/594852 Commit-Queue: Hongchan Choi <hongchan@chromium.org> Reviewed-by:Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#491070}
Showing
Please register or sign in to comment