Skip to content
WebView AllWebView All
Documentation for version 1.4.x; select latest for up-to-date APIs.

Capability Matrix

Legend:

MarkMeaning
FullImplemented by the platform engine or a typed bridge.
LimitedImplemented with documented engine, browser, or OS constraints.
NoNot available and expected to throw or no-op as documented.
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
WebViewWidgetFullFullFullFullFullFullFull
Controller use without WebViewWidgetFullFullFullFullFullPage operations require an attached WebView; user scripts can be registered earlierNo, iframe must be attached
loadRequest GETFullFullFullFullFullFullFull
loadRequest GET headersFullFullFullFullFullFullLimited, CORS/fetch
loadRequest POST bodyFullFullFullFullFullFullLimited, CORS/fetch
loadRequest POST headersNoFullFullFullFullNoLimited, CORS/fetch
loadFileFullFullFullFullFullFullNo
loadFlutterAssetFullFullFullFullFullFullFull
Application resource URLs, files and rangesSupported; length and If-Range limitsFullFullFullFullFullUnsupported; logs a diagnostic
Incremental application resource streamsFullFullFullUnsupported; logs a diagnosticFullFullUnsupported; logs a diagnostic
loadHtmlStringFullFullFullFullFullFullFull
currentUrlFullFullFullFullFullFullLimited, logical URL for synthetic loads
History back/forwardFullFullFullFullFullFullLimited, controller-managed history
reloadFullFullFullFullFullFullLimited, reloads last controller load
clearCacheFullFullFullFullFullFullLimited, host-origin cache storage
clearLocalStorageFullFullFullFullFullFullLimited, host-origin storage
Controller-independent website-data clearingLimited on older System WebViewFullFullLimited categories and older runtimesFullLimited categoriesNo, reports unsupported
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
onNavigationRequestFullFullFullFullFullFullLimited, controller loads and observable iframe loads
onPageStarted/onPageFinishedFullFullFullFullFullFullLimited, iframe load events
onProgressFullFullFullFullFullFullLimited, synthetic 0/100 plus load event
onUrlChangeFullFullFullFullFullFullLimited, logical URL where needed
onTitleChangeFullFullFullFullFullFullSame-origin or managed isolated HTML
onWebResourceErrorFullFullFullFullFullFullLimited, fetch failures only for custom request path
onHttpErrorFullFullFullFullFullFullLimited, fetch-backed loads expose response
HTTP auth callbackFullFullFullFullFullFullNo browser iframe event
Recoverable SSL auth callbackFullFullFullFullFullFullNo browser iframe event
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
JavaScript enable/disableFullFullFullFullFullFullLimited, iframe sandbox
runJavaScriptFullFullFullFullFullFullSame-origin or managed isolated HTML
runJavaScriptReturningResultFullFullFullFullFullFullSame-origin or managed isolated HTML; JSON-serializable
callAsyncJavaScript with named argumentsFullFullFullFullFullFullSame-origin or managed isolated HTML; cross-origin iframe unavailable
Document-start user scriptsRuntime capabilityFullFullFullFullFullNo, capability returns false
JavaScript channelsFullFullFullFullFullFullSame-origin or managed isolated HTML
Console message callbackFullFullFullFullFullFullSame-origin or managed isolated HTML
alert callbackFullFullFullFullFullFullSame-origin or managed isolated HTML
confirm callbackFullFullFullFullFullFullSame-origin synchronous callback; isolated uses browser dialog
prompt callbackFullFullFullFullFullFullSame-origin synchronous callback; isolated uses browser dialog
Permission request callbackFullFullFullFullFullFullControllable HTML media hook plus browser prompt
WebAuthn/passkeysLimited, explicit opt-in and app associationLimited, OS and Associated DomainsLimited, OS and Associated DomainsLimited, Runtime/OS/providerNo, WebKitGTK portNot claimed; no documented ArkWeb host APILimited, browser and iframe policy
File selector callbackFullNo common callbackNo common callbackNo common callbackNo common callbackFullBrowser-owned
Geolocation prompt callbackFullNo platform APINo platform APIBrowser/engine-ownedBrowser/engine-ownedFullBrowser-owned
Fullscreen custom widgetFullEngine-ownedEngine-ownedEngine-ownedEngine-ownedFullBrowser-owned
FeatureAndroidiOSmacOSWindowsLinuxOHOSWeb
getTitleFullFullFullFullFullFullSame-origin or managed isolated HTML
Scroll position readFullFullNo, logs and returns zeroFullFullFullSame-origin or managed isolated HTML
Scroll position callbackFullFullNo, logs and no-opFullFullFullSame-origin or managed isolated HTML
scrollTo/scrollByFullFullNo, logs and no-opFullFullFullSame-origin or managed isolated HTML
Scrollbar visibilityFullFullNo, logs and no-opFull, CSS injectionFullFull, CSS injectionFull, CSS injection
Background colorFullFullmacOS 12+, logs and no-op earlierFullFullFullFull, iframe CSS
Zoom enable/disableFullFullFullFullFullFullLimited, iframe touch action
User agent overrideFullFullFullFullFullFullNo; logs and ignores non-null override
Overscroll modeFullLimitedNo, logs and no-opFull, CSS injectionFullFull, CSS injectionFull, iframe CSS
PlatformImportant extra APIs
Androiddebugging, media gesture, text zoom, wide viewport, content/file access, geolocation, file selector, custom fullscreen widget, console, JavaScript dialogs, scrollbars, overscroll, mixed content, WebAuthn/passkeys, Payment Request, insets.
iOS/macOSinline media, media gesture policy, app-bound domains, JavaScript popup policy, back/forward gestures, link preview, inspectable, WebKit file read access, permission prompt forwarding.
WindowsWebView2 environment, runtime version, popup policy, DevTools, suspend/resume, zoom factor, cache disabled, virtual host mapping, extended cookies.
LinuxWebKitGTK developer extras, inspector, media settings, page cache, file URL access, font sizes, zoom factor, JavaScript dialogs, HTTP/SSL auth, permission requests.
OHOSArkWeb settings, debugging, file selector, geolocation prompts, custom fullscreen widget, third-party cookies, OHOS permission resource types.
Webiframe attributes, sandbox/referrer/permissions policy, fetch-backed requests, isolated managed-HTML bridge, media permission mediation.
ModeAndroidiOSmacOSWindowsLinuxOHOSWeb
sharedFullFullFullFullFullFullFull, iframe must be attached
incognitoLimited, shared website dataFullFullRuntime capabilityFullShared native private storeNo
isolatedIncognitoNoFullFullRuntime capabilityFullNoNo

Query WebViewSession.getCapabilities() for the running environment. Unsupported creation requests print a diagnostic and return null.