{}));
        let queryResult = await navigator.locks.query();
        return queryResult.held[0].clientId;
      } else {
        throw new Error(&quot;Unsupported&quot;);
      }
    }

read: async () =&gt; {
      if (navigator.locks) {
        let queryResult = await navigator.locks.query();
        return queryResult.held[0].name;
      }
    }

result, same first party: c13586d0-895d-4d95-a5b1-836ae9757ca3

result, different first party: c13586d0-895d-4d95-a5b1-836ae9757ca3

unsupported: false

passed