diff options
Diffstat (limited to 'testing/firefox-ui/resources/cookies')
-rw-r--r-- | testing/firefox-ui/resources/cookies/cookie_single.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/firefox-ui/resources/cookies/cookie_single.html b/testing/firefox-ui/resources/cookies/cookie_single.html new file mode 100644 index 0000000000..fe6a44c6e0 --- /dev/null +++ b/testing/firefox-ui/resources/cookies/cookie_single.html @@ -0,0 +1,19 @@ +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<!DOCTYPE html> +<html lang="en" dir="ltr"> +<head> +<script type="text/javascript"> + function setCookie() { + var date = new Date(); + date.setDate(new Date().getDate() + 36); + document.cookie = "litmus_1=true;expires=" + date.toGMTString(); + } +</script> +</head> + +<body onload="setCookie()"> +</body> +</html> |