| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../http/tests/inspector/inspector-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 function test() { | 6 function test() { |
| 7 | 7 |
| 8 var cookies = [ | 8 var cookies = [ |
| 9 createCookie("insecureOnlyWebkit", "1234567890", false, "webkit.org", "/
"), | 9 createCookie("insecureOnlyWebkit", "1234567890", false, "webkit.org", "/
"), |
| 10 createCookie("insecureAllWebkit", "1234567890123456", false, ".webkit.or
g", "/"), | 10 createCookie("insecureAllWebkit", "1234567890123456", false, ".webkit.or
g", "/"), |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 var protocolCookie = { | 66 var protocolCookie = { |
| 67 name: name, | 67 name: name, |
| 68 value: value, | 68 value: value, |
| 69 domain: domain, | 69 domain: domain, |
| 70 port: port, | 70 port: port, |
| 71 path: path, | 71 path: path, |
| 72 expires: "Thu Jan 01 1970 00:00:00 GMT", | 72 expires: "Thu Jan 01 1970 00:00:00 GMT", |
| 73 size: name.length + value.length, | 73 size: name.length + value.length, |
| 74 httpOnly: false, | 74 httpOnly: false, |
| 75 secure: secure, | 75 secure: secure, |
| 76 firstPartyOnly: false, |
| 76 session: true | 77 session: true |
| 77 }; | 78 }; |
| 78 return WebInspector.Cookies._parseProtocolCookie(WebInspector.targetMana
ger.mainTarget(), protocolCookie); | 79 return WebInspector.Cookies._parseProtocolCookie(WebInspector.targetMana
ger.mainTarget(), protocolCookie); |
| 79 } | 80 } |
| 80 } | 81 } |
| 81 </script> | 82 </script> |
| 82 </head> | 83 </head> |
| 83 | 84 |
| 84 <body onload="runTest()"> | 85 <body onload="runTest()"> |
| 85 <p> | 86 <p> |
| 86 Tests that cookies are matched up with resources correctly. | 87 Tests that cookies are matched up with resources correctly. |
| 87 </p> | 88 </p> |
| 88 | 89 |
| 89 </body> | 90 </body> |
| 90 </html> | 91 </html> |
| OLD | NEW |