Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,60 +4,60 @@
<script src="/cookies/resources/cookie-helper.sub.js"></script>
<script>
set_prefixed_cookie_via_dom_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Secure; Path=/",
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__HostHttp: Does not set via DOM 'Secure; Path=/'"
title: "__Host-Http: Does not set via DOM 'Secure; Path=/'"
});

set_prefixed_cookie_via_dom_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Secure; Path=/; Domain=" + document.location.hostname,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__HostHttp: Does not set via DOM with Domain attribute 'Secure; Path=/; Domain=" +
title: "__Host-Http: Does not set via DOM with Domain attribute 'Secure; Path=/; Domain=" +
document.location.hostname + "'"
});

set_prefixed_cookie_via_http_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Secure; Path=/",
shouldExistViaHTTP: false,
origin: self.origin,
title: "__HostHttp: Does not set via HTTP with 'Secure; Path=/'"
title: "__Host-Http: Does not set via HTTP with 'Secure; Path=/'"
});

set_prefixed_cookie_via_http_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Secure; Path=/;httponly",
shouldExistViaHTTP: true,
origin: self.origin,
title: "__HostHttp: Set via HTTP with 'Secure; Path=/; httponly'"
title: "__Host-Http: Set via HTTP with 'Secure; Path=/; httponly'"
});

set_prefixed_cookie_via_http_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Secure; Path=/cookies/;httponly",
shouldExistViaHTTP: false,
origin: self.origin,
title: "__HostHttp: Does not set via HTTP with 'Secure; Path=/cookies/; httponly'"
title: "__Host-Http: Does not set via HTTP with 'Secure; Path=/cookies/; httponly'"
});

set_prefixed_cookie_via_http_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Path=/",
shouldExistViaHTTP: false,
origin: self.origin,
title: "__HostHttp: Does not set via HTTP with 'Path=/;' (without Secure)"
title: "__Host-Http: Does not set via HTTP with 'Path=/;' (without Secure)"
});

set_prefixed_cookie_via_http_test({
prefix: "__HostHttp-",
prefix: "__Host-Http-",
params: "Secure; Path=/; Domain=" + document.location.hostname,
shouldExistViaHTTP: false,
origin: self.origin,
title: "__HostHttp: Does not set via HTTP with Domain attribute 'Secure; Path=/; Domain=" +
title: "__Host-Http: Does not set via HTTP with Domain attribute 'Secure; Path=/; Domain=" +
document.location.hostname + "'"
});
</script>
Loading