[webkit-changes] [WebKit/WebKit] d1c556: Add an option that makes the MiniBrowser main thre...
Simon Fraser
noreply at github.com
Tue Feb 21 11:31:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d1c55671822b5012f7648e9cf26bf03ca25d5076
https://github.com/WebKit/WebKit/commit/d1c55671822b5012f7648e9cf26bf03ca25d5076
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Changed paths:
M Tools/MiniBrowser/mac/BrowserWindowController.h
M Tools/MiniBrowser/mac/BrowserWindowController.m
M Tools/MiniBrowser/mac/MainMenu.xib
M Tools/MiniBrowser/mac/WK1BrowserWindowController.m
M Tools/MiniBrowser/mac/WK2BrowserWindowController.m
Log Message:
-----------
Add an option that makes the MiniBrowser main thread continually stall
https://bugs.webkit.org/show_bug.cgi?id=252647
rdar://105710889
Reviewed by Wenson Hsieh.
Add an option to MiniBrowser that causes repeated main thread stalls (for 200ms every 200ms)
to simulate a poorly behaving app that has a sometimes-unresponsive main thread. This will be
used to test off-main-thread UI-side scrolling.
* Tools/MiniBrowser/mac/BrowserWindowController.h:
* Tools/MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController toggleMainThreadStalls:]):
(-[BrowserWindowController mainThreadStallsEnabled]):
* Tools/MiniBrowser/mac/MainMenu.xib:
* Tools/MiniBrowser/mac/WK1BrowserWindowController.m:
(-[WK1BrowserWindowController validateMenuItem:]):
* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController validateMenuItem:]):
Canonical link: https://commits.webkit.org/260618@main
More information about the webkit-changes
mailing list