| Index: third_party/WebKit/LayoutTests/http/tests/cookies/js-set-null.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/http-get-cookie-set-in-js.html b/third_party/WebKit/LayoutTests/http/tests/cookies/js-set-null.html
|
| similarity index 59%
|
| copy from third_party/WebKit/LayoutTests/http/tests/cookies/http-get-cookie-set-in-js.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/cookies/js-set-null.html
|
| index ab8eb4d8bfc97424d86320e242e6b7a578f85ae6..4216bef72baee5cd74d93f8602e7f0cf0ddef25c 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cookies/http-get-cookie-set-in-js.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cookies/js-set-null.html
|
| @@ -8,16 +8,13 @@
|
| <p id="description"></p>
|
| <div id="console"></div>
|
| <script>
|
| -description(
|
| -'Test that a cookie set using JavaScript can be correctly read by HTTP server'
|
| -);
|
| +description("Setting document.cookie to null should set a cookie named 'null'");
|
|
|
| clearAllCookies();
|
|
|
| -document.cookie = "name=value;Max-Age=1000";
|
| -
|
| -debug('checking that the cookie set in javascript can be read by HTTP server');
|
| -testCookies("name=value");
|
| +document.cookie = null;
|
| +shouldBe("document.cookie", "'null'");
|
| +testCookies("null");
|
|
|
| clearCookies();
|
|
|
|
|