)]}'
{
  "commit": "255655d55406943252c56691473395f01daab746",
  "tree": "5e04acd0670e52b408206c5276c66c8cec946379",
  "parents": [
    "a7d3e59a35e73d831f25d63d88a72419de025aeb"
  ],
  "author": {
    "name": "Elijah Sawyers",
    "email": "esawyers@apple.com",
    "time": "Thu Oct 29 01:35:28 2026"
  },
  "committer": {
    "name": "Elijah Sawyers",
    "email": "elijahsawyers@gmail.com",
    "time": "Thu Oct 29 01:35:28 2026"
  },
  "message": "Extension action popup does not scroll when changing focus with keyboard\nhttps://bugs.webkit.org/show_bug.cgi?id\u003d320810\nrdar://183935725\n\nReviewed by Timothy Hatcher and Brian Weinstein.\n\nThis patch stops _setSizeToContentAutoSizeMaximumSize: from disabling main frame scrolling,\nso action popups taller than the maximum popover size can scroll.\n\nThe SPI called setMainFrameIsScrollable(false), which only takes effect if the page already has\na running web process. A popup has one when it shares a process with the extension\u0027s background\npage or another open extension page, which is why the bug was intermittent.\n\nThe scroll-disable was copied from _setMinimumLayoutWidth:, where the view grows to fit all of\nits content. Size-to-content mode has a maximum size, so it needs to scroll. Popups that fit\nwithin the maximum are unaffected.\n\nThe test opens the popup while the background page is loaded, so the popup always shares its\nprocess.\n\n* Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm:\n(-[WKWebView _setSizeToContentAutoSizeMaximumSize:]):\n* Source/WebKit/UIProcess/mac/WebViewImpl.mm:\n(WebKit::WebViewImpl::setSizeToContentAutoSizeMaximumSize):\n* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebExtensionAPIAction.swift:\n(WKWebExtensionAPIActionTests.popupScrollsContentTallerThanMaximumSize): Added.\n\nCanonical link: https://commits.webkit.org/325064@main\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d54f5f576643d0ff4fe65409373e5f1dbd5a970",
      "old_mode": 33188,
      "old_path": "Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm",
      "new_id": "a9e3183e824d336b255990eca5bd2c7fafa644fb",
      "new_mode": 33188,
      "new_path": "Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm"
    },
    {
      "type": "modify",
      "old_id": "a16fe2c9bccbfc99198bf5963e35ad075b4d7394",
      "old_mode": 33188,
      "old_path": "Source/WebKit/UIProcess/mac/WebViewImpl.mm",
      "new_id": "b51da5e3ac61e2be2ff74a1e51578512fd42b0fd",
      "new_mode": 33188,
      "new_path": "Source/WebKit/UIProcess/mac/WebViewImpl.mm"
    },
    {
      "type": "modify",
      "old_id": "1b702ebb4af961fe15554a7e145f8d12acf0b3dd",
      "old_mode": 33188,
      "old_path": "Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebExtensionAPIAction.swift",
      "new_id": "1796fe267706814968ceff0a6bdf1614229384ed",
      "new_mode": 33188,
      "new_path": "Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebExtensionAPIAction.swift"
    }
  ]
}
