Closed marcoscaceres closed 3 years ago
Sent a patch to Gecko as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1653549
I just realized that this is not enough... I'll update this and send again.
Ok, did a deep dive and did some more testing. This requires a fairly hefty rewrite of the spec.
Basically, we need to wire up visibility change listeners for when the methods are called. All the timing stuff is also affected, because the position request happens after the document becomes visible again.
will send again after rewrite...
All the timing stuff is also affected, because the position request happens after the document becomes visible again.
Just for the record, Chromium doesn't implement the timing requirements around permissions but I think that should qualify as a bug as the requirements make sense.
As part of exploring of adding this to Gecko, Edgar identified some inconsistency around how visibility is handled between Chrome and Safari... I'll report back once I have a better handle on what's going on.
Closes #48
The following tasks have been completed:
Implementation commitment:
Preview | Diff