Skip to content

Embedded DevTools views fail to load in VS code with WASM enabled #9118

@kenzieschmoll

Description

@kenzieschmoll

This is not consistently reproducible, but happens occasionally.

Repro steps (that may work):

  1. Switch to the latest flutter main channel
  2. Open DevTools to turn on the experimental wasm setting. Run dart devtools, open the settings menu, and enable wasm. This setting will persist for you.
  3. Close DevTools.
  4. Open a Flutter project in VS code (ensure you have the latest VS code)
  5. Open the Flutter VS code Sidebar
flutter_bootstrap.js:121 Attempting to load DevTools with skwasm renderer.
skwasm.js:33 Uncaught (in promise) DataCloneError: Failed to execute 'postMessage' on 'Worker': SharedArrayBuffer transfer requires self.crossOriginIsolated.
    at skwasm.js:33:213
    at new Promise (<anonymous>)
    at Xe (skwasm.js:32:11)
    at Array.map (<anonymous>)
    at hf (skwasm.js:33:290)
    at skwasm.js:30:360
    at skwasm.js:34:25
    at Array.forEach (<anonymous>)
    at nf (skwasm.js:34:14)
    at zg (skwasm.js:148:184)

@eyebrowsoffire @biggs0125 @DanTup

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions