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

Issue 287160043: Whitelist iterator.next unconditionally (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 2 months ago by MarkM
Modified:
8 years, 2 months ago
Reviewers:
kpreid_google
CC:
google-caja-discuss_googlegroups.com
Visibility:
Public.

Description

Technically, for SES-on-ES5, we should not need to whitelist 'next'. However, browsers are accidentally relying on it https://bugs.chromium.org/p/v8/issues/detail?id=4769# https://bugs.webkit.org/show_bug.cgi?id=154475 and we will be whitelisting it as we transition to ES6 anyway, so we unconditionally whitelist it now.

Patch Set 1 #

Patch Set 2 : Whitelist iterator.next unconditionally #

Patch Set 3 : Whitelist iterator.next unconditionally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -99 lines) Patch
M src/com/google/caja/ses/repairES5.js View 1 2 4 chunks +2 lines, -60 lines 0 comments Download
M src/com/google/caja/ses/startSES.js View 1 4 chunks +1 line, -30 lines 0 comments Download
M src/com/google/caja/ses/whitelist.js View 3 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 5
MarkM
8 years, 2 months ago (2016-02-20 00:58:16 UTC) #1
MarkM
Technically, for SES-on-ES5, we should not need to whitelist 'next'. However, browsers are accidentally relying ...
8 years, 2 months ago (2016-02-22 22:32:57 UTC) #2
MarkM
New snapshot, mostly getting rid of code that's no longer needed.
8 years, 2 months ago (2016-02-22 22:34:00 UTC) #3
kpreid_google
LGTM
8 years, 2 months ago (2016-02-22 23:28:04 UTC) #4
MarkM
8 years, 2 months ago (2016-02-23 02:47:46 UTC) #5
Technically, for SES-on-ES5, we should not need to whitelist
'next'. However, browsers are accidentally relying on it
https://bugs.chromium.org/p/v8/issues/detail?id=4769#
https://bugs.webkit.org/show_bug.cgi?id=154475 and we will be
whitelisting it as we transition to ES6 anyway, so we unconditionally
whitelist it now.

We also get rid of _optForeignForIn and
CROSS_FRAME_FOR_IN_NEEDS_INHERITED_NEXT since these are no longer
needed.
Merging two unrelated changes
Sign in to reply to this message.

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