File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1- e962bc374379e67f287c9ad07c1b93c6f3fa7006
1+ b5f19ce974588a9f76a614d546631f1e8a2e5043
Original file line number Diff line number Diff line change @@ -1223,6 +1223,13 @@ Disables hardware acceleration for current app.
12231223
12241224This method can only be called before app is ready.
12251225
1226+ ### ` app.isHardwareAccelerationEnabled() `
1227+
1228+ Returns ` boolean ` - whether hardware acceleration is currently disabled.
1229+
1230+ > [ !NOTE]
1231+ > This information is only usable after the ` gpu-info-update ` event is emitted.
1232+
12261233### ` app.disableDomainBlockingFor3DAPIs() `
12271234
12281235By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a per
Original file line number Diff line number Diff line change @@ -32,6 +32,11 @@ following properties:
3232 with which the request is associated. Defaults to the empty string. The
3333 ` session ` option supersedes ` partition ` . Thus if a ` session ` is explicitly
3434 specified, ` partition ` is ignored.
35+ * ` bypassCustomProtocolHandlers ` boolean (optional) - When set to ` true ` ,
36+ custom protocol handlers registered for the request's URL scheme will not be
37+ called. This allows forwarding an intercepted request to the built-in
38+ handler. [ webRequest] ( web-request.md ) handlers will still be triggered
39+ when bypassing custom protocols. Defaults to ` false ` .
3540 * ` credentials ` string (optional) - Can be ` include ` , ` omit ` or
3641 ` same-origin ` . Whether to send
3742 [ credentials] ( https://fetch.spec.whatwg.org/#credentials ) with this
You can’t perform that action at this time.
0 commit comments