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

Issue 68073005: Update ScriptController's resourceInfo() to use V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN() (Closed)

Created:
7 years, 1 month ago by Inactive
Modified:
7 years, 1 month ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Update ScriptController's resourceInfo() to use V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN() Update ScriptController's resourceInfo() to use V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN() macro instead of toWebCoreString(v8::Handle<v8::Value>), to make sure we abort early in the event v8::Value::ToString() throws an exception. R=haraken Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162128

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M Source/bindings/v8/ScriptController.cpp View 2 chunks +6 lines, -3 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Inactive
7 years, 1 month ago (2013-11-15 16:12:48 UTC) #1
haraken
LGTM https://codereview.chromium.org/68073005/diff/1/Source/bindings/v8/ScriptController.cpp File Source/bindings/v8/ScriptController.cpp (right): https://codereview.chromium.org/68073005/diff/1/Source/bindings/v8/ScriptController.cpp#newcode163 Source/bindings/v8/ScriptController.cpp:163: V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, stringResourceName, origin.ResourceName(), false); Is there any code ...
7 years, 1 month ago (2013-11-15 16:23:10 UTC) #2
Inactive
https://codereview.chromium.org/68073005/diff/1/Source/bindings/v8/ScriptController.cpp File Source/bindings/v8/ScriptController.cpp (right): https://codereview.chromium.org/68073005/diff/1/Source/bindings/v8/ScriptController.cpp#newcode163 Source/bindings/v8/ScriptController.cpp:163: V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, stringResourceName, origin.ResourceName(), false); On 2013/11/15 16:23:11, haraken wrote: ...
7 years, 1 month ago (2013-11-15 16:28:48 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/68073005/1
7 years, 1 month ago (2013-11-15 16:29:15 UTC) #4
commit-bot: I haz the power
7 years, 1 month ago (2013-11-15 18:52:57 UTC) #5
Message was sent while issue was closed.
Change committed as 162128

Powered by Google App Engine
This is Rietveld 408576698