[whatwg/fullscreen] Introduce document.exitFullscreen({ fully: true })? (#70)

Split from https://github.com/whatwg/fullscreen/pull/65

This would expose to the web a primitive that's used internally when navigating and when the user presses Esc (or similar), and would make it easier to test. The IDL would look like:

```WebIDL
partial interface Document {
  Promise<void> exitFullscreen(optional ExitFullscreenOptions options);
};

dictionary ExitFullscreenOptions {
  boolean fully = false;
};
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/70

Received on Monday, 19 December 2016 09:44:54 UTC