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

Issue 9034046: whitelist regexp.options for ses on IE10 (Closed)

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

Description

IE10 has a magic readonly property RegExp.prototype.options that's a string of the regexp's options. For instance, /foo/i.options === "i". .options appears to be immune to deletion and poisoning, which causes ses to give up on IE10. This seems to be the only thing preventing ses/es5 from running on IE10. I don't see any reason to treat .options different from the other magic regexp properties, so I'm adding it to the whitelist.

Patch Set 1 #

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

Messages

Total messages: 4
felix8a
12 years, 10 months ago (2013-05-01 06:43:50 UTC) #1
Jasvir
LGTM
12 years, 10 months ago (2013-05-01 09:06:02 UTC) #2
MarkM
LGTM
12 years, 10 months ago (2013-05-01 12:35:43 UTC) #3
kpreid2
12 years, 10 months ago (2013-05-01 16:57:43 UTC) #4
LGTM
Sign in to reply to this message.

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