Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Web compatibility issue with Yui2 #31

@evilpie

Description

@evilpie

We just enabled String.prototype.item in Firefox Nightly and broke http://bugzilla.mozilla.org. We are going to backout this patch for that reason.

The problem seems to be in the obsolete Yui2 library: https://github.com/yui/yui2/blob/master/build/dom/dom.js#L789. It now assumes that strings are some kind of array/collections object.

Activity

changed the title [-]Web compatibilty issue with Yui2[/-] [+]Web compatibility issue with Yui2[/+] on Oct 7, 2020
Constellation

Constellation commented on Oct 7, 2020

@Constellation
Member

We are going to revert String#item as well.
https://bugs.webkit.org/show_bug.cgi?id=217449

tabatkins

tabatkins commented on Oct 7, 2020

@tabatkins
Collaborator

Ah, well that makes the decision of whether to include String#item() or not easy - we'll just remove it.

Jack-Works

Jack-Works commented on Oct 8, 2020

@Jack-Works
Member

🧐

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

        Participants

        @Constellation@evilpie@tabatkins@Jack-Works

        Issue actions

          Web compatibility issue with Yui2 · Issue #31 · tc39/proposal-relative-indexing-method