Using fullscreen programmatically in the Edge window through the service worker, causes alerts/prompts to not be visible on the page but still under the hood they stop the execution of javascript. Reproducible on macOS and Edge browser
To Reproduce
Steps to reproduce the behavior:
- Inspect the page using right click > inspect.
- Open the service worker (background script) of some extension.
- Paste these two lines into service worker to make window's state fullscreen using Chrome API:
- win = await chrome.windows.getCurrent()
- await chrome.windows.update(win.id, {state: "fullscreen"})
- Go back to the page inspect element devtools.
- Enter alert("test") in there
- No alert is shown on the page. It's somewhere in the process and JS execution is blocked, you have to get window out of fullscreen in order for alert to appear. Until then => page is blocked in fullscreen state.
Expected behavior
Alert is displayed on the page when it is in programmatically forced full screen on macOS device
Desktop (please complete the following information):
- OS: macOS Tahoe 26.4, and 26.4.1
- Browser: Microsoft Edge
- Version: Version 147.0.3912.86 (Official build) (arm64)
Using fullscreen programmatically in the Edge window through the service worker, causes alerts/prompts to not be visible on the page but still under the hood they stop the execution of javascript. Reproducible on macOS and Edge browser
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alert is displayed on the page when it is in programmatically forced full screen on macOS device
Desktop (please complete the following information):