Cheng Zhao
5e11be6898
fix: cookies.get should be able to filter domain ( #20471 )
...
* fix: use GetAllCookies when url is empty
* test: get cookie without url
2019-10-09 15:57:40 +09:00
John Kleinschmidt
3f72f07a7f
test: remove unneeded console.log ( #20424 )
...
(cherry picked from commit 4945a9fce9
)
2019-10-06 22:00:38 +02:00
John Kleinschmidt
ad34d7fc32
Revert "test: remove unneeded console.log"
...
This reverts commit 4945a9fce9
.
2019-10-04 11:17:58 -04:00
John Kleinschmidt
4945a9fce9
test: remove unneeded console.log
2019-10-04 11:05:49 -04:00
Cheng Zhao
509587eb81
test: close window before destroying browserView ( #20411 )
2019-10-04 09:30:44 +09:00
Milan Burda
2f03d393c3
feat: allow inspection of specific shared workers ( #20389 )
2019-10-02 14:38:27 +02:00
Milan Burda
bf978e09e4
fix: allow paths to asar archives to contain the .asar extension in directories ( #20342 )
2019-10-02 13:33:07 +09:00
Jeremy Apthorp
a9e695d05f
test: move more web contents specs ( #20099 )
2019-09-30 15:00:47 -07:00
Milan Burda
ead8f2bbcd
fix: BrowserWindow.fromWebContents() can return null ( #19983 )
2019-09-27 13:07:55 +02:00
Jeremy Apthorp
593f1774e9
fix: backport Node nested microtask fix ( #20303 )
2019-09-25 17:38:50 -04:00
Electron Bot
913ec1e0d0
chore: bump chromium to 0239d631f03d0111f77b0b98c7765 (master) ( #20285 )
2019-09-21 10:51:28 -04:00
Jeremy Apthorp
9abdfc11a9
test: remove usage of remote module from node tests ( #20103 )
...
* test: remove usage of remote module from node tests
* isTTY is undefined in the renderer process on all platforms
* Update spec/node-spec.js
* Update node-spec.js
2019-09-20 10:41:40 -04:00
Jeremy Apthorp
e83c299454
test: move ipcRenderer spec to main runner ( #20093 )
2019-09-19 16:35:05 -04:00
Shelley Vohr
ffe2182883
feat: set urgency on linux notifications ( #20152 )
2019-09-18 22:35:20 -07:00
Electron Bot
eb2d2264d0
chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) ( #19923 )
2019-09-18 15:58:00 -04:00
Milan Burda
11cd0db86b
build: add enable_remote_module build flag ( #19821 )
2019-09-18 09:52:06 -07:00
Samuel Attard
f566e562a3
build: remove .only
2019-09-16 16:08:41 -07:00
Samuel Attard
0e61709fa7
fix: emit updated on NativeTheme on the UI thread to avoid DCHECK ( #20137 )
...
* fix: emit updated on NativeTheme on the UI thread to avoid DCHECK
* Update atom_api_native_theme.cc
* spec: wait a few ticks for async events to emit so that test events do not leak into each other
2019-09-16 16:08:01 -07:00
Shelley Vohr
3ec17a88ba
fix: crash when exiting simple fullscreen on macOS ( #20144 )
2019-09-12 13:38:16 -04:00
Samuel Attard
0d16be9560
feat: add nativeTheme.themeSource to allow apps to override Chromiums theme choice ( #19960 )
...
* feat: add nativeTheme.shouldUseDarkColorsOverride to allow apps to override Chromiums theme choice
* spec: add tests for shouldUseDarkColorsOverride
* chore: add missing forward declarations
* refactor: rename overrideShouldUseDarkColors to themeSource
* chore: only run appLevelAppearance specs on Mojave and up
* chore: update patch with more info and no define
* Update spec-main/api-native-theme-spec.ts
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org>
* Update api-native-theme-spec.ts
* Update api-native-theme-spec.ts
* Update api-native-theme-spec.ts
2019-09-05 10:57:04 -07:00
Samuel Attard
137622931b
fix: ensure document.visibilityState aligns with the visibility of the TopLevelWindow ( #19988 )
...
* fix: ensure document.visibilityState aligns with the visibility of the
TopLevelWindow
* chore: disable the specs on linux on CI
2019-09-05 10:56:06 -07:00
Jeremy Apthorp
88e32ef231
test: move robotjs-based devtools paste test to main runner ( #20095 )
2019-09-04 14:44:13 -07:00
Jeremy Apthorp
a453f2ae6c
test: fix test for desktopCapturer preventDefault ( #20100 )
2019-09-04 13:54:40 -07:00
Jeremy Apthorp
c29e4b096d
test: tsify deprecate spec ( #20089 )
2019-09-04 11:13:37 -07:00
Jeremy Apthorp
8cdfd30ba5
test: remove usage of remote in shell.openExternal test ( #20101 )
2019-09-04 11:12:31 -07:00
Cheng Zhao
96b42bddb8
fix: implement ses.getBlobData() for NetworkService ( #20041 )
...
* pass data pipe to JS
* implement reading buffer
* re-enable ses.getBlobData test
* remove AtomBlobReader
2019-09-04 07:54:14 +09:00
John Kleinschmidt
bedc5f7da9
ci: run tests on WOA hardware ( #20031 )
...
* ci: run tests on WOA hardware
* Temporarily disable test until #20008 is resolved
* deterministically run tests in sorted order
2019-09-03 13:13:06 -04:00
Jeremy Apthorp
96c3fec855
test: remove usage of 'remote' module from webview spec ( #20048 )
2019-09-03 10:10:58 -07:00
Jeremy Apthorp
cad73732c0
test: move chrome extensions spec to main runner ( #20030 )
2019-09-03 10:10:33 -07:00
Jeremy Apthorp
f537366387
test: move security warnings spec to main runner ( #20055 )
2019-09-03 16:02:22 +09:00
Jeremy Apthorp
d7161742d2
test: move content-script tests to main runner ( #20056 )
2019-09-03 16:01:42 +09:00
Jeremy Apthorp
6e88b6b445
test: move desktopCapturer spec to main runner ( #20057 )
2019-09-03 15:59:54 +09:00
Jeremy Apthorp
805a55099b
test: tsify more web contents specs ( #19969 )
...
* test: tsify more WebContents specs
* getFocusedWebContents
* setDevToolsWebContents, isFocused, isCurrentlyAudible
* getWebPreferences, openDevTools
* before-input-event
* zoom-changed
* sendInputEvent
* insertCSS
* startDrag
* focus, getOSProcessId
* zoom api
* more closeAllWindows
* fix detached dev tools test
* fix zoom-changed test
* compare the correct kind of id 🤦♂️
* 'fix' openDevTools test to wait for multiple focus events
* fix tests? 🤞
* use request instead of blur to detect openExternal success
* try not timing out the keychain for testing
* use blur event on mac, sigh
* oh, right, still gotta open an actual url
2019-08-29 19:45:41 -05:00
Jeremy Apthorp
609403fba6
test: tsify affinity spec ( #19961 )
2019-08-29 09:59:27 -07:00
Jeremy Apthorp
c819fbe852
test: move WebContentsView spec ( #19990 )
2019-08-29 16:17:44 +09:00
Jeremy Apthorp
90d62e5b98
fix: nws13n: make ses.setUserAgent work ( #20014 )
...
* refactor tests to better control window creation
* fix: nws13n: make ses.setUserAgent work
2019-08-29 15:50:14 +09:00
Milan Burda
eed72c35d7
feat: add session.downloadURL() ( #19889 )
2019-08-28 20:27:20 -07:00
Jeremy Apthorp
79e936aea8
test: fix clearAuthCache test ( #20015 )
2019-08-28 17:43:12 -07:00
Jeremy Apthorp
af138dab55
test: move webRequest spec to main runner ( #19992 )
2019-08-28 13:56:15 -07:00
Jeremy Apthorp
f212ed85dd
test: tsify sub-frames spec ( #19965 )
2019-08-28 13:55:01 -07:00
Jeremy Apthorp
99de0975c3
test: tsify powerMonitor spec ( #19963 )
2019-08-28 13:54:50 -07:00
Jeremy Apthorp
41d8247ffc
test: tsify internal-spec ( #19962 )
2019-08-28 13:54:42 -07:00
Jeremy Apthorp
bdc84d0bfb
test: tsify session spec ( #19604 )
2019-08-27 14:55:19 -07:00
Cheng Zhao
4eee71ffbf
feat: migrate webRequest module to NetworkService (Part 9) ( #19976 )
...
* no need to get WebContents for URLLoaderFactory
* consult embedder for network_factory created in net module
* set disable_web_security to false
* re-enable webRequest tests in net module
2019-08-27 09:12:33 -07:00
Jeremy Apthorp
92c3a4e4c2
test: tsify spec for experimental views api ( #19966 )
2019-08-27 16:37:30 +09:00
Kuts Alexey
cddbddc543
feat: HTTP preconnect feature minimal for electronjs ( #18671 )
2019-08-26 09:47:32 -07:00
loc
f7e3e1f97a
fix: mitigate white screen flash after occlusion by disabling compositor recycling ( #19873 )
...
* fix: remove white screen flicker by disabling compositor recycling
* chore: disable spec whose flakiness was made obvious by this patch
2019-08-22 15:16:06 -07:00
Cheng Zhao
cd1b15a155
feat: migrate webRequest module to NetworkService (Part 7) ( #19820 )
...
* fix: gin treats Function as Dictionary when doing convertions
* fix: check if listener exists
* fix: listener callback should be executed in next tick
* feat: make InProgressRequest work
* test: re-enable protocol test that relies on webRequest
* chore: merge conditions
2019-08-20 20:46:20 +09:00
Shelley Vohr
1dc02e6dbc
fix: fall back to default logs path in getPath('logs') ( #19653 )
2019-08-19 15:16:00 -07:00
Shelley Vohr
43e6d7fe88
chore: add error throwing utility ( #19803 )
...
* chore: add error throwing utility
* feedback from review
* DRY out repeated isolate calls
2019-08-19 09:10:18 -07:00