commit | e55884bdd1efe08fc3e72d81f369ad8c822dfdca | [log] [tgz] |
---|---|---|
author | Hongchan Choi <hongchan@chromium.org> | Thu Apr 03 20:40:37 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 03 20:40:37 2025 |
tree | dc93000db09a739c9eab0a75a3410a263117eeee | |
parent | e8098467879c3bb3993aa64fd30646e9ef872bdb [diff] |
Return early on closed context during state change Addresses a DCHECK failure in BaseAudioContext's state change logic. The issue occurred when attempting a state change on a closed context. This CL resolves the failure by adding an early return in such scenarios. The fix was identified during the implementation of the AudioContext constructor device selection specification change. This CL also includes updated WPTs that reflect this specification change, now expecting an onerror event for invalid device information instead of a thrown exception. Bug: 40265784,408018835 Change-Id: I8d28d0bbd20ef6487a261150159f27255b4033d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6420482 Commit-Queue: Hongchan Choi <hongchan@chromium.org> Reviewed-by: Michael Wilson <mjwilson@chromium.org> Cr-Commit-Position: refs/heads/main@{#1442394}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.