Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / test / data / cookie2.html
blobaa13434aa10f9236fa4cfc503baa2697d39cface
1 <html>
2 <head>
3 <script>
4 function setCookie() {
5 document.cookie = 'foo=baz';
7 // If there is a cookie prompt showing, then reading from document.cookie
8 // should block until the dialog is closed.
9 if (document.cookie.indexOf('foo') == -1) {
10 document.title = 'cookie blocked';
11 } else {
12 document.title = 'cookie allowed';
15 </script>
16 </head>
17 <body onload="setCookie();">
18 </body>
19 </html>