)]}'
{
  "commit": "def08f458b94eaeea28b261a9dece0fcdfc7265b",
  "tree": "75a7d741bebac1e10488d9a80b000c3b4907f9f1",
  "parents": [
    "0d95c365c73f5413e3ba1fac56d7a36015586f7a"
  ],
  "author": {
    "name": "Yusuf İhsan Görgel",
    "email": "developeryusuf@icloud.com",
    "time": "Tue Aug 11 16:52:10 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Aug 11 16:52:10 2026 +0000"
  },
  "message": "Wait for web rendering before first-frame event (#189500)\n\nThe `flutter-first-frame` browser event currently fires as soon as the\nframework sends the `flutter/service_worker` platform message. Web scene\nrendering is asynchronous, so the event can remove an HTML splash while\nSkWasm is still rasterizing and briefly expose a blank frame.\n\nThis change tracks scene renders that are still in progress, waits for\nthem,\nand dispatches the event on the next browser animation frame. The tests\ncover\nboth the asynchronous browser-event contract and an explicitly gated\nscene\nrender, so the latter proves that the event cannot overtake\nrasterization.\n\nFixes #189499.\n\n## Validation\n\n- `felt test --gcs-prod --browser chrome test/engine/window_test.dart\ntest/ui/async_rendering_test.dart`\n  passed in all seven selected suites:\n  - dart2js / CanvasKit (Chromium and full variants)\n  - dart2wasm / CanvasKit\n  - dart2wasm / SkWasm (threaded and forced single-threaded)\n  - dart2wasm / Wimp\n- `dart analyze` reported no issues for the implementation and both test\nfiles.\n- A minimal SkWasm reproduction exposed a blank compositor frame after\nthe\nevent in 3/3 cold runs before this change. The first visible Flutter\nframe\n  followed the event by 90.3–143.0 ms.\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`),\nor this change does not alter public API documentation.\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.\n\nIf this change needs to override an active code freeze, provide a\ncomment explaining why. The code freeze workflow can be overridden by\ncode reviewers. See pinned issues for any active code freezes with\nguidance.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md\n\n---------\n\nCo-authored-by: Harry Terkelsen \u003c1961493+harryterkelsen@users.noreply.github.com\u003e\nCo-authored-by: zhongliugo \u003czhongliu88889@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bfc15058b57c33e7f7c91680e87aa3817343d4c6",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/web_ui/lib/src/engine/platform_dispatcher.dart",
      "new_id": "f6ec6cc9194c66dc98086354793de499f71d6bf9",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/web_ui/lib/src/engine/platform_dispatcher.dart"
    },
    {
      "type": "modify",
      "old_id": "8d3f065886d2db0f49f7bfb4ca22898b3c7da328",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/web_ui/test/engine/window_test.dart",
      "new_id": "fab35ddd2a50d7c4e6cd57c9803c45b4fd88a0c0",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/web_ui/test/engine/window_test.dart"
    },
    {
      "type": "modify",
      "old_id": "dd8c28c83012b6f072febc61c70a44cc3d171767",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/lib/web_ui/test/ui/async_rendering_test.dart",
      "new_id": "ccdc7166d4fe6782c6d13862731e6ab278b0c0ad",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/lib/web_ui/test/ui/async_rendering_test.dart"
    }
  ]
}
