)]}'
{
  "commit": "e2ae9f62d92097cdace4d550e000eacff75c2f0c",
  "tree": "150a31cd1b4b199fe524b0fa28f6d3aa5aa51d9a",
  "parents": [
    "f500e477b05efdcdf0ff364f7791ece58d8fd230"
  ],
  "author": {
    "name": "Danil Somsikov",
    "email": "dsv@chromium.org",
    "time": "Thu Oct 08 12:47:01 2026"
  },
  "committer": {
    "name": "devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Oct 08 12:55:53 2026"
  },
  "message": "[ui] Narrow toolbarItems return type to templates only\n\n- Narrow View.toolbarItems() to Promise\u003cLitTemplate\u003e and SimpleView default to Promise.resolve(nothing).\n- Narrow ItemsProvider.toolbarItems() to LitTemplate.\n- Narrow ViewManager.PreRegisteredView default to nothing.\n- Drop Array.isArray branches across ViewManager.createToolbar, ResourcesPanel, ProfilesPanel, RequestPreviewView, and SourcesView.#updateScriptViewToolbarItems.\n- Update tests to resolve Lit.nothing instead of [].\n\nBug: 407751445\nChange-Id: Ibe2818da648eba7293d7a7cd3d9ed1a83b191a28\nReviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/8518778\nReviewed-by: Jack Franklin \u003cjacktfranklin@chromium.org\u003e\nCommit-Queue: Danil Somsikov \u003cdsv@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8724347f5fce1f333dde9fd186b74d33b4a1954c",
      "old_mode": 33188,
      "old_path": "front_end/panels/application/ResourcesPanel.ts",
      "new_id": "7f229097ed2b2121be4fefb322b947e4009c154b",
      "new_mode": 33188,
      "new_path": "front_end/panels/application/ResourcesPanel.ts"
    },
    {
      "type": "modify",
      "old_id": "ccd59bb932b1ab9c2dbee4f2152b280d227cfb23",
      "old_mode": 33188,
      "old_path": "front_end/panels/network/RequestPreviewView.ts",
      "new_id": "cd102dd3a56fe2c1361cd9b3547bbf05d185f5f2",
      "new_mode": 33188,
      "new_path": "front_end/panels/network/RequestPreviewView.ts"
    },
    {
      "type": "modify",
      "old_id": "32881a1e4892384b653d32f8d9c181ac7ea6d390",
      "old_mode": 33188,
      "old_path": "front_end/panels/profiler/ProfilesPanel.ts",
      "new_id": "a79f478dc4fb26de90666596c223e88b8f43f68c",
      "new_mode": 33188,
      "new_path": "front_end/panels/profiler/ProfilesPanel.ts"
    },
    {
      "type": "modify",
      "old_id": "9e0263f9a41c988eb65c719711c0139074901ea0",
      "old_mode": 33188,
      "old_path": "front_end/panels/sources/SourcesView.ts",
      "new_id": "e95b24dc14c05688d31dc6b933bc5b5f184719c6",
      "new_mode": 33188,
      "new_path": "front_end/panels/sources/SourcesView.ts"
    },
    {
      "type": "modify",
      "old_id": "b1195a8d3e37f53022c596caa1fe86a5f8dedea9",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/PlusButton.test.ts",
      "new_id": "45b082978a1ac759acb1c3e64f21fa7c30cf1e6c",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/PlusButton.test.ts"
    },
    {
      "type": "modify",
      "old_id": "dadab321e9141102d294081c08eed301516e9023",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/StackLocation.test.ts",
      "new_id": "1a3e42469747b8a4454b8bd383f9fff5b2ab5d2d",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/StackLocation.test.ts"
    },
    {
      "type": "modify",
      "old_id": "7e861681a16bbdfafff893abf7a8d28d5ef7eb14",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/StackPane.ts",
      "new_id": "3b6223c4d143e74d16bce156f080e3325289c0e4",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/StackPane.ts"
    },
    {
      "type": "modify",
      "old_id": "3a635a39fe595f265bda6c0d1c37e449f563d816",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/StackedPane.test.ts",
      "new_id": "30e3cf73373465df6e99f9da9789c4fe2f6a0859",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/StackedPane.test.ts"
    },
    {
      "type": "modify",
      "old_id": "55f54ec368189b2c0463cadee56a13eae601aa94",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/StackedPane.ts",
      "new_id": "ab0bc541d20398d14f4c750cbfb9f1e5ab1eabd7",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/StackedPane.ts"
    },
    {
      "type": "modify",
      "old_id": "92a684d37f7a1932d3ef2d532af6135028b289d3",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/Toolbar.ts",
      "new_id": "8d965a4eed9dd24cea6d4f9205eb3b545ba4e35e",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/Toolbar.ts"
    },
    {
      "type": "modify",
      "old_id": "0dc86893217bce986de00b641239cd4441e3fabe",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/View.ts",
      "new_id": "680eab6db29d85449c1c7e02063febe5b03fca4e",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/View.ts"
    },
    {
      "type": "modify",
      "old_id": "2ba732e5c5933f62debc479697dee492b5a25400",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/ViewManager.test.ts",
      "new_id": "c5db10ee77a6b52b10266261af77a7440af5a9f9",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/ViewManager.test.ts"
    },
    {
      "type": "modify",
      "old_id": "564c15191a5c2446ce2c5c5b437632d88bdad1a1",
      "old_mode": 33188,
      "old_path": "front_end/ui/legacy/ViewManager.ts",
      "new_id": "32ca787941da23af3c682d4ca0dbce56285aa34f",
      "new_mode": 33188,
      "new_path": "front_end/ui/legacy/ViewManager.ts"
    }
  ]
}
