зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1407695 - Clear all cookies from session before running test; r=ato
MozReview-Commit-ID: A7plYkYzvek --HG-- extra : rebase_source : 599d1ac82b5671a3f27fd98c740cfc7adc0859f1
This commit is contained in:
Родитель
d6d4b4b5e4
Коммит
00104c8f08
|
@ -3,6 +3,7 @@ from tests.support.fixtures import clear_all_cookies
|
||||||
|
|
||||||
def test_get_named_cookie(session, url):
|
def test_get_named_cookie(session, url):
|
||||||
session.url = url("/common/blank.html")
|
session.url = url("/common/blank.html")
|
||||||
|
clear_all_cookies(session)
|
||||||
session.execute_script("document.cookie = 'foo=bar'")
|
session.execute_script("document.cookie = 'foo=bar'")
|
||||||
|
|
||||||
result = session.transport.send("GET", "session/%s/cookie/foo" % session.session_id)
|
result = session.transport.send("GET", "session/%s/cookie/foo" % session.session_id)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче