electron/spec/fixtures/pages
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
..
partition
permissions Add spec for midi without sysex permission 2017-01-19 09:05:59 +02:00
save_page
service-worker eradicate all per-file eslint globals 2016-03-30 17:00:34 -07:00
storage add spec 2016-09-22 00:15:25 +05:30
a.html
audio.html
b.html protocol: fix registerStandardSchemes api 2016-05-08 01:36:34 +05:30
base-page.html
basic-auth.html
beforeunload-false.html
c.html
cache-storage.html finish implementation of {secure:true} opt on protocol.registerStandardScehesm, and add working test 2016-12-12 12:49:57 -08:00
close.html
content.html
d.html
did-get-response-details.html Add resourceType arg to webContents did-get-response-details event. 2016-04-08 11:19:36 -07:00
dom-ready.html
e.html
filesystem.html add spec and docs 2016-08-24 06:53:14 +05:30
focus-web-contents.html Update blur parent window spec 2017-02-15 08:28:55 -08:00
fullscreen.html
history-replace.html Test that replacement history entries don't break forward navigation. 2016-09-16 17:08:54 -07:00
history.html
ipc-message.html
key-events.html Add char/keypress event tests 2016-10-10 09:35:44 -07:00
media-id-reset.html add spec 2016-12-04 00:22:57 +05:30
native-module.html
onkeyup.html Assert key and code in keyup input event spec 2016-10-10 09:35:44 -07:00
onmouseup.html
ping-pong.html spec: ipcRenderer.sendTo sends message to WebContents 2016-05-28 20:50:30 +09:00
ping.html spec: webview should work without script tag in page 2016-04-12 15:10:26 +09:00
post.html
process-exit.html
referrer.html
resize.html Allow webview guests to be resized manually 2016-11-15 11:00:09 -08:00
set-global.html
shared_worker.html test: Node integration in web workers 2017-03-20 12:52:46 -07:00
target-name.html
theme-color.html
useragent.html
visibilitychange.html Add failing spec for webview visiblity changes 2016-05-25 09:12:52 -07:00
webframe-zoom.html add temporary zoom api spec 2017-02-18 01:34:32 +05:30
webview-custom-zoom-level.html add zoom specs based on standard protocols 2017-02-18 01:41:39 +05:30
webview-devtools.html WebInspector has been split up 2017-02-06 10:34:29 -08:00
webview-did-navigate-in-page-with-hash.html
webview-did-navigate-in-page-with-history.html
webview-did-navigate-in-page.html
webview-guest-resize.html Allow webview guests to be resized manually 2016-11-15 11:00:09 -08:00
webview-in-page-navigate.html add zoom specs based on standard protocols 2017-02-18 01:41:39 +05:30
webview-move-to-window.html Add a guestinstance attribute to webviews reflecting their current guest 2016-09-09 10:32:05 -07:00
webview-no-guest-resize.html Allow webview guests to be resized manually 2016-11-15 11:00:09 -08:00
webview-no-node-integration-on-window.html Add failing spec 2016-04-21 11:49:42 -07:00
webview-no-script.html spec: webview should work without script tag in page 2016-04-12 15:10:26 +09:00
webview-opener-no-node-integration.html Remove stray log 2016-04-01 16:52:28 -07:00
webview-opener-postMessage.html Add spec for window.open from <webview> 2016-06-09 12:02:01 -07:00
webview-origin-zoom-level.html add spec 2017-03-08 19:16:55 +05:30
webview-stripped-preload.html Add explicit spec for removing preload from webview 2017-05-17 13:47:00 -07:00
webview-visibilitychange.html Remove logging in parent page 2016-05-25 09:12:52 -07:00
webview-will-navigate.html
webview-zoom-factor.html Add test for webview zoomFactor inheritance 2016-05-19 14:46:52 -07:00
will-navigate.html
window-no-javascript.html Add failing spec for inheriting Javascript web preference 2017-04-25 12:57:53 -07:00
window-open-hide.html
window-open-postMessage.html Remove use of now private guestId 2017-01-16 12:38:16 -08:00
window-open-size.html
window-open.html Add failing spec for cycle in options 2017-01-06 09:58:40 -08:00
window-opener-location.html spec: Should check origin before accessing window.opener 2016-11-16 07:50:30 -08:00
window-opener-no-node-integration.html Remove semicolons 2016-04-01 16:52:55 -07:00
window-opener-no-webview-tag.html Add failing spec for webviewTag inheritance 2017-05-17 13:27:28 -07:00
window-opener-node.html Add clearer assertion of process being undefined 2016-04-01 16:40:33 -07:00
window-opener-postMessage.html
window-opener-targetOrigin.html Add more non-matching target origins 2017-05-01 08:45:38 -07:00
window-opener-webview.html Add failing spec for webviewTag inheritance 2017-05-17 13:27:28 -07:00
window-opener.html
worker.html test: Node integration in web workers 2017-03-20 12:52:46 -07:00
zoom-factor.html add zoom specs based on standard protocols 2017-02-18 01:41:39 +05:30