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: third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/set-long-cookie.php

Issue 2563083002: [DevTools] show warning if 'Set-Cookie' header length is > 4096 symbols (Closed)
Patch Set: addressed comments Created 4 years 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: third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/set-long-cookie.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/set-long-cookie.php b/third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/set-long-cookie.php
new file mode 100644
index 0000000000000000000000000000000000000000..c25c84a44019bf31a76523ab94e32ce67d9db841
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/resources/set-long-cookie.php
@@ -0,0 +1,10 @@
+<?php
allada 2016/12/10 09:48:22 Maybe it's better to just modify this to meet all
kozy 2016/12/16 03:15:02 Done.
+ header("Content-Type: text/plain");
+ header("Access-Control-Allow-Origin:http://127.0.0.1:8000");
+ $data = "";
+ for ($i = 0; $i < $_GET["length"]; $i++) {
+ $data .= "a";
+ }
+ header("Set-Cookie: $data");
+ echo("OK");
+?>

Powered by Google App Engine
This is Rietveld 408576698