fedcm-same-site-none.https.html (1007B)
1 <!DOCTYPE html> 2 <title>Federated Credential Management API SameSite=None tests.</title> 3 <link rel="help" href="https://fedidcg.github.io/FedCM"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="/resources/testdriver.js"></script> 7 <script src="/resources/testdriver-vendor.js"></script> 8 9 <body> 10 11 <script type="module"> 12 import {fedcm_test, 13 alt_request_options_with_mediation_required, 14 select_manifest, 15 fedcm_get_and_select_first_account} from './support/fedcm-helper.sub.js'; 16 17 fedcm_test(async t => { 18 const options = alt_request_options_with_mediation_required('manifest_check_same_site_strict.json'); 19 await select_manifest(t, options); 20 const cred = await fedcm_get_and_select_first_account(t, options); 21 assert_equals(cred.token, "token"); 22 assert_equals(cred.isAutoSelected, false); 23 }, "FedCM requests should be considered cross-origin and therefore not send SameSite=Strict or Lax cookies."); 24 25 </script>