Release 2.1.0: bump versions and keep Firefox partitioned imports working

Bump Chrome (2.0.0) and Firefox (2.0.1) to 2.1.0 for the store uploads,
and update the bundle generator string to match.

Firefox's cookies schema in 115, 128 and 140 ESR has no
partitionKey.hasCrossSiteAncestor and rejects unknown properties, so
passing it made Firefox skip every partitioned cookie imported from a
Chrome bundle. Only send it to Chrome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Christian
2026-10-24 04:51:09 -04:00
parent ef6b6d70af
commit 429b0f20fc
5 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -84,7 +84,8 @@ async function main() {
assert.deepEqual(names, firefox ? ['plain', 'partitioned', 'fpi'] : ['plain', 'partitioned']);
for (const details of written) assert.equal(details.storeId, defaultStoreId);
assert.equal('sameSite' in written[0], false, 'unspecified must omit the attribute');
assert.equal(written.find((details) => details.name === 'partitioned').partitionKey.hasCrossSiteAncestor, true);
assert.equal(written.find((details) => details.name === 'partitioned').partitionKey.hasCrossSiteAncestor, firefox ? undefined : true,
'Firefox 115-140 rejects hasCrossSiteAncestor; Chrome keeps it');
if (firefox) {
assert.equal(written[0].firstPartyDomain, '');
assert.equal(written.find((details) => details.name === 'fpi').firstPartyDomain, 'example.com');