Shelley Vohr
e4214a6cbe
[WIP] Upgrade more specs ( #10945 )
...
Finish upgrading specs to ES6
2017-10-27 16:45:58 -04:00
Boik
01d021e6a3
add a new spec for https://github.com/electron/electron/pull/10008
2017-07-15 15:00:30 +08:00
Kevin Sawicki
6d2a5145c9
Assert loaded state
2017-06-28 13:01:22 -07:00
Kevin Sawicki
9f0d2cd39d
Use pdf-loaded event in specs
2017-06-28 12:57:05 -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
Kevin Sawicki
af1d0c45ca
Load URL after registering listener
2017-06-05 14:47:11 -07:00
Kevin Sawicki
777b5b17de
Move pushState spec chromium-spec with other history specs
2017-06-05 14:45:45 -07:00
Kevin Sawicki
647e88da5a
Delete mock.pdf after download completes
2017-05-22 14:24:28 -07:00
rreimann
25015c4c63
Fix naming and formatting
2017-05-22 14:14:59 -07:00
rreimann
13665090d5
Add new test and enable plugins for existing tests
2017-05-22 14:14:59 -07:00
Kevin Sawicki
e817dbf50a
Add failing spec for webviewTag inheritance
2017-05-17 13:27:28 -07:00
Kevin Sawicki
4fdb884feb
Fix windows path in service worker spec
2017-05-11 15:33:56 -07:00
deepak1556
3c88447be6
protocol: provide default response code for custom request jobs
2017-05-11 15:33:56 -07:00
Kevin Sawicki
56a4a69dee
Add more non-matching target origins
2017-05-01 08:45:38 -07:00
Kevin Sawicki
3c58d50f87
Add failing spec for targetOrigin handling
2017-05-01 08:45:38 -07:00
Kevin Sawicki
775753c3d7
Add spec for invalid window.history.go offset
2017-04-26 12:37:16 -07:00
Kevin Sawicki
7726c7c6c4
Add spec for webPreferences in features string
2017-04-26 10:56:53 -07:00
Kevin Sawicki
9643b2a5c5
Add specs for window.open frameName argument
2017-04-26 10:14:11 -07:00
Kevin Sawicki
246937a372
Convert targetOrigin to string in render process
2017-04-26 09:08:47 -07:00
Kevin Sawicki
7e285711ca
Add spec for window.open toString errors
2017-04-26 09:08:47 -07:00
Kevin Sawicki
3f88eb2f86
Add spec for chrome-devtools URL with no node integration
2017-04-25 13:36:08 -07:00
Kevin Sawicki
cee0507090
Add failing spec for inheriting Javascript web preference
2017-04-25 12:57:53 -07:00
Kevin Sawicki
a00d36fb07
Add spec for alert/confirm toString errors
2017-04-24 09:15:01 -07:00
Kevin Sawicki
5153c1f353
Disable media device specs on CI where they may not be available
2017-04-18 16:16:08 -07:00
Kevin Sawicki
f891df55d4
Call done callback with Error
2017-04-18 16:06:10 -07:00
Kevin Sawicki
4af44b1be6
Consolidate window closing
2017-04-18 16:04:27 -07:00
Cheng Zhao
40b35a991f
Fix js lint
2017-03-20 12:52:46 -07:00
Cheng Zhao
033aa16e04
test: Node integration in web workers
2017-03-20 12:52:46 -07:00
Kevin Sawicki
a35cce5f7a
Enable takeHeapSnapshot spec
2017-03-17 09:14:17 -07:00
deepak1556
80ce60f644
spec: check if pdf has loaded
2017-03-14 00:26:27 +05:30
deepak1556
6be779c777
update spec with new asset
2017-03-14 00:26:27 +05:30
deepak1556
eda413861a
update spec
2017-03-14 00:26:27 +05:30
Cheng Zhao
210f40dd53
Convert "\" to "/" in file:// url
2017-03-14 00:26:27 +05:30
deepak1556
a4400dc549
add basic spec
2017-03-14 00:26:27 +05:30
Kevin Sawicki
37b7dda3c5
Remove use of now private guestId
2017-01-16 12:38:16 -08:00
Kevin Sawicki
fbcbfbda6a
Add back BrowserWindowProxy location property
2017-01-16 12:38:16 -08:00
Kevin Sawicki
1f07977f09
Remove lint errors
2017-01-06 09:58:40 -08:00
Kevin Sawicki
fd23c7bf76
Assert duplicate objects are supported
2017-01-06 09:58:40 -08:00
Kevin Sawicki
1944fdc962
Track visited parents and null out cycles
2017-01-06 09:58:40 -08:00
Kevin Sawicki
12382f064b
Add failing spec for cycle in options
2017-01-06 09:58:40 -08:00
Kevin Sawicki
b942c54bea
Use closeWindow helper
2017-01-06 09:58:40 -08:00
Kevin Sawicki
04e873f78e
Make deviceIds const
2016-12-12 13:33:18 -08:00
Kevin Sawicki
04da9257ef
Catch any close window errors
2016-12-12 13:32:27 -08:00
deepak1556
e043dabcb8
add spec
2016-12-04 00:22:57 +05:30
Kevin Sawicki
f5f790863d
Use 1 or 2 minute timeout for long specs
2016-11-29 14:31:57 -08:00
Kevin Sawicki
10386edea5
Default timeout to 30 seconds on CI and 10 seconds locally
2016-11-29 14:29:35 -08:00
Kevin Sawicki
77fa7ce977
Run more crashReporter specs on CI
2016-11-29 14:18:42 -08:00
Kevin Sawicki
145e40c2f6
Add more origin comparison specs
2016-11-28 10:56:23 -08:00
Kevin Sawicki
41dea03007
window.opener location should be webview src URL
2016-11-28 10:56:23 -08:00
Kevin Sawicki
0799317ff5
Add failing specs window.opener from <webview> opened window
2016-11-23 12:01:09 -08:00