Unreviewed. Fix WebDriver tests after r235225.
[WebKit-https.git] / Tools / ChangeLog
1 2018-09-13  Carlos Garcia Campos  <cgarcia@igalia.com>
2
3         Unreviewed. Fix WebDriver tests after r235225.
4
5         Use wpt serve command to run the http server.
6
7         * Scripts/webkitpy/webdriver_tests/webdriver_w3c_web_server.py:
8         (WebDriverW3CWebServer.__init__):
9         (WebDriverW3CWebServer.start):
10         (WebDriverW3CWebServer.stop):
11
12 2018-09-13  Carlos Garcia Campos  <cgarcia@igalia.com>
13
14         [GTK][WPE] Allow to run script dialogs asynchronously in the UI process
15         https://bugs.webkit.org/show_bug.cgi?id=189544
16
17         Reviewed by Michael Catanzaro.
18
19         Add test cases for the new API.
20
21         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
22         (testWebViewJavaScriptDialogs):
23
24 2018-09-12  Fujii Hironori  <Hironori.Fujii@sony.com>
25
26         [Win][Clang][ImageDiff] Fix compilation error and warning of PlatformImageCairo.cpp
27         https://bugs.webkit.org/show_bug.cgi?id=189496
28         <rdar://problem/44370981>
29
30         Unreviewed warning fix.
31
32         r235929 has introduced a new compilation warning:
33         > Tools/ImageDiff/cairo/PlatformImageCairo.cpp:34:70: warning: unused parameter ‘imageSize’ [-Wunused-parameter]
34
35         * ImageDiff/cairo/PlatformImageCairo.cpp:
36         (ImageDiff::PlatformImage::createFromStdin): Removed the variable name.
37
38 2018-09-12  Dan Bernstein  <mitz@apple.com>
39
40         [Cocoa] Complete support for Paste as Quotation
41         https://bugs.webkit.org/show_bug.cgi?id=189504
42
43         Reviewed by Wenson Hsieh.
44
45         * MiniBrowser/mac/MainMenu.xib: Added a Paste as Quotation command in the Edit menu.
46
47 2018-09-12  Sihui Liu  <sihui_liu@apple.com>
48
49         Move IndexedDB to Network Process
50         https://bugs.webkit.org/show_bug.cgi?id=189415
51
52         Reviewed by Geoffrey Garen.
53
54         * TestWebKitAPI/Tests/WebKitCocoa/IDBDeleteRecovery.mm:
55         (TEST):
56         * TestWebKitAPI/Tests/WebKitCocoa/IDBIndexUpgradeToV2.mm:
57         (TEST):
58         * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBDatabaseProcessKill.mm:
59         (TEST):
60         * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBMultiProcess.mm:
61         (TEST):
62         * TestWebKitAPI/Tests/WebKitCocoa/IndexedDBPersistence.mm:
63         (TEST):
64
65 2018-09-12  Chris Dumez  <cdumez@apple.com>
66
67         PSON: No process swap on back navigation after URL bar navigation
68         https://bugs.webkit.org/show_bug.cgi?id=189557
69         <rdar://problem/44353108>
70
71         Reviewed by Alex Christensen.
72
73         Add API test coverage.
74
75         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
76
77 2018-09-11  Dean Jackson  <dino@apple.com>
78
79         Header parsing for experimental and internal debug features
80         https://bugs.webkit.org/show_bug.cgi?id=189486
81         <rdar://problem/44320618>
82
83         Reviewed by Tim Horton.
84
85         Keep track of experimental and internal debug features in TestOptions, and
86         allow webkit-test-runner headers to toggle them by name.
87
88         * DumpRenderTree/TestOptions.cpp:
89         (TestOptions::TestOptions):
90         * WebKitTestRunner/TestController.cpp:
91         (WTR::TestController::resetPreferencesToConsistentValues):
92         (WTR::updateTestOptionsFromTestHeader):
93         * WebKitTestRunner/TestOptions.h:
94         (WTR::TestOptions::hasSameInitializationOptions const):
95
96 2018-09-12  Fujii Hironori  <Hironori.Fujii@sony.com>
97
98         [Win][Clang][DumpRenderTree] 0 and nullptr can't be implicitly converted to AccessibilityUIElement
99         https://bugs.webkit.org/show_bug.cgi?id=189492
100
101         Reviewed by Alex Christensen.
102
103         0 and nullptr can't be implicitly converted to
104         AccessibilityUIElement because only Windows port typedefs
105         PlatformUIElement as COMPtr<IAccessible> not a pointer.
106
107         Replaced "return 0" and "return nullptr" with "return { nullptr }".
108
109         * DumpRenderTree/AccessibilityUIElement.cpp:
110         (AccessibilityUIElement::horizontalScrollbar const):
111         (AccessibilityUIElement::verticalScrollbar const):
112         (AccessibilityUIElement::uiElementAttributeValue const):
113         (AccessibilityUIElement::accessibilityElementForTextMarker):
114         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
115         (AccessibilityController::elementAtPoint):
116         (AccessibilityController::accessibleElementById):
117         (AccessibilityController::focusedElement):
118         (AccessibilityController::rootElement):
119         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
120         (AccessibilityUIElement::elementAtPoint):
121         (AccessibilityUIElement::linkedUIElementAtIndex):
122         (AccessibilityUIElement::getChildAtIndex):
123         (AccessibilityUIElement::titleUIElement):
124         (AccessibilityUIElement::parentElement):
125         (AccessibilityUIElement::uiElementForSearchPredicate):
126         (AccessibilityUIElement::cellForColumnAndRow):
127         (AccessibilityUIElement::disclosedRowAtIndex):
128         (AccessibilityUIElement::ariaOwnsElementAtIndex):
129         (AccessibilityUIElement::ariaFlowToElementAtIndex):
130         (AccessibilityUIElement::ariaControlsElementAtIndex):
131         (AccessibilityUIElement::selectedRowAtIndex):
132         (AccessibilityUIElement::rowAtIndex):
133         (AccessibilityUIElement::disclosedByRow):
134         (AccessibilityUIElement::selectedChildAtIndex const):
135
136 2018-09-11  Wenson Hsieh  <wenson_hsieh@apple.com>
137
138         FontManagerTests.ChangeFontColorWithColorPanel fails on macOS Sierra
139         https://bugs.webkit.org/show_bug.cgi?id=189382
140
141         Reviewed by Ryosuke Niwa.
142
143         Fix the test by specifying colors in RGB colorspace.
144
145         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
146         (TestWebKitAPI::TEST):
147
148 2018-09-11  Fujii Hironori  <Hironori.Fujii@sony.com>
149
150         [Win][Clang][ImageDiff] Fix compilation error and warning of PlatformImageCairo.cpp
151         https://bugs.webkit.org/show_bug.cgi?id=189496
152
153         Reviewed by Alex Christensen.
154
155         * ImageDiff/cairo/PlatformImageCairo.cpp:
156         (ImageDiff::PlatformImage::createFromStdin): Removed unnecessary ReadContext struct.
157         (ImageDiff::PlatformImage::writeAsPNGToStdout): Use '%lu' format type specifier for unsigned long.
158
159 2018-09-07  Dean Jackson  <dino@apple.com>
160
161         Add and expose Internal features from WebKit
162         https://bugs.webkit.org/show_bug.cgi?id=189442
163         <rdar://problem/44243404>
164
165         Reviewed by Simon Fraser.
166
167         Update MiniBrowser to expose an Internal feature menu.
168
169         * MiniBrowser/mac/AppDelegate.m:
170         (defaultConfiguration):
171         * MiniBrowser/mac/SettingsController.m:
172         (-[SettingsController _populateMenu]):
173         (-[SettingsController validateMenuItem:]):
174         (-[SettingsController toggleExperimentalFeature:]):
175         (-[SettingsController toggleInternalDebugFeature:]):
176
177 2018-09-11  Wenson Hsieh  <wenson_hsieh@apple.com>
178
179         [macOS] [WK2] Support changing foreground colors via color panel
180         https://bugs.webkit.org/show_bug.cgi?id=189382
181         <rdar://problem/44227311>
182
183         Reviewed by Ryosuke Niwa.
184
185         Add an API test that uses NSColorPanel to change the color of selected text, and also apply typing styles when
186         the selection is collapsed. The test also exercises switching between opaque colors (alpha = 1) and transparent
187         colors, as well as making different parts of a word different colors.
188
189         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
190         (-[TestWKWebView collapseToEnd]):
191         (webViewForFontManagerTesting):
192         (TestWebKitAPI::TEST):
193         * TestWebKitAPI/cocoa/TestWKWebView.h:
194
195 == Rolled over to ChangeLog-2018-09-11 ==