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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="inspector-protocol-test.js"></script> 4 <script src="resources/inspector-protocol-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.log("Test started"); 8 InspectorTest.log("Test started");
9 9
10 var testCookies = [ 10 var testCookies = [
11 function simpleCookieAdd(done) 11 function simpleCookieAdd(done)
12 { 12 {
13 setCookie({url: "http://127.0.0.1", name: "foo", value: "bar1"}, don e); 13 setCookie({url: "http://127.0.0.1", name: "foo", value: "bar1"}, don e);
14 }, 14 },
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 157 }
158 done(); 158 done();
159 } 159 }
160 } 160 }
161 </script> 161 </script>
162 </head> 162 </head>
163 <body onload="runTest();"> 163 <body onload="runTest();">
164 <p>Tests that cookies are set, updated and removed.</p> 164 <p>Tests that cookies are set, updated and removed.</p>
165 </body> 165 </body>
166 </html> 166 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698