Cheng Zhao
4b46eca329
spec: Always run crash-reporter at last
...
So when a test crashed we can always see the stack trace.
2017-07-31 16:36:52 +09:00
Cheng Zhao
9ced85d860
Terminate tests when renderer process crashed
2017-07-31 16:24:23 +09:00
Siyuan Liu
5a48c1feed
fixes 10128
2017-07-31 09:32:45 +08:00
Birunthan Mohanathas
20ae611dd9
Merge pull request #10097 from liusy182/liusy182-browserview
...
#10039 add BrowserView.fromId
2017-07-28 01:27:47 +03:00
Siyuan Liu
ae7c1ae741
#10039 add BrowserView.fromId
2017-07-24 11:32:30 +08:00
Kevin Sawicki
1d9f69e742
Merge pull request #10008 from qazbnm456/fix-pdf-viewer
...
Fix a query string parsing problem happend to PDF Viewer
2017-07-18 09:10:55 -07:00
Kevin Sawicki
208be2a542
Set preload script on opened windows
2017-07-17 11:55:16 -07:00
Kevin Sawicki
3925bfde8e
Add spec for reloading opened window cross-origin
2017-07-17 11:55:15 -07:00
Kevin Sawicki
0c8f773dec
Remove debug logging
2017-07-17 11:55:15 -07:00
Kevin Sawicki
9d7c2e2294
Add specs for nativeWindowOpen inheritance and new-window support
2017-07-17 11:55:15 -07:00
Kevin Sawicki
86b1deedfa
Inherit enabled-sandbox in opened windows
2017-07-17 11:55:15 -07:00
Kevin Sawicki
c71b0a5441
Add spec for configuring web preferences from sandboxed new-window event
2017-07-17 11:55:15 -07: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
0a71a9b992
Merge pull request #9695 from shubham2892/alwaysOnTop-window-disappears-when-restored-fix
...
Fix an issue where alwaysOnTop window disappears when restore…
2017-07-14 10:09:13 -07:00
Kevin Sawicki
4935e8567f
Initialize level_ in initWithShell
2017-07-14 10:07:06 -07:00
Kevin Sawicki
48f5a66f87
Merge pull request #9983 from electron/devtools-mixed-sandbox
...
Fix devtools open in mixed sandbox
2017-07-14 09:41:56 -07:00
Birunthan Mohanathas
812b529881
Add app.disableDomainBlockingFor3DAPIs()
...
By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a
per domain basis if the GPU processes crashes too frequently. This
function disables that behaviour.
2017-07-14 01:41:43 +03:00
Kevin Sawicki
60f563ae5f
Surface require errors so spec does not hang
2017-07-13 08:36:58 -07:00
Hari Juturu
80bd6a3e91
🎨
2017-07-11 18:36:01 -07:00
Hari Juturu
9a3b78d9fe
Fix devtools open in mixed sandbox mode
2017-07-11 18:36:00 -07:00
Alexandre Lachèze
6e3407d4a4
✅ Forgot a describe.only
2017-07-05 19:10:02 +02:00
Alexandre Lachèze
2231673b03
✅ Remove already tested part
2017-07-05 17:36:39 +02:00
Alexandre Lachèze
67cec5fd26
✅ add tests for BrowserWindow.addExtension
2017-07-05 17:21:06 +02:00
Aleksei Kuzmin
120b05e075
Fix error message of assertWithinDelta()
2017-07-04 11:56:21 +02:00
Kevin Sawicki
1c1cf0d1f2
Merge pull request #9857 from alexeykuzmin/add-enable-osr-flag
...
[WIP] Add enable_osr flag
2017-06-29 12:30:44 -07:00
Kevin Sawicki
449776f228
Don't run it statements when OSR is disabled
2017-06-29 12:26:45 -07:00
Kevin Sawicki
e37fc0e30a
Mark mixed sandbox as macOS/Windows only
2017-06-28 14:36:34 -07:00
Kevin Sawicki
506b354c1b
👕 Remove lint
2017-06-28 13:40:28 -07: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
Kevin Sawicki
4958771b8a
Merge pull request #9852 from electron/webcontents-ignorekeyboardshortcuts
...
Add webContents.setIgnoreMenuShortcuts()
2017-06-28 10:35:02 -07:00
Aleksei Kuzmin
25e1c5d6e7
Skip "offscreen rendering" tests if OSR is not available
2017-06-28 19:34:57 +02:00
Kevin Sawicki
9dd27ba3ec
Add explicit expected value
2017-06-28 10:21:25 -07:00
Kevin Sawicki
2cd49f3036
Merge pull request #9644 from electron/webview-sandbox
...
Enable sandbox on webview
2017-06-28 10:10:25 -07:00
Kevin Sawicki
5822e718e6
Add finish helper to ensure connection
2017-06-28 09:58:23 -07:00
Kevin Sawicki
523fbe2df9
Send messages between app via socket connection
2017-06-28 09:27:19 -07:00
Kevin Sawicki
2df9e57b50
Remove unused require
2017-06-28 08:35:17 -07:00
Kevin Sawicki
7fcc00f137
Add spec for app.enableMixedSandbox()
2017-06-28 08:33:11 -07:00
Kevin Sawicki
f7539e6e8d
Remove increased timeout
2017-06-26 14:15:26 -07:00
Kevin Sawicki
c01248ce47
Remove unused require
2017-06-26 14:14:44 -07:00
Kevin Sawicki
0eaddd1565
Verify --enable-sandbox/--no-sandbox command line
2017-06-26 14:12:03 -07:00
Birunthan Mohanathas
f20f87829b
Add webContents.setIgnoreMenuShortcuts()
...
This allows you to disable application menu shortcut handling on a per
web contents basis.
2017-06-26 14:01:17 -07:00
Kevin Sawicki
14178d9826
Expose argv to preload process object
2017-06-26 13:52:19 -07:00
Birunthan Mohanathas
eb19562316
Fix crash when using file chooser in BrowserView
...
The crash was a segfault caused by a null `WebDialogHelper::window_`.
2017-06-21 16:26:38 -07:00
Shubham
1b8963ff6e
🍎 Fix full screen when resizable is set to true
2017-06-20 16:11:28 -04:00
Hari Krishna Reddy Juturu
902b34ba39
🎨
2017-06-19 08:03:02 -07:00
Hari Krishna Reddy Juturu
e546820a4a
Completing UTs
2017-06-19 07:46:14 -07:00
Hari Krishna Reddy Juturu
0b7e7458c9
WIP: Adding UT
2017-06-16 15:34:11 -07:00
Kevin Sawicki
f1a72ad108
Add spec for webview visibility change on show
2017-06-14 14:11:38 -07: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
fc00bf0cc3
Add initial spec for ELECTRON_RUN_AS_NODE with --inspect-brk
2017-06-12 14:04:57 -07:00
Shubham
f001377493
🍎 Fix an issue where alwaysOnTop window disappears when restored from the application icon
2017-06-07 12:28:50 -04: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
Kevin Sawicki
d2d28c42f1
Remove unused constant
2017-06-06 15:19:29 -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
53b6ee0e3f
Merge pull request #9468 from tonyganch/9296-history-state
...
Remove page url check during `history.pushState`
2017-06-05 14:47:49 -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
9a362eed53
Merge pull request #9572 from shubham2892/api-height-menubar-macos
...
API height menubar macos
2017-06-05 10:35:16 -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
2508159a25
Use assert.fail for unexpected values
2017-05-31 08:39:49 -07:00
Kevin Sawicki
55fcb286a5
Run getGPUFeatureStatus spec on all platforms
2017-05-31 08:10:55 -07:00
Shubham
6537238c0d
🎨 code structure fix
2017-05-30 17:40:06 -04:00
Shubham
62d9bf9bae
🎨 ✅ code comments and test for getMenuBarHeight function
2017-05-30 17:26:02 -04:00
Kevin Sawicki
4a5831a733
Add initial getGPUFeatureStatus spec
2017-05-30 13:00:00 -07: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
edd840fcc0
Only assert GPU process on macOS
2017-05-26 10:10:56 -07:00
Kevin Sawicki
9f49b71b89
Add cross-origin frame webview spec
2017-05-26 10:10:36 -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
a0571e3c72
Add failing spec for native window.open returning null without allowpopups
2017-05-26 10:10:36 -07:00
Kevin Sawicki
ef01c16c6a
Add tests for more nativeWindowOpen events
2017-05-26 10:10:36 -07:00
Kevin Sawicki
9f06b6dc21
Set allowpopups attribute in nativeWindow open specs
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a32b7e5cdb
Co-locate nativeWindowOpen specs
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a2a7a1d8c7
Add new-window <webview> spec with nativeWindowOpen
2017-05-26 10:10:36 -07:00
Kevin Sawicki
da2b29796f
Add same domain webview nativeWindowOpen spec
2017-05-26 10:10:36 -07:00
Kevin Sawicki
a16cd0bd03
Add failing <webview> with nativeWindowOpen spec
2017-05-26 10:10:36 -07:00
Kevin Sawicki
9137a2279a
Merge pull request #9486 from electron/child-observer
...
Adding CPU & Memory metrics for App
2017-05-26 09:28:22 -07:00
Kevin Sawicki
8b14df143a
Don't assert GPU process on Linux
2017-05-26 09:14:17 -07:00
Kevin Sawicki
1e4dd9b163
Store process type as int
2017-05-26 08:53:26 -07:00
Kevin Sawicki
b5879b7399
🎨 Minor formatting/doc changes
2017-05-26 07:51:17 -07:00
Kevin Sawicki
d202c35be9
Enable crash reporter specs on Linux CI
2017-05-25 16:58:37 -07:00
Hari Juturu
de5eaf9336
Remove .only
2017-05-24 21:07:35 -07:00
Hari Juturu
939747945e
Adding CPU & Memory metrics for App
2017-05-24 21:07:35 -07:00
Tony Ganch
6d64336978
Add test for #9468
2017-05-23 22:42:32 +02: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
ad9496144f
Remove buffers setting in write spec
2017-05-22 13:55:35 -07:00
Kevin Sawicki
6b7ec621e3
Throw error when non-Buffer specified instead of crashing
2017-05-22 13:53:58 -07:00
Ryohei Ikegami
a26e360e82
Remove console.log
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
f2471cb1b7
Rename buffer -> buffers
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
03fdc7aa28
Add buffer support in clipboard.write()
2017-05-22 13:43:21 -07:00
Ryohei Ikegami
66cc07d8e9
Add clipboard.writeBuffer
2017-05-22 13:43:21 -07:00
Kevin Sawicki
74b7afbec7
Merge origin/master into enable-webview
2017-05-19 10:17:34 -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
Kevin Sawicki
65ab71c894
Assert pid after load finishes
2017-05-17 17:10:41 -07:00
Kevin Sawicki
fd782706b2
Add explicit spec for removing preload from webview
2017-05-17 13:47:00 -07:00
Kevin Sawicki
e817dbf50a
Add failing spec for webviewTag inheritance
2017-05-17 13:27:28 -07:00
Kevin Sawicki
bde13353fb
Rename option to webviewTag and default to nodeIntegration value
2017-05-17 13:12:23 -07:00
Kevin Sawicki
837ea884de
Merge remote-tracking branch 'origin/master' into enable-webview
2017-05-17 12:45:29 -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
Kevin Sawicki
0ae5f7e623
Assert PID is 0 with no URL
2017-05-15 13:34:30 -07:00
Kevin Sawicki
d79ac8d9c1
Merge pull request #9222 from alexstrat/add-os-process-id
...
Add OS pid to web-contents
2017-05-15 13:28:47 -07:00
Alexandre Lachèze
9b776369e6
👕
2017-05-15 21:00:13 +02:00
Kevin Sawicki
bcbfd0d5c6
Disable crashReporter specs on Linux CI
2017-05-15 11:01:53 -07:00
Alexandre Lachèze
2f297b1893
✅ Add simple spec for getOSProcessId()
2017-05-15 19:57:19 +02:00
Heilig Benedek
802501fb04
update osr specs
2017-05-13 02:14:30 +02: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
22222
4044548f3e
Add 'will-prevent-unload' event.
2017-05-11 06:35:35 -05: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
Hari Krishna Reddy Juturu
3321f7d39c
Changing command line option name
2017-05-08 17:27:31 -07:00
Hari Krishna Reddy Juturu
357caf8991
fixing spec
2017-05-06 22:41:05 -07:00
Hari Krishna Reddy Juturu
939885bc66
Remove .only on spec
2017-05-06 22:14:52 -07:00
Hari Krishna Reddy Juturu
94d054cf11
Add option to override webview security
2017-05-06 22:10:42 -07:00
Hari Krishna Reddy Juturu
b4a8ed01f1
PR 44648: Enabling creation on webview with node-integration disabled and raising events
...
- Enabling creation on webview with node-integration disabled and raising events
Conflicts:
lib/browser/guest-view-manager.js
2017-05-06 20:50:01 -07:00
Hari Krishna Reddy Juturu
07d8dfaa53
Fixing UT
2017-05-04 14:50:06 -07:00
Hari Krishna Reddy Juturu
472dad1ffc
convert var to const
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
656fb593b4
Fixing lint error
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
8bc4d3f8bd
GetIOCounters is not implemented on mac
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
3c71f542a8
Fixing UT on mac
2017-05-04 14:33:59 -07:00
Hari Krishna Reddy Juturu
8a5aa04756
Adding CPU and I/O metrics to process module
2017-05-04 14:33:59 -07:00
Kevin Sawicki
70e199e255
Merge pull request #9333 from electron/process-memory-info-sandbox
...
Expose `process.get{System,Process}MemoryInfo` to sandbox
2017-05-04 14:17:44 -07:00
Kevin Sawicki
59511354fd
Merge pull request #9214 from electron/app-memoryinfo
...
API to get memory of all processes of the app
2017-05-04 14:00:30 -07:00
Kevin Sawicki
3b3e7cc14e
Assert memory info for all returned processes
2017-05-04 13:43:45 -07:00
22222
042b511a27
Fix #8911
2017-05-03 12:47:00 -05:00
Kevin Sawicki
b639dd0c81
Remove unused include/require statement
2017-05-01 10:30:11 -07:00
Kevin Sawicki
db6097ecec
Add failing spec for invalid debugger message
2017-05-01 10:30:11 -07:00
Kevin Sawicki
56a4a69dee
Add more non-matching target origins
2017-05-01 08:45:38 -07:00
Kevin Sawicki
efc62629ef
Fix typo in fixture comment
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
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
da97150fc9
Fix JS style in test HTMLs
2017-04-30 19:43:21 +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
HariJ
88ad28b2a5
Removing describe.only
2017-04-27 14:06:53 -07:00