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

[spec] Remove fallback, per 2018.11.28 TC39 feedback #41

Merged
merged 1 commit into from
Dec 11, 2018

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented Nov 29, 2018

Closes #39.

spec.md Outdated Show resolved Hide resolved
@mathiasbynens
Copy link
Member

I love how close this is to https://tc39.github.io/ecma262/#sec-string.prototype.match now!

Copy link
Member

@gsathya gsathya left a comment

Choose a reason for hiding this comment

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

cc @schuay

@ljharb
Copy link
Member Author

ljharb commented Nov 29, 2018

cc @anba

Copy link
Member

@zenparsing zenparsing left a comment

Choose a reason for hiding this comment

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

Is there now only one callsite for CreateRegExpStringIterator? If so, it might be more clear to inline those steps.

Edit: I see that CreateStringIterator also has only one callsite, so leaving it as-is looks good.

spec.emu Outdated Show resolved Hide resolved
@ljharb ljharb removed the request for review from ajklein December 7, 2018 19:55
peterwmwong added a commit to peterwmwong/test262 that referenced this pull request Dec 9, 2018
- Changes associated with spec changes (tc39/proposal-string-matchall#41)
- Update spec comments
- Added test verifying error thrown when `regexp[Symbol.matchAll]` is not callable
- Added test verifying `ToString` is called on `receiver`
@anba
Copy link
Collaborator

anba commented Dec 10, 2018

LGTM!

peterwmwong added a commit to peterwmwong/test262 that referenced this pull request Dec 10, 2018
- Changes associated with spec changes (tc39/proposal-string-matchall#41)
- Update spec comments
- Added test verifying error thrown when `regexp[Symbol.matchAll]` is not callable
- Added test verifying `ToString` is called on `receiver`
leobalter pushed a commit to tc39/test262 that referenced this pull request Dec 10, 2018
- Changes associated with spec changes (tc39/proposal-string-matchall#41)
- Update spec comments
- Added test verifying error thrown when `regexp[Symbol.matchAll]` is not callable
- Added test verifying `ToString` is called on `receiver`
@peterwmwong
Copy link

@ljharb @bterlson is there anything holding up this PR from being approved/merged?
Thanks.

@ljharb ljharb merged commit 9e4299c into master Dec 11, 2018
@ljharb ljharb deleted the remove_fallback branch December 11, 2018 22:43
ljharb added a commit to es-shims/String.prototype.matchAll that referenced this pull request Dec 12, 2018
zloirock added a commit to zloirock/core-js that referenced this pull request Dec 12, 2018
guybedford pushed a commit to guybedford/v8 that referenced this pull request Dec 20, 2018
As per (tc39/proposal-string-matchall#41), String.p.matchAll's fallback was removed.
Additionally, removed a IsNullOrUndefined check that was already covered by MaybeCallFunctionAtSymbol.
Updates to Test262 has been submitted: tc39/test262#1990

Bug: v8:6890
Change-Id: I246cbbcb4641ebded704c5f772809f182deaa30e
Reviewed-on: https://chromium-review.googlesource.com/c/1369091
Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58172}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants