electron/spec/fixtures/api
Zhuo Lu ab24a1e36d feat: netLog API for dynamic logging control (#13068)
* Introduce `net.{start|stop}Logging()`

- Slight regression right now as Electron won't automatically start logging net-logs at launch, will soon be fixed
- To implement callback for async controls

* Add `net.isLogging` & optional callback param for `net.stopLogging()`

* Fix small regression on --log-net-log

--log-net-log should work again

* Error on empty file path

* Only start with valid file path

* Remove unused var

* Allow setting log file path before URLRequestContextGetter starts logging

* Add net log tests

* Remove redundant checks

* Use brightray::NetLog

* Clean up code

* Should automatically stop listening

* 🎨 Attempt to fix styles

* Only run non-null callback

* Dump file to tmpdir

* Simplify net log spec

Spawned Electron process on Linux CI can fail to launch

* Separate netLog module

* Remove net logging test from net spec

* Add tests for netLog

* Fix header guard

* Clean up code

* Add netLog.currentlyLoggingPath

* Callback with filepath

* Add test for case when only .stopLogging() is called

* Add docs

* Reintroduce error on invalid arg

* Update copyright

* Update error message

* Juggle file path string types
2018-06-19 11:45:58 +10:00
..
electron-module-app
exit-closes-all-windows-app
locale-check add app.setLocale() (#11469) 2018-02-08 08:26:37 -06:00
mixed-sandbox-app
net-log feat: netLog API for dynamic logging control (#13068) 2018-06-19 11:45:58 +10:00
quit-app
relaunch
singleton feat: new makeSingleInstance API (#12782) 2018-05-08 01:29:18 +10:00
singleton-old feat: new makeSingleInstance API (#12782) 2018-05-08 01:29:18 +10:00
allocate-memory.html
beforeunload-false-prevent3.html
beforeunload-false.html
blank.html
close-beforeunload-empty-string.html
close-beforeunload-false.html
close-beforeunload-undefined.html
close.html
crash-restart.html remove deprecated method call 2017-12-07 14:26:57 -05:00
crash.html clean fixture and fix failing travis test 2017-11-01 08:57:22 -04:00
did-fail-load-iframe.html
frame-subscriber.html
isolated-preload.js add webFrame to sandboxed renderer 2017-08-23 10:52:02 -07:00
isolated.html add webFrame to sandboxed renderer 2017-08-23 10:52:02 -07:00
loaded-from-dataurl.js
localstorage.html
native-window-open-blank.html
native-window-open-child.html
native-window-open-cross-origin.html Use an existing host name so that it resolves quickly and tests don't time out. 2017-11-24 10:58:53 +09:00
native-window-open-file.html
native-window-open-iframe.html
native-window-open-isolated-preload.js
native-window-open-isolated.html
native-window-open-native-addon.html
native-window-open-no-allowpopups.html
new-window-preload.js
new-window.html
offscreen-rendering.html
preload.html
preloads.html Add a SessionPreferences to manage session related data 2017-12-05 15:59:15 +09:00
remote-event-handler.html
render-view-deleted.html
sandbox.html perf: don't use JSON to send the result of ipcRenderer.sendSync. (#8953) 2018-06-13 17:38:31 +10:00
send-sync-message.html
unload.html
window-open-location-change.html Add spec for reloading opened window cross-origin 2017-07-17 11:55:15 -07:00
window-open-location-final.html Add spec for reloading opened window cross-origin 2017-07-17 11:55:15 -07:00
window-open-location-open.html Add spec for reloading opened window cross-origin 2017-07-17 11:55:15 -07:00
window-open-preload.js Add spec for reloading opened window cross-origin 2017-07-17 11:55:15 -07:00