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

Issue 6241043: Adds special cases to the taming membrane for builtins. (Closed)

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

Description

Adds special cases for Boolean, Date, Number, RegExp, and String to the taming membrane. Also whitelists toString and valueOf on Boolean.prototype. (No one ever noticed they were missing.)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M src/com/google/caja/es53.js View 1 chunk +6 lines, -0 lines 0 comments Download
M src/com/google/caja/plugin/taming-membrane.js View 1 chunk +13 lines, -2 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-taming-untamed-guest.html View 1 chunk +11 lines, -4 lines 0 comments Download

Messages

Total messages: 2
metaweta
13 years, 10 months ago (2012-05-23 22:09:28 UTC) #1
ihab.awad
13 years, 10 months ago (2012-05-23 22:23:23 UTC) #2
lgtm
Sign in to reply to this message.

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