Skip to content

Alias loop causes endless JS loop #28

Description

@egmontkob

Apply a skin that has an endless alias loop, like

[aliases]
    a = b
    b = a

This results in a busy-JS-looping page, hopefully the browser intervening and stopping it soon.

Here's how mc detects loops, something like this should be done by our JS code too: https://github.com/MidnightCommander/mc/blob/4.8.33/lib/skin/colors.c#L157

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions