Comment #6 on issue 3764 by [email protected]: @@isConcatSpreadable bug
https://code.google.com/p/v8/issues/detail?id=3764#c6
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/e7d4bf87adcd32da163d8c6a5af82246f4f83edc
commit e7d4bf87adcd32da163d8c6a5af82246f4f83edc
Author: caitpotter88 <[email protected]>
Date: Thu Jun 18 19:47:16 2015
[es6] fix IsConcatSpreadable() algorithm in runtime-array.cc
The ordering of the "IsArray()" check for IsConcatSpreadable() was
incorrect previously --- IsArray() is only used if Get(O,
@@isConcatSpreadable) is undefined. Without this fix, it's not possible for
Array subclasses to opt out of spreading
22.1.3.1.1
http://www.ecma-international.org/ecma-262/6.0/#sec-isconcatspreadable
BUG=v8:3764
LOG=N
[email protected], [email protected], [email protected]
Review URL: https://codereview.chromium.org/1192153002
Cr-Commit-Position: refs/heads/master@{#29127}
[modify]
http://crrev.com/e7d4bf87adcd32da163d8c6a5af82246f4f83edc/src/runtime/runtime-array.cc
[modify]
http://crrev.com/e7d4bf87adcd32da163d8c6a5af82246f4f83edc/test/mjsunit/harmony/array-concat.js
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.