Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

docs: counter of running webcontainer is not decreased when browser crashed due to OOM #52647

Copy link
Copy link
@9kubczas4

Description

@9kubczas4
Issue body actions

There is an edge case, which is easier to reproduce on Safari when user will open a few tabs with running webcontainer (tutorial pages, homepage if it's scrolled to embedded editor or playground).

When an OOM error occurs in Safari, the tab is reloaded automatically in that case event beforeunload was not catched and count of running webcontainers wasn't decreased.

In the result the alert message:
You currently have more than 3 tabs open running the Angular Tutorials or Playground, this may result in an <code>Out of memory</code> error.
could be displayed even when user has less opened tabs with Embedded Editor than recommended.

The idea of solution:
I'm thinking about reset counter when will close the warning message.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructuregood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberopen for contributionsAn issue that is suitable for a community contributor (based on its complexity/scope).An issue that is suitable for a community contributor (based on its complexity/scope).

    Type

    No type

    Projects

    Status

    In Progress
    Show more project fields

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.