chore(go-webview): clarify encoding/base64 rationale comment (AX-6)
Reworded the existing `// Note:` annotation on encoding/base64 import in webview.go to explicitly state that core has no equivalent decoder yet (CDP Page.captureScreenshot returns PNG as base64-encoded data). Closes tasks.lthn.sh/view.php?id=286 Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
ba6ff38ca6
commit
81ff1a8f78
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ package webview
|
|||
|
||||
import (
|
||||
"context"
|
||||
"encoding/base64" // Note: intrinsic — CDP Page.captureScreenshot returns PNG as base64-encoded string; stdlib decoder is the protocol requirement
|
||||
"encoding/base64" // Note: encoding/base64 — PNG screenshot decode from Chrome DevTools Protocol; no core equivalent exists yet.
|
||||
"iter" // Note: intrinsic — stdlib iterator primitive for Seq[ConsoleMessage] / Seq[*ElementInfo] return types
|
||||
"slices" // Note: intrinsic — slices.Collect materialises console message iterator into a snapshot
|
||||
"sync"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue