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

Issue 77723003: [DoNotCheckSecurity=Getter] => [DoNotCheckSecurity] (Closed)

Created:
7 years, 1 month ago by Nils Barth (inactive)
Modified:
7 years, 1 month ago
Reviewers:
haraken
CC:
blink-reviews, arv+blink, Inactive, watchdog-blink-watchlist_google.comcodeaurora.org, kouhei (in TOK)
Visibility:
Public.

Description

[DoNotCheckSecurity=Getter] => [DoNotCheckSecurity] [DoNotCheckSecurity=Getter] is used only one place (Window.opener), and can be eliminated, as the Setter is custom, and checks security there (V8WindowCustom.cpp). Note that this makes the access control list misleading. [DoNotCheckSecurity=Setter] is only used one place (Location.href), but this is a real exception, so we have to keep it. Adding a comment to explain why (changes page, so ok to set). Updated docs: https://sites.google.com/a/chromium.org/dev/blink/webidl/blink-idl-extended-attributes#TOC-DoNotCheckSecurity-m-a- Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162355

Patch Set 1 #

Patch Set 2 : Comment #

Patch Set 3 : Python #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -34 lines) Patch
M Source/bindings/IDLExtendedAttributes.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/scripts/unstable/v8_attributes.py View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M Source/bindings/tests/idls/TestObjectPython.idl View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/tests/results/V8TestObjectPython.cpp View 1 2 2 chunks +0 lines, -28 lines 0 comments Download
M Source/core/frame/Location.idl View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/frame/Window.idl View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Nils Barth (inactive)
Test CL to check what happens if we remove the identifiers. Alternatively, for href may ...
7 years, 1 month ago (2013-11-20 08:00:43 UTC) #1
haraken
What's the difference in generated code? If we have any difference in generated code, we ...
7 years, 1 month ago (2013-11-20 08:02:59 UTC) #2
Nils Barth (inactive)
On 2013/11/20 08:02:59, haraken wrote: > What's the difference in generated code? > > If ...
7 years, 1 month ago (2013-11-20 08:13:29 UTC) #3
haraken
> There is a difference, specifically the access control list, as noted in other > ...
7 years, 1 month ago (2013-11-20 08:18:39 UTC) #4
Nils Barth (inactive)
On 2013/11/20 08:18:39, haraken wrote: > Thanks for digging into this. n/p! > hmm, it's ...
7 years, 1 month ago (2013-11-20 08:39:28 UTC) #5
haraken
On 2013/11/20 08:39:28, Nils Barth wrote: > On 2013/11/20 08:18:39, haraken wrote: > > Thanks ...
7 years, 1 month ago (2013-11-20 08:54:55 UTC) #6
Nils Barth (inactive)
On 2013/11/20 08:54:55, haraken wrote: > On 2013/11/20 08:39:28, Nils Barth wrote: > > On ...
7 years, 1 month ago (2013-11-20 09:10:20 UTC) #7
haraken
Great, thanks for the comment. That makes sense. LGTM.
7 years, 1 month ago (2013-11-20 09:15:53 UTC) #8
haraken
Also it would be great if you add similar comments to Window.idl about why [DoNotCheckSecurity] ...
7 years, 1 month ago (2013-11-20 09:17:11 UTC) #9
Nils Barth (inactive)
On 2013/11/20 09:17:11, haraken wrote: > Also it would be great if you add similar ...
7 years, 1 month ago (2013-11-20 09:29:30 UTC) #10
haraken
On 2013/11/20 09:29:30, Nils Barth wrote: > On 2013/11/20 09:17:11, haraken wrote: > > Also ...
7 years, 1 month ago (2013-11-20 09:30:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/77723003/160001
7 years, 1 month ago (2013-11-20 09:30:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/77723003/160001
7 years, 1 month ago (2013-11-20 09:31:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/77723003/160001
7 years, 1 month ago (2013-11-20 09:33:57 UTC) #14
Nils Barth (inactive)
On 2013/11/20 09:30:26, haraken wrote: > On 2013/11/20 09:29:30, Nils Barth wrote: > > Shall ...
7 years, 1 month ago (2013-11-20 09:34:25 UTC) #15
haraken
On 2013/11/20 09:34:25, Nils Barth wrote: > On 2013/11/20 09:30:26, haraken wrote: > > On ...
7 years, 1 month ago (2013-11-20 09:35:56 UTC) #16
Nils Barth (inactive)
On 2013/11/20 09:35:56, haraken wrote: > One good news is that the security binding code ...
7 years, 1 month ago (2013-11-20 09:38:44 UTC) #17
commit-bot: I haz the power
7 years, 1 month ago (2013-11-20 10:58:41 UTC) #18
Message was sent while issue was closed.
Change committed as 162355

Powered by Google App Engine
This is Rietveld 408576698