[Bug]: Tests fail for code using media query display-mode: fullscreen
under new Chromium headless
#34687
Labels
display-mode: fullscreen
under new Chromium headless
#34687
Version
1.50.1
Steps to reproduce
Reproduction at https://github.com/unikitty37/chromium-headless-issue
const fullscreen = new MediaQuery('display-mode: fullscreen')
){#if !fullscreen.current}<element />{/if}
)page.evaluate(() => document.documentElement.requestFullscreen())
and then checks to see if the element from step 3 is visibleExpected behavior
Both tests should pass whether running under old Chromium headless or new Chromium headless.
Actual behavior
Both tests pass using the old Chromium headless, but the second test fails when running the new Chromium headless.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: