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
Nitish Sakhawalkar
879082b1a6
Issue #8735:Support base URL option to loadURL for data URLs
2017-02-28 16:49:03 -08:00
Kevin Sawicki
70010fdb8e
Add spec for Buffer global
2017-02-14 08:42:34 -08:00
Cheng Zhao
c72438f09f
WebInspector has been split up
2017-02-06 10:34:29 -08:00
Kevin Sawicki
dc1c11a841
Merge pull request #8487 from leethomas/feature/osx-relative-window-levels
...
Feature/macOS relative window levels
2017-01-30 15:34:24 -08:00
leethomas
edbb786fb4
use kCGMinimumWindowLevelKey to get the minimum level
2017-01-26 19:12:10 -08:00
Kevin Sawicki
76e5589a31
Schedule function after executeJavaScript completes
2017-01-26 16:15:10 -08:00
Kevin Sawicki
2cfa67bdff
Remove linter warning
2017-01-26 09:59:07 -08:00
Kevin Sawicki
a851695bb9
Clear interval before setting new one
2017-01-26 09:57:53 -08:00
Kevin Sawicki
e2e33a8cf0
Guard against destroyed window or web contents
2017-01-26 09:57:00 -08:00
Kevin Sawicki
515f689814
Use helper function to show last dev tools panel
2017-01-26 09:42:45 -08:00
leethomas
9e189b9d2d
fix js lint errors
2017-01-26 07:14:47 -08:00
leethomas
1234b61fa6
spec to ensure an error is thrown when relativeLevel is set out of bounds
2017-01-25 19:39:57 -08:00
Kevin Sawicki
8e39aea34a
Merge pull request #8478 from deepak1556/load_url_max_char_patch
...
WebContents: emit did-fail-load event when url exceeds character limit
2017-01-25 09:46:40 -08:00
deepak1556
d8a16a8ffb
fix spec
2017-01-25 14:20:33 +05:30
Kevin Sawicki
6bb331356e
Finish spec when full screen is left
2017-01-24 11:55:13 -08:00
Kevin Sawicki
284ca3114b
Wait for window to transition before leaving full screen
2017-01-24 11:55:13 -08:00
deepak1556
593a3de850
add spec
2017-01-23 19:57:47 +05:30
Kevin Sawicki
873e6e5e6b
Append form to body before submitting
2017-01-19 09:05:59 +02:00
Kevin Sawicki
f7bdf5d04e
Merge pull request #8399 from watilde/feature/fixes-8338
...
save a fullscreen state when Kiosk mode is called
2017-01-17 13:03:51 -08:00
Kevin Sawicki
1d824d4645
Assert document visibility in main context
2017-01-16 13:03:38 -08:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
95054f443f
Enable context isolation on child windows
2017-01-16 12:38:16 -08:00
Kevin Sawicki
33b6ab11f2
Assert context state after reload
2017-01-16 12:38:16 -08:00
Kevin Sawicki
802ed62d5b
Remove trailing comma
2017-01-16 12:38:16 -08:00
Kevin Sawicki
b348cdeae8
Set page variable using webFrame.executeJavaScript
2017-01-16 12:38:16 -08:00
Kevin Sawicki
ea2273dde5
Assert built-in prototype isolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
ad3b837ad5
Rename option to contextIsolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
2928fe5c43
Add initial isolated world spec
2017-01-16 12:38:16 -08:00
Daijiro Wachi
b97db68f0c
add tests to fullScreen and Kiosk
2017-01-14 00:05:04 +01:00
Kevin Sawicki
97dd680b32
Remove linter errors
2017-01-12 10:28:08 -08:00
Kevin Sawicki
8098ca3b66
Remove unneeded nextTick and assert array
2017-01-12 10:28:08 -08:00
Kevin Sawicki
c5da330cdf
Add failing spec for sandboxed window.open
2017-01-12 10:28:08 -08:00
Kevin Sawicki
d8366115f5
Add spec for resizable frameless window
2017-01-09 10:01:38 -08:00
Kevin Sawicki
abea1196de
Add spec for closing from will-navigate listener
2016-12-28 13:40:07 -08:00
Kevin Sawicki
2fa9ca1f6d
Merge pull request #8156 from sindresorhus/remove-dock-window-level
...
🍎 Document that the `dock` window level is deprecated
2016-12-12 09:39:08 -08:00
Kevin Sawicki
1a0fbf84f9
Merge pull request #8165 from geoff-addepar/geoff/fix-sandbox-printing
...
Fix printing with the sandbox enabled
2016-12-12 09:26:52 -08:00
Sindre Sorhus
3dde669ee8
🍎 Remove deprecated dock
window level
...
According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
2016-12-09 12:46:49 +01:00
Geoff Lywood
5345b08d24
Fix printing with the sandbox enabled
...
Closes #7984
2016-12-07 17:40:18 -08:00
Kevin Sawicki
03263bb5b6
Add failing BrowserWindow.fromDevToolsWebContents spec
2016-12-06 10:36:59 -08:00
Kevin Sawicki
b0a1e2988b
Add spec for BrowserWindow.fromWebContents
2016-12-06 10:36:59 -08:00
Kevin Sawicki
b29f7b9acb
Clear interval before assert
2016-12-06 09:25:55 -08:00
Kevin Sawicki
c2f516067f
Add missing r in variable name
2016-12-06 09:22:29 -08:00
Kevin Sawicki
58cae1d8de
Clear interval before destroying window
2016-12-06 09:22:08 -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
df179ed28d
Merge pull request #8092 from poiru/setcursorautohide
...
Add BrowserWindow.setCursorAutoHide
2016-11-29 13:36:58 -08:00
Kevin Sawicki
d7e7c2b17f
Assert single window from closeWindow helper
2016-11-29 11:29:20 -08:00
Kevin Sawicki
1afa41477d
Don't use this.skip() since after hooks won't be run
2016-11-29 10:56:58 -08:00
Kevin Sawicki
217848ca52
Assert windows are not leaking across tests
2016-11-29 10:56:17 -08:00
Birunthan Mohanathas
18c49285a8
Add BrowserWindow.setAutoHideCursor for macOS
...
The `disableAutoHideCursor` BrowserWindow option can be used to control
auto-hiding behavior when the window is created. This new API is needed
to dynamically change the behavior after the fact.
2016-11-29 09:46:00 -08:00
Kevin Sawicki
774b2f99f2
Merge pull request #8038 from electron/danhp/close-file-preview
...
Add 'win.closeFilePreview()'
2016-11-28 14:47:06 -08:00
Kevin Sawicki
a7395118af
Merge pull request #7952 from the-ress/window-setappid
...
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-28 14:46:14 -08:00
Kevin Sawicki
3897a88082
Use skip for setAppDetails spec
2016-11-28 14:43:18 -08:00
Kevin Sawicki
0a61aad499
Add initial previewFile/closeFilePreview test
2016-11-28 14:32:15 -08:00
Kevin Sawicki
6f29d7211e
Move restore/unmaximize specs near state ones
2016-11-22 13:32:39 -08:00
Kevin Sawicki
63eec70350
Assert bounds when restoring
2016-11-22 13:22:30 -08:00
Kevin Sawicki
c0d9175bc3
Try specs without setTimeout calls
2016-11-22 13:14:17 -08:00
Kevin Sawicki
238beb72ee
Remove .only call
2016-11-22 11:41:02 -08:00
Samuel Attard
97b4f12112
Fix linting issues
2016-11-22 16:13:08 +11:00
Samuel Attard
926cabec78
Add spec for maximize restore positioning
2016-11-22 16:07:19 +11:00
Samuel Attard
67f33cdb60
Add failing spec for window size after restore
2016-11-22 15:49:47 +11:00
Kevin Sawicki
d4ba5b4638
Add spec for zoomToPageWidth
2016-11-21 08:45:46 -08:00
Tereza Tomcova
782417b1fa
Added tests for BrowserWindow.setAppDetails
2016-11-18 21:34:01 +01:00
Kevin Sawicki
eeffa42513
Merge pull request #7923 from jhen0409/patch-1
...
Add support remove / clear for chrome.storage
2016-11-15 09:04:45 -08:00
Jhen
8b30439d7f
Update devtools extension spec for chrome.storage
2016-11-15 19:58:08 +08:00
deepak1556
4deb7c6fa7
fix lint error
2016-11-12 07:16:48 +05:30
Kevin Sawicki
134f8afbe6
Add specs for content type on POST forms
2016-11-11 10:54:01 -08:00
Kevin Sawicki
50019f39e9
🎨
2016-11-11 10:54:01 -08:00
Kevin Sawicki
cbb68f6980
Remove quotes around key
2016-11-11 10:54:01 -08:00
deepak1556
61576c39be
uploadData => uploadRawData
2016-11-11 10:54:01 -08:00
deepak1556
ad5f944185
add spec
2016-11-11 10:53:36 -08:00
gellert
5e62d28e50
adds test, adds view to AtomNSWindow and minor fixes
2016-11-11 08:49:57 -08:00
Samuel Attard
9f18a6e65c
Use ES6 template strings, fix docs and remove _ERROR_ IPC event
2016-11-03 09:33:47 -07:00
Samuel Attard
857e1da6a3
Make executeJavaScript return a Promise so that caught errors can be sent to the caller
2016-11-03 09:33:47 -07:00
Samuel Attard
75b010ce63
Add sync executeJavaScript test
2016-11-03 09:33:47 -07:00
Kevin Sawicki
038718717c
Add initial ready-to-show spec
2016-10-31 12:40:49 -07:00
Samuel Attard
a0284a9bc5
Add spec for window.open with webPreferences set to null
2016-10-07 12:13:04 +11:00
Michael Vasseur
edd80d88a9
Update BrowserWindow's test to check additional features upon window.open() call
2016-10-05 13:45:15 +02:00
Kevin Sawicki
d942694695
openedWindow -> popupWindow
2016-09-30 08:54:24 -07:00
Kevin Sawicki
766f5afabd
Explicitly close popup window
2016-09-30 08:50:41 -07:00
Kevin Sawicki
e16fa08e61
🎨
2016-09-30 08:38:21 -07:00
Kevin Sawicki
3bed19d70d
Add spec for BrowserWindow.setAlwaysOnTop
2016-09-28 09:23:52 -07:00
Thiago de Arruda
47fd41715f
Add some tests for "sandbox" option
2016-09-27 06:01:47 -03:00
Phil Haack
cadbd7beb1
Merge pull request #7145 from electron/device-scale-factor-failures
...
Get specs passing on displays using certain device scale factors
2016-09-09 07:38:23 -07:00
Kevin Sawicki
7c26fe46b8
=== -> !==
2016-09-08 17:12:53 -07:00
Kevin Sawicki
68c67b64c5
Use delta when scale factor is above 2 and odd
2016-09-08 16:24:11 -07:00
Kevin Sawicki
59a49f6f96
Use bounds helper in failing specs
2016-09-08 16:20:46 -07:00
Kevin Sawicki
7494e286d9
Put actual value first
2016-09-08 16:20:45 -07:00
Kevin Sawicki
d88f70caa2
Use single assert bounds helper
2016-09-08 16:20:45 -07:00
Kevin Sawicki
71fac07a93
Add scale factor assert helpers
2016-09-08 16:20:45 -07:00
Kevin Sawicki
aaf2bb2751
Add spec for deleting Buffer global in preload
2016-09-08 10:34:09 -07:00
Kevin Sawicki
c754b5efdc
Add failing spec for state changes resizing frameless window
2016-08-15 12:30:26 -07:00
Cheng Zhao
81244c2221
Merge pull request #6768 from electron/felix-set-progress
...
Enable mode indication for setProgressBar
2016-08-09 20:58:07 +09:00
Felix Rieseberg
73c91dae9e
🔧 Enable mode indication for setProgressBar
...
This commit enables setting a mode for the setProgressBar method.
Old behavior is kept intact, usage is entirely optional.
2016-08-08 15:52:20 -07:00
Kevin Sawicki
e767d3c131
Add spec for executeJavaScript DOM class prototype
2016-08-08 09:42:43 -07:00
Cheng Zhao
3be68ba136
Merge pull request #6736 from electron/maximizable-state
...
Always restore maximizable state after changing window behavior/style
2016-08-05 17:25:22 +09:00
Kevin Sawicki
23203daf95
Non-resizable windows should only maximizable on Mac
2016-08-04 17:22:09 -07:00
Kevin Sawicki
41a0a3fff2
Add failing spec
2016-08-04 16:46:40 -07:00
Kevin Sawicki
2a20630f2f
Use same position as setPosition test
2016-08-04 13:02:41 -07:00
Kevin Sawicki
3a0ceb40b9
Assert new content bounds after resize event
2016-08-04 12:54:45 -07:00
Kevin Sawicki
3041fcc79e
Add spec for BrowserWindow.setContentBounds
2016-08-04 12:34:09 -07:00
Kevin Sawicki
79eee0fdf1
Assert after size through getContentBounds() API
2016-08-04 09:58:35 -07:00
Kevin Sawicki
ad07a20d9a
Use electabul to instrument and report coverage
2016-08-03 16:23:39 -07:00
Kevin Sawicki
2c0de93f06
Use once when calling done callback
2016-08-03 16:23:39 -07:00
Kevin Sawicki
0ebe142b2f
Close windows instead of destroying them
2016-08-03 16:23:39 -07:00
Cheng Zhao
ea8ea1543f
Refactor osr_output_device
2016-08-03 13:06:38 +09:00
Cheng Zhao
c8b544ee1f
spec: Remove duplicate code in tests
2016-08-03 10:27:55 +09:00
gellert
35ee99265e
adds tests for osr
2016-07-31 17:10:53 +02:00
Kevin Sawicki
181b8d799e
Add spec for min/max window size
2016-07-12 16:36:25 -07:00
Kevin Sawicki
8b35814d10
🎨
2016-06-29 09:46:16 -07:00
Kevin Sawicki
197ec98800
Remove standard linter warnings
2016-06-29 09:46:16 -07:00
Kevin Sawicki
d2d11ce8bd
Invoke callback instead of returning
2016-06-28 13:04:59 -07:00
Kevin Sawicki
2fe83bc5f0
Add failing spec for no specified storage keys
2016-06-28 13:01:51 -07:00
Cheng Zhao
090c8b89bb
spec: Make beginFrameSubscription test more reliable
2016-06-26 11:53:58 +09:00
Heilig Benedek
5118def724
damaged -> dirty rename, fixed misc issues, changed signature, updated docs and added tests
2016-06-25 18:23:40 +02:00
Cheng Zhao
e33e4be257
macOS: Use sheet window as modal window
2016-06-20 14:49:24 +09:00
Cheng Zhao
f4bec78ccb
linux: Implement win.setParentWindow(parent)
2016-06-20 11:16:41 +09:00
Cheng Zhao
a6c4bf098b
spec: Avoid calling setParentWindow for unrelated tests
2016-06-20 11:16:41 +09:00
Cheng Zhao
85ba382027
Add "parent" option for BrowserWindow
2016-06-20 11:16:41 +09:00
Cheng Zhao
2c5f4aadfb
spec: Test cases for win.setModal(modal)
2016-06-20 11:16:41 +09:00
Cheng Zhao
214dd97165
spec: Test cases for parent window
2016-06-20 11:16:41 +09:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Kevin Sawicki
b6f87574ee
Reset icon and clear progress bar
2016-06-16 15:01:37 -07:00
Kevin Sawicki
52525ef6bc
Add failing spec for icon progress crash
2016-06-16 14:57:07 -07:00
Cheng Zhao
853d7b1b79
Merge pull request #5965 from electron/installed-extension-api
...
Add BrowserWindow.getDevToolsExtensions API
2016-06-13 00:45:58 +00:00
Jessica Lord
c68ca16148
Merge pull request #5974 from electron/chrome-storage-sync
...
Add chrome.storage.sync and chrome.storage.get APIs
2016-06-10 12:20:03 -07:00
Kevin Sawicki
1f245d5ff6
Add getDevToolsExtensions API
2016-06-10 09:26:38 -07:00
Kevin Sawicki
0a26075699
Add BrowserWindow.isDevToolsExtensionInstalled API
2016-06-10 09:24:04 -07:00
Cheng Zhao
ccaf837da4
Merge pull request #5964 from electron/manifest-errors
...
Throw errors reading/parsing manifest.json files
2016-06-10 03:28:57 +00:00
Jessica Lord
8fa4d66a5e
Remove .only from spec
2016-06-09 16:39:42 -07:00
Jessica Lord
f121f46a24
Merge branch 'master' into chrome-storage-sync
2016-06-09 16:35:00 -07:00
Jessica Lord
d6b108b272
Add spec
2016-06-09 14:14:20 -07:00
Jessica Lord
0ed10658a3
Add spec
2016-06-09 13:57:51 -07:00
Kevin Sawicki
d1ac5dd29b
Add specs for manifest.json read/parse error
2016-06-09 09:44:49 -07:00
deepak1556
b91217f29e
emit once for each session and add spec
2016-06-09 10:40:51 +05:30
Kevin Sawicki
4f7bde38a9
Assert on tab id as well
2016-06-08 12:00:13 -07:00
Kevin Sawicki
d6311daea3
Add failing spec for chrome.runtime.id
2016-06-06 14:41:55 -07:00
Daniel Pham
34af9794a2
✅ Add test for 'setAspectRatio(0)'
2016-05-29 08:47:42 -04:00
Cheng Zhao
fa0ce7ad5f
Adjust to the new behaviors of beforeunload handler
2016-05-23 14:27:39 +09:00
deepak1556
c9b314d43c
renderer: generate net error strings when requested
2016-05-21 10:21:15 +05:30
Kevin Sawicki
cee31ff67a
Remove semicolon
2016-05-17 16:42:37 -07:00
Kevin Sawicki
9266f9abfc
Update interval id variable name
2016-05-17 16:42:21 -07:00
Kevin Sawicki
f95c46d987
Show last panel by id
2016-05-17 16:40:34 -07:00