Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29451568: Issue 4494 - Avoid causing some sandbox related warnings (Closed)

Created:
May 30, 2017, 9:22 a.m. by kzar
Modified:
May 31, 2017, 11:06 a.m.
Reviewers:
Sebastian Noack
CC:
Thomas Greiner
Visibility:
Public.

Description

Issue 4494 - Avoid causing some sandbox related warnings

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix indentation #

Patch Set 3 : Use regexp, ignore case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M inject.preload.js View 1 2 1 chunk +12 lines, -6 lines 0 comments Download

Messages

Total messages: 10
kzar
Patch Set 1 This obviously won't solve the problem completely but it should reduce the ...
May 30, 2017, 9:24 a.m. (2017-05-30 09:24:05 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js File inject.preload.js (right): https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js#newcode391 inject.preload.js:391: window.frameElement.getAttribute("sandbox"); Nit: The indentation looks a bit off here. ...
May 30, 2017, 9:41 a.m. (2017-05-30 09:41:16 UTC) #2
kzar
For reference I was initially interested in this issue since I figured there might be ...
May 30, 2017, 9:48 a.m. (2017-05-30 09:48:51 UTC) #3
Sebastian Noack
On 2017/05/30 09:48:51, kzar wrote: > For reference I was initially interested in this issue ...
May 30, 2017, 10:03 a.m. (2017-05-30 10:03:00 UTC) #4
kzar
On 2017/05/30 10:03:00, Sebastian Noack wrote: > Do we even have to bother about frames ...
May 30, 2017, 10:17 a.m. (2017-05-30 10:17:20 UTC) #5
kzar
Patch Set 2 : Fix indentation https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js File inject.preload.js (right): https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js#newcode391 inject.preload.js:391: window.frameElement.getAttribute("sandbox"); On 2017/05/30 ...
May 30, 2017, 10:20 a.m. (2017-05-30 10:20:31 UTC) #6
Sebastian Noack
https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js File inject.preload.js (right): https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js#newcode392 inject.preload.js:392: if (typeof sandbox != "string" || sandbox.includes("allow-scripts")) On 2017/05/30 ...
May 30, 2017, 10:36 a.m. (2017-05-30 10:36:46 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js File inject.preload.js (right): https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js#newcode392 inject.preload.js:392: if (typeof sandbox != "string" || sandbox.includes("allow-scripts")) On 2017/05/30 ...
May 30, 2017, 10:43 a.m. (2017-05-30 10:43:34 UTC) #8
kzar
Patch Set 3 : Use regexp, ignore case https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js File inject.preload.js (right): https://codereview.adblockplus.org/29451568/diff/29451569/inject.preload.js#newcode392 inject.preload.js:392: if ...
May 30, 2017, 12:27 p.m. (2017-05-30 12:27:15 UTC) #9
Sebastian Noack
May 30, 2017, 2:18 p.m. (2017-05-30 14:18:54 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld