commit | 39361186e3303681a9e9f4493e71b610dde95e77 | [log] [tgz] |
---|---|---|
author | Justin Novosad <junov@chromium.org> | Fri Jul 08 19:54:12 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 08 19:54:12 2022 |
tree | 29de55b13829cd3f04f69f5f18e05872816ad111 | |
parent | 152f4daeb1bcee8453fb71443b32105328bbb477 [diff] |
Mitigate bad cast in OffscreenCanvas::GetFontSelector This change will cause the browser to crash if the execution context is not a Window or WorkerGlobalScope. This is a temporary solution to handle the case where the execution context is an AudioWorkletGlobalScope. The longer term solution, which will be implemented in a follow-up CL, is to block OffscreenCanvas objects from being transferred to AudioWorklets, as required by the postMessage spec. BUG=1334864 (cherry picked from commit 028c11e59fd41bc22eff06dbec10fe9b0e82bd04) Change-Id: Ief5e37eca6dff14098b12cdbe6fc362c3dd87d1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3722117 Auto-Submit: Justin Novosad <junov@chromium.org> Reviewed-by: Juanmi Huertas <juanmihd@chromium.org> Commit-Queue: Juanmi Huertas <juanmihd@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1017357} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3748523 Commit-Queue: Justin Novosad <junov@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#1174} Cr-Branched-From: b83393d0f4038aeaf67f970a024d8101df7348d1-refs/heads/main@{#1002911}
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.