Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extensions: Enable wasm threads for extension processes.
r869703 granted temporary SharedArrayBuffer (SAB) access to the extension scheme since there is no way currently for extensions to opt into cross origin isolation. Since Wasm Threads should be enabled whenever SABs are enabled, also temporarily enable wasm threads for extension processes. These exceptions will be removed once there is a way for extensions to opt into cross origin isolation. This also fixes the regression with ChromeOS PDF Annotation component extension which relies on construction of shared WebAssembly.Memory instances (which require wasm threads to be enabled). Verified that the currently disabled PDFExtensionJSTest.AnnotationsFeatureEnabled test (which tests the annotation extension) succeeds after this CL. Also rename third_party/blink/renderer/core/exported/web_context_features.cc to web_v8_features.cc. This was an oversight in r870311. Note that a merge for this CL will be requested for M91. Bug: 1196189, 1184892, 1177131 Change-Id: I42e54355fb8d6ae033eedebc8e6258884e96692b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2822801 Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Reviewed-by: Bill Budge <bbudge@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#872328} GitOrigin-RevId: eecede49c55a5f9489d4a37813213fb710618036
- Loading branch information