Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf

This commit is contained in:
WPT Sync Bot 2018-04-25 21:10:30 -04:00 committed by Anthony Ramine
parent 6d42d2f1e8
commit 7d1071a6a4
408 changed files with 8968 additions and 2608 deletions

View file

@ -6,11 +6,16 @@ function stripPrefixAndWhitespace(cookie_text) {
}
function getLocalResourcesPath() {
return location.pathname.replace(/[^\/]*$/, "") + SERVER_LOCATION;
let replace = "(" + SERVER_LOCATION + "\/)*"; // Redundant location.
replace += "[^\/]*$"; // Everything after the last "/".
return location.pathname.replace(new RegExp(replace), "") + SERVER_LOCATION;
}
function getAbsoluteServerLocation() {
return getLocalResourcesPath().replace(/resources.*$/,'')+ SERVER_SCRIPT;
// Replace the server location and everything coming after it ...
let replace = SERVER_LOCATION + ".*$";
// ... with the Server script (which includes the server location).
return getLocalResourcesPath().replace(new RegExp(replace),'')+ SERVER_SCRIPT;
}
function expireCookie(name, expiry_date, path) {

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; seCURe

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; "Secure"

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure=

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure=aaaa

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure =aaaaa

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure= aaaaa

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure; qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure;qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure ; qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Secure ;

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path =/qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path= /qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/qux ; taz

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/qux; Path=/

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/; Path=/qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/qux; Path=/cookie-parser-result

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; Path=/cookie-parser-result; Path=/qux

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; qux; Secure

View file

@ -0,0 +1 @@
Set-Cookie: foo=bar; qux="aaa;bbb"; Secure