Milan Burda
db37ab1039
feat: add remote.require() / remote.getGlobal() filtering ( #15014 )
2018-10-18 14:36:45 +11:00
Samuel Attard
5541cab1ba
docs: type the promises in our docs ( #14715 )
2018-09-20 22:37:56 +10:00
Milan Burda
e22142ef9c
feat: add process.takeHeapSnapshot() / webContents.takeHeapSnapshot() ( #14456 )
2018-09-18 11:00:31 -07:00
Samuel Attard
7065093869
feat: add will-redirect ( #13866 )
...
* feat: add will-redirect to allow people to prevent 30X redirects
* spec: add tests for the will-redirect event
* refactor: implement will-redirect using NavigationThrottle instead of PostTask
This avoids a potential race condition and immediately cancels the
navigation
* docs: add docs for did-redirect-navigation
* refactor: move AtomNavigationThrottle out of net folder
* refactor: update header guard for atom_navigation_throttle.h
* refactor: fix chromium style errors in the GN build
* refactor: update throttle impl to NOTREACHED and std::make_unqique
2018-09-16 01:42:43 +10:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Milan Burda
58577bd431
feat: add options to webContents.loadFile ( #14515 )
2018-09-11 17:56:49 +10:00
Cheng Zhao
cd8bb1d3b4
chore: print error when removed webview attribute is used ( #14230 )
...
* chore: print error when removed webview attribute is used
* docs: document removed webview features
2018-08-23 10:45:43 +09:00
Tiago Danin
1fd6d38a0a
docs: Improved documentation ( #13403 )
2018-07-20 10:58:19 -07:00
Felix Rieseberg
deedf6c3f4
feat: Add isCurrentlyAudible() to WebContents ( #13614 )
...
* 🔧 Add isCurrentlyAudible() to WebContents
* ❤️ Implement feedback, use await to wait for event
* 👷 Add missing imports
2018-07-12 21:35:11 +10:00
Heilig Benedek
60ba2013c4
Re-add dirtyOnly to FrameSubscriber and document API change
2018-06-19 11:49:44 +10:00
deepak1556
c4b8e106c0
Create network_converter for services/network/* types
2018-06-19 11:49:42 +10:00
deepak1556
7b47d69efe
Remove did-get-response-details and did-get-redirect-request events
...
https://chromium-review.googlesource.com/c/chromium/src/+/805008
https://chromium-review.googlesource.com/c/chromium/src/+/786320
2018-06-19 11:49:41 +10:00
Mateus Silva
1b3cd01851
Doc: Delete unnecessary require and update flag name
2018-06-12 20:17:16 +01:00
Mateus Silva
370d790776
Doc: Update bluetooth example
...
Update event select-bluetooth-device example documentation.
2018-06-07 20:29:20 +01:00
Shelley Vohr
265aa3da29
docs: deprecate UploadFileSystem ( #13064 )
...
Deprecate UploadFileSystem in preparation for its being phased out completely in Chromium 66 and correspondingly Electron 4.0.0.
2018-05-25 10:50:27 -07:00
Milan Burda
56cdf94f95
Fix contents.setSize(options) documentation in web-contents.md ( #12922 )
2018-05-15 10:17:04 +10:00
Tim Fish
82329124ff
Fixes #12710 ( #12786 )
2018-05-02 12:19:52 -04:00
bughit
55a7f6f0ce
add did-frame-navigate event to WebContents ( #12723 )
...
* add did-frame-navigate event to WebContents, pass http response code to it and did-navigate
* docs for frame routing id related api changes on WebFrame and WebContents
2018-05-01 13:34:41 +09:00
Nitish Sakhawalkar
2579071b98
Deprecate did-get-response-details and did-get-redirect-request ( #12615 )
...
* Deprecate webContents events did-get-response-details and did-get-redirect-request.
* Update guest view files
* Update webview tag docs and update specs
* Update deprecate.event function
* Update comment
* Update more
* Update documentation for other deprecated event
2018-04-23 14:46:12 -05:00
Birunthan Mohanathas
cd8278dceb
Add missing event parameter to console-message ( #12617 )
2018-04-15 10:13:02 -05:00
Jeremy Apthorp
f0d08f4da1
Propagate referrer to new windows ( #12397 )
...
* Propagate referrer to new windows
Fixes #9205
* Rearrange -new-window event arguments for backwards-compatibility
* Plumb referrer policy through guest-window-manager
* Document the Referrer structure and its uses
* Add tests for referrer in new windows
* Docs nits
2018-04-05 18:13:24 -05:00
Shelley Vohr
211b542ae4
remove setZoomLevelLimits
2018-02-20 08:57:48 -05:00
John Eismeier
8d55334016
Propose fix some typos ( #11905 )
2018-02-13 00:18:27 -05:00
Shelley Vohr
5818353ebc
add formula to setZoomLevel doc
2018-02-09 23:20:45 -05:00
Aleš Pergl
c49cb29ddf
Disallow launching unknown apps via browser client.
...
CVE-2018-1000006
2018-01-22 16:49:30 -06:00
Samuel Attard
32a1395bcf
Merge pull request #11565 from electron/add-load-file-helper
...
Add window.loadFile and webContents.loadFile helper methods
2018-01-23 09:08:23 +11:00
Shelley Vohr
365fe6b067
fix code fence lint failure
2018-01-22 12:41:46 -05:00
Tiago Danin
74769da9a7
[Docs] Fix URLs and Paths ( #11584 )
...
* Fix URLs and Paths in docs/
* Avoiding link break to /docs/development/updgrading-chrome.md
* Fix URLs and Paths in docs/ #2
* Removed double spaces in docs
2018-01-12 10:24:48 -05:00
Samuel Attard
1553b54779
Add window.loadFile and webContents.loadFile helper methods
2018-01-04 11:38:56 +13:00
Cheng Zhao
d598aa1a67
Merge pull request #11300 from electron/external-devtools
...
Add API to set arbitrary WebContents as devtools
2017-12-05 10:35:49 +09:00
Cheng Zhao
52c6f4bcc5
docs: responsiblity of destroying devtoolsWebContents
2017-12-04 18:42:42 +09:00
Cheng Zhao
88c4fd3f2b
docs: Remove unnecessary shows
2017-12-01 12:04:50 +09:00
Cheng Zhao
6b408de884
Allow using docked devtools for webview
2017-12-01 11:56:58 +09:00
Cheng Zhao
25c5938c76
docs: Open detached devtools in example
2017-12-01 10:35:23 +09:00
Cheng Zhao
580abedbb7
docs: contents.setDevToolsWebContents
2017-12-01 10:35:23 +09:00
Toinane
0a0d88a5dc
remove all double spaces not needed
2017-11-29 11:58:24 +01:00
Toinane
323ea2b27b
fix(docs): fix all missing dots and add some links
2017-11-29 11:38:35 +01:00
Toinane
59607c9a17
feat(docs): fix 'optional' wording
2017-11-28 18:15:15 +01:00
Aleksei Kuzmin
47d683f0ad
DevTools: do not set visible size while emulating in case of device mode.
...
https://chromium-review.googlesource.com/c/chromium/src/+/572222
2017-11-24 10:58:16 +09:00
Andrew MacDonald
7c5bd62158
Decrease title size.
2017-11-08 09:37:56 -08:00
Andrew MacDonald
00665b9501
Add documentation to web-contents.md.
2017-11-08 09:35:01 -08:00
Yuya Ochiai
6326c6727e
Add did-attach-webview event
2017-10-07 22:52:20 +09:00
rhysd
32ad59de26
Fix findInPage() documentation for correcting type definition
...
This update fixes the return type of `findInPage()`, which is currently
typed as `void` but actually it should be `number`.
2017-10-03 16:39:37 +09:00
Liu Siyuan
e64d4e5bd7
update web-content.md based on review
2017-08-23 23:37:37 +08:00
Liu Siyuan
15d2cfe458
update docs
2017-08-23 23:04:00 +08:00
Siyuan Liu
eeb2e58ad8
return null when theme color is not found
2017-08-20 22:48:13 +08:00
Cheng Zhao
ecff620528
Merge pull request #10081 from renaesop/master
...
Add a callback option to `webContents.print`
2017-08-17 15:56:02 +09:00
renaesop
6d16eb81d2
Add a callback option to webContents.print
2017-08-15 14:44:24 +08:00
Fabian Zeindl
5db02ffaa9
updates to the docs
2017-07-24 10:29:45 +02:00
Kevin Sawicki
4958771b8a
Merge pull request #9852 from electron/webcontents-ignorekeyboardshortcuts
...
Add webContents.setIgnoreMenuShortcuts()
2017-06-28 10:35:02 -07:00