Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / empty-cookie.html
blobbf2986e4437dcbfe27ca4128efbab6f9887dea43
1 <body>
2 <p>Test that setting a document.cookie to an empty value has no effect</p>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 document.cookie = "";
8 document.write(document.cookie ? "FAILURE" : "SUCCESS");
9 if (document.cookie)
10 document.write(': "' + document.cookie + '"');
11 </script>
12 </body>