mirror of
https://github.com/servo/servo.git
synced 2025-09-11 15:38:24 +01:00
Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf
This commit is contained in:
parent
6d42d2f1e8
commit
7d1071a6a4
408 changed files with 8968 additions and 2608 deletions
|
@ -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) {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; seCURe
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; "Secure"
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure=
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure=aaaa
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure =aaaaa
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure= aaaaa
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure; qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure;qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure ; qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Secure ;
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path =/qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path= /qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/qux ; taz
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/qux; Path=/
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/; Path=/qux
|
|
@ -0,0 +1 @@
|
|||
Cookie: foo=bar
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/qux; Path=/cookie-parser-result
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; Path=/cookie-parser-result; Path=/qux
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; qux; Secure
|
|
@ -0,0 +1 @@
|
|||
Set-Cookie: foo=bar; qux="aaa;bbb"; Secure
|
Loading…
Add table
Add a link
Reference in a new issue