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
Kevin Sawicki
e4bd592e0e
Add failing spec
2016-04-21 11:49:42 -07:00
deepak1556
2c0494dcef
fix spec
2016-04-18 22:57:37 +05:30
deepak1556
2ddac9352f
add spec
2016-04-18 21:53:44 +05:30
Cheng Zhao
bb70defcb8
spec: webview should work without script tag in page
2016-04-12 15:10:26 +09:00
Rob Brackett
c1b1348735
Add resourceType
arg to webContents did-get-response-details
event.
...
Fixes #5074 and follows @zcbenz's recommendation to expose ResourceTypeToString from atom_network_delegate publicly.
Also adds testing for other arguments to the `did-get-response-details` events, since there were no existing tests for them.
2016-04-08 11:19:36 -07:00
Rob Brackett
f12f87d6f0
Add isMainFrame
as last argument to WebContents did-fail-load
event.
...
Fixes #5013 .
2016-04-04 19:26:06 -07:00
Kevin Sawicki
7734f6af62
Remove semicolons
2016-04-01 16:52:55 -07:00
Kevin Sawicki
909ed54bef
Remove stray log
2016-04-01 16:52:28 -07:00
Kevin Sawicki
fd12e1f506
Add failing spec for webview nodeIntegration inheritance
2016-04-01 16:47:17 -07:00
Kevin Sawicki
9e66df23d0
Add clearer assertion of process being undefined
2016-04-01 16:40:33 -07:00
Kevin Sawicki
777704e659
Add failing spec for nodeIntegration inheritance
2016-04-01 16:39:06 -07:00
Zeke Sikelianos
7c58f7fb02
eradicate all per-file eslint globals
2016-03-30 17:00:34 -07:00
Zeke Sikelianos
9db733a4ff
mostly more globals
2016-03-30 17:00:32 -07:00
Zeke Sikelianos
c4b6cf4a8e
do more manual cleanup and specify globals
2016-03-30 17:00:32 -07:00
Zeke Sikelianos
f35f362272
autoformat more files
2016-03-30 17:00:31 -07:00
Kevin Sawicki
a9e22801e9
Add failing spec for reassigning remote function
2016-03-04 15:44:50 -08:00
Cheng Zhao
f610e332b3
spec: Tests for remote ES6 class
2016-02-22 12:35:51 +08:00
Cheng Zhao
61a9316f67
Merge pull request #4496 from cesine/update/deps
...
fix dependencies badge which shows out of date
2016-02-16 22:18:51 +08:00
Cheng Zhao
7ca09de386
Merge remote-tracking branch 'origin/dont-write-empty-dev-tools-extensions-file'
2016-02-16 12:30:42 +08:00
cesine
2aff0c47d0
⬆️ 👕 updated to eslint 2.1.0
...
Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0
And made sure the eslint tasks passed
2016-02-15 22:30:29 -05:00
Cheng Zhao
08e5c1f6fe
Merge branch 'webcontent_invalid_loadurl_patch' of https://github.com/deepak1556/atom-shell into deepak1556-webcontent_invalid_loadurl_patch
2016-02-15 21:14:54 +08:00
Kevin Sawicki
5714ae0b73
Add failing spec for dev tools extensions file
2016-02-03 17:11:12 -08:00
Robo
f7556de9fb
add spec for new permissions
2016-01-30 19:10:52 +05:30
Robo
f32bf08eb3
add spec
2016-01-29 15:23:28 +05:30
Cheng Zhao
60d44b3b04
spec: Remove annoying outputs from savePage test
2016-01-15 16:36:35 +08:00
Cheng Zhao
941232a76b
Merge pull request #3975 from leethomas/add-webview-navigation-events
...
Add webview navigation events
2016-01-04 11:24:27 +08:00
leethomas
ce733e5927
✅ add tests to insure window.location.hash changes & window.history.replaceState cause 'did-navigate-in-page' to fire
2016-01-01 18:51:47 -08:00
leethomas
26397d9155
✅ add tests for will-navigate, did-navigate-to-different-page, did-navigate-in-page events in webview
2016-01-01 18:13:07 -08:00
leethomas
8857eb9cba
✅ add tests for webview devtools-* events
2016-01-01 04:49:29 -08:00
Robo
72374b6e31
remote: support arguments of type Date
2015-12-30 01:41:31 +05:30
Brian R. Bondy
29b00ae0d6
Add tests for did-change-theme-color event
2015-12-22 23:05:03 -05:00
Robo
d162180196
add api to webview
2015-12-21 17:13:23 +05:30
Cheng Zhao
c68e38f480
Merge pull request #3882 from deepak1556/chromium_spec_patch
...
spec: serviceWorker registration with file scheme
2015-12-21 18:39:18 +08:00
Robo
68733eb8df
spec: serviceWorker registration with file scheme
2015-12-21 01:32:08 +05:30
Brian R. Bondy
fed0c43970
Add media play events to webview
2015-12-19 22:37:51 -05:00
Kevin Sawicki
aa9c7662a3
Inline JSON message response
2015-12-14 17:09:31 -08:00
Kevin Sawicki
b8de1bd9de
Assert that source id matches opener
2015-12-14 17:02:36 -08:00
Kevin Sawicki
574eec3e74
Make window.opener a BrowserWindowProxy
2015-12-14 14:55:48 -08:00
Kevin Sawicki
2cb752e3de
Add failing spec for event origin
2015-12-10 16:49:23 -08:00
Kevin Sawicki
f5774e3fb2
Exit from a setImmediate callback
2015-12-09 18:40:10 -08:00
Kevin Sawicki
516ff0644c
Just include exit code in spec output
2015-12-09 18:24:24 -08:00
Kevin Sawicki
92433be888
Include exit code with quit event
2015-12-09 18:09:59 -08:00
Kevin Sawicki
aa82eddca8
Add spec for exit code on event
2015-12-09 14:40:53 -08:00
Jeff Wear
32e949efed
Read window size properly in window.open
test
...
`BrowserWindow#getSize` returns `[width, height]`, not `{width, height}`.
2015-12-02 11:50:44 -08:00
Cheng Zhao
6ef6a83042
spec: Test execFile and execFileSync
2015-11-27 21:38:43 +08:00
Cheng Zhao
fbb8e61958
Replace "Url" in API names with "URL"
2015-11-13 16:03:40 +08:00
Cheng Zhao
1d1f911b09
Use require('electron') in Electron's code
2015-11-12 20:29:30 +08:00
Cheng Zhao
6515a445a0
Use ipcRenderer in Electron's code
2015-11-10 15:29:43 +08:00
Haojian Wu
49d25d0069
Fix: savePage API saves external resources in a wrong directory.
2015-10-18 11:28:05 +08:00
Cheng Zhao
8e40947938
spec: Make window.open specs more reliable
2015-10-06 15:43:36 +08:00
Robo
5ca5c4fb92
browser: hide webcontents when window not shown
2015-09-24 10:30:18 +05:30
Cheng Zhao
4521db459b
spec: window.open should inherit options of parent window
2015-09-22 22:36:46 +08:00
Cheng Zhao
f06f8ae73b
spec: Add test for allowpopups attribute
2015-09-22 21:18:04 +08:00
Cheng Zhao
f716d47e54
spec: Make the will-navigate test run faster
2015-09-18 18:57:48 +08:00
Cheng Zhao
b8d50f3a3a
spec: Add test for sendInputEvent
2015-09-18 18:28:34 +08:00
Cheng Zhao
93639a080c
spec: setImmediate should work in forked scripts
2015-09-17 15:12:15 +08:00
Cheng Zhao
baacc939f6
spec: node symbols should always be available in preload script
2015-09-14 16:05:58 +08:00
Cheng Zhao
d4cbf7cadb
spec: node-integration should work in web-preferences
2015-09-10 15:57:16 +08:00
Cheng Zhao
c2b2a2072f
spec: Set node-integration in window.open should work
2015-09-09 16:11:45 +08:00
Robo
8f59c0b642
create partitionId with encodedURIcomponent
2015-09-03 20:49:29 +05:30
Robo
150b540e72
add spec and docs
2015-09-03 20:49:29 +05:30
Cheng Zhao
c70513f7ce
spec: window.opener.postMessage should set source and origin
2015-09-01 12:15:00 +08:00
Cheng Zhao
dddb598818
spec: Node integration should work after POST
2015-09-01 11:51:28 +08:00
Cheng Zhao
039d4aaecb
spec: Test window.opener
2015-08-04 15:46:59 +08:00
Cheng Zhao
4ac59e2674
Merge pull request #2391 from seanchas116/support-remote-promise
...
Support Promise over remote objects
2015-08-03 15:22:36 +08:00
Robo
9fb03d584c
add spec and fix docs
2015-07-31 12:30:17 +05:30
Ryohei Ikegami
428ad20807
Change spec to test Promise in both side
2015-07-31 14:52:48 +09:00
Ryohei Ikegami
c7d1f4f6b2
Add spec for remote Promise
2015-07-31 14:52:48 +09:00
Cheng Zhao
b52c07f650
spec: Make dom-ready spec stronger
2015-07-24 15:48:13 +08:00
Cheng Zhao
1a93b1db52
spec: Make the basic-auth spec stronger
2015-07-24 15:33:07 +08:00
Cheng Zhao
b6e8420bf2
spec: Check if window.global is set
2015-07-14 09:15:03 -07:00
Cheng Zhao
34819140c3
Merge pull request #2102 from deepak1556/storage_cleanup_api_patch
...
app: api to clear data from different storage types
2015-07-13 12:34:48 -07:00
Robo
628fb5f5e9
app: api to clear data from different storage types
2015-07-10 11:31:30 +05:30
Paul Betts
ea63a04388
Add a test to verify the webview close event
2015-07-08 14:34:44 -07:00
Cheng Zhao
cde6b41a05
Merge pull request #1730 from deepak1556/webview_navigation_patch
...
navigation: adding clearHistory method
2015-05-21 14:56:30 +08:00
Cheng Zhao
efd8a8a624
spec: original-fs is available in forked scripts
2015-05-20 13:37:46 +08:00
deepak1556
f8185296f4
add test
2015-05-20 09:23:08 +05:30
Paul Betts
50c913fe92
Add a test for the user agent
2015-05-19 14:27:15 -07:00
deepak1556
2d190b9952
spec: add test for basic authentication
2015-05-04 20:44:36 +05:30
Cheng Zhao
36d2512ff8
spec: Test beforeunload handler in webview
2015-05-01 13:48:23 +08:00
deepak1556
8c5f171a93
webContents: providing dom-ready event
2015-04-30 09:58:29 +05:30
Cheng Zhao
3ff2959f0c
spec: Native modules should work after navigation in webview
2015-04-27 15:11:59 +08:00
deepak1556
9b585458c1
webview: will-navigate and page-favicon-set navigation events
2015-04-25 09:50:28 +05:30
Robo
87af6f9c80
webview: adding page-title-set event
2015-04-05 14:50:42 +05:30
deepak1556
399f47ef0f
implemetation of AtomCommandline to preserve args
2015-03-28 22:41:00 +05:30
Cheng Zhao
5e8c478b2c
Merge pull request #1261 from deepak1556/asar_lib_patch
...
fs.read empty files from asar archive
2015-03-21 19:17:49 +08:00
deepak1556
fdc10e4e5f
Allow reading empty file from asar archive
2015-03-21 14:56:03 +05:30
Cheng Zhao
dc82553fc3
spec: Test asar archive with unpacked files
2015-03-20 20:34:31 +08:00
Cheng Zhao
9646c28a41
spec: native-image should read asar archive
2015-02-12 19:34:39 +08:00
Cheng Zhao
f214e88784
spec: Script forked with child_process supports asar archives
2015-02-04 10:52:09 -08:00
Cheng Zhao
24b5faf8df
spec: Test loading script tag in html
2015-01-30 17:59:00 -08:00
Cheng Zhao
c14c6a3521
spec: The preload script should be able to receive ipc messages
2015-01-26 18:06:27 -08:00
Cheng Zhao
7210f6e64d
spec: No node integration in iframe
2015-01-21 17:05:19 -08:00
Cheng Zhao
f81df9a5d3
spec: Test localeCompare in child process
2015-01-16 16:11:02 -08:00
Cheng Zhao
40ab21d9df
spec: "disablewebsecurity" attribute
2014-12-17 18:14:10 -08:00
Cheng Zhao
c01e3cf9aa
Merge pull request #931 from atom/will-navigate
...
Add "will-navigate" event
2014-12-17 15:27:15 -08:00
Cheng Zhao
eaacf0a6ef
spec: "will-navigate" event
2014-12-17 15:03:34 -08:00
Cheng Zhao
a8f5a4e2d4
Add sendToHost method
2014-12-17 11:09:11 -08:00