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

Issue 1154233003: Introduce v8::Object::CreateDataProperty (Closed)

Created:
5 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
3 years, 5 months ago
CC:
Paweł Hajdan Jr., v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce v8::Object::CreateDataProperty Also deprecate ForceSet BUG=chromium:475206 R=adamk@chromium.org,verwaest@chromium.org LOG=y Committed: https://crrev.com/2a058de88fa6cfa6d7a76783269f39043f0d8afc Cr-Commit-Position: refs/heads/master@{#28660}

Patch Set 1 #

Total comments: 16

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updates #

Patch Set 5 : updates #

Total comments: 3

Patch Set 6 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -12 lines) Patch
M include/v8.h View 1 2 chunks +19 lines, -4 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 1 chunk +100 lines, -0 lines 0 comments Download
M src/objects.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/objects.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 chunk +1 line, -7 lines 0 comments Download
M src/v8natives.js View 1 3 chunks +13 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 1 chunk +103 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (3 generated)
jochen (gone - plz use gerrit)
5 years, 7 months ago (2015-05-26 16:48:08 UTC) #1
jochen (gone - plz use gerrit)
ptal https://codereview.chromium.org/1154233003/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1154233003/diff/1/src/api.cc#newcode3479 src/api.cc:3479: // Special case for Array.length. Array.prototype.length is not ...
5 years, 7 months ago (2015-05-26 16:49:44 UTC) #2
noordhuis
https://codereview.chromium.org/1154233003/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1154233003/diff/1/src/api.cc#newcode3495 src/api.cc:3495: if (isolate->MayAccess(self)) return Just(false); Should this be `if (!isolate->MayAccess(self)) ...
5 years, 7 months ago (2015-05-26 17:22:28 UTC) #4
adamk
High-level question: why did you choose to make this throw on failure? It could just ...
5 years, 7 months ago (2015-05-26 18:55:57 UTC) #5
adamk
5 years, 7 months ago (2015-05-26 18:56:01 UTC) #6
Toon Verwaest
https://codereview.chromium.org/1154233003/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1154233003/diff/1/src/api.cc#newcode3467 src/api.cc:3467: PREPARE_FOR_EXECUTION_PRIMITIVE(context, "v8::Object::CreateDataProperty()", It seems like this is more of ...
5 years, 7 months ago (2015-05-26 19:40:55 UTC) #7
Toon Verwaest
OK I see from the other issue that the name comes from the spec, my ...
5 years, 7 months ago (2015-05-26 19:44:05 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1154233003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1154233003/diff/1/include/v8.h#newcode2595 include/v8.h:2595: V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context, On 2015/05/26 at 18:55:56, adamk ...
5 years, 7 months ago (2015-05-27 07:28:30 UTC) #9
Toon Verwaest
https://codereview.chromium.org/1154233003/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1154233003/diff/1/src/api.cc#newcode3556 src/api.cc:3556: self, isolate->factory()->Uint32ToString(index), value_obj, NONE, On 2015/05/27 07:28:29, jochen wrote: ...
5 years, 7 months ago (2015-05-27 08:03:57 UTC) #10
jochen (gone - plz use gerrit)
On 2015/05/27 at 08:03:57, verwaest wrote: > https://codereview.chromium.org/1154233003/diff/1/src/api.cc > File src/api.cc (right): > > https://codereview.chromium.org/1154233003/diff/1/src/api.cc#newcode3556 ...
5 years, 7 months ago (2015-05-27 09:18:34 UTC) #11
Toon Verwaest
Looking good. Some final comments. https://codereview.chromium.org/1154233003/diff/80001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1154233003/diff/80001/src/api.cc#newcode3482 src/api.cc:3482: isolate->factory()->NewStringFromStaticChars("length")))) { isolate->factory()->length_string() https://codereview.chromium.org/1154233003/diff/80001/src/api.cc#newcode3496 ...
5 years, 7 months ago (2015-05-27 09:50:07 UTC) #12
jochen (gone - plz use gerrit)
ptal
5 years, 7 months ago (2015-05-27 09:56:44 UTC) #13
Toon Verwaest
lgtm
5 years, 7 months ago (2015-05-27 10:07:51 UTC) #14
jochen (gone - plz use gerrit)
Adam, please CQ+ if you don't have additional comments
5 years, 7 months ago (2015-05-27 10:49:42 UTC) #15
adamk
lgtm
5 years, 7 months ago (2015-05-27 15:01:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1154233003/100001
5 years, 7 months ago (2015-05-27 15:01:49 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-05-27 15:03:33 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/2a058de88fa6cfa6d7a76783269f39043f0d8afc Cr-Commit-Position: refs/heads/master@{#28660}
5 years, 7 months ago (2015-05-27 15:03:45 UTC) #20
Honestly
3 years, 5 months ago (2017-07-13 16:44:45 UTC) #22
Message was sent while issue was closed.
dewydew1166@gmail.com ExtensionsExtension were preventing me from accessing
chrome for help. Someone is in my phone. I haven't added extensions to my
device.

Powered by Google App Engine
This is Rietveld 408576698