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

Issue 1061503005: bindings: Use Maybe version of Call() (Closed)

Created:
5 years, 8 months ago by bashi
Modified:
5 years, 8 months ago
Reviewers:
haraken, Yuki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, vivekg
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

bindings: Use Maybe version of Call() This CL also makes following functions return MaybeLocal as they return results of Call(). - V8ScriptRunner::callFunction() - ScriptController::callFunction() BUG=462402 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194181

Patch Set 1 : #

Total comments: 17

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -68 lines) Patch
M Source/bindings/core/v8/Iterable.h View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/NPV8Object.cpp View 1 2 2 chunks +10 lines, -11 lines 0 comments Download
M Source/bindings/core/v8/PrivateScriptRunner.cpp View 1 4 chunks +8 lines, -8 lines 0 comments Download
M Source/bindings/core/v8/ScriptController.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/ScriptController.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/ScriptFunctionCall.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/V8AbstractEventListener.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8ErrorHandler.cpp View 1 1 chunk +23 lines, -17 lines 0 comments Download
M Source/bindings/core/v8/V8EventListener.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M Source/bindings/core/v8/V8LazyEventListener.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M Source/bindings/core/v8/V8NodeFilterCondition.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/V8ScriptRunner.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/bindings/core/v8/V8ScriptRunner.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
bashi
PTAL?
5 years, 8 months ago (2015-04-17 09:21:53 UTC) #3
Yuki
lgtm https://codereview.chromium.org/1061503005/diff/20001/Source/bindings/core/v8/V8ErrorHandler.cpp File Source/bindings/core/v8/V8ErrorHandler.cpp (right): https://codereview.chromium.org/1061503005/diff/20001/Source/bindings/core/v8/V8ErrorHandler.cpp#newcode60 Source/bindings/core/v8/V8ErrorHandler.cpp:60: v8::Local<v8::Value> returnValue; Move this line just before you ...
5 years, 8 months ago (2015-04-17 09:59:24 UTC) #4
haraken
LGTM https://codereview.chromium.org/1061503005/diff/20001/Source/bindings/core/v8/NPV8Object.cpp File Source/bindings/core/v8/NPV8Object.cpp (right): https://codereview.chromium.org/1061503005/diff/20001/Source/bindings/core/v8/NPV8Object.cpp#newcode317 Source/bindings/core/v8/NPV8Object.cpp:317: v8::Local<v8::Value> resultObject; Move this down to line 327. ...
5 years, 8 months ago (2015-04-18 23:10:47 UTC) #5
bashi
https://codereview.chromium.org/1061503005/diff/20001/Source/bindings/core/v8/NPV8Object.cpp File Source/bindings/core/v8/NPV8Object.cpp (right): https://codereview.chromium.org/1061503005/diff/20001/Source/bindings/core/v8/NPV8Object.cpp#newcode317 Source/bindings/core/v8/NPV8Object.cpp:317: v8::Local<v8::Value> resultObject; On 2015/04/18 23:10:46, haraken wrote: > > ...
5 years, 8 months ago (2015-04-21 00:15:40 UTC) #7
haraken
Still LGTM https://codereview.chromium.org/1061503005/diff/20001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/1061503005/diff/20001/Source/web/WebLocalFrameImpl.cpp#newcode908 Source/web/WebLocalFrameImpl.cpp:908: if (frame()->script().callFunction(function, receiver, argc, static_cast<v8::Local<v8::Value>*>(argv)).ToLocal(&result)) On 2015/04/21 ...
5 years, 8 months ago (2015-04-21 04:38:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061503005/60001
5 years, 8 months ago (2015-04-21 23:31:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/52925)
5 years, 8 months ago (2015-04-21 23:35:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061503005/80001
5 years, 8 months ago (2015-04-22 00:54:58 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-22 01:00:03 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194181

Powered by Google App Engine
This is Rietveld 408576698