pixiebrix / pixiebrix-extension

PixieBrix browser extension
https://www.pixiebrix.com
GNU Affero General Public License v3.0
83 stars 22 forks source link

Browser crashes when opening workshop if the Page Editor is open in a tab #8930

Closed twschiller closed 1 month ago

twschiller commented 1 month ago

Describe the bug

To Reproduce

Steps to reproduce the behavior:

  1. Open the page editor in a tab (docked)
  2. Open the Extension Console in a new tab
  3. Click “Open in Workshop” on a mod

Actual behavior

Browser crashes

Desktop (please complete the following information):

Investigation/Discussion

Workaround

Related Code

twschiller commented 1 month ago

Minimal reproduction here: https://github.com/pixiebrix/context-crash

getContexts called here: https://github.com/pixiebrix/pixiebrix-extension/blob/ef44074afc4b92c4ad7c6e05b97adb9344c67fec/src/tinyPages/offscreen.ts#L52-L52

twschiller commented 1 month ago

@BLoe I believe this can be closed out now?

twschiller commented 1 month ago

Mitigation in: https://github.com/pixiebrix/pixiebrix-extension/pull/8934