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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/README.md

Issue 2780533002: Use Referrer-Policy headers for CSS stylesheets (Closed)
Patch Set: updates Created 3 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/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/README.md
diff --git a/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/README.md b/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..2edb24fb41edef2ace4b3ea5cf044e78240c1648
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/README.md
@@ -0,0 +1,12 @@
+These tests exercise differnt ways to load an image, generated via
+```/referrer-policy/generic/subresource/image.py?id=<UUID>``` and later
+verify the headers used to request that image.
+
+Since there is no way to wait for a resource referenced from CSS to be loaded,
+all tests use ```step_timeout()``` to delay the verification step until
+after the image (hopefully) was loaded.
+
+Since there is also no way to retrieve headers (or other information) from
+images loaded via CSS, we store the headers with the given ```UUID``` as key
+on the server, and retrieve them later via an XHR to
+```/referrer-policy/generic/subresource/image.py?id=<UUID>&report-headers```.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/referrer-policy/css-integration/external-import-stylesheet.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698