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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html

Issue 1723753002: Make Document::isSecureContext() work for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebase fixups Created 4 years, 9 months 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/LayoutTests/http/tests/security/secureContexts/authenticated.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html b/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html
index 07a070f56dea644bd9c9edd4ddbc0a94d3ade6e1..2e7673cef150e12672be5b59e1b646f137fa871c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/secureContexts/authenticated.html
@@ -23,7 +23,7 @@
async_test(function (t) {
var messages = 0;
window.addEventListener("message", t.step_func(function (e) {
- if (e.origin == get_host_info().AUTHENTICATED_ORIGIN)
+ if (e.origin == get_host_info().HTTPS_ORIGIN)
assert_true(e.data.isSecureContext);
if (e.origin == get_host_info().UNAUTHENTICATED_ORIGIN)
assert_false(e.data.isSecureContext);
@@ -37,7 +37,7 @@
document.body.appendChild(i1);
var i2 = document.createElement("iframe");
- i2.src = get_host_info().AUTHENTICATED_ORIGIN + "/security/secureContexts/resources/post-securecontext-status.html";
+ i2.src = get_host_info().HTTPS_ORIGIN + "/security/secureContexts/resources/post-securecontext-status.html";
document.body.appendChild(i2);
}, "Frames are either secure or insecure.");
}

Powered by Google App Engine
This is Rietveld 408576698