Skip to content

feat(window,display): add native window snapshot wrapper and re-export display/window_manager bindings - #110

Merged
richerfu merged 1 commit into
mainfrom
feat/window-snapshot-and-display-info
Oct 26, 2026
Merged

richerfu merged 1 commit into
mainfrom
feat/window-snapshot-and-display-info

Conversation

@richerfu

Copy link
Copy Markdown
Contributor

No description provided.

@richerfu
richerfu force-pushed the feat/window-snapshot-and-display-info branch from 652e10d to 62163ab Compare October 25, 2026 13:54
@richerfu
richerfu force-pushed the feat/window-snapshot-and-display-info branch from 62163ab to e2c8443 Compare October 25, 2026 13:55
@richerfu
richerfu merged commit 159f8ab into main Oct 26, 2026
1 check passed
@richerfu
richerfu deleted the feat/window-snapshot-and-display-info branch October 26, 2026 03:06
@github-actions github-actions Bot mentioned this pull request Oct 27, 2026
ljy9812 pushed a commit to ljy9812/openharmony-ability that referenced this pull request Oct 30, 2026
… selector (committer #186 #188)

Device-run follow-ups to ability-② (99d843e), both hit on the 2026-10-22
319-case desktop regression cycle:

- #186: `WebResourceRequest.getRequestHeader()` returns `Array<Header>`
  ({headerKey, headerValue}), not a string record. The previous
  `getRequestHeader() ?? {}` unioned `Header[]` with `{}` and failed the
  `Record<string,string>` assignment (ArkTS 10505001, hvigor
  COMPILE RESULT:FAIL ERROR:2 — hap build broke before the suite ran).
  Iterate the array directly; the captured headerNames/headerValues wire
  shape is unchanged.
- #188: the main-thread `cookies_for_url` sync bridge (`ohos.webview-cookie`,
  issue harmony-contrib#110) is id-less and always read the default store — an incognito
  webview's main-thread probe silently observed non-incognito cookies
  (run2 ❌: marker missing from the incognito probe while default-store
  cookies showed up). `WebviewCookieFetchRequest` gains an optional
  `incognito` field (None keeps the request byte-identical), the trait
  signature carries it, and the ArkTS `WebviewCookiePlugin` forwards it as
  `fetchCookieSync(url, incognito)`. wry side passes the creation flag
  (companion wry commit). Diagnostics during run3 proved the style flag
  arrives (`create[incognito-diag] raw=true normalized=true`, setCookie
  resolved=true) — the loss was exclusively on this sync read path.

plugin-webview host lib UT 31 passed / 0 failed (with the OHOS host
stub-libs search path), including the extended request-shape asserts.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant