Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Issue 1139933002: Prototype an 'allow-unsandboxed-auxiliary' sandbox flag. (Closed)

Created:
5 years, 7 months ago by Mike West
Modified:
5 years, 7 months ago
Reviewers:
philipj_slow
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Prototype an 'allow-unsandboxed-auxiliary' sandbox flag. This is a new flag for `<iframe sandbox="...">` which will allow a sandboxed document to spawn new windows without forcing the sandboxing flags upon them. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon a landing page. Intent to Implement: https://groups.google.com/a/chromium.org/d/msg/blink-dev/ZOhUntjhc94/EEXYKs9k1bgJ BUG=487157 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195302

Patch Set 1 #

Total comments: 5

Patch Set 2 : Feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
A + LayoutTests/http/tests/security/sandbox-inherit-to-blank-document-unsandboxed.html View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/SandboxFlags.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/SandboxFlags.cpp View 1 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/page/CreateWindow.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Mike West
Hey Philip, WDYT (both of the patch, and the Intent)? :) -mike
5 years, 7 months ago (2015-05-12 11:02:03 UTC) #2
philipj_slow
lgtm https://codereview.chromium.org/1139933002/diff/1/Source/core/dom/SandboxFlags.cpp File Source/core/dom/SandboxFlags.cpp (right): https://codereview.chromium.org/1139933002/diff/1/Source/core/dom/SandboxFlags.cpp#newcode70 Source/core/dom/SandboxFlags.cpp:70: if (RuntimeEnabledFeatures::unsandboxedAuxiliaryEnabled()) Should this check not be moved ...
5 years, 7 months ago (2015-05-13 10:36:19 UTC) #3
Mike West
https://codereview.chromium.org/1139933002/diff/1/Source/core/dom/SandboxFlags.cpp File Source/core/dom/SandboxFlags.cpp (right): https://codereview.chromium.org/1139933002/diff/1/Source/core/dom/SandboxFlags.cpp#newcode70 Source/core/dom/SandboxFlags.cpp:70: if (RuntimeEnabledFeatures::unsandboxedAuxiliaryEnabled()) On 2015/05/13 at 10:36:19, philipj_UTC2 wrote: > ...
5 years, 7 months ago (2015-05-13 11:22:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139933002/20001
5 years, 7 months ago (2015-05-13 11:22:15 UTC) #7
philipj_slow
https://codereview.chromium.org/1139933002/diff/1/Source/core/page/CreateWindow.cpp File Source/core/page/CreateWindow.cpp (right): https://codereview.chromium.org/1139933002/diff/1/Source/core/page/CreateWindow.cpp#newcode121 Source/core/page/CreateWindow.cpp:121: if (openerFrame.document()->isSandboxed(SandboxUnsandboxedAuxiliary)) On 2015/05/13 11:22:01, Mike West wrote: > ...
5 years, 7 months ago (2015-05-13 12:29:04 UTC) #8
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 12:41:08 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195302

Powered by Google App Engine
This is Rietveld 408576698