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

Issue 14447006: Global constructors should be configurable and not enumerable (Closed)

Created:
7 years, 8 months ago by do-not-use
Modified:
7 years, 7 months ago
CC:
blink-reviews, Nate Chapin, abarth-chromium, lgombos
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Global constructors should be configurable and not enumerable Update bindings generator so that global constructors now have the following attributes: { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } instead of previously: { [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: false } The new behavior is according to the Web IDL specification (section 4.4): http://dev.w3.org/cvsweb/~checkout~/2006/webapi/WebIDL/Overview.html?rev=1.617;content-type=text%2Fhtml#es-interfaces This also matches the behavior of WebKit and Firefox. BUG=235020 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149104 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149170

Patch Set 1 #

Total comments: 5

Patch Set 2 : Take Arv's feedback into consideration #

Patch Set 3 : Add back global-constructors.js #

Patch Set 4 : Rebase on master #

Patch Set 5 : Rebase on master #

Patch Set 6 : Rebaseline DeviceOrientation test and upload with --no-find-copies #

Patch Set 7 : Add missing global-constructors.js #

Patch Set 8 : Clean rebase on master #

Messages

Total messages: 37 (0 generated)
do-not-use
7 years, 8 months ago (2013-04-24 15:17:38 UTC) #1
do-not-use
WebKit recently adopted this behavior in: https://bugs.webkit.org/show_bug.cgi?id=110573
7 years, 8 months ago (2013-04-24 15:21:44 UTC) #2
haraken
LGTM. This change looks safe, given the spec and the behavior of WebKit and Firefox. ...
7 years, 8 months ago (2013-04-24 15:23:53 UTC) #3
do-not-use
On 2013/04/24 15:23:53, haraken wrote: > LGTM. This change looks safe, given the spec and ...
7 years, 8 months ago (2013-04-24 15:34:00 UTC) #4
arv (Not doing code reviews)
https://codereview.chromium.org/14447006/diff/1/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js File LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js (right): https://codereview.chromium.org/14447006/diff/1/LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js#newcode15 LayoutTests/fast/dom/DeviceOrientation/script-tests/window-property.js:15: shouldBeFalse("hasDeviceOrientationEventProperty()"); The test on this line is a bit ...
7 years, 8 months ago (2013-04-24 15:34:08 UTC) #5
arv (Not doing code reviews)
On 2013/04/24 15:34:00, cdumez wrote: > On 2013/04/24 15:23:53, haraken wrote: > > LGTM. This ...
7 years, 8 months ago (2013-04-24 15:35:24 UTC) #6
do-not-use
On 2013/04/24 15:35:24, arv wrote: > On 2013/04/24 15:34:00, cdumez wrote: > > On 2013/04/24 ...
7 years, 8 months ago (2013-04-24 15:42:05 UTC) #7
do-not-use
On 2013/04/24 15:42:05, cdumez wrote: > On 2013/04/24 15:35:24, arv wrote: > > On 2013/04/24 ...
7 years, 8 months ago (2013-04-24 16:47:47 UTC) #8
arv (Not doing code reviews)
LGTM Thanks, this makes the diff of the tests much smaller.
7 years, 8 months ago (2013-04-24 17:07:07 UTC) #9
do-not-use
Could someone please cq+ ?
7 years, 8 months ago (2013-04-25 06:06:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14447006/2002
7 years, 8 months ago (2013-04-25 06:16:00 UTC) #11
commit-bot: I haz the power
Presubmit check for 14447006-2002 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-25 06:22:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14447006/2002
7 years, 8 months ago (2013-04-25 06:24:50 UTC) #13
commit-bot: I haz the power
Presubmit check for 14447006-2002 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-25 06:30:54 UTC) #14
eseidel
Very interesting. lgtm2.
7 years, 8 months ago (2013-04-25 06:42:55 UTC) #15
do-not-use
Not sure why the CQ fails so I tried rebasing.
7 years, 8 months ago (2013-04-25 08:11:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14447006/7011
7 years, 8 months ago (2013-04-25 08:14:43 UTC) #17
commit-bot: I haz the power
Presubmit check for 14447006-7011 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-25 08:20:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14447006/7011
7 years, 8 months ago (2013-04-25 08:21:43 UTC) #19
commit-bot: I haz the power
Presubmit check for 14447006-7011 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-25 08:27:46 UTC) #20
do-not-use
On 2013/04/25 08:27:46, I haz the power (commit-bot) wrote: > Presubmit check for 14447006-7011 failed ...
7 years, 7 months ago (2013-04-25 13:33:53 UTC) #21
haraken
I'll manually land it for you.
7 years, 7 months ago (2013-04-25 13:41:35 UTC) #22
haraken
Committed patchset #5 manually as r149104 (presubmit successful).
7 years, 7 months ago (2013-04-25 13:45:21 UTC) #23
do-not-use
On 2013/04/25 13:45:21, haraken wrote: > Committed patchset #5 manually as r149104 (presubmit successful). Thanks ...
7 years, 7 months ago (2013-04-25 13:52:17 UTC) #24
dglazkov
The concat-while-having-a-bad-time.html test has been failing ever since this patch landed.
7 years, 7 months ago (2013-04-25 17:13:12 UTC) #25
do-not-use
On 2013/04/25 17:13:12, Dimitri Glazkov wrote: > The concat-while-having-a-bad-time.html test has been failing ever since ...
7 years, 7 months ago (2013-04-25 17:22:51 UTC) #26
do-not-use
haraken: I don't know what happened but it appears my new test case was not ...
7 years, 7 months ago (2013-04-25 17:26:27 UTC) #27
haraken
> Should I upload a new CL to add them? I don't know why, but ...
7 years, 7 months ago (2013-04-25 17:28:22 UTC) #28
do-not-use
On 2013/04/25 17:28:22, haraken wrote: > > Should I upload a new CL to add ...
7 years, 7 months ago (2013-04-25 17:39:40 UTC) #29
haraken
I'm sorry for the confusions... The patch was reverted in r149118. Would you rebaseline the ...
7 years, 7 months ago (2013-04-25 19:13:06 UTC) #30
do-not-use
On 2013/04/25 19:13:06, haraken wrote: > I'm sorry for the confusions... The patch was reverted ...
7 years, 7 months ago (2013-04-25 19:41:36 UTC) #31
do-not-use
On 2013/04/25 19:41:36, cdumez wrote: > On 2013/04/25 19:13:06, haraken wrote: > > I'm sorry ...
7 years, 7 months ago (2013-04-25 19:43:29 UTC) #32
do-not-use
On 2013/04/25 19:43:29, cdumez wrote: > On 2013/04/25 19:41:36, cdumez wrote: > > On 2013/04/25 ...
7 years, 7 months ago (2013-04-25 20:08:55 UTC) #33
eseidel
Filed https://code.google.com/p/chromium/issues/detail?id=235564 about the rietveld display issue.
7 years, 7 months ago (2013-04-25 20:21:21 UTC) #34
haraken
LGTM. Re-landing.
7 years, 7 months ago (2013-04-26 06:33:14 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14447006/26012
7 years, 7 months ago (2013-04-26 06:33:36 UTC) #36
commit-bot: I haz the power
7 years, 7 months ago (2013-04-26 06:34:11 UTC) #37
Message was sent while issue was closed.
Change committed as 149170

Powered by Google App Engine
This is Rietveld 408576698