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

Issue 1109323002: [bindings] Support passing of ScriptState for namedPropertyQuery form of getter. (Closed)

Created:
5 years, 7 months ago by vivekg_samsung
Modified:
5 years, 7 months ago
Reviewers:
haraken, vivekg, Jens Widell
CC:
darktears, apavlov+blink_chromium.org, arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, Inactive, dglazkov+blink, ed+blinkwatch_opera.com, rwlbuis, vivekg_samsung
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[bindings] Support passing of ScriptState for namedPropertyQuery form of getter. Pass the ScriptState for the namedPropertyQuery form of the getter. R=haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194699

Patch Set 1 #

Total comments: 10

Patch Set 2 : ScriptState changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M Source/bindings/templates/interface.cpp View 1 2 chunks +7 lines, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
vivekg
PTAL, thanks!
5 years, 7 months ago (2015-04-29 08:46:52 UTC) #2
haraken
The approach looks good but this CL is doing multiple non-trivial things in one go. ...
5 years, 7 months ago (2015-04-29 15:53:46 UTC) #3
vivekg
On 2015/04/29 at 15:53:46, haraken wrote: > The approach looks good but this CL is ...
5 years, 7 months ago (2015-04-30 03:59:29 UTC) #4
haraken
LGTM
5 years, 7 months ago (2015-04-30 04:00:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1109323002/20001
5 years, 7 months ago (2015-04-30 04:01:10 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=194699
5 years, 7 months ago (2015-04-30 05:07:29 UTC) #8
Jens Widell
5 years, 7 months ago (2015-04-30 13:14:13 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/1109323002/diff/1/Source/core/css/CSSStyleDec...
File Source/core/css/CSSStyleDeclaration.cpp (right):

https://codereview.chromium.org/1109323002/diff/1/Source/core/css/CSSStyleDec...
Source/core/css/CSSStyleDeclaration.cpp:131:
setPropertyInternal(unresolvedProperty, propertyValue, false, exceptionState);
On 2015/04/29 15:53:45, haraken wrote:
> 
> Don't we need:
> 
>   if (exceptionState.throwIfNeeded())
>     return false;
> 
> ?

We do not. It's the outermost layer's job to actually throw; i.e. the generated
code that calls this function.

If necessary, this function could check 'exceptionState.hadException()' to bail
out early, but it's not necessary in this case since the generated code detects
an exception regardless of what this function returns, and since this function
does nothing more after this and thus has no need to bail out early.

Powered by Google App Engine
This is Rietveld 408576698