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

Tests for String.prototype.matchAll #1500

Merged
merged 3 commits into from
Apr 11, 2018
Merged

Tests for String.prototype.matchAll #1500

merged 3 commits into from
Apr 11, 2018

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented Mar 20, 2018

String.prototype.matchAll is at stage 3.

Here's the tests for it; with help from @peterwmwong / ljharb#1.

Please do not merge this yet; there's still a few unresolved issues on the proposal repo and I'd rather update the PR in-place if there ends up being changes :-)

ljharb and others added 3 commits January 25, 2018 00:25
`String.prototype.matchAll`: Add basic tests.
`RegExp.prototype[Symbol.matchAll]`: Add basic tests.
…matchall], and %RegExpStringIteratorPrototype%

Tests were updated and assuming tc39/proposal-string-matchall#33 will be merged.
@ljharb
Copy link
Member Author

ljharb commented Apr 1, 2018

ping @rwaldron @leobalter :-)

@rwaldron
Copy link
Contributor

rwaldron commented Apr 3, 2018

@ljharb

Please do not merge this yet;

Ready to go then?

@ljharb
Copy link
Member Author

ljharb commented Apr 4, 2018

Yes, i think so! There’s still tc39/proposal-string-matchall#34, but I’ll file any update PRs here if there’s changes as a result.

Copy link
Contributor

@rwaldron rwaldron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thorough!

# String.prototype.matchAll
# https://github.com/tc39/proposal-string-matchall
String.prototype.matchAll
Symbol.matchAll
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rwaldron rwaldron merged commit 3e4f58d into tc39:master Apr 11, 2018
@ljharb ljharb deleted the matchall branch April 11, 2018 17:38
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [Symbol.match]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be Symbol.matchAll

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gsathya Thanks, this is already being corrected with this PR (that is updating to the latest spec changes): https://github.com/tc39/test262/pull/1587/files#diff-dcc8c9cf15ec70a98b42af64c99e751d

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

Successfully merging this pull request may close these issues.

4 participants