Closed saschanaz closed 3 years ago
https://wicg.github.io/web-locks/#algorithm-request-lock
Enqueue the following steps to the lock task queue: Let queueMap be origin’s lock request queue map. Let queue be queueMap[name].
But nothing actually set queueMap[name], so queue is always nonexistent.
queueMap[name]
queue
Good catch.
There are four instances of "Let queue be queueMap[name]" - we can either:
@pwnall - Any preferences?
I prefer the algorithm approach. And this happens to match the PR you have up. :+1:
https://wicg.github.io/web-locks/#algorithm-request-lock
But nothing actually set
queueMap[name]
, soqueue
is always nonexistent.