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

Issue 5011047: Closure compiler optimizes away html_sanitize too aggressively (Closed)

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

Description

Changed html_sanitize to be exported using closure friendly convention @4626

Patch Set 1 #

Patch Set 2 : Closure compiler optimizes away html_sanitize too aggressively #

Patch Set 3 : Closure compiler optimizes away html_sanitize too aggressively #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/com/google/caja/plugin/html-sanitizer.js View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Jasvir
14 years, 9 months ago (2011-09-14 20:43:28 UTC) #1
MikeSamuel
LGTM 2011/9/14 <jasvir@gmail.com>: > Reviewers: MikeSamuel, > > Description: > Changed html_sanitize to be exported ...
14 years, 9 months ago (2011-09-14 20:45:33 UTC) #2
MikeSamuel
14 years, 9 months ago (2011-09-14 20:49:55 UTC) #3
LGTM with html -> window['html'] as well.

2011/9/14 Mike Samuel <mikesamuel@gmail.com>:
> LGTM
>
> 2011/9/14  <jasvir@gmail.com>:
>> Reviewers: MikeSamuel,
>>
>> Description:
>> Changed html_sanitize to be exported using closure friendly convention
>>
>> Please review this at http://codereview.appspot.com/5011047/
>>
>> Affected files:
>>  M     src/com/google/caja/plugin/html-sanitizer.js
>>
>>
>> Index: src/com/google/caja/plugin/html-sanitizer.js
>> ===================================================================
>> --- src/com/google/caja/plugin/html-sanitizer.js        (revision 4623)
>> +++ src/com/google/caja/plugin/html-sanitizer.js        (working copy)
>> @@ -562,4 +562,4 @@
>>   };
>>  })(html4);
>>
>> -var html_sanitize = html.sanitize;
>> +window['html_sanitize'] = html.sanitize;
>>
>>
>>
>
Sign in to reply to this message.

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