Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(306)

Issue 6495102: setting .length can delete non-configurable properties (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by felix8a
Modified:
13 years, 7 months ago
Reviewers:
MarkM, metaweta
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Setting a.length can delete non-configurable properties of a. This is fixed in current versions of firefox and safari, but Chrome Canary still has this bug. So this adds a test for that in repairES5.js. This is similar to the pop() ignores frozenness problem, but Chrome passes the pop test and fails this test.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M src/com/google/caja/ses/repairES5.js View 2 chunks +25 lines, -0 lines 1 comment Download

Messages

Total messages: 5
felix8a
13 years, 7 months ago (2012-09-06 21:40:44 UTC) #1
MarkM
LGTM
13 years, 7 months ago (2012-09-06 21:59:35 UTC) #2
MarkM
https://codereview.appspot.com/6495102/diff/1/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/6495102/diff/1/src/com/google/caja/ses/repairES5.js#newcode2959 src/com/google/caja/ses/repairES5.js:2959: tests: [] // TODO(erights): Add to test262 There are ...
13 years, 7 months ago (2012-09-06 22:06:33 UTC) #3
felix8a
@r5037
13 years, 7 months ago (2012-09-06 22:10:48 UTC) #4
felix8a
13 years, 7 months ago (2012-09-06 22:19:46 UTC) #5

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b