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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
index 2f0c0994b9eff6f78f7d17fcad3703ccf71d43d1..ea3eb2be02594c9960ff10f840ae5001e5ed2b73 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
@@ -471,9 +471,7 @@ void WindowProxy::setSecurityToken(SecurityOrigin* origin) {
return;
}
- if (m_world->isPrivateScriptIsolatedWorld()) {
- token = "private-script://" + token;
- } else if (m_world->isIsolatedWorld()) {
+ if (m_world->isIsolatedWorld()) {
SecurityOrigin* frameSecurityOrigin =
m_frame->securityContext()->getSecurityOrigin();
String frameSecurityToken = frameSecurityOrigin->toString();

Powered by Google App Engine
This is Rietveld 408576698