|
|
@ -39,6 +39,8 @@ module.exports.create = function (config) {
|
|
|
|
NO_SANDBOX = true;
|
|
|
|
NO_SANDBOX = true;
|
|
|
|
if (typeof(config.httpSafePort) !== 'number') { httpSafePort = httpPort + 1; }
|
|
|
|
if (typeof(config.httpSafePort) !== 'number') { httpSafePort = httpPort + 1; }
|
|
|
|
httpSafeOrigin = deriveSandboxOrigin(httpUnsafeOrigin, httpSafePort);
|
|
|
|
httpSafeOrigin = deriveSandboxOrigin(httpUnsafeOrigin, httpSafePort);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
httpSafeOrigin = canonicalizeOrigin(config.httpSafeOrigin);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var permittedEmbedders = config.permittedEmbedders;
|
|
|
|
var permittedEmbedders = config.permittedEmbedders;
|
|
|
|