Closed
Bug 1488312
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 12817 - [cookies] Remove cookies when tests complete
Categories
(Core :: Networking: Cookies, enhancement, P4)
Core
Networking: Cookies
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12817 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12817 Details from upstream follow. Mike Pennisi <mike@mikepennisi.com> wrote: > [cookies] Remove cookies when tests complete > > Avoid test interactions by removing cookies at the completion of each > test. Use the `add_cleanup` feature of testharness.js to ensure that > this occurs regardless of the passing/failing status of each test. > Persist the existing "setup" logic which defensively removes cookies as > a precaution against still other tests which do not properly restore > global state. > > This resolves a known instability caused by > `cookies/prefix/__secure.document-cookie.https.html`. That test sets a > cookie with a "Domain" attribute which > `cookies/prefix/__secure.header.https.html` is not written to remove.
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → Networking: Cookies
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=91e59be3c108fb85654d6d1f2cbf782f0d542f83
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=36e5294b0b94626bdece8c2e2b96a923d16f1cd7
Assignee | ||
Comment 3•6 years ago
|
||
Ran 19 tests and 167 subtests OK : 18 PASS : 145 FAIL : 22 ERROR : 1
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/751816d4065d [wpt PR 12817] - [cookies] Remove cookies when tests complete, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/f7125813060b [wpt PR 12817] - Update wpt metadata, a=testonly
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/751816d4065d https://hg.mozilla.org/mozilla-central/rev/f7125813060b
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•