Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Regex breaking Firefox >3.6 #1514

@jstabinger

Description

@jstabinger

When using the desktop version of Firefox (versions below 4, i.e., 3.6) the following regex (from Alpha 4.1) is causing Firefox to stop working:

pageElemRegex = new RegExp(".(<[^>]+\bdata-" + $.mobile.ns + "role=["']?page["']?[^>]>).*"),

This only occurs on 'heavy' pages, i.e., pages that have a lot of elements to load, and script to work with. I tracked the problem back to the regex above, but I do not know what it does or how to fix it. Again, only seems to occur with Firefox 3.x.

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