Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / session_restore / cookies.html
blob65562350dc66e1f6ca7689c26549281135979591
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="common.js"></script>
5 <script>
6 function readData() {
7 return document.cookie;
9 function writeData() {
10 var exdate = new Date();
11 exdate.setDate(exdate.getDate() + 2);
12 document.cookie =
13 'permanentkey=permanentvalue;expires=' + exdate.toUTCString();
14 return true;
16 </script>
17 </head>
18 <body onload="setTimeout(onLoad, 0);">
19 </body>
20 </html>