Skip to content

[Embedder API] Introduce new semantics update callback #114201

@loic-sharma

Description

@loic-sharma

Problem

Currently the Flutter engine "streams" each semantic node update and custom action update individually to the embedder. A semantic node update can refer to a custom action update, so the ordering of these updates is important or it can cause crashes (see #103808 and flutter/engine#35792).

Fix

These ordering requirements are subtle and error prone. We can simplify the embedder API by introducing a new callback that provides the complete batch of semantic updates.

Steps

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecta: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions