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

Issue 1106393002: gin: Use V8 Maybe APIs (Closed)

Created:
5 years, 7 months ago by bashi
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@maybe-gin-converter
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gin: Use V8 Maybe APIs TEST=gin_unittests BUG=479439 Committed: https://crrev.com/7a6acf6c7d45e24f07781c69249d90967013bbe4 Cr-Commit-Position: refs/heads/master@{#331923}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Pass isolate to TryCatch #

Patch Set 3 : CHECK() #

Patch Set 4 : Add Maybe version of ToV8() for vector #

Total comments: 4

Patch Set 5 : Add TryConvertToV8() #

Patch Set 6 : size_t -> uint32_t #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -79 lines) Patch
M gin/arguments.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M gin/converter.h View 1 2 3 4 5 6 chunks +72 lines, -5 lines 0 comments Download
M gin/converter.cc View 1 2 9 chunks +31 lines, -16 lines 0 comments Download
M gin/converter_unittest.cc View 1 2 3 4 1 chunk +7 lines, -10 lines 0 comments Download
M gin/dictionary.h View 1 2 3 4 5 6 1 chunk +12 lines, -2 lines 0 comments Download
M gin/interceptor_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gin/modules/console.cc View 1 chunk +1 line, -1 line 0 comments Download
M gin/modules/module_registry.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M gin/modules/module_registry.cc View 1 6 chunks +19 lines, -14 lines 0 comments Download
M gin/object_template_builder.cc View 1 2 3 4 2 chunks +10 lines, -4 lines 0 comments Download
M gin/shell/gin_main.cc View 1 chunk +3 lines, -1 line 0 comments Download
M gin/shell_runner.cc View 1 3 chunks +15 lines, -10 lines 0 comments Download
M gin/test/file.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M gin/try_catch.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M gin/try_catch.cc View 1 2 3 4 5 6 2 chunks +14 lines, -2 lines 0 comments Download
M gin/wrappable.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gin/wrappable_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
bashi
PTAL? Please add reviewers if you are not the right person to ask reviews for ...
5 years, 7 months ago (2015-04-28 02:25:11 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1106393002/diff/1/gin/converter.h File gin/converter.h (right): https://codereview.chromium.org/1106393002/diff/1/gin/converter.h#newcode166 gin/converter.h:166: return v8::Handle<v8::Value>(); we shouldn't return empty handles but MaybeLocal<> ...
5 years, 7 months ago (2015-04-28 11:14:20 UTC) #3
bashi
https://codereview.chromium.org/1106393002/diff/1/gin/converter.h File gin/converter.h (right): https://codereview.chromium.org/1106393002/diff/1/gin/converter.h#newcode166 gin/converter.h:166: return v8::Handle<v8::Value>(); On 2015/04/28 11:14:20, jochen wrote: > we ...
5 years, 7 months ago (2015-05-01 03:50:35 UTC) #4
jochen (gone - plz use gerrit)
hum, maybe the set API should CHECK() and we'll document in the API that you ...
5 years, 7 months ago (2015-05-04 13:25:40 UTC) #5
bashi
On 2015/05/04 13:25:40, jochen wrote: > hum, maybe the set API should CHECK() and we'll ...
5 years, 7 months ago (2015-05-08 03:53:30 UTC) #6
jochen (gone - plz use gerrit)
hum, I'm really not sure about this change. We're just pushing the problem one level ...
5 years, 7 months ago (2015-05-15 04:43:17 UTC) #7
bashi
On 2015/05/15 04:43:17, jochen (traveling) wrote: > hum, I'm really not sure about this change. ...
5 years, 7 months ago (2015-05-15 05:02:56 UTC) #8
bashi
Revised CL. PTAL?
5 years, 7 months ago (2015-05-15 05:56:18 UTC) #9
jochen (gone - plz use gerrit)
looks better, thx! https://codereview.chromium.org/1106393002/diff/60001/gin/converter.h File gin/converter.h (right): https://codereview.chromium.org/1106393002/diff/60001/gin/converter.h#newcode158 gin/converter.h:158: // DEPRECATED. Use Maybe version. how ...
5 years, 7 months ago (2015-05-15 15:40:39 UTC) #10
bashi
Sorry for being late. I work three days per week... https://codereview.chromium.org/1106393002/diff/60001/gin/converter.h File gin/converter.h (right): https://codereview.chromium.org/1106393002/diff/60001/gin/converter.h#newcode158 ...
5 years, 7 months ago (2015-05-19 02:09:08 UTC) #11
jochen (gone - plz use gerrit)
since you prefer (3) let's do that
5 years, 7 months ago (2015-05-21 07:32:19 UTC) #12
bashi
On 2015/05/21 07:32:19, jochen wrote: > since you prefer (3) let's do that Done. PTAL?
5 years, 7 months ago (2015-05-22 03:52:03 UTC) #15
jochen (gone - plz use gerrit)
lgtm with nits https://codereview.chromium.org/1106393002/diff/140001/gin/dictionary.h File gin/dictionary.h (right): https://codereview.chromium.org/1106393002/diff/140001/gin/dictionary.h#newcode37 gin/dictionary.h:37: .ToLocal(&val)) nit add {} https://codereview.chromium.org/1106393002/diff/140001/gin/try_catch.cc File ...
5 years, 7 months ago (2015-05-27 14:43:26 UTC) #16
bashi
https://codereview.chromium.org/1106393002/diff/140001/gin/dictionary.h File gin/dictionary.h (right): https://codereview.chromium.org/1106393002/diff/140001/gin/dictionary.h#newcode37 gin/dictionary.h:37: .ToLocal(&val)) On 2015/05/27 14:43:26, jochen wrote: > nit add ...
5 years, 6 months ago (2015-05-29 02:04:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106393002/160001
5 years, 6 months ago (2015-05-29 02:04:31 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:160001)
5 years, 6 months ago (2015-05-29 04:06:16 UTC) #21
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/7a6acf6c7d45e24f07781c69249d90967013bbe4 Cr-Commit-Position: refs/heads/master@{#331923}
5 years, 6 months ago (2015-05-29 04:07:13 UTC) #22
bashi
5 years, 6 months ago (2015-05-29 06:52:55 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:160001) has been created in
https://codereview.chromium.org/1161053002/ by bashi@chromium.org.

The reason for reverting is: Broke layout tests.

Powered by Google App Engine
This is Rietveld 408576698