Index: Source/core/page/CreateWindow.cpp |
diff --git a/Source/core/page/CreateWindow.cpp b/Source/core/page/CreateWindow.cpp |
index 6eed43947714ea6c10c8327c63fdd8a65c2cfa5c..f388df34f5c9b987a6d08bd4f565eba86e96ba33 100644 |
--- a/Source/core/page/CreateWindow.cpp |
+++ b/Source/core/page/CreateWindow.cpp |
@@ -118,7 +118,8 @@ static LocalFrame* createWindow(LocalFrame& openerFrame, LocalFrame& lookupFrame |
host->chrome().setWindowRect(windowRect); |
host->chrome().show(policy); |
- frame.loader().forceSandboxFlags(openerFrame.document()->sandboxFlags()); |
+ if (openerFrame.document()->isSandboxed(SandboxUnsandboxedAuxiliary)) |
philipj_slow
2015/05/13 10:36:19
The name is quite cryptic in this context. If you
Mike West
2015/05/13 11:22:01
That's a fair point. Maybe something like "Sandbox
philipj_slow
2015/05/13 12:29:04
That name is much more clear for now, thanks!
|
+ frame.loader().forceSandboxFlags(openerFrame.document()->sandboxFlags()); |
created = true; |
return &frame; |