Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / cookies / multiple-cookies.html
blobacb20ffa61e7e14160a3fef1647a0ea649d748b6
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <link rel="stylesheet" href="resources/cookies-test-style.css">
5 <script src="resources/cookies-test-pre.js"></script>
6 </head>
7 <body>
8 <p id="description"></p>
9 <div id="console"></div>
10 <script>
11 description(
12 "This test checks that mulitple cookies are correctly set."
15 clearAllCookies();
17 debug("Check setting several cookies without clearing.");
18 cookiesShouldBe("test=foobar;", "test=foobar");
19 cookiesShouldBe("test2=foobar;", "test=foobar; test2=foobar");
20 cookiesShouldBe("test3=foobar;", "test=foobar; test2=foobar; test3=foobar");
21 clearCookies();
23 successfullyParsed = true;
24 </script>
25 <script src="resources/cookies-test-post.js"></script>
26 </body>
27 </html>