https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 2ecb5abe933bc46e324ea1a1f8528a844b99e762 authored by kaixinjxq on 14 March 2018, 02:09:20 UTC
Add sensor tests that throw NotSupportedError when set an unsupported option
Tip revision: 2ecb5ab
fullscreen.idl
partial interface Element {
  Promise<void> requestFullscreen();

  attribute EventHandler onfullscreenchange;
  attribute EventHandler onfullscreenerror;
};

partial interface Document {
  [LenientSetter] readonly attribute boolean fullscreenEnabled;
  [LenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical

  Promise<void> exitFullscreen();

  attribute EventHandler onfullscreenchange;
  attribute EventHandler onfullscreenerror;
};

partial interface DocumentOrShadowRoot {
  [LenientSetter] readonly attribute Element? fullscreenElement;
};
back to top