v8/test
littledan e13f2ff40b Construct instances of base class from TypedArray.prototype.subarray
Previous changes with subclassable builtins and @@species were a bit
aggressive in making TypedArray.prototype.subarray act like the
ES2016 specification in terms of returning an instance of the
subclass as a result. It turns out that Node.js, and extracted
libraries for the web, subclass TypedArrays but don't expect the
subclass constructor to be called by subarray. @@species will provide
an escape hatch, but it has not shipped yet, and will take some time
for uptake by libraries.

For now, this patch makes TypedArray.prototype.subarray fall back to
constructing an instance of the parent TypedArray class, such as
Uint8Array.

R=adamk
LOG=Y
BUG=v8:4665

Review URL: https://codereview.chromium.org/1583773005

Cr-Commit-Position: refs/heads/master@{#33312}
2016-01-14 19:23:26 +00:00
..
benchmarks [test] Re-enable typescript that is no longer failing on ia32. 2015-10-26 06:00:35 +00:00
cctest Skip failing wasm tests on platforms with function descriptors. 2016-01-14 17:57:40 +00:00
intl Enable some passing, disabled Intl tests 2015-12-12 01:33:52 +00:00
js-perf-test Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
memory Correctly name memory stat for context snapshot size. 2015-04-10 22:36:02 +00:00
message Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
mjsunit Construct instances of base class from TypedArray.prototype.subarray 2016-01-14 19:23:26 +00:00
mozilla Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
preparser Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
promises-aplus Remove unnecessary coupling between Promise tests and Object.observe 2015-07-21 17:17:07 +00:00
simdjs Revert "[turbofan] Stage --turbo-inlining behind --turbo flag." and "[turbofan] Skip more tests that fail with --turbo-inlining." 2015-10-20 06:23:02 +00:00
test262 [test262] Remove stale status lines 2016-01-14 01:03:41 +00:00
unittests [Interpreter] Ensure we always have an outer register allocation scope. 2016-01-14 13:43:40 +00:00
webkit Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
bot_default.gyp [swarming] Isolate bot_default. 2015-10-19 09:52:47 +00:00
bot_default.isolate [swarming] Isolate bot_default. 2015-10-19 09:52:47 +00:00
default.gyp [swarming] Run unittests together with default tests. 2015-10-06 09:31:49 +00:00
default.isolate [swarming] Run unittests together with default tests. 2015-10-06 09:31:49 +00:00
ignition.gyp [test] Add ignition test set. 2016-01-04 17:26:42 +00:00
ignition.isolate [test] Add ignition test set. 2016-01-04 17:26:42 +00:00
optimize_for_size.gyp [swarming] Isolate webkit and optimize_for_size. 2015-10-14 17:35:05 +00:00
optimize_for_size.isolate [swarming] Isolate webkit and optimize_for_size. 2015-10-14 17:35:05 +00:00