mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
dependencies: Upgrade cookie
and rename Servo's Cookie
to ServoCookie
(#32861)
This changes updates to the new version of the `cookie` crate in Servo which no longer uses the old `time@0.1` data types. This requires using a new version of `time` while we transition off of the old one. This is the first step in that process. In addition, the overloading of the `cookie::Cookie` name was causing a great deal of confusion, so I've renamed the Servo wrapper to `ServoCookie` like we do with `ServoUrl`. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
8f377a0cb1
commit
b6f1e3b22d
16 changed files with 203 additions and 199 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -662815,7 +662815,7 @@
|
|||
]
|
||||
],
|
||||
"document-cookie.html": [
|
||||
"2af65effeb291f829334d77a4072a41033f4e4a9",
|
||||
"5310fd8e8a36285dd1e9ae3d46042ec227eefa51",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -26,7 +26,7 @@ for (const i in TEST_CASES) {
|
|||
|
||||
// Cleanup
|
||||
if (document.cookie.includes("=")) {
|
||||
document.cookie = document.cookie.split("=")[0] + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
||||
document.cookie = document.cookie.split("=")[0] + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT";
|
||||
assert_equals(document.cookie, "");
|
||||
}
|
||||
}, t.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue