Changeset 260675 in webkit
- Timestamp:
- Apr 24, 2020 3:29:43 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r260668 r260675 1 2020-04-24 Chris Dumez <cdumez@apple.com> 2 3 [iOS] Always run WKTR's WKWebViews at foreground priority 4 https://bugs.webkit.org/show_bug.cgi?id=210991 5 6 Reviewed by Keith Miller. 7 8 Always run WKTR's WKWebViews at foreground priority. This makes sure that they don't suspend and 9 run at foreground priority on iOS, even if those views are not visible on screen. 10 This is an issue to address flakiness on the bots. 11 12 * WebKitTestRunner/cocoa/TestControllerCocoa.mm: 13 (WTR::initializeWebViewConfiguration): 14 1 15 2020-04-24 Kate Cheney <katherine_cheney@apple.com> 2 16 -
trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm
r260169 r260675 87 87 globalWebViewConfiguration._mediaDataLoadsAutomatically = YES; 88 88 globalWebViewConfiguration.requiresUserActionForMediaPlayback = NO; 89 90 // Make sure the view does not get suspended and runs at foreground priority, even if not visible on screen. 91 globalWebViewConfiguration._alwaysRunsAtForegroundPriority = YES; 89 92 #endif 90 93 globalWebViewConfiguration.mediaTypesRequiringUserActionForPlayback = WKAudiovisualMediaTypeNone;
Note: See TracChangeset
for help on using the changeset viewer.