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