Closed Bug 1727424 Opened 3 years ago Closed 2 years ago

[wpt-sync] Sync PR 30164 - Migrate cookie-test.js's httpRedirectCookieTest to test_driver.delete_all_cookies

Categories

(Core :: Networking: Cookies, task, P4)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 30164 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30164
Details from upstream follow.

b'Ari Chivukula <arichiv@chromium.org>' wrote:

Migrate cookie-test.js's httpRedirectCookieTest to test_driver.delete_all_cookies

Now that we have a JS function within testdriver to delete all cookies
we should use it instead of the one-off helpers.

Bug: 1233305
Change-Id: Ib0ee77a51a3b1bea9d48549a309fdba8116461bb
Reviewed-on: https://chromium-review.googlesource.com/3116120
WPT-Export-Revision: c5ef0d85f3608b129dcd03f89a34f06aca2ce12c

PR 30164 applied with additional changes from upstream: 640dc9dec7531b09cc54cb18c0fc91b03df0ccb2
Component: web-platform-tests → Networking: Cookies
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Attached file Notable wpt changes
# CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 16 tests and 429 subtests

## Status Summary

### Firefox
OK     : 14[Gecko-linux1804-64-tsan-qr-opt] 15[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 16[GitHub]
PASS   : 290[GitHub] 384[Gecko-linux1804-64-tsan-qr-opt] 391[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt]
FAIL   : 80[Gecko-linux1804-64-tsan-qr-opt] 81[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-qr-debug, Gecko-windows10-32-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 455[GitHub]
TIMEOUT: 2
NOTRUN : 7

### Chrome
OK     : 16
PASS   : 647
FAIL   : 98

### Safari
OK     : 16
PASS   : 228
FAIL   : 517

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=a25f2afa16a9af2c28d88690a94fc9d9e63d1938)
[GitHub PR Head](https://wpt.fyi/results/?sha=cca6f095c8583149def5ae9a1743288e4f105b45&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=cca6f095c8583149def5ae9a1743288e4f105b45&label=pr_base)

## Details

### Firefox-only Failures
/cookies/name/name-ctl.html
  Cookie with %x7f in name is rejected.: FAIL
/cookies/name/name.html
  Use last value for cookies with identical names: FAIL
  Keep first-in, first-out name order: FAIL
  Keep first-in, first-out single-char name order: FAIL
/cookies/attributes/path-redirect.html
  Cookie sent for redirected path with trailing '/' and the redirected URL is one level deeper: FAIL
  Cookie sent for redirected path match with a trailing ';' after an unquoted Path: FAIL
  No cookie sent for redirected path match with a trailing ';' inside a quoted Path: FAIL
  No cookie sent for redirected path match with partially URL encoded path: FAIL
  Multiple cookies sent for multiple redirected path matches, sorted by length: FAIL
  No cookie sent for redirected path mismatch where path and redirected URL begin with same string: FAIL
  No cookie sent for redirected path mismatch where final path directory component and redirected URL resource begin with same string: FAIL
  No cookie sent for redirected path mismatch where final path directory component begins with same string as redirected URL final directory component: FAIL
  No cookie sent for redirected path mismatch for different resources inside the same final directory component: FAIL
  No cookie sent for redirected path mismatch where final path directory component ends in '/' and does not match redirected URL: FAIL
  No cookie sent for redirected path mismatch with a similar start to the redirected URL: FAIL
  No cookie sent for redirected path mismatch with trailing '?' after unquoted Path: FAIL
  No cookie sent for redirected path mismatch with trailing '#' after unquoted Path: FAIL
  No cookie sent for redirected path mismatch with trailing '/' after unquoted Path: FAIL
/cookies/attributes/attributes-ctl.sub.html
  Cookie with %x0 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x0 in Path attribute value is handled correctly.: FAIL
  Cookie with %x1 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1 in Path attribute value is handled correctly.: FAIL
  Cookie with %x1 after Secure attribute is handled correctly.: FAIL
  Cookie with %x2 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x2 in Path attribute value is handled correctly.: FAIL
  Cookie with %x2 after Secure attribute is handled correctly.: FAIL
  Cookie with %x3 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x3 in Path attribute value is handled correctly.: FAIL
  Cookie with %x3 after Secure attribute is handled correctly.: FAIL
  Cookie with %x4 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x4 in Path attribute value is handled correctly.: FAIL
  Cookie with %x4 after Secure attribute is handled correctly.: FAIL
  Cookie with %x5 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x5 in Path attribute value is handled correctly.: FAIL
  Cookie with %x5 after Secure attribute is handled correctly.: FAIL
  Cookie with %x6 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x6 in Path attribute value is handled correctly.: FAIL
  Cookie with %x6 after Secure attribute is handled correctly.: FAIL
  Cookie with %x7 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x7 in Path attribute value is handled correctly.: FAIL
  Cookie with %x7 after Secure attribute is handled correctly.: FAIL
  Cookie with %x8 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x8 in Path attribute value is handled correctly.: FAIL
  Cookie with %x8 after Secure attribute is handled correctly.: FAIL
  Cookie with %xb in Domain attribute value is handled correctly.: FAIL
  Cookie with %xb in Path attribute value is handled correctly.: FAIL
  Cookie with %xb after Secure attribute is handled correctly.: FAIL
  Cookie with %xc in Domain attribute value is handled correctly.: FAIL
  Cookie with %xc in Path attribute value is handled correctly.: FAIL
  Cookie with %xc after Secure attribute is handled correctly.: FAIL
  Cookie with %xe in Domain attribute value is handled correctly.: FAIL
  Cookie with %xe in Path attribute value is handled correctly.: FAIL
  Cookie with %xe after Secure attribute is handled correctly.: FAIL
  Cookie with %xf in Domain attribute value is handled correctly.: FAIL
  Cookie with %xf in Path attribute value is handled correctly.: FAIL
  Cookie with %xf after Secure attribute is handled correctly.: FAIL
  Cookie with %x10 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x10 in Path attribute value is handled correctly.: FAIL
  Cookie with %x10 after Secure attribute is handled correctly.: FAIL
  Cookie with %x11 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x11 in Path attribute value is handled correctly.: FAIL
  Cookie with %x11 after Secure attribute is handled correctly.: FAIL
  Cookie with %x12 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x12 in Path attribute value is handled correctly.: FAIL
  Cookie with %x12 after Secure attribute is handled correctly.: FAIL
  Cookie with %x13 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x13 in Path attribute value is handled correctly.: FAIL
  Cookie with %x13 after Secure attribute is handled correctly.: FAIL
  Cookie with %x14 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x14 in Path attribute value is handled correctly.: FAIL
  Cookie with %x14 after Secure attribute is handled correctly.: FAIL
  Cookie with %x15 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x15 in Path attribute value is handled correctly.: FAIL
  Cookie with %x15 after Secure attribute is handled correctly.: FAIL
  Cookie with %x16 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x16 in Path attribute value is handled correctly.: FAIL
  Cookie with %x16 after Secure attribute is handled correctly.: FAIL
  Cookie with %x17 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x17 in Path attribute value is handled correctly.: FAIL
  Cookie with %x17 after Secure attribute is handled correctly.: FAIL
  Cookie with %x18 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x18 in Path attribute value is handled correctly.: FAIL
  Cookie with %x18 after Secure attribute is handled correctly.: FAIL
  Cookie with %x19 in Domain attribute value is handled correctly.: FAIL
  Cookie with %x19 in Path attribute value is handled correctly.: FAIL
  Cookie with %x19 after Secure attribute is handled correctly.: FAIL
  Cookie with %x1a in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1a in Path attribute value is handled correctly.: FAIL
  Cookie with %x1a after Secure attribute is handled correctly.: FAIL
  Cookie with %x1b in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1b in Path attribute value is handled correctly.: FAIL
  Cookie with %x1b after Secure attribute is handled correctly.: FAIL
  Cookie with %x1c in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1c in Path attribute value is handled correctly.: FAIL
  Cookie with %x1c after Secure attribute is handled correctly.: FAIL
  Cookie with %x1d in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1d in Path attribute value is handled correctly.: FAIL
  Cookie with %x1d after Secure attribute is handled correctly.: FAIL
  Cookie with %x1e in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1e in Path attribute value is handled correctly.: FAIL
  Cookie with %x1e after Secure attribute is handled correctly.: FAIL
  Cookie with %x1f in Domain attribute value is handled correctly.: FAIL
  Cookie with %x1f in Path attribute value is handled correctly.: FAIL
  Cookie with %x1f after Secure attribute is handled correctly.: FAIL
  Cookie with %x7f in Domain attribute value is handled correctly.: FAIL
  Cookie with %x7f in Path attribute value is handled correctly.: FAIL
  Cookie with %x7f after Secure attribute is handled correctly.: FAIL

(See attachment for full changes)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/894011549891
[wpt PR 30164] - Migrate cookie-test.js's httpRedirectCookieTest to test_driver.delete_all_cookies, a=testonly
https://hg.mozilla.org/integration/autoland/rev/99ff75ef18bb
[wpt PR 30164] - Update wpt metadata, a=testonly
Regressions: 1747571
Regressions: 1747572
Regressions: 1747573
Regressions: 1747574
Regressions: 1747582
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: