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

Unified Diff: content/test/data/page_with_subresources.html

Issue 2147473002: Set 'ResourceRequest::requestorOrigin' in Blink for more request types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen Created 4 years, 5 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: content/test/data/page_with_subresources.html
diff --git a/content/test/data/page_with_subresources.html b/content/test/data/page_with_subresources.html
new file mode 100644
index 0000000000000000000000000000000000000000..314cdbabdc53d910eacb1357fb84a9947f054002
--- /dev/null
+++ b/content/test/data/page_with_subresources.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link rel="stylesheet" href="style"></link>
+ <link rel="prefetch" href="prefetch"></link>
+</head>
+<body>
+ <img src="image-inline">
+ <a href="javascript:" ping="ping">link</a>
+
+ <!-- All script-based loading at the bottom to avoid duplicating requests
+ due to the preload scanner -->
+ <script src="script"></script>
+ <script>
+ // <img>
+ var i = document.createElement('img');
+ i.src = "image-script";
+
+ // <a ping>
+ document.querySelector('a').click();
+
+ // Beacon
+ navigator.sendBeacon("/beacon", "foo");
+ </script>
+</body>
+</html>
« no previous file with comments | « content/test/data/nested_page_with_subresources.html ('k') | third_party/WebKit/Source/core/fetch/FetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698