HarmonyOS: Web view settings

Aperta
#1,518 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
mobile

Direzione di ricerca

Read internal/platform/harmonyos/mount.go at the web mount and compare it with how another target maps WebConfig onto its web view. Then follow the ArkTS side that configures ArkWeb's Web, and check docs/roadmap.md line 349 and #1320 for scope. Done means ArkWeb receives UserAgent, UserAgentSuffix, injected scripts, headers and the rest of WebConfig while the host only gets the source URL and NoJavaScript; verify with a HarmonyOS build loading a page that reports navigator.userAgent.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Context

Part of #1320. The roadmap's HarmonyOS section lists this item (line 349 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: internal/platform/harmonyos/mount.go (web)

Acceptance
  • ArkWeb's Web takes a web view's UserAgent and UserAgentSuffix, injected scripts, headers and the rest of WebConfig, as the other targets do; the host is sent only the source's URL and NoJavaScript now

For: 开发@柚子

Lingua principale
Go
Stelle
684
Fork
41
Merge medio
8h 8m
PR unite (30g)
911

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nsgo-dev/nsgo

Tutte le issue di nsgo-dev/nsgo

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.