| 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 sameSite: false, | |
| 77 session: true | 76 session: true |
| 78 }; | 77 }; |
| 79 return WebInspector.Cookies._parseProtocolCookie(WebInspector.targetMana
ger.mainTarget(), protocolCookie); | 78 return WebInspector.Cookies._parseProtocolCookie(WebInspector.targetMana
ger.mainTarget(), protocolCookie); |
| 80 } | 79 } |
| 81 } | 80 } |
| 82 </script> | 81 </script> |
| 83 </head> | 82 </head> |
| 84 | 83 |
| 85 <body onload="runTest()"> | 84 <body onload="runTest()"> |
| 86 <p> | 85 <p> |
| 87 Tests that cookies are matched up with resources correctly. | 86 Tests that cookies are matched up with resources correctly. |
| 88 </p> | 87 </p> |
| 89 | 88 |
| 90 </body> | 89 </body> |
| 91 </html> | 90 </html> |
| OLD | NEW |