author | Jonathan Kew <jfkthame@gmail.com> |
Fri, 08 Apr 2011 20:27:04 -0700 | |
changeset 67732 | 865870bbe148350378c25b23244138a802387417 |
parent 67729 | bf3bdd1d967164e068aed53d2ef9135df8d9980b |
child 67733 | a998aa8043f1294bf7db0964d730f75885669ef7 |
push id | 1 |
push user | root |
push date | Tue, 26 Apr 2011 22:38:44 +0000 |
treeherder | mozilla-beta@bfdb6e623a36 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
milestone | 2.2a1pre |
backs out | bf3bdd1d967164e068aed53d2ef9135df8d9980b |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/content/html/content/test/test_bug643051.html +++ b/content/html/content/test/test_bug643051.html @@ -17,29 +17,23 @@ https://bugzilla.mozilla.org/show_bug.cg </div> <pre id="test"> <script type="application/javascript"> /** Test for Bug 643051 **/ document.cookie = "foo=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; // clear cookie document.cookie = "foo2=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; // clear cookie document.cookie = "foo3=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; // clear cookie -// clear cookie set by another test -document.cookie = "a=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; // single cookie, should work document.cookie = "foo=bar"; is(document.cookie, "foo=bar", "Can't read stored cookie!"); document.cookie = "foo2=bar\nfoo3=bar"; is(document.cookie, "foo=bar; foo2=bar", "Wrong cookie value"); document.cookie = "foo2=baz; foo3=bar"; is(document.cookie, "foo=bar; foo2=baz", "Wrong cookie value"); -// clear cookies again to avoid affecting other tests -document.cookie = "foo=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; -document.cookie = "foo2=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; -document.cookie = "foo3=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; </script> </pre> </body> </html>