testing/web-platform/tests/interfaces/fullscreen.idl
author Gabriele Svelto <gsvelto@mozilla.com>
Mon, 23 Nov 2020 07:25:36 +0000
changeset 558290 ba8ce25fe969a8997591a33e060bed86bbcb9c1f
parent 549439 1bf583a361709eca05877399cd19ec1c5022d4d7
permissions -rw-r--r--
Bug 1649132 - Restore memory annotations in main process crash reports r=KrisWright This patch ensures that crash reports for main process crashes always have memory annotations populated. It also cleans up the relevant code, removing support for Windows 32-bit time_t values. The tests that did only cover Windows have been modified to also run on macOS and Linux. Differential Revision: https://phabricator.services.mozilla.com/D97667

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Fullscreen API Standard (https://fullscreen.spec.whatwg.org/)

enum FullscreenNavigationUI {
  "auto",
  "show",
  "hide"
};

dictionary FullscreenOptions {
  FullscreenNavigationUI navigationUI = "auto";
};

partial interface Element {
  Promise<undefined> requestFullscreen(optional FullscreenOptions options = {});

  attribute EventHandler onfullscreenchange;
  attribute EventHandler onfullscreenerror;
};

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

  Promise<undefined> exitFullscreen();

  attribute EventHandler onfullscreenchange;
  attribute EventHandler onfullscreenerror;
};

partial interface mixin DocumentOrShadowRoot {
  [LegacyLenientSetter] readonly attribute Element? fullscreenElement;
};