| 2019-06-05 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Upstream content mode support into open source from WebKitAdditions |
| https://bugs.webkit.org/show_bug.cgi?id=198484 |
| <rdar://problem/51355671> |
| |
| Reviewed by Andy Estes. |
| |
| Change the "useModernCompatibilityMode" layout test option to instead be "contentMode", with values of either |
| "mobile" or "desktop". |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/ios/PreferredCompatibilityMode.mm: Removed. |
| * TestWebKitAPI/ios/PreferredContentMode.mm: Added. |
| (-[ContentModeNavigationDelegate setDecidePolicyForNavigationActionWithPreferences:]): |
| (-[ContentModeNavigationDelegate decidePolicyForNavigationActionWithPreferences]): |
| (-[ContentModeNavigationDelegate webView:decidePolicyForNavigationAction:preferences:decisionHandler:]): |
| (+[WKWebpagePreferences preferencesWithContentMode:]): |
| (-[WKWebView navigatorUserAgent]): |
| (-[WKWebView navigatorPlatform]): |
| (-[WKWebView loadTestPageNamed:withPolicyDecisionHandler:]): |
| (-[WKWebView loadHTMLString:withPolicyDecisionHandler:]): |
| (-[WKWebView loadTestPageNamed:andExpectEffectiveContentMode:withPolicyDecisionHandler:]): |
| (-[NSString shouldContainStrings:]): |
| (IPhoneUserInterfaceSwizzler::IPhoneUserInterfaceSwizzler): |
| (IPhoneUserInterfaceSwizzler::phoneUserInterfaceIdiom): |
| (TestWebKitAPI::setUpWebViewForPreferredContentModeTestingWithoutNavigationDelegate): |
| (TestWebKitAPI::setUpWebViewForPreferredContentModeTesting): |
| (TestWebKitAPI::makeContentModeDecisionHandler): |
| (TestWebKitAPI::TEST): |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::updateTestOptionsFromTestHeader): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestOptions.h: |
| (WTR::TestOptions::hasSameInitializationOptions const): |
| * WebKitTestRunner/cocoa/TestControllerCocoa.mm: |
| (WTR::TestController::platformCreateWebView): |
| (WTR::TestController::configureContentMode): |
| (WTR::TestController::enableModernCompatibilityMode): Deleted. |
| |
| 2019-06-01 Antoine Quint <graouts@apple.com> |
| |
| [Pointer Events] Add support for chorded button interactions |
| https://bugs.webkit.org/show_bug.cgi?id=198462 |
| |
| Reviewed by Dean Jackson. |
| |
| Until now, MouseEvent.buttons would always return 0 when used within DRT and WKTR as [NSEvent pressedMouseButtons], used |
| by PlatformMouseEventBuilder to set the m_buttons value eventually used to set MouseEvent.buttons, not account for the |
| NSEvent created through the eventSender JS object in tests. To fix this, we now track the pressed mouse buttons within |
| DRT and WKTR as mouseDown() and mouseUp() are called, and swizzle [NSEvent pressedMouseButtons] to return that value. |
| |
| In the case of DRT, one test would fail when swizzling this method in the case where the target view for the event would |
| be the DRTMockScroller, a subclass of NSScroller. So we only swizzle when the target view is *not* an NSScroller or a |
| subclass. |
| |
| Finally, we change the NoMouseButton enum value from -1 to -2 to adjust to MouseEvent.button now being a "short". |
| |
| * DumpRenderTree/mac/EventSendingController.mm: |
| (swizzledEventPressedMouseButtons): |
| (-[EventSendingController mouseDown:withModifiers:]): |
| (-[EventSendingController mouseUp:withModifiers:]): |
| (-[EventSendingController mouseMoveToX:Y:]): |
| * TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm: |
| * WebKitTestRunner/EventSenderProxy.h: |
| (WTR::EventSenderProxy::mouseButtonsCurrentlyDown const): |
| * WebKitTestRunner/mac/EventSenderProxy.mm: |
| (WTR::swizzledEventPressedMouseButtons): |
| (WTR::EventSenderProxy::mouseDown): |
| (WTR::EventSenderProxy::mouseUp): |
| (WTR::EventSenderProxy::mouseMoveTo): |
| |
| 2019-06-04 Chris Dumez <cdumez@apple.com> |
| |
| Cookies set via [WKHTTPCookieStore setCookie:] on store right after constructing WKWebView get lost |
| https://bugs.webkit.org/show_bug.cgi?id=198553 |
| <rdar://problem/51317144> |
| |
| Reviewed by Geoffrey Garen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm: |
| (-[CheckSessionCookieUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]): |
| (TEST): |
| |
| 2019-06-04 Michael Catanzaro <mcatanzaro@igalia.com> |
| |
| Fix miscellaneous build warnings |
| https://bugs.webkit.org/show_bug.cgi?id=198544 |
| |
| Reviewed by Don Olmstead. |
| |
| When converting to PRIVATE include directories, we accidentally dropped SYSTEM here. The |
| naming convention used here is a bit confusing: the *_SYSTEM_INCLUDE_DIRECTORIES actually |
| uses both SYSTEM and PRIVATE. We should probably clarify this. |
| |
| * TestWebKitAPI/PlatformGTK.cmake: |
| |
| 2019-06-04 Youenn Fablet <youenn@apple.com> |
| |
| getUserMedia requests should be processed sequentially in UIProcess |
| https://bugs.webkit.org/show_bug.cgi?id=198430 |
| <rdar://problem/51311420> |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm: |
| (-[GetUserMediaRepromptUIDelegate _webView:requestMediaCaptureAuthorization:decisionHandler:]): |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/getUserMedia.html: |
| |
| 2019-06-04 David Kilzer <ddkilzer@apple.com> |
| |
| REGRESSION (r244557): Leak of WKNSString in WTR::runOpenPanel() while running WebKit layout tests |
| <https://webkit.org/b/198538> |
| <rdar://problem/51407719> |
| |
| Reviewed by Darin Adler. |
| |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::runOpenPanel): Use adoptWK() to fix the leak. |
| |
| 2019-06-04 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-app] Add authentication while fetching bugs |
| https://bugs.webkit.org/show_bug.cgi?id=198415 |
| <rdar://problem/51298710> |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-app/ews/common/bugzilla.py: |
| (Bugzilla._fetch_attachment_json): Use api_key if configured in environment variable. |
| (BugzillaBeautifulSoup.authenticate): Method to authenticate, logic copied from webkitpy/common/net/bugzilla/bugzilla.py |
| (BugzillaBeautifulSoup._load_query): |
| |
| 2019-06-04 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Do not display unnecessary steps in the Buildbot build page UI |
| https://bugs.webkit.org/show_bug.cgi?id=198218 |
| <rdar://problem/51104544> |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| |
| 2019-06-04 Sihui Liu <sihui_liu@apple.com> |
| |
| WKWebsiteDataStore API fails to fetch web storage data for non-persistent data store |
| https://bugs.webkit.org/show_bug.cgi?id=198317 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-06-04 Takashi Komori <Takashi.Komori@sony.com> |
| |
| [WinCairo] Implement cpu and memory measuring functions. |
| https://bugs.webkit.org/show_bug.cgi?id=198466 |
| |
| Reviewed by Don Olmstead. |
| |
| * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp: |
| (WTR::TestRunner::inspectorTestStubURL): |
| |
| 2019-06-04 Zan Dobersek <zdobersek@igalia.com> |
| |
| [misc] Remove JSCOnly ARMv7 Traditional bot |
| https://bugs.webkit.org/show_bug.cgi?id=198524 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| This is not a supported configuration anymore, so the buildbot slave can |
| be removed from configuration. |
| |
| * BuildSlaveSupport/build.webkit.org-config/config.json: |
| * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js: |
| (WebKitBuildbot): |
| * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py: |
| |
| 2019-06-03 Andy Estes <aestes@apple.com> |
| |
| [Apple Pay] Disable script injection when canMakePayment APIs are called and return true |
| https://bugs.webkit.org/show_bug.cgi?id=198448 |
| <rdar://problem/51323694> |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/ApplePay.mm: |
| (-[TestApplePayAvailableScriptMessageHandler userContentController:didReceiveScriptMessage:]): |
| (-[TestApplePayActiveSessionScriptMessageHandler userContentController:didReceiveScriptMessage:]): |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::runActiveSessionTest): |
| (-[TestApplePayScriptMessageHandler initWithAPIsAvailableExpectation:canMakePaymentsExpectation:]): Deleted. |
| (-[TestApplePayScriptMessageHandler userContentController:didReceiveScriptMessage:]): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-active-session.html: |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-availability-existing-object.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-availability-in-iframe.html: |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-availability.html: |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-can-make-payment.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-can-make-payments-with-active-card.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-can-make-payments.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay.js: Added. |
| (applePayRequestBase): |
| (applePayPaymentRequest): |
| (applePayMethod): |
| * TestWebKitAPI/cocoa/TestProtocol.mm: |
| (-[TestProtocol startLoading]): |
| |
| 2019-06-03 Sihui Liu <sihui_liu@apple.com> |
| |
| [ Mac WK2 ] TestWebKitAPI.WKWebView.LocalStorageProcessCrashes is a flaky timeout when run locally. |
| https://bugs.webkit.org/show_bug.cgi?id=198423 |
| <rdar://problem/51305247> |
| |
| Reviewed by Youenn Fablet. |
| |
| IDBDatabase receives error event on network process crash, so we don't need to check it periodically. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/local-storage-process-crashes.html: |
| |
| 2019-06-03 Rob Buis <rbuis@igalia.com> |
| |
| Implement imagesrcset and imagesizes attributes on link rel=preload |
| https://bugs.webkit.org/show_bug.cgi?id=192950 |
| |
| Reviewed by Youenn Fablet. |
| |
| Add a runtime flag for link preload responsive images. |
| |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (enableExperimentalFeatures): |
| |
| 2019-06-03 Don Olmstead <don.olmstead@sony.com> |
| |
| [CMake] Use WEBKIT_EXECUTABLE in ImageDiff |
| https://bugs.webkit.org/show_bug.cgi?id=198490 |
| |
| Reviewed by Konstantin Tokarev. |
| |
| Use WEBKIT_EXECUTABLE in ImageDiff. Change CMake variables to use the proper |
| convention. Add a shared CoreGraphics.cmake instead of just including PlatformMac |
| for AppleWin builds. |
| |
| * ImageDiff/CMakeLists.txt: |
| * ImageDiff/Cairo.cmake: |
| * ImageDiff/CoreGraphics.cmake: Added. |
| * ImageDiff/PlatformGTK.cmake: |
| * ImageDiff/PlatformMac.cmake: |
| * ImageDiff/PlatformWin.cmake: |
| |
| 2019-06-02 Andy Estes <aestes@apple.com> |
| |
| Memory-cached main resources continue to load after the client decides a content policy of PolicyAction::Download |
| https://bugs.webkit.org/show_bug.cgi?id=198469 |
| <rdar://problem/50512713> |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| (-[TestDownloadNavigationResponseFromMemoryCacheDelegate webView:didStartProvisionalNavigation:]): |
| (-[TestDownloadNavigationResponseFromMemoryCacheDelegate webView:didFailProvisionalNavigation:withError:]): |
| (-[TestDownloadNavigationResponseFromMemoryCacheDelegate webView:didFinishNavigation:]): |
| (-[TestDownloadNavigationResponseFromMemoryCacheDelegate _downloadDidStart:]): |
| (-[TestDownloadNavigationResponseFromMemoryCacheDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]): |
| (TEST): |
| * TestWebKitAPI/cocoa/TestProtocol.h: |
| * TestWebKitAPI/cocoa/TestProtocol.mm: |
| (+[TestProtocol additionalResponseHeaders]): |
| (+[TestProtocol setAdditionalResponseHeaders:]): |
| (-[TestProtocol startLoading]): |
| |
| 2019-06-03 Timothy Hatcher <timothy@apple.com> |
| |
| Tweak the text and underline color for data detected text. |
| https://bugs.webkit.org/show_bug.cgi?id=198487 |
| rdar://problem/50667125 |
| |
| Reviewed by Devin Rousso. |
| |
| * TestWebKitAPI/Tests/WebCore/Color.cpp: |
| (TestWebKitAPI::TEST): Added Color.RGBToHSL tests. |
| |
| 2019-06-03 Don Olmstead <don.olmstead@sony.com> |
| |
| [CMake] Add WebKit::JavaScriptCore target |
| https://bugs.webkit.org/show_bug.cgi?id=198403 |
| |
| Reviewed by Konstantin Tokarev. |
| |
| Use the WebKit::JavaScriptCore target. |
| |
| * DumpRenderTree/CMakeLists.txt: |
| * MiniBrowser/win/CMakeLists.txt: |
| * TestWebKitAPI/CMakeLists.txt: |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/PlatformWPE.cmake: |
| * TestWebKitAPI/glib/CMakeLists.txt: |
| * WebKitTestRunner/CMakeLists.txt: |
| |
| 2019-06-03 Darin Adler <darin@apple.com> |
| |
| Finish cleanup of String::number for floating point |
| https://bugs.webkit.org/show_bug.cgi?id=198471 |
| |
| Reviewed by Yusuke Suzuki. |
| |
| * TestWebKitAPI/Tests/WTF/WTFString.cpp: |
| (TestWebKitAPI::testStringNumber): Go back to calling String::number instead of |
| String::numberToStringECMAScript. |
| |
| * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: |
| (WTR::dumpFrameScrollPosition): Use appendNumber instead of appendECMAScriptNumber |
| since that is now the default. |
| |
| 2019-06-02 Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| [WinCairo][MiniBrowser] WKViewSetIsInWindow should be called |
| https://bugs.webkit.org/show_bug.cgi?id=198474 |
| |
| Reviewed by Darin Adler. |
| |
| WinCairo WK2 MiniBrowser can't play back videos because |
| Page::canStartMedia() always returns false. WKViewSetIsInWindow |
| should be called. |
| |
| The original MiniBrowser did it in Bug 55364. |
| |
| * MiniBrowser/win/WebKitBrowserWindow.cpp: |
| (WebKitBrowserWindow::WebKitBrowserWindow): Call WKViewSetIsInWindow. |
| |
| 2019-05-31 Sihui Liu <sihui_liu@apple.com> |
| |
| TestWebKitAPI.WKWebView.LocalStorageProcessSuspends is flaky |
| https://bugs.webkit.org/show_bug.cgi?id=198450 |
| |
| Reviewed by Ryosuke Niwa. |
| |
| In local-storage-process-suspends-2.html, we periodically checked local storage item and sent a message when the |
| item value was changed or times of check reached limit. We expected the message to be sent after network process |
| resumed from suspension, because that's when the item value should get updated. However, the limit we set seemed |
| to be not high enough, so that the message could be sent eariler than expected, when limit of check number was |
| reached. |
| |
| We can solve this in different ways. To make the test robust, we can send the message on a storage event, which |
| notifies about changes in local storage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/LocalStoragePersistence.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/local-storage-process-suspends-2.html: |
| |
| 2019-05-31 Ryosuke Niwa <rniwa@webkit.org> |
| |
| DragAndDropTests.DragImageLocationForLinkInSubframe fails on some iPad |
| https://bugs.webkit.org/show_bug.cgi?id=198447 |
| |
| Reviewed by Wenson Hsieh. |
| |
| Give the elements an explicit 400px width to make the test always work. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/link-in-iframe-and-input.html: |
| |
| 2019-05-31 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Make tests that use UIHelper more robust under certain configurations |
| https://bugs.webkit.org/show_bug.cgi?id=198442 |
| <rdar://problem/51301737> |
| |
| Reviewed by Megan Gardner. |
| |
| For a certain device class, many tests that attempt to use UIHelper.isIOS are currently failing. We can fix this |
| by making the `isIOS` check more robust; this patch also renames `isIOS` to `isIOSFamily`, which is more |
| accurate (and consistent with the corresponding PLATFORM macro name). |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| (WTR::TestRunner::isIOSFamily const): |
| |
| 2019-05-31 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] Autocorrection menu font is Times New Roman when using font-family: UICTFontTextStyle* |
| https://bugs.webkit.org/show_bug.cgi?id=198427 |
| <rdar://problem/50031825> |
| |
| Reviewed by Tim Horton. |
| |
| Add a new API test to verify that -fontForCaretSelection returns the system font when using UICTFontTextStyle |
| in an editable web view. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/ios/AutocorrectionTestsIOS.mm: Added. |
| (-[TestWKWebView autocorrectionRectsForString:]): |
| (checkCGRectIsEqualToCGRectWithLogging): |
| * TestWebKitAPI/cocoa/TestWKWebView.h: |
| * TestWebKitAPI/ios/UIKitSPI.h: |
| |
| 2019-05-31 Tim Horton <timothy_horton@apple.com> |
| |
| REGRESSION: WebKit.InteractionDeadlockAfterCrash and SynchronousTimeoutTests.UnresponsivePageDoesNotCausePositionInformationToHangUI API tests are failing |
| https://bugs.webkit.org/show_bug.cgi?id=198432 |
| <rdar://problem/51266033> |
| |
| Reviewed by Wenson Hsieh. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm: |
| (TEST): |
| (recursiveFindHighlightLongPressRecognizer): Deleted. |
| * TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm: |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::recursiveFindHighlightLongPressRecognizer): Deleted. |
| |
| 2019-05-31 Alex Christensen <achristensen@webkit.org> |
| |
| URLParser::parseIPv6Host should properly parse 0's around compression |
| https://bugs.webkit.org/show_bug.cgi?id=198424 |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WTF/URLParser.cpp: |
| (TestWebKitAPI::TEST_F): |
| |
| 2019-05-31 Alex Christensen <achristensen@webkit.org> |
| |
| URLParser::parseHostAndPort should not allow non-port characters after an ipv6 host |
| https://bugs.webkit.org/show_bug.cgi?id=198428 |
| <rdar://problem/51209196> |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WTF/URLParser.cpp: |
| (TestWebKitAPI::TEST_F): |
| |
| 2019-05-28 Dewei Zhu <dewei_zhu@apple.com> |
| |
| run-benchmark should report an error if the argument to --build-directory is bogus |
| https://bugs.webkit.org/show_bug.cgi?id=198316 |
| |
| Reviewed by Ryosuke Niwa. |
| |
| 'run-benchmark' should not fallback to system safari when browser or browser build path is |
| specified but not valid. |
| Add a run-time check to ensure at least one of the resource from build directory is opened by |
| Safari when build directory is specified. |
| |
| * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py: |
| (OSXSafariDriver.launch_url): Raise an exception when browser or browser build path is |
| specified but not valid. |
| |
| 2019-05-31 Tim Horton <timothy_horton@apple.com> |
| |
| Optionally respect device management restrictions when loading from the network |
| https://bugs.webkit.org/show_bug.cgi?id=198318 |
| <rdar://problem/44263806> |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/DeviceManagementRestrictions.mm: Added. |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm: |
| (TEST): |
| Clone a test that tests non-persistent data stores and ensure |
| that it works if the data store is created via a configuration as well. |
| |
| Add a test that ensures that you can't create a data store configuration |
| with an invalid set of options. |
| |
| Add a test that device management restrictions (when mocked) correctly |
| fail the load with a new, appropriate error. |
| |
| 2019-05-31 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Unreviewed, rolling out r245943. |
| |
| Caused API test WKWebView.LocalStorageProcessSuspends to fail |
| on release bots. |
| |
| Reverted changeset: |
| |
| "WKWebsiteDataStore API fails to fetch web storage data for |
| non-persistent data store" |
| https://bugs.webkit.org/show_bug.cgi?id=198317 |
| https://trac.webkit.org/changeset/245943 |
| |
| 2019-05-31 Alexey Proskuryakov <ap@apple.com> |
| |
| WebKitTestRunner sometimes freezes under -[NSWindow release] |
| https://bugs.webkit.org/show_bug.cgi?id=198422 |
| |
| Reviewed by Tim Horton. |
| |
| The window remains key until it's out of the allWindows vector, and AppKit is not |
| happy about deallocating key windows. Fixed by updating allWindows in -close |
| instead of -release. |
| |
| Added isMainFrame assertions in code that manipulates allWindows for a good measure. |
| |
| * WebKitTestRunner/mac/WebKitTestRunnerWindow.mm: |
| (+[WebKitTestRunnerWindow _WTR_keyWindow]): |
| (-[WebKitTestRunnerWindow initWithContentRect:styleMask:backing:defer:]): |
| (-[WebKitTestRunnerWindow close]): |
| (-[WebKitTestRunnerWindow dealloc]): |
| |
| 2019-05-31 Geoffrey Garen <ggaren@apple.com> |
| |
| Some WeakPtr cleanup |
| https://bugs.webkit.org/show_bug.cgi?id=198390 |
| |
| Reviewed by Chris Dumez. |
| |
| * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Updated for rename. |
| |
| 2019-05-31 Don Olmstead <don.olmstead@sony.com> |
| |
| [CMake] Add WebKit::WTF target |
| https://bugs.webkit.org/show_bug.cgi?id=198400 |
| |
| Reviewed by Konstantin Tokarev. |
| |
| Use the WebKit::WTF target. |
| |
| * DumpRenderTree/CMakeLists.txt: |
| * DumpRenderTree/PlatformWin.cmake: |
| * MiniBrowser/win/CMakeLists.txt: |
| * TestWebKitAPI/CMakeLists.txt: |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/PlatformWPE.cmake: |
| * TestWebKitAPI/PlatformWin.cmake: |
| * WebKitTestRunner/PlatformGTK.cmake: |
| * WebKitTestRunner/PlatformWin.cmake: |
| |
| 2019-05-31 Alex Christensen <achristensen@webkit.org> |
| |
| REGRESSION (Safari 12): SafariForWebkitDevelopment won't load any pages on Mojave, nightly builds broken |
| https://bugs.webkit.org/show_bug.cgi?id=194808 |
| <rdar://problem/48278497> |
| |
| Reviewed by Darin Adler. |
| |
| I verified that a daily build downloaded an run on Mojave does not work without this and works with this. |
| |
| * WebKitArchiveSupport/run-webkit-archive: |
| (set_dyld_framework_path): |
| Also set XPC variants of needed environment variables. |
| |
| 2019-05-31 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [WPE] Build at-spi2-core without x11 support in jhbuild |
| https://bugs.webkit.org/show_bug.cgi?id=198411 |
| |
| Reviewed by Philippe Normand. |
| |
| * wpe/jhbuild.modules: |
| |
| 2019-05-30 Sihui Liu <sihui_liu@apple.com> |
| |
| WKWebsiteDataStore API fails to fetch web storage data for non-persistent data store |
| https://bugs.webkit.org/show_bug.cgi?id=198317 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-30 Andres Gonzalez <andresg_22@apple.com> |
| |
| Inserting a newline in contenteditable causes two characters to be added instead of one |
| https://bugs.webkit.org/show_bug.cgi?id=197894 |
| <rdar://problem/49700998> |
| |
| Reviewed by Wenson Hsieh and Chris Fleizach. |
| |
| iOS implementation of several AccessibilityUIElement methods to execute |
| LayoutTests. |
| |
| * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: |
| (WTR::AccessibilityUIElement::selectedTextRange): |
| (WTR::AccessibilityUIElement::setSelectedTextRange): |
| (WTR::AccessibilityUIElement::replaceTextInRange): |
| |
| 2019-05-30 Keith Miller <keith_miller@apple.com> |
| |
| IsoHeaps don't notice uncommitted VA becoming the first eligible. |
| https://bugs.webkit.org/show_bug.cgi?id=198301 |
| |
| Reviewed by Yusuke Suzuki. |
| |
| Move testbmalloc.cpp to TestWTF so it runs in automation. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WTF/bmalloc/IsoHeap.cpp: Renamed from Source/bmalloc/test/testbmalloc.cpp. |
| (TEST): |
| |
| 2019-05-30 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| DragAndDropTests.DataTransferExposePlainTextWithFileURLAsFile API test is failing |
| https://bugs.webkit.org/show_bug.cgi?id=198389 |
| <rdar://problem/51266096> |
| |
| Reviewed by Tim Horton. |
| |
| This test started failing, since the fallback name for a dropped text file changed from "text.txt" to |
| "Document.txt" on newer iOS SDK versions. We simply fix this test by checking that the name of the file ends |
| with ".txt", and that the MIME type of the file is "text/plain". |
| |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-30 Sihui Liu <sihui_liu@apple.com> |
| |
| Stop StorageManager when network process is ready to suspend |
| https://bugs.webkit.org/show_bug.cgi?id=198201 |
| <rdar://problem/49683172> |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/LocalStoragePersistence.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/local-storage-process-suspends-1.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/local-storage-process-suspends-2.html: Added. |
| |
| 2019-05-30 David Quesada <david_quesada@apple.com> |
| |
| REGRESSION (r245756) [Mac] 2 TestWebKitAPI.DownloadProgress* and TestWebKitAPI._WKDownload.DownloadMonitorCancel are flaky timeouts |
| https://bugs.webkit.org/show_bug.cgi?id=198298 |
| rdar://problem/51182393 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| Re-enable _WKDownload.DownloadMonitorCancel, which should no longer time out with this fix. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-30 Truitt Savell <tsavell@apple.com> |
| |
| Unreviewed, rolling out r245881. |
| |
| Broke 13 Layout tests on WK2 |
| |
| Reverted changeset: |
| |
| "WKWebsiteDataStore API fails to fetch web storage data for |
| non-persistent data store" |
| https://bugs.webkit.org/show_bug.cgi?id=198317 |
| https://trac.webkit.org/changeset/245881 |
| |
| 2019-05-30 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Update configuration to share bots across queues |
| https://bugs.webkit.org/show_bug.cgi?id=198370 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/config.json: Share bots across builder and API tester queues. |
| Also use ews119 instead of ews120 for mac API tests, as ews120 seems to have some issues as |
| noted in https://bugs.webkit.org/show_bug.cgi?id=197571#c1 |
| |
| 2019-05-30 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpy: Switch run-webkit-tests to tailspin (Follow-up fix) |
| https://bugs.webkit.org/show_bug.cgi?id=198144 |
| <rdar://problem/32463212> |
| |
| Unreviewed infrastructure fix. |
| |
| * Scripts/webkitpy/port/darwin.py: |
| (DarwinPort.look_for_new_samples): Use tailspin_file_path instead of spindump_file_path. |
| |
| 2019-05-29 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Remove some logic to suppress the text selection assistant during drop |
| https://bugs.webkit.org/show_bug.cgi?id=198354 |
| |
| Reviewed by Tim Horton. |
| |
| Adjust some API tests that currently check whether or not the selection assistant was suppressed during drop. |
| |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/cocoa/DragAndDropSimulator.h: |
| * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: |
| (-[DragAndDropSimulator _resetSimulatedState]): |
| (-[DragAndDropSimulator _webView:dataInteractionOperationWasHandled:forSession:itemProviders:]): |
| |
| 2019-05-29 Sihui Liu <sihui_liu@apple.com> |
| |
| WKWebsiteDataStore API fails to fetch web storage data for non-persistent data store |
| https://bugs.webkit.org/show_bug.cgi?id=198317 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-29 Alex Christensen <achristensen@webkit.org> |
| |
| Build fix for branch. |
| <rdar://problem/50625279> |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| |
| 2019-05-29 Justin Michaud <justin_michaud@apple.com> |
| |
| Attempt to fix JSC test timeouts after adding collectContinuously to WASM tests. |
| https://bugs.webkit.org/show_bug.cgi?id=198322 |
| |
| Rubber-stamped by Michael Saboff. Disable running the new collectContinuously tests on debug builds. |
| This matches what we do for other jsc tests. |
| |
| * Scripts/run-jsc-stress-tests: |
| |
| 2019-05-29 Don Olmstead <don.olmstead@sony.com> |
| |
| Remove ENABLE definitions from WebKit config files |
| https://bugs.webkit.org/show_bug.cgi?id=197858 |
| |
| Reviewed by Simon Fraser. |
| |
| Sync FeatureDefines.xcconfig. |
| |
| * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: |
| |
| 2019-05-29 Said Abou-Hallawa <sabouhallawa@apple.com> |
| |
| [iOS] WebPage::positionInformation() may set InteractionInformationAtPosition.isImage to true but leave image unset |
| https://bugs.webkit.org/show_bug.cgi?id=198202 |
| |
| Reviewed by Tim Horton. |
| |
| The new test ensures InteractionInformationAtPosition::isImage will not |
| be to true for a broken image. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-29 David Kilzer <ddkilzer@apple.com> |
| |
| check-webkit-style reports false-positive build/include_order warning in WTF C++ source files |
| <https://webkit.org/b/198349> |
| |
| Reviewed by Alex Christensen. |
| |
| * Scripts/webkitpy/style/checkers/cpp.py: |
| (_classify_include): Don't return early for <wtf/Header.h> |
| includes. |
| * Scripts/webkitpy/style/checkers/cpp_unittest.py: |
| (OrderOfIncludesTest.test_primary_header): Add tests for |
| <wtf/Header.h> includes. |
| |
| 2019-05-29 Geoffrey Garen <ggaren@apple.com> |
| |
| WeakPtr breaks vtables when upcasting to base classes |
| https://bugs.webkit.org/show_bug.cgi?id=188799 |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Adopt the new macro API instead |
| of template specialization for observing weak references. |
| |
| (TestWebKitAPI::Int::Int): |
| (TestWebKitAPI::Int::operator int const): |
| (TestWebKitAPI::Int::operator== const): Use a class for integer tests |
| because WeakPtr doesn't naturally support pointing to non-class objects |
| now. |
| |
| (TestWebKitAPI::Base::foo): |
| (TestWebKitAPI::Derived::foo): Inherit from CanMakeWeakPtr to enable |
| deduction of the weak pointer type. |
| |
| (TestWebKitAPI::TEST): Updated to use Int. |
| |
| (TestWebKitAPI::Base::weakPtrFactory const): Deleted. |
| (WTF::WeakReference<TestWebKitAPI::Base>::WeakReference): Deleted. |
| (WTF::WeakReference<TestWebKitAPI::Base>::~WeakReference): Deleted. |
| |
| 2019-05-29 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Unreviewed, rolling out r245857. |
| |
| Breaks internal builds. |
| |
| Reverted changeset: |
| |
| "WeakPtr breaks vtables when upcasting to base classes" |
| https://bugs.webkit.org/show_bug.cgi?id=188799 |
| https://trac.webkit.org/changeset/245857 |
| |
| 2019-05-28 Geoffrey Garen <ggaren@apple.com> |
| |
| WeakPtr breaks vtables when upcasting to base classes |
| https://bugs.webkit.org/show_bug.cgi?id=188799 |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: Adopt the new macro API instead |
| of template specialization for observing weak references. |
| |
| (TestWebKitAPI::Int::Int): |
| (TestWebKitAPI::Int::operator int const): |
| (TestWebKitAPI::Int::operator== const): Use a class for integer tests |
| because WeakPtr doesn't naturally support pointing to non-class objects |
| now. |
| |
| (TestWebKitAPI::Base::foo): |
| (TestWebKitAPI::Derived::foo): Inherit from CanMakeWeakPtr to enable |
| deduction of the weak pointer type. |
| |
| (TestWebKitAPI::TEST): Updated to use Int. |
| |
| (TestWebKitAPI::Base::weakPtrFactory const): Deleted. |
| (WTF::WeakReference<TestWebKitAPI::Base>::WeakReference): Deleted. |
| (WTF::WeakReference<TestWebKitAPI::Base>::~WeakReference): Deleted. |
| |
| 2019-05-29 Aakash Jain <aakash_jain@apple.com> |
| |
| Disable Flaky API Test TestWebKitAPI._WKDownload.DownloadMonitorCancel |
| https://bugs.webkit.org/show_bug.cgi?id=198328 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| |
| 2019-05-28 Justin Michaud <justin_michaud@apple.com> |
| |
| Attempt to fix JSC test timeouts after adding collectContinuously to WASM tests. |
| https://bugs.webkit.org/show_bug.cgi?id=198322 |
| |
| Reviewed by Saam Barati. |
| |
| Increases the collection period from 1 to slightly higher to try to speed up the tests. Any higher and |
| the test runner does not detect the bug that required the memset in Wasm::Instance::Instance(). |
| |
| * Scripts/run-jsc-stress-tests: |
| |
| 2019-05-28 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] Respect NSItemProvider's registered types when dropping files that are loaded in-place |
| https://bugs.webkit.org/show_bug.cgi?id=198315 |
| <rdar://problem/51183762> |
| |
| Reviewed by Tim Horton. |
| |
| Adds a new API test to verify that when dropping a file that is loaded in-place with a file extension that is |
| not a .png (but was registered to the item provider as "public.png"), the resulting attachment is contained in |
| an image element, and the resulting attachment info indicates that the dropped attachment is a png file. |
| |
| Additionally, rebaseline some existing tests. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: |
| (runTestWithTemporaryImageFile): |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-28 Yusuke Suzuki <ysuzuki@apple.com> |
| |
| GCHeapInspector should accept weird filename |
| https://bugs.webkit.org/show_bug.cgi?id=198314 |
| |
| Reviewed by Simon Fraser. |
| |
| GCHeapInspector filenameForPath should have a fallback path if regexp does not match against the given path. |
| |
| * GCHeapInspector/script/interface.js: |
| (filenameForPath): |
| |
| 2019-05-28 Eric Carlson <eric.carlson@apple.com> |
| |
| [MacOS] Filter GVA warning logged to stdout |
| https://bugs.webkit.org/show_bug.cgi?id=198303 |
| <rdar://problem/50098041> |
| |
| Reviewed by Jer Noble. |
| |
| * Scripts/webkitpy/port/mac.py: |
| (MacPort.logging_patterns_to_strip): Filter GVA warnings. |
| |
| 2019-05-28 Nikita Vasilyev <nvasilyev@apple.com> |
| |
| Web Inspector: Provide UIString descriptions to improve localizations |
| https://bugs.webkit.org/show_bug.cgi?id=195132 |
| <rdar://problem/48457817> |
| |
| Reviewed by Devin Rousso. |
| |
| Allow WI.UIString to take: |
| - WI.UIString(string, key, comment) |
| - WI.UIString(string, comment) |
| - WI.UIString(string) |
| |
| * Scripts/extract-localizable-js-strings: |
| |
| 2019-05-25 Dewei Zhu <dewei_zhu@apple.com> |
| |
| Limit run-benchmark http server to specific interface. |
| https://bugs.webkit.org/show_bug.cgi?id=198247 |
| |
| Reviewed by Ryosuke Niwa. |
| |
| Add '--interface' option to 'twisted_http_server.py'. |
| 'SimpleHTTPServerDriver' should specify interface for http server. |
| Update regex that determines http server port from 'lsof' output to support ipv6 address. |
| |
| * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py: |
| Added '--interface' argument. |
| * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py: |
| Limited http server to a specific interfce. |
| Added '-P' option to 'lsof' invocation to inhibits the conversion of port numbers to port name so script won't |
| fail if it's listening on a 'well-known' port. |
| Abstracted '_check_http_server_is_running' to allow potential child class to have its own implementation. |
| (SimpleHTTPServerDriver.serve): Updated regex that determines http server port from 'lsof' output to support ipv6 address. |
| (SimpleHTTPServerDriver.kill_server): Added null check for 'self._server_process'. |
| |
| 2019-05-28 David Xiong <w_xiong@apple.com> |
| |
| webkitpy: Switch run-webkit-tests to tailspin |
| https://bugs.webkit.org/show_bug.cgi?id=198144 |
| <rdar://problem/32463212> |
| |
| Reviewed by Jonathan Bedard. |
| |
| Changes run-webkit-tests to run tailspin on test time out |
| rather than spindump, and edited tests to look for tailspin logs |
| instead. |
| |
| * Scripts/webkitpy/port/darwin.py: |
| (DarwinPort.sample_process): Replaced spindump with tailspin (+ symbolication) |
| (DarwinPort): |
| (DarwinPort.tailspin_file_path): |
| (DarwinTest.spindump_file_path): Deleted. |
| * Scripts/webkitpy/port/darwin_testcase.py: |
| (DarwinTest.test_tailspin): Changed spindump test (below) to test for tailspin instead |
| (DarwinTest.test_spindump): Deleted. |
| (DarwinTest.test_spindump.logging_run_command): Deleted. |
| * Scripts/webkitpy/port/ios_device_unittest.py: |
| (IOSDeviceTest.test_tailspin): Changed spindump tests (inc. below) to test for tailspin instead |
| (IOSDeviceTest.test_sample_process.logging_run_command): |
| (IOSDeviceTest.test_sample_process_exception.throwing_run_command): |
| (IOSDeviceTest.test_spindump): Deleted. |
| (IOSDeviceTest.test_spindump.logging_run_command): Deleted. |
| |
| 2019-05-28 David Xiong <w_xiong@apple.com> |
| |
| webkitpy: Using sudo on iOS device during timeout spindumps |
| https://bugs.webkit.org/show_bug.cgi?id=198142 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/webkitpy/port/darwin.py: |
| (DarwinPort.sample_process): Check target host instead of source host for sudo command. |
| |
| 2019-05-28 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Remove unused buildbot tabs |
| https://bugs.webkit.org/show_bug.cgi?id=198108 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/templates/build.jade: Removed unused 'Changes' and 'Responsible Users' tabs. |
| |
| 2019-05-27 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK] Use WPEBackend-fdo for accelerating compositing in Wayland instead of the nested compositor |
| https://bugs.webkit.org/show_bug.cgi?id=197944 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add WPEBackend-fdo to jhbuild moduleset. |
| |
| * gtk/jhbuild.modules: |
| |
| 2019-05-27 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] Dropping in an editable element should result in a ranged selection |
| https://bugs.webkit.org/show_bug.cgi?id=198267 |
| <rdar://problem/51145977> |
| |
| Reviewed by Tim Horton. |
| |
| Adjust some existing API tests that currently check for selection rects after a drop. Instead of checking for |
| visible selection rects, simply check for the start caret rect, as determined by WKContentView's |
| -selectionRange. |
| |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| (makeCGRectValue): Deleted. |
| (checkSelectionRectsWithLogging): Deleted. |
| * TestWebKitAPI/cocoa/DragAndDropSimulator.h: |
| |
| Replace finalSelectionRects with finalSelectionStartRect. |
| |
| * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: |
| (-[DragAndDropSimulator _resetSimulatedState]): |
| (-[DragAndDropSimulator runFrom:to:additionalItemRequestLocations:]): |
| (-[DragAndDropSimulator finalSelectionRects]): Deleted. |
| |
| 2019-05-27 Oriol Brufau <obrufau@igalia.com> |
| |
| [css-grid] Preserve repeat() notation when serializing declared values |
| https://bugs.webkit.org/show_bug.cgi?id=197840 |
| |
| Reviewed by Manuel Rego Casasnovas. |
| |
| Adapt CSSPropertyParserTest to CSSGridIntegerRepeatValue. |
| |
| * TestWebKitAPI/Tests/WebCore/CSSParser.cpp: |
| (TestWebKitAPI::computeNumberOfTracks): |
| |
| 2019-05-26 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] Dropped text, attachments, and images should animate into place |
| https://bugs.webkit.org/show_bug.cgi?id=198243 |
| <rdar://problem/35205373> |
| |
| Reviewed by Tim Horton. |
| |
| Adjusts the iOS dragging simulator, and adds a new API test. See below for more detail. |
| |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (TestWebKitAPI::isCompletelyWhite): |
| (TestWebKitAPI::TEST): |
| |
| Add a test that drags and drops an image into a contenteditable element, and then observes the resulting |
| UITargetedDragPreviews upon drop. |
| |
| * TestWebKitAPI/cocoa/DragAndDropSimulator.h: |
| * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: |
| (-[DragAndDropSimulator _resetSimulatedState]): |
| (-[DragAndDropSimulator runFrom:to:additionalItemRequestLocations:]): |
| (-[DragAndDropSimulator _concludeDropAndPerformOperationIfNecessary]): |
| |
| Teach the iOS version of DragAndDropSimulator to invoke -dropInteraction:concludeDrop: on the drop interaction |
| delegate when the drop finishes. This additionally uses _doAfterReceivingEditDragSnapshotForTesting: to defer |
| the end of the simulated drag and drop until after drag previews have been received during an edit drag. |
| |
| (-[DragAndDropSimulator dropPreviews]): |
| (-[DragAndDropSimulator delayedDropPreviews]): |
| |
| Have the drag and drop simulator remember which previews were returned by the delegate on drop, as well as which |
| previews were provided asynchronously. |
| |
| (-[DragAndDropSimulator _webView:dataInteractionOperationWasHandled:forSession:itemProviders:]): |
| * TestWebKitAPI/ios/UIKitSPI.h: |
| |
| Stage the new private drop interacton delegate method. |
| |
| 2019-05-25 Simon Fraser <simon.fraser@apple.com> |
| |
| MobileMiniBrowser: Add iPad support, and allow insecure loads |
| https://bugs.webkit.org/show_bug.cgi?id=198249 |
| |
| Reviewed by Tim Horton. |
| |
| Add iPad support to MobileMiniBrowser, and allow insecure loads. |
| |
| * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj: |
| * MobileMiniBrowser/MobileMiniBrowser/Info.plist: |
| |
| 2019-05-25 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] Respect -[NSItemProvider preferredPresentationSize] when dropping images |
| https://bugs.webkit.org/show_bug.cgi?id=198242 |
| |
| Reviewed by Beth Dakin. |
| |
| Add a new test that simulates dropping an image with a preferred presentation size into an editable element |
| with attachment elements enabled. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-24 Yusuke Suzuki <ysuzuki@apple.com> |
| |
| Make display-profiler-output work with newer HighLine |
| https://bugs.webkit.org/show_bug.cgi?id=198205 |
| |
| Reviewed by Saam Barati. |
| |
| Newer HighLine does not have SystemExtensions. Access @terminal member in default instance of HighLine. |
| |
| * Scripts/display-profiler-output: |
| |
| 2019-05-23 Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| run-webkit-tests: Remove feature detection support |
| https://bugs.webkit.org/show_bug.cgi?id=198105 |
| |
| Reviewed by Jonathan Bedard. |
| |
| Feature detection support was added to DRT for Windows and old |
| run-webkit-tests in Bug 35610. It was added for NRWT in Bug 41842. |
| But, it doesn't work for DRT for Windows because of feature name |
| mismatches. Since USE(ACCELERATED_COMPOSITING) flag has been |
| removed in Bug 127833, it is not needed anymore. |
| |
| * DumpRenderTree/win/DumpRenderTree.cpp: |
| (main): |
| * Scripts/webkitpy/port/base.py: |
| (Port._tests_for_other_platforms): |
| (Port._skipped_tests_for_unsupported_features): |
| (Port._runtime_feature_list): Deleted. |
| (Port.nm_command): Deleted. |
| (Port._modules_to_search_for_symbols): Deleted. |
| (Port._symbols_string): Deleted. |
| (Port._missing_feature_to_skipped_tests): Deleted. |
| (Port._has_test_in_directories): Deleted. |
| * Scripts/webkitpy/port/darwin.py: |
| (DarwinPort.make_command): |
| (DarwinPort.nm_command): Deleted. |
| * Scripts/webkitpy/port/ios_simulator.py: |
| (IOSSimulatorPort.reset_preferences): |
| (IOSSimulatorPort.nm_command): Deleted. |
| * Scripts/webkitpy/port/port_testcase.py: |
| (TestWebKitPort.__init__): |
| (TestWebKitPort.all_test_configurations): |
| (PortTestCase.test_path_to_test_expectations_file): |
| (TestWebKitPort._symbols_string): Deleted. |
| (PortTestCase.test_skipped_directories_for_features): Deleted. |
| (PortTestCase.test_skipped_directories_for_features_no_matching_tests_in_test_list): Deleted. |
| (PortTestCase.test_skipped_tests_for_unsupported_features_empty_test_list): Deleted. |
| * Scripts/webkitpy/port/watch_simulator.py: |
| (WatchSimulatorPort.reset_preferences): |
| (WatchSimulatorPort.nm_command): Deleted. |
| * Scripts/webkitpy/port/win.py: |
| (WinPort.show_results_html_file): |
| (WinPort._runtime_feature_list): Deleted. |
| * Scripts/webkitpy/port/win_unittest.py: |
| (WinPortTest.test_operating_system): |
| (WinPortTest.test_runtime_feature_list): Deleted. |
| * WebKitTestRunner/Options.cpp: |
| (WTR::OptionsHandler::OptionsHandler): |
| (WTR::handleOptionPrintSupportedFeatures): Deleted. |
| * WebKitTestRunner/Options.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::initialize): |
| |
| 2019-05-23 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r245665. |
| https://bugs.webkit.org/show_bug.cgi?id=198203 |
| |
| Inspector appears blank, again. (Requested by NVI on #webkit). |
| |
| Reverted changeset: |
| |
| "Web Inspector: Provide UIString descriptions to improve |
| localizations" |
| https://bugs.webkit.org/show_bug.cgi?id=195132 |
| https://trac.webkit.org/changeset/245665 |
| |
| 2019-05-23 Stephan Szabo <stephan.szabo@sony.com> |
| |
| [Win][CMake] Pass architecture to cmake via -A for both x64 and Win32 |
| https://bugs.webkit.org/show_bug.cgi?id=198098 |
| |
| Reviewed by Don Olmstead. |
| |
| With current CMake and Visual Studio 2019, the default |
| architecture will match the host, so we should make sure |
| to explicitly mention the architecture we want for 32-bit |
| builds as well for cases where we are on x64 and not in an |
| x64_x32 cross-build vcvars environment. |
| |
| * Scripts/webkitdirs.pm: |
| (getVisualStudioToolset): Get toolset name for cmake/msbuild |
| (getMSBuildPlatformArgument): Update to use getVisualStudioToolset |
| (getCMakeWindowsToolsetArgument): Get -A argument for cmake |
| based on toolset |
| (generateBuildSystemFromCMakeProject): Remove explicit -A x64 |
| in 64-bit mode in favor of new getCMakeWindowsToolsetArgument. |
| |
| 2019-05-23 Youenn Fablet <youenn@apple.com> |
| |
| Set default WebsiteDataStore storage quota based on StorageQuotaManager |
| https://bugs.webkit.org/show_bug.cgi?id=198133 |
| <rdar://problem/51031436> |
| |
| Reviewed by Geoffrey Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/StorageQuota.mm: |
| (doTest): |
| |
| 2019-05-23 Keith Rollin <krollin@apple.com> |
| |
| generate-xcfilelists should not store temporary build files in /tmp |
| https://bugs.webkit.org/show_bug.cgi?id=198136 |
| |
| Reviewed by Jonathan Bedard. |
| |
| Provide the build infrastructure control of the location of |
| generate-xcfilelists' temporary files by creating them in the build |
| directory when possible. |
| |
| * Scripts/webkitpy/generate_xcfilelists_lib/application.py: |
| (get_xcode_project_temp_dir): |
| * Scripts/webkitpy/generate_xcfilelists_lib/generators.py: |
| (BaseGenerator._generate_derived): |
| (BaseGenerator._generate_unified): |
| (BaseGenerator): |
| (BaseGenerator._get_temp_dir): |
| |
| 2019-05-23 Philippe Normand <philn@igalia.com> |
| |
| [JHBuild][GStreamer] Enable libsrtp |
| https://bugs.webkit.org/show_bug.cgi?id=198041 |
| |
| Reviewed by Xabier Rodriguez-Calvar. |
| |
| * gstreamer/jhbuild.modules: Enable libsrtp. The system version |
| can't be used from Stretch because it's too old. |
| |
| 2019-05-22 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Move win-ews queue bubble to Win10 section of dashboard |
| https://bugs.webkit.org/show_bug.cgi?id=198159 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js: |
| (BubbleQueueServer): Change platform to Windows10 to match the OS version of the bots. |
| |
| 2019-05-22 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| [Mac] Add API test to make sure the system font is drawn just like in native code |
| https://bugs.webkit.org/show_bug.cgi?id=198010 |
| |
| Reviewed by Daniel Bates. |
| |
| We can compare the width of using font-family:system-ui to a CTLine. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/TextWidth.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/TextWidth.mm: Added. |
| (TEST): |
| |
| 2019-05-22 Nikita Vasilyev <nvasilyev@apple.com> |
| |
| Web Inspector: Provide UIString descriptions to improve localizations |
| https://bugs.webkit.org/show_bug.cgi?id=195132 |
| <rdar://problem/48457817> |
| |
| Reviewed by Devin Rousso. |
| |
| Allow WI.UIString to take: |
| - WI.UIString(string, key, comment) |
| - WI.UIString(string, comment) |
| - WI.UIString(string) |
| |
| * Scripts/extract-localizable-js-strings: |
| |
| 2019-05-22 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] The shouldIgnoreMetaViewport test option incorrectly persists across layout tests |
| https://bugs.webkit.org/show_bug.cgi?id=198135 |
| <rdar://problem/51001306> |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| When shouldIgnoreMetaViewport=true is specified on a test, if the following test does not use a flexible |
| viewport, we will continue ignoring the meta viewport, since we'll bail before we attempt to reset |
| WKPreferences' _shouldIgnoreMetaViewport property to NO. |
| |
| We fix this by simply allowing shouldIgnoreMetaViewport to take precedence over useFlexibleViewport, such that |
| -[WKPreferences _shouldIgnoreMetaViewport] will always be updated to its intended value between tests. |
| |
| * WebKitTestRunner/ios/TestControllerIOS.mm: |
| (WTR::TestController::platformConfigureViewForTest): |
| |
| 2019-05-22 Sihui Liu <sihui_liu@apple.com> |
| |
| API Test landed in r245540 [Mac WK2] TestWebKitAPI.WKWebView.LocalStorageProcessCrashes is a flaky failure |
| https://bugs.webkit.org/show_bug.cgi?id=198090 |
| <rdar://problem/51003644> |
| |
| Reviewed by Youenn Fablet. |
| |
| WebView was wrongly loaded multiple times. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/LocalStoragePersistence.mm: |
| (TEST): |
| |
| 2019-05-22 Jiewen Tan <jiewen_tan@apple.com> |
| |
| [WebAuthN] Support Attestation Conveyance Preference |
| https://bugs.webkit.org/show_bug.cgi?id=192722 |
| <rdar://problem/49939647> |
| |
| Reviewed by Brent Fulgham. |
| |
| * TestWebKitAPI/Tests/WebCore/CtapRequestTest.cpp: |
| (TestWebKitAPI::TEST): |
| Updates the test with AttestationConveyancePreference. |
| |
| 2019-05-22 Zalan Bujtas <zalan@apple.com> |
| |
| [Paste] Add support for preferred presentation size when pasting an image |
| https://bugs.webkit.org/show_bug.cgi?id=198132 |
| <rdar://problem/50886917> |
| |
| Reviewed by Wenson Hsieh. |
| |
| * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-22 Keith Rollin <krollin@apple.com> |
| |
| Use a different variable when testing for Xcode context in generate-xcfilelists |
| https://bugs.webkit.org/show_bug.cgi?id=198130 |
| <rdar://problem/51032752> |
| |
| Reviewed by Jonathan Bedard. |
| |
| The generate-xcfilelists script can run stand-alone or in the context |
| of Xcode. There are a couple of places where it helps to know which |
| context is current. To determine the context, genreate-xfilelists |
| checks an environment variable that should be defined only when Xcode |
| is running. The variable chosen was XCODE_INSTALL_PATH. It turns out |
| that this variable is not always defined. Therefore, switch to |
| checking XCODE_PRODUCT_BUILD_VERSION. |
| |
| * Scripts/webkitpy/generate_xcfilelists_lib/util.py: |
| (subprocess_run): |
| (is_running_under_xcode): |
| |
| 2019-05-22 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| Unreviewed. Fix WPE unit tests after r245565 |
| |
| Backend creation is failing when the a11y bus is not running because atk produces warning messages. We should |
| not make warnings fatal during backend creation. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp: |
| (testAutomationSessionRequestSession): |
| * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp: |
| (testWebViewGeolocationPermissionRequests): |
| * TestWebKitAPI/glib/WebKitGLib/TestMain.h: |
| (Test::createWebViewBackend): |
| (Test::addLogFatalFlag): |
| (Test::removeLogFatalFlag): |
| |
| 2019-05-21 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Use custom templates for Buildbot (follow-up fix) |
| https://bugs.webkit.org/show_bug.cgi?id=198076 |
| |
| Unreviewed minor follow-up fix. |
| |
| * BuildSlaveSupport/ews-build/templates/build.jade: |
| |
| 2019-05-21 Alex Christensen <achristensen@webkit.org> |
| |
| Fix branch build. |
| <rdar://problem/50625279> |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| We need to explicitly include WebKit.h on the branch. |
| |
| 2019-05-21 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Use custom templates for Buildbot |
| https://bugs.webkit.org/show_bug.cgi?id=198076 |
| |
| Rubber-stamped by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/master.cfg: |
| * BuildSlaveSupport/ews-build/templates: Added. |
| * BuildSlaveSupport/ews-build/templates/build.jade: Copied from https://github.com/buildbot/buildbot/blob/v1.7.0/www/base/src/app/builders/builds/build.tpl.jade |
| |
| 2019-05-21 Chris Dumez <cdumez@apple.com> |
| |
| [PSON] Assertion hit when navigating back after a process swap forced by the client |
| https://bugs.webkit.org/show_bug.cgi?id=198006 |
| |
| Reviewed by Alex Christensen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| |
| 2019-05-21 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| Unreviewed. Fix the build with HAVE(ACCESSIBILITY) disabled |
| |
| * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: |
| (WTR::AccessibilityController::elementAtPoint): |
| * WebKitTestRunner/InjectedBundle/AccessibilityController.h: |
| (WTR::AccessibilityController::rootElement): |
| (WTR::AccessibilityController::focusedElement): |
| |
| 2019-05-21 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [WPE] Add initial accessibility support using ATK |
| https://bugs.webkit.org/show_bug.cgi?id=197413 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add accessibility support in MiniBrowser and backends used by MiniBrowser and tests. |
| |
| * MiniBrowser/wpe/CMakeLists.txt: |
| * MiniBrowser/wpe/main.cpp: |
| (main): |
| * TestWebKitAPI/PlatformWPE.cmake: |
| * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: |
| * WebKitTestRunner/InjectedBundle/AccessibilityController.h: |
| * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: |
| * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp: |
| (WTR::AccessibilityNotificationHandler::setNotificationFunctionCallback): |
| (WTR::AccessibilityNotificationHandler::removeAccessibilityNotificationHandler): |
| * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Removed. |
| * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Removed. |
| * WebKitTestRunner/PlatformWPE.cmake: |
| * wpe/backends/CMakeLists.txt: |
| * wpe/backends/HeadlessViewBackend.cpp: |
| (WPEToolingBackends::HeadlessViewBackend::HeadlessViewBackend): |
| * wpe/backends/ViewBackend.cpp: |
| (WPEToolingBackends::addKeyEventListener): |
| (WPEToolingBackends::removeKeyEventListener): |
| (WPEToolingBackends::notifyAccessibilityKeyEventListeners): |
| (WPEToolingBackends::ViewBackend::initialize): |
| (WPEToolingBackends::ViewBackend::initializeAccessibility): |
| (WPEToolingBackends::ViewBackend::updateAccessibilityState): |
| (WPEToolingBackends::ViewBackend::setAccessibleChild): |
| (WPEToolingBackends::ViewBackend::addActivityState): |
| (WPEToolingBackends::ViewBackend::removeActivityState): |
| (WPEToolingBackends::ViewBackend::dispatchInputKeyboardEvent): |
| * wpe/backends/ViewBackend.h: |
| * wpe/backends/WebKitAccessibleApplication.cpp: Added. |
| (webkitAccessibleApplicationWindowInterfaceInit): |
| (webkitAccessibleApplicationFinalize): |
| (webkitAccessibleApplicationInitialize): |
| (webkitAccessibleApplicationGetNChildren): |
| (webkitAccessibleApplicationRefChild): |
| (webkitAccessibleApplicationGetName): |
| (webkit_accessible_application_class_init): |
| (webkit_accessible_application_init): |
| (webkitAccessibleApplicationNew): |
| (webkitAccessibleApplicationSetChild): |
| * wpe/backends/WebKitAccessibleApplication.h: Added. |
| * wpe/backends/WindowViewBackend.cpp: |
| (WPEToolingBackends::WindowViewBackend::WindowViewBackend): |
| * wpe/jhbuild.modules: |
| |
| 2019-05-20 Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| run-webkit-tests not gathering crash logs on Cygwin Python and Windows Python |
| https://bugs.webkit.org/show_bug.cgi?id=179828 |
| |
| Reviewed by Jonathan Bedard. |
| |
| ServerProcess should store its Windows PID for Cygwin before |
| process crashing because the Windows PID is required to get a |
| correct CrashLog. |
| |
| CrashLog format has been changed. CrashLogs.GLOBAL_PID_REGEX |
| should accept the new format. |
| |
| * Scripts/webkitpy/common/system/crashlogs.py: |
| (CrashLogs.GLOBAL_PID_REGEX): Accept any words between 'Global' and 'PID:'. |
| |
| * Scripts/webkitpy/port/driver.py: |
| (Driver.has_crashed): |
| (Driver._check_for_driver_crash_or_unresponsiveness): |
| (Driver._read_block): |
| Store server_process.system_pid() to self._crashed_pid instead of server_process.pid(). |
| |
| * Scripts/webkitpy/port/server_process.py: |
| (ServerProcess.__init__): |
| (ServerProcess.system_pid): Added. |
| (ServerProcess._find_system_pid): Added. |
| (ServerProcess._start): Set self._system_pid. |
| * Scripts/webkitpy/port/win.py: |
| (WinPort._get_crash_log): Removed broken old code converting Cygwin pid to Windows pid. |
| |
| 2019-05-20 Aakash Jain <aakash_jain@apple.com> |
| |
| Windows 10 test results missing on flakiness dashboard |
| https://bugs.webkit.org/show_bug.cgi?id=198058 |
| |
| Rubber-stamped by Alexey Proskuryakov. |
| |
| * TestResultServer/static-dashboards/flakiness_dashboard.js: |
| |
| 2019-05-20 Sihui Liu <sihui_liu@apple.com> |
| |
| Move Web Storage to Network Process |
| https://bugs.webkit.org/show_bug.cgi?id=197636 |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageDatabaseTracker.mm: Remove the wait for database file update. |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/LocalStoragePersistence.mm: Add a test for network process crash recovery. |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: Fix a typo and add a test case to cover it. |
| * TestWebKitAPI/Tests/WebKitCocoa/local-storage-process-crashes.html: Added. |
| |
| 2019-05-20 Keith Rollin <krollin@apple.com> |
| |
| generate-xcfilelists is stranding temporary files |
| https://bugs.webkit.org/show_bug.cgi?id=198008 |
| <rdar://problem/50893659> |
| |
| Reviewed by Jonathan Bedard. |
| |
| generate-xcfilelists makes use of temporary files on disk. These files |
| are opened with the OS's "temporary" bit set, causing them to get |
| deleted when closed or the process exists. However, these temporary |
| files actually end up persisting after the script exists. This is |
| because `sed` is used to process the files, and is done so in a way |
| that causes the "temporary" bit to get cleared. |
| |
| Address this issue by no longer using `sed` and instead performing the |
| equivalent processing the file content in-memory. |
| |
| * Scripts/webkitpy/generate_xcfilelists_lib/generators.py: |
| (BaseGenerator._generate_derived): |
| (BaseGenerator._generate_unified): |
| (BaseGenerator._replace): |
| (BaseGenerator._unexpand): |
| (BaseGenerator._find_added_lines.get_lines): |
| (BaseGenerator._find_added_lines): |
| |
| 2019-05-20 Ludovico de Nittis <ludovico.denittis@collabora.com> |
| |
| [WPE][Qt] Use C++17 instead of C++14 |
| https://bugs.webkit.org/show_bug.cgi?id=197415 |
| |
| Reviewed by Philippe Normand. |
| |
| There was a regression introduced with the commit https://bugs.webkit.org/show_bug.cgi?id=197131 |
| The WPE Qt port was not updated to C++17 and this leaded to a compilation error. |
| |
| * TestWebKitAPI/glib/CMakeLists.txt: |
| |
| 2019-05-20 Ludovico de Nittis <ludovico.denittis@collabora.com> |
| |
| [Flatpak][Qt] Meson: Unknown type feature for gstreamer |
| https://bugs.webkit.org/show_bug.cgi?id=197408 |
| |
| Reviewed by Philippe Normand. |
| |
| This is a regression that has been introduced when |
| GStreamer was updated to version 1.16.0 |
| https://bugs.webkit.org/show_bug.cgi?id=197157 |
| |
| Now GStreamer requires meson >= 0.47.0 |
| Updating the Kde runtime to version 5.12 we fulfill |
| this requirement. |
| |
| * flatpak/org.webkit.WPEQT.yaml: |
| |
| 2019-05-20 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GLIB] Crash when instantiating a js object registered with jsc_context_register_class on window object cleared |
| https://bugs.webkit.org/show_bug.cgi?id=198037 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add a test case to check the crash is fixed. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp: |
| (testWebExtensionWindowObjectCleared): |
| * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp: |
| (windowObjectCleared): |
| |
| 2019-05-20 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GLIB] Repeating timer is not stopped when stop is called from the callback |
| https://bugs.webkit.org/show_bug.cgi?id=197986 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Check the timer is no longer active after it has been stopped. |
| |
| * TestWebKitAPI/Tests/WTF/RunLoop.cpp: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-19 Darin Adler <darin@apple.com> |
| |
| Change String::number to use "shortest" instead of "fixed precision 6 digits" |
| https://bugs.webkit.org/show_bug.cgi?id=178319 |
| |
| Reviewed by Sam Weinig. |
| |
| * TestWebKitAPI/Tests/WTF/WTFString.cpp: |
| (TestWebKitAPI::testStringNumberFixedPrecision): Use String::numberToStringFixedPrecision. |
| |
| * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: |
| (attributesOfElement): Use appendFixedPrecisionNumber. |
| |
| 2019-05-18 Jiewen Tan <jiewen_tan@apple.com> |
| |
| [WebAuthN] Allow authenticators that support both CTAP and U2F to try U2F if CTAP fails in authenticatorGetAssertion |
| https://bugs.webkit.org/show_bug.cgi?id=197974 |
| <rdar://problem/50879746> |
| |
| Reviewed by Brent Fulgham. |
| |
| Add a canDowngrade option for mock hid devices to simulate the situation. |
| |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setWebAuthenticationMockConfiguration): |
| |
| 2019-05-18 Tadeu Zagallo <tzagallo@apple.com> |
| |
| Add extra information to dumpJITMemory |
| https://bugs.webkit.org/show_bug.cgi?id=197998 |
| |
| Reviewed by Saam Barati. |
| |
| Add description for the new dumpJITMemory trace point code. |
| |
| * Tracing/SystemTracePoints.plist: |
| |
| 2019-05-17 Justin Michaud <justin_michaud@apple.com> |
| |
| [WASM-References] Add support for Anyref in parameters and return types, Ref.null and Ref.is_null for Anyref values. |
| https://bugs.webkit.org/show_bug.cgi?id=197969 |
| |
| Run wasm tests additionally with wasmBBQUsesAir=0. |
| |
| Reviewed by Keith Miller. |
| |
| * Scripts/run-jsc-stress-tests: |
| |
| 2019-05-17 Don Olmstead <don.olmstead@sony.com> |
| |
| [CMake] Use builtin FindICU |
| https://bugs.webkit.org/show_bug.cgi?id=197934 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Remove uses of ICU_INCLUDE_DIRS and ICU_LIBRARIES. |
| |
| * TestWebKitAPI/PlatformMac.cmake: |
| * TestWebKitAPI/PlatformPlayStation.cmake: |
| * TestWebKitAPI/PlatformWin.cmake: |
| * WebKitTestRunner/CMakeLists.txt: |
| |
| 2019-05-17 Alex Christensen <achristensen@webkit.org> |
| |
| Enable legacy EME for iOS WKWebView |
| https://bugs.webkit.org/show_bug.cgi?id=197964 |
| <rdar://problem/50625666> |
| |
| Reviewed by Wenson Hsieh. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewConfiguration.mm: |
| (TEST): |
| |
| 2019-05-17 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Add clickable url in UI for uploaded S3 archive |
| https://bugs.webkit.org/show_bug.cgi?id=197996 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| |
| 2019-05-17 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-app] Status bubble should not turn orange when any build step has warnings |
| https://bugs.webkit.org/show_bug.cgi?id=198000 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble._does_build_contains_any_failed_step): |
| |
| 2019-05-17 Alex Christensen <achristensen@webkit.org> |
| |
| Add SPI to set a list of hosts to which to send custom header fields cross-origin |
| https://bugs.webkit.org/show_bug.cgi?id=197397 |
| |
| Reviewed by Geoff Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: |
| (TEST): |
| (expectLegacyHeaders): |
| (expectHeaders): |
| (-[CustomHeaderFieldsDelegate webView:decidePolicyForNavigationAction:preferences:decisionHandler:]): |
| (-[CustomHeaderFieldsDelegate webView:startURLSchemeTask:]): |
| (-[CustomHeaderFieldsDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]): Deleted. |
| |
| 2019-05-17 Keith Rollin <krollin@apple.com> |
| |
| Unreviewed build fix. |
| |
| Teach generate-xcfilelists about iphonesimulator. |
| |
| * Scripts/webkitpy/generate_xcfilelists_lib/generators.py: |
| (JavaScriptCoreGenerator): |
| (WebCoreGenerator): |
| (WebKitGenerator): |
| |
| 2019-05-17 Keith Rollin <krollin@apple.com> |
| |
| Re-enable generate-xcfilelists |
| https://bugs.webkit.org/show_bug.cgi?id=197933 |
| <rdar://problem/50831677> |
| |
| Reviewed by Jonathan Bedard. |
| |
| The following two tasks have been completed, and we can re-enable |
| generate-xcfilelists: |
| |
| Bug 197619 <rdar://problem/50507392> Temporarily disable generate-xcfilelists (197619) |
| Bug 197622 <rdar://problem/50508222> Rewrite generate-xcfilelists in Python (197622) |
| |
| * DumpRenderTree/Scripts/check-xcfilelists.sh: |
| * WebKitTestRunner/Scripts/check-xcfilelists.sh: |
| |
| 2019-05-17 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r245401. |
| https://bugs.webkit.org/show_bug.cgi?id=197990 |
| |
| Causing internal build failures (Requested by ShawnRoberts on |
| #webkit). |
| |
| Reverted changeset: |
| |
| "Add SPI to set a list of hosts to which to send custom header |
| fields cross-origin" |
| https://bugs.webkit.org/show_bug.cgi?id=197397 |
| https://trac.webkit.org/changeset/245401 |
| |
| 2019-05-17 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r245418. |
| https://bugs.webkit.org/show_bug.cgi?id=197989 |
| |
| New API test causing crashes on Mojave testers (Requested by |
| ShawnRoberts on #webkit). |
| |
| Reverted changeset: |
| |
| "Add a unit test for client certificate authentication" |
| https://bugs.webkit.org/show_bug.cgi?id=197800 |
| https://trac.webkit.org/changeset/245418 |
| |
| 2019-05-17 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Add build step to Transfer archive to S3 |
| https://bugs.webkit.org/show_bug.cgi?id=197922 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| (TransferToS3): |
| (TransferToS3.finished): Invoke triggers after transfer is successful. |
| (TransferToS3.getResultSummary): Create more readable failure string. |
| (UploadBuiltProduct.finished): Deleted. Moved the trigger invocation after TransferToS3. |
| * BuildSlaveSupport/ews-build/steps_unittest.py: Added unit-tests. |
| |
| 2019-05-16 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK] Need WebKitContextMenuItemType to open emoji picker |
| https://bugs.webkit.org/show_bug.cgi?id=176760 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Update context menu test to check insert emoji action is included in default context menu for editable content. |
| |
| * TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp: |
| |
| 2019-05-16 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Download archives from S3 |
| https://bugs.webkit.org/show_bug.cgi?id=197949 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| (DownloadBuiltProduct): Updated to use S3 URL. |
| (DownloadBuiltProduct.getResultSummary): Method to display custom failure string. |
| * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests. |
| |
| 2019-05-16 David Kilzer <ddkilzer@apple.com> |
| |
| REGRESSION (r15133): Fix leak of JSStringRef in minidom |
| <https://webkit.org/b/197968> |
| <rdar://problem/50872430> |
| |
| Reviewed by Joseph Pecoraro. |
| |
| * TestWebKitAPI/Tests/WebKitObjC/UserContentTest.mm: |
| (expectScriptValueIsString): Drive-by fix to use adopt() instead |
| of JSRetainPtr<JSStringRef> string(Adopt, JSValueToStringCopy(...)). |
| |
| 2019-05-16 David Kilzer <ddkilzer@apple.com> |
| |
| REGRESSION (r84160): Leak of OpaqueJSString under WTR::JSTestRunner::pathToLocalResource (32 bytes) in com.apple.WebKit.WebContent running layout tests |
| <https://webkit.org/b/197965> |
| |
| Reviewed by Joseph Pecoraro. |
| |
| * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: |
| (WTR::TestRunner::pathToLocalResource): Don't call |
| JSStringRetain() here because the JSRetainPtr<JSStringRef> |
| return type will increment the retain count for us. |
| |
| 2019-05-16 Alex Christensen <achristensen@webkit.org> |
| |
| Add a unit test for client certificate authentication |
| https://bugs.webkit.org/show_bug.cgi?id=197800 |
| |
| Reviewed by Youenn Fablet. |
| |
| Make better abstractions for reading and writing from/to TCPServer. |
| Add a unit test that causes a client certificate authentication challenge to happen. |
| |
| * TestWebKitAPI/TCPServer.cpp: |
| (TestWebKitAPI::TCPServer::TCPServer): |
| (TestWebKitAPI::TCPServer::read): |
| (TestWebKitAPI::TCPServer::write): |
| (TestWebKitAPI::TCPServer::respondWithChallengeThenOK): |
| (TestWebKitAPI::TCPServer::respondWithOK): |
| * TestWebKitAPI/TCPServer.h: |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (credentialWithIdentity): |
| (-[ChallengeDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| (TEST): |
| (-[ClientCertificateDelegate webView:didFinishNavigation:]): |
| (-[ClientCertificateDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| (-[ClientCertificateDelegate challengeCount]): |
| (TestWebKitAPI::TEST): |
| (respondWithChallengeThenOK): Deleted. |
| (credentialWithIdentityAndKeychainPath): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/PDFLinkReferrer.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm: |
| (TEST): |
| (readRequest): Deleted. |
| (writeResponse): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::respondWithChallengeThenOK): Deleted. |
| |
| 2019-05-16 Alex Christensen <achristensen@webkit.org> |
| |
| Add SPI to set a list of hosts to which to send custom header fields cross-origin |
| https://bugs.webkit.org/show_bug.cgi?id=197397 |
| |
| Reviewed by Geoff Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: |
| (TEST): |
| (expectLegacyHeaders): |
| (expectHeaders): |
| (-[CustomHeaderFieldsDelegate webView:decidePolicyForNavigationAction:preferences:decisionHandler:]): |
| (-[CustomHeaderFieldsDelegate webView:startURLSchemeTask:]): |
| (-[CustomHeaderFieldsDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]): Deleted. |
| |
| 2019-05-15 Aakash Jain <aakash_jain@apple.com> |
| |
| Replace double-quotes with single quotes in steps.py |
| https://bugs.webkit.org/show_bug.cgi?id=197921 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| |
| 2019-05-15 Keith Rollin <krollin@apple.com> |
| |
| Rewrite generate-xcfilelists in Python |
| https://bugs.webkit.org/show_bug.cgi?id=197622 |
| <rdar://problem/50508222> |
| |
| Reviewed by Jonathan Bedard, Alex Christensen. |
| |
| For a number of reasons, rewrite generate-xcfilelists in Python: |
| |
| - The previous bash script was large and unmaintainable. |
| - We have more internal expertise with Python than with bash. |
| - The bash script used temporary files in /tmp that got stranded and |
| were owned by root, making them awkward to clear out. |
| <rdar://problem/49490262> |
| - We needed to complete support for engineers that built with Xcode |
| rather than the command line. |
| - There are some bugs leading to mildly corrupted .xcfilelist files. |
| It's not apparent the source of the bugs, but one general reason |
| might be due to approaches born of using bash. Rewriting in Python |
| may clear these up. |
| |
| * Scripts/generate-xcfilelists: |
| * Scripts/webkitpy/common/attribute_saver.py: Added. |
| (AttributeSaver): |
| (AttributeSaver.__init__): |
| (AttributeSaver.__enter__): |
| (AttributeSaver.__exit__): |
| * Scripts/webkitpy/common/attribute_saver_unittest.py: Added. |
| (AttributeSaverTest): |
| (AttributeSaverTest.SimpleTestClass): |
| (AttributeSaverTest.SimpleTestClass.__init__): |
| (AttributeSaverTest.test_class): |
| (AttributeSaverTest.test_normal_default): |
| (AttributeSaverTest.test_normal_value): |
| (AttributeSaverTest.test_normal_value_on_exception): |
| (AttributeSaverTest.test_normal_value_on_normal_exit): |
| (AttributeSaverTest.test_normal_value_with_finally_on_exception): |
| (AttributeSaverTest.test_normal_value_with_finally_on_normal_exit): |
| (AttributeSaverTest.test_normal_value_with_else_on_exception): |
| (AttributeSaverTest.test_normal_value_with_else_on_normal_exit): |
| * Scripts/webkitpy/generate_xcfilelists_lib/__init__.py: Added. |
| * Scripts/webkitpy/generate_xcfilelists_lib/application.py: Added. |
| (Application): |
| (Application.__init__): |
| (Application.run): |
| (Application._initialize): |
| (Application._initialize.collect_attributes): |
| (Application._create_parser): |
| (_validate_args): |
| (_cmd_generate): |
| (_cmd_check): |
| (_cmd_subgenerate): |
| (_cmd_help): |
| (_do_generate): |
| (_do_merge): |
| (_report_results): |
| (_report_merge_results): |
| (_report_remediation_steps): |
| (_report_remediation_steps.add_to_message): |
| (_any_have_errors): |
| (_any_have_actions): |
| (_log_progress): |
| (_log_results): |
| (get_generate_xcfilelists_script_path): |
| (_get_root_dir): |
| (get_opensource_dir): |
| (get_build_scripts_dir): |
| (get_extract_dependencies_from_makefile_script): |
| (get_xcode_built_products_dir): |
| (_getenv): |
| * Scripts/webkitpy/generate_xcfilelists_lib/generators.py: Added. |
| (BaseGenerator): |
| (BaseGenerator.__init__): |
| (BaseGenerator.__str__): |
| (BaseGenerator.generate): |
| (BaseGenerator._sublaunch_under_xcode): |
| (BaseGenerator.subgenerate): |
| (BaseGenerator.merge): |
| (BaseGenerator.pickle_to_file): |
| (BaseGenerator.has_action): |
| (BaseGenerator.has_error): |
| (BaseGenerator.is_valid): |
| (BaseGenerator.report_error): |
| (BaseGenerator._generate_derived): |
| (BaseGenerator._merge_derived): |
| (BaseGenerator._generate_unified): |
| (BaseGenerator._merge_unified): |
| (BaseGenerator._replace): |
| (BaseGenerator._unexpand): |
| (BaseGenerator._find_added_lines): |
| (BaseGenerator._merge_added_lines): |
| (BaseGenerator._get_file_lines): |
| (BaseGenerator._getenv): |
| (BaseGenerator._get_project_file_path): |
| (BaseGenerator._get_project_dir): |
| (BaseGenerator._get_project_file_name): |
| (BaseGenerator._get_project_name): |
| (BaseGenerator._get_sym_root): |
| (BaseGenerator._get_obj_root): |
| (BaseGenerator._get_shared_precomps_dir): |
| (BaseGenerator._get_build_dirs): |
| (BaseGenerator._get_build_dirs.define_xcode_build_dirs): |
| (BaseGenerator._get_build_dirs.define_xcode_build_dirs.read_xcode_user_default): |
| (BaseGenerator._get_build_dirs.define_command_line_build_dirs): |
| (BaseGenerator._get_derived_sources_dir): |
| (BaseGenerator._get_xcfilelist_dir): |
| (BaseGenerator._get_input_derived_xcfilelist_project_path): |
| (BaseGenerator._get_output_derived_xcfilelist_project_path): |
| (BaseGenerator._get_input_unified_xcfilelist_project_path): |
| (BaseGenerator._get_output_unified_xcfilelist_project_path): |
| (BaseGenerator._get_generate_derived_sources_script): |
| (BaseGenerator._get_generate_unified_sources_script): |
| (JavaScriptCoreGenerator): |
| (JavaScriptCoreGenerator._get_project_file_path): |
| (JavaScriptCoreGenerator._get_generate_derived_sources_script): |
| (JavaScriptCoreGenerator._get_generate_unified_sources_script): |
| (WebCoreGenerator): |
| (WebCoreGenerator._get_project_file_path): |
| (WebCoreGenerator._get_generate_derived_sources_script): |
| (WebCoreGenerator._get_generate_unified_sources_script): |
| (WebKitGenerator): |
| (WebKitGenerator._get_project_file_path): |
| (WebKitGenerator._get_derived_sources_dir): |
| (WebKitGenerator._get_generate_derived_sources_script): |
| (WebKitGenerator._get_generate_unified_sources_script): |
| (DumpRenderTreeGenerator): |
| (DumpRenderTreeGenerator._get_project_file_path): |
| (DumpRenderTreeGenerator._get_generate_derived_sources_script): |
| (WebKitTestRunnerGenerator): |
| (WebKitTestRunnerGenerator._get_project_file_path): |
| (WebKitTestRunnerGenerator._get_generate_derived_sources_script): |
| * Scripts/webkitpy/generate_xcfilelists_lib/util.py: Added. |
| (debug_log): |
| (LogEntryHelper): |
| (LogEntryHelper.__init__): |
| (LogEntryHelper.log_entry): |
| (LogEntryHelper.log_result): |
| (LogEntryHelper.log_exception): |
| (LogEntryHelper._print): |
| (LogEntryExit): |
| (LogEntryExit._show_debug_logging): |
| (LogEntryExitClass): |
| (LogEntryExitClass._show_debug_logging): |
| (LogEntryExitGlobal): |
| (LogEntryExitGlobal._show_debug_logging): |
| (subprocess_run): |
| (is_running_under_xcode): |
| (CheckValidItemAction): |
| (CheckValidItemAction.__init__): |
| (CheckValidItemAction.__call__): |
| (CheckValidItemAction.validate_item): |
| (CheckCommandAction): |
| (CheckCommandAction.__call__): |
| (InvalidCommandError): |
| (InvalidArgumentError): |
| (InvalidConfigurationError): |
| (CalledProcessError): |
| (CalledProcessError.__str__): |
| * Scripts/webkitpy/xcode/__init__.py: |
| (xcode_hash_for_path): |
| (xcode_hash_for_path.convert_to_string): |
| * Scripts/webkitpy/xcode/sdk.py: Added. |
| (SDK): |
| (SDK.__init__): |
| (SDK.__repr__): |
| (SDK.as_xcode_specification): |
| (SDK.get_preferred_sdk_for_platform): |
| (SDK._parse_sdk): |
| * Scripts/webkitpy/xcode/sdk_unittest.py: Added. |
| (SDKTest): |
| |
| 2019-05-15 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Enabling uploading EWS archives to S3 |
| https://bugs.webkit.org/show_bug.cgi?id=197914 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/Shared: Added. |
| * BuildSlaveSupport/Shared/transfer-archive-to-s3: Moved from Tools/BuildSlaveSupport/build.webkit.org-config/transfer-archive-to-s3. |
| (archiveExists): Replace tab with space. |
| (main): Added main method. |
| * BuildSlaveSupport/build.webkit.org-config/steps.py: |
| (TransferToS3): Updated path to the script. |
| * BuildSlaveSupport/build.webkit.org-config/transfer-archive-to-s3: Moved to Shared folder. |
| |
| 2019-05-15 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| inputmode="numeric" should show a number pad with digits 0-9, instead of the numeric keyplane |
| https://bugs.webkit.org/show_bug.cgi?id=197916 |
| <rdar://problem/50815427> |
| |
| Reviewed by Timothy Hatcher. |
| |
| Re-enable this previously flaky test, and rebaseline the result to to expect UIKeyboardTypeNumberPad for |
| inputmode="numeric". |
| |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-15 Youenn Fablet <youenn@apple.com> |
| |
| Reuse existing WebPageProxy quota handler for NetworkProcessProxy quota requests |
| https://bugs.webkit.org/show_bug.cgi?id=197463 |
| <rdar://problem/47403621> |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/StorageQuota.mm: Added. |
| (-[QuotaDelegate init]): |
| (-[QuotaDelegate _webView:decideDatabaseQuotaForSecurityOrigin:currentQuota:currentOriginUsage:currentDatabaseUsage:expectedUsage:decisionHandler:]): |
| (-[QuotaDelegate quotaDelegateCalled]): |
| (-[QuotaDelegate grantQuota]): |
| (-[StorageSchemes webView:startURLSchemeTask:]): |
| (-[StorageSchemes webView:stopURLSchemeTask:]): |
| (-[QuotaMessageHandler userContentController:didReceiveScriptMessage:]): |
| (doTest): |
| |
| 2019-05-15 Youenn Fablet <youenn@apple.com> |
| |
| Constant crashes under WebPage::isThrottleable() after r245299 |
| https://bugs.webkit.org/show_bug.cgi?id=197902 |
| <rdar://problem/50793796> |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: |
| |
| 2019-05-15 Philippe Normand <pnormand@igalia.com> |
| |
| [GTK][jhbuild] misc cleanups and bumps |
| https://bugs.webkit.org/show_bug.cgi?id=197913 |
| |
| Reviewed by Xabier Rodriguez-Calvar. |
| |
| * gstreamer/jhbuild.modules: Bump to libva 2.4.1 and switch to Meson. |
| * gtk/jhbuild.modules: Bump to Brotli 1.0.5 and Wayland 1.16. |
| |
| 2019-05-15 Chris Dumez <cdumez@apple.com> |
| |
| Flaky API Test: TestWebKitAPI.ProcessSwap.NumberOfCachedProcesses |
| https://bugs.webkit.org/show_bug.cgi?id=195102 |
| <rdar://problem/48456786> |
| |
| Reviewed by Alex Christensen. |
| |
| Try to wait longer for the number of processes to reach the expected number |
| and before failing. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| |
| 2019-05-15 Alex Christensen <achristensen@webkit.org> |
| |
| Allow NSFileCoordinator to be called from WebContent process |
| https://bugs.webkit.org/show_bug.cgi?id=197895 |
| <rdar://problem/50107679> |
| |
| Reviewed by Brent Fulgham. |
| |
| Add a unit test that verifies calling the block succeeds. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLsPlugin.mm: |
| (-[AdditionalReadAccessAllowedURLsPlugIn webProcessPlugIn:didCreateBrowserContextController:]): |
| |
| 2019-05-14 Andy Estes <aestes@apple.com> |
| |
| [Apple Pay] Payment APIs should be completely disabled in web views into which clients have injected user scripts |
| https://bugs.webkit.org/show_bug.cgi?id=197751 |
| <rdar://problem/50631563> |
| |
| Reviewed by Alex Christensen. |
| |
| Added new API tests. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ApplePay.mm: |
| (-[TestApplePayScriptMessageHandler initWithAPIsAvailableExpectation:canMakePaymentsExpectation:]): |
| (-[TestApplePayScriptMessageHandler userContentController:didReceiveScriptMessage:]): |
| (TestWebKitAPI::TEST): |
| (-[TestApplePayScriptMessageHandler initWithExpectation:]): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/apple-pay-availability.html: |
| |
| 2019-05-14 Youenn Fablet <youenn@apple.com> |
| |
| A service worker process should app nap when all its clients app nap |
| https://bugs.webkit.org/show_bug.cgi?id=185626 |
| <rdar://problem/46785908> |
| |
| Reviewed by Alex Christensen. |
| |
| Allow to enable app nap through test header. |
| |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::resetPreferencesToConsistentValues): |
| (WTR::updateTestOptionsFromTestHeader): |
| * WebKitTestRunner/TestOptions.h: |
| (WTR::TestOptions::hasSameInitializationOptions const): |
| |
| 2019-05-14 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r245281. |
| https://bugs.webkit.org/show_bug.cgi?id=197887 |
| |
| Broke API Test TestWebKitAPI.Challenge.ClientCertificate |
| (Requested by aakashjain on #webkit). |
| |
| Reverted changeset: |
| |
| "Add a unit test for client certificate authentication" |
| https://bugs.webkit.org/show_bug.cgi?id=197800 |
| https://trac.webkit.org/changeset/245281 |
| |
| 2019-05-14 Youenn Fablet <youenn@apple.com> |
| |
| Add support for webkit-test-runner options to WPT importer |
| https://bugs.webkit.org/show_bug.cgi?id=197826 |
| |
| Reviewed by Alex Christensen. |
| |
| In case of overwriting an existing test, check if the existing test |
| contains a <!-- webkit-test-runner --> comment and insert it back if |
| needed in the new test. |
| |
| For exporter, forbid creating a WPT PR if there are changes containing |
| the webkit-test-runner string. |
| |
| * Scripts/webkitpy/w3c/test_converter.py: |
| (convert_for_webkit): |
| (_W3CTestConverter.__init__): |
| (_W3CTestConverter.add_webkit_test_runner_options_if_needed): |
| (_W3CTestConverter.handle_starttag): |
| (_W3CTestConverter.handle_comment): |
| (_W3CTestConverter.handle_decl): |
| (_W3CTestConverter.handle_pi): |
| * Scripts/webkitpy/w3c/test_exporter.py: |
| (WebPlatformTestExporter.write_git_patch_file): |
| (WebPlatformTestExporter.make_pull_request): |
| * Scripts/webkitpy/w3c/test_importer.py: |
| (TestImporter.webkit_test_runner_options): |
| (TestImporter): |
| (TestImporter.add_webkit_test_runner_options_to_content): |
| (TestImporter.copy_html_file): |
| (TestImporter.write_html_template): |
| (TestImporter.write_html_files_for_templated_js_tests): |
| (TestImporter.import_tests): |
| * Scripts/webkitpy/w3c/test_importer_unittest.py: |
| (test_manual_slow_test): |
| (test_webkit_test_runner_options): |
| |
| 2019-05-14 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-app] Status bubble should turn orange when any build step fails |
| https://bugs.webkit.org/show_bug.cgi?id=197812 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble._build_bubble): Turn status-bubble orange if there is any failed step in the on-going build. |
| (StatusBubble._does_build_contains_any_failed_step): Method to check if build contains any failed step. |
| |
| 2019-05-14 Alex Christensen <achristensen@webkit.org> |
| |
| Add a unit test for client certificate authentication |
| https://bugs.webkit.org/show_bug.cgi?id=197800 |
| |
| Reviewed by Youenn Fablet. |
| |
| Make better abstractions for reading and writing from/to TCPServer. |
| Add a unit test that causes a client certificate authentication challenge to happen. |
| |
| * TestWebKitAPI/TCPServer.cpp: |
| (TestWebKitAPI::TCPServer::TCPServer): |
| (TestWebKitAPI::TCPServer::read): |
| (TestWebKitAPI::TCPServer::write): |
| (TestWebKitAPI::TCPServer::respondWithChallengeThenOK): |
| (TestWebKitAPI::TCPServer::respondWithOK): |
| * TestWebKitAPI/TCPServer.h: |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (credentialWithIdentity): |
| (-[ChallengeDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| (TEST): |
| (-[ClientCertificateDelegate webView:didFinishNavigation:]): |
| (-[ClientCertificateDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| (-[ClientCertificateDelegate challengeCount]): |
| (TestWebKitAPI::TEST): |
| (respondWithChallengeThenOK): Deleted. |
| (credentialWithIdentityAndKeychainPath): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/PDFLinkReferrer.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm: |
| (TEST): |
| (readRequest): Deleted. |
| (writeResponse): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::respondWithChallengeThenOK): Deleted. |
| |
| 2019-05-14 Said Abou-Hallawa <sabouhallawa@apple.com> |
| |
| [CG] Adding support for HEIF-sequence ('public.heics') images |
| https://bugs.webkit.org/show_bug.cgi?id=197384 |
| |
| Reviewed by Simon Fraser. |
| |
| * DumpRenderTree/TestOptions.cpp: |
| (TestOptions::TestOptions): |
| * DumpRenderTree/TestOptions.h: |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (resetWebViewToConsistentStateBeforeTesting): |
| Parse the new webkit-test-runner paramter: additionalSupportedImageTypes. |
| Make DRT call setAdditionalSupportedImageTypesForTesting() before starting |
| the test. |
| |
| * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: |
| (WTR::InjectedBundle::stringForKey): |
| (WTR::InjectedBundle::beginTesting): |
| * WebKitTestRunner/InjectedBundle/InjectedBundle.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::resetStateToConsistentValues): |
| (WTR::updateTestOptionsFromTestHeader): |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::createTestSettingsDictionary): |
| * WebKitTestRunner/TestOptions.h: |
| (WTR::TestOptions::hasSameInitializationOptions const): |
| Parse the new webkit-test-runner paramter: additionalSupportedImageTypes. |
| Make WTR call setAdditionalSupportedImageTypesForTesting() before starting |
| the test. |
| |
| 2019-05-12 Yusuke Suzuki <ysuzuki@apple.com> |
| |
| [JSC] Compress Watchpoint size by using enum type and Packed<> data structure |
| https://bugs.webkit.org/show_bug.cgi?id=197730 |
| |
| Reviewed by Filip Pizlo. |
| |
| * TestWebKitAPI/CMakeLists.txt: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WTF/MathExtras.cpp: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WTF/Packed.cpp: Added. |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-10 Chris Dumez <cdumez@apple.com> |
| |
| Unreviewed, fix ProcessSwap.OpenerLinkAfterAPIControlledProcessSwappingOfOpener API test |
| |
| It became flaky after r245198. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| |
| 2019-05-10 Youenn Fablet <youenn@apple.com> |
| |
| A service worker instance should be terminated when its SWServer is destroyed |
| https://bugs.webkit.org/show_bug.cgi?id=197801 |
| <rdar://problem/50587270> |
| |
| Reviewed by Chris Dumez. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: |
| |
| 2019-05-10 Chris Dumez <cdumez@apple.com> |
| |
| Do not wait until requestPermission() is called to fire deviceorientation events if permission was already granted |
| https://bugs.webkit.org/show_bug.cgi?id=197750 |
| |
| Reviewed by Geoffrey Garen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm: |
| (TEST): |
| |
| 2019-05-10 Keith Miller <keith_miller@apple.com> |
| |
| Remove legacy test262 import script |
| https://bugs.webkit.org/show_bug.cgi?id=197788 |
| |
| Reviewed by Yusuke Suzuki. |
| |
| import-test262-tests doesn't work anymore. We should be using test262-import instead. |
| |
| * Scripts/import-test262-tests: Removed. |
| |
| 2019-05-10 Charlie Turner <cturner@igalia.com> |
| |
| [WPE] Forward libepoxy cflags |
| https://bugs.webkit.org/show_bug.cgi?id=197784 |
| |
| Reviewed by Žan Doberšek. |
| |
| Patch by Zan Dobersek. |
| |
| * wpe/backends/CMakeLists.txt: This is required to keep |
| -DMESA_EGL_NO_X11_HEADERS in the build, if we don't do this, EGL ends |
| up trying to include X11 headers even when they're not present in the |
| environment. |
| |
| 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> |
| |
| Fix a bunch of compiler warnings |
| https://bugs.webkit.org/show_bug.cgi?id=197785 |
| |
| Reviewed by Don Olmstead. |
| |
| Add preprocessor guards to avoid -Wunused-function warnings. |
| |
| * TestWebKitAPI/Tests/WebCore/FloatRect.cpp: |
| * TestWebKitAPI/Tests/WebCore/IntRect.cpp: |
| * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: |
| |
| 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> |
| |
| [WPE][GTK] Add webkit_frame_get_id() API |
| https://bugs.webkit.org/show_bug.cgi?id=197270 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| This was hard, but I added a test to verify that two different WebKitFrames of the same |
| WebKitWebPage return two different frame IDs. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/FrameTest.cpp: |
| (WebKitFrameTest::willSubmitFormCallback): |
| (WebKitFrameTest::testSubframe): |
| (registerTests): |
| * TestWebKitAPI/Tests/WebKitGLib/TestFrame.cpp: |
| (testWebKitFrameSubframe): |
| (beforeAll): |
| * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp: |
| (willSubmitFormCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/resources/form-in-frame.html: Added. |
| * TestWebKitAPI/Tests/WebKitGLib/resources/webkitglib-tests.gresource.xml: |
| |
| 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> |
| |
| [WPE][GTK] Add WebKitWebPage::did-associate-form-controls-for-frame and deprecate original did-associate-form-controls |
| https://bugs.webkit.org/show_bug.cgi?id=197271 |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp: |
| (formControlsAssociatedForFrameCallback): |
| (pageCreatedCallback): |
| (formControlsAssociatedCallback): Deleted. |
| |
| 2019-05-10 Adrian Perez de Castro <aperez@igalia.com> |
| |
| [Flatpak] Use the safe PyYAML loader if available |
| https://bugs.webkit.org/show_bug.cgi?id=197771 |
| |
| Reviewed by Philippe Normand. |
| |
| * flatpak/flatpakutils.py: |
| (load_manifest): Use yaml.safe_load() if available, with yaml.load() |
| still used as fallback when the former is not provided by the module. |
| |
| 2019-05-09 Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| WinCairo WebKitTestRunner should take platform/wk2/TestExpectations into account |
| https://bugs.webkit.org/show_bug.cgi?id=197734 |
| |
| Reviewed by Don Olmstead. |
| |
| * Scripts/webkitpy/port/win.py: |
| (WinCairoPort._search_paths): Add 'wk2' and |
| additional_platform_directory to paths as well as other ports do. |
| |
| 2019-05-09 Daniel Bates <dabates@apple.com> |
| |
| [iOS] Numpad comma key has incorrect keyIdentifier property |
| https://bugs.webkit.org/show_bug.cgi?id=197753 |
| <rdar://problem/50636274> |
| |
| Reviewed by Brent Fulgham. |
| |
| Recognize "numpadComma" and return the appropriate HID usage code. |
| |
| * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| (hidUsageCodeForCharacter): |
| |
| 2019-05-09 Eric Carlson <eric.carlson@apple.com> |
| |
| Refine AudioSession route sharing policy |
| https://bugs.webkit.org/show_bug.cgi?id=197742 |
| <rdar://problem/50590818> |
| |
| Reviewed by Darin Adler. |
| |
| * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-09 Alex Christensen <achristensen@webkit.org> |
| |
| Remove unnecessary test SPI after r244883 |
| https://bugs.webkit.org/show_bug.cgi?id=197575 |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-09 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-app] Add migrations file to repository |
| https://bugs.webkit.org/show_bug.cgi?id=197729 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-app/ews/migrations/0001_initial.py: Added. Auto-generated by Django based on models' information. |
| |
| 2019-05-09 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Fix formatting issues and typos |
| https://bugs.webkit.org/show_bug.cgi?id=197737 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| (CompileWebKit.evaluateCommand): Removed extra empty line. |
| * BuildSlaveSupport/ews-build/steps_unittest.py: |
| (TestRunWebKitPerlTests): Fixed typo. |
| * BuildSlaveSupport/ews-app/ews/models/step.py: |
| (Step.save_step): Changed log level to info so that it is logged in production. |
| |
| 2019-05-09 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-app] Production and Development env should configure DEBUG appropriately |
| https://bugs.webkit.org/show_bug.cgi?id=197700 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * BuildSlaveSupport/ews-app/ews-app/settings.py: |
| |
| 2019-05-09 Xan López <xan@igalia.com> |
| |
| [CMake] Detect SSE2 at compile time |
| https://bugs.webkit.org/show_bug.cgi?id=196488 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| * Scripts/webkitdirs.pm: |
| (generateBuildSystemFromCMakeProject): Do not add SSE2 flags here |
| for x86 builds. This is now handled in WebKitCompilerFlags.cmake. |
| |
| 2019-05-08 Adrian Perez de Castro <aperez@igalia.com> |
| |
| [WPE] Update dependencies to use libwpe + WPEBackend-fdo 1.3.0 |
| https://bugs.webkit.org/show_bug.cgi?id=197697 |
| |
| Reviewed by Žan Doberšek. |
| |
| * flatpak/org.webkit.WPEModules.yaml: Bump version and update checksums. |
| * wpe/jhbuild.modules: Ditto. |
| |
| 2019-05-08 Don Olmstead <don.olmstead@sony.com> |
| |
| Update ANGLE |
| https://bugs.webkit.org/show_bug.cgi?id=197676 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/PlatformWin.cmake: |
| Remove unnecessary library linkage. |
| |
| 2019-05-08 Stephan Szabo <stephan.szabo@sony.com> and Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| [Win] build-webkit should be ready for Visual Studio 2019 |
| https://bugs.webkit.org/show_bug.cgi?id=196622 |
| |
| Reviewed by Ross Kirsling. |
| |
| 1. Accommodated to the new msbuild.exe location of VS 2019. |
| 2. Removed the hard coded "Visual Studio 15" generator. |
| |
| build-webkit is going to choose a Visual Studio generator version |
| matching with the latest installed VS. If you invoke vcvars.bat |
| before build-webkit, it chooses the corresponding Visual Studio |
| generator version by cheking 'VisualStudioVersion' env var which |
| is set by vcvars.bat. |
| |
| * Scripts/webkitdirs.pm: Renamed $vcBuildPath to $msBuildPath. Removed $msBuildInstallDir. |
| (msBuildPath): When looking for MSBuild, look in |
| "MSBuild\Current\bin" (the new expected location) and fallback |
| to "MSBuild\15.0\bin" if we can't find an MSBuild.exe in the |
| first location. |
| (msBuildInstallDir): Renamed to msBuildPath. |
| (generateBuildSystemFromCMakeProject): Use -A switch to specify x64. |
| Add -G "Visual Studio " switch if a env var 'VisualStudioVersion' |
| |
| 2019-05-08 Don Olmstead <don.olmstead@sony.com> |
| |
| [PlayStation] Update port options |
| https://bugs.webkit.org/show_bug.cgi?id=197723 |
| |
| Reviewed by Ross Kirsling. |
| |
| ICU headers were missing from TestWTF. |
| |
| * TestWebKitAPI/PlatformPlayStation.cmake: |
| |
| 2019-05-08 Alex Christensen <achristensen@webkit.org> |
| |
| Don't crash when DOMNode.addEventListener:listener:useCapture: is called with a nil listener |
| https://bugs.webkit.org/show_bug.cgi?id=197712 |
| <rdar://problem/50429770> |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WebKitLegacy/mac/DeallocWebViewInEventListener.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-08 Jonathan Bedard <jbedard@apple.com> |
| |
| Change my status to be a WebKit reviewer. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2019-05-08 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Unreviewed, rolling out r244952. |
| |
| Caused inspector to appear blank. |
| |
| Reverted changeset: |
| |
| "Web Inspector: Provide UIString descriptions to improve |
| localizations" |
| https://bugs.webkit.org/show_bug.cgi?id=195132 |
| https://trac.webkit.org/changeset/244952 |
| |
| 2019-05-08 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| TestRunnerWKWebView's menu callbacks should be cleared upon UI script completion |
| https://bugs.webkit.org/show_bug.cgi?id=197685 |
| |
| Reviewed by Alex Christensen. |
| |
| Fixes a bug in the test runner wherein didShowMenuCallback and didHideMenuCallback are not reset upon UI script |
| completion. See LayoutTests/ChangeLog for more details. |
| |
| * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| (WTR::UIScriptController::platformClearAllCallbacks): |
| |
| 2019-05-07 Oriol Brufau <obrufau@igalia.com> |
| |
| Unreviewed. Add myself as a committer. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2019-05-07 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Unreviewed, rolling out r245038. |
| |
| Breaks internal builds. |
| |
| Reverted changeset: |
| |
| "Add SPI to set a list of hosts to which to send custom header |
| fields cross-origin" |
| https://bugs.webkit.org/show_bug.cgi?id=197397 |
| https://trac.webkit.org/changeset/245038 |
| |
| 2019-05-07 Joonghun Park <pjh0718@gmail.com> |
| |
| Unreviewed. Add myself as a committer. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2019-05-07 Eric Carlson <eric.carlson@apple.com> |
| |
| Define media buffering policy |
| https://bugs.webkit.org/show_bug.cgi?id=196979 |
| <rdar://problem/28383861> |
| |
| Reviewed by Jer Noble. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/MediaBufferingPolicy.mm: Added. |
| (waitUntilBufferingPolicyIsEqualTo): |
| (TEST): |
| |
| 2019-05-07 Alex Christensen <achristensen@webkit.org> |
| |
| Add SPI to set a list of hosts to which to send custom header fields cross-origin |
| https://bugs.webkit.org/show_bug.cgi?id=197397 |
| |
| Reviewed by Geoff Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: |
| (TEST): |
| (expectLegacyHeaders): |
| (expectHeaders): |
| (-[CustomHeaderFieldsDelegate webView:decidePolicyForNavigationAction:preferences:decisionHandler:]): |
| (-[CustomHeaderFieldsDelegate webView:startURLSchemeTask:]): |
| (-[CustomHeaderFieldsDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]): Deleted. |
| |
| 2019-05-07 Keith Rollin <krollin@apple.com> |
| |
| Add option to build-webkit to control whether or not XCBuild is used |
| https://bugs.webkit.org/show_bug.cgi?id=197668 |
| <rdar://problem/50549728> |
| |
| Reviewed by Tim Horton. |
| |
| Add --[no-]xcbuild to build-webkit to force the use of XCBuild or not. |
| Also update build-webkit and the makefiles with the foundation for |
| automatically using XCBuild when the conditions allow it. This latter |
| facility is currently turned off until Xcode fully supports building |
| WebKit with XCBuild. |
| |
| * Scripts/build-webkit: |
| * Scripts/webkitdirs.pm: |
| (XcodeOptions): |
| (canUseXCBuild): |
| |
| 2019-05-07 Andy Estes <aestes@apple.com> |
| |
| run-bindings-tests should test global scope constructor generation |
| https://bugs.webkit.org/show_bug.cgi?id=197669 |
| |
| Reviewed by Alex Christensen. |
| |
| * Scripts/webkitpy/bindings/main.py: |
| Updated to specify --testGlobalContextName and --testGlobalScopeConstructorsFile when |
| invoking preprocess-idls.pl. |
| |
| 2019-05-07 Youenn Fablet <youenn@apple.com> |
| |
| Flaky API Test: TestWebKitAPI.ServiceWorkers.ServiceWorkerAndCacheStorageDefaultDirectories |
| https://bugs.webkit.org/show_bug.cgi?id=195997 |
| <rdar://problem/50509884> |
| |
| Reviewed by Chris Dumez. |
| |
| Spin test until successful. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: |
| |
| 2019-05-07 Adrian Perez de Castro <aperez@igalia.com> |
| |
| [Flatpak] webkit-build fails due to missing GTK2 in build environment |
| https://bugs.webkit.org/show_bug.cgi?id=197352 |
| |
| Reviewed by Philippe Normand. |
| |
| The Flatpak runtimes do not include GTK 2.x anymore, which means that we need |
| to build it ourselves on top in order to be able to build the GTK 2.x plugin |
| process. |
| |
| * flatpak/org.webkit.GTK.yaml: Add gtk2 package. |
| |
| 2019-05-07 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [macOS] Avoid crashing the UI process when writing empty data to the pasteboard |
| https://bugs.webkit.org/show_bug.cgi?id=197644 |
| <rdar://problem/50526364> |
| |
| Reviewed by Tim Horton. |
| |
| Add a new API test to exercise a possible scenario where we may crash while writing data to the pasteboard. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegatePlugIn.mm: |
| (-[BundleEditingDelegatePlugIn webProcessPlugIn:didCreateBrowserContextController:]): |
| (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:pasteboardDataForRange:]): |
| |
| 2019-05-07 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK][WPE] MiniBrowser: load about:blank for new web views in automation mode |
| https://bugs.webkit.org/show_bug.cgi?id=197651 |
| |
| Reviewed by Žan Doberšek. |
| |
| This is required since the process creation was delayed until something is loaded in the view. |
| |
| * MiniBrowser/gtk/BrowserWindow.c: |
| (browser_window_get_or_create_web_view_for_automation): |
| * MiniBrowser/wpe/main.cpp: |
| (main): |
| |
| 2019-05-06 Tim Horton <timothy_horton@apple.com> |
| |
| _overrideViewportWithArguments does not work when called before loading |
| https://bugs.webkit.org/show_bug.cgi?id=197638 |
| <rdar://problem/50505111> |
| |
| Reviewed by Wenson Hsieh. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/OverrideViewportArguments.mm: |
| (TEST): |
| |
| 2019-05-04 Per Arne Vollan <pvollan@apple.com> |
| |
| -[WKWebsiteDataStore removeDataOfTypes:forDataRecords:completionHandler:] doesn't delete _WKWebsiteDataTypeCredentials |
| https://bugs.webkit.org/show_bug.cgi?id=197510 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-06 Keith Rollin <krollin@apple.com> |
| |
| Temporarily disable generate-xcfilelists |
| https://bugs.webkit.org/show_bug.cgi?id=197619 |
| <rdar://problem/50507392> |
| |
| Reviewed by Alex Christensen. |
| |
| We need to perform a significant update to the generate-xcfilelist |
| scripts. This work involves coordinated work with another facility. If |
| the work does not occur in tandem, the build will be broken. To avoid |
| this, disable the invoking of the scripts during the transition. The |
| checking will be restored once the new scripts are in place. |
| |
| * DumpRenderTree/Scripts/check-xcfilelists.sh: |
| * WebKitTestRunner/Scripts/check-xcfilelists.sh: |
| |
| 2019-05-04 Alex Christensen <achristensen@webkit.org> |
| |
| Revert r244953 and r244954 because they broke internal builds. |
| https://bugs.webkit.org/show_bug.cgi?id=197534 |
| |
| * DumpRenderTree/ios/DumpRenderTreeBrowserView.h: |
| * DumpRenderTree/ios/PixelDumpSupportIOS.mm: |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| * DumpRenderTree/mac/DumpRenderTreeWindow.h: |
| * DumpRenderTree/mac/TestRunnerMac.mm: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEditActions.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm: |
| * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm: |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm: |
| * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: |
| * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: |
| * TestWebKitAPI/cocoa/DragAndDropSimulator.h: |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: |
| * TestWebKitAPI/ios/UIKitSPI.h: Added. |
| * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: |
| * WebKitTestRunner/ios/GeneratedTouchesDebugWindow.mm: |
| * WebKitTestRunner/ios/HIDEventGenerator.h: |
| * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| * WebKitTestRunner/ios/PlatformWebViewIOS.mm: |
| * WebKitTestRunner/ios/TestControllerIOS.mm: |
| * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| * WebKitTestRunner/ios/mainIOS.mm: |
| |
| 2019-05-04 Alex Christensen <achristensen@webkit.org> |
| |
| Merge the three UIKitSPI.h files into a single one in PAL |
| https://bugs.webkit.org/show_bug.cgi?id=197534 |
| |
| Reviewed by Darin Adler. |
| |
| * DumpRenderTree/ios/DumpRenderTreeBrowserView.h: |
| * DumpRenderTree/ios/PixelDumpSupportIOS.mm: |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| * DumpRenderTree/mac/DumpRenderTreeWindow.h: |
| * DumpRenderTree/mac/TestRunnerMac.mm: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEditActions.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm: |
| * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm: |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm: |
| * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: |
| * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: |
| * TestWebKitAPI/cocoa/DragAndDropSimulator.h: |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: |
| * TestWebKitAPI/ios/UIKitSPI.h: Removed. |
| * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: |
| * WebKitTestRunner/ios/GeneratedTouchesDebugWindow.mm: |
| * WebKitTestRunner/ios/HIDEventGenerator.h: |
| * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| * WebKitTestRunner/ios/PlatformWebViewIOS.mm: |
| * WebKitTestRunner/ios/TestControllerIOS.mm: |
| * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| * WebKitTestRunner/ios/mainIOS.mm: |
| |
| 2019-05-04 Nikita Vasilyev <nvasilyev@apple.com> |
| |
| Web Inspector: Provide UIString descriptions to improve localizations |
| https://bugs.webkit.org/show_bug.cgi?id=195132 |
| <rdar://problem/48457817> |
| |
| Reviewed by Devin Rousso. |
| |
| Allow WI.UIString to take: |
| - WI.UIString(string, key, comment) |
| - WI.UIString(string, comment) |
| - WI.UIString(string) |
| |
| * Scripts/extract-localizable-js-strings: |
| |
| 2019-05-03 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| REGRESSION (r244897): Caret may appear wider than normal after zooming to focus an editable element |
| https://bugs.webkit.org/show_bug.cgi?id=197579 |
| |
| Reviewed by Tim Horton. |
| |
| Fixes a couple of flaky layout tests (ModifyInputAssistantItemBarButtonGroups and |
| OverrideInputAssistantItemBarButtonGroups) by programmatically blurring focused elements and waiting for the |
| input session to change, rather than relying on -resignFirstResponder and -waitForNextPresentationUpdate to |
| ensure that the the focused element has been blurred. |
| |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| |
| 2019-05-02 Alexey Proskuryakov <ap@apple.com> |
| |
| Add a tool to block spammer accounts |
| https://bugs.webkit.org/show_bug.cgi?id=197537 |
| |
| Reviewed by Darin Adler. |
| |
| Usage: block-spammers email1 email2 ... |
| |
| The tool finds and hides all bugs and comments from this account. Before any work |
| is done, these bugs and comments are displayed for confirmation. |
| |
| * Scripts/block-spammers: Added. |
| (get_bugzilla_token): |
| (invalidate_bugzilla_token): |
| (get_user_info): |
| (get_user_info_self): |
| (can_use_this_tool): |
| (disable_user): |
| (get_bugs_created_by_user): |
| (get_bugs_commented_on_by_user): |
| (get_comments): |
| (hide_bug): |
| (hide_comments): |
| (ask_yes_no): |
| (sanitized_string): |
| (main): |
| |
| 2019-05-03 Jonathan Bedard <jbedard@apple.com> |
| |
| run-apit-tests: Add --iterations and --repeat-each |
| https://bugs.webkit.org/show_bug.cgi?id=197563 |
| |
| Reviewed by Aakash Jain. |
| |
| * Scripts/webkitpy/api_tests/manager.py: |
| (Manager.run): Add --iterations and --repeat-each/ |
| * Scripts/webkitpy/api_tests/run_api_tests.py: |
| (parse_args): Duplicate the test list based on --iterations and --repeat-each. |
| |
| 2019-05-03 Aakash Jain <aakash_jain@apple.com> |
| |
| New EWS: Clicking on white bubble navigates to page with only bubbles |
| https://bugs.webkit.org/show_bug.cgi?id=197520 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-app/ews/templates/statusbubble.html: Disable clicking if bubble doesn't have any url. |
| |
| 2019-05-03 Daniel Bates <dabates@apple.com> |
| |
| [lldb-webkit] Support adding pretty-printing for qualified types |
| https://bugs.webkit.org/show_bug.cgi?id=197518 |
| |
| Reviewed by Darin Adler. |
| |
| Remove all "::"s from the name of the specified type when computing the name for the Python classes |
| that will provide summary and synthetic details as LLDB is not happy about registering such classes |
| when they contain :: in their name. |
| |
| * lldb/lldb_webkit.py: |
| (addSummaryAndSyntheticFormattersForRawBitmaskType): |
| |
| 2019-05-03 Aakash Jain <aakash_jain@apple.com> |
| |
| New EWS: patches on recently added queues listed as #1 for older bugs |
| https://bugs.webkit.org/show_bug.cgi?id=197496 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble._build_bubble): |
| (StatusBubble._queue_position): |
| |
| 2019-05-03 Aakash Jain <aakash_jain@apple.com> |
| |
| webkit-patch --no-review upload does not submit patch to New EWS |
| https://bugs.webkit.org/show_bug.cgi?id=197519 |
| <rdar://problem/50424887> |
| |
| Reviewed by Lucas Forschler. |
| |
| * Scripts/webkitpy/tool/steps/submittoews.py: |
| (SubmitToEWS.run): Submit to both old and new EWS. |
| * Scripts/webkitpy/common/config/urls.py: Added url for new EWS server. |
| * Scripts/webkitpy/common/net/ewsserver.py: Added. |
| (EWSServer._server_url): Method to return server url. |
| (EWSServer._post_patch_to_ews): Method to post patch to ews. |
| (EWSServer.submit_to_ews): Method to submit the patch to ews using NetworkTransaction. |
| * Scripts/webkitpy/common/net/ewsserver_mock.py: Added Mock EWS Server. |
| * Scripts/webkitpy/common/net/ewsserver_unittest.py: Added unit-test for EWS Server. |
| * Scripts/webkitpy/common/net/statusserver_mock.py: |
| (MockStatusServer.submit_to_ews): Updated the log text. |
| * Scripts/webkitpy/tool/commands/queues_unittest.py: Updated unit-tests. |
| * Scripts/webkitpy/tool/commands/upload_unittest.py: Ditto. |
| * Scripts/webkitpy/tool/main.py: |
| (WebKitPatch.__init__): Initialize ews_server. |
| * Scripts/webkitpy/tool/mocktool.py: |
| (MockTool.__init__): Ditto. |
| |
| 2019-05-03 Chris Dumez <cdumez@apple.com> |
| |
| ASSERTION FAILED: [weakThis->m_view window] == weakThis->m_targetWindowForMovePreparation |
| https://bugs.webkit.org/show_bug.cgi?id=197574 |
| <rdar://problem/50453181> |
| |
| Reviewed by Tim Horton. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/PrepareForMoveToWindow.mm: |
| (TEST): |
| |
| 2019-05-03 Yusuke Suzuki <ysuzuki@apple.com> |
| |
| [JSC] Generator CodeBlock generation should be idempotent |
| https://bugs.webkit.org/show_bug.cgi?id=197552 |
| |
| Reviewed by Keith Miller. |
| |
| * Scripts/run-javascriptcore-tests: |
| (runJSCStressTests): |
| * Scripts/run-jsc-stress-tests: |
| |
| 2019-05-03 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r244881. |
| https://bugs.webkit.org/show_bug.cgi?id=197559 |
| |
| Breaks compilation of jsconly on linux, breaking compilation |
| for jsc-i386-ews, jsc-mips-ews and jsc-armv7-ews (Requested by |
| guijemont on #webkit). |
| |
| Reverted changeset: |
| |
| "[CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into |
| WEBKIT_COPY_FILES" |
| https://bugs.webkit.org/show_bug.cgi?id=197174 |
| https://trac.webkit.org/changeset/244881 |
| |
| 2019-05-03 Zan Dobersek <zdobersek@igalia.com> |
| |
| Unreviewed WPE build fix after r244898. |
| |
| * WebKitTestRunner/wpe/TestControllerWPE.cpp: |
| (WTR::TestController::abortModal): Add the missing (no-op) definition. |
| |
| 2019-05-02 Alex Christensen <achristensen@webkit.org> |
| |
| Mark U+01C0 as a homograph of U+006C |
| https://bugs.webkit.org/show_bug.cgi?id=197526 |
| <rdar://problem/50301904> |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WTF/cocoa/URLExtras.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-02 Chris Dumez <cdumez@apple.com> |
| |
| Add test coverage for <rdar://problem/49731231> |
| https://bugs.webkit.org/show_bug.cgi?id=196730 |
| <rdar://problem/49731231> |
| |
| Reviewed by Ryosuke Niwa. |
| |
| Add support for testRunner.abortModal() in macOS's WebKitTestRunner in order |
| to match DumpRenderTree. |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::abortModal): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::runModal): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| * WebKitTestRunner/gtk/TestControllerGtk.cpp: |
| (WTR::TestController::abortModal): |
| * WebKitTestRunner/ios/TestControllerIOS.mm: |
| (WTR::TestController::abortModal): |
| * WebKitTestRunner/mac/TestControllerMac.mm: |
| (WTR::TestController::abortModal): |
| * WebKitTestRunner/win/TestControllerWin.cpp: |
| (WTR::TestController::abortModal): |
| |
| 2019-05-02 Christopher Reid <chris.reid@sony.com> |
| |
| [CMake] Add support for LTO builds |
| https://bugs.webkit.org/show_bug.cgi?id=188986 |
| |
| Reviewed by Don Olmstead. |
| |
| Add support to configure --lto-mode with cmake builds. |
| |
| * Scripts/build-webkit: |
| * Scripts/webkitdirs.pm: |
| (generateBuildSystemFromCMakeProject): |
| |
| 2019-05-02 John Wilander <wilander@apple.com> |
| |
| Make both filterForRegistrableDomains() in WebKit::NetworkProcess use WebCore::RegistrableDomain::uncheckedCreateFromHost() |
| https://bugs.webkit.org/show_bug.cgi?id=197521 |
| <rdar://problem/49651503> |
| |
| Reviewed by Brent Fulgham. |
| |
| * TestWebKitAPI/Tests/WebCore/RegistrableDomain.cpp: |
| (TestWebKitAPI::TEST): |
| Added a test for host strings with leading dots since they are |
| often used for the domain attribute in cookies. |
| |
| 2019-05-02 Per Arne Vollan <pvollan@apple.com> |
| |
| -[WKWebsiteDataStore removeDataOfTypes:forDataRecords:completionHandler:] doesn't delete _WKWebsiteDataTypeCredentials |
| https://bugs.webkit.org/show_bug.cgi?id=197510 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-05-02 Don Olmstead <don.olmstead@sony.com> |
| |
| [CMake] Refactor WEBKIT_MAKE_FORWARDING_HEADERS into WEBKIT_COPY_FILES |
| https://bugs.webkit.org/show_bug.cgi?id=197174 |
| |
| Reviewed by Alex Christensen. |
| |
| Make TestJSC dependent on JavaScriptCorePrivateFrameworkHeaders. |
| |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/PlatformWPE.cmake: |
| |
| 2019-05-02 Alex Christensen <achristensen@webkit.org> |
| |
| Build fix for internal branch. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| RetainPtr.h was not explicitly included. |
| |
| 2019-05-02 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpy: Ignore errors when shutting down an already shutdown simulator |
| <https://bugs.webkit.org/show_bug.cgi?id=197514> |
| <rdar://problem/50390247> |
| |
| Reviewed by Lucas Forschler. |
| |
| * Scripts/webkitpy/xcode/simulated_device.py: |
| (SimulatedDevice._shut_down): |
| |
| 2019-05-02 Frederic Wang <fwang@igalia.com> |
| |
| [GTK][WPE] Disable "thin", "thick", "medium" values of mfrac@linethickness at runtime |
| https://bugs.webkit.org/show_bug.cgi?id=196142 |
| |
| This patch introduces some experimental runtime flag to let users |
| disable MathML features that are removed from MathML Core [1]. For now, |
| these features are only disabled on GTK and WPE ports. |
| |
| [1] https://mathml-refresh.github.io/mathml-core/ |
| |
| Reviewed by Rob Buis. |
| |
| * DumpRenderTree/TestOptions.cpp: |
| (TestOptions::TestOptions): |
| * DumpRenderTree/TestOptions.h: |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (setWebPreferencesForTestOptions): |
| |
| 2019-05-01 Don Olmstead <don.olmstead@sony.com> |
| |
| TestWebKitAPI config.h should be aware of what suite is being built |
| https://bugs.webkit.org/show_bug.cgi?id=196583 |
| |
| Reviewed by Konstantin Tokarev. |
| |
| Migrate to WEBKIT_EXECUTABLE to define the Test* executables. As an added |
| benefit the macro defines BUILDING_* for the executable which allows the includes |
| of the config.h to be tailored to the test suite being built. Because of that the |
| dependencies of the Test* executable are specific to the test suite which may |
| speed up the build. |
| |
| Some source files were including "PlatformUtilities.h" which includes WebKit headers |
| when "Utilities.h" is what was needed. |
| |
| * TestWebKitAPI/CMakeLists.txt: |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/PlatformJSCOnly.cmake: |
| * TestWebKitAPI/PlatformMac.cmake: |
| * TestWebKitAPI/PlatformPlayStation.cmake: |
| * TestWebKitAPI/PlatformUtilities.h: |
| * TestWebKitAPI/PlatformWPE.cmake: |
| * TestWebKitAPI/PlatformWin.cmake: |
| * TestWebKitAPI/Tests/WTF/RefPtr.cpp: |
| * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: |
| * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: |
| * TestWebKitAPI/Tests/WebCore/LineBreaking.mm: |
| * TestWebKitAPI/Tests/WebCore/cocoa/SharedBuffer.mm: |
| * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: |
| * TestWebKitAPI/config.h: |
| |
| 2019-05-01 Jiewen Tan <jiewen_tan@apple.com> |
| |
| Move Document::domainIsRegisterable to SecurityOrigin::isMatchingRegistrableDomainSuffix |
| https://bugs.webkit.org/show_bug.cgi?id=181950 |
| <rdar://problem/43357371> |
| |
| Reviewed by Brent Fulgham. |
| |
| * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp: |
| (TestWebKitAPI::TEST_F): |
| |
| 2019-05-01 Aakash Jain <aakash_jain@apple.com> |
| |
| Remove webkitpy and bindings EWS queues from dashboard |
| https://bugs.webkit.org/show_bug.cgi?id=197475 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js: |
| |
| 2019-05-01 Aakash Jain <aakash_jain@apple.com> |
| |
| Remove webkitpy and bindings test queues from old EWS |
| https://bugs.webkit.org/show_bug.cgi?id=197468 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * QueueStatusServer/config/queues.py: |
| |
| 2019-04-30 Tim Horton <timothy_horton@apple.com> |
| |
| Fix the WebKitTestRunner build |
| https://bugs.webkit.org/show_bug.cgi?id=197449 |
| <rdar://problem/50334169> |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * WebKitTestRunner/mac/EventSenderProxy.mm: |
| (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]): |
| (WTR::EventSenderProxy::mouseForceChanged): |
| Use some SPI instead of IPI. |
| |
| 2019-04-30 Chris Dumez <cdumez@apple.com> |
| |
| Regression(PSON) URL scheme handlers can no longer respond asynchronously |
| https://bugs.webkit.org/show_bug.cgi?id=197426 |
| <rdar://problem/50256169> |
| |
| Reviewed by Brady Eidson. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| (-[PSONScheme setShouldRespondAsynchronously:]): |
| (-[PSONScheme webView:startURLSchemeTask:]): |
| (-[PSONScheme webView:stopURLSchemeTask:]): |
| |
| 2019-04-30 Chris Dumez <cdumez@apple.com> |
| |
| Unreviewed, rolling out r244802. |
| |
| Caused an API test failure |
| |
| Reverted changeset: |
| |
| "Regression(PSON) URL scheme handlers can no longer respond |
| asynchronously" |
| https://bugs.webkit.org/show_bug.cgi?id=197426 |
| https://trac.webkit.org/changeset/244802 |
| |
| 2019-04-30 Chris Dumez <cdumez@apple.com> |
| |
| Regression(PSON) URL scheme handlers can no longer respond asynchronously |
| https://bugs.webkit.org/show_bug.cgi?id=197426 |
| <rdar://problem/50256169> |
| |
| Reviewed by Brady Eidson. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| (-[PSONScheme setShouldRespondAsynchronously:]): |
| (-[PSONScheme webView:startURLSchemeTask:]): |
| (-[PSONScheme webView:stopURLSchemeTask:]): |
| |
| 2019-04-30 Chris Dumez <cdumez@apple.com> |
| |
| Only use a related page's process if that page has not been closed yet |
| https://bugs.webkit.org/show_bug.cgi?id=197393 |
| <rdar://problem/50302423> |
| |
| Reviewed by Tim Horton. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| |
| 2019-04-30 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Enable Bindings tests queue on new EWS |
| https://bugs.webkit.org/show_bug.cgi?id=197424 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble): |
| * BuildSlaveSupport/ews-build/config.json: |
| |
| 2019-04-30 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Configure ews151 for running various tests |
| https://bugs.webkit.org/show_bug.cgi?id=197419 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/config.json: |
| |
| 2019-04-30 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Parse and display bindings test failures |
| https://bugs.webkit.org/show_bug.cgi?id=197423 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| (RunBindingsTests.__init__): Set timeout of 5 minutes. |
| (RunBindingsTests.start): Initialize log_observer for json output. |
| (RunBindingsTests.getResultSummary): Update step and build summary based on bindings test results. |
| (RunBindingsTests._addToLog): Method to add message to log. |
| * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-test accordingly. |
| |
| 2019-04-30 Pablo Saavedra <psaavedra@igalia.com> |
| |
| Unreviewed. Add myself as a committer. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2019-04-30 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Enable webkitpy queue on new EWS |
| https://bugs.webkit.org/show_bug.cgi?id=197396 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble): |
| * BuildSlaveSupport/ews-build/config.json: |
| |
| 2019-04-30 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Parse and display webkitpy failures |
| https://bugs.webkit.org/show_bug.cgi?id=197395 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/steps.py: |
| (RunWebKitPyTests.start): Initialize log_observer for json output. |
| (RunWebKitPyTests.getResultSummary): Update step and build summary based on webkitpy results. |
| (RunWebKitPyTests._addToLog): Method to add message to log. |
| * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-test accordingly. |
| |
| 2019-04-29 Alex Christensen <achristensen@webkit.org> |
| |
| <rdar://problem/50299396> Fix internal High Sierra build |
| https://bugs.webkit.org/show_bug.cgi?id=197388 |
| |
| * DumpRenderTree/mac/Configurations/Base.xcconfig: |
| * MiniBrowser/Configurations/Base.xcconfig: |
| * MobileMiniBrowser/Configurations/Base.xcconfig: |
| * TestWebKitAPI/Configurations/Base.xcconfig: |
| * WebKitTestRunner/Configurations/Base.xcconfig: |
| |
| 2019-04-29 Youenn Fablet <youenn@apple.com> |
| |
| Remove spurious GVA printf logging |
| https://bugs.webkit.org/show_bug.cgi?id=197368 |
| <rdar://problem/35975256> |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * Scripts/webkitpy/port/mac.py: |
| (MacPort.logging_patterns_to_strip): |
| |
| 2019-04-29 Youenn Fablet <youenn@apple.com> |
| |
| getDisplayMedia should be called on user gesture |
| https://bugs.webkit.org/show_bug.cgi?id=197356 |
| <rdar://problem/50296074> |
| |
| Reviewed by Eric Carlson. |
| |
| Update test configuration to inject internals |
| so that we can use it to simulate a user click to call getDisplayMedia. |
| |
| * TestWebKitAPI/Tests/WebKit/getDisplayMedia.html: |
| * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm: |
| (TestWebKitAPI::GetDisplayMediaTest::SetUp): |
| |
| 2019-04-26 Stephanie Lewis <slewis@apple.com> |
| |
| run-benchmarks should have an intial prep and restore env call for tasks that are too expensive to do for every iteration |
| https://bugs.webkit.org/show_bug.cgi?id=197339 |
| |
| Reviewed by Dewei Zhu. |
| |
| Add two new functions prepare_inital_env and restore_env_after_all_testing around the entire |
| test run for setup steps that are too expensive to do every iteration. |
| |
| * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: |
| (BenchmarkRunner._run_benchmark): |
| * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: |
| (BrowserDriver): |
| (BrowserDriver.prepare_initial_env): |
| (BrowserDriver.restore_env_after_all_testing): |
| * Scripts/webkitpy/benchmark_runner/browser_driver/linux_browser_driver.py: |
| (LinuxBrowserDriver.prepare_initial_env): |
| (LinuxBrowserDriver.restore_env_after_all_testing): |
| * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py: |
| (OSXBrowserDriver.prepare_initial_env): |
| (OSXBrowserDriver.restore_env_after_all_testing): |
| |
| 2019-04-28 Andy Estes <aestes@apple.com> |
| |
| Fix the watchOS engineering build. |
| |
| * TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm: |
| (TestWebKitAPI::TEST): AVVideoPerformanceMetrics does not exist on watchOS. |
| |
| 2019-04-27 Chris Dumez <cdumez@apple.com> |
| |
| [WKTR] Move test timeout handling to the UIProcess |
| https://bugs.webkit.org/show_bug.cgi?id=197333 |
| |
| Reviewed by Darin Adler. |
| |
| Move test timeout handling in WebKitTestRunner to the UIProcess to play nicely with PSON. Previously, |
| we'd start the timeout timer in the InjectedBundle, which would fail to account of the time spent in |
| every WebContent process in the case of swapping. |
| |
| Also, because of process caching, the timeout timer would sometime fire in a cached process and it |
| would lead to crashes when firing the timer. |
| |
| * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: |
| (WTR::InjectedBundle::didReceiveMessageToPage): |
| (WTR::InjectedBundle::done): |
| * WebKitTestRunner/InjectedBundle/InjectedBundle.h: |
| (WTR::InjectedBundle::shouldDumpPixels const): |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::TestRunner): |
| (WTR::TestRunner::waitUntilDone): |
| (WTR::TestRunner::setWaitUntilDone): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp: |
| * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: |
| * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp: |
| * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::TestInvocation): |
| (WTR::TestInvocation::createTestSettingsDictionary): |
| (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| (WTR::TestInvocation::initializeWaitToDumpWatchdogTimerIfNeeded): |
| (WTR::TestInvocation::invalidateWaitToDumpWatchdogTimer): |
| (WTR::TestInvocation::waitToDumpWatchdogTimerFired): |
| (WTR::TestInvocation::setWaitUntilDone): |
| (WTR::TestInvocation::done): |
| * WebKitTestRunner/TestInvocation.h: |
| |
| 2019-04-25 Yusuke Suzuki <ysuzuki@apple.com> |
| |
| [JSC] linkPolymorphicCall now does GC |
| https://bugs.webkit.org/show_bug.cgi?id=197306 |
| |
| Reviewed by Saam Barati. |
| |
| The test is sensitive to allocations and even adding $vm makes it non-reproducible. |
| To add this test, we add `runWithoutBaseOption`. |
| |
| * Scripts/run-jsc-stress-tests: |
| |
| 2019-04-26 Alexey Proskuryakov <ap@apple.com> |
| |
| Update inactive reviewers' status to 'contributor'. |
| |
| Accidentally skipped one at first. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2019-04-26 Alexey Proskuryakov <ap@apple.com> |
| |
| Update inactive reviewers' status to 'contributor'. |
| |
| * Scripts/webkitpy/common/config/contributors.json: The change. |
| |
| * Scripts/webkitpy/common/checkout/changelog_unittest.py: |
| * Scripts/webkitpy/common/checkout/checkout_mock.py: |
| * Scripts/webkitpy/common/checkout/checkout_unittest.py: |
| * Scripts/webkitpy/common/net/bugzilla/bugzilla_mock.py: |
| * Scripts/webkitpy/tool/bot/irc_command_unittest.py: |
| * Scripts/webkitpy/tool/bot/ircbot_unittest.py: |
| * Scripts/webkitpy/tool/commands/queries_unittest.py: |
| * Scripts/webkitpy/tool/commands/upload_unittest.py: |
| Sadly, regression tests operate on a crazy mix of mock and live data for |
| contributors.json. It would be a substantial project to mock all code paths, |
| so changing the tests instead. |
| |
| 2019-04-26 Eric Carlson <eric.carlson@apple.com> |
| |
| Create AVFoundationSoftLink.{h,mm} to reduce duplicate code |
| https://bugs.webkit.org/show_bug.cgi?id=197171 |
| <rdar://problem/47454979> |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm: Added. |
| (TestWebKitAPI::TEST): |
| |
| 2019-04-26 David Kilzer <ddkilzer@apple.com> |
| |
| WebKitTestRunner leaks an NSDictionary and multiple JSStringRef objects |
| <https://webkit.org/b/197314> |
| <rdar://problem/50245252> |
| |
| Reviewed by Simon Fraser. |
| |
| * WebKitTestRunner/UIScriptControllerCocoa.mm: |
| (WTR::UIScriptController::lastUndoLabel const): |
| (WTR::UIScriptController::firstRedoLabel const): |
| - Use adopt(JSStringCreateWithCFString(...)) to fix leaks. |
| |
| * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| (-[HIDEventGenerator sendEventStream:completionBlock:]): |
| - Call -autorelease to fix leak of NSDictionary. |
| |
| * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| (WTR::UIScriptController::accessibilitySpeakSelectionContent const): |
| (WTR::UIScriptController::selectFormPopoverTitle const): |
| (WTR::UIScriptController::textContentType const): |
| (WTR::UIScriptController::formInputLabel const): |
| (WTR::UIScriptController::scrollingTreeAsText const): |
| - Use adopt(JSStringCreateWithCFString(...)) to fix leaks. |
| |
| 2019-04-26 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpy: Running a single test will always use the default device |
| https://bugs.webkit.org/show_bug.cgi?id=195472 |
| <rdar://problem/48724825> |
| |
| Reviewed by Lucas Forschler. |
| |
| It makes more sense to have the Manager class handle the case where a user specifically requests a test which is |
| skipped on the current configuration. This changes the behavior when running part of a test shard, now tests explicitly |
| requested will be run regardless of what shard they are in. |
| |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py: |
| (LayoutTestFinder.skip_tests): Caller should manage running skipped tests which were explicitly requested. |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager.run): If a test is marked as skipped for the configuration, but was specifically requested, run it anyways |
| on the default device type. |
| * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py: |
| (RunTest.test_run_chunk): Explicitly requesting a test will override sharing behavior. |
| (RunTest.test_run_part): Ditto. |
| |
| 2019-04-26 Alex Christensen <achristensen@webkit.org> |
| |
| Add ENABLE(CONTENT_EXTENSIONS) and namespace ContentExtensions to ResourceLoadInfo.h |
| https://bugs.webkit.org/show_bug.cgi?id=197165 |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: |
| |
| 2019-04-26 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Replace iOS build queue hardware |
| https://bugs.webkit.org/show_bug.cgi?id=197312 |
| |
| Reviewed by Aakash Jain. |
| |
| * BuildSlaveSupport/build.webkit.org-config/config.json: |
| Use newer hardware that supports macOS Mojave. |
| |
| 2019-04-26 Yoshiaki Jitsukawa <yoshiaki.jitsukawa@sony.com> |
| |
| check-webkit-style complains the first block in while loop. |
| https://bugs.webkit.org/show_bug.cgi?id=197307 |
| |
| The style checker shouldn't complain about an open brace on |
| its own line if the last non-whitespace character on the previous |
| non-blank line is another open brace, because it's likely to |
| indicate the begining of a nested code block. |
| |
| Reviewed by Alex Christensen. |
| |
| * Scripts/webkitpy/style/checkers/cpp.py: |
| (check_braces): |
| * Scripts/webkitpy/style/checkers/cpp_unittest.py: |
| (WebKitStyleTest.test_braces): |
| |
| 2019-04-26 Sihui Liu <sihui_liu@apple.com> |
| |
| Stop IDB transactions to release locked database files when network process is ready to suspend |
| https://bugs.webkit.org/show_bug.cgi?id=196372 |
| <rdar://problem/48930116> |
| |
| Reviewed by Brady Eidson. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBSuspendImminently.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBSuspendImminently.mm: Added. |
| (-[IndexedDBSuspendImminentlyMessageHandler userContentController:didReceiveScriptMessage:]): |
| (runTestAndCheckResult): |
| (keepNetworkProcessActive): |
| (TEST): |
| |
| 2019-04-25 Simon Fraser <simon.fraser@apple.com> |
| |
| REGRESSION (r234330): 3 legacy-animation-engine/compositing tests are flaky failures |
| https://bugs.webkit.org/show_bug.cgi?id=188357 |
| <rdar://problem/42986633> |
| |
| Reviewed by Dean Jackson. |
| |
| DumpRenderTree had no code that set page.setCompositingPolicyOverride() to Normal, so some |
| tests would fall into low memory mode and have different behavior. |
| |
| Fix by moving the code that calls setCompositingPolicyOverride(Normal) from the WK2 layer |
| to Internals, so it's shared by DRT and WTR. |
| |
| We no longer need the WK2 C SPI glue. |
| |
| * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: |
| (WTR::InjectedBundlePage::prepare): |
| |
| 2019-04-25 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpy: Including skipped tests in the final count |
| https://bugs.webkit.org/show_bug.cgi?id=197298 |
| <rdar://problem/49705424> |
| |
| Reviewed by Lucas Forschler. |
| |
| * Scripts/webkitpy/layout_tests/views/buildbot_results.py: |
| (BuildBotPrinter.print_run_results): The total number of tests run should exclude delibrately skipped tests. |
| |
| 2019-04-25 Timothy Hatcher <timothy@apple.com> |
| |
| Disable date and time inputs on iOSMac. |
| https://bugs.webkit.org/show_bug.cgi?id=197287 |
| rdar://problem/46794376 |
| |
| Reviewed by Wenson Hsieh. |
| |
| * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: |
| |
| 2019-04-25 Alex Christensen <achristensen@webkit.org> |
| |
| Fix test-webkitpy after r244653 |
| https://bugs.webkit.org/show_bug.cgi?id=197131 |
| |
| * lldb/lldbWebKitTester/Configurations/Base.xcconfig: |
| Also use C++17. |
| |
| 2019-04-25 Per Arne Vollan <pvollan@apple.com> |
| |
| -[WKWebsiteDataStore fetchDataRecordsOfTypes:completionHandler:] never returns _WKWebsiteDataTypeCredentials |
| https://bugs.webkit.org/show_bug.cgi?id=196991 |
| <rdar://problem/45507423> |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (-[NavigationTestDelegate init]): |
| (-[NavigationTestDelegate waitForDidFinishNavigation]): |
| (-[NavigationTestDelegate webView:didFinishNavigation:]): |
| (-[NavigationTestDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| (TestWebKitAPI::TEST): |
| (TEST): Deleted. |
| |
| 2019-04-25 Alex Christensen <achristensen@webkit.org> |
| |
| Revert some code accidentally committed with r244653 |
| https://bugs.webkit.org/show_bug.cgi?id=197131 |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2019-04-25 Alex Christensen <achristensen@webkit.org> |
| |
| Start using C++17 |
| https://bugs.webkit.org/show_bug.cgi?id=197131 |
| |
| Reviewed by Darin Adler. |
| |
| * DumpRenderTree/mac/Configurations/Base.xcconfig: |
| * MiniBrowser/Configurations/Base.xcconfig: |
| * MobileMiniBrowser/Configurations/Base.xcconfig: |
| * TestWebKitAPI/Configurations/Base.xcconfig: |
| * WebKitTestRunner/Configurations/Base.xcconfig: |
| |
| 2019-04-25 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r244627. |
| https://bugs.webkit.org/show_bug.cgi?id=197282 |
| |
| Causing internal build failures (Requested by ShawnRoberts on |
| #webkit). |
| |
| Reverted changeset: |
| |
| "Create AVFoundationSoftLink.{h,mm} to reduce duplicate code" |
| https://bugs.webkit.org/show_bug.cgi?id=197171 |
| https://trac.webkit.org/changeset/244627 |
| |
| 2019-04-24 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK] Hardcoded text color in input fields |
| https://bugs.webkit.org/show_bug.cgi?id=126907 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add dark-mode command line option to MiniBrowser. |
| |
| * MiniBrowser/gtk/main.c: |
| (main): |
| |
| 2019-04-24 Zalan Bujtas <zalan@apple.com> |
| |
| Regression (r244291): Broken API Test AutoLayoutRenderingProgressRelativeOrdering |
| https://bugs.webkit.org/show_bug.cgi?id=196948 |
| <rdar://problem/49927131> |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/AutoLayoutIntegration.mm: |
| (TEST): |
| The expected order of incoming events is |
| 1. didInvalidateIntrinsicContentSize |
| 2. didFirstLayout |
| At setRenderingProgressDidChange, we already check if didInvalidateIntrinsicContentSize comes in first. |
| However it's not guaranteed that the milestone event is delayed until after TestWebKitAPI::Util::run() is finished |
| (and remember, all we care about is ordering). |
| |
| 2019-04-24 Eric Carlson <eric.carlson@apple.com> |
| |
| Create AVFoundationSoftLink.{h,mm} to reduce duplicate code |
| https://bugs.webkit.org/show_bug.cgi?id=197171 |
| <rdar://problem/47454979> |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm: Added. |
| (TestWebKitAPI::TEST): |
| |
| 2019-04-24 Brady Eidson <beidson@apple.com> |
| |
| XMLHTTPRequest POSTs to a custom WKURLSchemeHandler protocol are missing the HTTP body. |
| https://bugs.webkit.org/show_bug.cgi?id=191362 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm: Add a test that POSTs all sorts of things |
| from an XHR to a custom protocol. |
| |
| 2019-04-25 Simon Fraser <simon.fraser@apple.com> |
| |
| DumpRenderTree doesn't call Internals::resetToConsistentState() before the first test |
| https://bugs.webkit.org/show_bug.cgi?id=197273 |
| |
| Reviewed by Dean Jackson. |
| |
| Reorder code so that we create gTestRunner before calling resetWebViewToConsistentStateBeforeTesting(), |
| so that WebCoreTestSupport::resetInternalsObject() is always run. |
| |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (resetWebViewToConsistentStateBeforeTesting): |
| (runTest): |
| |
| 2019-04-24 John Wilander <wilander@apple.com> |
| |
| Age out unconverted Ad Click Attributions after one week. |
| https://bugs.webkit.org/show_bug.cgi?id=197238 |
| <rdar://problem/50177349> |
| |
| Reviewed by Chris Dumez. |
| |
| This patch adds infrastructure to allow tests to expire all unconverted |
| attributions early. |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::markAdClickAttributionsAsExpiredForTesting): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::markAdClickAttributionsAsExpiredForTesting): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| |
| 2019-04-24 Chris Dumez <cdumez@apple.com> |
| |
| Fix flaky crashes in a couple of PSON API tests |
| https://bugs.webkit.org/show_bug.cgi?id=197239 |
| |
| Reviewed by Tim Horton. |
| |
| Do not adopt the NSURLRequest returned by [NSURLRequest requestWithURL:]. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| |
| 2019-04-24 Simon Fraser <simon.fraser@apple.com> |
| |
| Make it possible to control the renderTreeAsText output by setting options on testRunner |
| https://bugs.webkit.org/show_bug.cgi?id=197133 |
| |
| Reviewed by Sam Weinig. |
| |
| Add testRunner.setRenderTreeDumpOptions() and expose the subset of RenderAsTextFlag flags |
| that make sense in testing (those that don't dump unstable data like addresses), and plumb |
| these flags through the various framework layers. |
| |
| Convert RenderAsTextBehavior to an OptionSet<RenderAsTextFlag>. |
| |
| Fix code generation in WebKitTestRunner to generate bindings for IDL const values, |
| and hand-code DumpRenderTree bindings. |
| |
| Some cleanup of the TestRunners, using member initializers. |
| |
| * DumpRenderTree/TestRunner.cpp: |
| (TestRunner::TestRunner): |
| (setRenderTreeDumpOptionsCallback): |
| (TestRunner::staticFunctions): |
| (TestRunner::setRenderTreeDumpOptions): |
| * DumpRenderTree/TestRunner.h: |
| (TestRunner::renderTreeDumpOptions const): |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (dump): |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: |
| (WTR::InjectedBundlePage::dump): |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::TestRunner): |
| (WTR::TestRunner::setRenderTreeDumpOptions): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| (WTR::TestRunner::renderTreeDumpOptions const): |
| |
| 2019-04-24 Alex Christensen <achristensen@webkit.org> |
| |
| WKContentRuleLists should have a maximum FileProtection of CompleteUnlessOpen |
| https://bugs.webkit.org/show_bug.cgi?id=197078 |
| <rdar://problem/49564348> |
| |
| Reviewed by Geoff Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKContentExtensionStore.mm: |
| (TEST_F): |
| (-[TestSchemeHandlerSubresourceShouldBeBlocked webView:startURLSchemeTask:]): Deleted. |
| (-[TestSchemeHandlerSubresourceShouldBeBlocked webView:stopURLSchemeTask:]): Deleted. |
| Unfortunately, setting the NSFileProtectionKey attribute is only supported on iOS devices. |
| |
| 2019-04-24 Alex Christensen <achristensen@webkit.org> |
| |
| Add unit test for r239322 |
| https://bugs.webkit.org/show_bug.cgi?id=197236 |
| |
| Reviewed by Chris Dumez. |
| |
| I initially developed this as a unit test for rdar://problem/48797895 but it seems that isn't quite ready. |
| May as well add the test infrastructure which was needed before and will be needed in the future. |
| |
| * TestWebKitAPI/TCPServer.cpp: |
| (TestWebKitAPI::TCPServer::TCPServer): |
| * TestWebKitAPI/TCPServer.h: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| (TestWebKitAPI::downloadAtRate): |
| * TestWebKitAPI/Tests/WebKitCocoa/PDFLinkReferrer.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: Added. |
| (-[ProxyDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]): |
| (-[ProxyDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm: |
| (TEST): |
| |
| 2019-04-24 Chris Dumez <cdumez@apple.com> |
| |
| URL set by document.open() is communicated with the WebPageProxy but not the WebFrameProxy |
| https://bugs.webkit.org/show_bug.cgi?id=197214 |
| <rdar://problem/49237544> |
| |
| Reviewed by Alex Christensen. |
| |
| Extend API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/OpenAndCloseWindow.mm: |
| (TEST): |
| |
| 2019-04-24 Philippe Normand <pnormand@igalia.com> |
| |
| [Build][GStreamer] Update to 1.16.0 |
| https://bugs.webkit.org/show_bug.cgi?id=197157 |
| |
| Reviewed by Xabier Rodriguez-Calvar. |
| |
| The upstreamed patches were removed and a new one was added for a |
| regression detected in the scaletempo GStreamer element. The GNOME |
| Flatpak was migrated to 3.32 and I switched a few modules to Meson |
| on the way, as it is the preferred build system now in GStreamer |
| 1.16. |
| |
| * flatpak/files/httpd-autogen.sh: |
| * flatpak/flatpakutils.py: |
| (FlatpakPackage.install): |
| (WebkitFlatpak.run_in_sandbox): |
| * flatpak/org.webkit.CommonModules.yaml: |
| * flatpak/org.webkit.WebKit.yaml: |
| * gstreamer/jhbuild.modules: |
| * gstreamer/patches/gst-plugins-bad-0001-aomenc-Add-support-for-10-12bit-decoding.patch: Removed. |
| * gstreamer/patches/gst-plugins-bad-0002-aomenc-Handle-8-bit_depth-images-with-AOM_IMG_FMT_HI.patch: Removed. |
| * gstreamer/patches/gst-plugins-bad-0003-fdkaacenc-Remove-MODE_2_1.patch: Removed. |
| * gstreamer/patches/gst-plugins-bad-0004-fdkaacdec-Use-WAV-channel-mapping-instead-of-interleave-setting.patch: Removed. |
| * gstreamer/patches/gst-plugins-bad-0005-mssdemux-fix-protection-data-double-free.patch: Removed. |
| * gstreamer/patches/gst-plugins-base-0001-parsebin-Post-STREAM_COLLECTION-on-EVENT_STREAM_COLL.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0001-qtdemux-Detect-and-expose-CEA-608-708-Closed-Caption.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0001-qtdemux-Do-not-run-the-preferred-decryptor-context-q.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0002-qtdemux-Do-not-unref-a-NULL-stream_tags.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0002-qtdemux-add-context-for-a-preferred-protection.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0003-qtdemux-Clarify-field-name-about-stream-encryption-s.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0003-qtdemux-also-push-buffers-without-encryption-info-in.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0004-qtdemux-Add-initial-support-for-AV1-demuxing.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0005-qtdemux-Extract-AV1-codec_data-and-put-it-in-the-cap.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0006-qtdemux-Recognize-more-AV1-atoms.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0011-matroska-Add-the-WebM-encrypted-content-support-in-m.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0012-matroskdemux-do-not-use-MapInfo.data-after-unmapping.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0013-Avoid-warning-when-reporting-about-decryptors.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-0014-pulse-Mark-default-devices-as-default.patch: Removed. |
| * gstreamer/patches/gst-plugins-good-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch: Added. |
| * gstreamer/patches/gstreamer-0001-protection-Add-a-new-definition-for-unspecified-syst.patch: Removed. |
| * gstreamer/patches/gstreamer-0002-protection-Fix-the-string-to-define-unspecified-syst.patch: Removed. |
| |
| 2019-04-24 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK] MiniBrowser: also set the passed bg-color when receiving arguments |
| https://bugs.webkit.org/show_bug.cgi?id=197156 |
| |
| Reviewed by Michael Catanzaro. |
| |
| The background color is only set when MiniBrowser is launched without arguments. This regressed when tabs |
| support was added. |
| |
| * MiniBrowser/gtk/BrowserTab.c: |
| (browser_tab_set_background_color): Set the passed in color as web view background color. |
| * MiniBrowser/gtk/BrowserTab.h: |
| * MiniBrowser/gtk/BrowserWindow.c: |
| (browser_window_init): Initialize backgroundColor. |
| (browser_window_append_view): Call browser_tab_set_background_color(). |
| (browser_window_set_background_color): Save the passed in color. This function should now be called before tabs |
| are added. |
| * MiniBrowser/gtk/main.c: |
| (main): Call browser_window_set_background_color() before creating the tabs. |
| |
| 2019-04-23 John Wilander <wilander@apple.com> |
| |
| Move Ad Click Attribution from internal feature to experimental feature |
| https://bugs.webkit.org/show_bug.cgi?id=197218 |
| <rdar://problem/47651691> |
| |
| Reviewed by Brent Fulgham. |
| |
| * DumpRenderTree/TestOptions.cpp: |
| (TestOptions::TestOptions): |
| |
| 2019-04-23 Andy Estes <aestes@apple.com> |
| |
| [iOS] QuickLook documents loaded from file: URLs should be allowed to perform same-document navigations |
| https://bugs.webkit.org/show_bug.cgi?id=196749 |
| <rdar://problem/35773454> |
| |
| Reviewed by Daniel Bates. |
| |
| Added a new QuickLook API test and added new expectations to existing QuickLook tests. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm: |
| (-[QuickLookDelegate webView:didStartProvisionalNavigation:]): |
| (-[QuickLookDelegate webView:didFinishNavigation:]): |
| (-[QuickLookDelegate _webView:didFailNavigation:withError:userInfo:]): |
| (-[QuickLookDelegate webView:didFailProvisionalNavigation:withError:]): |
| (runTest): |
| (runTestDecideBeforeLoading): |
| (runTestDecideAfterLoading): |
| (TEST): |
| |
| 2019-04-23 John Wilander <wilander@apple.com> |
| |
| Remove Ad Click Attribution data when removing website data |
| https://bugs.webkit.org/show_bug.cgi?id=197215 |
| <rdar://problem/47668988> |
| |
| Reviewed by Chris Dumez. |
| |
| This patch adds test infrastructure to delete Ad Click Attribution data |
| through WebsiteDataStore::removeData(). |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::clearAdClickAttribution): |
| (WTR::TestRunner::clearAdClickAttributionsThroughWebsiteDataRemoval): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::clearAdClickAttributionsThroughWebsiteDataRemoval): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| |
| 2019-04-23 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpy: Kill unresponsive worker processes |
| https://bugs.webkit.org/show_bug.cgi?id=197205 |
| <rdar://problem/50104388> |
| |
| Reviewed by Lucas Forschler. |
| |
| * Scripts/webkitpy/common/message_pool.py: |
| (_MessagePool.__init__): Add close timeout. |
| (_MessagePool._close): Send termination before joining workers, kill unresponsive workers. |
| |
| 2019-04-23 Alex Christensen <achristensen@webkit.org> |
| |
| Add unit tests for WKWebView.serverTrust |
| https://bugs.webkit.org/show_bug.cgi?id=197202 |
| |
| Reviewed by Youenn Fablet |
| |
| * TestWebKitAPI/TCPServer.cpp: |
| (TestWebKitAPI::deleter<BIO>::operator()): |
| (TestWebKitAPI::deleter<SSL>::operator()): |
| (TestWebKitAPI::deleter<X509>::operator()): |
| (TestWebKitAPI::deleter<SSL_CTX>::operator()): |
| (TestWebKitAPI::deleter<EVP_PKEY>::operator()): |
| (TestWebKitAPI::TCPServer::TCPServer): |
| (TestWebKitAPI::TCPServer::listenForConnections): |
| * TestWebKitAPI/TCPServer.h: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (TestWebKitAPI::TEST): |
| (verifyCertificateAndPublicKey): |
| (-[ServerTrustDelegate webView:didFinishNavigation:]): |
| (-[ServerTrustDelegate webView:didReceiveAuthenticationChallenge:completionHandler:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| (TestWebKitAPI::downloadAtRate): |
| * TestWebKitAPI/Tests/WebKitCocoa/PDFLinkReferrer.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKNavigationResponse.mm: |
| (TEST): |
| |
| 2019-04-23 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, rolling out r244556. |
| https://bugs.webkit.org/show_bug.cgi?id=197212 |
| |
| Causing build failures on multiple builders (Requested by |
| ShawnRoberts on #webkit). |
| |
| Reverted changeset: |
| |
| "Create AVFoundationSoftLink.{h,mm} to reduce duplicate code" |
| https://bugs.webkit.org/show_bug.cgi?id=197171 |
| https://trac.webkit.org/changeset/244556 |
| |
| 2019-04-23 Alex Christensen <achristensen@webkit.org> |
| |
| Fix iOS build. |
| https://bugs.webkit.org/show_bug.cgi?id=195537 |
| |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setOpenPanelFilesMediaIcon): |
| AdoptWK constructor is private now. Use adoptWK instead. |
| |
| 2019-04-23 Andres Gonzalez <andresg_22@apple.com> |
| |
| Accessibility text search and selection API enhancements. |
| https://bugs.webkit.org/show_bug.cgi?id=197095 |
| <rdar://problem/48181791> |
| |
| Reviewed by Chris Fleizach. |
| |
| Added new API JS binding code for searchTextWithCriteria to both WTR and DRT. |
| |
| * DumpRenderTree/AccessibilityTextMarker.h: |
| * DumpRenderTree/AccessibilityUIElement.cpp: |
| (searchTextWithCriteriaCallback): |
| (AccessibilityUIElement::getJSClass): |
| * DumpRenderTree/AccessibilityUIElement.h: |
| * DumpRenderTree/mac/AccessibilityUIElementMac.mm: |
| (convertVectorToObjectArray): |
| (convertNSArrayToVector): |
| (searchTextParameterizedAttributeForCriteria): |
| (AccessibilityUIElement::getLinkedUIElements): |
| (AccessibilityUIElement::getDocumentLinks): |
| (AccessibilityUIElement::getChildren): |
| (AccessibilityUIElement::getChildrenWithRange): |
| (AccessibilityUIElement::rowHeaders const): |
| (AccessibilityUIElement::columnHeaders const): |
| (AccessibilityUIElement::uiElementArrayAttributeValue const): |
| (AccessibilityUIElement::searchTextWithCriteria): |
| (AccessibilityUIElement::attributesOfColumnHeaders): |
| (AccessibilityUIElement::attributesOfRowHeaders): |
| (AccessibilityUIElement::attributesOfColumns): |
| (AccessibilityUIElement::attributesOfRows): |
| (AccessibilityUIElement::attributesOfVisibleCells): |
| * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: |
| * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: |
| * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: |
| (WTR::convertVectorToObjectArray): |
| (WTR::convertNSArrayToVector): |
| (WTR::searchTextParameterizedAttributeForCriteria): |
| (WTR::AccessibilityUIElement::getLinkedUIElements): |
| (WTR::AccessibilityUIElement::getDocumentLinks): |
| (WTR::AccessibilityUIElement::getUIElementsWithAttribute const): |
| (WTR::AccessibilityUIElement::getChildren): |
| (WTR::AccessibilityUIElement::getChildrenWithRange): |
| (WTR::AccessibilityUIElement::rowHeaders const): |
| (WTR::AccessibilityUIElement::columnHeaders const): |
| (WTR::AccessibilityUIElement::uiElementArrayAttributeValue const): |
| (WTR::AccessibilityUIElement::searchTextWithCriteria): |
| (WTR::AccessibilityUIElement::attributesOfColumnHeaders): |
| (WTR::AccessibilityUIElement::attributesOfRowHeaders): |
| (WTR::AccessibilityUIElement::attributesOfColumns): |
| (WTR::AccessibilityUIElement::attributesOfRows): |
| (WTR::AccessibilityUIElement::attributesOfVisibleCells): |
| (WTR::convertElementsToObjectArray): Deleted. |
| |
| 2019-04-23 Guy Lewin <guy@lewin.co.il> |
| |
| Multiple File Input Icon Set Regardless of File List |
| https://bugs.webkit.org/show_bug.cgi?id=195537 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| Add setOpenPanelFilesMediaIcon to TestRunner in order to test icon and |
| display string in iOS file inputs |
| |
| * DumpRenderTree/TestRunner.cpp: |
| (SetOpenPanelFilesMediaIconCallback): |
| (TestRunner::staticFunctions): |
| (TestRunner::setOpenPanelFilesMediaIcon): |
| * DumpRenderTree/TestRunner.h: |
| (TestRunner::openPanelFilesMediaIcon const): |
| * DumpRenderTree/mac/UIDelegate.mm: |
| (-[UIDelegate webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]): |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setOpenPanelFilesMediaIcon): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::runOpenPanel): |
| (WTR::TestController::resetStateToConsistentValues): |
| * WebKitTestRunner/TestController.h: |
| (WTR::TestController::openPanelFileURLsMediaIcon const): |
| (WTR::TestController::setOpenPanelFileURLsMediaIcon): |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): |
| |
| 2019-04-23 Eric Carlson <eric.carlson@apple.com> |
| |
| Create AVFoundationSoftLink.{h,mm} to reduce duplicate code |
| https://bugs.webkit.org/show_bug.cgi?id=197171 |
| <rdar://problem/47454979> |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm: Added. |
| (TestWebKitAPI::TEST): |
| |
| 2019-04-23 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Add unit tests for UnApplyPatchIfRequired |
| https://bugs.webkit.org/show_bug.cgi?id=197197 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/steps_unittest.py: |
| (TestUnApplyPatchIfRequired): |
| (TestUnApplyPatchIfRequired.test_success): |
| (TestUnApplyPatchIfRequired.test_failure): |
| (TestUnApplyPatchIfRequired.test_skip): |
| |
| 2019-04-23 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Add unit tests for CleanWorkingDirectory |
| https://bugs.webkit.org/show_bug.cgi?id=197195 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/steps_unittest.py: |
| (TestCleanWorkingDirectory): |
| (TestCleanWorkingDirectory.test_success): |
| (TestCleanWorkingDirectory.test_failure): |
| |
| 2019-04-23 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Use explicit imports instead of wildcard imports |
| https://bugs.webkit.org/show_bug.cgi?id=197194 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/factories.py: |
| * BuildSlaveSupport/ews-build/loadConfig.py: |
| * BuildSlaveSupport/ews-build/steps_unittest.py: |
| |
| 2019-04-23 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-build] Add unit tests for DownloadBuiltProduct |
| https://bugs.webkit.org/show_bug.cgi?id=197193 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-build/steps_unittest.py: |
| (TestDownloadBuiltProduct): |
| (TestDownloadBuiltProduct.setUp): |
| (TestDownloadBuiltProduct.tearDown): |
| (TestDownloadBuiltProduct.test_success): |
| (TestDownloadBuiltProduct.test_failure): |
| |
| 2019-04-23 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews-app] Exception while loading status-bubble when no build step has started |
| https://bugs.webkit.org/show_bug.cgi?id=196676 |
| |
| Reviewed by Lucas Forschler. |
| |
| * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble.get_build_timestamp): Check if build step is present before accessing its timestamp. |
| |
| 2019-04-23 Stephan Szabo <stephan.szabo@sony.com> |
| |
| [PlayStation] Support running of JSC tests on remote playstation devices |
| https://bugs.webkit.org/show_bug.cgi?id=197170 |
| |
| Reviewed by Ross Kirsling. |
| |
| Script changes |
| |
| * Scripts/run-javascriptcore-tests: |
| (runJSCStressTests): Pass arguments for playstation to |
| run-jsc-stress-tests |
| * Scripts/run-jsc-stress-tests: |
| Handle $hostOS=="playstation" for determineArchitecture, turning |
| off $isFTLPlatform and runProfiler and defaulting test writer. |
| * Scripts/webkitdirs.pm:
|