summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/cors/support/set-cookie.html
blob: cc1c9263860f0f5c9eb34de4c0dcb597d4b4897d (plain)
1
2
3
4
5
6
<!doctype html>
<title>Set cookie from location.hash</title>
<script>
if (location.hash)
    document.cookie = decodeURIComponent(location.hash.substr(1))+'=yes;path=/;max-age=15';
</script>