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

Unified Diff: LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url.php

Issue 889883002: Add a parser for Link headers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: proper expected files. Less polluting tests Created 5 years, 11 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: LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url.php
diff --git a/LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url.php b/LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url.php
new file mode 100644
index 0000000000000000000000000000000000000000..6f3c6811b59cbbbfa02c33e30cfcbd4f6ff0fba0
--- /dev/null
+++ b/LayoutTests/http/tests/linkHeader/link-header-no-crash-space-in-url.php
@@ -0,0 +1,9 @@
+<?php
+header("Link: < http://wut.com/ sdfsdf ?sd>; rel=dns-prefetch");
+?>
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+This test passes if we didn't crash.

Powered by Google App Engine
This is Rietveld 408576698