Skip to content
New issue

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

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

Already on GitHub? # to your account

Enabling padStart and padEnd by default on. #1257

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

akroshg
Copy link
Contributor

@akroshg akroshg commented Jul 8, 2016

Apart from enabling it, I found that spec for padStart/padEnd got changed where ,
8. If filler is the empty String, return S. (https://tc39.github.io/ecma262/#sec-string.prototype.padstart)
fixed that and updated the test.
test262 is fully passed for these two APIs.

@akroshg
Copy link
Contributor Author

akroshg commented Jul 8, 2016

@ianwjhalliday (or @Microsoft/chakra-es) have a look at this.

@ljharb
Copy link
Collaborator

ljharb commented Jul 8, 2016

Thank you!

@akroshg
Copy link
Contributor Author

akroshg commented Jul 8, 2016

@ljharb thanks for mentioning that.

bummer, I need to update few baselines (just ran es7 folder).

Apart from enabling it, I found that spec for padStart/padEnd got changed where ,
     8. If filler is the empty String, return S. (https://tc39.github.io/ecma262/#sec-string.prototype.padstart)
fixed that and updated the test.
test262 is fully passed for these two APIs.
@tcare
Copy link
Contributor

tcare commented Jul 8, 2016

Thanks for adding OOM scenario test. LGTM.

@chakrabot chakrabot merged commit b2fe9c4 into chakra-core:master Jul 8, 2016
chakrabot pushed a commit that referenced this pull request Jul 8, 2016
Merge pull request #1257 from akroshg:stringpad

Apart from enabling it, I found that spec for padStart/padEnd got changed where ,
     8. If filler is the empty String, return S. (https://tc39.github.io/ecma262/#sec-string.prototype.padstart)
fixed that and updated the test.
test262 is fully passed for these two APIs.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants