跳转到主内容

CustomScheme 对象

  • scheme 字符串 - 自定义的计划,可以被按选项注册。
  • privileges Object (可选)
    • standard boolean (可选) -默认为false
    • secure boolean (可选) - 默认为false
    • bypassCSP boolean (可选) - 默认为false
    • allowServiceWorkers boolean (可选) - 默认为false
    • supportFetchAPI boolean (可选) - 默认为false
    • corsEnabled boolean (可选) - 默认为false
    • stream boolean (可选) - 默认为 false.
    • codeCache boolean (optional) - Enable V8 code cache for the scheme, only works when standard is also set to true. Default false.