summaryrefslogtreecommitdiffstats
path: root/netwerk/cookie/test/browser/sameSite.sjs
blob: a19624d2cb1f3398be661350de369189d936abb5 (plain)
1
2
3
4
5
6
7
function handleRequest(aRequest, aResponse) {
  aResponse.setStatusLine(aRequest.httpVersion, 200);

  aResponse.setHeader("Set-Cookie", "a=1", true);
  aResponse.setHeader("Set-Cookie", "b=2; sameSite=none", true);
  aResponse.setHeader("Set-Cookie", "c=3; sameSite=batman", true);
}