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

Issue 188160043: No longer requires poison on each function (Closed)

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

Description

https://code.google.com/p/google-caja/issues/detail?id=1947 reports that SES does not work on FF34. The reason is that FF now (at least approximately) implements https://bugs.ecmascript.org/show_bug.cgi?id=3113#c18 , where Function.prototype has deletable .caller and .argument accessor properties, but no other functions have these as own properties. In this situation, the safest thing to do is just delete these from Function.prototype, and thereafter not treat these names as special.

Patch Set 1 #

Patch Set 2 : No longer requires poison on each function #

Total comments: 4

Patch Set 3 : No longer requires poison on each function #

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

Messages

Total messages: 7
MarkM
9 years, 4 months ago (2014-12-14 09:43:45 UTC) #1
MarkM
https://code.google.com/p/google-caja/issues/detail?id=1947 reports that SES does not work on FF34. The reason is that FF now ...
9 years, 4 months ago (2014-12-14 09:45:26 UTC) #2
kpreid2
https://codereview.appspot.com/188160043/diff/20001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/188160043/diff/20001/src/com/google/caja/ses/repairES5.js#newcode34 src/com/google/caja/ses/repairES5.js:34: * //provides ses.noFuncPoison By the way, I think it ...
9 years, 4 months ago (2014-12-14 17:33:32 UTC) #3
kpreid2
LGTM (forgot to say in previous message)
9 years, 4 months ago (2014-12-14 17:33:54 UTC) #4
MarkM
https://code.google.com/p/google-caja/issues/detail?id=1947 reports that SES does not work on FF34. The reason is that FF now ...
9 years, 4 months ago (2014-12-15 01:17:19 UTC) #5
MarkM
https://codereview.appspot.com/188160043/diff/20001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/188160043/diff/20001/src/com/google/caja/ses/repairES5.js#newcode34 src/com/google/caja/ses/repairES5.js:34: * //provides ses.noFuncPoison On 2014/12/14 17:33:31, kpreid2 wrote: > ...
9 years, 4 months ago (2014-12-15 01:21:26 UTC) #6
kpreid2
9 years, 4 months ago (2014-12-15 02:19:36 UTC) #7
Message was sent while issue was closed.
LGTM
Sign in to reply to this message.

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