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

Issue 350683004: IDL: [Unforgeable] on operation should imply DontDelete+ReadOnly (Closed)

Created:
6 years, 6 months ago by Jens Widell
Modified:
6 years, 6 months ago
CC:
blink-reviews, watchdog-blink-watchlist_google.com, blink-reviews-bindings_chromium.org, arv+blink, Inactive, abarth-chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

IDL: [Unforgeable] on operation should imply DontDelete+ReadOnly Previously, the only effect of [Unforgeable] on an operation was to put the property on instance objects instead of on the prototype object. All actual unforgeable operations -- Location's assign(), replace(), reload(), toString() and valueOf() -- were additionally declared read- only using [ReadOnly], which as a side-effect also made the properties unconfigurable ("dont-delete"). This CL fixes [Unforgeable] on operations, and drops the then redundant [ReadOnly] attributes from Location.idl. No CG changes. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176940

Patch Set 1 #

Patch Set 2 : remove [ReadOnly] #

Patch Set 3 : rebased #

Patch Set 4 : rebased #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -103 lines) Patch
M Source/bindings/IDLExtendedAttributes.txt View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/scripts/v8_methods.py View 1 2 3 4 3 chunks +2 lines, -3 lines 0 comments Download
M Source/bindings/tests/idls/TestInterfaceCheckSecurity.idl View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/tests/idls/TestObject.idl View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp View 1 2 3 4 2 chunks +1 line, -56 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 2 3 4 3 chunks +1 line, -35 lines 0 comments Download
M Source/core/frame/Location.idl View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Jens Widell
Please review. Not that [Unforgeable] is likely to show up in many new IDL files, ...
6 years, 6 months ago (2014-06-23 12:56:10 UTC) #1
haraken
LGTM. According to the spec, [Unforgeable] attributes/operations should behave as non-configurable. So this change makes ...
6 years, 6 months ago (2014-06-23 13:10:00 UTC) #2
Jens Widell
On 2014/06/23 13:10:00, haraken wrote: > LGTM. > > According to the spec, [Unforgeable] attributes/operations ...
6 years, 6 months ago (2014-06-23 13:12:10 UTC) #3
haraken
On 2014/06/23 13:12:10, Jens Lindström wrote: > On 2014/06/23 13:10:00, haraken wrote: > > LGTM. ...
6 years, 6 months ago (2014-06-23 13:13:22 UTC) #4
Jens Widell
On 2014/06/23 13:13:22, haraken wrote: > On 2014/06/23 13:12:10, Jens Lindström wrote: > > On ...
6 years, 6 months ago (2014-06-23 13:22:35 UTC) #5
haraken
On 2014/06/23 13:22:35, Jens Lindström wrote: > On 2014/06/23 13:13:22, haraken wrote: > > On ...
6 years, 6 months ago (2014-06-23 13:23:10 UTC) #6
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-23 13:29:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/350683004/20001
6 years, 6 months ago (2014-06-23 13:29:39 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-23 14:27:17 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-23 14:29:38 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/8278)
6 years, 6 months ago (2014-06-23 14:29:39 UTC) #11
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-25 13:38:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/350683004/20001
6 years, 6 months ago (2014-06-25 13:40:02 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-25 13:40:11 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-25 13:40:12 UTC) #15
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-25 13:44:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/350683004/40001
6 years, 6 months ago (2014-06-25 13:44:58 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-25 14:47:36 UTC) #18
commit-bot: I haz the power
Failed to apply patch for Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-25 14:47:37 UTC) #19
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-25 14:51:28 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/350683004/60001
6 years, 6 months ago (2014-06-25 14:51:59 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-25 15:55:31 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-25 17:01:07 UTC) #23
commit-bot: I haz the power
Failed to apply patch for Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-25 17:01:08 UTC) #24
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 6 months ago (2014-06-25 17:08:03 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/350683004/80001
6 years, 6 months ago (2014-06-25 17:08:31 UTC) #26
commit-bot: I haz the power
6 years, 6 months ago (2014-06-25 18:09:54 UTC) #27
Message was sent while issue was closed.
Change committed as 176940

Powered by Google App Engine
This is Rietveld 408576698