[web-nfc] new commits pushed by beaufortfrancois

The following commits were just pushed by beaufortfrancois to https://github.com/w3c/web-nfc:

* Proper document access in page visibility change steps (#641)

* Proper document access in page visibility change steps

As I learned from @Domenic, "relevant global object" cannot be used on
"current settings object", only on platform objects
(https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global)

Luckily, the HTML spec already passes visibilityState and document to
other specifications running page visibility change steps. So we can
just use those directly here.

* Update based on review
  by Johann Hofmann
https://github.com/w3c/web-nfc/commit/78f8fb0f53a5ed3a3c43ee30d66e6aaea7e8137d



-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 29 March 2022 14:22:34 UTC