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

Issue 121970043: An emulated function should have the same name and length as the original. (Closed)

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

Description

An emulated function should have the same name and length as the original. Fixes https://code.google.com/p/google-caja/issues/detail?id=1928 .

Patch Set 1 #

Patch Set 2 : An emulated function should have the same length as the original. #

Total comments: 4

Patch Set 3 : An emulated function should have the same length as the original. #

Patch Set 4 : An emulated function should have the same length as the original. #

Patch Set 5 : An emulated function should have the same length as the original. #

Total comments: 6

Patch Set 6 : An emulated function should have the same length as the original. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -27 lines) Patch
M src/com/google/caja/plugin/ses-frame-group.js View 1 chunk +1 line, -0 lines 0 comments Download
M src/com/google/caja/plugin/taming-membrane.js View 7 chunks +15 lines, -6 lines 0 comments Download
M src/com/google/caja/ses/repairES5.js View 1 2 3 4 5 5 chunks +204 lines, -18 lines 0 comments Download
M tests/com/google/caja/plugin/test-scan-core.js View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16
MarkM
Intended to fix Doesn't work yet.
11 years, 7 months ago (2014-08-03 02:12:30 UTC) #1
kpreid2
LGTM, please note request for performance measurement https://codereview.appspot.com/121970043/diff/20001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/121970043/diff/20001/src/com/google/caja/ses/repairES5.js#newcode664 src/com/google/caja/ses/repairES5.js:664: var makeStandin ...
11 years, 7 months ago (2014-08-03 02:28:29 UTC) #2
MarkM
Intended to fix Doesn't work yet.
11 years, 7 months ago (2014-08-03 16:42:56 UTC) #3
MarkM
PTAL https://codereview.appspot.com/121970043/diff/20001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/121970043/diff/20001/src/com/google/caja/ses/repairES5.js#newcode664 src/com/google/caja/ses/repairES5.js:664: var makeStandin = unsafeEval(makeStandinSrc); On 2014/08/03 02:28:28, kpreid2 ...
11 years, 7 months ago (2014-08-03 16:46:58 UTC) #4
MarkM
Intended to fix Doesn't work yet.
11 years, 7 months ago (2014-08-03 18:18:34 UTC) #5
MarkM
Took case or the .name TODO. It now does both .name and .length
11 years, 7 months ago (2014-08-03 18:19:44 UTC) #6
MarkM
So PTAL++
11 years, 7 months ago (2014-08-03 18:20:30 UTC) #7
MarkM
On 2014/08/03 18:19:44, MarkM wrote: > Took case or the .name TODO. It now does ...
11 years, 7 months ago (2014-08-03 18:23:04 UTC) #8
MarkM
Intended to fix Doesn't work yet.
11 years, 7 months ago (2014-08-03 19:14:42 UTC) #9
kpreid2
LGTM https://codereview.appspot.com/121970043/diff/80001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/121970043/diff/80001/src/com/google/caja/ses/repairES5.js#newcode704 src/com/google/caja/ses/repairES5.js:704: cacheLine = standinMakerCache.get((standinName = 'standin')); Please put the ...
11 years, 7 months ago (2014-08-04 16:54:26 UTC) #10
MarkM
Intended to fix Doesn't work yet.
11 years, 7 months ago (2014-08-04 17:23:31 UTC) #11
MarkM
https://codereview.appspot.com/121970043/diff/80001/src/com/google/caja/ses/repairES5.js File src/com/google/caja/ses/repairES5.js (right): https://codereview.appspot.com/121970043/diff/80001/src/com/google/caja/ses/repairES5.js#newcode704 src/com/google/caja/ses/repairES5.js:704: cacheLine = standinMakerCache.get((standinName = 'standin')); On 2014/08/04 16:54:26, kpreid2 ...
11 years, 7 months ago (2014-08-04 17:25:25 UTC) #12
kpreid2
Oops. I forgot to mention: the change description needed to be updated!
11 years, 7 months ago (2014-08-04 17:33:17 UTC) #13
MarkM
On 2014/08/04 17:33:17, kpreid2 wrote: > Oops. I forgot to mention: the change description needed ...
11 years, 7 months ago (2014-08-04 17:36:56 UTC) #14
kpreid_google
On Mon, Aug 4, 2014 at 10:36 AM, <erights@gmail.com> wrote: > On 2014/08/04 17:33:17, kpreid2 ...
11 years, 7 months ago (2014-08-04 17:49:49 UTC) #15
Mark S. Miller
11 years, 7 months ago (2014-08-04 17:51:00 UTC) #16
understood


On Mon, Aug 4, 2014 at 10:49 AM, 'Kevin Reid' via Google Caja Discuss <
google-caja-discuss@googlegroups.com> wrote:

> On Mon, Aug 4, 2014 at 10:36 AM, <erights@gmail.com> wrote:
>
>> On 2014/08/04 17:33:17, kpreid2 wrote:
>>
>>> Oops. I forgot to mention: the change description needed to be
>>>
>> updated!
>>
>> I am surprised that it let me edit after the issue was closed, but it
>> did. Done.
>
>
> That doesn't modify the SVN commit message, which is approximately
> immutable. If you're going to write draft descriptions like "doesn't work",
> please make sure to check that the description is accurate before
> committing.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Google Caja Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-caja-discuss+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
    Cheers,
    --MarkM
Sign in to reply to this message.

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