Thiago de Arruda
a8640fb8a3
Add test to verify memory is released after sandboxed popup is closed
2017-05-01 11:30:07 -03:00
Ryohei Ikegami
da97150fc9
Fix JS style in test HTMLs
2017-04-30 19:43:21 +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
cee0507090
Add failing spec for inheriting Javascript web preference
2017-04-25 12:57:53 -07:00
Kevin Sawicki
de62f1ea6c
Restart crash service in each spec
2017-04-19 16:37:24 -07:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Kevin Sawicki
bfb9388191
Add failing spec for app.exit with >2 windows
2017-04-11 09:09:17 -07:00
Ryohei Ikegami
349ea3a15a
Add test for native addon after reload
2017-04-06 11:43:57 +09:00
Thiago de Arruda
ce1a5e3c9c
Fix sandboxed crashReporter for windows.
...
- Use `path` module from browser process in sandboxed renderer. This is required
because the return value of `path.join` is platform-specific, and this is an
assumtion of crash-reporter.js which is shared between sandboxed and
non-sandboxed renderers.
- Set `process.platform` and `process.execPath` in sandboxed renderer
environment. This is required to spawn the windows crash service from
sandboxed renderer.
- Use a single temporary directory for all crashReporter tests. This is required
to make tests more deterministic across platforms(since mac's crashpad doesn't
support changing the crash dump directory). Also make a few improvements/fixes
to the `uploadToServer` test.
2017-04-05 18:09:24 -03:00
Kevin Sawicki
e5f70f90a4
Add spec for remote setter with remote object
2017-04-04 11:18:16 -07: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
257f6b142f
Add spec for remote setter not surfacing error
2017-04-03 09:10:46 -07:00
Thiago de Arruda
460fb9cdb9
Add tests for uploadToServer
option.
2017-03-31 13:48:07 -03:00
Kevin Sawicki
39fdc26921
Time out after 5 minutes
2017-03-30 14:39:48 -07:00
Kevin Sawicki
b85ebb00aa
Tweak logged messages
2017-03-30 14:36:52 -07:00
Kevin Sawicki
7873130019
Add comment to codecs app script
2017-03-30 14:36:52 -07:00
Kevin Sawicki
6b8f840da0
Add script to verify ffmpeg without proprietary codecs
2017-03-30 14:36:52 -07:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Thiago de Arruda
5ee6205c0a
Run the crash reporter specs with sandbox option.
...
- Create a function that accepts BrowserWindow options and generates a suite
that contains the renderer-specific tests.
- Run the function twice to execute the tests with and without sandbox option.
2017-03-23 10:01:02 -03:00
Cheng Zhao
940d77b9a0
Fix typos and adjust sentences
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
286f529968
Merge pull request #8890 from twolfson/dev/proxy.to.string.sqwished
...
🐛 Add toString support to remote functions
2017-03-20 09:35:51 -07:00
Ryohei Ikegami
6bbfe89f96
Add spec for useNativeWindowOpen
2017-03-19 18:11:20 +09:00
Kevin Sawicki
648d3324fb
Add spec for remote function with toString property
2017-03-17 10:28:23 -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
a4400dc549
add basic spec
2017-03-14 00:26:27 +05:30
Kevin Sawicki
14e8e463b3
Merge pull request #8864 from electron/zoom_controller_webview_patch
...
browser: track origin zoom with HostZoomMap
2017-03-09 11:27:34 -08:00
Kevin Sawicki
17b70670f8
Add initial NativeImage.addRepresentation specs
2017-03-09 09:56:42 -08:00
deepak1556
224ffe44aa
add spec
2017-03-08 19:16:55 +05:30
Kevin Sawicki
8eaf48e552
Add spec for 1x1 PNG data URL
2017-03-07 12:27:55 -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
Kevin Sawicki
7fb77ee1cb
Set isolated world security origin
2017-03-02 08:49:18 -08:00
Kevin Sawicki
7f6283352f
Add failing spec for fetch from isolated world
2017-03-02 08:49:18 -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
6c40b1eead
Verify global.Buffer is undefined
2017-02-24 09:57:32 -08:00
Kevin Sawicki
e6fec57bd8
Add failing spec for Buffer from preload required module
2017-02-24 09:57:32 -08:00
deepak1556
a57af31b99
add zoom specs based on standard protocols
2017-02-18 01:41:39 +05:30
deepak1556
403e7681c1
add basic webview zoom specs
2017-02-18 01:34:32 +05:30
deepak1556
dfc2e6c4a8
add temporary zoom api spec
2017-02-18 01:34:32 +05:30
Kevin Sawicki
86007fe61d
Update blur parent window spec
2017-02-15 08:28:55 -08:00
Kevin Sawicki
35908ac398
Add webContents.focus() spec
2017-02-15 08:28:55 -08:00
Kevin Sawicki
272a0824e8
Fix darwin platform name
2017-02-14 09:37:09 -08:00
Kevin Sawicki
af7702d0f2
🎨
2017-02-14 09:37:09 -08:00
Kevin Sawicki
b51adf8ae5
Add spec for updated extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
a4bbad03c2
autoSubmit -> uploadToServer
2017-02-14 09:37:09 -08:00
Kevin Sawicki
7e138083ef
Add declared const Buffer spec
2017-02-14 08:42:34 -08:00
Kevin Sawicki
70010fdb8e
Add spec for Buffer global
2017-02-14 08:42:34 -08:00
Kevin Sawicki
6b56dfd94b
Add spec for remote callback length
2017-02-08 11:59:43 -08:00
Kevin Sawicki
84f8bfbdef
Add spec for registering/requiring Coffeescript
2017-02-08 09:00:14 -08:00
Cheng Zhao
c72438f09f
WebInspector has been split up
2017-02-06 10:34:29 -08:00
Kevin Sawicki
e99b1709d9
Redeclare process/global as strings
2017-01-30 09:58:44 -08:00
James Ide
0430380de1
Update the Node submodule to use the new module wrapper
...
See the fixed issue for the context. This pulls in a vendored copy of Node that includes the described patch.
Fixes #8358
Test Plan: Built Electron and verified it loaded the sample app correctly and that the module wrapper is the new one by viewing Node's source code in the Blink Inspector.
Added specs and tested with `npm test -- --grep "global variables"`
2017-01-30 09:37:14 -08:00
Kevin Sawicki
45986405b8
Assert remote event names
2017-01-25 12:36:55 -08:00
Charlie Hess
b04db2e546
Add a spec for the "renderer window closed" error.
2017-01-25 12:36:55 -08:00
Kevin Sawicki
170c51ae85
Add spec for crashing node process
2017-01-24 13:49:45 -08:00
Kevin Sawicki
977680d00b
Add spec for midi without sysex permission
2017-01-19 09:05:59 +02:00
Kevin Sawicki
1d824d4645
Assert document visibility in main context
2017-01-16 13:03:38 -08:00
Kevin Sawicki
37b7dda3c5
Remove use of now private guestId
2017-01-16 12:38:16 -08:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
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
2928fe5c43
Add initial isolated world spec
2017-01-16 12:38:16 -08:00
Kevin Sawicki
12382f064b
Add failing spec for cycle in options
2017-01-06 09:58:40 -08:00
Zeke Sikelianos
b0c4c79c49
remove unused webview fixture
2016-12-22 10:41:05 -08:00
Zeke Sikelianos
1085c28612
rename all web-view files to webview
2016-12-22 10:41:05 -08:00
Kevin Sawicki
b08bc02cde
Merge pull request #8137 from deepak1556/media_device_id_patch
...
session: reset media device id salt when cookies are cleared
2016-12-12 13:34:24 -08:00
Paul Frazee
99ea50649a
finish implementation of {secure:true} opt on protocol.registerStandardScehesm, and add working test
2016-12-12 12:49:57 -08:00
deepak1556
e043dabcb8
add spec
2016-12-04 00:22:57 +05:30
Kevin Sawicki
c1a02d6556
Add spec for render-view-deleted issue
2016-12-02 10:42:09 -08:00
Cheng Zhao
a1dfdbdde4
spec: Should check origin before accessing window.opener
2016-11-16 07:50:30 -08:00
Birunthan Mohanathas
2986b7bc4a
Allow webview guests to be resized manually
...
This adds the `disableguestresize` property for webviews to prevent the
webview guest from reacting to size changes of the webview element. This
also partially documents the `webContents.setSize` function in order to
manually control the webview guest size.
These two features can be combined to improve resize performance for
e.g. webviews that span the entire window. This greatly reduces the lag
described in #6905 .
2016-11-15 11:00:09 -08:00
Jhen
8b30439d7f
Update devtools extension spec for chrome.storage
2016-11-15 19:58:08 +08:00
Kevin Sawicki
dda3fcef91
Add failing spec for notification permission crash
2016-10-31 08:54:56 -07:00
Cheng Zhao
ce847fc3ca
Merge pull request #7578 from electron/windows-logging
...
Show console output from Windows when ELECTRON_RUN_AS_NODE is set
2016-10-17 20:22:39 +08:00
Samuel Attard
eac5ba4c56
Fix spec linting issues
2016-10-13 12:47:43 +11:00
Kevin Sawicki
e899050500
Add basic test of spawned ELECTRON_RUN_AS_NODE process
2016-10-12 13:48:49 -07:00
Kevin Sawicki
8897a7a926
Add specs for ELECTRON_NO_ASAR env var
2016-10-12 11:11:27 -07:00
Kevin Sawicki
99414065a9
Add char/keypress event tests
2016-10-10 09:35:44 -07:00
Kevin Sawicki
e4b0577cb0
Assert key and code in keyup input event spec
2016-10-10 09:35:44 -07:00
Kevin Sawicki
d69367aa9b
Add keydown sendInputEvent specs
2016-10-10 09:35:43 -07: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
e16fa08e61
🎨
2016-09-30 08:38:21 -07:00
Cheng Zhao
458c4dd129
Merge branch 'support-chromium-sandbox' of https://github.com/tarruda/electron into tarruda-support-chromium-sandbox
2016-09-27 20:02:23 +08:00
Thiago de Arruda
47fd41715f
Add some tests for "sandbox" option
2016-09-27 06:01:47 -03:00
deepak1556
7ba947aee9
add spec
2016-09-22 00:15:25 +05:30
Cheng Zhao
e3e450613d
Merge pull request #7157 from Mossop/moveguest
...
Allow moving a webcontents to a different webview
2016-09-20 14:28:42 +09:00
Dave Townsend
47df447e4f
✅ Test that replacement history entries don't break forward navigation.
...
This is a test for #7175
2016-09-16 17:08:54 -07:00
Kevin Sawicki
f792c720f4
Allow spec to be run multiple times in same runner
2016-09-14 11:16:44 -07:00
Kevin Sawicki
bc13536208
Add failing spec for missing remote properties
2016-09-14 10:53:25 -07:00
Dave Townsend
313b2faa3c
Add a guestinstance attribute to webviews reflecting their current guest
...
instance ID and allowing moving a guest instance to a new webview.
2016-09-09 10:32:05 -07:00
Cheng Zhao
e189132176
Merge pull request #7123 from deepak1556/asar_range_patch
...
protocol: respect range header when reading from asar
2016-09-09 20:59:12 +09:00
Kevin Sawicki
aaf2bb2751
Add spec for deleting Buffer global in preload
2016-09-08 10:34:09 -07:00
deepak1556
1ae7b2fcbc
update
2016-09-08 10:12:23 +05:30
deepak1556
7e6cba1482
add failing spec
2016-09-08 09:37:06 +05:30
Cheng Zhao
f854b27bfb
Merge pull request #6867 from electron/remote-function-properties
...
Allow accessing remote function properties
2016-08-31 17:28:09 +09:00
deepak1556
ae297760af
add spec and docs
2016-08-24 06:53:14 +05:30