Rewrite /wpt/cookies/http-state/attribute.html tests #26578
Conversation
The review process for this patch is being conducted in the Chromium project. |
cc389f6
to
bc27f4e
b6ce61e
to
a27c669
Relates to #26190 |
a27c669
to
5c76513
Oh, false alarm. It's re-running now (I guess cause CQ is trying the final patchset).
|
OK, I guess it's still flaky. Will investigate. |
OK, I can reproduce locally with the following:
|
5c76513
to
91f46f2
To the best of my knowledge, the issue is related to trying to run promise tests that set and get cookies while opening a new window (via In Firefox, this works most of the time, but as the stability run shows, it can be flaky. Locally, I could get it to reproduce once every 3 or 4 refreshes. Either the cookies don't get set (unlikely, probably?), or there's a race and the get happens before the set, so Pulling the child window tests into its own file resolves the issue for me (and is probably a better idea, in retrospect). I'm not sure if this is related to what Ehsan is describing here, https://bugzilla.mozilla.org/show_bug.cgi?id=1331680#c2, or just bad test design on my side of things. But it's something related to the architecture of Firefox (or it's tickling a bug), as Chromium seems fine with it either way.
|
91f46f2
to
640e945
Yep, that fixed it. |
This is the first of a handful of CLs rewriting the legacy tests in the ported wpt http-state tests. The plan is to continue to refine and refactor and eventually rewrite (or delete) them all. Bug: 1145300 Change-Id: I8a50939f4e2c95c1293ba5423577693ab2a10d9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550362 Commit-Queue: Mike Taylor <miketaylr@chromium.org> Auto-Submit: Mike Taylor <miketaylr@chromium.org> Reviewed-by: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#830803}
640e945
to
a28f4d0
20b20fa
into
master
This is the first of a handful of CLs rewriting the legacy
tests in the ported wpt http-state tests. The plan is to continue
to refine and refactor and eventually rewrite (or delete) them all.
Bug: 1145300
Change-Id: I8a50939f4e2c95c1293ba5423577693ab2a10d9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550362
Commit-Queue: Mike Taylor <miketaylr@chromium.org>
Auto-Submit: Mike Taylor <miketaylr@chromium.org>
Reviewed-by: Lily Chen <chlily@chromium.org>
Cr-Commit-Position: refs/heads/master@{#830803}