зеркало из https://github.com/electron/electron.git
ab24a1e36d
* 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
|
||
---|---|---|
.. | ||
fixtures | ||
static | ||
api-app-spec.js | ||
api-auto-updater-spec.js | ||
api-browser-view-spec.js | ||
api-browser-window-affinity-spec.js | ||
api-browser-window-spec.js | ||
api-callbacks-registry-spec.js | ||
api-clipboard-spec.js | ||
api-crash-reporter-spec.js | ||
api-debugger-spec.js | ||
api-deprecations-spec.js | ||
api-desktop-capturer-spec.js | ||
api-dialog-spec.js | ||
api-global-shortcut-spec.js | ||
api-in-app-purchase-spec.js | ||
api-ipc-main-spec.js | ||
api-ipc-renderer-spec.js | ||
api-menu-item-spec.js | ||
api-menu-spec.js | ||
api-native-image-spec.js | ||
api-net-log-spec.js | ||
api-net-spec.js | ||
api-notification-dbus-spec.js | ||
api-notification-spec.js | ||
api-power-monitor-spec.js | ||
api-power-save-blocker-spec.js | ||
api-process-spec.js | ||
api-protocol-spec.js | ||
api-remote-spec.js | ||
api-screen-spec.js | ||
api-session-spec.js | ||
api-shell-spec.js | ||
api-system-preferences-spec.js | ||
api-touch-bar-spec.js | ||
api-view-spec.js | ||
api-web-contents-spec.js | ||
api-web-contents-view-spec.js | ||
api-web-frame-spec.js | ||
api-web-request-spec.js | ||
asar-spec.js | ||
chromium-spec.js | ||
modules-spec.js | ||
node-spec.js | ||
package.json | ||
security-warnings-spec.js | ||
webview-spec.js | ||
window-helpers.js |