Skip to content

Errors caused by _suspensionQueue being undefined #299

@LeXofLeviafan

Description

@LeXofLeviafan

If I attempt using the extension after a period of inactivity, the service worker would sometimes get stuck in the Inactive state (ignoring user actions and displaying a suspended pages as blank). Checking it in Extensions view shows two TypeErrors within js/gsTabSuspendManager.js (lines 60/unqueueTabForSuspension() & 204/getQueuedTabDetails()): "Cannot read properties of undefined" (both pointing at methods of _suspensionQueue).

It appears that _suspensionQueue might not be re-initialized correctly when restoring service worker that was unloaded from memory 🤔

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions