Skip to content

[Story devtools] Debug tab sometimes crashes if opening devtools from the preview tab #34513

@mszylkowski

Description

@mszylkowski

Description

When there are multiple errors in the debug tab and the tab is inactive (eg: when starting from the Preview tab), it can error (less than 20% of the time):

image

Reproduction Steps

Go to https://wsdemos.uc.r.appspot.com/homewarrior#development=1 and click the Debug tab. Try that many times until it gets triggered.

Logs

AssertionError: Assertion failed: WebAssembly is uninitialized
    at new goog.asserts.AssertionError (https://cdn.ampproject.org/v0/validator_wasm.js:95:1390)
    at Object.goog.asserts.doAssertFailure_ (https://cdn.ampproject.org/v0/validator_wasm.js:96:264)
    at Object.goog.asserts.assertExists (https://cdn.ampproject.org/v0/validator_wasm.js:97:254)
    at Object.module$contents$amp$validator_validateString [as validateString] (https://cdn.ampproject.org/v0/validator_wasm.js:962:86)
    at https://cdn.ampproject.org/rtv/042105242203000/v0/amp-story-dev-tools-0.1.js:15:257

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions