- From: Wei Wang via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Feb 2023 09:14:07 +0000
- To: public-device-apis-log@w3.org
wangw-1991 has just created a new issue for https://github.com/w3c/compute-pressure: == Focus control in privacy test steps == Let’s consider a special case. As shown in the picture, Main frame A embedded iframe B, iframe B embedded iframe C, iframe C embedded iframe D. Main frame A and iframe C are same -origin, iframe B and iframe D are same-origin, but Main frame A and iframe B are cross-origin. According to the spec, If we focus on iframe B, observer in Iframe D can receive PressureRecord, right? Because top-level browsing context has system (system focus is actually per window, so if the iframe has focus, the top-level browsing context will have system focus) and the document (iframe D) is same-origin with focused document (iframe B). ![image](https://user-images.githubusercontent.com/54053982/217485891-98091ba9-88fd-4daa-8131-58a27fad4207.png) Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/185 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 8 February 2023 09:14:09 UTC