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

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

* chore: update feat_allow_code_cache_in_custom_schemes.patch

* chore: e patches all

---------

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>
2023-12-13 12:48:48 -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.