Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect check for a non-compliant Array.prototype.splice implementation #284

Merged
merged 1 commit into from
Dec 19, 2014
Merged

Incorrect check for a non-compliant Array.prototype.splice implementation #284

merged 1 commit into from
Dec 19, 2014

Conversation

BendingBender
Copy link
Contributor

Fixed a check for a non-compliant Array.prototype.splice implementation that was causing a shim to be applied to ES5-compliant browsers instead of applying it to buggy/incorrectly implemented ones

…on that was causing a shim to be applied to ES5-compliant browsers instead of applying it to buggy/incorrectly implemented ones
@BendingBender BendingBender changed the title fixed a check for a non-compliant Array.prototype.splice implementation ... Incorrect check for a non-compliant Array.prototype.splice implementation Dec 19, 2014
@ljharb
Copy link
Member

ljharb commented Dec 19, 2014

Thanks, this definitely makes tests pass in Safari 5.0, and leaves them passing in conforming implementations. Good catch!

ljharb added a commit that referenced this pull request Dec 19, 2014
…ns-undefined-safari-5_0

Fix check for non-compliant `Array#splice`
@ljharb ljharb merged commit fc49112 into es-shims:master Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants