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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/preload/resources/media-link-headers.php

Issue 1811163002: Share link header parsing code between blink and content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base-optional
Patch Set: rebase Created 4 years, 7 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 | « net/http/http_util_unittest.cc ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/preload/resources/media-link-headers.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/preload/resources/media-link-headers.php b/third_party/WebKit/LayoutTests/http/tests/preload/resources/media-link-headers.php
index 29fdd4104a7c2ed8120bfcbf0455d913d6efd9c0..29330448c3cf65cf314a33acf74d7ba94f276123 100644
--- a/third_party/WebKit/LayoutTests/http/tests/preload/resources/media-link-headers.php
+++ b/third_party/WebKit/LayoutTests/http/tests/preload/resources/media-link-headers.php
@@ -1,6 +1,6 @@
<?php
- header("Link: <http://127.0.0.1:8000/resources/square.png?large>;rel=preload;as=image;media='(min-width: 300px)'", false);
- header("Link: <http://127.0.0.1:8000/resources/square.png?small>;rel=preload;as=image;media='(max-width: 299px)'", false);
+ header("Link: <http://127.0.0.1:8000/resources/square.png?large>;rel=preload;as=image;media=\"(min-width: 300px)\"", false);
+ header("Link: <http://127.0.0.1:8000/resources/square.png?small>;rel=preload;as=image;media=\"(max-width: 299px)\"", false);
?>
<!DOCTYPE html>
<meta name="viewport" content="width=160">
« no previous file with comments | « net/http/http_util_unittest.cc ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698