78446a8afd
- Removes S.p.repeat from string.js - Adds StringPrototypeRepeat TFJ Bug: v8:5049 Change-Id: I0b2d512bffd97dfc2c3ba6783e2e41c4db6c8faa Reviewed-on: https://chromium-review.googlesource.com/659097 Commit-Queue: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Cr-Commit-Position: refs/heads/master@{#48023}
11 lines
340 B
Plaintext
11 lines
340 B
Plaintext
# Copyright 2017 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
*%(basename)s:5: RangeError: Invalid string length
|
|
"foo".repeat(1 << 30)
|
|
^
|
|
RangeError: Invalid string length
|
|
at String.repeat (<anonymous>)
|
|
at *%(basename)s:5:7
|