1 of 9

Window Management

2 of 9

Present Landscape

Window Management capabilities on the web are stronger today than ever before!

3 of 9

4 of 9

HTML Fullscreen Without A Gesture

Explainer, ChromeStatus (Chrome 127+), Demo

Motivation: Gesture requirements preclude advanced fullscreen capabilities

Goal: Enable new fullscreen use cases:

  • Open new fullscreen popups (e.g. multi-screen fullscreen)
  • Extend fullscreen onto newly connected displays
  • Enter fullscreen after activation consumption or expiry (long-tail)

Proposal: HTML Fullscreen gesture req. configurations (spec Issue + PR) + permission query:

navigator.permissions.query({name: 'fullscreen', allowWithoutGesture: true});

Supersedes Fullscreen Popup Windows and Many Windows Many Screens

5 of 9

Future Landscape

User and developer feedback informs future investment:

  • Extending APIs: screen IDs, refresh rates, HDR/WCG
  • Platform support: Android, Wayland best effort and feature detection
  • Implementation fixes: fullscreen promises, window bounds oddities
  • API modernization: window.setBounds(), window.open(), etc.
  • New capabilities: Additional Windowing Controls, window.onmove, Borderless

Hopeful other UAs will someday also support modern Window Management functionality

6 of 9

Virtual Display Testing

Chromium test framework support for managing virtual displays at the OS level

Implementation complete on all desktop platforms (Windows, Mac, Linux (X11), ChromeOS).

All multi-screen tests migrated to new utility.

Next Steps:

  • Advocate for Apple to officially support the private CoreGraphics APIs.
  • Develop a wpt driver to support testing multi-screen APIs in web platform tests.

7 of 9

Virtual Displays: Cast Extended Desktop

Prototyped an alternative way to cast from the browser.

Seamlessly create a virtual display and cast it to a nearby Chromecast device.

Use cases:

  • Using a Chromecast supported tablet as a secondary monitor (Similar to Sidecar)
  • Conducting a presentation: wirelessly cast slides to screen and maintain speaker notes on your laptop.

LIVE DEMO

8 of 9

Nearby Screens Demo

Pre-recorded videos

9 of 9

Thanks!