Changeset 239356 in webkit
- Timestamp:
- Dec 18, 2018, 3:02:16 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r239344 r239356 1 2018-12-18 Alex Christensen <achristensen@webkit.org> 2 3 Fix API test introduced in r239339 on iOS. 4 https://bugs.webkit.org/show_bug.cgi?id=192675 5 6 * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: 7 (TEST): 8 The iOS implementation of the safe browsing warning is a little different. 9 It does some element creation when it is added to the window so it knows how big it is. 10 To test these elements, we need to simulate adding it to the window. 11 A similar technique is done in other iOS API tests, such as SafeBrowsing.ShowWarningSPI. 12 1 13 2018-12-18 Jonathan Bedard <jbedard@apple.com> 2 14 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm
r239339 r239356 319 319 while (![webView _safeBrowsingWarning]) 320 320 TestWebKitAPI::Util::spinRunLoop(); 321 #if !PLATFORM(MAC) 322 [[webView _safeBrowsingWarning] didMoveToWindow]; 323 #endif 321 324 visitUnsafeSite([webView _safeBrowsingWarning]); 322 325 TestWebKitAPI::Util::run(&done); … … 327 330 while (![webView _safeBrowsingWarning]) 328 331 TestWebKitAPI::Util::spinRunLoop(); 332 #if !PLATFORM(MAC) 333 [[webView _safeBrowsingWarning] didMoveToWindow]; 334 #endif 329 335 return webView; 330 336 };
Note:
See TracChangeset
for help on using the changeset viewer.