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

Issue 1967453002: Always check that a Name is a String before converting it. (Closed)

Created:
4 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 7 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-style_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always check that a Name is a String before converting it. BUG=608662 R=haraken@chromium.org Committed: https://crrev.com/544ea1e08ba0f678208e3c468aa576358ab542fb Cr-Commit-Position: refs/heads/master@{#392567}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -0 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface.cpp View 5 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 4 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 4 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 4 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp View 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 4 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
jochen (gone - plz use gerrit)
4 years, 7 months ago (2016-05-10 07:29:53 UTC) #1
haraken
LGTM
4 years, 7 months ago (2016-05-10 08:08:54 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967453002/1
4 years, 7 months ago (2016-05-10 08:10:55 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-10 08:50:09 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/544ea1e08ba0f678208e3c468aa576358ab542fb Cr-Commit-Position: refs/heads/master@{#392567}
4 years, 7 months ago (2016-05-10 08:51:16 UTC) #7
esprehn
Can we code generate this into namedPropertyGetterCallback instead? Also can we get a test?
4 years, 7 months ago (2016-05-11 23:45:27 UTC) #8
Yuki
On 2016/05/11 23:45:27, esprehn wrote: > Can we code generate this into namedPropertyGetterCallback instead? Also ...
4 years, 7 months ago (2016-05-18 08:58:52 UTC) #9
haraken
On 2016/05/18 08:58:52, Yuki wrote: > On 2016/05/11 23:45:27, esprehn wrote: > > Can we ...
4 years, 7 months ago (2016-05-18 09:00:37 UTC) #10
Yuki
4 years, 7 months ago (2016-05-18 09:02:20 UTC) #11
Message was sent while issue was closed.
On 2016/05/18 09:00:37, haraken wrote:
> On 2016/05/18 08:58:52, Yuki wrote:
> > On 2016/05/11 23:45:27, esprehn wrote:
> > > Can we code generate this into namedPropertyGetterCallback instead? Also
can
> > we
> > > get a test?
> > 
> > I'm preparing a CL to code generate it into namedPropertyXxxCallback
> > at http://crrev.com/1993593003 .
> > 
> > I don't understand why non-Strings are passed to the callback, nor a test
> case.
> > 
> > The binding layer specifies v8::PropertyHandlerFlags::kOnlyInterceptStrings,
> so
> > non-Strings (e.g. Symbol) should not be passed to the binding callbacks. 
> > Weird...  jochen@, what do you think?
> 
> FWIW, jochen is OOO for two weeks.

I'm okay to wait for two weeks.  This is not urgent.

Powered by Google App Engine
This is Rietveld 408576698