Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: LayoutTests/inspector/cookie-resource-match.html

Issue 1019253002: Support 'First-Party-Only' cookies in devtools. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/cookie-parser-expected.txt ('k') | Source/devtools/front_end/components_lazy/CookiesTable.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698