Chromium Code Reviews| 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"); |
| +?> |