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

Issue 124480043: Test array generic for readonly property violations and repair some (Closed)

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

Description

Test array generic for readonly property violations and repair some

Patch Set 1 #

Total comments: 6

Patch Set 2 : Test array generic for readonly property violations and repair some #

Total comments: 10

Patch Set 3 : Test array generic for readonly property violations and repair some #

Total comments: 2

Patch Set 4 : Test array generic for readonly property violations and repair some #

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

Messages

Total messages: 7
MarkM
11 years, 6 months ago (2014-08-16 00:04:37 UTC) #1
kpreid2
https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js#newcode2176 src/com/google/caja/ses/repairES5.js:2176: function test_SPLICE_IGNORES_READONLY() { Because these have such uniform structure, ...
11 years, 6 months ago (2014-08-16 01:35:54 UTC) #2
MarkM
PTAL https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js#newcode2176 src/com/google/caja/ses/repairES5.js:2176: function test_SPLICE_IGNORES_READONLY() { On 2014/08/16 01:35:53, kpreid2 wrote: ...
11 years, 6 months ago (2014-08-18 14:00:00 UTC) #3
kpreid_google
https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js#newcode4573 src/com/google/caja/ses/repairES5.js:4573: preSeverity: severities.UNSAFE_SPEC_VIOLATION, On 2014/08/18 14:00:00, MarkM wrote: > On ...
11 years, 6 months ago (2014-08-18 19:14:03 UTC) #4
MarkM
https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/124480043/diff/1/src/com/google/caja/ses/repairES5.js#newcode4573 src/com/google/caja/ses/repairES5.js:4573: preSeverity: severities.UNSAFE_SPEC_VIOLATION, On 2014/08/18 19:14:03, kpreid_google wrote: > On ...
11 years, 6 months ago (2014-08-18 20:28:43 UTC) #5
kpreid_google
LGTM https://codereview.appspot.com/124480043/diff/40001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/124480043/diff/40001/src/com/google/caja/ses/repairES5.js#newcode3299 src/com/google/caja/ses/repairES5.js:3299: baseSplice.apply(this, baseConcat.call([0, 1], [])); Isn't this equivalent to ...
11 years, 6 months ago (2014-08-18 21:03:38 UTC) #6
MarkM
11 years, 6 months ago (2014-08-18 21:50:04 UTC) #7
https://codereview.appspot.com/124480043/diff/40001/src/com/google/caja/ses/r...
File src/com/google/caja/ses/repairES5.js (right):

https://codereview.appspot.com/124480043/diff/40001/src/com/google/caja/ses/r...
src/com/google/caja/ses/repairES5.js:3299: baseSplice.apply(this,
baseConcat.call([0, 1], []));
On 2014/08/18 21:03:38, kpreid_google wrote:
> Isn't this equivalent to baseSplice.call(this, 0, 1)?

Doh! Yes. Done.
Sign in to reply to this message.

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