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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/webcrypto-on-secure-origin-in-insecure-origin.html

Issue 2838603002: Added [SecureContext] to the subtle attribute (Closed)
Patch Set: Magic test starts doing differnt things out of the blue. Need to handle this properly. Avada Kedavr… Created 3 years, 8 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/powerfulFeatureRestrictions/webcrypto-on-secure-origin-in-insecure-origin.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/webcrypto-on-secure-origin-in-insecure-origin.html b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/webcrypto-on-secure-origin-in-insecure-origin.html
deleted file mode 100644
index b23d74ec23046f006b5169b696136bec42796aac..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/webcrypto-on-secure-origin-in-insecure-origin.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>WebCrypto On A Secure Origin Embedded in an Insecure Origin</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/resources/get-host-info.js"></script>
-</head>
-<body></body>
-<script>
- if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
- window.location = get_host_info().UNAUTHENTICATED_ORIGIN +
- window.location.pathname;
- } else {
- if (window.testRunner)
- testRunner.overridePreference(
- "WebKitStrictPowerfulFeatureRestrictions", true);
-
- async_test(function () {
- window.addEventListener("message", this.step_func(function (event) {
- assert_equals(event.data.success, true);
- this.done();
- }));
- var iframe = document.createElement("iframe");
- iframe.src = get_host_info().HTTP_ORIGIN +
- "/security/powerfulFeatureRestrictions/resources/" +
- "webcrypto.html";
- document.body.appendChild(iframe);
- }, "WebCrypto allowed on secure origin in insecure origin");
- }
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698