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
Kevin Sawicki
ec44a5d198
Add tests for setting remote function properties
2016-08-22 17:07:18 -07:00
Kevin Sawicki
d226b7bc6c
Use Proxy for accessing properties of remote function
2016-08-22 17:07:18 -07:00
Kevin Sawicki
600076b46d
Remove lint from fixtures
2016-08-22 17:07:17 -07:00
Kevin Sawicki
d333cc5e38
Support remote function properties
2016-08-22 17:07:17 -07:00
Kevin Sawicki
9e4665fbc4
Add failing spec for remote static members
2016-08-22 17:07:17 -07:00
Kevin Sawicki
5cc61089d9
Add failing spec for remote function with properties
2016-08-22 17:07:17 -07:00
Kevin Sawicki
cce6be1900
Only prevent unload the first time it is attempted
2016-08-03 16:23:39 -07:00
Kevin Sawicki
60e60d86d1
Send coverage from chrome extension iframe
2016-08-03 16:23:39 -07:00
gellert
439ad94afe
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-01 12:00:34 +02:00
gellert
35ee99265e
adds tests for osr
2016-07-31 17:10:53 +02:00
Cheng Zhao
57dbf284c1
spec: shell.writeShortcutLink/readShortcutLink
2016-07-27 19:43:11 +09:00
Cheng Zhao
eb51e080e5
spec: TypeArray should work in remote
2016-07-25 16:30:40 +09:00
Kevin Sawicki
ab1786c17d
Add spec for circular array/object references
2016-07-11 09:52:50 -07:00
Kevin Sawicki
2e02994277
Add parens about constructor
2016-07-06 15:45:35 -07:00
Kevin Sawicki
56739e10e3
Add anonymous class to exports and assert it
2016-07-06 13:11:25 -07:00
Kevin Sawicki
d67dfd09fd
Pass through empty constructor names
2016-07-06 09:18:20 -07:00
Kevin Sawicki
a1209b69b3
Add spec for constructor-less param
2016-07-06 09:11:04 -07:00
Kevin Sawicki
197ec98800
Remove standard linter warnings
2016-06-29 09:46:16 -07:00
Kevin Sawicki
2fe83bc5f0
Add failing spec for no specified storage keys
2016-06-28 13:01:51 -07:00
Kevin Sawicki
14df90fd19
Add spec for valid .ico file
2016-06-28 12:17:05 -07:00
Cheng Zhao
3d2ad0080d
Merge pull request #6164 from MaxWhere/master
...
beginFrameSubscription bugfix and improvement
2016-06-26 02:39:59 +00: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
Kevin Sawicki
8a9f2261d0
Add default error handler to remote promises ( #6151 )
...
* Add failing spec for unhandled main process exception
* Remove unused return
* Use let/const instead of var
* Add spec for unhandled rejection in renderer process
* Prevent unhandled rejection defaul
* Use once instead of on
* Add default fulfilled/rejection handler to promise
2016-06-21 00:54:15 +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
Cheng Zhao
21081549fd
Merge pull request #5967 from electron/window-opener-webview
...
Support window.opener from windows opened from a <webview>
2016-06-10 11:52:37 +00: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
f121f46a24
Merge branch 'master' into chrome-storage-sync
2016-06-09 16:35:00 -07:00
Jessica Lord
d6d4d51173
Fix spec case
2016-06-09 16:26:25 -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
a184b6afb3
Add spec for window.open from <webview>
2016-06-09 12:02:01 -07:00
Kevin Sawicki
d1ac5dd29b
Add specs for manifest.json read/parse error
2016-06-09 09:44:49 -07:00
Kevin Sawicki
4f7bde38a9
Assert on tab id as well
2016-06-08 12:00:13 -07:00
Kevin Sawicki
19787544b5
Add failing spec for webview devtools extension
2016-06-08 12:00:12 -07:00
Kevin Sawicki
d6311daea3
Add failing spec for chrome.runtime.id
2016-06-06 14:41:55 -07:00
Cheng Zhao
707d68f719
spec: Add test case for app.relaunch
2016-06-03 12:12:20 +09:00
Cheng Zhao
4d8994df92
spec: child_process.fork shouble be able to pipe stdio
2016-05-31 11:05:58 +09:00
Cheng Zhao
9f0fc96025
Merge pull request #5711 from electron/extension-code-cleanup
...
Implement partial chrome.* API for devtools extension
2016-05-29 23:29:08 +00:00
Cheng Zhao
a58b84bbd7
spec: ipcRenderer.sendTo sends message to WebContents
2016-05-28 20:50:30 +09:00
Kevin Sawicki
fc4b224dec
Add asserts for properties
2016-05-27 10:52:56 -07:00
Kevin Sawicki
7cf6be07a6
Add failing spec for remote property with no prototype
2016-05-27 10:45:39 -07:00
Kevin Sawicki
4e68a8d16e
Remove logging in parent page
2016-05-25 09:12:52 -07:00
Kevin Sawicki
1e15ce6ccd
Add failing spec for webview visiblity changes
2016-05-25 09:12:52 -07:00
Cheng Zhao
28e2058ff1
Merge pull request #5648 from electron/chrome51
...
Update to Chrome 51
2016-05-24 10:59:11 +00:00
Cheng Zhao
cd444e82f9
Merge pull request #5666 from electron/remote-promise-reject
...
Handle rejection of remote promises
2016-05-24 04:30:25 +00:00
Kevin Sawicki
4a41311409
Test that calling regular module succeeds
2016-05-23 15:14:55 -07:00
Kevin Sawicki
fe0ec67623
Add spec for electron module require
2016-05-23 15:14:55 -07:00
Kevin Sawicki
f3af1dbd54
Add failing spec for rejected remote promise
2016-05-23 15:06:46 -07:00
Cheng Zhao
fa0ce7ad5f
Adjust to the new behaviors of beforeunload handler
2016-05-23 14:27:39 +09:00
Kevin Sawicki
b09c81202a
Add test for webview zoomFactor inheritance
2016-05-19 14:46:52 -07:00
Cheng Zhao
242508e22f
Merge pull request #5574 from electron/devtools-extension-test
...
Add test that loads a devtools extension
2016-05-18 01:46:44 +00:00
Kevin Sawicki
189380d4ea
Add spec for devtools extension
2016-05-17 14:52:45 -07:00
Cheng Zhao
0140015500
spec: WebView is disabled when nodeIntegration is disabled
2016-05-17 17:04:13 +09:00
deepak1556
1ff33b7c81
protocol: fix registerStandardSchemes api
2016-05-08 01:36:34 +05:30