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

Issue 257910043: [APICHANGE] Fix inconsistent defaults of SES mitigation resolveOptions. (Closed)

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

Description

Previously, if the mitigation options were absent (null or undefined value), the parseFunctionBody option would be taken as true, but if an options record were provided without the parseFunctionBody property, it would be taken as false. Resolved this inconsistency in the direction of parseFunctionBody defaulting to false. @ 962c28551fefe6ab6c8c45037fae55254f1459f9

Patch Set 1 #

Total comments: 2

Patch Set 2 : [APICHANGE] Fix inconsistent defaults of SES mitigation resolveOptions. #

Total comments: 2

Patch Set 3 : [APICHANGE] Fix inconsistent defaults of SES mitigation resolveOptions. #

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

Messages

Total messages: 8
kpreid_google
8 years, 9 months ago (2015-07-23 17:05:14 UTC) #1
MarkM
LGTM https://codereview.appspot.com/257910043/diff/1/src/com/google/caja/ses/startSES.js File src/com/google/caja/ses/startSES.js (right): https://codereview.appspot.com/257910043/diff/1/src/com/google/caja/ses/startSES.js#newcode308 src/com/google/caja/ses/startSES.js:308: if (opt_mitigateOpts === undefined || opt_mitigateOpts === null) ...
8 years, 9 months ago (2015-07-23 19:17:37 UTC) #2
kpreid_google
Previously, if the mitigation options were absent (null or undefined value), the parseFunctionBody option would ...
8 years, 9 months ago (2015-07-23 19:20:04 UTC) #3
kpreid_google
https://codereview.appspot.com/257910043/diff/1/src/com/google/caja/ses/startSES.js File src/com/google/caja/ses/startSES.js (right): https://codereview.appspot.com/257910043/diff/1/src/com/google/caja/ses/startSES.js#newcode308 src/com/google/caja/ses/startSES.js:308: if (opt_mitigateOpts === undefined || opt_mitigateOpts === null) { ...
8 years, 9 months ago (2015-07-23 19:21:36 UTC) #4
MarkM
https://codereview.appspot.com/257910043/diff/20001/src/com/google/caja/lang/html/html5-attributes-whitelist.json File src/com/google/caja/lang/html/html5-attributes-whitelist.json (left): https://codereview.appspot.com/257910043/diff/20001/src/com/google/caja/lang/html/html5-attributes-whitelist.json#oldcode67 src/com/google/caja/lang/html/html5-attributes-whitelist.json:67: "METER::OPTIMUM", Why does this line disappear in patch set ...
8 years, 9 months ago (2015-07-23 19:26:39 UTC) #5
kpreid_google
Previously, if the mitigation options were absent (null or undefined value), the parseFunctionBody option would ...
8 years, 9 months ago (2015-07-23 19:30:38 UTC) #6
kpreid_google
Fixed apparent reverts. (this is why we need a new workflow script...)
8 years, 9 months ago (2015-07-23 19:31:27 UTC) #7
MarkM
8 years, 9 months ago (2015-07-23 19:32:40 UTC) #8
Back to LGTM
Sign in to reply to this message.

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