{"record":{"id":"f180672723499441","repo":"GopeedLab/gopeed","slug":"gopeed-runtime-webview-is-unavailable","errorCode":null,"errorMessage":"gopeed runtime webview is unavailable","messagePattern":"gopeed runtime webview is unavailable","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/download/engine/webview/runtime.go","lineNumber":14,"sourceCode":"package webview\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"strconv\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"\n\n\t\"github.com/dop251/goja\"\n)\n\nvar ErrUnavailable = errors.New(\"gopeed runtime webview is unavailable\")\n\ntype Opener interface {\n\tOpen(opts OpenOptions) (Page, error)\n}\n\ntype Page interface {\n\tAddInitScript(script string) error\n\tGoto(url string, opts GotoOptions) error\n\tExecute(expression string, args ...any) (any, error)\n\tGetCookies() ([]Cookie, error)\n\tSetCookie(cookie Cookie) error\n\tDeleteCookie(cookie Cookie) error\n\tClearCookies() error\n\tClose() error\n}\n\ntype OpenOptions struct {\n\tHeadless  bool","sourceCodeStart":1,"sourceCodeEnd":32,"githubUrl":"https://github.com/GopeedLab/gopeed/blob/7b7327ffb30816273a74b142cccc0bc10c5a4c67/pkg/download/engine/webview/runtime.go#L1-L32","documentation":"Error \"gopeed runtime webview is unavailable\" thrown in GopeedLab/gopeed.","triggerScenarios":"Thrown at pkg/download/engine/webview/runtime.go:14 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7b7327ffb30816273a74b142cccc0bc10c5a4c67","analyzedAt":"2026-08-16T02:51:03.250Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}