Intent to ship: String.prototype.trimStart / String.prototype.trimEnd

34 views
Skip to first unread message

Mathias Bynens

unread,
Feb 9, 2018, 10:36:48 AM2/9/18
to v8-users, blink-dev
mat...@chromium.org https://github.com/tc39/proposal-string-left-right-trim Until now, String.prototype.{trimLeft,trimRight} were non-standard language extensions, required for Web compatibility. The Stage 3 proposal at https://github.com/tc39/proposal-string-left-right-trim standardizes this functionality as String.prototype.{trimStart,trimEnd}, and defines String.prototype.{trimLeft,trimRight} as aliases for backwards compatibility. Firefox: Public support Edge: Public support Safari: In development Web developers: Positive
There could be a compatibility risk, but that seems unlikely. We won’t know for sure until we try shipping it.
None
Yes

https://bugs.chromium.org/p/v8/issues/detail?id=6530 https://www.chromestatus.com/features/4790066333351936 Yes

Note that since this is a V8/JS feature, this post is just an FYI to blink-dev — no signoff from Blink API owners is required.

Benedikt Meurer

unread,
Feb 9, 2018, 11:37:11 AM2/9/18
to v8-u...@googlegroups.com, blink-dev
LGTM

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--



 •  Benedikt Meurer
 •  Google Germany GmbH
 •  Erika-Mann-Str. 33
 •  80636 Munich
 •  bme...@google.com


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.

Sathya Gunasekaran

unread,
Feb 9, 2018, 3:53:16 PM2/9/18
to v8-users, blink-dev
LGTM

On Fri, Feb 9, 2018 at 8:36 AM, Benedikt Meurer <bme...@chromium.org> wrote:
LGTM


Mathias Bynens <mat...@chromium.org> schrieb am Fr., 9. Feb. 2018, 16:36:
mat...@chromium.org https://github.com/tc39/proposal-string-left-right-trim Until now, String.prototype.{trimLeft,trimRight} were non-standard language extensions, required for Web compatibility. The Stage 3 proposal at https://github.com/tc39/proposal-string-left-right-trim standardizes this functionality as String.prototype.{trimStart,trimEnd}, and defines String.prototype.{trimLeft,trimRight} as aliases for backwards compatibility. Firefox: Public support Edge: Public support Safari: In development Web developers: Positive
There could be a compatibility risk, but that seems unlikely. We won’t know for sure until we try shipping it.
None
Yes

https://bugs.chromium.org/p/v8/issues/detail?id=6530 https://www.chromestatus.com/features/4790066333351936 Yes

Note that since this is a V8/JS feature, this post is just an FYI to blink-dev — no signoff from Blink API owners is required.

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--



 •  Benedikt Meurer
 •  Google Germany GmbH
 •  Erika-Mann-Str. 33
 •  80636 Munich
 •  bme...@google.com


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscribe@googlegroups.com.

Adam Klein

unread,
Feb 9, 2018, 5:44:44 PM2/9/18
to v8-users, blink-dev
LGTM3!

Mathias Bynens

unread,
Feb 15, 2018, 8:35:18 AM2/15/18
to Adam Klein, v8-users, blink-dev
For future reference: this landed in V8 v6.6.253 and should thus be available in Chrome 66.


LGTM3!
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEvLGcL-qcB4msFwrR4Hp-PLdLuYTCYXPqNubmJY1P9xae-1uQ%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages