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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/deprecated-subresource-requests.html

Issue 2659823004: Add deprecation messages for blocked subresource types. (Closed)
Patch Set: Created 3 years, 11 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/deprecated-subresource-requests.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/deprecated-subresource-requests.html b/third_party/WebKit/LayoutTests/http/tests/security/deprecated-subresource-requests.html
new file mode 100644
index 0000000000000000000000000000000000000000..fb144d6ebeff701f6e2ecec8e37133dd732dd9da
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/deprecated-subresource-requests.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<img src="ftp://example.test/img.png">
+<img src="http://user:pass@example.test/img.png">
+<script>
+test(() => {
+ // Doing nothing, we just want to check the warnings.
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698