Changeset 242733 in webkit
- Timestamp:
- Mar 11, 2019, 1:17:50 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r242727 r242733 1 2019-03-11 Chris Dumez <cdumez@apple.com> 2 3 Regression(r242664) WebKit.WebsitePoliciesDeviceOrientationEventEnabled API test is timing out 4 https://bugs.webkit.org/show_bug.cgi?id=195561 5 6 Reviewed by Youenn Fablet. 7 8 Make sure the JS in the test requests for permission to receive device orientation events. 9 10 * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: 11 1 12 2019-03-11 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm
r242371 r242733 1294 1294 finishedNavigation = false; 1295 1295 1296 bool askedForPermission = false; 1297 [webView evaluateJavaScript:@"DeviceOrientationEvent.requestPermission()" completionHandler: [&] (id result, NSError *error) { 1298 askedForPermission = true; 1299 }]; 1300 TestWebKitAPI::Util::run(&askedForPermission); 1301 1296 1302 __block bool didReceiveMessage = false; 1297 1303 [webView performAfterReceivingMessage:@"received-device-orientation-event" action:^{
Note:
See TracChangeset
for help on using the changeset viewer.