Aleksei Kuzmin
120b05e075
Fix error message of assertWithinDelta()
2017-07-04 11:56:21 +02:00
Kevin Sawicki
449776f228
Don't run it statements when OSR is disabled
2017-06-29 12:26:45 -07:00
Aleksei Kuzmin
25e1c5d6e7
Skip "offscreen rendering" tests if OSR is not available
2017-06-28 19:34:57 +02:00
Kevin Sawicki
45dc6fc04f
Merge pull request #9645 from dharders/issue6036-fix-windows-fullscreen-startup-toggle
...
Fix unresponsive app after fullscreen->normal state toggle (Windows)
2017-06-14 14:10:00 -07:00
dharders
909344415e
🎨 Use leave-full-screen event instead of setTimeout()
2017-06-14 11:06:33 +10:00
Kevin Sawicki
c60a9d242e
Disable minimize spec on Linux CI
2017-06-06 16:58:28 -07:00
Kevin Sawicki
a53e98c0f3
Add visibilitystate test for showInactive
2017-06-06 16:45:46 -07:00
Kevin Sawicki
52137485f2
Add separate specs for hide/show/minimize visibilitychange events
2017-06-06 16:22:07 -07:00
Kevin Sawicki
28cd973805
Mention document.hidden in spec description
2017-06-06 15:20:08 -07:00
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
deepak1556
50ac7b2edd
Revert "Merge pull request #8724 from electron/defer_load_url"
...
Possible cause for #9121
This reverts commit 886b47e713
, reversing
changes made to 479af3c9e2
.
2017-06-05 19:04:21 +05:30
dharders
aeb68c2369
✅ Add test for Windows fullscreen state toggle. Fix #6036
2017-06-05 11:39:15 +10:00
Kevin Sawicki
5cf4995f2e
DRY up logic to check if native modules should be loaded
2017-05-30 09:15:38 -07:00
Kevin Sawicki
36989e19f8
Add spec for cross-origin blockage
2017-05-26 10:10:36 -07:00
Kevin Sawicki
e735aa7dee
web-preferences -> webPreferences
2017-05-26 10:10:36 -07:00
Kevin Sawicki
f5cf6d4ddd
Add spec for native window.open from iframe
2017-05-26 10:10:36 -07:00
Kevin Sawicki
92f14f8d52
printerList() -> getPrinters()
2017-05-18 10:14:55 -07:00
Kevin Sawicki
84a9b6a42d
Merge remote-tracking branch 'origin/master' into renaesop_master
2017-05-18 10:08:40 -07:00
Cheng Zhao
9bed0ffdbf
Merge pull request #9440 from brenca/osr-fixes
...
Additional small OSR fixes
2017-05-17 17:14:27 +09:00
Thiago de Arruda
5654ff0d43
Add test for #9387
2017-05-16 09:07:41 -03:00
Heilig Benedek
802501fb04
update osr specs
2017-05-13 02:14:30 +02:00
Ryohei Ikegami
7ac93045b7
Merge branch 'master' into native-window-open
2017-05-11 13:51:43 +09:00
Kevin Sawicki
8c856922f3
Merge pull request #9292 from 22222/issue8911
...
Fix #8911
2017-05-09 09:06:26 -07:00
renaesop
dfcc882dcc
Add a test for webcontents.printerList
.
2017-05-09 10:38:03 +08:00
22222
042b511a27
Fix #8911
2017-05-03 12:47:00 -05:00
Thiago de Arruda
a8640fb8a3
Add test to verify memory is released after sandboxed popup is closed
2017-05-01 11:30:07 -03:00
deepak1556
5e976be43b
remove page-title-updated workaround for #3380
2017-05-01 16:53:55 +09:00
deepak1556
e4524ce42e
add spec
2017-05-01 16:53:55 +09:00
Ryohei Ikegami
3c5179b717
Merge branch 'native-window-open' of github.com:seanchas116/electron into native-window-open
2017-04-30 19:37:23 +09:00
Ryohei Ikegami
0034b306f5
Add test for nativeWindowOpen + contextIsolation
2017-04-30 19:33:40 +09:00
Ryohei Ikegami
edeac2f59e
Split test HTML file into separate ones
2017-04-30 18:54:08 +09:00
Ryohei Ikegami
1d73e84a29
Merge branch 'master' into native-window-open
2017-04-27 12:03:55 +09:00
Kevin Sawicki
dc8b43901b
Merge pull request #9108 from yuya-oc/add-macos-sheet-events
...
Add sheet-begin and sheet-end events to macOS BrowserWindow
2017-04-20 10:33:31 -07:00
Kevin Sawicki
6b13fab83a
Wait for full screen event before leaving kiosk mode
2017-04-19 09:13:26 -07:00
Ryohei Ikegami
91f31506ef
Skip native addon test in Windows
2017-04-19 00:11:23 +09:00
Yuya Ochiai
75184046f6
Add events to manage sheets of macOS BrowserWindow
2017-04-15 16:26:45 +09:00
Ryohei Ikegami
659722924d
Don't show BrowserWindow in test
2017-04-06 11:44:20 +09:00
Ryohei Ikegami
349ea3a15a
Add test for native addon after reload
2017-04-06 11:43:57 +09:00
Ryohei Ikegami
61fa8693d2
Merge branch 'master' into native-window-open
2017-04-04 20:54:37 +09:00
Ryohei Ikegami
051e133ce3
Add test for opeing HTML file
2017-04-04 19:05:13 +09:00
Kevin Sawicki
e699e88b4c
Add initial tabbingIdentifier spec
2017-03-30 13:46:58 -07:00
Ryohei Ikegami
3af9f572ac
Fix spec description
2017-03-19 20:10:25 +09:00
Ryohei Ikegami
6bbfe89f96
Add spec for useNativeWindowOpen
2017-03-19 18:11:20 +09:00
Kevin Sawicki
6fcb784f6e
Add failing spec for no callback
2017-03-06 10:49:23 -08:00
Kevin Sawicki
f549bda9fc
Merge pull request #8799 from nitsakh/baseURLForDataURL
...
Support base URL option to loadURL for data URLs
2017-03-06 10:25:53 -08:00
deepak1556
eb827eb020
update spec
2017-03-06 00:10:46 +05:30
deepak1556
dead1ae1ba
webContents: defer url load when there is a pending navigation entry
2017-03-06 00:10:46 +05:30
Nitish Sakhawalkar
d75db0ea1a
Fixed js lint issues.
2017-03-02 14:37:09 -08:00
Nitish Sakhawalkar
370562b129
Moving data url test outside post navigation block. Trailing separator comment in the docs.
2017-03-02 12:14:18 -08:00
Nitish Sakhawalkar
e8c0813f46
Changes based on review.
2017-03-02 10:58:39 -08:00