Граф коммитов

218 Коммитов

Автор SHA1 Сообщение Дата
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