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
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
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
fdc1d3d763
Add Buffer typeof assertion
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
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
b0ee46f862
Use === in specs
2017-01-19 09:05:59 +02:00
Kevin Sawicki
977680d00b
Add spec for midi without sysex permission
2017-01-19 09:05:59 +02:00
Kevin Sawicki
dcbc10ac38
Merge pull request #8417 from electron/flaky-travis-specs
...
Disable flaky specs on Travis
2017-01-17 08:48:59 -08:00
Kevin Sawicki
1d824d4645
Assert document visibility in main context
2017-01-16 13:03:38 -08:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
14a1e673c6
Add spec for webview context isolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
b6c5e9a126
Disable disableguestresize spec that times out on Travis
2017-01-16 11:48:20 -08:00
Zeke Sikelianos
6995b51f2c
set webview spec timeout to three minutes
2016-12-22 13:31:30 -08:00
Zeke Sikelianos
c989ea43f5
bump webview spec timeout to two minutes
2016-12-22 12:30:34 -08:00
Kevin Sawicki
eaa5d071ef
Remove unneeded timeout call
2016-11-29 16:27:18 -08:00
Kevin Sawicki
9e51c779e1
Assert expected height
2016-11-15 13:54:25 -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
Kevin Sawicki
18e1de105f
Add failing spec for deleted guestinstance when moving webview
2016-11-07 13:42:36 -08:00
Kevin Sawicki
b84fed5cb2
Add failing spec for hide/show reload issue
2016-11-07 13:42:36 -08:00
Kevin Sawicki
f454cb3408
Add failing spec for hide/show webview issue
2016-11-07 13:42:36 -08:00
Kevin Sawicki
73774f21b7
🎨
2016-11-07 08:28:02 -08:00
Kevin Sawicki
19a5d2ba2b
Use window close helper instead of destroying for coverage
2016-11-07 08:25:01 -08:00
Kevin Sawicki
16f57b219b
Add resize event spec
2016-11-07 08:25:01 -08:00
Kevin Sawicki
3f8e173452
Call callback asynchronously to match original issue
2016-10-31 08:54:57 -07:00
Kevin Sawicki
611614c649
Use equal/deepEqual for channel/args asserts
2016-10-31 08:54:57 -07:00
Kevin Sawicki
dda3fcef91
Add failing spec for notification permission crash
2016-10-31 08:54:56 -07:00
Paul Frazee
e7962c7ba2
fixes and tests for webview 'webpreferences' attr
2016-10-14 18:04:33 -05:00
Kevin Sawicki
e4b0577cb0
Assert key and code in keyup input event spec
2016-10-10 09:35:44 -07:00
Kevin Sawicki
3f390c6849
Ensure webviews get reset after spec finishes
2016-09-30 10:15:11 -07:00
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
Cheng Zhao
fbac635687
Only emit finalUpdate found-in-page events
...
Since Chrome 53 all meaningful results of found-in-page are finalUpdate.
2016-09-14 16:23:01 +09:00
Cheng Zhao
18fd3e0329
Fix js linting error
2016-09-14 16:23:00 +09:00
Cheng Zhao
a510642a25
finalUpdate can be false
2016-09-14 16:23:00 +09:00
Cheng Zhao
5708e86a05
Fix API change of findInPage API
2016-09-14 16:23:00 +09: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
Kevin Sawicki
64d436682c
Verify resolving URL via console-message event
2016-09-08 17:38:40 -07:00
Kevin Sawicki
7d24df34fc
Place resolve specs in correct outer block
2016-09-08 17:08:49 -07:00
Kevin Sawicki
bfd48fe2ad
Add specs for resolving attribute URLs
2016-09-08 16:56:29 -07:00
Kevin Sawicki
1dbaf4987e
Don't resolve empty src/preload attribute values
2016-09-08 16:48:30 -07:00
Kevin Sawicki
ea069805d1
Add failing specs for empty preload/src attribute
2016-09-08 16:40:31 -07:00
Kevin Sawicki
197ec98800
Remove standard linter warnings
2016-06-29 09:46:16 -07:00
Kevin Sawicki
4f7bde38a9
Assert on tab id as well
2016-06-08 12:00:13 -07:00
Kevin Sawicki
bf47056561
Pluralize extension
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
Cheng Zhao
ce0d3d93ab
spec: disablewebsecurity should not break preload and node integration
2016-05-30 15:23:09 +09:00
Kevin Sawicki
69c69880e5
Tweak spec description
2016-05-25 09:12:52 -07:00
Kevin Sawicki
73b07f76a3
Support document visiblity state and events in webviews
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
Kevin Sawicki
b09c81202a
Add test for webview zoomFactor inheritance
2016-05-19 14:46:52 -07:00
Cheng Zhao
90f52169af
No more need to check for nodeIntegration when creating guest view
2016-05-17 17:06:02 +09:00
Cheng Zhao
0140015500
spec: WebView is disabled when nodeIntegration is disabled
2016-05-17 17:04:13 +09:00
Cheng Zhao
f43b9665c1
And increase timeout for the rest
2016-05-15 10:00:29 +09:00
Cheng Zhao
861a79dd6a
Suppress the tests that need to call window.open on Travis CI
2016-05-15 09:41:02 +09:00
Kevin Sawicki
e4bd592e0e
Add failing spec
2016-04-21 11:49:42 -07:00
deepak1556
ca756c3c24
session: allow providing permission to handle external protocols
2016-04-21 05:27:07 +05:30
Cheng Zhao
bb70defcb8
spec: webview should work without script tag in page
2016-04-12 15:10:26 +09:00
Cheng Zhao
5efa075aca
spec: preload attribute should work without script tag in page
2016-04-12 14:57:40 +09:00
Rob Brackett
15b042b5f6
Add support/tests for did-get-response-details
event on <WebView>
2016-04-08 12:55:20 -07:00
Kevin Sawicki
527ff66115
Pull app/session from remote
2016-04-01 16:59:13 -07:00
Kevin Sawicki
3695e38719
Remove duplicate require
2016-04-01 16:53:44 -07:00
Kevin Sawicki
230ed78dd6
Remove lint warnings
2016-04-01 16:51:17 -07:00
Kevin Sawicki
ef2a28ca86
Listen for browser-window-created event for asserts
2016-04-01 16:50:20 -07:00
Kevin Sawicki
fd12e1f506
Add failing spec for webview nodeIntegration inheritance
2016-04-01 16:47:17 -07:00
Zeke Sikelianos
7c58f7fb02
eradicate all per-file eslint globals
2016-03-30 17:00:34 -07:00
Zeke Sikelianos
f47fa25e39
tiptoe
2016-03-30 17:00:32 -07:00
Zeke Sikelianos
f35f362272
autoformat more files
2016-03-30 17:00:31 -07:00
Robo
8378cbb1e8
webcontents: provide position of match with found-in-page event
2016-03-14 06:49:45 +05:30
Cheng Zhao
71fb684069
spec: Skip webview.executeJavaScript in Travis on OS X
...
It is very easy to get timeout.
2016-03-12 09:18:12 +09:00
Cheng Zhao
d564727583
spec: Increase timeout for executeJavaScript
2016-03-11 11:17:02 +09:00
Cheng Zhao
256c2684ee
spec: Do not enter fullscreen in travis on OS X
...
It is too flaky
2016-03-11 10:36:08 +09:00
Robo
a734326907
track async api requests
2016-02-25 11:45:59 +05:30
Robo
2b547bd44a
webContents: provide responses for executeJavscript method
2016-02-25 11:45:59 +05:30
Robo
6fcc197db8
webview: api to get webcontents and associated host webcontents
2016-02-24 11:55:15 +05:30
Kevin Sawicki
31028ab636
Update var declarations
2016-02-17 09:27:25 -08:00
Kevin Sawicki
042825e8fb
emmitted -> emitted
2016-02-11 13:32:34 -08:00
Kevin Sawicki
9609b36b3c
Add missing semicolon
2016-02-11 13:28:33 -08:00
Kevin Sawicki
da6ebac742
Use assert.throws
2016-02-11 13:28:33 -08:00
Kevin Sawicki
bad4816976
Expand error message
2016-02-11 13:28:33 -08:00
Kevin Sawicki
8cacd0b931
Throw custom error when WebView API is unavailable
2016-02-11 13:28:33 -08:00
Kevin Sawicki
6bc48ba123
Add failing spec for custom error message
2016-02-11 13:28:33 -08:00
Kevin Sawicki
a4d21cadfa
Format webview spec post CoffeeScript conversion
2016-02-11 13:28:33 -08:00
Robo
b575cd0ef9
add fullscreen permission type
2016-02-01 16:22:05 +05:30
Robo
db26dcaf4c
expose handler from session and remove permission-request event
2016-02-01 12:23:51 +05:30
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
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
1f9691ae13
Convert all source files to JavaScript
2016-01-12 16:24:06 -08:00