Skip to main content

ServiceWorkerInfo 对象

🌐 ServiceWorkerInfo Object

  • scriptUrl string - 此服务工作线程运行的脚本的完整 URL
  • scope string - 此服务工作线程激活的基础 URL。
  • renderProcessId number - 此服务工作线程所运行的进程的虚拟 ID。这不是操作系统级别的 PID。这与用于 webContents.getProcessId() 的 ID 集对齐。
  • versionId number - 服务工作者版本的ID