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

Issue 44260044: Repair and whitelisting for IE 11. (Closed)

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

Description

* IE 11 has a native WeakMap, but it silently fails to accept frozen keys. Our DoubleWeakMap patch can handle that, but had to be taught about the exact problem. * IE 11's typed arrays' prototypes have zero-length ArrayBuffers in .buffer data properties. This is harmless but was rejected; we now have a 'maybeAccessor' whitelist symbol. ('accessor' is gone because it has no uses; we can restore it in the future if needed). There are still Caja test failures in IE 11; these changes merely allow SES startup to succeed. @r5650

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -35 lines) Patch
M src/com/google/caja/ses/WeakMap.js View 5 chunks +44 lines, -10 lines 8 comments Download
M src/com/google/caja/ses/startSES.js View 3 chunks +7 lines, -14 lines 0 comments Download
M src/com/google/caja/ses/whitelist.js View 4 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 5
kpreid2
12 years, 2 months ago (2013-12-20 00:26:07 UTC) #1
MarkM
https://codereview.appspot.com/44260044/diff/1/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/44260044/diff/1/src/com/google/caja/ses/WeakMap.js#newcode157 src/com/google/caja/ses/WeakMap.js:157: // IE 11 bug: WeakMaps silently fail to store ...
12 years, 2 months ago (2013-12-20 01:00:26 UTC) #2
kpreid2
No new snapshot, but need some input on which direction to go (see both long ...
12 years, 2 months ago (2013-12-20 18:36:19 UTC) #3
MarkM
https://codereview.appspot.com/44260044/diff/1/src/com/google/caja/ses/WeakMap.js File src/com/google/caja/ses/WeakMap.js (right): https://codereview.appspot.com/44260044/diff/1/src/com/google/caja/ses/WeakMap.js#newcode157 src/com/google/caja/ses/WeakMap.js:157: // IE 11 bug: WeakMaps silently fail to store ...
12 years, 2 months ago (2013-12-20 20:13:46 UTC) #4
MarkM
12 years, 2 months ago (2013-12-20 20:14:08 UTC) #5
LGTM
Sign in to reply to this message.

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