Backed out changeset bf3bdd1d9671 for failing to fix the test failure

This commit is contained in:
Jonathan Kew 2011-04-08 20:27:04 -07:00
Родитель ac39fd84d4
Коммит d0bc53bdea
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -22,8 +22,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=643051
document.cookie = "foo=; expires=Thu, 01-Jan-1970 00:00:01 GMT"; // clear cookie 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 = "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 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 // single cookie, should work
document.cookie = "foo=bar"; document.cookie = "foo=bar";
@ -35,10 +33,6 @@ is(document.cookie, "foo=bar; foo2=bar", "Wrong cookie value");
document.cookie = "foo2=baz; foo3=bar"; document.cookie = "foo2=baz; foo3=bar";
is(document.cookie, "foo=bar; foo2=baz", "Wrong cookie value"); 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> </script>
</pre> </pre>
</body> </body>