Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Side by Side Diff: test/mjsunit/regress/regress-crbug-583257.js

Issue 1651253003: More *_STRING_WRAPPER_ELEMENTS fixes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ...and one more fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 Object.defineProperty(String.prototype, "0", { __v_1: 1});
6 Object.defineProperty(String.prototype, "3", { __v_1: 1});
7
8 (function () {
9 var s = new String();
10 function set(object, index, value) { object[index] = value; }
11 set(s, 10, "value");
12 set(s, 1073741823, "value");
13 })();
14
15 function __f_11() {
16 Object.preventExtensions(new String());
17 }
18 __f_11();
19 __f_11();
20
21 (function() {
22 var i = 10;
23 var a = new String("foo");
24 for (var j = 0; j < i; j++) {
25 a[j] = {};
26 }
27 })();
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698