Skip to content

Commit

Permalink
Make credentials to use "cookie" rather than "{}" as the cookie
Browse files Browse the repository at this point in the history
dynamic-imports-credentials.sub.html,
dynamic-imports-credentials-setTimeout.sub.html and credentials.sub.html
intends to test the cookie behavior based on various conditions and
ORB shouldn't be a factor here. Currently, it uses "{}" as the
cookie and let's update it to something that is not JSON to keep
the intention of the tests.

Differential Revision: https://phabricator.services.mozilla.com/D165413

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1532644
gecko-commit: 5e6a95776a530660afc2f0d540403fb48e599199
gecko-reviewers: farre, smaug
  • Loading branch information
sefeng211 authored and moz-wptsync-bot committed Jan 10, 2023
1 parent 23914fc commit 41eaab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookies/resources/set-cookie.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ def main(request, response):
(b"Content-Type", b"application/json"),
(b"Set-Cookie", cookie)
]
body = b"{}"
body = b"dummy value"
return headers, body

0 comments on commit 41eaab1

Please sign in to comment.