Files
electron/docs/api/structures/custom-scheme.md
trop[bot] 267cbc841e feat: enable code cache for custom protocols (#40708)
* feat: enable code cache for custom protocols

Co-authored-by: Cheng Zhao <zcbenz@gmail.com>

* chore: remove trop reference to off-topic patch

* chore: update feat_allow_code_cache_in_custom_schemes.patch

* chore: update patches

* chore: update patches

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2023-12-13 12:40:03 -06:00

638 B

CustomScheme Object

  • scheme string - Custom schemes to be registered with options.
  • privileges Object (optional)
    • standard boolean (optional) - Default false.
    • secure boolean (optional) - Default false.
    • bypassCSP boolean (optional) - Default false.
    • allowServiceWorkers boolean (optional) - Default false.
    • supportFetchAPI boolean (optional) - Default false.
    • corsEnabled boolean (optional) - Default false.
    • stream boolean (optional) - Default false.
    • codeCache boolean (optional) - Enable V8 code cache for the scheme, only works when standard is also set to true. Default false.