| 2019-06-09 Fujii Hironori <Hironori.Fujii@sony.com> |
| |
| [WinCairo][MiniBrowser] Disable MediaCapabilities until it's ready |
| https://bugs.webkit.org/show_bug.cgi?id=198655 |
| |
| Reviewed by Ross Kirsling. |
| |
| MediaCapabilities is enabled by default for WK2, but WinCairo |
| doesn't implemented yet. Disable it in MiniBrowser. |
| |
| * MiniBrowser/win/WebKitBrowserWindow.cpp: |
| (WebKitBrowserWindow::create): |
| |
| 2019-06-08 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] The default application name for user agent when requesting desktop content is still "Mobile/15E148" |
| https://bugs.webkit.org/show_bug.cgi?id=198693 |
| <rdar://problem/51555371> |
| |
| Reviewed by Tim Horton. |
| |
| Augment an existing API test to exercise three additional scenarios: |
| - The web view configuration's application name is never set; the default should not include |
| "Mobile/15E148" in desktop mode. |
| - The application name is explicitly set to nil; the default application name should still not include |
| "Mobile/15E148". |
| - The application name is explicitly set to the default value, "Mobile/15E148". WKWebView should honor |
| this when generating the user agent, even in desktop mode. |
| |
| * TestWebKitAPI/ios/PreferredContentMode.mm: |
| (TestWebKitAPI::setUpWebViewForPreferredContentModeTestingWithoutNavigationDelegate): |
| (TestWebKitAPI::setUpWebViewForPreferredContentModeTesting): |
| (TestWebKitAPI::TEST): |
| |
| 2019-06-08 Zalan Bujtas <zalan@apple.com> |
| |
| [LFC] Unreviewed test gardening. |
| |
| Remove rtl tests. They were mistakenly marked as pass. |
| |
| * LayoutReloaded/misc/LFC-passing-tests.txt: |
| |
| 2019-06-07 Said Abou-Hallawa <sabouhallawa@apple.com> |
| |
| REGRESSION (r244182) [WK1]: Page updates should always scheduleCompositingLayerFlush() immediately |
| https://bugs.webkit.org/show_bug.cgi?id=198664 |
| |
| Reviewed by Simon Fraser. |
| |
| Delete repeated entries which were submitted by mistake. |
| |
| * Tracing/SystemTracePoints.plist: |
| |
| 2019-06-07 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| Allow clients to vend custom -inputView and -inputAccessoryView by overriding WKWebView methods |
| https://bugs.webkit.org/show_bug.cgi?id=198631 |
| <rdar://problem/51505431> |
| |
| Reviewed by Tim Horton. |
| |
| Add an API test that overrides -[WKWebView inputView] and -[WKWebView inputAccessoryView]. |
| |
| * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: |
| (-[CustomInputWebView initWithFrame:configuration:inputView:inputAccessoryView:]): |
| (-[CustomInputWebView inputView]): |
| (-[CustomInputWebView inputAccessoryView]): |
| (TestWebKitAPI::TEST): |
| |
| 2019-06-07 Daniel Bates <dabates@apple.com> |
| |
| [lldb-webkit] Pretty-print all kinds of Documents |
| https://bugs.webkit.org/show_bug.cgi?id=198620 |
| |
| Reviewed by Simon Fraser. |
| |
| Register formatters for all classes derived from WebCore::Document so we get nice summaries |
| without having to drill down in Xcode- or casting- to the base class, Document. |
| |
| Older LLDB versions use to do this automatically, but this functionality was removed in newer |
| versions: |
| [[ |
| Warning: previous versions of LLDB defined cascading to mean not only going through typedef |
| chains, but also through inheritance chains. This feature has been removed since it |
| significantly degrades performance. You need to set up your formatters for every type in |
| inheritance chains to which you want the formatter to apply. |
| ]] |
| <https://lldb.llvm.org/use/variable.html> (as of 06/06/2019) |
| |
| * lldb/lldb_webkit.py: |
| (__lldb_init_module): |
| |
| 2019-06-07 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpy: Support reporting results for uncommon test configurations |
| https://bugs.webkit.org/show_bug.cgi?id=198662 |
| <rdar://problem/51524128> |
| |
| Reviewed by Aakash Jain. |
| |
| * Scripts/webkitpy/layout_tests/controllers/manager.py: |
| (Manager.run): Override wk1 and wk2 flavors with specified flavor. |
| * Scripts/webkitpy/port/base.py: |
| (Port.configuration_for_upload): Set flavor based on options. |
| * Scripts/webkitpy/results/options.py: |
| (upload_options): Add result-report-flavor option. |
| * Scripts/webkitpy/test/main.py: |
| (Tester._run_tests): Set flavor based on options. |
| |
| 2019-06-07 Wenson Hsieh <wenson_hsieh@apple.com> |
| |
| [iOS] At least 6 API tests are failing due to an exception when writing NSAttributedString to the pasteboard |
| https://bugs.webkit.org/show_bug.cgi?id=198641 |
| <rdar://problem/51266310> |
| |
| Reviewed by Tim Horton. |
| |
| Work around a bug in a lower-level framework, which currently prevents NSAttributedStrings from being written to |
| UIPasteboard by way of -[NSItemProvider registerObject:visibility:]. This is because, when saving a |
| representation of "public.rtfd" to disk, the default suggested filename (determined using CoreServices APIs |
| _UTTypeCreateSuggestedFilename and UTTypeCopyDescription) ends up being nil; UIKit then subsequently tries to |
| append nil as a path component using -URLByAppendingPathComponent:, which throws an exception. This only |
| reproduces on iOS simulator. |
| |
| To work around this for the time being, simply avoid writing a representation of "public.rtfd" to disk. This |
| representation is actually ignored by most clients anyways (including WebKit), in favor of using |
| "com.apple.flat-rtfd". |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: |
| (TestWebKitAPI::TEST): |
| * TestWebKitAPI/cocoa/TestWKWebView.mm: |
| (applyWorkaroundToAllowWritingAttributedStringsToItemProviders): |
| (-[TestWKWebView initWithFrame:configuration:addToWindow:]): |
| |
| 2019-06-06 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| REGRESSION(r244857): [GTK][WPE] Many tests are no longer run in the bots after r244857 |
| https://bugs.webkit.org/show_bug.cgi?id=198607 |
| |
| Reviewed by Michael Catanzaro. |
| |
| Since r244857 several test executables are compiled in the base tests directory instead of using their own sub |
| directory. Our scripts to run the tests rely on the tests location to decide whether to run them or not, or |
| determine the type of the tests. |
| |
| * Scripts/run-gtk-tests: |
| (GtkTestRunner): Rename TEST_DIRS as TEST_TARGETS and use the executable names for tests not in a subdirectory. |
| (GtkTestRunner._setup_testing_environment): Fix TestWebKitAccessibility directory name. |
| (GtkTestRunner.is_glib_test): Use the test name for the ones not using a subdirectory. |
| (GtkTestRunner.is_google_test): Ditto. |
| * Scripts/run-wpe-tests: |
| (WPETestRunner): Rename TEST_DIRS as TEST_TARGETS and use the executable names for tests not in a subdirectory. |
| (WPETestRunner.is_glib_test): Use the test name for the ones not using a subdirectory. |
| (WPETestRunner.is_google_test): Ditto. |
| * glib/api_test_runner.py: |
| (TestRunner): Rename TEST_DIRS as TEST_TARGETS. |
| (TestRunner._get_tests): Handle test targets which can now contain directories and executables. |
| |
| 2019-06-06 Keith Rollin <krollin@apple.com> |
| |
| Remove SSL-based tests from TestWebKitAPI on some configurations |
| https://bugs.webkit.org/show_bug.cgi?id=198551 |
| <rdar://problem/51424996> |
| |
| Reviewed by Jonathan Bedard. |
| |
| Not all platforms have SSL handy, so don't include SSL-based tests on |
| those platforms. |
| |
| * TestWebKitAPI/TCPServer.cpp: |
| * TestWebKitAPI/TCPServer.h: |
| * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm: |
| * TestWebKitAPI/config.h: |
| |
| 2019-06-06 Daniel Bates <dabates@apple.com> |
| |
| [lldb-webkit] TypeError: cannot concatenate 'str' and 'int' objects when prettify SecurityOrigin with |
| non-default port number |
| https://bugs.webkit.org/show_bug.cgi?id=198618 |
| |
| Reviewed by Brent Fulgham. |
| |
| WebCoreSecurityOriginProvider.port() returns an int data type. We need to explicitly convert this to |
| a string before we concatenate it with another string when building the string representation |
| for the WebCore::SecurityOrigin object. Otherwise, Python complains that we are concatenating a str |
| with an int and we don't get a pretty-printed representation for WebCore::SecurityOrigin. |
| |
| * lldb/lldb_webkit.py: |
| (WebCoreSecurityOriginProvider.to_string): Call str() on the port before concatenting it. |
| |
| 2019-06-06 Jonathan Bedard <jbedard@apple.com> |
| |
| Remove obsolete TOOLCHAINS overrides from as asan.xcconfig |
| https://bugs.webkit.org/show_bug.cgi?id=198613 |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * asan/asan.xcconfig: XCBuild doesn't support overriding toolchains. |
| |
| 2019-06-06 Jonathan Bedard <jbedard@apple.com> |
| |
| webkitpluginhost: Support ASan as a style |
| https://bugs.webkit.org/show_bug.cgi?id=198586 |
| <rdar://problem/51459088> |
| |
| Reviewed by Alexey Proskuryakov. |
| |
| * Scripts/webkitpy/port/base.py: |
| (Port.configuration_for_upload): Add ASan as a style. |
| * Scripts/webkitpy/port/config.py: |
| (Config._read_configuration): |
| (Config): |
| (Config.asan): Add property to check if the ASan configuration is active. |
| * Scripts/webkitpy/port/config_unittest.py: |
| (ConfigTest.test_default_configuration__scripterror): |
| (ConfigTest): |
| (ConfigTest.test_asan): |
| * Scripts/webkitpy/test/main.py: |
| (Tester._run_tests): Add Asan as a style. |
| |
| 2019-06-06 Alexey Proskuryakov <ap@apple.com> |
| |
| block-spammers tool doesn't block e-mail |
| https://bugs.webkit.org/show_bug.cgi?id=198570 |
| |
| Reviewed by Jonathan Bedard. |
| |
| * Scripts/block-spammers: (disable_user): Corrected the parameters, Bugzilla doesn't |
| recognize "false" here. Also, request body is unnecessary. |
| |
| 2019-06-06 Carlos Garcia Campos <cgarcia@igalia.com> |
| |
| [GTK][WPE] Enable PSON |
| https://bugs.webkit.org/show_bug.cgi?id=194979 |
| |
| Reviewed by Žan Doberšek. |
| |
| Add WPEBackend-fdo patch required for PSON to work. It can be removed once we have a new version to depend on. |
| |
| * gtk/jhbuild.modules: |
| * gtk/patches/wpebackend-fdo-Handle-the-case-of-new-target-created-for-the-same-v.patch: Added. |
| * wpe/jhbuild.modules: |
| * wpe/patches/wpebackend-fdo-Handle-the-case-of-new-target-created-for-the-same-v.patch: Added. |
| |
| 2019-06-05 Andy Estes <aestes@apple.com> |
| |
| [macOS] Stop calling -[NSDraggingItem setItem:] |
| https://bugs.webkit.org/show_bug.cgi?id=198588 |
| <rdar://problem/48297453> |
| |
| On macOS Catalina, use -[NSDraggingItem _initWithItem:] instead. |
| |
| Reviewed by Wenson Hsieh. |
| |
| * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fixed up file paths in the |
| TestRunnerShared group. |
| |
| * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: |
| (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]): |
| Changed to call -[NSDraggingItem _initWithItem:] when available. |
| |
| * TestRunnerShared/spi/AppKitTestSPI.h: Renamed from |
| Tools/DumpRenderTree/mac/AppKitTestSPI.h and moved NSDraggingItem internal interface |
| declarations here from DumpRenderTree. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| Added TestRunnerShared/spi/AppKitTestSPI.h. |
| |
| * TestWebKitAPI/mac/TestDraggingInfo.mm: |
| (-[TestDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]): |
| Changed to call -[NSDraggingItem _initWithItem:] when available. |
| |
| 2019-06-05 Jer Noble <jer.noble@apple.com> |
| |
| -[WKWebView _suspendAllMediaPlayback] does not persist across navigation. |
| https://bugs.webkit.org/show_bug.cgi?id=198585 |
| |
| Reviewed by Chris Dumez. |
| |
| * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSuspendAllMediaPlayback.mm: Added. |
| (TEST): |
| * TestWebKitAPI/Tests/WebKitLegacy/ios/video-with-audio.html: |
| |
| 2019-06-05 Alex Christensen <achristensen@webkit.org> |
| |
| Re-enable safe browsing in WKWebView |
| https://bugs.webkit.org/show_bug.cgi?id=196161 |
| <rdar://problem/49171413> |
| |
| Reviewed by Ryosuke Niwa. |
| |
| * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm: |
| * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: |
| (TEST): |
| (safeBrowsingView): |
| |
| == Rolled over to ChangeLog-2019-06-05 == |