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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/linkHeader/link-preload-in-iframe.html

Issue 1738133002: Add support for media attribute on link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/linkHeader/resources/iframe-link-headers.php » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/linkHeader/link-preload-in-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/linkHeader/link-preload-in-iframe.html b/third_party/WebKit/LayoutTests/http/tests/linkHeader/link-preload-in-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..915d1a04f7d8f98842157de4aed54c943cf65b5e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/linkHeader/link-preload-in-iframe.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script>
+ var t = async_test('Makes sure that Link headers are loaded from an iframe');
+ addEventListener("message", t.step_func(function(event) {
+ assert_equals(event.data, "squareloaded", "FAIL: image resource was not loaded");
+ t.done();
+ }, false));
+</script>
+<iframe src="resources/iframe-link-headers.php"></iframe>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/linkHeader/resources/iframe-link-headers.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698