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

Side by Side Diff: LayoutTests/http/tests/cache/image-with-dpr-header-cached.html

Issue 46313002: Support the DPR header for client hints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: with cache tests Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/cache/image-with-dpr-header-cached-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <script>
4 if (window.testRunner) {
5 testRunner.waitUntilDone();
6 }
7 window.onload = function() {
8 if (window.sessionStorage.getItem("reloaded")) {
9 window.sessionStorage.removeItem("reloaded");
10 if (window.testRunner) {
11 window.testRunner.notifyDone();
12 }
13 } else {
14 window.sessionStorage.reloaded = "true";
15 location.reload();
16 }
17 }
18 </script>
19 <!-- Reuse from cache - should keep the DPR -->
20 <img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=im age/png&dpr=4.0">
21 <!-- Revalidation - should keep previous DPR -->
22 <img src="http://127.0.0.1:8000/resources/dpr.php?name=square100.png&mimeType=im age/png&dpr=4.0&expires=1">
23
24 </body>
25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/cache/image-with-dpr-header-cached-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698