Eryk Rakowski
bf24759354
fix(extensions): implement missing web_request hooks ( #22655 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
Co-authored-by: samuelmaddock <samuel.maddock@gmail.com>
2020-12-18 15:11:43 -08:00
Milan Burda
19954126e0
chore: remove deprecated extension APIs ( #26696 )
2020-11-30 14:40:56 -08:00
Samuel Maddock
9d0d9a1664
feat(extensions): expose ExtensionRegistryObserver events in Session ( #25385 )
...
* feat(extensions): expose ExtensionRegistryObserver events in Session
Extensions can be loaded and unloaded for various reasons. In some cases this can
occur by no means of the Electron programmer, such as in the case of chrome.runtime.reload().
In order to be able to manage state about extensions outside of Electron's APIs, events
reloaded to loading and unloaded are needed.
* docs(extensions): elaborate on extension-loaded/unloaded details
* fix: remove scoped extension registry observer
* docs: update extension-unloaded
2020-09-23 15:29:08 -04:00
Samuel Maddock
45170fdbd7
fix(extensions): define platform info to prevent renderer crash ( #25357 )
2020-09-15 10:29:32 -06:00
Samuel Maddock
5a8046c994
fix(extensions): devtools now open for background pages ( #22217 )
...
refactor(extensions): remove unused InitWithBrowserContext method
fix(extensions): release background page WebContents to avoid crash
The background page WebContents instance is managed by the ExtensionHost.
fix(extensions): open background page devtools detached by default
test(extensions): add background page devtools test
chore: test fix for null web_contents()
fix: close background page devtools in test after opening
2020-09-08 20:55:40 +09:00
Eryk Rakowski
3745b76da8
feat(extensions): add support for some chrome.management APIs ( #25098 )
...
* fix: initialize management policy
* fix(extensions): crash when using chrome.management
* test: add tests
* docs: add a note about chrome.management
* fix: lint errors
* fix: lint errors
* fix: remove favicon_service include
* fix: add missing management permission
* docs: more supported apis
* fix: extensions.md line endings
2020-09-02 09:59:56 +09:00
Eryk Rakowski
9e53112ee1
fix(extensions): enable WebSQL in background pages ( #24798 )
...
* fix(extensions): enable WebSQL in background pages
* fix: apply suggestions
* fix: remove duplicate include
* fix: remove trailing spaces
2020-08-19 09:41:47 +09:00
Eryk Rakowski
f53aac97f5
fix(extensions): bypass cors in requests made from background pages ( #24483 )
2020-08-03 16:56:18 -07:00
Samuel Attard
eb6616e4e9
build: update to standard 14 ( #24479 )
2020-07-09 10:18:49 -07:00
Eryk Rakowski
04be1ac4a1
fix: assign session to remote webContents ( #23989 )
...
* fix: assign session to remote webContents
* fix: test name
2020-06-11 12:57:51 +09:00
Cheng Zhao
5de6adfb84
test: load page with some content when testing extension ( #23901 )
...
* test: load page with some content when testing extension
* test: use dom-ready to wait for page loaded with extension
2020-06-03 16:56:28 +09:00
John Kleinschmidt
db5cf816b4
ci: deflake WOA tests ( #23707 )
2020-05-26 10:25:57 -04:00
Jeremy Apthorp
8d0a612265
refactor: remove code for non-native extensions shim ( #23340 )
2020-04-30 09:38:09 -07:00
Electron Bot
3e8d77d564
chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) ( #22999 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-04-13 16:39:26 -07:00
Samuel Attard
0d2e967960
feat: expose electron/{process} typed modules ( #22937 )
...
* feat: expose electron/{process} typed modules
* chore: update imports for common modules
* chore: update typescript generator
* chore: remap electron/* to the internal packages
2020-04-06 17:04:09 -07:00
Samuel Attard
5d657dece4
build: enable JS semicolons ( #22783 )
2020-03-20 13:28:31 -07:00
Samuel Attard
b87b501161
build: update eslint + eslint plugins ( #22777 )
...
* build: run eslint --fix
* chore: manually fix all hasOwnProperty errors
* chore: manually fix all void 0 vs undefined errors
* chore: manually fix all async-in-promise errors
* chore: manually fix lexical declaration in case block
2020-03-20 11:12:18 -04:00
John Kleinschmidt
0201b3e571
feat(extensions): add chrome.tabs.connect API ( #22457 )
...
* feat(extensions): add chrome.tabs.connect API
* test(extensions): verify that chrome.tabs.connect port communication works
2020-03-05 09:59:32 -05:00
John Kleinschmidt
d6701ff435
feat(extensions): add chrome.i18n API ( #22455 )
...
* feat(extensions): implement chrome.i18n API
* refactor(extensions): use forward declaration for ScriptExecutor
* fix(extensions): add message filter to handle i18n GetMessageBundle
* test(extensions): add chrome.i18n tests
* fix(extensions): message filter lint error
* fix: remove exclusive test
* fix(extensions): format api feature arrays
Co-Authored-By: Jeremy Apthorp <nornagon@nornagon.net>
* fix(extensions): uncomment chrome.i18n usage in old extensions test
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-03-05 09:56:21 -05:00
Samuel Maddock
68c6d53156
feat(extensions): add more properties to extension object ( #22244 )
2020-02-24 12:30:32 +09:00
Jeremy Apthorp
af631f8204
fix: disallow loading extensions in temp sessions ( #22090 )
...
* fix: disallow loading extensions in temp sessions
* docs
2020-02-10 10:28:03 -06:00
Jeremy Apthorp
9107157073
feat: [extensions] support extension.getBackgroundPage ( #21951 )
...
* feat: [extensions] support extension.getBackgroundPage
* cleanup
* how does c++
* tests
* test for runtime.getBackgroundPage too
2020-02-06 16:42:34 -05:00
Jeremy Apthorp
a061c87e56
feat: enable native extensions support ( #21814 )
2020-02-03 14:01:10 -08:00
Jeremy Apthorp
acb5b75057
chore: [extensions] support old APIs when enable_electron_extensions = true ( #21812 )
2020-01-21 09:42:55 -08:00
Jeremy Apthorp
b9eb68c0b4
feat: [extensions] implement a couple of tabs APIs ( #21779 )
2020-01-15 15:11:51 -08:00
Jeremy Apthorp
55368e4d97
feat: just enough //extensions to load a simple devtools extension ( #19515 )
2020-01-14 16:20:30 -08:00
Jeremy Apthorp
fa42b5980e
feat: flesh out the api for //extensions ( #21587 )
2020-01-13 14:56:28 -08:00
Jeremy Apthorp
8bc0c92137
feat: [extensions] background pages ( #21591 )
2020-01-13 14:55:58 -08:00
Jeremy Apthorp
768a6ace1b
test: move some fixtures from spec/ to spec-main/ ( #21403 )
2020-01-09 11:50:56 -08:00
Jeremy Apthorp
ecd9e1f26e
chore: lint spec-main ( #20835 )
2019-11-01 13:37:02 -07:00
Milan Burda
3d56e13b38
fix: devtools extensions not loading ( #20791 )
2019-10-30 14:46:52 +09:00
Jeremy Apthorp
cad73732c0
test: move chrome extensions spec to main runner ( #20030 )
2019-09-03 10:10:33 -07:00
Samuel Maddock
95977291f7
feat: preliminary support for //extensions ( #17440 )
2019-07-24 16:01:08 -07:00