| 2021-03-18 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Add a test to exercise the crash in webkit.org/b/223417 |
| https://bugs.webkit.org/show_bug.cgi?id=223485 |
| |
| Reviewed by Tim Horton. |
| |
| Add an API test that performs a hit-test just outside of the bounds of the WKWebView that contains a full-page |
| clickable element. This finds the element as the click target, but the hit-tested node is null. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-18 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Avoid copying item data when iterating in-process display lists |
| https://bugs.webkit.org/show_bug.cgi?id=223471 |
| |
| Reviewed by Simon Fraser. |
| |
| Adjust an existing API test that exercises inline display list item validation by assigning a reading client to |
| the display list. |
| |
| * TestWebKitAPI/Tests/WebCore/cg/DisplayListTestsCG.cpp: |
| (TestWebKitAPI::TEST): |
| |
| Move the `ReadingClient` and `WritingClient` out of the scope of `OutOfLineItemDecodingFailure`, so that the |
| other API test (`InlineItemValidationFailure`) can also use it. |
| |
| 2021-03-18 Cameron McCormack <heycam@apple.com> |
| |
| Add another email for myself in contributors.json |
| https://bugs.webkit.org/show_bug.cgi?id=222700 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2021-03-18 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [WPE] Bump API version when building with libsoup3 |
| https://bugs.webkit.org/show_bug.cgi?id=223437 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| Use WPE_API_DOC_VERSION instead of WPE_API_VERSION. |
| |
| * wpe/manifest.txt.in: |
| |
| 2021-03-18 Youenn Fablet <youenn@apple.com> |
| |
| Geolocation API does not work in WKWebView with custom URL scheme handler |
| https://bugs.webkit.org/show_bug.cgi?id=222861 |
| <rdar://problem/75394695> |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm: |
| (-[GeolocationDelegate setValidationHandler:]): |
| (-[GeolocationDelegate _webView:requestGeolocationPermissionForFrame:decisionHandler:]): |
| (TEST): |
| |
| 2021-03-18 Kimmo Kinnunen <kkinnunen@apple.com> |
| |
| WebGL conformance test update script does not use min_version and max_version in all cases |
| https://bugs.webkit.org/show_bug.cgi?id=223376 |
| |
| Reviewed by Kenneth Russell. |
| |
| Make the update script respect min_version and max_version when the version is specified |
| per test. |
| |
| * Scripts/webkitpy/update_webgl_conformance_tests_lib/main.py: |
| (_parse_webgl_tests): |
| |
| 2021-03-17 Alex Christensen <achristensen@webkit.org> |
| |
| Make fast/images/missing-content-image-crash.html results consistent with internal build |
| https://bugs.webkit.org/show_bug.cgi?id=223399 |
| <rdar://75443811> |
| |
| Reviewed by Darin Adler. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-17 Darin Adler <darin@apple.com> |
| |
| "multile" typo in website and one other place |
| https://bugs.webkit.org/show_bug.cgi?id=223213 |
| |
| Reviewed by Alex Christensen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm: Fix spelling. |
| |
| 2021-03-17 Matt Lewis <jlewis3@apple.com> |
| |
| Add AppleSilicon and Debug WK2 Support to EWS |
| https://bugs.webkit.org/show_bug.cgi?id=223393 |
| |
| Reviewed by Aakash Jain. |
| |
| * CISupport/ews-app/ews/views/statusbubble.py: |
| (StatusBubble): |
| * CISupport/ews-build/config.json: |
| |
| 2021-03-17 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Support git-svn in remote mocks |
| https://bugs.webkit.org/show_bug.cgi?id=223397 |
| <rdar://problem/75541426> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/bitbucket.py: |
| (BitBucket.request): Add git-svn tag. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py: |
| (GitHub._commit_response): Add git-svn tag. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/svn-repo.json: Add hashes to mock svn repo. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: |
| (TestGitHub.test_commit_hash): |
| (TestGitHub.test_commit_revision): |
| (TestBitBucket.test_commit_hash): |
| (TestBitBucket.test_commit_revision): |
| |
| 2021-03-17 Aditya Keerthi <akeerthi@apple.com> |
| |
| [iOS] Refactor WKFileUploadPanel to use UniformTypeIdentifiers |
| https://bugs.webkit.org/show_bug.cgi?id=223000 |
| <rdar://problem/75237774> |
| |
| Reviewed by Tim Horton. |
| |
| Added UIScriptController hooks to retrieve the type identifiers for |
| a presented file upload panel. |
| |
| * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: |
| * TestRunnerShared/UIScriptContext/UIScriptController.h: |
| (WTR::UIScriptController::filePickerAcceptedTypeIdentifiers): |
| * WebKitTestRunner/ios/UIScriptControllerIOS.h: |
| * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| (WTR::UIScriptControllerIOS::filePickerAcceptedTypeIdentifiers): |
| |
| 2021-03-17 Amir Mark Jr <amir_mark@apple.com> |
| |
| REGRESSION (r274460): [macOS] TestWebKitAPI.Fullscreen.WKViewDelegate is timing out |
| https://bugs.webkit.org/show_bug.cgi?id=223282 |
| |
| Unreviewed test gardening. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/FullscreenDelegate.mm: |
| (TestWebKitAPI::TEST): Disabling the test until it is resolved |
| |
| 2021-03-17 Aakash Jain <aakash_jain@apple.com> |
| |
| [build.webkit.org] Remove code specific to old Buildbot - part 2 |
| https://bugs.webkit.org/show_bug.cgi?id=222928 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/build-webkit-org/steps.py: |
| (ConfigureBuild.start): |
| |
| 2021-03-17 Alex Christensen <achristensen@webkit.org> |
| |
| Allow UniqueRef to be the value of a HashMap |
| https://bugs.webkit.org/show_bug.cgi?id=223240 |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WTF/HashMap.cpp: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-17 Chris Dumez <cdumez@apple.com> |
| |
| Maybe-regression(STP121): window.open flakily returning null |
| https://bugs.webkit.org/show_bug.cgi?id=222590 |
| <rdar://problem/75211786> |
| |
| Reviewed by Geoffrey Garen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKit/ModalAlertsSPI.cpp: |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::checkFrameLoadStateAndCreateNewPage): |
| |
| 2021-03-17 Brent Fulgham <bfulgham@apple.com> |
| |
| [Cocoa] Move loadSimulatedRequest API from Private to Public WKWebView |
| https://bugs.webkit.org/show_bug.cgi?id=223279 |
| <rdar://problem/75494316> |
| |
| Reviewed by Darin Adler. |
| |
| Remove private header now that the declarations are in the standard header. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewLoadAPIs.mm: |
| |
| 2021-03-17 Youenn Fablet <youenn@apple.com> |
| |
| Align device orientation delegate to getUserMedia/geolocation delegates |
| https://bugs.webkit.org/show_bug.cgi?id=223247 |
| |
| Reviewed by Eric Carlson. |
| |
| Update code to print frame info origin and update according additional frame info parameter given to shouldAllowDeviceOrientationAndMotionAccess. |
| Clear permissions in case test controller changes the device motion permission value. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm: |
| (-[DeviceOrientationPermissionUIDelegate _webView:requestDeviceOrientationAndMotionPermissionForOrigin:initiatedByFrame:decisionHandler:]): |
| (-[DeviceOrientationPermissionValidationDelegate setValidationHandler:]): |
| (-[DeviceOrientationPermissionValidationDelegate _webView:requestDeviceOrientationAndMotionPermissionForOrigin:initiatedByFrame:decisionHandler:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: |
| (-[WebsitePoliciesDeviceOrientationUIDelegate _webView:requestDeviceOrientationAndMotionPermissionForOrigin:initiatedByFrame:decisionHandler:]): |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::shouldAllowDeviceOrientationAndMotionAccess): |
| (WTR::TestController::handleDeviceOrientationAndMotionAccessRequest): |
| (WTR::TestController::setShouldAllowDeviceOrientationAndMotionAccess): |
| * WebKitTestRunner/TestController.h: |
| |
| 2021-03-17 Philippe Normand <pnormand@igalia.com> |
| |
| [WPE] Include cog build artefacts in built product archive |
| https://bugs.webkit.org/show_bug.cgi?id=217477 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| Include Cog files in the zip file if they're present, so the nightly runner would be able to |
| start Cog instead of the WPE MiniBrowser. |
| |
| * CISupport/built-product-archive: |
| (createZipFromList): |
| (archiveBuiltProduct): |
| |
| 2021-03-16 John Wilander <wilander@apple.com> |
| |
| PCM: Use adoptWK in TestInvocation::didReceiveSynchronousMessageFromInjectedBundle()'s handling of "SetPrivateClickMeasurementAttributionReportURLsForTesting" |
| https://bugs.webkit.org/show_bug.cgi?id=223286 |
| <rdar://problem/75498336> |
| |
| Reviewed by Darin Adler. |
| |
| See Darin's initial comment here: https://bugs.webkit.org/show_bug.cgi?id=223238#c9 |
| |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| |
| 2021-03-16 Jonathan Bedard <jbedard@apple.com> |
| |
| [resultsdbpy] Save identifiers in commit table |
| https://bugs.webkit.org/show_bug.cgi?id=223101 |
| <rdar://problem/75338338> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/resultsdbpy/resultsdbpy/__init__.py: Bump version. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/commit_controller.py: |
| (CommitController.register): Accept uploaded new commit objects, continue to return old-style commits. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/upload_controller.py: |
| (UploadController.upload): Register commits using the fast path when uploading results. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/upload_controller_unittest.py: |
| (UploadControllerTest.test_process): Mock safari and WebKit when processing results. |
| (UploadControllerTest.test_process_commit): Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context.py: |
| (CommitContext.CommitModelMk2): Add new style commit model base. |
| (CommitContext.CommitByRef): Sort commits by hash, revision and identifier references. |
| (CommitContext.CommitByUuidAscendingMk2): New commit style UUID table. |
| (CommitContext.CommitByUuidDescendingMk2): Ditto. |
| (CommitContext.__init__): Create new tables. |
| (CommitContext.find_commits_by_ref): Search for commits in the new ref table. |
| (CommitContext.register): Post-process commits to populate identifier field. |
| (CommitContext.register_commit): Only register new-style commits. |
| (CommitContext.register_partial_commit): Register new-style commits, allow caller to opt-out of expensive |
| Identifier computation. |
| (CommitContext.url): Accept old and new style commits. |
| (CommitContext.register_commit_with_repo_and_id): Deleted. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context_unittest.py: |
| (CommitContextTest.add_all_commits_to_database): Update commit registration call. |
| (CommitContextTest.test_commit_from_stash_repo): Ditto. |
| (CommitContextTest.test_commit_from_svn_repo): Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/mock_model_factory.py: |
| (MockModelFactory.create): Update commit registration call. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/model.py: |
| (Model.__init__): commit_context may now post-process uploads. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/repository.py: |
| (Repository.commit): Add call to return new-style commits. |
| (StashRepository.commit): Ditto. |
| (WebKitRepository.commit): Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/repository_unittest.py: |
| (RepositoryTest.test_svn): |
| (RepositoryTest.test_ref_svn): |
| (RepositoryTest.test_stash): |
| (RepositoryTest.test_ref_stash): |
| (RepositoryTest.test_colliding_timestamps_stash): |
| (RepositoryTest.test_branch_stash): |
| (RepositoryTest.test_branch_svn): Deleted. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/upload_context_unittest.py: |
| (UploadContextTest.test_callback): |
| (UploadContextTest.test_async_callback): |
| * Scripts/libraries/resultsdbpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/commit.py: |
| (Commit): Handle single email passed to contributor. |
| |
| 2021-03-16 Jonathan Bedard <jbedard@apple.com> |
| |
| [resultsdbpy] Allow user to change commit representation |
| https://bugs.webkit.org/show_bug.cgi?id=223215 |
| <rdar://problem/75446602> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/resultsdbpy/resultsdbpy/__init__.py: Bump version. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/api_routes.py: |
| (APIRoutes.__init__): Add commit representations endpoint. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/commit_controller.py: |
| (CommitController.representations): Add commit representations endpoint. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/repository.py: |
| (Repository.representations): Return prioritized commit representation. |
| (StashRepository.representations): Ditto. |
| (WebKitRepository.representations): Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/commit.js: |
| (Commit.prototype.label): Change the commit representation based on global settings. |
| (_CommitBank): |
| (_CommitBank.prototype.commitRepresentations): Check the commit representation cookie, then |
| the representation endpoint. |
| (_CommitBank.prototype.setCommitRepresentation): Set the commit representation cookie. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/drawer.js: |
| (CommitRepresentation): Drawer control allowing user to change commit representation for repositories. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/templates/commits.html: Add new control. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/templates/documentation.html: Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/templates/search.html: Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/templates/suite_results.html: Ditto. |
| * Scripts/libraries/resultsdbpy/setup.py: Bump version. |
| |
| 2021-03-16 Devin Rousso <drousso@apple.com> |
| |
| [macOS] change for the language/subtitle tracks button to use an `NSMenu` instead of web content |
| https://bugs.webkit.org/show_bug.cgi?id=223239 |
| <rdar://problem/75462340> |
| |
| Reviewed by Eric Carlson. |
| |
| * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: |
| * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: |
| (-[TestRunnerWKWebView _didShowContextMenu]): |
| (-[TestRunnerWKWebView _didDismissContextMenu]): |
| (-[TestRunnerWKWebView resetInteractionCallbacks]): |
| * WebKitTestRunner/cocoa/UIScriptControllerCocoa.h: |
| * WebKitTestRunner/cocoa/UIScriptControllerCocoa.mm: |
| (WTR::UIScriptControllerCocoa::setDidShowContextMenuCallback): Added. |
| (WTR::UIScriptControllerCocoa::setDidDismissContextMenuCallback): Added. |
| (WTR::UIScriptControllerCocoa::isShowingContextMenu const): Added. |
| * WebKitTestRunner/ios/UIScriptControllerIOS.h: |
| * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| (WTR::UIScriptControllerIOS::setDidShowContextMenuCallback): Deleted. |
| (WTR::UIScriptControllerIOS::setDidDismissContextMenuCallback): Deleted. |
| (WTR::UIScriptControllerIOS::isShowingContextMenu const): Deleted. |
| Move these methods so they can be used on macOS too. |
| |
| 2021-03-16 Kimmo Kinnunen <kkinnunen@apple.com> |
| |
| Make WebGL conformance test update script more usable and consistent |
| https://bugs.webkit.org/show_bug.cgi?id=223112 |
| |
| Reviewed by Kenneth Russell. |
| |
| Moves the script LayoutTests/webgl/generate-webgl-tests over |
| unused and stale Tools/Scripts/update-webgl-conformance-tests |
| |
| Fixes the script to: |
| - to support generation of the test driver .html files with webglVersion=2 |
| - copy the webgl conformance test files once to webgl/resources/webgl_test_files. |
| Previously they were copied twice, 1.0.3/resources/.. and 2.0.0/resources |
| - to support copying all the tests at the same time. Previously each |
| individual suites (1.0.3, 2.0.0) would be copied |
| in different invocations, leading to errors and omissions to run when |
| something changes, such as the templates. |
| - supports generation of the directories from scratch, so that no stale files |
| such as expectations, driver .html files or test suite content is left. |
| - automatically filter files that do not need to be copied (deqp/compiler.jar, ...) |
| - try to adopt a style somewhat consistent with other WebKit python scripts |
| - copy to upcoming 1.0.4 and 2.0.1 instead of old 1.0.3/2.0.0. |
| |
| * Scripts/update-webgl-conformance-tests: |
| * Scripts/webkitpy/to_be_moved/__init__.py: Removed. |
| * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py: Removed. |
| * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests_unittest.py: Removed. |
| * Scripts/webkitpy/update_webgl_conformance_tests_lib/main.py: Added. |
| (_make_ignore_fnmatch_rule_matcher): |
| (_make_ignore_fnmatch_rule_matcher.match_rules): |
| (_copy_tree): |
| (_WebGLTest): |
| (_parse_webgl_tests): |
| (_filter_webgl_test_paths_for_suite_version): |
| (_generate_webkit_webgl_tests): |
| (_find_expectations_for_removed_tests): |
| (main): |
| * Scripts/webkitpy/update_webgl_conformance_tests_lib/webgl-expectation-template.txt: Renamed from LayoutTests/webgl/resources/webgl-expectation-template.txt. |
| * Scripts/webkitpy/update_webgl_conformance_tests_lib/webgl-test-driver-template.html: Renamed from LayoutTests/webgl/resources/webgl-wrapper-template.html. |
| * Scripts/webkitpy/update_webgl_conformance_tests_lib/webkit-webgl-test-harness-template.js: Added. |
| (window.layoutTestController.window.console.log): |
| (window.layoutTestController.window.console.error): |
| (list): |
| (log): |
| (window.webglTestHarness.reportResults): |
| (window.webglTestHarness.notifyFinished): |
| |
| 2021-03-16 John Wilander <wilander@apple.com> |
| |
| PCM: Test infrastructure for sending attribution reports to attribution website too |
| https://bugs.webkit.org/show_bug.cgi?id=223238 |
| <rdar://problem/75462031> |
| |
| Reviewed by Brent Fulgham. |
| |
| setPrivateClickMeasurementAttributionReportURLForTesting() now is named |
| setPrivateClickMeasurementAttributionReportURLsForTesting() in the layers that |
| eventually reach WebKit::PrivateClickMeasurementManager. It takes two URLs |
| attributionReportSourceURL and attributionReportAttributeOnURL and sets them |
| in a new struct AttributionReportTestConfig. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm: |
| (TestWebKitAPI::TEST): |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setPrivateClickMeasurementAttributionReportURLsForTesting): |
| (WTR::TestRunner::setPrivateClickMeasurementAttributionReportURLForTesting): Deleted. |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::setPrivateClickMeasurementAttributionReportURLsForTesting): |
| (WTR::TestController::setPrivateClickMeasurementAttributionReportURLForTesting): Deleted. |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| |
| 2021-03-16 Jonathan Bedard <jbedard@apple.com> |
| |
| [git-webkit] Showing help instead of raising an exception with no command |
| https://bugs.webkit.org/show_bug.cgi?id=223235 |
| <rdar://problem/75480951> |
| |
| Reviewed by Ryosuke Niwa. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py: |
| (main): |
| |
| 2021-03-16 Aakash Jain <aakash_jain@apple.com> |
| |
| EWS is not showing filtered errors view |
| https://bugs.webkit.org/show_bug.cgi?id=223251 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (BuildLogLineObserver.outLineReceived): Use for loop instead of map. |
| |
| 2021-03-16 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Remove old Python 2 related code - part 2 |
| https://bugs.webkit.org/show_bug.cgi?id=222975 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps_unittest.py: |
| |
| 2021-03-16 Per Arne <pvollan@apple.com> |
| |
| Add signpost for injected bundle creation |
| https://bugs.webkit.org/show_bug.cgi?id=223068 |
| |
| Reviewed by Alex Christensen. |
| |
| Add injected bundle signposts to .plist file. |
| |
| * Tracing/SystemTracePoints.plist: |
| |
| 2021-03-16 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Decode multiple commit representations |
| https://bugs.webkit.org/show_bug.cgi?id=223224 |
| <rdar://problem/75455129> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/commit.py: |
| (Commit.from_json): Decode old results database style commit representations. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/commit_unittest.py: |
| |
| 2021-03-16 Dean Johnson <dean_johnson@apple.com> |
| |
| [prepare-ChangeLog] Assigning a multiline comment to a variable breaks change detection |
| https://bugs.webkit.org/show_bug.cgi?id=223225 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/prepare-ChangeLog: |
| (get_function_line_ranges_for_python): Remove '^' prefix from regex so we match multiline |
| strings assigned to variables. |
| * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests-expected.txt: |
| * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/python_unittests.py: Add multiline string |
| variable definition, which previously would cause prepare-ChangeLog to parse the remainder of the file |
| as a multiline comment. Also add a new test to ensure it's not skipped by multiline logic. |
| (Class8.__init__): |
| (Class9): |
| |
| 2021-03-16 Carlos Alberto Lopez Perez <clopez@igalia.com> |
| |
| [EWS] run-layout-tests-without-patch step should only retry the tests that failed on the previous steps. |
| https://bugs.webkit.org/show_bug.cgi?id=219500 |
| |
| Reviewed by Aakash Jain. |
| |
| On the step to retry running the layout tests without patch only |
| run the subset of tests that failed on the previous steps. |
| But only do that if the previous steps didn't exceed the test |
| failure limit and the patch doesn't modify the TestExpectations files. |
| |
| This helps to speed up the test times on the EWS when the patch |
| doesn't pass on the first try. |
| |
| * CISupport/ews-build/steps.py: |
| (RunWebKitTests.start): |
| |
| 2021-03-16 Lauro Moura <lmoura@igalia.com> |
| |
| [GTK] Add GTK4 tests expectations |
| https://bugs.webkit.org/show_bug.cgi?id=222907 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| Check whether we are using a GTK4 build to automatically enable the |
| platform/gtk4 expectations. This is done checking the |
| presence of either libwebkit2gtk-4.0.so or libwebkit2gtk-5.0.so, so it |
| works on binary-only deployments like the testing bots. |
| |
| * Scripts/webkitpy/port/gtk.py: |
| (GtkPort._search_paths): |
| (GtkPort._is_gtk4_build): |
| * Scripts/webkitpy/port/gtk_unittest.py: |
| (GtkPortTest.test_gtk4_expectations_binary_only): |
| (GtkPortTest.test_gtk3_expectations_binary_only): |
| (GtkPortTest.test_gtk_expectations_both_binaries): |
| |
| 2021-03-16 Youenn Fablet <youenn@apple.com> |
| |
| Add a new delegate for geolocation permission |
| https://bugs.webkit.org/show_bug.cgi?id=223183 |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm: |
| (-[GeolocationDelegateNew _webView:requestGeolocationPermissionForOrigin:initiatedByFrame:decisionHandler:]): |
| (testDidResignInputElementStrongPasswordAppearanceAfterEvaluatingJavaScript): Deleted. |
| (tabEvent): Deleted. |
| (synthesizeTab): Deleted. |
| (synthesizeWheelEvents): Deleted. |
| |
| 2021-03-15 Alex Christensen <achristensen@webkit.org> |
| |
| REGRESSION: (r255611) [ Mac ] 3 lldb tests failing related to HashMap |
| https://bugs.webkit.org/show_bug.cgi?id=207204 |
| |
| Reviewed by Simon Fraser. |
| |
| In r255780 I removed WebKit LLDB support for HashTables because the LLDB python API doesn't have a way to |
| do the equivalent of reinterpret_cast. With clever use of a union, I can get a pointer to the table and |
| tell LLDB it is actually a pointer to an unsigned integer array. Then, using pointer->unsigned->pointer |
| transformations I can dereference a negative index. It's gross, but it works and makes the tests pass again. |
| |
| * lldb/lldb_webkit.py: |
| (__lldb_init_module): |
| (__lldb_init_module.lldb_webkit): |
| (WTFHashTable_SummaryProvider): |
| (WTFHashMap_SummaryProvider): |
| (WTFHashSet_SummaryProvider): |
| (WTFHashMapProvider): |
| (WTFHashMapProvider.__init__): |
| (WTFHashMapProvider.tableSize): |
| (WTFHashMapProvider.keyCount): |
| (WTFHashSetProvider): |
| (WTFHashSetProvider.__init__): |
| (WTFHashSetProvider.tableSize): |
| (WTFHashSetProvider.keyCount): |
| (WTFHashTableProvider): |
| (WTFHashTableProvider.__init__): |
| (WTFHashTableProvider.metadataWithIndex): |
| (WTFHashTableProvider.tableSize): |
| (WTFHashTableProvider.keyCount): |
| (WTFHashTableProvider.num_children): |
| (WTFHashTableProvider.get_child_index): |
| (WTFHashTableProvider.get_child_at_index): |
| (WTFHashTableProvider.update): |
| (WTFHashTableProvider.has_children): |
| * lldb/lldb_webkit_unittest.py: |
| (TestSummaryProviders): |
| (TestSummaryProviders.serial_test_WTFHashMap_tablesize_and_size): |
| (TestSummaryProviders.serial_test_WTFHashMap_of_vectors_tablesize_and_size): |
| (TestSummaryProviders.serial_test_WTFHashSet_tablesize_and_size): |
| |
| 2021-03-15 Jer Noble <jer.noble@apple.com> |
| |
| [WK2] Can get stuck in fullscreen mode if node is removed prior to receiving willEnterFullscreen() |
| https://bugs.webkit.org/show_bug.cgi?id=223218 |
| <rdar://75009548> |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/FullscreenRemoveNodeBeforeEnter.mm: Added. |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-15 Alex Christensen <achristensen@webkit.org> |
| |
| REGRESSION(r271642) Another app was relying on DOMWindow reuse |
| https://bugs.webkit.org/show_bug.cgi?id=223217 |
| <rdar://75186172> |
| |
| Reviewed by Geoff Garen. |
| |
| * TestWebKitAPI/Tests/mac/JSWrapperForNodeInWebFrame.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-15 John Wilander <wilander@apple.com> |
| |
| PCM: Split attributionReportURL() into attributionReportSourceURL() and attributionReportAttributeOnURL() |
| https://bugs.webkit.org/show_bug.cgi?id=223210 |
| <rdar://problem/75442246> |
| |
| Reviewed by Brent Fulgham. |
| |
| This patch splits WebCore::PrivateClickMeasurement::attributionReportURL() into |
| WebCore::PrivateClickMeasurement::attributionReportSourceURL() and |
| WebCore::PrivateClickMeasurement::attributionReportAttributeOnURL() to |
| facilitate sending attribution reports to both the click source and destination. |
| |
| * TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp: |
| (TestWebKitAPI::TEST): |
| Updated to use the new functions and also not repeat tests of static |
| data. |
| |
| 2021-03-15 Aakash Jain <aakash_jain@apple.com> |
| |
| Delete unused build-launcher-dmg script |
| https://bugs.webkit.org/show_bug.cgi?id=222923 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * CISupport/build-launcher-dmg: Removed. |
| |
| 2021-03-15 Kimmo Kinnunen <kkinnunen@apple.com> |
| |
| WebGL IPC should use shared memory for synchronous messages |
| https://bugs.webkit.org/show_bug.cgi?id=220974 |
| <rdar://problem/73876947> |
| |
| Reviewed by Geoffrey Garen. |
| |
| Mark PrepareForDisplay() as "not replyable through the stream" |
| since it replies with MachSendRight. |
| |
| * Scripts/generate-gpup-webgl: |
| |
| 2021-03-15 Youenn Fablet <youenn@apple.com> |
| |
| Update getUserMedia delegate to expose frame info |
| https://bugs.webkit.org/show_bug.cgi?id=223178 |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/Tests/WebKit/GetUserMedia.mm: |
| (-[UserMediaCaptureUIDelegateForParameters _webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:audio:video:decisionHandler:]): |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaNavigation.mm: |
| (-[NavigationWhileGetUserMediaPromptDisplayedUIDelegate _webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:audio:video:decisionHandler:]): |
| (-[NavigationWhileGetUserMediaPromptDisplayedUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/SpeechRecognition.mm: |
| (-[SpeechRecognitionUIDelegate _webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:audio:video:decisionHandler:]): |
| (-[SpeechRecognitionUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/UserMediaDisabled.mm: |
| (-[UserMediaUIDelegate _webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:audio:video:decisionHandler:]): |
| (-[UserMediaUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): Deleted. |
| * TestWebKitAPI/Tests/WebKitCocoa/UserMediaSimulateFailedSandbox.mm: |
| (-[SimulateFailedSandboxUIDelegate _webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:audio:video:decisionHandler:]): |
| (-[SimulateFailedSandboxUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): Deleted. |
| * TestWebKitAPI/cocoa/UserMediaCaptureUIDelegate.h: |
| * TestWebKitAPI/cocoa/UserMediaCaptureUIDelegate.mm: |
| (-[UserMediaCaptureUIDelegate _webView:requestMediaCapturePermissionForOrigin:initiatedByFrame:audio:video:decisionHandler:]): |
| (-[UserMediaCaptureUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): Deleted. |
| |
| 2021-03-15 Lauro Moura <lmoura@igalia.com> |
| |
| [GLIB] Filter cppfilt output when generating crash logs |
| https://bugs.webkit.org/show_bug.cgi?id=223171 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| Like the output from other external commands, the output of cppfilt |
| must also be decoded. |
| |
| This should fix the early exits due to unicode exceptions when |
| running the GTK4 bot layout tests. |
| |
| * Scripts/webkitpy/port/linux_get_crash_log.py: |
| (GDBCrashLogGenerator.generate_crash_log): Decode cppfilt output. |
| |
| 2021-03-14 Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| [Win][WK1] Add a new API IWebPreferences::startBatchingUpdates to defer WebPreferencesChangedNotification |
| https://bugs.webkit.org/show_bug.cgi?id=223109 |
| |
| Reviewed by Sam Weinig. |
| |
| * DumpRenderTree/win/DumpRenderTree.cpp: |
| (resetWebViewToConsistentStateBeforeTesting): |
| |
| 2021-03-13 Sam Sneddon <gsnedders@apple.com> |
| |
| Move LayoutTestFinder.split_into_chunks to Manager._split_into_chunks |
| https://bugs.webkit.org/show_bug.cgi?id=223137 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py: |
| (LayoutTestFinder.split_into_chunks): |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager._split_into_chunks): |
| (Manager._prepare_lists): |
| |
| 2021-03-13 Aakash Jain <aakash_jain@apple.com> |
| |
| [build.webkit.org] run buildbot checkconfig in services ews |
| https://bugs.webkit.org/show_bug.cgi?id=222687 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (RunBuildbotCheckConfigForEWS): Renamed from RunEWSBuildbotCheckConfig. |
| (RunBuildbotCheckConfigForBuildWebKit): Build step to run buildbot checkconfig for build.webkit.org |
| * CISupport/ews-build/factories.py: |
| (ServicesFactory.__init__): Added build step to run buildbot checkconfig for build.webkit.org |
| * CISupport/ews-build/steps_unittest.py: Added and updated unit-tests. |
| * CISupport/ews-build/factories_unittest.py: Updated unit-tests. |
| |
| 2021-03-12 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| REGRESSION(r274270): [WPE][GTK] Broke Epiphany test /embed/ephy-web-view/error-pages-not-stored-in-history |
| https://bugs.webkit.org/show_bug.cgi?id=223140 |
| |
| Reviewed by Alex Christensen. |
| |
| Improve WebKitSecurityOrigin tests a bit. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp: |
| (testCustomProtocolOrigin): Drive-by improvement: check webkit_security_origin_to_string(). |
| (testBogusURI): Added, tests for this bug. |
| (beforeAll): |
| |
| 2021-03-12 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| [macOS] MobileAsset fonts are broken in Reader mode in Safari |
| https://bugs.webkit.org/show_bug.cgi?id=223062 |
| |
| Reviewed by Simon Fraser. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKit/FontRegistrySandboxCheck.mm: Copied from Source/WebKit/WebProcess/playstation/WebProcessPlayStation.cpp. |
| (TEST): |
| |
| 2021-03-12 Youenn Fablet <youenn@apple.com> |
| |
| Enable video capture in GPUProcess by default on iOS |
| https://bugs.webkit.org/show_bug.cgi?id=223061 |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm: |
| (-[GetUserMediaRepromptTestView haveStream:]): |
| Upgrade timeout period as GPU process capture might take longer. |
| |
| 2021-03-12 Jonathan Bedard <jbedard@apple.com> |
| |
| REGRESSION: two webkitscmpy.test.svn_unittest.TestRemoteSvn tests are flaky failures |
| https://bugs.webkit.org/show_bug.cgi?id=223006 |
| |
| Reviewed by Aakash Jain. |
| |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/svn.py: |
| (Svn.request): Hard-code timezone delta for Subversion server. |
| |
| 2021-03-12 Alicia Boya GarcÃa <aboya@igalia.com> |
| |
| Unreviewed: Update Alicia's status to reviewer |
| https://bugs.webkit.org/show_bug.cgi?id=223114 |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2021-03-12 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK] Bump API version when building with libsoup3 |
| https://bugs.webkit.org/show_bug.cgi?id=223067 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| Use WEBKITGTK_API_DOC_VERSION instead of WEBKITGTK_API_VERSION. |
| |
| * gtk/manifest.txt.in: |
| |
| 2021-03-11 Sihui Liu <sihui_liu@appe.com> |
| |
| Add some logging to help debug flaky quota tests |
| https://bugs.webkit.org/show_bug.cgi?id=222995 |
| |
| Reviewed by Youenn Fablet. |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setQuotaLoggingEnabled): |
| (WTR::TestRunner::setIsSpeechRecognitionPermissionGranted): |
| (WTR::TestRunner::setIsMediaKeySystemPermissionGranted): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::setQuotaLoggingEnabled): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| |
| 2021-03-11 Amir Mark Jr <amir_mark@apple.com> |
| |
| Adding myself as a committer in the contributors file |
| N/A |
| |
| N/A |
| |
| * Scripts/webkitpy/common/config/contributors.json: Added myself as a committer |
| |
| 2021-03-11 Chris Dumez <cdumez@apple.com> |
| |
| Introduce WorkQueue::main() to get the main thread's work queue |
| https://bugs.webkit.org/show_bug.cgi?id=223087 |
| |
| Reviewed by Geoffrey Garen. |
| |
| Introduce WorkQueue::main() to get the main thread's work queue. This allows us to port some more code from |
| dispatch_queue to WorkQueue. It also simplifies some code that has to deal that sometimes needs to run on |
| the main thread and other times on a background queue. Having a single WorkQueue type to represent both the |
| main thread and a background queue makes writing such code more convenient. |
| |
| * DumpRenderTree/ios/UIScriptControllerIOS.mm: |
| (WTR::UIScriptControllerIOS::doAsyncTask): |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (-[DumpRenderTree _webThreadInvoked]): |
| * DumpRenderTree/mac/UIScriptControllerMac.mm: |
| (WTR::UIScriptControllerMac::doAsyncTask): |
| (WTR::UIScriptControllerMac::activateDataListSuggestion): |
| (WTR::UIScriptControllerMac::removeViewFromWindow): |
| (WTR::UIScriptControllerMac::addViewToWindow): |
| * WebKitTestRunner/mac/UIScriptControllerMac.mm: |
| (WTR::UIScriptControllerMac::activateDataListSuggestion): |
| (WTR::UIScriptControllerMac::chooseMenuAction): |
| (WTR::UIScriptControllerMac::activateAtPoint): |
| |
| 2021-03-11 Alex Christensen <achristensen@webkit.org> |
| |
| Revert r260302 |
| https://bugs.webkit.org/show_bug.cgi?id=223048 |
| |
| Reviewed by Geoffrey Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (TestWebKitAPI::clientCertServer): Deleted. |
| (TestWebKitAPI::BlockPtr<void): Deleted. |
| (TestWebKitAPI::countClientCertChallenges): Deleted. |
| |
| 2021-03-11 Mark Lam <mark.lam@apple.com> |
| |
| Use tagged pointers in more places in the MetaAllocator code. |
| https://bugs.webkit.org/show_bug.cgi?id=223055 |
| rdar://69971224 |
| |
| Reviewed by Saam Barati. |
| |
| * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp: |
| |
| 2021-03-11 Chris Dumez <cdumez@apple.com> |
| |
| Introduce WorkQueue::dispatchSync() |
| https://bugs.webkit.org/show_bug.cgi?id=223049 |
| |
| Reviewed by Alex Christensen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp: |
| (WebKitTestServer::run): |
| |
| 2021-03-11 Alex Christensen <achristensen@webkit.org> |
| |
| REGRESSION(r272293) WebArchives originally loaded over HTTP fail to load subresources that would be upgraded to HTTPS |
| https://bugs.webkit.org/show_bug.cgi?id=223044 |
| <rdar://75228599> |
| |
| Reviewed by Chris Dumez. |
| |
| * TestWebKitAPI/Tests/mac/LoadWebArchive.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-11 Sihui Liu <sihui_liu@apple.com> |
| |
| Text manipulation: ignore leading and trailing spaces when comparing content for all tokens |
| https://bugs.webkit.org/show_bug.cgi?id=223057 |
| <rdar://73706436> |
| |
| Reviewed by Ryosuke Niwa. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-11 Imanol Fernandez <ifernandez@igalia.com> |
| |
| Fix contributors file canonical format issue. |
| |
| Unreviewed. |
| |
| * Scripts/webkitpy/common/config/contributors.json: Fix canonical format issue. |
| |
| 2021-03-11 Imanol Fernandez <ifernandez@igalia.com> |
| |
| Add myself as committer in the contributors file. |
| |
| Unreviewed. |
| |
| * Scripts/webkitpy/common/config/contributors.json: Added myself as committer. |
| |
| 2021-03-11 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| REGRESSION(r272469): [WPE][GTK] Epiphany UI process crashes when downloading PDFs, WebKitSecurityOrigin should use SecurityOriginData |
| https://bugs.webkit.org/show_bug.cgi?id=222943 |
| |
| Reviewed by Alex Christensen. |
| |
| Add a test to ensure security origins can be successfully created for custom protocols. |
| Also, update the tests to accomodate the deprecation of webkit_security_origin_is_opaque(). |
| Notably, origins for data:// URIs are no longer special. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp: |
| (testSecurityOriginBasicConstructor): |
| (testSecurityOriginURIConstructor): |
| (testSecurityOriginDefaultPort): |
| (testSecurityOriginFileURI): |
| (testSecurityOriginDataURI): |
| (testCustomProtocolOrigin): |
| (beforeAll): |
| (testOpaqueSecurityOrigin): Deleted. |
| |
| 2021-03-10 Chris Dumez <cdumez@apple.com> |
| |
| Use RetainPtr<> / OSObjectPtr<> more in WebKit |
| https://bugs.webkit.org/show_bug.cgi?id=223030 |
| |
| Reviewed by Darin Adler. |
| |
| * DumpRenderTree/cg/PixelDumpSupportCG.cpp: |
| (createBitmapContext): |
| * DumpRenderTree/cg/PixelDumpSupportCG.h: |
| (BitmapContext::createByAdoptingBitmapAndContext): |
| (BitmapContext::BitmapContext): |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (WebThreadLockAfterDelegateCallbacksHaveCompleted): |
| * DumpRenderTree/win/PixelDumpSupportWin.cpp: |
| (createBitmapContextFromWebView): |
| * ImageDiff/ImageDiff.xcodeproj/project.pbxproj: |
| * ImageDiff/cg/PlatformImageCG.cpp: |
| (ImageDiff::PlatformImage::pixels const): |
| * WebKitTestRunner/cg/TestInvocationCG.cpp: |
| (WTR::createCGContextFromCGImage): |
| (WTR::createCGContextFromImage): |
| (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): |
| |
| 2021-03-10 Jonathan Bedard <jbedard@apple.com> |
| |
| [git-webkit] Make identifier last string in 'find' |
| https://bugs.webkit.org/show_bug.cgi?id=223031 |
| <rdar://problem/75272100> |
| |
| Reviewed by Ryosuke Niwa. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/program/find.py: |
| (Info.main): |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py: |
| |
| 2021-03-10 Jonathan Bedard <jbedard@apple.com> |
| |
| [resultsdbpy] Make client aware of hashes and revisions |
| https://bugs.webkit.org/show_bug.cgi?id=223001 |
| <rdar://problem/75237812> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/resultsdbpy/resultsdbpy/__init__.py: Bump version. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/commit.js: |
| (Commit): Support both "id" and "identifier" in constructor. |
| (Commit.prototype.repr): Centralize string representation of commit. |
| (_CommitBank.prototype._loadSiblings): |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/investigate.js: |
| (commitsForUuid): Use repr(). |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/static/js/timeline.js: |
| (xAxisFromScale): Use repr(). |
| (TimelineFromEndpoint.prototype.render.onDotEnterFactory): Ditto. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/templates/commits.html: Convert JSON to Commit object. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/templates/investigate.html: Use repr(). |
| * Scripts/libraries/resultsdbpy/setup.py: Bump version. |
| |
| 2021-03-10 Chris Dumez <cdumez@apple.com> |
| |
| Improve AppleLanguagesTest.UpdateAppleLanguages API test |
| https://bugs.webkit.org/show_bug.cgi?id=223037 |
| |
| Reviewed by Per Arne Vollan. |
| |
| Made the following improvements to the test: |
| 1. Use 'en-GB' initially instead of 'en-US'. Our bots use 'en-US' by default so this makes |
| sure we are indeed able to change the system language. |
| 2. Make it so that the test no longer times out if the languageevent fires but navigator.language |
| returns an unexpected language. This was done by using [TestWKWebView performAfterReceivingAnyMessage:] |
| instead of [TestWKWebView performAfterMessage:action:]. |
| 3. Add an internal timeout handling in the test instead of relying on the test suite's timeout. |
| Without this, we would fail to reset the system's language at the end of the test in case |
| of a timeout. |
| |
| * TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm: |
| (TEST_F): |
| * TestWebKitAPI/cocoa/TestWKWebView.h: |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| (-[TestMessageHandler setWildcardMessageHandler:]): |
| (-[TestMessageHandler userContentController:didReceiveScriptMessage:]): |
| (-[TestWKWebView performAfterReceivingAnyMessage:]): |
| |
| 2021-03-10 Adrian Perez de Castro <aperez@igalia.com> |
| |
| [WPE][GTK] Running Tools/gtk/install-dependencies installs too many packages on Debian/Ubuntu |
| https://bugs.webkit.org/show_bug.cgi?id=223036 |
| |
| Reviewed by Don Olmstead. |
| |
| Avoid installing unneeded packages by passing --no-install-recommends to apt-get |
| invocations. While at it, also make sure to always pass -y to make the installation |
| non-interactive. |
| |
| * gtk/install-dependencies: |
| * wpe/install-dependencies: |
| |
| 2021-03-10 Brent Fulgham <bfulgham@apple.com> |
| |
| [Cocoa] Add additional bundle ID property to WKWebViewConfiguration |
| https://bugs.webkit.org/show_bug.cgi?id=222919 |
| <rdar://problem/75013854> |
| |
| Reviewed by Alex Christensen. |
| |
| Update existing SettingNonPersistentDataStorePathsThrowsException test with new property. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-10 Sam Sneddon <gsnedders@apple.com> |
| |
| Adding Python type annotations to test_expectations.py |
| https://bugs.webkit.org/show_bug.cgi?id=222770 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/webkitpy/layout_tests/models/test_expectations.py: |
| (ParseError.__init__): |
| (ParseError.__str__): |
| (ParseError.__repr__): |
| (TestExpectationWarning.__init__): |
| (TestExpectationParser): |
| (TestExpectationParser.__init__): |
| (TestExpectationParser.parse): |
| (TestExpectationParser.expectation_for_skipped_test): |
| (TestExpectationParser._parse_line): |
| (TestExpectationParser._parse_modifiers): |
| (TestExpectationParser._parse_expectations): |
| (TestExpectationParser._check_test_exists): |
| (TestExpectationParser._collect_matching_tests): |
| (TestExpectationParser._tokenize_line): |
| (TestExpectationLine): |
| (TestExpectationLine.__init__): |
| (TestExpectationLine.__str__): |
| (TestExpectationLine.is_invalid): |
| (TestExpectationLine.is_flaky): |
| (TestExpectationLine.expected_behavior): |
| (TestExpectationLine.create_passing_expectation): |
| (TestExpectationLine.to_string): |
| (TestExpectationLine._serialize_parsed_expectations): |
| (TestExpectationLine._serialize_parsed_modifiers): |
| (TestExpectationLine._format_line): |
| (TestExpectationsModel): |
| (TestExpectationsModel.__init__): |
| (TestExpectationsModel._dict_of_sets): |
| (TestExpectationsModel.get_test_set): |
| (TestExpectationsModel.get_test_set_for_keyword): |
| (TestExpectationsModel.get_tests_with_result_type): |
| (TestExpectationsModel.get_tests_with_timeline): |
| (TestExpectationsModel.get_modifiers): |
| (TestExpectationsModel.has_modifier): |
| (TestExpectationsModel.has_keyword): |
| (TestExpectationsModel.has_test): |
| (TestExpectationsModel.get_expectation_line): |
| (TestExpectationsModel.get_expectations): |
| (TestExpectationsModel.get_expectations_or_pass): |
| (TestExpectationsModel.expectations_to_string): |
| (TestExpectationsModel.get_expectations_string): |
| (TestExpectationsModel.expectation_to_string): |
| (TestExpectationsModel.add_expectation_line): |
| (TestExpectationsModel._add_test): |
| (TestExpectationsModel._clear_expectations_for_test): |
| (TestExpectationsModel._remove_from_sets): |
| (TestExpectationsModel._already_seen_better_match): |
| (TestExpectations): |
| (TestExpectations.expectation_from_string): |
| (TestExpectations.result_was_expected): |
| (TestExpectations.remove_pixel_failures): |
| (TestExpectations.remove_leak_failures): |
| (TestExpectations.has_pixel_failures): |
| (TestExpectations.suffixes_for_expectations): |
| (TestExpectations.__init__): |
| (TestExpectations.readable_filename_and_line_number): |
| (TestExpectations.parse_generic_expectations): |
| (TestExpectations.parse_default_port_expectations): |
| (TestExpectations.parse_override_expectations): |
| (TestExpectations.parse_all_expectations): |
| (TestExpectations.model): |
| (TestExpectations.get_rebaselining_failures): |
| (TestExpectations.filtered_expectations_for_test): |
| (TestExpectations.matches_an_expected_result): |
| (TestExpectations.is_rebaselining): |
| (TestExpectations._shorten_filename): |
| (TestExpectations._report_warnings): |
| (TestExpectations._process_tests_without_expectations): |
| (TestExpectations.has_warnings): |
| (TestExpectations.remove_configuration_from_test): |
| (TestExpectations.remove_rebaselined_tests): |
| (TestExpectations.remove_rebaselined_tests.without_rebaseline_modifier): |
| (TestExpectations._add_expectations): |
| (TestExpectations.add_skipped_tests): |
| (TestExpectations.list_to_string): |
| (TestExpectations.serialize): |
| (TestExpectations.nones_out): |
| |
| 2021-03-10 Sam Sneddon <gsnedders@apple.com> |
| |
| Mark myself as a committer. |
| |
| Unreviewed. |
| |
| Also claim I know about webkitpy. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2021-03-10 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| [GTK] Reenable -fvisibility=hidden |
| https://bugs.webkit.org/show_bug.cgi?id=181916 |
| |
| Reviewed by Don Olmstead. |
| |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/glib/TestExpectations.json: |
| |
| 2021-03-10 Jonathan Bedard <jbedard@apple.com> |
| |
| git-webkit should have an "info" command |
| https://bugs.webkit.org/show_bug.cgi?id=222846 |
| <rdar://problem/75171053> |
| |
| Reviewed by Ryosuke Niwa. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py: |
| (main): Add Info command. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/program/find.py: |
| (Info): |
| (Info.parser): Moved from Find.parser, exclude argument. |
| (Info.main): Moved from Find.main, add a default reference. |
| (Find): |
| (Find.parser): Invoke Info.parser. |
| (Find.main): Invoke Info.main with user's specified reference. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py: |
| |
| 2021-03-10 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| [WPE][GTK] Introduce NeedsUnbrandedUserAgent quirk and use it for accounts.google.com, docs.google.com, and drive.google.com |
| https://bugs.webkit.org/show_bug.cgi?id=222978 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp: |
| (TestWebKitAPI::assertUserAgentForURLHasEmptyQuirk): |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::assertUserAgentForURLHasLinuxPlatformQuirk): Deleted. |
| |
| 2021-03-10 Aakash Jain <aakash_jain@apple.com> |
| |
| [build.webkit.org] Update RunJavaScriptCoreTests step for new buildbot |
| https://bugs.webkit.org/show_bug.cgi?id=223011 |
| |
| Reviewed by Dewei Zhu. |
| |
| * CISupport/build-webkit-org/steps.py: |
| (RunJavaScriptCoreTests.start): Used logobserver. |
| (RunJavaScriptCoreTests.countFailures): |
| * CISupport/build-webkit-org/steps_unittest.py: |
| (TestRunJavaScriptCoreTests.test_success): Added unit-test. |
| (TestRunJavaScriptCoreTests.test_failure): Ditto. |
| |
| 2021-03-10 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r274166. |
| https://bugs.webkit.org/show_bug.cgi?id=223024 |
| |
| Broke GTK Debug builds |
| |
| Reverted changeset: |
| |
| "[GTK] Reenable -fvisibility=hidden" |
| https://bugs.webkit.org/show_bug.cgi?id=181916 |
| https://trac.webkit.org/changeset/274166 |
| |
| 2021-03-09 Don Olmstead <don.olmstead@sony.com> |
| |
| GLib JSC API headers should only include other GLib JSC API headers |
| https://bugs.webkit.org/show_bug.cgi?id=222803 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Update the includes and include directories. |
| |
| * MiniBrowser/wpe/CMakeLists.txt: |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/PlatformWPE.cmake: |
| * TestWebKitAPI/Tests/JavaScriptCore/glib/TestJSC.cpp: |
| * TestWebKitAPI/glib/PlatformGTK.cmake: |
| * TestWebKitAPI/glib/PlatformWPE.cmake: |
| |
| 2021-03-09 Alex Christensen <achristensen@webkit.org> |
| |
| HTTPS upgrade should allow same-site redirects from HTTPS to HTTP |
| https://bugs.webkit.org/show_bug.cgi?id=222994 |
| <rdar://75159643> |
| |
| Reviewed by Geoff Garen. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm: |
| (TEST): |
| |
| 2021-03-09 Chris Dumez <cdumez@apple.com> |
| |
| [ BigSur wk2 arm64 ] quite a few fast/forms (Layout-Tests) are text failing on Apple Silicon |
| https://bugs.webkit.org/show_bug.cgi?id=222988 |
| <rdar://problem/75230416> |
| |
| Unreviewed, disable AppleLanguagesTest.UpdateAppleLanguages API test on Apple Silicon since |
| it is timing out there and not properly resetting the system language. This is causing |
| trouble on the bots. |
| |
| * TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm: |
| |
| 2021-03-09 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| MotionMark scores are super sensitive to a single long frame |
| https://bugs.webkit.org/show_bug.cgi?id=220847 |
| <rdar://problem/74152743> |
| |
| Unreviewed. |
| |
| Update the plan. |
| |
| * Scripts/webkitpy/benchmark_runner/data/plans/motionmark1.1.plan: |
| |
| 2021-03-09 Chris Dumez <cdumez@apple.com> |
| |
| Stop using callOnMainThread() / isMainThread() in WebKit2 |
| https://bugs.webkit.org/show_bug.cgi?id=222986 |
| |
| Reviewed by Alex Christensen. |
| |
| Add corresponding style checker rules. |
| |
| * Scripts/webkitpy/style/checkers/cpp.py: |
| (check_no_callonmainthread): |
| (check_no_ismainthread): |
| (check_style): |
| (CppChecker): |
| |
| 2021-03-09 Aakash Jain <aakash_jain@apple.com> |
| |
| buildbot checkconfig is failing in ews after buildbot upgrade |
| https://bugs.webkit.org/show_bug.cgi?id=222974 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (RunEWSBuildbotCheckConfig.start): Set LC_ALL environment variable on bots. |
| * CISupport/ews-build/steps_unittest.py: Updated unit-tests accordingly. |
| |
| 2021-03-09 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| [GTK] Reenable -fvisibility=hidden |
| https://bugs.webkit.org/show_bug.cgi?id=181916 |
| |
| Reviewed by Don Olmstead. |
| |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/glib/TestExpectations.json: |
| |
| 2021-03-09 Mark Lam <mark.lam@apple.com> |
| |
| Use --verifyGC=true on some JSC stress test configurations. |
| https://bugs.webkit.org/show_bug.cgi?id=222289 |
| |
| Reviewed by Filip Pizlo. |
| |
| * Scripts/run-jsc-stress-tests: |
| |
| 2021-03-09 Philippe Normand <pnormand@igalia.com> |
| |
| [GStreamer][WebRTC] VideoEncoder still doesn't comply with WebKit style |
| https://bugs.webkit.org/show_bug.cgi?id=222901 |
| |
| Reviewed by Xabier Rodriguez-Calvar. |
| |
| * Scripts/webkitpy/style/checker.py: Move the GStreamer VideoEncoder to the list of custom |
| GStreamer elements complying with WebKit's coding style. |
| |
| 2021-03-09 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [macOS] Add a way to trigger webpage translation via the context menu |
| https://bugs.webkit.org/show_bug.cgi?id=222953 |
| <rdar://problem/73901967> |
| |
| Reviewed by Devin Rousso. |
| |
| Adjust an API test. This new enum value is now the new last valid item value. |
| |
| * TestWebKitAPI/Tests/WebCore/ContextMenuAction.cpp: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-08 Stephan Szabo <stephan.szabo@sony.com> |
| |
| [PlayStation] Various small fixes for TestWTF/TestWebKit tests on PlayStation |
| https://bugs.webkit.org/show_bug.cgi?id=222931 |
| |
| Reviewed by Don Olmstead. |
| |
| * TestWebKitAPI/PlatformPlayStation.cmake: Link to API for process termination |
| * TestWebKitAPI/Tests/WTF/DataMutex.cpp: Turn off test using ASSERT_DEATH |
| * TestWebKitAPI/Tests/WebKit/ReloadPageAfterCrash.cpp: Use PlayStation api to kill webprocess for this test |
| * TestWebKitAPI/playstation/PlatformWebViewPlayStation.cpp: Set size in resizeTo |
| |
| 2021-03-08 Stephan Szabo <stephan.szabo@sony.com> |
| |
| TestWebKitAPI WebKit.HitTestResultNodeHandle does not complete with ENABLE_CONTEXT_MENUS=OFF |
| https://bugs.webkit.org/show_bug.cgi?id=222938 |
| |
| Reviewed by Ross Kirsling. |
| |
| Make the test only build with context menus are supported. |
| |
| * TestWebKitAPI/Tests/WebKit/HitTestResultNodeHandle.cpp: |
| * TestWebKitAPI/Tests/WebKit/HitTestResultNodeHandle_Bundle.cpp: |
| |
| 2021-03-08 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Isolate dateutil imports |
| https://bugs.webkit.org/show_bug.cgi?id=222946 |
| <rdar://problem/75191226> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/svn.py: |
| (Svn.request): Isolate dateutil imports. |
| |
| 2021-03-08 Andres Gonzalez <andresg_22@apple.com> |
| |
| Enable accessibility/aria-invalid.html test on iOS. |
| https://bugs.webkit.org/show_bug.cgi?id=222942 |
| <rdar://problem/75188832> |
| |
| Reviewed by Chris Fleizach. |
| |
| Modified AccessibilityUIElement::stringAttributeValue to handle invalid |
| status, so that test JS can query for it. |
| |
| * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: |
| (WTR::AccessibilityUIElement::stringAttributeValue): |
| |
| 2021-03-08 Mark Lam <mark.lam@apple.com> |
| |
| JSC stress tests' $testSpecificRequiredOptions should be appended last. |
| https://bugs.webkit.org/show_bug.cgi?id=222936 |
| |
| Reviewed by Keith Miller. |
| |
| This allows each test to get the last say on what options it needs. |
| |
| * Scripts/run-jsc-stress-tests: |
| |
| 2021-03-08 Sam Weinig <weinig@apple.com> |
| |
| Add preference reseting to WebKitLegacy Windows to simplify testing reset |
| https://bugs.webkit.org/show_bug.cgi?id=222865 |
| |
| Reviewed by Brent Fulgham. |
| |
| * DumpRenderTree/win/DumpRenderTree.cpp: |
| (resetWebPreferencesToConsistentValues): |
| Call the new resetForTesting() method to ensure all values are reset back |
| to defaults for each test without have to explicitly list them. |
| |
| 2021-03-08 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Remove old Python 2 related code |
| https://bugs.webkit.org/show_bug.cgi?id=222933 |
| |
| Reviewed by Dewei Zhu. |
| |
| * CISupport/ews-build/steps.py: |
| * CISupport/build-webkit-org/steps.py: |
| |
| 2021-03-08 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Move WebGL test bot to Big Sur |
| https://bugs.webkit.org/show_bug.cgi?id=222501 |
| |
| Unreviewed infrastructure fix. |
| |
| * CISupport/build-webkit-org/config.json: Add missing architecture. |
| |
| 2021-03-08 Jonathan Bedard <jbedard@apple.com> |
| |
| [run-webkit-tests] Delete old results server code (Follow-up) |
| https://bugs.webkit.org/show_bug.cgi?id=222393 |
| <rdar://problem/74722220> |
| |
| Unreviewed follow-up fix. |
| |
| * Scripts/webkitpy/layout_tests/run_webkit_tests.py: |
| (parse_args): Re-add allowed-host. |
| |
| 2021-03-08 John Wilander <wilander@apple.com> |
| |
| PCM: Align fraud prevention token naming with issue 73 in the Privacy CG repo |
| https://bugs.webkit.org/show_bug.cgi?id=222838 |
| <rdar://75115427> |
| |
| Reviewed by Brent Fulgham. |
| |
| This patch doesn't change functionality and only aligns naming to this W3C Privacy CG issue: |
| https://github.com/privacycg/private-click-measurement/issues/73 |
| |
| Naming for PCM fraud prevention is updated like this: |
| |
| /.well-known/private-click-measurement/sign-secret-token/ changed to |
| /.well-known/private-click-measurement/sign-unlinkable-token/ |
| |
| /.well-known/private-click-measurement/get-unlinkable-token-public-key/ changed to |
| /.well-known/private-click-measurement/get-token-public-key/ |
| |
| source_secret_token in requests for token signature changed to source_unlinkable_token |
| |
| source_unlinkable_token in attribution reports changed to source_secret_token |
| |
| Variable, member, and function names are being renamed similarly. |
| |
| * TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebCore/cocoa/PrivateClickMeasurementCocoa.mm: |
| (TestWebKitAPI::TEST): |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setPrivateClickMeasurementFraudPreventionValuesForTesting): |
| (WTR::TestRunner::setFraudPreventionValuesForTesting): Deleted. |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::setPCMFraudPreventionValuesForTesting): |
| (WTR::TestController::setFraudPreventionValuesForTesting): Deleted. |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| |
| 2021-03-08 Jonathan Bedard <jbedard@apple.com> |
| |
| [resultsdbpy] Adopt webkitscmpy |
| https://bugs.webkit.org/show_bug.cgi?id=222754 |
| <rdar://problem/75049209> |
| |
| Reviewed by Dewei Zhu. |
| |
| Adopting webkitscmpy's remote repositories requires using the unit testing paradigms from |
| those objects, which requires considerable adjustment of testing code. |
| |
| * Scripts/libraries/resultsdbpy/resultsdbpy/__init__.py: Bump version, include webkitscmpy. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/archive_controller_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/ci_controller_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/commit_controller.py: |
| (CommitController.register): Use webkitscmpy's exceptions. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/commit_controller_unittest.py: |
| (CommitControllerTest.test_register_via_post): Deleted. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/failure_controller_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/suite_controller_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/test_controller_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/controller/upload_controller_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/archive_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/ci_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context.py: |
| (CommitContext.branch_keys_for_commits): |
| (CommitContext.find_commits_by_id): default_branch is now an instance variable. |
| (CommitContext.find_commits_by_uuid): Ditto. |
| (CommitContext.find_commits_by_timestamp): Ditto. |
| (CommitContext.find_commits_in_range): Ditto. |
| (CommitContext.sibling_commits): Ditto. |
| (CommitContext.register_commit_with_repo_and_id): webkitscmpy repositories compute branch. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/commit_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/failure_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/mock_model_factory.py: |
| (MockModelFactory): |
| (MockModelFactory.safari): Use shared webkitscmpy mocks. |
| (MockModelFactory.webkit): Ditto. |
| (MockModelFactory.create): Timestamps in webkitscmpy are just integers. |
| (MockModelFactory.iterate_all_commits): webkitscmpy and resultsdbpy have slightly different |
| commit representations, so the mechanics of registering commits are different. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/mock_repository.py: Removed. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/model_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/repository.py: |
| (Repository): |
| (Repository.__init__): default_branch is now an instance variable. |
| (Repository.commit_for_id): webkitscmpy does not require the branch, given a hash or revision. |
| (StashRepository): Retrieve commit from webkitscmpy's remote BitBucket object. |
| (WebKitRepository): Hard-code WebKit's Subversion URL. This is temporary, since WebKit will shortly |
| become a GitHub repository. |
| (SCMException): Deleted. |
| (HTTPRepository): Deleted. |
| (SVNRepository): Deleted. |
| (WebKitRepository.commit_for_id.diff_changelogs): Deleted. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/repository_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/suite_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/test_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/upload_context_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/archive_view_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/commit_view_unittest.py: |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/view_routes_unittest.py: |
| * Scripts/libraries/resultsdbpy/setup.py: Bump version. |
| |
| 2021-03-08 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Add repository_id |
| https://bugs.webkit.org/show_bug.cgi?id=222827 |
| <rdar://problem/75111000> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/commit.py: |
| (Commit.Encoder.default): Add repository_id. |
| (Commit.__init__): Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py: |
| (Git.__init__): Allow caller to specify repository id. |
| (Git.commit): Pass repository id to commit. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/scm.py: |
| (Scm.__init__): Allow caller to specify repository id. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/svn.py: |
| (Svn.__init__): Allow caller to specify repository id. |
| (Svn.commit): Pass repository id to commit. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: |
| (BitBucket.__init__): Allow caller to specify repository id, infer from url. |
| (BitBucket.commit): Pass repository id to commit. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: |
| (GitHub.__init__): Allow caller to specify repository id, infer from url. |
| (GitHub.commit): Pass repository id to commit. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py: |
| (Scm.__init__): Allow caller to specify repository id. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/svn.py: |
| (Svn.__init__): Allow caller to specify repository id, infer from url. |
| (Svn.commit): Pass repository id to commit. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/scm_base.py: |
| (ScmBase.__init__): Allow caller to specify repository id. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: |
| (TestGitHub.test_id): |
| (TestBitBucket.test_id): |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py: |
| (TestRemoteSvn.test_id): |
| |
| 2021-03-08 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| webkitbot should stop saying "<revision> broke the build" when we revert commits |
| https://bugs.webkit.org/show_bug.cgi?id=222906 |
| |
| Reviewed by Jonathan Bedard. |
| |
| Instead of saying the patch "broke the build," let's say it "introduced a regression." This |
| is more generic, since we revert patches for lots of reasons that are not build failures. |
| Build failures count as regressions. |
| |
| * Scripts/webkitpy/tool/commands/download.py: |
| (CreateRevert._prepare_state): |
| * Scripts/webkitpy/tool/commands/download_unittest.py: |
| |
| 2021-03-08 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r273084. |
| https://bugs.webkit.org/show_bug.cgi?id=222905 |
| |
| User agent quirks still needed after all |
| |
| Reverted changeset: |
| |
| "[GTK] Remove all Google user agent quirks except for Google |
| Docs" |
| https://bugs.webkit.org/show_bug.cgi?id=222039 |
| https://trac.webkit.org/changeset/273084 |
| |
| 2021-03-07 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] maild hits a simulated crash when ENABLE(APP_HIGHLIGHTS) is defined |
| https://bugs.webkit.org/show_bug.cgi?id=222893 |
| <rdar://problem/74230060> |
| |
| Reviewed by Tim Horton. |
| |
| Add an API test to verify that we don't attempt to initialize the platform callout bar. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAppHighlights.mm: |
| |
| 2021-03-07 Sam Weinig <weinig@apple.com> |
| |
| Transition Cocoa DumpRenderTree to allow any preference keys, not just hard coded supported ones |
| https://bugs.webkit.org/show_bug.cgi?id=222868 |
| |
| Reviewed by Simon Fraser. |
| |
| This allows any preference key in a WebPreference*.yaml to be used for Cocoa WebKitLegacy |
| tests in the comment header command, just like WebKitTestRunner. |
| |
| * DumpRenderTree/TestOptions.cpp: |
| (WTR::TestOptions::defaults): |
| Update defaults to only the default values that don't match |
| defaults in WebPreference*.yaml files and experimental features |
| that are not supported in but still declare support in the file. |
| |
| * DumpRenderTree/TestRunner.h: |
| Remove unimplemented function declaration. |
| |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (setWebPreferencesForTestOptions): |
| (setDefaultsToConsistentValuesForTesting): |
| (prepareConsistentTestingEnvironment): |
| (resetWebPreferencesToConsistentValues): Deleted. |
| (webPreferenceFeatureValue): Deleted. |
| Replace most explicit reseting with the combination of _resetForTesting, automatic |
| enabling experimental features, and use of _set<type>PreferenceForTestingWithValue |
| from TestOptions. |
| |
| 2021-03-06 David Kilzer <ddkilzer@apple.com> |
| |
| webkit-patch won't parse rdar://nnnnnnnn URLs in ChangeLogs |
| <https://webkit.org/b/222863> |
| |
| Reviewed by Simon Fraser. |
| |
| * Scripts/webkitpy/common/checkout/changelog.py: |
| (ChangeLogEntry): |
| - Update regex. |
| * Scripts/webkitpy/common/checkout/changelog_unittest.py: |
| (test_fuzzy_radar_match__none): |
| - Move test cases that used to fail into another test. |
| (test_fuzzy_radar_match_format_without_context): Add. |
| - Rename from test_fuzzy_radar_match_format_1(). |
| (test_fuzzy_radar_match_format_1): |
| - Rename to test_fuzzy_radar_match_format_without_context(). |
| (test_fuzzy_radar_match_format_2): |
| - Combine with test_fuzzy_radar_match_format_without_context(). |
| (test_fuzzy_radar_match_format_with_context): Add. |
| - Rename from test_fuzzy_radar_match_format_3(). |
| (test_fuzzy_radar_match_format_3): |
| - Rename to test_fuzzy_radar_match_format_with_context(). |
| |
| 2021-03-06 Sam Weinig <weinig@apple.com> |
| |
| Simplify DumpRenderTree WebPreferences reset |
| https://bugs.webkit.org/show_bug.cgi?id=218024 |
| <rdar://problem/70764568> |
| |
| Reviewed by Simon Fraser. |
| |
| Use new _batchUpdatePreferencesInBlock and _resetForTesting to simplify and |
| improve the performance of resetting preferences. |
| |
| _batchUpdatePreferencesInBlock makes it so we only trigger the recalculation |
| of WebCore::Settings once per test, rather than linearly with the number of |
| settings that we reset. |
| |
| _resetForTesting will allow us to remove explicit resetting of preferences |
| that use the existing default value (though this change does not utilize |
| that yet, to limit the number of changes in this commit). |
| |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (resetWebPreferencesToConsistentValues): |
| (setWebPreferencesForTestOptions): |
| (resetWebViewToConsistentState): |
| |
| 2021-03-05 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| [GTK] Clean up GTK-specific text checker stuff |
| https://bugs.webkit.org/show_bug.cgi?id=222818 |
| |
| Reviewed by Don Olmstead. |
| |
| * WebKitTestRunner/gtk/TestControllerGtk.cpp: |
| * WebKitTestRunner/gtk/UIScriptControllerGtk.cpp: |
| (WTR::UIScriptControllerGtk::setContinuousSpellCheckingEnabled): |
| |
| 2021-03-05 Michael Catanzaro <mcatanzaro@gnome.org> |
| |
| [GTK] Remove ADD_WHOLE_ARCHIVE_TO_LIBRARIES |
| https://bugs.webkit.org/show_bug.cgi?id=222826 |
| |
| Reviewed by Don Olmstead. |
| |
| * TestWebKitAPI/PlatformGTK.cmake: |
| |
| 2021-03-05 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Standardize timezone of mock svn server (Follow-up) |
| https://bugs.webkit.org/show_bug.cgi?id=222762 |
| <rdar://problem/75058478> |
| |
| Unreviewed follow-up fix. |
| |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/svn.py: |
| (Svn.request): Only import dateutils when using it. |
| |
| 2021-03-05 Jonathan Bedard <jbedard@apple.com> |
| |
| [run-webkit-tests] Delete old results server code |
| https://bugs.webkit.org/show_bug.cgi?id=222393 |
| <rdar://problem/74722220> |
| |
| Rubber-stamped by Alexey Proskuryakov. |
| |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager._end_test_run): Remove upload code. |
| (Manager._save_json_files): Renamed from _upload_json_files. |
| (Manager._upload_json_files): Renamed to _save_json_files. |
| (Manager.upload_results): Deleted. |
| * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: |
| (JSONLayoutResultsGenerator.__init__): Remove buildbot arguments. |
| * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: |
| (JSONResultsGenerator): |
| (JSONResultsGenerator.__init__): Remove buildbot arguments. |
| (JSONResultsGenerator.get_json): Remove concept of builder. |
| (JSONResultsGenerator.upload_json_files): Deleted. |
| (JSONResultsGenerator._get_svn_revision): Deleted. |
| (JSONResultsGenerator._get_archived_json_results): Deleted. |
| (JSONResultsGenerator._insert_generic_metadata): Deleted. |
| (JSONResultsGenerator._convert_json_to_current_version): Deleted. |
| (JSONResultsGenerator._convert_tests_to_trie): Deleted. |
| (JSONResultsGenerator._remove_items_over_max_number_of_builds): Deleted. |
| (JSONResultsGenerator._normalize_results_json): Deleted. |
| (JSONResultsGenerator._is_results_all_of_type): Deleted. |
| * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py: |
| (JSONGeneratorTest.setUp): |
| (JSONGeneratorTest._test_json_generation): |
| (JSONGeneratorTest._verify_json_results): |
| * Scripts/webkitpy/layout_tests/run_webkit_tests.py: |
| (parse_args): Remove arguments used to upload to old results database. |
| |
| 2021-03-05 Chris Dumez <cdumez@apple.com> |
| |
| Regression(r268097): WKWebView.URL is nil in the processDidTerminate delegate |
| https://bugs.webkit.org/show_bug.cgi?id=222809 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WebContentProcessDidTerminate.mm: |
| (TEST): |
| |
| 2021-03-05 Cameron McCormack <heycam@apple.com> |
| |
| Don't open a new window in MiniBrowser if already opening a file from the command line |
| https://bugs.webkit.org/show_bug.cgi?id=222776 |
| |
| Reviewed by Dean Jackson. |
| |
| * MiniBrowser/mac/AppDelegate.h: |
| * MiniBrowser/mac/AppDelegate.m: |
| (-[BrowserAppDelegate init]): |
| (-[BrowserAppDelegate applicationDidFinishLaunching:]): |
| (-[BrowserAppDelegate application:openFile:]): |
| |
| 2021-03-05 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Add python 3 support in send_email |
| https://bugs.webkit.org/show_bug.cgi?id=222806 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/send_email.py: |
| (send_email): |
| |
| 2021-03-05 Matt Lewis <jlewis3@apple.com> |
| |
| Unreviewed Dashboard Fix. |
| |
| * CISupport/build-webkit-org/public_html/dashboard/Scripts/WebKitBuildbot.js: |
| (WebKitBuildbot): |
| |
| 2021-03-05 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Run ews unit-tests with Python 3 |
| https://bugs.webkit.org/show_bug.cgi?id=222800 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (RunEWSUnitTests): |
| * CISupport/ews-build/steps_unittest.py: Updated unit-tests. |
| |
| 2021-03-05 Razvan Caliman <rcaliman@apple.com> |
| |
| Mark myself as committer in contributors.json. |
| |
| Unreviewed. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2021-03-05 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Correct BitBucket timestamp conversion |
| https://bugs.webkit.org/show_bug.cgi?id=222766 |
| <rdar://problem/75063548> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/bitbucket.py: |
| (BitBucket.request): Bitbucket timestamps are in milliseconds. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: |
| (BitBucket.commit): Bitbucket timestamps are in milliseconds. |
| |
| 2021-03-05 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Standardize timezone of mock svn server |
| https://bugs.webkit.org/show_bug.cgi?id=222762 |
| <rdar://problem/75058478> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitcorepy/setup.py: Bump version. |
| * Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Bump version, add dateutils. |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/svn.py: |
| (Svn.request): Lock timezone of SVN server. |
| * Scripts/webkitpy/__init__.py: Move dateutils to webkitcorepy. |
| |
| 2021-03-05 ChangSeok Oh <changseok@webkit.org> |
| |
| AVIF decoding support |
| https://bugs.webkit.org/show_bug.cgi?id=207750 |
| |
| Reviewed by Philippe Normand. |
| |
| This patch brings an initial support of AVIF image format to the gtk port. |
| AVIF is a new royalty-free image format derived from the keyframes of AV1 video. |
| FireFox and Chromium-variant browsers already support it. Its specification can be found |
| at https://rawcdn.githack.com/AOMediaCodec/av1-avif/67a92add6cd642a8863e386fa4db87954a6735d1/index.html |
| This patch aims to land a build option for AVIF and a basic decoding ability |
| for still images by using libavif. Animated AVIF images will be covered later. |
| |
| * gtk/install-dependencies: Add dependencies of libavif for jhbuild |
| * gtk/jhbuild.modules: Add libavif for jhbuild |
| |
| 2021-03-05 Chris Dumez <cdumez@apple.com> |
| |
| Reduce use of CFRetain() / CFRelease() / CFAutoRelease() in WebKit |
| https://bugs.webkit.org/show_bug.cgi?id=222760 |
| |
| Reviewed by Darin Adler. |
| |
| Reduce use of CFRetain() / CFRelease() / CFAutoRelease() in WebKit by using RetainPtr<>. |
| |
| * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm: |
| (createCoreAnimationLayer): |
| * DumpRenderTree/mac/AccessibilityCommonMac.mm: |
| (+[NSString stringWithJSStringRef:]): |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (activateFontIOS): |
| (dumpRenderTree): |
| (invalidateAnyPreviousWaitToDumpWatchdog): |
| (setWaitToDumpWatchdog): |
| (dump): |
| (runTest): |
| * DumpRenderTree/mac/DumpRenderTreeMac.h: |
| * DumpRenderTree/mac/EventSendingController.mm: |
| (-[EventSendingController mouseScrollByX:andY:continuously:]): |
| (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]): |
| * DumpRenderTree/mac/PixelDumpSupportMac.mm: |
| (takeWindowSnapshot): |
| (createBitmapContextFromWebView): |
| * DumpRenderTree/mac/ResourceLoadDelegate.mm: |
| (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): |
| * DumpRenderTree/mac/TestRunnerMac.mm: |
| (TestRunner::addDisallowedURL): |
| (TestRunner::setWaitToDump): |
| * FontWithFeatures/FontWithFeatures/main.cpp: |
| (constructFontWithTrueTypeFeature): |
| (constructFontWithOpenTypeFeature): |
| (drawText): |
| (main): |
| * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: |
| (WTR::InjectedBundlePage::dumpDOMAsWebArchive): |
| * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: |
| (+[NSString stringWithJSStringRef:]): |
| * WebKitTestRunner/InjectedBundle/mac/AccessibilityCommonMac.mm: |
| (+[NSString stringWithJSStringRef:]): |
| * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| (-[HIDEventGenerator _createIOHIDEventWithInfo:]): |
| * WebKitTestRunner/mac/EventSenderProxy.mm: |
| (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]): |
| * WebKitTestRunner/mac/UIScriptControllerMac.mm: |
| (WTR::cfString): |
| (WTR::UIScriptControllerMac::replaceTextAtRange): |
| |
| 2021-03-05 Philippe Normand <pnormand@igalia.com> |
| |
| [GTK] Clang warnings in MiniBrowser build |
| https://bugs.webkit.org/show_bug.cgi?id=222797 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| Fix unused-value warnings. |
| |
| * MiniBrowser/gtk/BrowserCellRendererVariant.c: |
| (browser_cell_renderer_variant_init): |
| * MiniBrowser/gtk/BrowserTab.c: |
| (runColorChooserCallback): |
| |
| 2021-03-04 Sam Sneddon <gsnedders@apple.com> |
| |
| Undeprecate many more webkit-patch commands |
| https://bugs.webkit.org/show_bug.cgi?id=222745 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/webkitpy/tool/commands/download.py: |
| (ChangeStyleLocal): |
| * Scripts/webkitpy/tool/commands/queries.py: |
| (SuggestReviewers): |
| * Scripts/webkitpy/tool/commands/setupgitclone.py: |
| (SetupGitClone): |
| * Scripts/webkitpy/tool/commands/suggestnominations.py: |
| (SuggestNominations): |
| * Scripts/webkitpy/tool/commands/upload.py: |
| (Post): |
| (Prepare): |
| (MarkBugFixed): |
| |
| 2021-03-04 Aakash Jain <aakash_jain@apple.com> |
| |
| Reduce unnecessary logging in ews-app |
| https://bugs.webkit.org/show_bug.cgi?id=222764 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-app/ews/views/retrypatch.py: |
| (RetryPatch.post): |
| |
| 2021-03-04 Matt Lewis <jlewis3@apple.com> |
| |
| Add Apple Silicon Devices to Big Sur builders and testers. |
| https://bugs.webkit.org/show_bug.cgi?id=222616 |
| |
| Reviewed by Aakash Jain. |
| |
| * CISupport/build-webkit-org/config.json: |
| * CISupport/build-webkit-org/public_html/dashboard/Scripts/WebKitBuildbot.js: |
| (WebKitBuildbot): |
| |
| 2021-03-04 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Add python 3 support - part 5 |
| https://bugs.webkit.org/show_bug.cgi?id=222744 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (CheckPatchRelevance._patch_is_relevant): Ensure that in python 3, path and changes are bytes. This is because buildbot |
| stores patch as bytes, as mentioned in https://github.com/buildbot/buildbot/issues/5812#issuecomment-790175979 |
| * CISupport/ews-build/steps_unittest.py: Updated one unit-test to test binary patch. |
| |
| 2021-03-04 Chris Dumez <cdumez@apple.com> |
| |
| [macOS][WK2] Changing the system language does not update navigator.language |
| https://bugs.webkit.org/show_bug.cgi?id=222619 |
| |
| Reviewed by Per Arne Vollan. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm: |
| (TEST): |
| |
| 2021-03-04 Alex Christensen <achristensen@webkit.org> |
| |
| Introduce "websocket", "fetch", and "other" resource types to WKContentRuleList |
| https://bugs.webkit.org/show_bug.cgi?id=222709 |
| <rdar://problem/71552078> |
| |
| Reviewed by Youenn Fablet. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm: |
| (TEST): |
| (webSocketAcceptValue): |
| * TestWebKitAPI/cocoa/HTTPServer.mm: |
| (TestWebKitAPI::statusText): |
| |
| 2021-03-04 Youenn Fablet <youenn@apple.com> |
| |
| Update camera and microphone capture state control WKWebView API |
| https://bugs.webkit.org/show_bug.cgi?id=222166 |
| |
| Reviewed by Eric Carlson. |
| |
| Updaed according renaming of _WKMediaCaptureState in _WKMediaCaptureStateDeprecated. |
| |
| * TestWebKitAPI/Tests/WebKit/GetUserMedia.mm: |
| (TestWebKitAPI::wkMediaCaptureStateString): |
| (TestWebKitAPI::waitUntilCaptureState): |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/MediaStreamTrackDetached.mm: |
| (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| (-[GetUserMediaUIDelegate _webView:mediaCaptureStateDidChange:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/SpeechRecognition.mm: |
| (-[SpeechRecognitionUIDelegate _webView:mediaCaptureStateDidChange:]): |
| * WebKitTestRunner/cocoa/TestControllerCocoa.mm: |
| (WTR::TestController::isDoingMediaCapture const): |
| |
| 2021-03-04 Angelos Oikonomopoulos <angelos@igalia.com> |
| |
| Detect unrecognized options in run-javascriptcore-tests |
| https://bugs.webkit.org/show_bug.cgi?id=221186 |
| |
| Reviewed by Keith Miller. |
| |
| run-javascriptcore-tests saves unrecognized arguments to pass |
| through to build-jsc even when --no-build is used. However, when |
| we're not building, nothing will ever use or look at the extra |
| arguments. This means that those arguments are silently eaten |
| up and, consequently, typos in option names can go undetected. |
| |
| Change the script to fail when --no-build has been passed and |
| there are unrecognized options. |
| |
| * Scripts/run-javascriptcore-tests: |
| |
| 2021-03-04 Kimmo Kinnunen <kkinnunen@apple.com> |
| |
| Adding new test conditions for WebGL should be simpler |
| https://bugs.webkit.org/show_bug.cgi?id=222593 |
| |
| Reviewed by Kenneth Russell. |
| |
| Add SimulateEventForTesting(String eventName) to manually |
| implemented RemoteGraphicsContextGL functions. |
| Use manually generated function because next commit for |
| timeout implementation will add some logic to RemoteGraphicsContextGL |
| while forwarding rest of the events to the underlying GraphicsContextGL. |
| |
| * Scripts/generate-gpup-webgl: |
| |
| 2021-03-03 Alex Christensen <achristensen@webkit.org> |
| |
| WKRemoteObjectCoder should be able to handle NSErrors from TLS failures |
| https://bugs.webkit.org/show_bug.cgi?id=222401 |
| |
| Reviewed by Chris Dumez. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/RemoteObjectRegistry.h: |
| * TestWebKitAPI/Tests/WebKitCocoa/RemoteObjectRegistry.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/RemoteObjectRegistryPlugIn.mm: |
| (-[RemoteObjectRegistryPlugIn sendError:completionHandler:]): |
| |
| 2021-03-03 Chris Dumez <cdumez@apple.com> |
| |
| Unreviewed, reverting r273851. |
| |
| Caused some tests failures on macOS Big Sur |
| |
| Reverted changeset: |
| |
| "[macOS][WK2] Changing the system language does not update |
| navigator.language" |
| https://bugs.webkit.org/show_bug.cgi?id=222619 |
| https://commits.webkit.org/r273851 |
| |
| 2021-03-03 Sam Sneddon <gsnedders@apple.com> |
| |
| Make LayoutTestFinder.find_tests/find_tests_by_path return List[Test] |
| https://bugs.webkit.org/show_bug.cgi?id=222662 |
| |
| Reviewed by Jonathan Bedard. |
| |
| This introduces a Test class, to later be able to migrate finding |
| expectations to LayoutTestFinder. |
| |
| * Scripts/open-layout-test: |
| (main): |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py: |
| (LayoutTestFinder.find_tests): |
| (LayoutTestFinder.find_tests_by_path): |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py: |
| (LayoutTestFinderTests.test_find_with_skipped_directories): |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager.run): |
| (Manager.print_expectations): |
| * Scripts/webkitpy/layout_tests/models/test.py: Added. |
| (Test): |
| (Test.__init__): |
| (Test.__repr__): |
| (Test.__eq__): |
| * Scripts/webkitpy/layout_tests/models/test_input.py: |
| (TestInput): |
| * Scripts/webkitpy/tool/commands/queries.py: |
| (PrintExpectations.execute): |
| |
| 2021-03-03 Cameron McCormack <heycam@apple.com> |
| |
| Send console.log() etc. to stdout in MiniBrowser on macOS |
| https://bugs.webkit.org/show_bug.cgi?id=222629 |
| |
| Reviewed by Tim Horton. |
| |
| * MiniBrowser/mac/AppDelegate.m: |
| (-[BrowserAppDelegate defaultConfiguration]): |
| |
| 2021-03-03 Chris Dumez <cdumez@apple.com> |
| |
| [macOS][WK2] Changing the system language does not update navigator.language |
| https://bugs.webkit.org/show_bug.cgi?id=222619 |
| |
| Reviewed by Per Arne Vollan. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm: |
| (TEST): |
| |
| 2021-03-03 Chris Dumez <cdumez@apple.com> |
| |
| Use adoptNS() right away after calling [obj copy] / [obj mutableCopy] |
| https://bugs.webkit.org/show_bug.cgi?id=222634 |
| |
| Reviewed by Darin Adler. |
| |
| Use adoptNS() right away after calling [obj copy] / [obj mutableCopy] to minimize the chance of leaks. |
| |
| * TestWebKitAPI/Tests/WebKit/mac/ContextMenuMouseEvents.mm: |
| (TestWebKitAPI::runTest): |
| * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm: |
| (TEST): |
| |
| 2021-03-03 Sam Sneddon <gsnedders@apple.com> |
| |
| Move LayoutTestFinder.skip_tests to Manager._skip_tests |
| https://bugs.webkit.org/show_bug.cgi?id=222661 |
| |
| Reviewed by Jonathan Bedard. |
| |
| This has nothing to do with finding tests, and everything to do about |
| test selection depending on the CLI. |
| |
| Additionally, this removes the unused LayoutTestFinder.skip_tests |
| all_tests_list argument. |
| |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py: |
| (LayoutTestFinder._skip_tests): |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager._skip_tests): |
| (Manager._prepare_lists): |
| |
| |
| 2021-03-03 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Add python 3 support - part 4 |
| https://bugs.webkit.org/show_bug.cgi?id=222672 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/events.py: |
| (JSONProducer): Use implementer (python 3 compatible) instead of implements. |
| (JSONProducer.__init__): Encode data as utf-8 explicitly. |
| (Events): |
| (Events.sendData): |
| |
| 2021-03-03 Robert Jenner <jenner@apple.com> |
| |
| Adding myself as a committer in the contributors file. |
| N/A |
| |
| N/A |
| |
| * Scripts/webkitpy/common/config/contributors.json: Added myself as a committer. |
| |
| 2021-03-03 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r273814. |
| https://bugs.webkit.org/show_bug.cgi?id=222676 |
| |
| Unresolved types in JavaScriptCore-4.0.gir |
| |
| Reverted changeset: |
| |
| "[CMake] JavaScriptCore GLib headers should be copies" |
| https://bugs.webkit.org/show_bug.cgi?id=222625 |
| https://trac.webkit.org/changeset/273814 |
| |
| 2021-03-03 Sam Sneddon <gsnedders@apple.com> |
| |
| Remove LayoutTestFinder.touched_tests, which is now dead code |
| https://bugs.webkit.org/show_bug.cgi?id=222660 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py: |
| (LayoutTestFinder.find_touched_tests): Removed. |
| * Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py: |
| Remove related tests. |
| |
| 2021-03-03 Jonathan Bedard <jbedard@apple.com> |
| |
| [resultsdbpy] Make testing compatible with Python 3.8 |
| https://bugs.webkit.org/show_bug.cgi?id=222678 |
| <rdar://problem/74997936> |
| |
| Rubber-stamped by Aakash Jain. |
| |
| * Scripts/libraries/resultsdbpy/resultsdbpy/__init__.py: Bump version. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/flask_support/flask_test_context.py: |
| (FlaskTestContext): |
| (FlaskTestContext.start_webserver): Make function pickle able. |
| (FlaskTestContext.__init__): Pass class to owning webserver setup. |
| (FlaskTestContext.__enter__): |
| * Scripts/libraries/resultsdbpy/resultsdbpy/flask_support/flask_testcase.py: |
| (FlaskTestCase.run_with_real_webserver.decorator.real_method): |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/cassandra_context.py: |
| (filter_for_argument): Style fix. |
| * Scripts/libraries/resultsdbpy/setup.py: Bump version. |
| |
| 2021-03-03 Kate Cheney <katherine_cheney@apple.com> |
| |
| Report the correct document uri in the case of a ContentSecurityPolicyClient |
| https://bugs.webkit.org/show_bug.cgi?id=222489 |
| <rdar://problem/73774118> |
| |
| Reviewed by Brent Fulgham. |
| |
| Rename OverrideContentSecurityPolicy.mm to ContentSecurityPolicy.mm |
| so we can use it for more general purpose CSP testing. |
| |
| Add a test for document-uri reporting for file:, data: and about: protocols. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/ContentSecurityPolicy.mm: Renamed from Tools/TestWebKitAPI/Tests/WebKitCocoa/OverrideContentSecurityPolicy.mm. |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/csp-document-uri-report.html: Added. |
| |
| 2021-03-03 Youenn Fablet <youenn@apple.com> |
| |
| WebKitLegacy needs to keep JSDOMWindow even though it is used while its origin is not set |
| https://bugs.webkit.org/show_bug.cgi?id=222589 |
| <rdar://problem/74258258> |
| |
| Reviewed by Geoffrey Garen. |
| |
| * TestWebKitAPI/Tests/mac/JSWrapperForNodeInWebFrame.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-03 Don Olmstead <don.olmstead@sony.com> |
| |
| [CMake] JavaScriptCore GLib headers should be copies |
| https://bugs.webkit.org/show_bug.cgi?id=222625 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Update the includes for the GLib ports. |
| |
| * MiniBrowser/wpe/CMakeLists.txt: |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/PlatformWPE.cmake: |
| * TestWebKitAPI/Tests/JavaScriptCore/glib/TestJSC.cpp: |
| * TestWebKitAPI/glib/CMakeLists.txt: |
| * TestWebKitAPI/glib/PlatformGTK.cmake: |
| |
| 2021-03-02 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| REGRESSION(r270691): It's impossible to use MobileAsset fonts on macOS |
| https://bugs.webkit.org/show_bug.cgi?id=222582 |
| <rdar://problem/74877450> |
| |
| Reviewed by Per Arne Vollan. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKit/MobileAssetSandboxCheck.mm: Copied from Source/WebKit/WebProcess/win/WebProcessWin.cpp. |
| (TEST): |
| |
| 2021-03-02 Sam Weinig <weinig@apple.com> |
| |
| Reduce the size of extended colors by storing the color space in free bits of the owning Color |
| https://bugs.webkit.org/show_bug.cgi?id=222584 |
| |
| Reviewed by Darin Adler. |
| |
| * TestWebKitAPI/CMakeLists.txt: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebCore/ColorTests.cpp: |
| (TestWebKitAPI::TEST): |
| (TestWebKitAPI::makeColor): |
| * TestWebKitAPI/Tests/WebCore/DisplayListTests.cpp: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebCore/ExtendedColorTests.cpp: Removed. |
| Update tests to account for removal of the ExtendedColor class. |
| Merge ExtendedColorTests.cpp that still make sense into ColorTests.cpp |
| |
| 2021-03-02 Jonathan Bedard <jbedard@apple.com> |
| |
| [git-webkit] Better logging when attempting to convert tag to identifier |
| https://bugs.webkit.org/show_bug.cgi?id=222482 |
| <rdar://problem/74797495> |
| |
| Reviewed by Aakash Jain. |
| |
| * Scripts/libraries/webkitcorepy/setup.py: Bug version. |
| * Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/svn.py: |
| (Svn._commit_count): |
| |
| 2021-03-02 Simon Fraser <simon.fraser@apple.com> |
| |
| Rename ForcePageRenderingUpdatesAt60FPSEnabled preference to PreferPageRenderingUpdatesNear60FPSEnabled |
| https://bugs.webkit.org/show_bug.cgi?id=222580. |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WebCore/AnimationFrameRate.cpp: |
| (TestWebKitAPI::TEST): Function rename. |
| |
| 2021-03-02 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Add UUID |
| https://bugs.webkit.org/show_bug.cgi?id=222602 |
| <rdar://problem/74931488> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/commit.py: |
| (Commit): |
| (Commit.Encoder.default): Add order member. |
| (Commit.__init__): Ditto. |
| (Commit.uuid): Compute UUID from timestamp and order. |
| (Commit.__cmp__): Use UUID instead of timestamp for comparison. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py: |
| (Git.commit): Compute commit order. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/git-repo.json: Add "order" to colliding commit. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/local/git.py: Correct case where comparison fails. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: |
| (BitBucket.commit): Compute commit order. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: |
| (GitHub.commit): Compute commit order. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/commit_unittest.py: |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py: |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: |
| (TestGit.test_order): Added. |
| (TestGitHub.test_order): Added. |
| (TestBitBucket.test_order): Added. |
| |
| 2021-03-02 Sam Sneddon <gsnedders@apple.com> |
| |
| Remove the ability to run tests via webkit-patch |
| https://bugs.webkit.org/show_bug.cgi?id=222617 |
| |
| Reviewed by Jonathan Bedard. |
| |
| Also removes the build-and-test and build-and-test-attachment commands, as these are now |
| equivalent to build and build-attachment with --test support gone. |
| |
| * Scripts/webkitpy/tool/bot/layouttestresultsreader.py: Unused import |
| * Scripts/webkitpy/tool/commands/download.py: |
| (BuildAndTest): |
| (Land): |
| (LandCowhand): |
| (BuildAndTestAttachment): |
| (AbstractPatchLandingCommand): |
| * Scripts/webkitpy/tool/commands/download_unittest.py: |
| (test_build_and_test): |
| (test_land): |
| (test_land_red_builders): |
| (test_land_no_close): |
| (test_land_no_comment): |
| (test_land_no_comment_no_close): |
| * Scripts/webkitpy/tool/steps/__init__.py: |
| * Scripts/webkitpy/tool/steps/runtests.py: Removed. |
| * Scripts/webkitpy/tool/steps/runtests_unittest.py: Removed. |
| * Scripts/webkitpy/tool/steps/steps_unittest.py: |
| (StepsTest.test_runtests_args): |
| (StepsTest.test_runtests_debug_args): |
| (StepsTest.test_runtests_jsc): |
| (StepsTest.test_runtests_jsc_debug): |
| |
| |
| 2021-03-02 Jonathan Bedard <jbedard@apple.com> |
| |
| [run-webkit-tests] Use webkitscmpy when reporting results |
| https://bugs.webkit.org/show_bug.cgi?id=222432 |
| <rdar://problem/74755765> |
| |
| Rubber-stamped by Aakash Jain. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/local/git.py: |
| (Git): The root directory should be treated as if it does not exist. |
| * Scripts/webkitpy/layout_tests/models/test_run_results_unittest.py: |
| (SummarizedResultsTest.test_svn_revision): Use webkitscmpy's mock repository. |
| (SummarizedResultsTest.test_svn_revision_git): Added. |
| * Scripts/webkitpy/port/base.py: |
| (Port.commits_for_upload): Use webkitscmpy instead of webkitpy for repository manipulation. |
| * Scripts/webkitpy/port/base_unittest.py: |
| (PortTest.test_commits_for_upload): Use webkitscmpy's mock repository. |
| (PortTest.test_commits_for_upload_git_svn): Added. |
| |
| 2021-03-02 Lauro Moura <lmoura@igalia.com> |
| |
| [WPE] Support sending key modifiers after r272572 |
| https://bugs.webkit.org/show_bug.cgi?id=222615 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: |
| (WTR::wpeKeySymForKeyRef): |
| |
| 2021-03-02 Ricky Mondello <rmondello@apple.com> |
| |
| Unconditionally return information in _autofillContext SPI when a field is focused |
| https://bugs.webkit.org/show_bug.cgi?id=221828 |
| rdar://74211237 |
| |
| Reviewed by Darin Adler. |
| |
| Tests updated by Wenson Hsieh. |
| |
| Rebaseline tests. |
| |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: |
| (-[AutoFillTestView acceptsAutoFillLoginCredentials]): Renamed in line with the Password AutoFill-related |
| contract these tests are about. |
| |
| 2021-03-02 Aakash Jain <aakash_jain@apple.com> |
| |
| Make build.webkit.org loadconfig similar to EWS |
| https://bugs.webkit.org/show_bug.cgi?id=222597 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/build-webkit-org/loadConfig.py: |
| (loadBuilderConfig): |
| (checkValidWorker): Method to validate worker. |
| (checkValidBuilder): Method to validate builder. |
| (checkValidSchedulers): Method to validate schedulers. |
| (doesTriggerExist): |
| (isTriggerUsedByAnyBuilder): |
| (checkWorkersAndBuildersForConsistency): |
| * CISupport/build-webkit-org/loadConfig_unittest.py: Added unit-tests. |
| (ConfigDotJSONTest.test_configuration): |
| (TestcheckValidWorker): |
| (TestcheckValidWorker.test_invalid_worker): |
| (TestcheckValidWorker.test_worker_with_missing_name): |
| (TestcheckValidWorker.test_worker_with_missing_platName): |
| (TestcheckValidWorker.test_valid_worker): |
| (TestcheckValidBuilder): |
| (TestcheckValidBuilder.test_invalid_builder): |
| (TestcheckValidBuilder.test_builder_with_missing_name): |
| (TestcheckValidBuilder.test_builder_with_invalid_identifier): |
| (TestcheckValidBuilder.test_builder_with_extra_long_name): |
| (TestcheckValidBuilder.test_builder_with_invalid_configuration): |
| (TestcheckValidBuilder.test_builder_with_missing_factory): |
| (TestcheckValidBuilder.test_builder_with_missing_scheduler): |
| (TestcheckValidBuilder.test_builder_with_missing_platform): |
| (TestcheckValidBuilder.test_valid_builder): |
| (TestcheckWorkersAndBuildersForConsistency): |
| (TestcheckWorkersAndBuildersForConsistency.test_checkWorkersAndBuildersForConsistency): |
| (TestcheckWorkersAndBuildersForConsistency.test_checkWorkersAndBuildersForConsistency1): |
| (TestcheckWorkersAndBuildersForConsistency.test_duplicate_worker): |
| (TestcheckWorkersAndBuildersForConsistency.test_success): |
| * CISupport/ews-build/loadConfig.py: |
| (checkWorkersAndBuildersForConsistency): Added double-quotes in error message for better readability. |
| * CISupport/ews-build/loadConfig_unittest.py: |
| (TestcheckWorkersAndBuildersForConsistency.test_checkWorkersAndBuildersForConsistency1): |
| |
| 2021-03-02 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| REGRESSION(r263094): [GTK][WPE] API test /webkit/WebKitWebContext/languages is failing |
| https://bugs.webkit.org/show_bug.cgi?id=188111 |
| |
| Reviewed by Michael Catanzaro. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp: |
| (testWebContextLanguages): Invalid locale is ignored now instead of throwing a exception. |
| * TestWebKitAPI/glib/TestExpectations.json: Remove test expectation now that it passes again. |
| |
| 2021-03-02 Aakash Jain <aakash_jain@apple.com> |
| |
| [build.webkit.org] Enable grid view |
| https://bugs.webkit.org/show_bug.cgi?id=222369 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/build-webkit-org/master_buildbot2.cfg: |
| |
| 2021-03-02 Youenn Fablet <youenn@apple.com> |
| |
| Use capture settings after recovering capture from GPUProcess |
| https://bugs.webkit.org/show_bug.cgi?id=221126 |
| <rdar://problem/73744819> |
| |
| Reviewed by Eric Carlson. |
| |
| * TestWebKitAPI/Tests/WebKit/GetUserMedia.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/getUserMedia.html: |
| |
| 2021-03-02 Youenn Fablet <youenn@apple.com> |
| |
| Enable MEDIA_SOURCE in IOS Simulator |
| https://bugs.webkit.org/show_bug.cgi?id=222041 |
| <rdar://problem/74433510> |
| |
| Reviewed by Eric Carlson. |
| |
| * WebKitTestRunner/ios/TestControllerIOS.mm: |
| (WTR::TestController::platformResetPreferencesToConsistentValues): |
| Disable MediaSource runtime flag on simulator since it lacks implementation of AVStreamDataParser. |
| |
| 2021-03-02 Aakash Jain <aakash_jain@apple.com> |
| |
| Move WebGL test bot to Big Sur (follow-up fix) |
| https://bugs.webkit.org/show_bug.cgi?id=222501 |
| rdar://73900538 |
| |
| Unreviewed infrastructure fix. |
| |
| * CISupport/build-webkit-org/config.json: Fixed a typo. |
| |
| 2021-03-01 Jonathan Bedard <jbedard@apple.com> |
| |
| [wbkitscmpy] Add commits with colliding timestamps |
| https://bugs.webkit.org/show_bug.cgi?id=222572 |
| <rdar://problem/74887215> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/git-repo.json: Add commit with colliding timestamp. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/canonicalize_unittest.py: |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/checkout_unittest.py: |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py: |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: |
| |
| 2021-03-01 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Support rotated image overlay text for non-rectilinear text quads |
| https://bugs.webkit.org/show_bug.cgi?id=222535 |
| <rdar://problem/74886200> |
| |
| Reviewed by Tim Horton. |
| |
| Add a new API test file to exercise the new `rotatedBoundingRect` function, with tests to cover a few degenerate |
| cases such as a single point, line segments, and triangles. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebCore/FloatQuadTests.cpp: Added. |
| (TestWebKitAPI::areApproximatelyEqual): |
| (TestWebKitAPI::expectRotatedRect): |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-01 Chris Dumez <cdumez@apple.com> |
| |
| Crash under WebProcessPool::pageBeginUsingWebsiteDataStore() |
| https://bugs.webkit.org/show_bug.cgi?id=222574 |
| <rdar://68340471> |
| |
| Reviewed by Geoffrey Garen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| |
| 2021-03-01 Sam Weinig <weinig@apple.com> |
| |
| Add experimental support for CSS Color 5 color-contrast() |
| https://bugs.webkit.org/show_bug.cgi?id=222530 |
| |
| Reviewed by Simon Fraser. |
| |
| * TestWebKitAPI/Tests/WebCore/ColorTests.cpp: |
| (TestWebKitAPI::TEST): |
| Update luminance values to account for more accurate conversion to |
| XYZ now that we are usuing the actual matrix values from SRGBADescriptor |
| and not a truncated copy. |
| |
| 2021-03-01 Megan Gardner <megan_gardner@apple.com> |
| |
| Restoring App Highlight crashes if no range is found. |
| https://bugs.webkit.org/show_bug.cgi?id=222524 |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAppHighlights.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-03-01 Aakash Jain <aakash_jain@apple.com> |
| |
| [Python-3] Change shebang in runUnittests.py |
| https://bugs.webkit.org/show_bug.cgi?id=222554 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/runUnittests.py: |
| |
| 2021-03-01 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Use logname instead of deprecated logfile in PrintConfiguration |
| https://bugs.webkit.org/show_bug.cgi?id=222378 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (PrintConfiguration.run): |
| |
| 2021-03-01 Adam Roben <aroben@apple.com> |
| |
| Teach prepare-ChangeLog to recognize Swift structs/enums/protocols/extensions |
| https://bugs.webkit.org/show_bug.cgi?id=222551 |
| |
| It formerly only knew how to recognize classes. |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/prepare-ChangeLog: |
| (get_function_line_ranges_for_swift): Replaced "class" with "type" in |
| variable names to make them more general. Generalized the pattern used |
| to find class declarations to find struct/enum/protocol/extension |
| declarations as well. |
| |
| * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: |
| Added new ranges to the results. |
| |
| * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests.swift: |
| (MyStruct.structFunction(argument:)): |
| (MyEnum.enumFunction(argument:)): |
| (MyProtocol.protocolFunction(argument:)): |
| (ExtendedType.extensionFunction(argument:)): |
| Added these new types/functions (and look, they got parsed!). |
| |
| 2021-02-27 Megan Gardner <megan_gardner@apple.com> |
| |
| API test for AppHighlights |
| https://bugs.webkit.org/show_bug.cgi?id=222408 |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/PlatformUtilities.h: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAppHighlights.mm: Added. |
| (-[AppHighlightDelegate _webView:storeAppHighlight:inNewGroup:]): |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/DragAndDropTestsMac.mm: |
| (TEST): |
| (waitForConditionWithLogging): Deleted. |
| * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm: |
| (TestWebKitAPI::Util::waitForConditionWithLogging): |
| |
| 2021-02-26 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK][WPE] Add a script to show a list of bugs closed since a given revision |
| https://bugs.webkit.org/show_bug.cgi?id=222470 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| It's useful to get a list of specific changes when making releases. |
| |
| * Scripts/webkit-filter-log: Added. |
| |
| 2021-02-26 Chris Dumez <cdumez@apple.com> |
| |
| Reduce explicit usage of [objC retain] in WebKit |
| https://bugs.webkit.org/show_bug.cgi?id=222439 |
| |
| Reviewed by Darin Adler. |
| |
| Reduce explicit usage of [objC retain] in WebKit by using RetainPtr<>. |
| |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (allowedFontFamilySet): |
| (-[DRTMockScroller drawKnob]): |
| (-[DRTMockScroller drawRect:]): |
| (prepareConsistentTestingEnvironment): |
| * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm: |
| (TEST): |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| (-[TestWKWebView selectionRectsAfterPresentationUpdate]): |
| * WebKitTestRunner/ios/TestControllerIOS.mm: |
| (WTR::TestController::platformLibraryPathForTesting): |
| * WebKitTestRunner/mac/TestControllerMac.mm: |
| (WTR::allowedFontFamilySet): |
| (WTR::systemHiddenFontFamilySet): |
| (WTR::TestController::platformLibraryPathForTesting): |
| * WebKitTestRunner/mac/main.mm: |
| (disableAppNapInUIProcess): |
| |
| 2021-02-26 Ryan Haddad <ryanhaddad@apple.com> |
| |
| macOS bots should build with ONLY_ACTIVE_ARCH=NO |
| https://bugs.webkit.org/show_bug.cgi?id=222502 |
| |
| Reviewed by Aakash Jain. |
| |
| We need this to correctly build for both arm64e and x86_64 and support M1 hardware in our infrastructure. |
| |
| * CISupport/build-webkit-org/steps.py: |
| (CompileWebKit.start): |
| |
| 2021-02-26 Ryan Haddad <ryanhaddad@apple.com> |
| |
| Move WebGL test bot to Big Sur |
| https://bugs.webkit.org/show_bug.cgi?id=222501 |
| |
| Reviewed by Aakash Jain. |
| |
| * CISupport/build-webkit-org/config.json: |
| |
| 2021-02-26 Jean-Yves Avenard <jya@apple.com> |
| |
| [MSE] Ensure MediaSample is properly trimmed. |
| https://bugs.webkit.org/show_bug.cgi?id=222462 |
| |
| Reviewed by Jer Noble. |
| |
| * TestWebKitAPI/Tests/WebCore/SampleMap.cpp: |
| Update per new MediaSample::divide prototype. |
| |
| 2021-02-26 John Wilander <wilander@apple.com> |
| |
| Non-cookie website data not deleted after 7 days of browser use without user interaction |
| https://bugs.webkit.org/show_bug.cgi?id=222248 |
| <rdar://problem/74612589> |
| |
| Reviewed by Brent Fulgham and informally by Kate Cheney. |
| |
| A new numberOfOperatingDaysPassed parameter was added to |
| testRunner.setStatisticsExpiredStatistic() to control the exact |
| number of operating days passed since user interaction. |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setStatisticsExpiredStatistic): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::setStatisticsExpiredStatistic): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): |
| |
| 2021-02-26 Devin Rousso <drousso@apple.com> |
| |
| Unreviewed, add myself to the `ConsoleUsage` watchlist |
| |
| * Scripts/webkitpy/common/config/watchlist: |
| |
| 2021-02-26 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitcorepy] Move credential access from webkitscmpy |
| https://bugs.webkit.org/show_bug.cgi?id=222487 |
| <rdar://problem/74801487> |
| |
| Rubber-stamped by Aakash Jain. |
| |
| * Scripts/libraries/webkitcorepy/setup.py: Bump version. |
| * Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Bump version, move keyring libraries. |
| * Scripts/libraries/webkitcorepy/webkitcorepy/credentials.py: Add. |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Bump version, move keyring libraries. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: |
| (GitHub.credentials): Use webkitcorepy credentials. |
| |
| 2021-02-26 Jonathan Bedard <jbedard@apple.com> |
| |
| [resultsdbpy] Use webkitcorepy requests mocking |
| https://bugs.webkit.org/show_bug.cgi?id=222443 |
| <rdar://problem/74764567> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/resultsdbpy/resultsdbpy/__init__.py: Bump version. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/casserole_unittest.py: |
| (CasseroleTest.test_synchronous): Use webkitcorepy's requests mocking. |
| (CasseroleTest.test_asynchronous): Ditto. |
| (CasseroleTest.test_list_like): Ditto. |
| (MockRequest): Deleted. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/model/ci_context_unittest.py: |
| (URLFactoryTest.mock): Use webkitcorepy's requests mocking. |
| (URLFactoryTest.MockRequest): Deleted. |
| (URLFactoryTest.get): Deleted. |
| * Scripts/libraries/resultsdbpy/resultsdbpy/view/view_routes_unittest.py: |
| (WebSiteTestCase.decorator): Referenced static files have already been moved. |
| (WebSiteTestCase.decorator.MockRequest): Deleted. |
| * Scripts/libraries/resultsdbpy/setup.py: Bump version. |
| * Scripts/libraries/webkitcorepy/setup.py: Ditto. |
| * Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto. |
| * Scripts/libraries/webkitcorepy/webkitcorepy/mocks/requests_.py: |
| (Requests.__init__): Allow caller to specify certain responses. |
| (Requests.request): |
| |
| 2021-02-26 Andres Gonzalez <andresg_22@apple.com> |
| |
| Add AXTextMarkerRangeForNSRange attribute so that Mac clients can access this functionality. |
| https://bugs.webkit.org/show_bug.cgi?id=222477 |
| |
| Reviewed by Chris Fleizach. |
| |
| * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: |
| (WTR::AccessibilityUIElement::textMarkerRangeForRange): |
| |
| 2021-02-26 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Commit queue should show commit identifier every time it updates local checkout |
| https://bugs.webkit.org/show_bug.cgi?id=222287 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/factories.py: |
| (CommitQueueFactory.__init__): Added ShowIdentifier step. |
| * CISupport/ews-build/factories_unittest.py: Updated unit-test. |
| |
| 2021-02-26 Aakash Jain <aakash_jain@apple.com> |
| |
| Remove old buildbot version from webkitpy autoinstaller |
| https://bugs.webkit.org/show_bug.cgi?id=222272 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/webkitpy/autoinstalled/buildbot.py: |
| |
| 2021-02-26 Aakash Jain <aakash_jain@apple.com> |
| |
| [build.webkit.org] Stop using deprecated buildbot.status.builder |
| https://bugs.webkit.org/show_bug.cgi?id=222373 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/build-webkit-org/steps.py: |
| |
| 2021-02-26 Philippe Normand <pnormand@igalia.com> |
| |
| Unreviewed, WPE build fix after SDK r273544 deployment |
| |
| * TestWebKitAPI/PlatformWPE.cmake: GLib include path was missing in the TestJavaScriptCore |
| build. |
| |
| 2021-02-25 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r273122 and r273123. |
| https://bugs.webkit.org/show_bug.cgi?id=222449 |
| |
| Didn't fix the extreme test variance, and caused some internal |
| performance bots to hang during testing |
| |
| Reverted changesets: |
| |
| "MotionMark scores are super sensitive to a single long frame" |
| https://bugs.webkit.org/show_bug.cgi?id=220847 |
| https://trac.webkit.org/changeset/273122 |
| |
| "MotionMark scores are super sensitive to a single long frame" |
| https://bugs.webkit.org/show_bug.cgi?id=220847 |
| https://trac.webkit.org/changeset/273123 |
| |
| 2021-02-25 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r273503. |
| https://bugs.webkit.org/show_bug.cgi?id=222442 |
| |
| Caused a blob loading failure |
| |
| Reverted changeset: |
| |
| "Serialize NSURLRequest (rather than CFURLRequest) in IPC" |
| https://bugs.webkit.org/show_bug.cgi?id=222145 |
| https://trac.webkit.org/changeset/273503 |
| |
| 2021-02-25 Alex Christensen <achristensen@webkit.org> |
| |
| Make internal ContentFiltering tests not time out after r272293 |
| https://bugs.webkit.org/show_bug.cgi?id=222437 |
| |
| Reviewed by Andy Estes. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ContentFiltering.mm: |
| (-[ServerRedirectNavigationDelegate webView:didStartProvisionalNavigation:]): |
| (-[ServerRedirectNavigationDelegate webView:didReceiveServerRedirectForProvisionalNavigation:]): |
| (TEST): |
| (downloadTest): |
| (loadAlternateTest): |
| |
| 2021-02-25 Brent Fulgham <bfulgham@apple.com> |
| |
| Serialize NSURLRequest (rather than CFURLRequest) in IPC |
| https://bugs.webkit.org/show_bug.cgi?id=222145 |
| <rdar://problem/74500963> |
| |
| Reviewed by Darin Adler and Alex Christensen. |
| |
| Add a new test to ensure we can successfully load URLs with accented characters, |
| and to test the updated IPC serialization for NSURLRequest. |
| |
| * TestWebKitAPI/Tests/WebKit/A/303/247/303/243o.html: Added. |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewLoadAPIs.mm: |
| (TEST): |
| |
| 2021-02-25 Jonathan Bedard <jbedard@apple.com> |
| |
| [build.webkit.org] Stop passing --master-name to run-webkit-tests |
| https://bugs.webkit.org/show_bug.cgi?id=222427 |
| <rdar://problem/74750838> |
| |
| Reviewed by Aakash Jain. |
| |
| * CISupport/build-webkit-org/steps.py: |
| (RunWebKitTests): |
| * CISupport/build-webkit-org/steps_unittest.py: |
| (TestRunWebKitTests.test_success): |
| (TestRunWebKitTests.test_warnings): |
| (TestRunWebKitTests.test_failure): |
| (TestRunWebKitTests.test_unexpected_error): |
| (TestRunWebKitTests.test_exception): |
| |
| 2021-02-25 Jonathan Bedard <jbedard@apple.com> |
| |
| [ews-build.webkit.org] Compute identifiers locally |
| https://bugs.webkit.org/show_bug.cgi?id=222370 |
| <rdar://problem/74704298> |
| |
| Reviewed by Aakash Jain. |
| |
| * CISupport/ews-build/factories.py: |
| (Factory.__init__): Add FetchBranches. |
| (StyleFactory.__init__): Ditto. |
| (WatchListFactory.__init__): Ditto. |
| * CISupport/ews-build/factories_unittest.py: Add FetchBranches. |
| * CISupport/ews-build/loadConfig.py: |
| (loadBuilderConfig): Remove GitHub credentials. |
| * CISupport/ews-build/steps.py: |
| (FetchBranches): Added. |
| (ShowIdentifier.start): Construct identifier locally. |
| * CISupport/ews-build/steps_unittest.py: |
| |
| 2021-02-25 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r273488. |
| https://bugs.webkit.org/show_bug.cgi?id=222426 |
| |
| Landed before necessary buildbot change. |
| |
| Reverted changeset: |
| |
| "[run-webkit-tests] Delete old results server code" |
| https://bugs.webkit.org/show_bug.cgi?id=222393 |
| https://trac.webkit.org/changeset/273488 |
| |
| 2021-02-25 Jonathan Bedard <jbedard@apple.com> |
| |
| [run-webkit-tests] Delete old results server code |
| https://bugs.webkit.org/show_bug.cgi?id=222393 |
| <rdar://problem/74722220> |
| |
| Rubber-stamped by Alexey Proskuryakov. |
| |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager._end_test_run): Remove upload code. |
| (Manager._save_json_files): Renamed from _upload_json_files. |
| (Manager._upload_json_files): Renamed to _save_json_files. |
| (Manager.upload_results): Deleted. |
| * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: |
| (JSONLayoutResultsGenerator.__init__): Remove buildbot arguments. |
| * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: |
| (JSONResultsGenerator): |
| (JSONResultsGenerator.__init__): Remove buildbot arguments. |
| (JSONResultsGenerator.get_json): Remove concept of builder. |
| (JSONResultsGenerator.upload_json_files): Deleted. |
| (JSONResultsGenerator._get_svn_revision): Deleted. |
| (JSONResultsGenerator._get_archived_json_results): Deleted. |
| (JSONResultsGenerator._insert_generic_metadata): Deleted. |
| (JSONResultsGenerator._convert_json_to_current_version): Deleted. |
| (JSONResultsGenerator._convert_tests_to_trie): Deleted. |
| (JSONResultsGenerator._remove_items_over_max_number_of_builds): Deleted. |
| (JSONResultsGenerator._normalize_results_json): Deleted. |
| (JSONResultsGenerator._is_results_all_of_type): Deleted. |
| * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py: |
| (JSONGeneratorTest.setUp): |
| (JSONGeneratorTest._test_json_generation): |
| (JSONGeneratorTest._verify_json_results): |
| * Scripts/webkitpy/layout_tests/run_webkit_tests.py: |
| (parse_args): Remove arguments used to upload to old results database. |
| |
| 2021-02-25 Chris Gambrell <cgambrell@apple.com> |
| |
| [contributors.json] Adding Chris Gambrell as a contributor |
| https://bugs.webkit.org/show_bug.cgi?id=222415 |
| <rdar://problem/74741371> |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2021-02-24 Ryosuke Niwa <rniwa@webkit.org> |
| |
| Build fix after r273465. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm: |
| |
| 2021-02-24 Kate Cheney <katherine_cheney@apple.com> |
| |
| App-bound request parameter should be passed to main resource requests not the main frame |
| https://bugs.webkit.org/show_bug.cgi?id=222241 |
| <rdar://problem/74560966> |
| |
| Reviewed by Chris Dumez. |
| |
| Adds more robust testing to report when appBound/nonAppBound requests |
| load in the network process. This tests not only that the main frame’s |
| document loader is properly set, but also that all loads initiated from |
| app-bound requests are also app-bound to avoid regressions like this in the future. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm: |
| Utilize some CSP test resources that have the exact setup needed to |
| test this fix. |
| |
| * TestWebKitAPI/cocoa/TestWKWebView.h: |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| (-[WKWebView appBoundNavigationData:]): |
| (-[WKWebView clearAppBoundNavigationReports:]): |
| |
| 2021-02-24 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Add flag for caller to opt out of identifier computation |
| https://bugs.webkit.org/show_bug.cgi?id=222337 |
| <rdar://problem/74667858> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py: |
| (Git.commit): Allow caller to opt-out of retrieving the identifier. |
| (Git.find): Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/svn.py: |
| (Svn.commit): Allow caller to opt-out of retrieving the identifier. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: |
| (BitBucket.commit): Allow caller to opt-out of retrieving the identifier. |
| (BitBucket.find): Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: |
| (GitHub.commit): Allow caller to opt-out of retrieving the identifier. |
| (GitHub.find): Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/svn.py: |
| (Svn.commit): Allow caller to opt-out of retrieving the identifier. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/scm_base.py: |
| (ScmBase.commit): Allow caller to opt-out of retrieving the identifier. |
| (ScmBase.find): Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: |
| (TestGit.test_no_identifier): |
| (TestGitHub.test_no_identifier): |
| (TestBitBucket.test_no_identifier): |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py: |
| (TestLocalSvn.test_no_identifier): |
| (TestRemoteSvn.test_no_identifier): |
| |
| 2021-02-24 Russell Epstein <repstein@apple.com> |
| |
| Revert r272735. rdar://problem/74674837 |
| |
| 2021-02-24 Aakash Jain <aakash_jain@apple.com> |
| |
| Add unit-tests for various step in build.webkit.org (follow-up fix) |
| https://bugs.webkit.org/show_bug.cgi?id=222075 |
| <rdar://problem/74691345> |
| |
| Unreviewed follow-up fix for unit-tests. |
| |
| * CISupport/build-webkit-org/steps_unittest.py: |
| (TestRunWebKitPyTests.test_failure): |
| (TestRunWebKitPyTests.test_errors): |
| (TestRunWebKitPyTests.test_lot_of_failures): |
| (TestRunLLDBWebKitTests.test_failure): |
| (TestRunLLDBWebKitTests.test_errors): |
| (TestRunLLDBWebKitTests.test_lot_of_failures): |
| |
| 2021-02-24 Keith Miller <keith_miller@apple.com> |
| |
| Cloop JSC test driver command shouldn't pass build flags |
| https://bugs.webkit.org/show_bug.cgi?id=222325 |
| |
| Reviewed by Darin Adler. |
| |
| * CISupport/build-webkit-org/steps.py: |
| (RunLLINTCLoopTests): |
| |
| 2021-02-24 Aakash Jain <aakash_jain@apple.com> |
| |
| Disable Buildbot old-style step deprecation warning |
| https://bugs.webkit.org/show_bug.cgi?id=222363 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/build-webkit-org/master_buildbot2.cfg: |
| * CISupport/ews-build/master.cfg: |
| * CISupport/runUnittests.py: |
| |
| 2021-02-24 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Add python 3 support - part 3 |
| https://bugs.webkit.org/show_bug.cgi?id=222355 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (ValidateCommiterAndReviewer.load_contributors_from_disk): Ensure that the file is closed. |
| * CISupport/ews-build/steps_unittest.py: |
| |
| 2021-02-24 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Make unit-test compatible with latest buildbot |
| https://bugs.webkit.org/show_bug.cgi?id=222359 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps_unittest.py: |
| (BuildStepMixinAdditions): |
| (BuildStepMixinAdditions.setUpBuildStep): Invoke setUpTestReactor. |
| |
| 2021-02-24 Don Olmstead <don.olmstead@sony.com> |
| |
| Only import Python flatpak module on Linux |
| https://bugs.webkit.org/show_bug.cgi?id=222327 |
| |
| Reviewed by Philippe Normand. |
| |
| Importing flatpak is only relavent for GTK/WPE ports. Also Windows can fail when importing |
| it due to platform differences. |
| |
| * Scripts/run-bindings-tests: |
| * Scripts/run-builtins-generator-tests: |
| * Scripts/run-minibrowser: |
| * Scripts/run-perf-tests: |
| * Scripts/run-webkit-httpd: |
| * Scripts/run-webkit-tests: |
| * Scripts/test-webkitpy: |
| |
| 2021-02-24 Aakash Jain <aakash_jain@apple.com> |
| |
| Add unit-tests for various step in build.webkit.org |
| https://bugs.webkit.org/show_bug.cgi?id=222075 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/build-webkit-org/steps_unittest.py: |
| (TestRunWebKitPerlTests): |
| (TestRunWebKitPerlTests.test_success): |
| (TestRunWebKitPerlTests.test_failure): |
| (TestRunWebKitPyTests): |
| (TestRunWebKitPyTests.test_success): |
| (TestRunWebKitPyTests.test_unexpected_failure): |
| (TestRunWebKitPyTests.test_failure): |
| (TestRunWebKitPyTests.test_errors): |
| (TestRunWebKitPyTests.test_lot_of_failures): |
| (TestRunLLDBWebKitTests): |
| (TestRunLLDBWebKitTests.test_success): |
| (TestRunLLDBWebKitTests.test_unexpected_failure): |
| (TestRunLLDBWebKitTests.test_failure): |
| (TestRunLLDBWebKitTests.test_errors): |
| (TestRunLLDBWebKitTests.test_lot_of_failures): |
| (TestRunWebKitTests): |
| (TestRunWebKitTests.configureStep): |
| (TestRunWebKitTests.test_success): |
| (TestRunWebKitTests.test_warnings): |
| (TestRunWebKitTests.test_failure): |
| (TestRunWebKitTests.test_unexpected_error): |
| (TestRunWebKitTests.test_exception): |
| |
| 2021-02-24 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [SOUP3] Use soup_auth_get_authority() to set the ProtectionSpace host and port |
| https://bugs.webkit.org/show_bug.cgi?id=222309 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| It fixes two tests when using libsoup3. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: |
| (testWebViewAuthenticationProxy): |
| (testWebViewAuthenticationProxyHTTPS): |
| |
| 2021-02-24 Philippe Normand <pnormand@igalia.com> |
| |
| [Flatpak SDK] PATH for rustc no longer set correctly |
| https://bugs.webkit.org/show_bug.cgi?id=222311 |
| |
| Reviewed by Žan Doberšek. |
| |
| Pass PATH as flatpak --env option, setting is through bwrap no longer works. |
| |
| * flatpak/flatpakutils.py: |
| (WebkitFlatpak.run_in_sandbox): |
| * flatpak/webkit-bwrap: |
| |
| 2021-02-23 Jonathan Bedard <jbedard@apple.com> |
| |
| [check-webkit-style] Fix Contributor sorting in Python 3 |
| https://bugs.webkit.org/show_bug.cgi?id=222329 |
| <rdar://problem/74656667> |
| |
| Reviewed by Dewei Zhu. |
| |
| * Scripts/webkitpy/common/config/committers.py: |
| (Contributor.__cmp__): Return an integer to indicate ordering. |
| (Contributor.__eq__): Add rich comparison operators for sorting. |
| (Contributor.__ne__): Ditto. |
| (Contributor.__lt__): Ditto. |
| (Contributor.__le__): Ditto. |
| (Contributor.__gt__): Ditto. |
| (Contributor.__ge__): Ditto. |
| * Scripts/webkitpy/common/config/contributors.json: |
| |
| 2021-02-23 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Add remote BitBucket |
| https://bugs.webkit.org/show_bug.cgi?id=222213 |
| <rdar://problem/74542626> |
| |
| Rubber-stamped by Aakash Jain. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Increment version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/__init__.py: Export mock BitBucket. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/bitbucket.py: Added. |
| (BitBucket): Mock limited set of BitBucket REST APIs. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/__init__.py: Export BitBucket class. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: Added. |
| (BitBucket): Repository object interacting with BitBucket via REST API. |
| (BitBucket.is_webserver): Check if the provided URL is a bitbucket URL. |
| (BitBucket.__init__): |
| (BitBucket.is_git): |
| (BitBucket.request): Combine paginated requests into a single API call. |
| (BitBucket._distance): Preform binary search |
| (BitBucket._branches_for): Return branches for reference. |
| (BitBucket.default_branch): Return the default branch. |
| (BitBucket.branches): Return all branches for repository. |
| (BitBucket.tags): Return all tags for repository. |
| (BitBucket.commit): Convert hash, identifier or git ref to Commit object. |
| (BitBucket.find): Use git to match branches and tags to a hash instead of trying to do it ourselves. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py: |
| (Scm.from_url): Add BitBucket. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: |
| (TestGitHub.test_detection): Add bitbucket url. |
| (TestBitBucket): Added. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/svn_unittest.py: |
| (TestRemoteSvn.test_detection): Add bitbucket url. |
| |
| 2021-02-23 Don Olmstead <don.olmstead@sony.com> |
| |
| Pass full environment when auto installing a Python module on Windows |
| https://bugs.webkit.org/show_bug.cgi?id=221109 |
| <rdar://problem/74002781> |
| |
| Reviewed by Jonathan Bedard. |
| |
| On Python 3 when the AutoInstall routine attempted to setup markupsafe-2.0.0 it would fail |
| when compiling native code. When compiling outside of Visual Studio there is a batch file |
| that sets up the environment. This adds a large number of environment variables which could |
| potentially change over time so to be safe the complete environment is passed to the |
| setup.py installation routine for Windows only. |
| |
| * Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py: |
| (Package.install): |
| |
| 2021-02-23 Commit Queue <commit-queue@webkit.org> |
| |
| Unreviewed, reverting r273307. |
| https://bugs.webkit.org/show_bug.cgi?id=222320 |
| |
| Need to update CI code for CLoop bot before landing this |
| |
| Reverted changeset: |
| |
| "Detect unrecognized options in run-javascriptcore-tests" |
| https://bugs.webkit.org/show_bug.cgi?id=221186 |
| https://trac.webkit.org/changeset/273307 |
| |
| 2021-02-23 Jonathan Bedard <jbedard@apple.com> |
| |
| show-identifier fails with error: ascii codec can't decode byte 0xc3 in position |
| https://bugs.webkit.org/show_bug.cgi?id=222313 |
| <rdar://problem/74645910> |
| |
| Reviewed by Aakash Jain. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/contributor.py: |
| (Contributor.__repr__): Always return unicode for Python 2. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/test/contributor_unittest.py: |
| (TestContributor.test_unicode): |
| |
| 2021-02-23 Rob Buis <rbuis@igalia.com> |
| |
| aspect-ratio shows in computed style when disabled |
| https://bugs.webkit.org/show_bug.cgi?id=222286 |
| |
| Reviewed by Simon Fraser. |
| |
| Add support for disabling aspect-ratio in wk1. |
| |
| * DumpRenderTree/TestOptions.cpp: |
| (WTR::TestOptions::defaults): |
| |
| 2021-02-23 Chris Dumez <cdumez@apple.com> |
| |
| Use adoptNS() as soon as we [[ObjcClass alloc] init] to avoid leaks in Tools/ |
| https://bugs.webkit.org/show_bug.cgi?id=222288 |
| |
| Reviewed by Darin Adler. |
| |
| * DumpRenderTree/ios/PixelDumpSupportIOS.mm: |
| * DumpRenderTree/ios/UIScriptControllerIOS.mm: |
| (WTR::UIScriptControllerIOS::zoomScale const): |
| (WTR::UIScriptControllerIOS::scrollToOffset): |
| (WTR::UIScriptControllerIOS::immediateScrollToOffset): |
| (WTR::UIScriptControllerIOS::minimumZoomScale const): |
| (WTR::UIScriptControllerIOS::maximumZoomScale const): |
| * DumpRenderTree/mac/DumpRenderTree.mm: |
| (fontAllowList): |
| (adjustWebDocumentForFlexibleViewport): |
| (createWebViewAndOffscreenWindow): |
| (allocateGlobalControllers): |
| (releaseGlobalControllers): |
| (resetWebViewToConsistentState): |
| (runTest): |
| * DumpRenderTree/mac/DumpRenderTreeMac.h: |
| * DumpRenderTree/mac/DumpRenderTreePasteboard.mm: |
| (+[DumpRenderTreePasteboard _pasteboardWithName:]): |
| (+[DumpRenderTreePasteboard releaseLocalPasteboards]): |
| * DumpRenderTree/mac/EventSendingController.mm: |
| (drt_WebHTMLView_beginDraggingSessionWithItemsEventSource): |
| (+[EventSendingController initialize]): |
| (-[EventSendingController beginDragWithFiles:]): |
| (-[EventSendingController beginDragWithFilePromises:]): |
| (-[EventSendingController mouseUp:withModifiers:]): |
| (-[EventSendingController mouseMoveToX:Y:]): |
| * DumpRenderTree/mac/FrameLoadDelegate.mm: |
| (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): |
| * DumpRenderTree/mac/TestRunnerMac.mm: |
| (TestRunner::setCustomPolicyDelegate): |
| (TestRunner::waitForPolicyDelegate): |
| (TestRunner::apiTestNewWindowDataLoadBaseURL): |
| * DumpRenderTree/mac/UIDelegate.mm: |
| (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): |
| (-[UIDelegate dealloc]): |
| * TestRunnerShared/cocoa/LayoutTestSpellChecker.mm: |
| (ensureGlobalLayoutTestSpellChecker): |
| * TestWebKitAPI/Tests/WebKit/GetUserMedia.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaNavigation.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/mac/CustomBundleParameter.mm: |
| (TestWebKitAPI::didReceiveMessageFromInjectedBundle): |
| * TestWebKitAPI/Tests/WebKitCocoa/CommandBackForward.mm: |
| (WebKit2_CommandBackForwardTestWKView::SetUp): |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ReparentWebViewTimeout.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/SchemeRegistry.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/SystemPreview.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm: |
| (-[TestSOAuthorizationDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/UserInitiatedActionInNavigationAction.mm: |
| (UserInitiatedActionTest::URLWithFragment): |
| * TestWebKitAPI/Tests/WebKitCocoa/UserMediaDisabled.mm: |
| (TEST_F): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKInspectorDelegate.mm: |
| (-[UIDelegate _webView:configurationForLocalInspector:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewCandidateTests.mm: |
| (+[CandidateTestWebView setUpWithFrame:testPage:]): |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewDoesNotLogDuringInitialization.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEvaluateJavaScript.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm: |
| (runWebsiteDataStoreCustomPaths): |
| * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: |
| (-[WebsitePoliciesWebsiteDataStoreDelegate webView:startURLSchemeTask:]): |
| * TestWebKitAPI/Tests/WebKitLegacy/mac/ClosingWebView.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitObjC/CustomProtocolsInvalidScheme.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitObjC/PreventImageLoadWithAutoResizing.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitObjC/UserContentTest.mm: |
| (TEST_F): |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| (+[InputAssistantItemTestingWebView leadingItemsForWebView:]): |
| (+[InputAssistantItemTestingWebView trailingItemsForWebView:]): |
| * TestWebKitAPI/Tests/ios/WKScrollViewDelegate.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/CandidateTests.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/ios/mainIOS.mm: |
| (main): |
| * TestWebKitAPI/mac/TestFontOptions.mm: |
| (+[TestFontOptions sharedInstance]): |
| * TestWebKitAPI/mac/mainMac.mm: |
| (main): |
| * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm: |
| (WTR::AccessibilityController::addNotificationListener): |
| * WebKitTestRunner/cocoa/TestControllerCocoa.mm: |
| (WTR::globalWebViewConfiguration): |
| (WTR::globalWebsiteDataStoreDelegateClient): |
| (WTR::initializeWebViewConfiguration): |
| (WTR::TestController::platformContext): |
| (WTR::TestController::platformPreferences): |
| (WTR::TestController::platformInitializeDataStore): |
| (WTR::TestController::platformCreateWebView): |
| (WTR::TestController::platformCreateOtherPage): |
| (WTR::TestController::platformAdjustContext): |
| (WTR::TestController::cocoaResetStateToConsistentValues): |
| (WTR::TestController::removeAllSessionCredentials): |
| (WTR::TestController::getAllStorageAccessEntries): |
| (WTR::TestController::loadedSubresourceDomains): |
| (WTR::TestController::clearLoadedSubresourceDomains): |
| (WTR::TestController::injectUserScript): |
| (WTR::TestController::setAllowStorageQuotaIncrease): |
| (WTR::TestController::setAllowsAnySSLCertificate): |
| * WebKitTestRunner/ios/GeneratedTouchesDebugWindow.mm: |
| (+[GeneratedTouchesDebugWindow sharedGeneratedTouchesDebugWindow]): |
| * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| (+[HIDEventGenerator sharedHIDEventGenerator]): |
| * WebKitTestRunner/mac/TestControllerMac.mm: |
| (WTR::TestController::configureContentExtensionForTest): |
| * WebKitTestRunner/mac/WebKitTestRunnerPasteboard.mm: |
| (+[WebKitTestRunnerPasteboard _pasteboardWithName:]): |
| (+[WebKitTestRunnerPasteboard releaseLocalPasteboards]): |
| |
| 2021-02-23 Angelos Oikonomopoulos <angelos@igalia.com> |
| |
| Detect unrecognized options in run-javascriptcore-tests |
| https://bugs.webkit.org/show_bug.cgi?id=221186 |
| |
| Reviewed by Keith Miller. |
| |
| run-javascriptcore-tests saves unrecognized arguments to pass |
| through to build-jsc even when --no-build is used. However, when |
| we're not building, nothing will ever use or look at the extra |
| arguments. This means that those arguments are silently eaten |
| up and, consequently, typos in option names can go undetected. |
| |
| Change the script to fail when --no-build has been passed and |
| there are unrecognized options. |
| |
| * Scripts/run-javascriptcore-tests: |
| |
| 2021-02-23 Frederic Wang <fwang@igalia.com> |
| |
| [GTK] Use std::bitset to specify WebKitTestServer's options |
| https://bugs.webkit.org/show_bug.cgi?id=222273 |
| |
| Reviewed by Carlos Garcia Campos. |
| |
| * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp: |
| (beforeAll): |
| * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp: |
| (WebKitTestServer::WebKitTestServer): |
| * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.h: |
| |
| 2021-02-22 Alex Christensen <achristensen@webkit.org> |
| |
| Re-enable RangeResponseGenerator. |
| https://bugs.webkit.org/show_bug.cgi?id=221072 |
| <rdar://problem/74551753> |
| |
| r273263 was a false alarm. Reverting that revision. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/MediaLoading.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-02-22 Chris Dumez <cdumez@apple.com> |
| |
| [Cocoa] Add WKWebView session restoration API |
| https://bugs.webkit.org/show_bug.cgi?id=220958 |
| <rdar://70956146> |
| |
| Reviewed by Geoffrey Garen. |
| |
| Add API test coverage. |
| |
| * TestWebKitAPI/Tests/WebKit/WKBackForwardList.mm: |
| (TEST): |
| |
| 2021-02-22 Chris Dumez <cdumez@apple.com> |
| |
| Use adoptNS() as soon as we [[ObjcClass alloc] init] to avoid leaks |
| https://bugs.webkit.org/show_bug.cgi?id=222237 |
| |
| Reviewed by Darin Adler. |
| |
| * TestRunnerShared/mac/NSPasteboardAdditions.mm: |
| (+[NSPasteboard _modernPasteboardType:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm: |
| * TestWebKitAPI/Tests/WebKitLegacy/mac/DeallocWebViewInEventListener.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/CancelLoadFromResourceLoadDelegate.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/CloseNewWindowInNavigationPolicyDelegate.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/StopLoadingFromDidReceiveResponse.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/ios/mainIOS.mm: |
| (main): |
| * TestWebKitAPI/mac/mainMac.mm: |
| (main): |
| |
| 2021-02-22 Sam Sneddon <gsnedders@apple.com> |
| |
| Run Python tests for Source/WebKit/Scripts changes in EWS |
| https://bugs.webkit.org/show_bug.cgi?id=222276 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| |
| 2021-02-22 Jonathan Bedard <jbedard@apple.com> |
| |
| [git-webkit] Failure to retrieve commit in EWS |
| https://bugs.webkit.org/show_bug.cgi?id=222050 |
| <rdar://problem/74439957> |
| |
| Reviewed by Aakash Jain. |
| |
| * CISupport/ews-build/loadConfig.py: |
| (loadBuilderConfig): Load GitHub credentials. |
| * CISupport/ews-build/steps.py: |
| (ShowIdentifier.start): Pass GitHub credentials to worker. |
| * CISupport/ews-build/steps_unittest.py: |
| |
| 2021-02-22 Alex Christensen <achristensen@webkit.org> |
| |
| Disable RangeResponseGenerator. |
| https://bugs.webkit.org/show_bug.cgi?id=221072 |
| <rdar://problem/74551753> |
| |
| It might be causing issues. Disabling to speculatively fix the radar. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/MediaLoading.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-02-22 Philippe Normand <pnormand@igalia.com> |
| |
| [Flatpak SDK] gdb unusable in sandbox |
| https://bugs.webkit.org/show_bug.cgi?id=222247 |
| |
| Reviewed by Žan Doberšek. |
| |
| This patch adds support for unix signals disabling in developer builds, for the Flatpak SDK |
| runtime. Currently SIGINT, SIGHUP and SIGTERM will be ignored by the flatpak and bwrap |
| processes when they're running gdb in the sandbox runtime. This allows for nicer interactive |
| debugging sessions where Ctrl-C is actually handled by gdb. |
| |
| * PlatformGTK.cmake: |
| * PlatformWPE.cmake: |
| * flatpak/CMakeLists.txt: Added. |
| * flatpak/flatpakutils.py: |
| (nullcontext): |
| (disable_signals): |
| (WebkitFlatpak.execute_command): |
| (WebkitFlatpak.run_in_sandbox): |
| * flatpak/sigaction-disabler.c: Added. |
| (real_sigaction): |
| (sigaction): |
| * flatpak/webkit-bwrap: |
| |
| 2021-02-22 Philippe Normand <pnormand@igalia.com> |
| |
| [Flatpak SDK] Add Monado for XR runtime support |
| https://bugs.webkit.org/show_bug.cgi?id=220738 |
| |
| Reviewed by Žan Doberšek. |
| |
| * flatpak/flatpakutils.py: |
| (WebkitFlatpak.run_in_sandbox): Allow runtime XR environment setup in the sandbox through |
| the XR_RUNTIME_JSON variable. |
| |
| 2021-02-22 Philippe Normand <pnormand@igalia.com> |
| |
| [Flatpak SDK] X11 SSH forwarding fails |
| https://bugs.webkit.org/show_bug.cgi?id=222246 |
| |
| Reviewed by Žan Doberšek. |
| |
| * flatpak/flatpakutils.py: |
| (WebkitFlatpak.run_in_sandbox): Forward the DISPLAY env var to the sandbox. |
| * flatpak/webkit-bwrap: Set the DISPLAY env var if it was set in the parent process. |
| |
| 2021-02-22 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [SOUP] Add support for libsoup3 |
| https://bugs.webkit.org/show_bug.cgi?id=222093 |
| |
| Reviewed by Adrian Perez de Castro. |
| |
| * MiniBrowser/gtk/BrowserTab.c: |
| (tlsErrorsDialogResponse): |
| * TestWebKitAPI/PlatformGTK.cmake: |
| * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: |
| (Tunnel::Tunnel): |
| (Tunnel::connect): |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestBackForwardList.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp: |
| (testCookieManagerAddCookie): |
| (testCookieManagerGetCookies): |
| (testCookieManagerDeleteCookie): |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp: |
| (addContentDispositionHTTPHeaderToResponse): |
| (writeNextChunk): |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp: |
| (testLoadingError): |
| (testWebViewIsLoading): |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestResources.cpp: |
| (addCacheHTTPHeadersToResponse): |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp: |
| (WebSocketTest::serverWebSocketCallback): |
| (httpsServerCallback): |
| (httpServerCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitPolicyClient.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitUserContentManager.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp: |
| (serverCallback): |
| (ProxyTest::webSocketProxyServerCallback): |
| (webSocketServerCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp: |
| (serverCallback): |
| * TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp: |
| (writeNextChunk): |
| (serverCallback): |
| * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp: |
| (WebKitTestServer::run): |
| (WebKitTestServer::addWebSocketHandler): |
| |
| 2021-02-22 Philippe Normand <pnormand@igalia.com> |
| |
| [Flatpak SDK] Cog build fails when gst-build is enabled |
| https://bugs.webkit.org/show_bug.cgi?id=222102 |
| |
| Reviewed by Žan Doberšek. |
| |
| Merge gst-build env vars in the sandbox environment, without overriding previously set PATH |
| values such as PKG_CONFIG_PATH. |
| |
| * flatpak/flatpakutils.py: |
| (WebkitFlatpak.setup_gstbuild): |
| (WebkitFlatpak.run_in_sandbox): |
| |
| 2021-02-22 Philippe Normand <pnormand@igalia.com> |
| |
| [Flatpak SDK] Bootstrap the run-httpd script in the SDK runtime |
| https://bugs.webkit.org/show_bug.cgi?id=221464 |
| |
| Reviewed by Žan Doberšek. |
| |
| * Scripts/run-webkit-httpd: On Linux platforms, run the script within the SDK runtime, if it |
| is available on the host system. |
| |
| 2021-02-21 Andres Gonzalez <andresg_22@apple.com> |
| |
| Add [WebAccessibilityObjectWrapper textMarkerRangeForNSRange] to allow clients to efficiently get a TextMarkerRange from an NSRange. |
| https://bugs.webkit.org/show_bug.cgi?id=222154 |
| |
| Reviewed by Chris Fleizach and Darin Adler. |
| |
| * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: |
| (WTR::AccessibilityUIElement::textMarkerRangeForRange): |
| * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: |
| * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: |
| * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: |
| (WTR::AccessibilityUIElement::textMarkerRangeForRange): |
| |
| 2021-02-20 Chris Fleizach <cfleizach@apple.com> |
| |
| AX: Image should report the embedded accessibility description if available |
| https://bugs.webkit.org/show_bug.cgi?id=221875 |
| <rdar://problem/74320584> |
| |
| Reviewed by Jer Noble. |
| |
| * DumpRenderTree/AccessibilityUIElement.cpp: |
| (getEmbeddedImageDescription): |
| (AccessibilityUIElement::getJSClass): |
| * DumpRenderTree/AccessibilityUIElement.h: |
| * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: |
| (AccessibilityUIElement::embeddedImageDescription const): |
| * DumpRenderTree/mac/AccessibilityUIElementMac.mm: |
| (AccessibilityUIElement::embeddedImageDescription const): |
| * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: |
| * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: |
| * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: |
| (WTR::AccessibilityUIElement::embeddedImageDescription const): |
| * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: |
| (WTR::AccessibilityUIElement::embeddedImageDescription const): |
| |
| 2021-02-20 Peng Liu <peng.liu6@apple.com> |
| |
| Video elements do not work as sources for TexImage2D calls in GPU Process |
| https://bugs.webkit.org/show_bug.cgi?id=218184 |
| |
| Reviewed by Jer Noble. |
| |
| * Scripts/generate-gpup-webgl: |
| |
| 2021-02-20 Jiewen Tan <jiewen_tan@apple.com> |
| |
| PCM: Store and report source unlinkable tokens |
| https://bugs.webkit.org/show_bug.cgi?id=222208 |
| <rdar://problem/73582032> |
| |
| Reviewed by John Wilander. |
| |
| * TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp: |
| (TestWebKitAPI::TEST): |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setFraudPreventionValuesForTesting): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::setFraudPreventionValuesForTesting): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| Rebases some test cases. |
| |
| 2021-02-20 Kimmo Kinnunen <kkinnunen@apple.com> |
| |
| WebGL GPU process IPC should use shared memory for asynchronous messages |
| https://bugs.webkit.org/show_bug.cgi?id=219641 |
| <rdar://problem/72340651> |
| |
| Reviewed by Geoff Garen. |
| |
| Mark RemoteGraphicsContextGL message receiver as "Stream", |
| a new variant of receiver. |
| |
| * Scripts/generate-gpup-webgl: |
| |
| 2021-02-20 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Unreviewed, reverting r273115. |
| |
| Breaks autocorrect without the accompanying change in |
| rdar://problem/74211293 |
| |
| Reverted changeset: |
| |
| "Unconditionally return information in _autofillContext SPI |
| when a field is focused" |
| https://bugs.webkit.org/show_bug.cgi?id=221828 |
| https://commits.webkit.org/r273115 |
| |
| 2021-02-20 Aakash Jain <aakash_jain@apple.com> |
| |
| Revert r272384 [Python-3] Change shebang in git-webkit |
| https://bugs.webkit.org/show_bug.cgi?id=221412 |
| |
| Unreviewed infrastructure fix. |
| |
| Revert to Python 2 for git-webkit command because of auto-install issues. |
| * CISupport/ews-build/steps.py: |
| * CISupport/ews-build/steps_unittest.py: |
| |
| 2021-02-19 Chris Dumez <cdumez@apple.com> |
| |
| Review remaining usage of autorelease to make sure it is necessary |
| https://bugs.webkit.org/show_bug.cgi?id=222177 |
| |
| Reviewed by Geoffrey Garen. |
| |
| * TestRunnerShared/mac/NSPasteboardAdditions.mm: |
| (+[NSPasteboard _modernPasteboardType:]): |
| * TestWebKitAPI/Tests/JavaScriptCore/JSRunLoopTimer.mm: |
| (TestWebKitAPI::triggerGC): |
| * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: |
| (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp): |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaNavigation.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/mac/ContextMenuImgWithVideo.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ContentRuleListNotification.mm: |
| (-[ContentRuleListNotificationDelegate webView:startURLSchemeTask:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/DeviceManagementRestrictions.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: |
| (TestWebKitAPI::webViewWithDownloadMonitorSpeedMultiplier): |
| * TestWebKitAPI/Tests/WebKitCocoa/DragAndDropTests.mm: |
| (runDragStartDataTestCase): |
| * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm: |
| (-[InAppBrowserSchemeHandler webView:startURLSchemeTask:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBStructuredCloneBackwardCompatibility.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBTempFileSize.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/JITEnabled.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageDatabaseTracker.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ReparentWebViewTimeout.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm: |
| (TEST): |
| (-[ResourceLoadStatisticsSchemeHandler webView:startURLSchemeTask:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm: |
| (TEST): |
| (-[UITestDelegate webView:startURLSchemeTask:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm: |
| (webViewForScriptMessageHandlerMultipleHandlerRemovalTest): |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm: |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-1.mm: |
| (-[SyncErrorScheme webView:startURLSchemeTask:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEvaluateJavaScript.mm: |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/mac/FontManagerTests.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-02-19 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] Specify a _UIDataOwner when reading or writing from the system pasteboard |
| https://bugs.webkit.org/show_bug.cgi?id=222072 |
| <rdar://problem/74208576> |
| |
| Reviewed by Devin Rousso. |
| |
| Add a couple of new API tests to verify that `+[UIPasteboard _performAsDataOwner:block:]` is invoked with the |
| expected data owner type when copying and pasting. |
| |
| * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: |
| (+[TestUIPasteboard _performAsDataOwner:block:]): |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/cocoa/TestWKWebView.h: |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| (-[WKWebView contentsAsString]): |
| |
| Additionally add a helper method to grab a `WKWebView`'s contents as an `NSString`, just for convenience. |
| |
| 2021-02-19 Alex Christensen <achristensen@webkit.org> |
| |
| NSError returned by WebKit API should actually conform to NSSecureCoding |
| https://bugs.webkit.org/show_bug.cgi?id=222204 |
| <rdar://problem/63893583> |
| |
| Reviewed by Chris Dumez. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/cocoa/TestNavigationDelegate.h: |
| * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: |
| (-[TestNavigationDelegate waitForDidFailProvisionalNavigation]): |
| |
| 2021-02-16 Jiewen Tan <jiewen_tan@apple.com> |
| |
| PCM: Generate secret token and corresponding unlinkable token |
| https://bugs.webkit.org/show_bug.cgi?id=222019 |
| <rdar://problem/73581412> |
| |
| Reviewed by John Wilander. |
| |
| * TestWebKitAPI/Tests/WebCore/PrivateClickMeasurement.cpp: |
| (TestWebKitAPI::TEST): |
| Add tests. |
| |
| 2021-02-19 Aditya Keerthi <akeerthi@apple.com> |
| |
| [iOS][FCR] Enable the new appearance by default |
| https://bugs.webkit.org/show_bug.cgi?id=222015 |
| <rdar://problem/74415537> |
| |
| Reviewed by Wenson Hsieh. |
| |
| Rebaselined tests to account for changes to <input> and |
| <textarea> elements. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm: |
| (DocumentEditingContext.SpatialRequestInTextField): |
| * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: |
| (DragAndDropTests.BackgroundImageLinkToInput): |
| (DragAndDropTests.ContentEditableToTextarea): |
| (DragAndDropTests.ImageInLinkToInput): |
| (DragAndDropTests.LinkToInput): |
| (DragAndDropTests.TextAreaToInput): |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| (KeyboardInputTests.SelectionClipRectsWhenPresentingInputView): |
| |
| 2021-02-19 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Ensure that the test failures are listed in sorted order |
| https://bugs.webkit.org/show_bug.cgi?id=222176 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (ReRunJavaScriptCoreTests.evaluateCommand): |
| (AnalyzeJSCTestsResults.start): |
| (RunWebKitTests.commandComplete): |
| (ReRunWebKitTests.evaluateCommand): |
| (ReRunWebKitTests.commandComplete): |
| * CISupport/ews-build/steps_unittest.py: |
| (TestAnalyzeJSCTestsResults.test_multiple_new_stress_failure): |
| (TestAnalyzeJSCTestsResults.test_multiple_new_binary_failure): |
| |
| 2021-02-19 Jonathan Bedard <jbedard@apple.com> |
| |
| [webkitscmpy] Add clean command |
| https://bugs.webkit.org/show_bug.cgi?id=222135 |
| <rdar://problem/74496504> |
| |
| Reviewed by Aakash Jain. |
| |
| * Scripts/libraries/webkitscmpy/setup.py: Bump version. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py: |
| (Git): |
| (Git.clean): Throw away all local changes. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/local/svn.py: |
| (Svn): |
| (Svn.clean): Throw away all local changes, delete untracked files. |
| * Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py: |
| (main): Add Clean command |
| * Scripts/libraries/webkitscmpy/webkitscmpy/program/clean.py: Added. |
| (Clean): Command to remove all local changes from the current checkout. |
| |
| 2021-02-19 Jiewen Tan <jiewen_tan@apple.com> |
| |
| PCM: Request server public key to generate secret token |
| https://bugs.webkit.org/show_bug.cgi?id=222141 |
| <rdar://problem/74462955> |
| |
| Reviewed by John Wilander. |
| |
| * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: |
| * WebKitTestRunner/InjectedBundle/TestRunner.cpp: |
| (WTR::TestRunner::setPrivateClickMeasurementTokenPublicKeyURLForTesting): |
| * WebKitTestRunner/InjectedBundle/TestRunner.h: |
| * WebKitTestRunner/TestController.cpp: |
| (WTR::TestController::setPrivateClickMeasurementTokenPublicKeyURLForTesting): |
| * WebKitTestRunner/TestController.h: |
| * WebKitTestRunner/TestInvocation.cpp: |
| (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): |
| Paperwork to add a way to set test URL. |
| |
| 2021-02-19 Youenn Fablet <youenn@apple.com> |
| |
| Update WKWebView getUserMedia delegate to latest proposal |
| https://bugs.webkit.org/show_bug.cgi?id=222103 |
| |
| Reviewed by Eric Carlson. |
| |
| Introduce UserMediaCaptureUIDelegate to share more code between tests. |
| |
| * TestWebKitAPI/SourcesCocoa.txt: |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKit/GetUserMedia.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaNavigation.mm: |
| (-[NavigationWhileGetUserMediaPromptDisplayedUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): |
| * TestWebKitAPI/Tests/WebKit/GetUserMediaReprompt.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKit/MediaStreamTrackDetached.mm: |
| (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]): |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/SpeechRecognition.mm: |
| (-[SpeechRecognitionUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): |
| (-[SpeechRecognitionUIDelegate _webView:requestMediaCaptureAuthorization:decisionHandler:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/UserMediaDisabled.mm: |
| (-[UserMediaUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): |
| * TestWebKitAPI/Tests/WebKitCocoa/UserMediaSimulateFailedSandbox.mm: |
| (-[SimulateFailedSandboxUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): |
| * TestWebKitAPI/cocoa/UserMediaCaptureUIDelegate.h: Added. |
| * TestWebKitAPI/cocoa/UserMediaCaptureUIDelegate.mm: Added. |
| (-[UserMediaCaptureUIDelegate init]): |
| (-[UserMediaCaptureUIDelegate wasPrompted]): |
| (-[UserMediaCaptureUIDelegate resetWasPrompted]): |
| (-[UserMediaCaptureUIDelegate waitUntilPrompted]): |
| (-[UserMediaCaptureUIDelegate setAudioDecision:]): |
| (-[UserMediaCaptureUIDelegate setVideoDecision:]): |
| (-[UserMediaCaptureUIDelegate _webView:requestMediaCapturePermission:video:decisionHandler:]): |
| (-[UserMediaCaptureUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]): |
| |
| 2021-02-18 Lauro Moura <lmoura@igalia.com> |
| |
| [GLIB] Gardening debug OffscreenCanvas crashes |
| |
| Unreviewed test gardening. |
| |
| * TestWebKitAPI/glib/TestExpectations.json: Update bug number after |
| last gardening. |
| |
| 2021-02-18 Myles C. Maxfield <mmaxfield@apple.com> |
| |
| MotionMark scores are super sensitive to a single long frame |
| https://bugs.webkit.org/show_bug.cgi?id=220847 |
| <rdar://problem/74152743> |
| |
| Unreviewed. |
| |
| Upgrade motionmark1.1.plan to r273122. |
| |
| * Scripts/webkitpy/benchmark_runner/data/plans/motionmark1.1.plan: |
| |
| 2021-02-18 Ricky Mondello <rmondello@apple.com> |
| |
| Unconditionally return information in _autofillContext SPI when a field is focused |
| https://bugs.webkit.org/show_bug.cgi?id=221828 |
| rdar://74211237 |
| |
| Reviewed by Darin Adler. |
| |
| Tests updated by Wenson Hsieh. |
| |
| Rebaseline tests. |
| |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: |
| (-[AutoFillTestView acceptsAutoFillLoginCredentials]): Renamed in line with the Password AutoFill-related |
| contract these tests are about. |
| |
| 2021-02-18 Alex Christensen <achristensen@webkit.org> |
| |
| Add null check in _getMainResourceDataWithCompletionHandler |
| https://bugs.webkit.org/show_bug.cgi?id=222139 |
| <rdar://problem/74449438> |
| |
| Reviewed by Tim Horton. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/GetResourceData.mm: |
| (TEST): |
| |
| 2021-02-18 Alex Christensen <achristensen@webkit.org> |
| |
| Fix null dereferencing in RangeResponseGenerator::giveResponseToTasksWithFinishedRanges |
| https://bugs.webkit.org/show_bug.cgi?id=222126 |
| |
| Reviewed by Darin Adler. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/MediaLoading.mm: |
| (TestWebKitAPI::TEST): |
| |
| 2021-02-18 Kate Cheney <katherine_cheney@apple.com> |
| |
| Add support for non app-bound requests |
| https://bugs.webkit.org/show_bug.cgi?id=221909 |
| <rdar://problem/73512988> |
| |
| API test coverage. |
| |
| Reviewed by Brent Fulgham. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm: |
| * TestWebKitAPI/cocoa/TestWKWebView.h: |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| (-[WKWebView lastNavigationWasAppBound:]): |
| |
| 2021-02-18 Sam Sneddon <gsnedders@apple.com> |
| |
| Undeprecate some webkit-patch commands |
| https://bugs.webkit.org/show_bug.cgi?id=222106 |
| |
| Reviewed by Jonathan Bedard. |
| |
| This removes the deprecated decorator from the webkit-patch commands we quickly heard are |
| actually used: apply-watchlist-local, check-style, clean, create-revert, prepare-revert, |
| and validate-changelog. |
| |
| * Scripts/webkitpy/tool/commands/applywatchlistlocal.py: |
| * Scripts/webkitpy/tool/commands/download.py: |
| |
| 2021-02-18 Don Olmstead <don.olmstead@sony.com> |
| |
| Skip platform specific Python tests |
| https://bugs.webkit.org/show_bug.cgi?id=222066 |
| |
| Reviewed by Jonathan Bedard. |
| |
| Catalog platform specific tests based on operating system. Skip those tests that don't |
| apply to the platform. Mac should continue to run all tests since it runs the webkitpy |
| tests in EWS. |
| |
| * Scripts/webkitpy/test/main.py: |
| |
| 2021-02-18 Aakash Jain <aakash_jain@apple.com> |
| |
| [ews] Ensure that uat instance doesn't comment on bugs |
| https://bugs.webkit.org/show_bug.cgi?id=222035 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * CISupport/ews-build/steps.py: |
| (SetCommitQueueMinusFlagOnPatch.getResultSummary): |
| (SetCommitQueueMinusFlagOnPatch.doStepIf): |
| (CommentOnBug.getResultSummary): |
| (CommentOnBug.doStepIf): |
| (PushCommitToWebKitRepo.doStepIf): |
| * CISupport/ews-build/steps_unittest.py: Updated unit-test accordingly. |
| |