electron/spec/fixtures
Birunthan Mohanathas 7d2226e05e Let Chromium manage document.visibilityState and document.hidden
Chromium already includes the necessary plumbing to manage the
visibility properties and `visibilitychange` event so this gets rid of
most of our custom logic for `BrowserWindow` and `BrowserView`.

Note that `webview` remains unchanged and is still affected by the issues
listed below.

User facing changes:

- The `document` visibility properties and `visibilitychange` event are
  now also updated/fired in response to occlusion changes on macOS. In
  other words, `document.visibilityState` will now be `hidden` on macOS
  if the window is occluded by another window.

- Previously, `visibilitychange` was also fired by *both* Electron and
  Chromium in some cases (e.g. when hiding the window). Now it is only
  fired by Chromium so you no longer get duplicate events.

- The visiblity state of `BrowserWindow`s created with `{ show: false }`
  is now initially `visible` until the window is shown and hidden.

- The visibility state of `BrowserWindow`s with `backgroundThrottling`
  disabled is now permanently `visible`.

This should also fix #6860 (but not for `webview`).
2017-06-06 15:16:01 -07:00
..
api Let Chromium manage document.visibilityState and document.hidden 2017-06-06 15:16:01 -07:00
asar update 2016-09-08 10:12:23 +05:30
assets update spec with new asset 2017-03-14 00:26:27 +05:30
certificates fix spec 2016-04-18 22:57:37 +05:30
devtools-extensions Update devtools extension spec for chrome.storage 2016-11-15 19:58:08 +08:00
module Add explicit spec for removing preload from webview 2017-05-17 13:47:00 -07:00
pages Let Chromium manage document.visibilityState and document.hidden 2017-06-06 15:16:01 -07:00
workers test: Node integration in web workers 2017-03-20 12:52:46 -07:00
zip Add test for the unzip module. 2013-07-18 15:19:36 +08:00
no-proprietary-codecs.js Time out after 5 minutes 2017-03-30 14:39:48 -07:00