to verify that both are set.
Now install this Tampermonkey script to retrieve the cookies via GM.xmlHttpRequest. just reload this page and check the console output.
Tampermonkey will use cookies.getAll to send the the right cookies, but can't get the partitioned cookie via API.
```
// ==UserScript==
// @name xxx
// @namespace xxx
// @version xxx
// @description xxx
// @author xxx
// @match https://*/*
// @grant GM.xmlHttpRequest
// @connect
httpbin.org// ==/UserScript==
GM.xmlHttpRequest({
url: '
https://httpbin.org/cookies',
onload: r=>console.log(r.responseText),
onerror: console.error,
cookiePartition: {
topLevelSite: '
https://httpbin.org'
}
})
```
Not working:
```
Google Chrome
129.0.6668.12 (Official Build) beta (64-bit)
Revision
922b748e54231a05e37811687975b116912300f8-refs/branch-heads/6668@{#93}
OS
Linux
JavaScript
V8 12.9.202.3
User Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
129.0.0.0 Safari/537.36
Command Line
/usr/bin/google-chrome-beta --user-data-dir=/tmp/foo2 --flag-switches-begin --flag-switches-end
Executable Path
/opt/google/chrome-beta/google-chrome-beta
Profile Path
/tmp/foo2/Default
Command-line variations
--force-fieldtrials="UkmSamplingRate/Sampled_NoSeed_Other" --force-fieldtrial-params="UkmSamplingRate.Sampled_NoSeed_Other:_default_sampling/1" --enable-features="UkmSamplingRate<UkmSamplingRate" --disable-field-trial-config
```
Chromium
127.0.6522.0 (Developer Build) (64-bit)
Revision
0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
OS
Linux
JavaScript
V8 12.7.192
User Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
127.0.0.0 Safari/537.36
Command Line
./chrome --user-data-dir=/tmp/foo4 --no-sandbox --force-fieldtrials=UkmSamplingRate/Sampled_NoSeed_Other --force-fieldtrial-params=UkmSamplingRate.Sampled_NoSeed_Other:_default_sampling/1 --enable-features=UkmSamplingRate<UkmSamplingRate --disable-field-trial-config --flag-switches-begin --flag-switches-end
Executable Path
/home/janb/Projekte/tampermonkey.svn/chrome-linux-127.0.6522.0/chrome
Profile Path
/tmp/foo4/Default
Command-line variations
--force-fieldtrials="UkmSamplingRate/Sampled_NoSeed_Other" --force-fieldtrial-params="UkmSamplingRate.Sampled_NoSeed_Other:_default_sampling/1" --enable-features="UkmSamplingRate<UkmSamplingRate" --disable-field-trial-config