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
HariJ
81bd9fa3a2
fixing mac ut failure
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
d77c1319f4
Fixing lint error
2017-04-27 14:06:53 -07:00
Hari Krishna Reddy Juturu
27aad902b8
Adding docs, specs and fixing object returned
2017-04-27 14:06:53 -07:00
Ryohei Ikegami
1d73e84a29
Merge branch 'master' into native-window-open
2017-04-27 12:03:55 +09:00
Kevin Sawicki
775753c3d7
Add spec for invalid window.history.go offset
2017-04-26 12:37:16 -07:00
Kevin Sawicki
7726c7c6c4
Add spec for webPreferences in features string
2017-04-26 10:56:53 -07:00
Kevin Sawicki
9643b2a5c5
Add specs for window.open frameName argument
2017-04-26 10:14:11 -07:00
Kevin Sawicki
246937a372
Convert targetOrigin to string in render process
2017-04-26 09:08:47 -07:00
Kevin Sawicki
7e285711ca
Add spec for window.open toString errors
2017-04-26 09:08:47 -07:00
Kevin Sawicki
3f88eb2f86
Add spec for chrome-devtools URL with no node integration
2017-04-25 13:36:08 -07:00
Kevin Sawicki
cee0507090
Add failing spec for inheriting Javascript web preference
2017-04-25 12:57:53 -07:00
Kevin Sawicki
c2d4c93e12
Don't run error event on Linux
2017-04-24 09:47:30 -07:00
Kevin Sawicki
423dd4d57a
Add spec for remote autoUpdater error event
2017-04-24 09:47:30 -07:00
Kevin Sawicki
35a627fd60
Log all crashes during specs
2017-04-24 09:26:24 -07:00
Kevin Sawicki
a00d36fb07
Add spec for alert/confirm toString errors
2017-04-24 09:15:01 -07:00
Kevin Sawicki
93603882b1
Add root describe to be able to run whole file
2017-04-20 14:17:58 -07:00
Kevin Sawicki
361c3e0700
Wait for close event instead of exit so stdout done
2017-04-20 11:40:04 -07:00
Kevin Sawicki
a004cada7c
Merge pull request #9095 from seanchas116/better-path-resolve
...
Search for module from app path when URL is not file protocol
2017-04-20 10:49:53 -07:00
Kevin Sawicki
dc8b43901b
Merge pull request #9108 from yuya-oc/add-macos-sheet-events
...
Add sheet-begin and sheet-end events to macOS BrowserWindow
2017-04-20 10:33:31 -07:00
Kevin Sawicki
fae0308861
Use app name in crash dir path on linux/macos
2017-04-19 20:19:17 -07:00
Kevin Sawicki
709d2933b7
🎨
2017-04-19 16:44:31 -07:00
Kevin Sawicki
de62f1ea6c
Restart crash service in each spec
2017-04-19 16:37:24 -07:00
Kevin Sawicki
a7a92e1cd3
Still call done when stop server function is null
2017-04-19 09:52:28 -07:00
Kevin Sawicki
4d9cdad37a
Close server and connections after each spec
2017-04-19 09:48:32 -07:00
Kevin Sawicki
ece4df0ac7
Increase timeout to 2 minutes
2017-04-19 09:30:03 -07:00
Kevin Sawicki
c05c324464
Remove extra space in description
2017-04-19 09:28:52 -07:00
Kevin Sawicki
6b13fab83a
Wait for full screen event before leaving kiosk mode
2017-04-19 09:13:26 -07:00
Kevin Sawicki
5153c1f353
Disable media device specs on CI where they may not be available
2017-04-18 16:16:08 -07:00
Kevin Sawicki
f891df55d4
Call done callback with Error
2017-04-18 16:06:10 -07:00
Kevin Sawicki
4af44b1be6
Consolidate window closing
2017-04-18 16:04:27 -07:00
Kevin Sawicki
8f0ac057e3
Add initial spec for cookies.flushStore
2017-04-18 09:08:27 -07:00
Kevin Sawicki
ca46d52b0c
Add button with icon to touch bar spec
2017-04-18 09:01:43 -07:00
Ryohei Ikegami
91f31506ef
Skip native addon test in Windows
2017-04-19 00:11:23 +09:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Yuya Ochiai
75184046f6
Add events to manage sheets of macOS BrowserWindow
2017-04-15 16:26:45 +09:00
Birunthan Mohanathas
ccdeb4746e
Destroy BrowserViews after each test
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
06fcf2c19d
Add support for BrowserView autoresizing
2017-04-13 01:27:31 +03:00
Birunthan Mohanathas
8b9f7e5b00
Implement initial, experimental BrowserView API
...
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20 ).
To make matters worse, many of these are upstream Chromium bugs instead
of Electron-specific bugs.
For us at [Figma](https://www.figma.com ), the main issue is very slow
performance.
Despite the upstream improvements to `<webview>` through the OOPIF work, it is
probable that there will continue to be `<webview>`-specific bugs in the
future.
Therefore, this introduces a `<webview>` alternative to called `BrowserView`,
which...
- is a thin wrapper around `api::WebContents` (so bugs in `BrowserView` will
likely also be bugs in `BrowserWindow` web contents)
- is instantiated in the main process like `BrowserWindow` (and unlike
`<webview>`, which lives in the DOM of a `BrowserWindow` web contents)
- needs to be added to a `BrowserWindow` to display something on the screen
This implements the most basic API. The API is expected to evolve and change in
the near future and has consequently been marked as experimental. Please do not
use this API in production unless you are prepared to deal with breaking
changes.
In the future, we will want to change the API to support multiple
`BrowserView`s per window. We will also want to consider z-ordering
auto-resizing, and possibly even nested views.
2017-04-13 01:27:27 +03:00
Ryohei Ikegami
c77e07bc15
Fix afterEach
2017-04-12 11:55:41 +09:00
Kevin Sawicki
bfb9388191
Add failing spec for app.exit with >2 windows
2017-04-11 09:09:17 -07:00
Kevin Sawicki
e2a00e423c
Merge pull request #9104 from electron/fix-crash-reporter-test
...
Fix sandboxed crashReporter for windows
2017-04-10 15:38:12 -07:00
Kevin Sawicki
e2e9e8ae24
Wait until server closes in afterEach
2017-04-07 16:42:01 -07:00
Kevin Sawicki
588f699d56
🎨
2017-04-06 09:52:52 -07:00
Kevin Sawicki
7f28b7a151
Add failing spec for fork --eval message bug
2017-04-06 09:48:34 -07:00
Ryohei Ikegami
659722924d
Don't show BrowserWindow in test
2017-04-06 11:44:20 +09: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
74a3a34caa
Add spec for interaction event with escape item
2017-04-04 13:14:56 -07:00
Kevin Sawicki
bbadeb62ac
Check that escape item is non-null before checking id
2017-04-04 13:12:29 -07:00
Kevin Sawicki
414540bfcb
Support passing escape item to TouchBar constructor
2017-04-04 12:50:41 -07:00
Kevin Sawicki
b24b4212c5
Make escape item a property instead of setter
2017-04-04 12:50:41 -07:00
Kevin Sawicki
21c1ddffb3
Handle change and interaction events on escape items
2017-04-04 12:50:41 -07:00
Kevin Sawicki
591cd8d073
Update window via listener when escape item changes
2017-04-04 12:50:41 -07:00
Kevin Sawicki
0501a20fe6
Clear escape item
2017-04-04 12:50:41 -07:00
Kevin Sawicki
6eacec7dc3
replaceEscapeItem -> setEscapeItem
2017-04-04 12:50:41 -07:00
Samuel Attard
2ba937289c
Add smoke test for escape replacement
2017-04-04 12:50:41 -07:00
Kevin Sawicki
746f636016
Add tests for setting remote property null/undefined
2017-04-04 11:18:16 -07:00
Kevin Sawicki
e5f70f90a4
Add spec for remote setter with remote object
2017-04-04 11:18:16 -07:00
Kevin Sawicki
3e9014c371
Merge pull request #9099 from electron/certificate-trust
...
macOS: Add certificate trust API
2017-04-04 11:17:09 -07:00
Kevin Sawicki
2bd47eb672
Add specs for showCertificateTrustDialog option errors
2017-04-04 10:49:21 -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
Ryohei Ikegami
9cb6bc098d
Use beforeEach/afterEach
2017-04-04 09:08:27 +09:00
Kevin Sawicki
257f6b142f
Add spec for remote setter not surfacing error
2017-04-03 09:10:46 -07:00
Ryohei Ikegami
d1212d4a43
Fix JS style
2017-04-03 20:23:36 +09:00
Ryohei Ikegami
673f4f4d0c
Add test for require
to search under app dir
2017-04-03 20:11:19 +09:00
Kevin Sawicki
d677a436ec
🎨
2017-03-31 10:42:43 -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
Kevin Sawicki
fcb7cbc54a
Check name directly instead of arguments length
2017-03-30 14:03:00 -07:00
Kevin Sawicki
a2588c1fd9
Merge pull request #9052 from tonyganch/native_tabs
...
Native tabs on macOS
2017-03-30 14:02:19 -07:00
Kevin Sawicki
e699e88b4c
Add initial tabbingIdentifier spec
2017-03-30 13:46:58 -07:00
Thiago de Arruda
b3cf00a19a
Fix net module to accept non-string header values
...
This is required to be compatible with node.js http module.
2017-03-30 16:01:40 -03:00
Kevin Sawicki
57edc28b0d
Merge pull request #8880 from mst128256/2814
...
Default menu items for 'Edit' and 'Window' #2814
2017-03-29 12:31:58 -07:00
Kevin Sawicki
8b4bf1f29e
🎨
2017-03-29 12:29:36 -07:00
deepak1556
b14c4dcdc0
address review comments
2017-03-28 19:05:44 +05:30
deepak1556
3ae62615f4
net: allow controlling redirects
2017-03-28 18:46:21 +05:30
Kevin Sawicki
9249228ac3
Merge pull request #9034 from electron/disable-flaky-appveyor-spec
...
Disable flaky post navigation spec on AppVeyor
2017-03-27 14:05:42 -07:00
Kevin Sawicki
f24baffc79
Expect count to be 0
2017-03-27 10:21:01 -07:00
Kevin Sawicki
9a4783bf34
Disable flaky post navigation spec on AppVeyor
2017-03-27 09:15:40 -07:00
mst128256
6a7b4feb35
Fixed for linting
2017-03-24 12:31:49 +01:00
mst128256
9e471d8f1c
Added specs
2017-03-24 12:14:08 +01:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Thiago de Arruda
a5eef516a7
Fix indent in api-crash-reporter-spec.js
2017-03-23 10:01:02 -03: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
40b35a991f
Fix js lint
2017-03-20 12:52:46 -07: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
3af9f572ac
Fix spec description
2017-03-19 20:10:25 +09: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
Kevin Sawicki
11a4c7e408
🎨
2017-03-17 09:57:17 -07:00
Kevin Sawicki
0e55e5cbb5
Add initial spec for clipboard.readBuffer
2017-03-17 09:57:17 -07:00
Kevin Sawicki
a35cce5f7a
Enable takeHeapSnapshot spec
2017-03-17 09:14:17 -07:00
Todd Wolfson
818738ce84
🐛 Add toString support to remote functions
2017-03-17 08:21:37 -07:00
Kevin Sawicki
da0d0e7aac
Merge pull request #8910 from electron/touchbar-scrubber
...
Touchbar NSScrubber
2017-03-16 09:10:59 -07:00
Kevin Sawicki
49d48a4eb0
Add more non-default options to scrubber spec
2017-03-14 14:15:04 -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
eda413861a
update spec
2017-03-14 00:26:27 +05:30
Cheng Zhao
210f40dd53
Convert "\" to "/" in file:// url
2017-03-14 00:26:27 +05:30
deepak1556
a4400dc549
add basic spec
2017-03-14 00:26:27 +05:30
deepak1556
3baa186c0a
fix failing download spec
2017-03-14 00:26:27 +05:30
Kevin Sawicki
0dcdd60010
Add initial TouchBarScrubber spec
2017-03-13 11:17:55 -07:00
Kevin Sawicki
3349e32196
Verify selectedIndex to prevent NSRangeException
2017-03-10 10:09:18 -08:00
Kevin Sawicki
3b2faf7b89
Add initial TouchBarSegmentedControl spec
2017-03-10 10:04:22 -08:00
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
2946f624ac
Add spec for adding representation to existing image
2017-03-09 09:56:42 -08:00
Kevin Sawicki
6e977cbc3a
Assert emptiness and size of built up images
2017-03-09 09:56:42 -08:00
Kevin Sawicki
7e039d92ec
Support adding representation from data URL
2017-03-09 09:56:42 -08:00
Kevin Sawicki
17b70670f8
Add initial NativeImage.addRepresentation specs
2017-03-09 09:56:42 -08:00
Kevin Sawicki
ff5081816f
Remove unneeded done call
2017-03-09 09:53:01 -08:00
John Kleinschmidt
d5a658bbe4
Fixed pass by reference and added spec
2017-03-08 22:06:26 -05:00
deepak1556
224ffe44aa
add spec
2017-03-08 19:16:55 +05:30
Kevin Sawicki
31cae8e1aa
Add more scale factor specs
2017-03-07 12:34:31 -08:00
Kevin Sawicki
82a81bb26e
Support scale factor to buffer APIs
2017-03-07 12:27:55 -08:00
Kevin Sawicki
e4ead6d018
Remove hasRepresentation and just use 1x png result
2017-03-07 12:27:55 -08:00
Kevin Sawicki
8bc65ef495
Add failing spec for toPNG with scale factor
2017-03-07 12:27:55 -08:00
Kevin Sawicki
50ade57700
Add more hasRepresentation asserts
2017-03-07 12:27:55 -08:00
Kevin Sawicki
0bbbeb307e
Support toDataURL without 1x representation
2017-03-07 12:27:55 -08:00
Kevin Sawicki
8eaf48e552
Add spec for 1x1 PNG data URL
2017-03-07 12:27:55 -08:00
Kevin Sawicki
b46e48cae1
Add failing toDataURL spec
2017-03-07 12:27:55 -08:00
Kevin Sawicki
6fcb784f6e
Add failing spec for no callback
2017-03-06 10:49:23 -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
886b47e713
Merge pull request #8724 from electron/defer_load_url
...
webContents: defer url load when there is a pending navigation entry
2017-03-06 10:18:36 -08:00
Kevin Sawicki
d26e4a4abf
Merge pull request #8800 from electron/https-website
...
Update website URLs to use HTTPS
2017-03-06 09:32:20 -08:00
deepak1556
90885d1d8c
simply spec
2017-03-06 00:22:20 +05:30
deepak1556
eb827eb020
update spec
2017-03-06 00:10:46 +05:30
deepak1556
dead1ae1ba
webContents: defer url load when there is a pending navigation entry
2017-03-06 00:10:46 +05:30
Kevin Sawicki
ca2898a60e
Check that window responds to touchBar selector for pre-10.12.1 compat
2017-03-03 14:00:39 -08:00
Kevin Sawicki
c349aeff80
Add initial touch bar specs
2017-03-03 14:00:39 -08:00
Nitish Sakhawalkar
d75db0ea1a
Fixed js lint issues.
2017-03-02 14:37:09 -08:00
Nitish Sakhawalkar
370562b129
Moving data url test outside post navigation block. Trailing separator comment in the docs.
2017-03-02 12:14:18 -08:00
Nitish Sakhawalkar
e8c0813f46
Changes based on review.
2017-03-02 10:58:39 -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
Zeke Sikelianos
69f0cb26e7
use https for all Electron website URLs
2017-02-28 21:19:55 -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
ca8983bf6c
Add initial spec for remote modules
2017-02-28 08:45:39 -08:00
Kevin Sawicki
54232ee21a
Emit event after listener is registered
2017-02-28 08:23:00 -08:00
Kevin Sawicki
1d84d83fd4
Forward webview visibility change events from browser process
2017-02-28 08:23:00 -08:00
Kevin Sawicki
6c40b1eead
Verify global.Buffer is undefined
2017-02-24 09:57:32 -08:00
Kevin Sawicki
ad03ba73a4
Upgrade node for Buffer wrapper fix
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
Kevin Sawicki
0a5ccdccb4
Add spec for async Menu.popup
2017-02-22 10:30:28 -08:00
Kevin Sawicki
947556a23f
Move MenuItem spec into root describe
2017-02-22 10:30:28 -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
c71b44048c
address review comments
2017-02-18 01:34:32 +05:30
deepak1556
dfc2e6c4a8
add temporary zoom api spec
2017-02-18 01:34:32 +05:30
deepak1556
763b9ab8d8
add zoom spec
2017-02-18 01:34:32 +05:30
Eric Brumer
87e606627c
Smaller regex now that it's case insensitive
2017-02-16 09:26:20 -08:00
Eric Brumer
7cb101b566
Case insensitive filepath
2017-02-16 09:17:37 -08:00
Eric Brumer
d97585d06d
Allow favicon.png to be on the root of any drive letter
2017-02-15 19:02:11 -08:00
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
f3756ccf29
Run crash reporter specs on all platforms
2017-02-14 09:37:09 -08:00
Kevin Sawicki
fdc1d3d763
Add Buffer typeof assertion
2017-02-14 08:42:34 -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
acedc3e726
Merge pull request #8584 from electron/new-webview-event
...
Add will-attach-webview event
2017-02-09 12:40:11 -08:00
Kevin Sawicki
81addbdcbf
Remove only call
2017-02-09 11:49:14 -08:00
Kevin Sawicki
a7c050107b
Remove guest from will-attach-webview event
2017-02-09 11:47:45 -08:00
Kevin Sawicki
acff2f6baf
Adjust src from will-attach-webview
2017-02-09 11:45:07 -08:00
Kevin Sawicki
46f1a49594
new-webview -> will-attach-webview
2017-02-09 11:45:07 -08:00
Kevin Sawicki
706b9f6cbf
Add new-webview specs
2017-02-09 11:45:07 -08:00
Kevin Sawicki
f7f4de36af
Merge remote-tracking branch 'origin/master' into macos-open-save-panel
2017-02-09 11:25:05 -08:00
Birunthan Mohanathas
c8c11e68c6
Add support for checkbox with dialog.showMessageBox
...
This adds the `checkboxLabel` and `checkboxChecked` options to display a
checkbox in the message box. Fixes #6048 .
2017-02-09 09:03:54 -08:00
Tan Wang Leng
72723646dd
Add tests to check errors in parameters
2017-02-09 21:23:02 +08:00
Kevin Sawicki
22b9c6e539
Allow multiple verification results
2017-02-08 13:33:07 -08:00
Kevin Sawicki
18e15a1e53
Add spec for rejecting using old signature
2017-02-08 12:51:24 -08:00
Kevin Sawicki
70178adb6e
Use object for verification request
2017-02-08 11:59:43 -08:00
Kevin Sawicki
9c134e7bf3
Assert certificate error
2017-02-08 11:59:43 -08:00
Kevin Sawicki
6b56dfd94b
Add spec for remote callback length
2017-02-08 11:59:43 -08:00
Greg Nolle
e29b64a18a
modify CertVerifier Class
...
* respond to multiple similar verification requests.
* accept net error result as callback response.
2017-02-08 11:59:43 -08:00
Kevin Sawicki
e9226aa354
Assert test.coffee outside of doesNotThrow
2017-02-08 09:02:46 -08:00
Kevin Sawicki
c1773a2c94
Add coffee-script dependency to specs
2017-02-08 09:00:14 -08:00
Kevin Sawicki
84f8bfbdef
Add spec for registering/requiring Coffeescript
2017-02-08 09:00:14 -08:00
Kevin Sawicki
ba03f04017
Disable getFileIcon specs on Linux CI
2017-02-07 18:24:35 -08:00
Kevin Sawicki
82ac4ddf19
Large is only 48x48 on Linux
2017-02-07 11:20:27 -08:00
Kevin Sawicki
dddc6aec49
Tweak spec descriptions
2017-02-07 10:21:20 -08:00
Kevin Sawicki
683a758dab
Call done instead of skip
2017-02-07 10:16:09 -08:00
Yury Solovyov
a9dae243b4
Fix large icon spec
2017-02-07 09:55:18 -08:00
Yury Solovyov
bcf0964c61
Fix more review
2017-02-07 09:55:18 -08:00
Yury Solovyov
c36cdb8580
Properly skip large size test on macOS
2017-02-07 09:54:22 -08:00
Yury Solovyov
1aa4fcae08
Lint tests
2017-02-07 09:54:22 -08:00
Yury Solovyov
00748889f9
Add tests
2017-02-07 09:54:22 -08:00
Cheng Zhao
c72438f09f
WebInspector has been split up
2017-02-06 10:34:29 -08:00
Kevin Sawicki
1c6a07c68d
Clear Update.exe login item settings in afterEach
2017-02-06 08:34:35 -08:00
Kevin Sawicki
e2501a80e4
Add path and args to LoginItemSettings struct
2017-02-06 08:34:35 -08:00
Charlie Hess
d2ffd87668
I will never appreciate standard.
2017-02-06 08:34:35 -08:00
CharlieHess
852e158cc6
Make sure the spec takes arguments into account.
2017-02-06 08:34:35 -08:00
Charlie Hess
4fce00148d
Add a spec for this behavior on Windows.
2017-02-06 08:34:35 -08:00
Kevin Sawicki
daff671afc
Add protocol constant
2017-02-02 12:48:09 -08:00
Kevin Sawicki
a60f341968
Add procotol client specs on Windows
2017-02-02 12:48:09 -08:00
Kevin Sawicki
604c2470bc
Merge pull request #8561 from liusy182/!-liusy182-br
...
add 'code' property in 'before-input-event''s 'input' argument
2017-02-02 10:33:20 -08:00
liusi
87392ff046
'before-input-event' is missing the code property #8471
2017-02-02 16:23:07 +08:00
Kevin Sawicki
dc1c11a841
Merge pull request #8487 from leethomas/feature/osx-relative-window-levels
...
Feature/macOS relative window levels
2017-01-30 15:34:24 -08:00
Kevin Sawicki
94cb605993
Use strictEqual for global variable asserts
2017-01-30 10:08:12 -08:00
Kevin Sawicki
e99b1709d9
Redeclare process/global as strings
2017-01-30 09:58:44 -08:00
Kevin Sawicki
4e5b8ac3ee
Remove throws and assert object directly
2017-01-30 09:38:15 -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
leethomas
edbb786fb4
use kCGMinimumWindowLevelKey to get the minimum level
2017-01-26 19:12:10 -08:00
Kevin Sawicki
76e5589a31
Schedule function after executeJavaScript completes
2017-01-26 16:15:10 -08:00
Kevin Sawicki
e683f28e32
Require a non-empty drag image to prevent crash
2017-01-26 15:46:04 -08:00
Kevin Sawicki
8ce1930f0d
Add specs for missing startDrag options
2017-01-26 15:46:04 -08:00
Kevin Sawicki
06c025050e
Fix typo in spec description
2017-01-26 14:46:51 -08:00
Kevin Sawicki
1004d205d8
Add spec for unhandledRejection event in main process
2017-01-26 14:46:50 -08:00
Kevin Sawicki
24fb560a9d
Add failing spec for uncaught main process errors
2017-01-26 14:46:50 -08:00
Kevin Sawicki
2cfa67bdff
Remove linter warning
2017-01-26 09:59:07 -08:00
Kevin Sawicki
a851695bb9
Clear interval before setting new one
2017-01-26 09:57:53 -08:00
Kevin Sawicki
e2e33a8cf0
Guard against destroyed window or web contents
2017-01-26 09:57:00 -08:00
Kevin Sawicki
515f689814
Use helper function to show last dev tools panel
2017-01-26 09:42:45 -08:00
leethomas
9e189b9d2d
fix js lint errors
2017-01-26 07:14:47 -08:00
leethomas
1234b61fa6
spec to ensure an error is thrown when relativeLevel is set out of bounds
2017-01-25 19:39:57 -08:00
Kevin Sawicki
104cae8f68
Only call getNativeHandle on macOS
2017-01-25 14:26:05 -08:00
Kevin Sawicki
2ad46f1842
Add failing spec for empty image crashes
2017-01-25 14:26:05 -08:00