a6d70058ed98db0b3bc8fae58a7254bb68c0e720
[WebKit-https.git] / Tools / ChangeLog
1 2015-08-26  Brent Fulgham  <bfulgham@apple.com>
2
3         [Win] Rename 'WinLauncher' to 'MiniBrowser'
4         https://bugs.webkit.org/show_bug.cgi?id=148485
5
6         Reviewed by Alex Christensen
7
8         Move the WinLauncher project and source files to a subdirectory
9         of MiniBrowser. Globally change WinLauncher -> MiniBrowser in the
10         source code and project files.
11         
12         * MiniBrowser/MiniBrowser.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj.
13         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.ico.
14         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.rc.
15         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.
16         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj.filters: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters.
17         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCF.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props.
18         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCFLite.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props.
19         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCommon.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props.
20         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserDebug.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props.
21         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc.
22         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.
23         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj.filters: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters.
24         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibCommon.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props.
25         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibDebug.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props.
26         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPostBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd.
27         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPreBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd.
28         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibProduction.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props.
29         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibRelease.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props.
30         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h.
31         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPostBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherPostBuild.cmd.
32         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPreBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd.
33         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserProduction.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props.
34         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserRelease.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props.
35         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherResource.h.
36         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.ico: Removed.
37         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.rc: Removed.
38         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.vcxproj: Removed.
39         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.vcxproj.filters: Removed.
40         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCF.props: Removed.
41         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCFLite.props: Removed.
42         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCommon.props: Removed.
43         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherDebug.props: Removed.
44         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.rc: Removed.
45         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.vcxproj: Removed.
46         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
47         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibCommon.props: Removed.
48         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibDebug.props: Removed.
49         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
50         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
51         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibProduction.props: Removed.
52         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibRelease.props: Removed.
53         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibResource.h: Removed.
54         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherPostBuild.cmd: Removed.
55         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherPreBuild.cmd: Removed.
56         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherProduction.props: Removed.
57         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherRelease.props: Removed.
58         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherResource.h: Removed.
59         * MiniBrowser/win: Copied from WinLauncher.
60         * MiniBrowser/win/Common.cpp:
61         * MiniBrowser/win/MiniBrowser.cpp: Copied from WinLauncher/WinLauncher.cpp.
62         * MiniBrowser/win/MiniBrowser.h: Copied from WinLauncher/WinLauncher.h.
63         * MiniBrowser/win/MiniBrowserReplace.h: Copied from WinLauncher/WinLauncherReplace.h.
64         * MiniBrowser/win/MiniBrowserWebHost.cpp: Copied from WinLauncher/WinLauncherWebHost.cpp.
65         * MiniBrowser/win/MiniBrowserWebHost.h: Copied from WinLauncher/WinLauncherWebHost.h.
66         * MiniBrowser/win/PageLoadTestClient.cpp:
67         * MiniBrowser/win/PageLoadTestClient.h:
68         * MiniBrowser/win/ResourceLoadDelegate.cpp:
69         * MiniBrowser/win/ResourceLoadDelegate.h:
70         * MiniBrowser/win/WinLauncher.cpp: Removed.
71         * MiniBrowser/win/WinLauncher.h: Removed.
72         * MiniBrowser/win/WinLauncher.vcxproj: Removed.
73         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.ico: Removed.
74         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.rc: Removed.
75         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.vcxproj: Removed.
76         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Removed.
77         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCF.props: Removed.
78         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCFLite.props: Removed.
79         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCommon.props: Removed.
80         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherDebug.props: Removed.
81         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.rc: Removed.
82         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Removed.
83         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
84         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibCommon.props: Removed.
85         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibDebug.props: Removed.
86         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
87         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
88         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibProduction.props: Removed.
89         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibRelease.props: Removed.
90         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibResource.h: Removed.
91         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherPostBuild.cmd: Removed.
92         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherPreBuild.cmd: Removed.
93         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherProduction.props: Removed.
94         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherRelease.props: Removed.
95         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherResource.h: Removed.
96         * MiniBrowser/win/WinLauncher.vcxproj/small.ico: Removed.
97         * MiniBrowser/win/WinLauncherReplace.h: Removed.
98         * MiniBrowser/win/WinLauncherWebHost.cpp: Removed.
99         * MiniBrowser/win/WinLauncherWebHost.h: Removed.
100         * MiniBrowser/win/WinMain.cpp:
101         * WinLauncher: Removed.
102         * WinLauncher/AccessibilityDelegate.cpp: Removed.
103         * WinLauncher/AccessibilityDelegate.h: Removed.
104         * WinLauncher/CMakeLists.txt: Removed.
105         * WinLauncher/Common.cpp: Removed.
106         * WinLauncher/DOMDefaultImpl.cpp: Removed.
107         * WinLauncher/DOMDefaultImpl.h: Removed.
108         * WinLauncher/PageLoadTestClient.cpp: Removed.
109         * WinLauncher/PageLoadTestClient.h: Removed.
110         * WinLauncher/PrintWebUIDelegate.cpp: Removed.
111         * WinLauncher/PrintWebUIDelegate.h: Removed.
112         * WinLauncher/ResourceLoadDelegate.cpp: Removed.
113         * WinLauncher/ResourceLoadDelegate.h: Removed.
114         * WinLauncher/WebDownloadDelegate.cpp: Removed.
115         * WinLauncher/WebDownloadDelegate.h: Removed.
116         * WinLauncher/WinLauncher.cpp: Removed.
117         * WinLauncher/WinLauncher.h: Removed.
118         * WinLauncher/WinLauncher.vcxproj: Removed.
119         * WinLauncher/WinLauncher.vcxproj/WinLauncher.ico: Removed.
120         * WinLauncher/WinLauncher.vcxproj/WinLauncher.rc: Removed.
121         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Removed.
122         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Removed.
123         * WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props: Removed.
124         * WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props: Removed.
125         * WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props: Removed.
126         * WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props: Removed.
127         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Removed.
128         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Removed.
129         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
130         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Removed.
131         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props: Removed.
132         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
133         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
134         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props: Removed.
135         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props: Removed.
136         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Removed.
137         * WinLauncher/WinLauncher.vcxproj/WinLauncherPostBuild.cmd: Removed.
138         * WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd: Removed.
139         * WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props: Removed.
140         * WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props: Removed.
141         * WinLauncher/WinLauncher.vcxproj/WinLauncherResource.h: Removed.
142         * WinLauncher/WinLauncher.vcxproj/small.ico: Removed.
143         * WinLauncher/WinLauncherReplace.h: Removed.
144         * WinLauncher/WinLauncherWebHost.cpp: Removed.
145         * WinLauncher/WinLauncherWebHost.h: Removed.
146         * WinLauncher/WinMain.cpp: Removed.
147         * WinLauncher/resource.h: Removed.
148         * WinLauncher/stdafx.cpp: Removed.
149         * WinLauncher/stdafx.h: Removed.
150         * win/AssembleBuildLogs/AssembleLogs.cmd:
151
152 2015-08-26  Brent Fulgham  <bfulgham@apple.com>
153
154         [Win] Simplify menu handling code in WinLauncher
155         https://bugs.webkit.org/show_bug.cgi?id=148461
156
157         Reviewed by Zalan Bujtas.
158
159         Revise 'ToggleMenuItem' to return a boolean value indicating if
160         it handled the message. Revise WndProc to use this to decide if it
161         should pass the message on to the default handler, rather than
162         duplicating the logic in both places.
163         
164         * WinLauncher/Common.cpp:
165         (ToggleMenuItem): Return true if the menu item message was handled.
166         (WndProc): If 'ToggleMenuItem' did not handle the message, pass
167         the message tothe default handler.
168
169 2015-08-26  Csaba Osztrogonác  <ossy@webkit.org>
170
171         Remove unused code after r188948
172         https://bugs.webkit.org/show_bug.cgi?id=148467
173
174         Reviewed by Gyuyoung Kim.
175
176         * WebKitTestRunner/TestController.cpp:
177         (WTR::TestController::platformPreferences): Deleted.
178
179 2015-08-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
180
181         [EFL][GTK] REGRESSION(r188828): All performance tests and almost all layout tests crash
182         https://bugs.webkit.org/show_bug.cgi?id=148377
183
184         Reviewed by Carlos Garcia Campos.
185
186         EFL and GTK don't support TestController::platformPreferences() yet which was introduced by r188828.
187         It caused all crashes of layout test and performance test on EFL and GTK. So this patch implements
188         TestController::platformPreferences() using WKPageGroupGetPreferences() which was previous thing for
189         EFL and GTK at the moment.
190
191         * WebKitTestRunner/TestController.cpp:
192         (WTR::TestController::platformWillRunTest):
193         * WebKitTestRunner/efl/TestControllerEfl.cpp:
194         (WTR::TestController::platformPreferences):
195         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
196         (WTR::TestController::platformPreferences):
197
198 2015-08-25  Nan Wang  <n_wang@apple.com>
199
200         AX: Enable accessibility/aria-controls.html test for mac
201         https://bugs.webkit.org/show_bug.cgi?id=148458
202
203         Reviewed by Chris Fleizach.
204
205         Implemented ariaControlsElementAtIndex(unsigned index).
206
207         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
208         (AccessibilityUIElement::ariaControlsElementAtIndex):
209         (AccessibilityUIElement::disclosedRowAtIndex):
210         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
211         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
212
213 2015-08-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
214
215         Remove python tests for PassRefPtr 
216         https://bugs.webkit.org/show_bug.cgi?id=148463
217
218         Reviewed by Andy Estes.
219
220         As we're removing uses of PassRefPtr, we need to remove all python tests for PassRefPtr as well.
221
222         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
223         (PassPtrTest): Deleted.
224         (PassPtrTest.assert_pass_ptr_check): Deleted.
225         (PassPtrTest.test_pass_ref_ptr_in_function): Deleted.
226         (PassPtrTest.test_pass_other_type_ptr_in_function): Deleted.
227         (PassPtrTest.test_pass_ref_ptr_return_value): Deleted.
228         (PassPtrTest.test_ref_ptr_parameter_value): Deleted.
229         (PassPtrTest.test_ref_ptr_member_variable): Deleted.
230         (PassPtrTest.test_ref_ptr_member_variable.Foo): Deleted.
231
232 2015-08-25  Andy Estes  <aestes@apple.com>
233
234         [iOS] run-webkit-tests fails if watchOS SDK is installed
235         https://bugs.webkit.org/show_bug.cgi?id=148453
236
237         Reviewed by David Kilzer.
238
239         * Scripts/webkitpy/xcode/simulator.py:
240         (Simulator): Taught Simulator how to parse watchOS runtimes and devices.
241         * Scripts/webkitpy/xcode/simulator_unittest.py: Added tests.
242
243 2015-08-25  Aakash Jain  <aakash_jain@apple.com>
244
245         iOS Simulator layout-tests fail to start while cleaning a directory structure if simulator is already running
246         https://bugs.webkit.org/show_bug.cgi?id=148197
247         rdar://problem/22334382
248
249         Reviewed by Daniel Bates.
250
251         * BuildSlaveSupport/kill-old-processes: Add Simulator to the list of processes to kill (for iOS builders).
252         * Scripts/webkitpy/port/ios.py:
253         (IOSSimulatorPort): Converted bundle id com.apple.iphonesimulator to a variable SIMULATOR_BUNDLE_ID.
254         (IOSSimulatorPort._quitIOSSimulator): Common function to quit iOS Simulator.
255         (IOSSimulatorPort.clean_up_test_run): Quit the simulator during the cleanup.
256         (IOSSimulatorPort.check_sys_deps): No need to quit the simulator here as its now being quit in reset_preferences().
257         (IOSSimulatorPort.reset_preferences): Quit the simulator before trying to delete associated data directory.
258
259 2015-08-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
260
261         Remove PassRefPtr style check rule
262         https://bugs.webkit.org/show_bug.cgi?id=148432
263
264         Reviewed by Andreas Kling.
265
266         PassRefPtr is being removed. Thus style rule needs to be removed as well.
267
268         * Scripts/webkitpy/style/checkers/cpp.py:
269         (_check_parameter_name_against_text): Deleted.
270         (check_function_definition_and_pass_ptr): Deleted.
271         (check_function_definition): Deleted.
272         (check_pass_ptr_usage): Deleted.
273         (process_line): Deleted.
274         (CppChecker): Deleted.
275
276 2015-08-25  Brent Fulgham  <bfulgham@apple.com>
277
278         [Win] Expose "Inverted Colors" option in WinLauncher
279         https://bugs.webkit.org/show_bug.cgi?id=148451
280
281         Reviewed by Tim Horton.
282
283         Add the ability to toggle the "Inverted Colors" preference
284         in WinLauncher.
285         
286         * WinLauncher/Common.cpp:
287         (ToggleMenuItem): Toggle the feature when the menu item
288         is selected.
289         (WndProc): Recognize the new menu option.
290         * WinLauncher/WinLauncher.cpp:
291         (WinLauncher::setToDefaultPreferences): Launch with "Invert
292         Colors" turned off.
293         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Add menu
294         entry for "Invert Colors".
295         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h:
296
297 2015-08-25  Nan Wang  <n_wang@apple.com>
298
299         [Mac] accessibility/document-attributes.html fails
300         https://bugs.webkit.org/show_bug.cgi?id=116636
301
302         Reviewed by Chris Fleizach.
303
304         Implemented documentURI() and documentEncoding().
305
306         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
307         (AccessibilityUIElement::documentEncoding):
308         (AccessibilityUIElement::documentURI):
309         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
310         (WTR::AccessibilityUIElement::documentEncoding):
311         (WTR::AccessibilityUIElement::documentURI):
312
313 2015-08-24  Brent Fulgham  <bfulgham@apple.com>
314
315         [Win] Unreviewed test gardening.
316
317         Fix another case where the logging string is constructed using the variable 'frame',
318         but the method argument is not given a name. This causes the global 'frame' value to
319         be used, producing incorrect output.
320
321         * DumpRenderTree/win/FrameLoadDelegate.cpp:
322         (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame): Use 'frame'
323         argument.
324
325 2015-08-24  Tim Horton  <timothy_horton@apple.com>
326
327         (Finally...) get rid of WKViewIOS
328         https://bugs.webkit.org/show_bug.cgi?id=148404
329
330         Reviewed by Anders Carlsson.
331
332         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
333         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
334         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
335         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
336         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
337         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
338         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
339         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:
340         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
341         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.mm:
342         Mark tests that use WKBrowsingContextController as Mac-only.
343
344         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
345         (WTR::AccessibilityController::addNotificationListener):
346         * WebKitTestRunner/ios/mainIOS.mm:
347         (-[WebKitTestRunnerApp applicationDidEnterBackground:]):
348         Import UIKit instead of depending on WKView.h to do so.
349
350 2015-08-24  Jason Marcell  <jmarcell@apple.com>
351
352         Add support to dashboard for displaying Git SHA's as revisions.
353         https://bugs.webkit.org/show_bug.cgi?id=148387
354
355         Reviewed by Daniel Bates.
356
357         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
358         (parseRevisionProperty): Added support to dashboard for displaying Git SHA's as revisions.
359         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
360         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
361         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Added
362         "isSVN" property to Dashboard.Repository.(OpenSource|Internal).
363
364 2015-08-24  Andy Estes  <aestes@apple.com>
365
366         REGRESSION (r188851): WebKit2.BundleParameters fails on iOS
367
368         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Specify LD_RUNPATH_SEARCH_PATHS correctly for iOS.
369
370 2015-08-23  Andy Estes  <aestes@apple.com>
371
372         Addressed a missed piece of review feedback from r188851.
373
374         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
375
376 2015-08-23  Andy Estes  <aestes@apple.com>
377
378         [Content Filtering] REGRESSION (r182356): Provisional URL is incorrect in didReceiveServerRedirectForProvisionalLoadForFrame when Content Filtering is enabled
379         https://bugs.webkit.org/show_bug.cgi?id=147872
380         rdar://problem/22044000
381
382         Reviewed by Dan Bernstein.
383         
384         Added an API test.
385
386         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Linked libWebCoreTestSupport in order to use MockContentFilter.
387         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
388         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Added.
389         (-[ServerRedirectNavigationDelegate webView:didStartProvisionalNavigation:]): Expect the initial request URL.
390         (-[ServerRedirectNavigationDelegate webView:didReceiveServerRedirectForProvisionalNavigation:]): Expect the redirect URL.
391         (-[ServerRedirectNavigationDelegate webView:didCommitNavigation:]):
392         (TEST): Tested that -[WKWebView URL] is updated after a redirect when content filtering is enabled.
393         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm: Added.
394         (+[ServerRedirectPlugIn initialize]): Enable MockContentFilter.
395         * TestWebKitAPI/cocoa/TestProtocol.h: Renamed from Tools/TestWebKitAPI/mac/TestProtocol.h.
396         * TestWebKitAPI/cocoa/TestProtocol.mm: Renamed from Tools/TestWebKitAPI/mac/TestProtocol.mm.
397
398 2015-08-23  Andy Estes  <aestes@apple.com>
399
400         Fixed the 32-bit Mac build after r188844.
401
402         * TestWebKitAPI/WKWebViewConfigurationExtras.h:
403         * TestWebKitAPI/WKWebViewConfigurationExtras.mm:
404
405 2015-08-22  Andy Estes  <aestes@apple.com>
406
407         [Cocoa] API tests using the Modern WebKit API should be able to create web process plug-ins
408         https://bugs.webkit.org/show_bug.cgi?id=148317
409
410         Reviewed by Dan Bernstein.
411
412         Added the ability for Modern WebKit API tests to create WKWebProcessPlugIns. A test can create a plug-in by
413         creating a class that conforms to WKWebProcessPlugIn, adding it to the WebProcessPlugIn target, and using the
414         WKWebViewConfiguration returned by +[WKWebViewConfiguration testwebkitapi_configurationWithTestPlugInClassName:]
415         when creating WKWebViews.
416
417         Since TestWebKitAPI relies on a bundle parameter to know which test class to instantiate in the plug-in, I also
418         added a new API test for bundle parameters.
419
420         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Added. Named the bundle TestWebKitAPI.wkbundle and
421         named its executable TestWebKitAPI.bundle.
422         * TestWebKitAPI/PlatformUtilities.h: Declared TestPlugInClassNameParameter.
423         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added the WebProcessPlugIn target.
424         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParameters.mm: Added.
425         (TEST): Tested bundle parameters by verifying that parameter changes in the UI process are observed in the bundle.
426         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm: Added.
427         (-[BundleParametersPlugIn webProcessPlugIn:didCreateBrowserContextController:]): Started observing changes to a
428         bundle parameter and asked for an initial notification.
429         (-[BundleParametersPlugIn dealloc]): Stopped observing changes to a bundle parameter.
430         (-[BundleParametersPlugIn observeValueForKeyPath:ofObject:change:context:]): When a bundle parameter changes,
431         mirror its value in the main frame's JSContext.
432         * TestWebKitAPI/WKWebViewConfigurationExtras.h: Added.
433         * TestWebKitAPI/WKWebViewConfigurationExtras.mm: Added.
434         (+[WKWebViewConfiguration testwebkitapi_configurationWithTestPlugInClassName:]): Created a configuration with
435         TestWebKitAPI's bundle URL and set a bundle parameter indicating the test plug-in's class name.
436         * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm: Defined TestPlugInClassNameParameter.
437         * TestWebKitAPI/cocoa/WebProcessPlugIn/Info.plist: Added. Set the principal class to WebProcessPlugIn.
438         * TestWebKitAPI/cocoa/WebProcessPlugIn/WebProcessPlugIn.mm: Added.
439         (-[WebProcessPlugIn webProcessPlugIn:initializeWithObject:]): Forwarded to a newly-created test class instance.
440         (-[WebProcessPlugIn respondsToSelector:]): Returned YES if the test class instance response.
441         (-[WebProcessPlugIn forwardingTargetForSelector:]): Forwarded unimplemented methods to the test class instance.
442
443 2015-08-23  Csaba Osztrogonác  <ossy@webkit.org>
444
445         URTBF after r188828.
446
447         * WebKitTestRunner/PlatformWebView.h:
448
449 2015-08-23  Alexey Proskuryakov  <ap@apple.com>
450
451         build.webkit.org/dashboard: Combined queues don't turn orange on internal failure
452         https://bugs.webkit.org/show_bug.cgi?id=148356
453
454         Reviewed by Darin Adler.
455
456         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
457         (BuildbotCombinedQueueView.prototype.update):
458
459 2015-08-23  Alexey Proskuryakov  <ap@apple.com>
460
461         build.webkit.org/dashboard: Respect step's hidden flag
462         https://bugs.webkit.org/show_bug.cgi?id=148357
463
464         Reviewed by Darin Adler.
465
466         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
467         (BuildbotIteration.prototype._parseData):
468
469 2015-08-23  Nan Wang  <n_wang@apple.com>
470
471         AX: Fix accessibility/deleting-iframe-destroys-axcache.html test
472         https://bugs.webkit.org/show_bug.cgi?id=148328
473
474         Reviewed by Darin Adler.
475
476         We should only expose stringValue() when value attribute is set.
477
478         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
479         (AccessibilityUIElement::stringValue):
480         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
481         (WTR::AccessibilityUIElement::stringValue):
482
483 2015-08-23  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
484
485         Remove style checking rule regarding OwnPtr and PassOwnPtr
486         https://bugs.webkit.org/show_bug.cgi?id=148360
487
488         Reviewed by Darin Adler.
489
490         OwnPtr and PassOwnPtr were totally removed though, style rule is still alive.
491         Removed it.
492
493         * Scripts/do-webcore-rename:
494         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
495         (PassPtrTest.test_pass_own_ptr_in_function): Deleted.
496         (PassPtrTest.test_pass_ref_ptr_return_value): Deleted.
497         (PassPtrTest.test_own_ptr_parameter_value): Deleted.
498         (WebKitStyleTest.test_names): Deleted.
499
500 2015-08-22  Timothy Horton  <timothy_horton@apple.com>
501
502         WebKitTestRunner should use WKWebView on OS X and iOS
503         https://bugs.webkit.org/show_bug.cgi?id=143743
504         <rdar://problem/16947123>
505
506         Reviewed by Anders Carlsson.
507         Patch by Enrica Casucci and myself.
508
509         * WebKitTestRunner/PlatformWebView.h:
510         (WTR::PlatformWebView::windowSnapshotEnabled): Deleted.
511         Add a PlatformWebView constructor that takes a WKWebViewConfiguration
512         instead of WKContext and WKPageGroup.
513
514         Remove the unused, always-true windowSnapshotEnabled().
515         While technically some platforms don't have window snapshotting,
516         they just return null instead of implementing windowSnapshotEnabled().
517
518         * WebKitTestRunner/TestController.h:
519         * WebKitTestRunner/TestController.cpp:
520         (WTR::TestController::createOtherPage):
521         (WTR::TestController::initialize):
522         (WTR::TestController::createWebViewWithOptions):
523         Delegate to the various platforms for creating PlatformWebView instances,
524         for creating WKContexts, and for accessing WKPreferences,
525         so that they can do special things (like, use WKWebView instead!).
526
527         (WTR::TestController::resetPreferencesToConsistentValues):
528         Make explicit WebKitTestRunner's desired default for two preferences
529         which have differing defaults between the antique and modern API,
530         for consistency's sake.
531
532         (WTR::TestController::resetStateToConsistentValues):
533         Add platformResetStateToConsistentValues.
534
535         * WebKitTestRunner/TestInvocation.cpp:
536         (WTR::TestInvocation::dumpResults):
537         Adjust to the aforementioned removal of windowSnapshotEnabled().
538
539         * WebKitTestRunner/ios/TestControllerCocoa.mm:
540         (WTR::TestController::platformResetStateToConsistentValues):
541         (WTR::TestController::platformPreferences):
542         (WTR::TestController::platformCreateWebView):
543         (WTR::TestController::platformCreateOtherPage):
544         (WTR::TestController::platformInitializeConfiguration):
545         Implement the new platform functions for the Modern WebKit2 API,
546         in a new TestControllerCocoa file that is shared between iOS and Mac.
547         
548         For platformMaybeCreateContext, use the trick that we know we can cast
549         the WKProcessPool to a WKContextRef to retrieve a WKContextRef from
550         WKWebView's configuration.
551
552         Ditto for WKPreferencesRef and WKPreferences.
553
554         Remove user content filters on the WKWebView's userContentController.
555
556         * WebKitTestRunner/mac/TestControllerMac.mm:
557         * WebKitTestRunner/ios/TestControllerIOS.mm:
558         Move code into TestControllerCocoa.
559
560         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
561         (WTR::InjectedBundle::beginTesting):
562         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
563         (WTR::TestRunner::addUserScript):
564         (WTR::TestRunner::addUserStyleSheet):
565         Adopt WKBundlePage API for user scripts/sheets.
566
567         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
568         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
569         Make and keep a WKWebView instead of a WKView.
570         
571         * WebKitTestRunner/mac/EventSenderProxy.mm:
572         (WTR::EventSenderProxy::mouseUp):
573         (WTR::EventSenderProxy::mouseMoveTo):
574         Reach inside the WKWebView to the WKView when dispatching events.
575         This is fairly ugly and we should come up with a better solution.
576         Also, fix some flipping and style errors.
577
578 2015-08-22  Michael Catanzaro  <mcatanzaro@igalia.com>
579
580         Unreviewed, attempt to fix GTK build after r188718
581
582         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
583         (WTR::PlatformWebView::PlatformWebView):
584
585 2015-08-21  Commit Queue  <commit-queue@webkit.org>
586
587         Unreviewed, rolling out r188807, r188813, and r188815.
588         https://bugs.webkit.org/show_bug.cgi?id=148349
589
590         lots of 32-bit build problems, better to resolve separately
591         and try again (Requested by thorton on #webkit).
592
593         Reverted changesets:
594
595         "WebKitTestRunner should use WKWebView on OS X and iOS"
596         https://bugs.webkit.org/show_bug.cgi?id=143743
597         http://trac.webkit.org/changeset/188807
598
599         "Stop building WebKitTestRunner for 32-bit platforms"
600         https://bugs.webkit.org/show_bug.cgi?id=143743
601         http://trac.webkit.org/changeset/188813
602
603         "Stop building WebKitTestRunner for 32-bit platforms"
604         https://bugs.webkit.org/show_bug.cgi?id=143743
605         http://trac.webkit.org/changeset/188815
606
607 2015-08-21  Tim Horton  <timothy_horton@apple.com>
608
609         Stop building WebKitTestRunner for 32-bit platforms
610         https://bugs.webkit.org/show_bug.cgi?id=143743
611         <rdar://problem/16947123>
612
613         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
614         This is a restriction on the valid set, not the desired set.
615
616 2015-08-21  Jason Marcell  <jmarcell@apple.com>
617
618         Make Dashboard.Branches be objects of the form (repository, "branch name") and update existing code
619         to work with these new objects.
620         https://bugs.webkit.org/show_bug.cgi?id=148188
621
622         Reviewed by Daniel Bates.
623
624         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
625         (Buildbot.prototype._normalizeQueueInfo): Renamed BuildbotQueue.branch to BuildbotQueue.branches.
626         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
627         (BuildbotCombinedQueueView): Changed to work with new branch objects which represent a
628         (repository, "branch name")-pair.
629         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: Ditto.
630         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
631         (BuildbotQueue): Renamed BuildbotQueue.branch to BuildbotQueue.branches.
632         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
633         (BuildbotQueueView.prototype._appendPendingRevisionCount): Changed to work with new branch
634         objects which represent a (repository, "branch name")-pair.
635         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto.
636         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
637         (BuildbotQueueView.prototype._addDividerToPopover): Ditto.
638         (BuildbotQueueView.prototype.revisionContentForIteration): Ditto.
639         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Renamed
640         BuildbotQueue.branch to BuildbotQueue.branches.
641         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
642         (WebKitBuildbot.prototype.get defaultBranches): Changed to new (repository, "branch name") format.
643
644 2015-08-21  Tim Horton  <timothy_horton@apple.com>
645
646         Stop building WebKitTestRunner for 32-bit platforms
647         https://bugs.webkit.org/show_bug.cgi?id=143743
648         <rdar://problem/16947123>
649
650         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
651         WKWebView is not available on 32-bit OS X.
652
653 2015-08-21  Brent Fulgham  <bfulgham@apple.com>
654
655         [Win] Unreviewed test correction after r188709.
656
657         I removed a function argument that happened to be mirrored by a global
658         value with the same name. This prevented a compile error, but testing
659         showed that the wrong value was being used in the function.
660
661         * DumpRenderTree/win/FrameLoadDelegate.cpp:
662         (FrameLoadDelegate::willPerformClientRedirectToURL): Put function argument
663         back
664
665 2015-08-21  Timothy Horton  <timothy_horton@apple.com>
666
667         WebKitTestRunner should use WKWebView on OS X and iOS
668         https://bugs.webkit.org/show_bug.cgi?id=143743
669         <rdar://problem/16947123>
670
671         Reviewed by Anders Carlsson.
672         Patch by Enrica Casucci and myself.
673
674         * WebKitTestRunner/PlatformWebView.h:
675         (WTR::PlatformWebView::windowSnapshotEnabled): Deleted.
676         Add a PlatformWebView constructor that takes a WKWebViewConfiguration
677         instead of WKContext and WKPageGroup.
678
679         Remove the unused, always-true windowSnapshotEnabled().
680         While technically some platforms don't have window snapshotting,
681         they just return null instead of implementing windowSnapshotEnabled().
682
683         * WebKitTestRunner/TestController.h:
684         * WebKitTestRunner/TestController.cpp:
685         (WTR::TestController::createOtherPage):
686         (WTR::TestController::initialize):
687         (WTR::TestController::createWebViewWithOptions):
688         Delegate to the various platforms for creating PlatformWebView instances,
689         for creating WKContexts, and for accessing WKPreferences,
690         so that they can do special things (like, use WKWebView instead!).
691
692         (WTR::TestController::resetPreferencesToConsistentValues):
693         Make explicit WebKitTestRunner's desired default for two preferences
694         which have differing defaults between the antique and modern API,
695         for consistency's sake.
696
697         (WTR::TestController::resetStateToConsistentValues):
698         Add platformResetStateToConsistentValues.
699
700         * WebKitTestRunner/TestInvocation.cpp:
701         (WTR::TestInvocation::dumpResults):
702         Adjust to the aforementioned removal of windowSnapshotEnabled().
703
704         * WebKitTestRunner/ios/TestControllerCocoa.mm:
705         (WTR::TestController::platformResetStateToConsistentValues):
706         (WTR::TestController::platformPreferences):
707         (WTR::TestController::platformCreateWebView):
708         (WTR::TestController::platformCreateOtherPage):
709         (WTR::TestController::platformInitializeConfiguration):
710         Implement the new platform functions for the Modern WebKit2 API,
711         in a new TestControllerCocoa file that is shared between iOS and Mac.
712         
713         For platformMaybeCreateContext, use the trick that we know we can cast
714         the WKProcessPool to a WKContextRef to retrieve a WKContextRef from
715         WKWebView's configuration.
716
717         Ditto for WKPreferencesRef and WKPreferences.
718
719         Remove user content filters on the WKWebView's userContentController.
720
721         * WebKitTestRunner/mac/TestControllerMac.mm:
722         * WebKitTestRunner/ios/TestControllerIOS.mm:
723         Move code into TestControllerCocoa.
724
725         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
726         (WTR::InjectedBundle::beginTesting):
727         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
728         (WTR::TestRunner::addUserScript):
729         (WTR::TestRunner::addUserStyleSheet):
730         Adopt WKBundlePage API for user scripts/sheets.
731
732         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
733         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
734         Make and keep a WKWebView instead of a WKView.
735         
736         * WebKitTestRunner/mac/EventSenderProxy.mm:
737         (WTR::EventSenderProxy::mouseUp):
738         (WTR::EventSenderProxy::mouseMoveTo):
739         Reach inside the WKWebView to the WKView when dispatching events.
740         This is fairly ugly and we should come up with a better solution.
741         Also, fix some flipping and style errors.
742
743 2015-08-21  Alexey Proskuryakov  <ap@apple.com>
744
745         Improve how UI events are dispatched by WebKitTestRunner
746         https://bugs.webkit.org/show_bug.cgi?id=148326
747
748         Reviewed by Anders Carlsson.
749
750         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
751         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
752         Removed asyncScrolling from mouseScrollByWithWheelAndMomentumPhases, it's now always
753         asynchronous (and really, it has always been for the most part).
754
755         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
756         (WTR::EventSendingController::mouseDown): Updated for WKBundlePagePostSynchronousMessage renaming.
757         (WTR::EventSendingController::mouseUp): Ditto.
758         (WTR::EventSendingController::mouseMoveTo): Ditto.
759         (WTR::EventSendingController::mouseForceDown): Ditto.
760         (WTR::EventSendingController::mouseForceUp): Ditto.
761         (WTR::EventSendingController::mouseForceChanged): Ditto.
762         (WTR::EventSendingController::leapForward): Ditto.
763         (WTR::EventSendingController::scheduleAsynchronousClick): Ditto.
764         (WTR::EventSendingController::keyDown): Ditto.
765         (WTR::EventSendingController::scheduleAsynchronousKeyDown): Ditto.
766         (WTR::EventSendingController::mouseScrollBy): Force a scrolling tree commit. It used
767         to be done in custom WebKit2 code for test wheel event handling.
768         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases): Got rid of sync version.
769         (WTR::EventSendingController::continuousMouseScrollBy): Added a FIXME. This one is weird.
770         (WTR::EventSendingController::contextClick): Updated for WKBundlePagePostSynchronousMessage renaming.
771         (WTR::EventSendingController::addTouchPoint): Ditto.
772         (WTR::EventSendingController::updateTouchPoint): Ditto.
773         (WTR::EventSendingController::setTouchModifier): Ditto.
774         (WTR::EventSendingController::setTouchPointRadius): Ditto.
775         (WTR::EventSendingController::touchStart): Ditto.
776         (WTR::EventSendingController::touchMove): Ditto.
777         (WTR::EventSendingController::touchEnd): Ditto.
778         (WTR::EventSendingController::touchCancel): Ditto.
779         (WTR::EventSendingController::clearTouchPoints): Ditto.
780         (WTR::EventSendingController::releaseTouchPoint): Ditto.
781         (WTR::EventSendingController::cancelTouchPoint): Ditto.
782
783         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
784         (WTR::InjectedBundle::postSetWindowIsKey):
785         (WTR::InjectedBundle::postSimulateWebNotificationClick):
786         (WTR::InjectedBundle::isGeolocationProviderActive):
787         (WTR::InjectedBundle::shouldProcessWorkQueue):
788         Updated for WKBundlePagePostSynchronousMessage renaming.
789
790         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
791         (WTR::TestRunner::secureEventInputIsEnabled): Ditto.
792
793         * WebKitTestRunner/TestController.cpp:
794         (WTR::TestController::initialize): Allow handling the new test style messages.
795         (WTR::TestController::didReceiveKeyDownMessageFromInjectedBundle): Removed calls
796         to WKPageSetShouldSendEventsSynchronously, which we no longer need.
797         (WTR::TestController::didReceiveMessageFromInjectedBundle):
798         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Moved
799         "MouseScrollBy" to async section, and got rid of WKPageSetShouldSendEventsSynchronously.
800
801         * WebKitTestRunner/mac/EventSenderProxy.mm:
802         (WTR::EventSenderProxy::mouseMoveTo): Got rid of WKPageSetShouldSendEventsSynchronously.
803         (WTR::EventSenderProxy::keyDown): Ditto.
804         (WTR::EventSenderProxy::mouseScrollBy): Ditto.
805         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
806
807 2015-08-21  Yusuke Suzuki  <utatane.tea@gmail.com>
808
809         Skip no-llint tests that fail due to running out of executable memory after r188969
810         https://bugs.webkit.org/show_bug.cgi?id=148273
811
812         Reviewed by Michael Saboff.
813
814         * Scripts/run-jsc-stress-tests:
815
816 2015-08-21  Nan Wang  <n_wang@apple.com>
817
818         [Mac] accessibility/selection-states.html fails
819         https://bugs.webkit.org/show_bug.cgi?id=116637
820
821         Reviewed by Chris Fleizach.
822
823         Implemented isSelectable() and isMultiSelectable().
824
825         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
826         (AccessibilityUIElement::isSelectable):
827         (AccessibilityUIElement::isMultiSelectable):
828         (AccessibilityUIElement::isSelectedOptionActive):
829         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
830         (WTR::AccessibilityUIElement::isSelectable):
831         (WTR::AccessibilityUIElement::isMultiSelectable):
832         (WTR::AccessibilityUIElement::isVisible):
833
834 2015-08-21  Jason Marcell  <jmarcell@apple.com>
835
836         Fix iteration over repositories on bot watcher's dashboard.
837
838         Reviewed by Alexey Proskuryakov.
839
840         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
841         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Don't reuse the same index variable.
842
843 2015-08-20  Joonghun Park  <jh718.park@samsung.com>
844
845         [EFL] Revise PlatformWebView ctor according to r188718
846         https://bugs.webkit.org/show_bug.cgi?id=148282
847
848         This patch change PlatformWebView ctor's argument to use WKPageConfigurationRef
849         instead of WKContextRef and WKPageGroupRef respectively.
850
851         Reviewed by Gyuyoung Kim.
852
853         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
854         (WTR::PlatformWebView::PlatformWebView):
855
856 2015-08-20  Devin Rousso  <dcrousso+webkit@gmail.com>
857
858         Unreviewed, changed Devin Rousso's email.
859
860         * Scripts/webkitpy/common/config/contributors.json:
861
862 2015-08-20  Anders Carlsson  <andersca@apple.com>
863
864         Use WKPageConfigurationRef in WebKitTestRunner
865         https://bugs.webkit.org/show_bug.cgi?id=147996
866
867         Reviewed by Tim Horton.
868
869         * WebKitTestRunner/TestController.cpp:
870         (WTR::TestController::createOtherPage):
871         (WTR::TestController::initialize):
872         (WTR::TestController::createWebViewWithOptions):
873         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
874         (-[TestRunnerWKView initWithFrame:configurationRef:useThreadedScrolling:]):
875         (WTR::PlatformWebView::PlatformWebView):
876         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useThreadedScrolling:]): Deleted.
877
878 2015-08-20  Brent Fulgham  <bfulgham@apple.com>
879
880         [Win] Update Windows tools for revised MIDL interfaces
881         https://bugs.webkit.org/show_bug.cgi?id=148249
882
883         Reviewed by Dean Jackson.
884
885         This is a follow-up to Bug 148001.
886
887         Revise the testing software to use compatible signatures and
888         implementations to match the requirements of the IDL generated
889         with the SAL annotations.
890
891         * DumpRenderTree/win/DRTDataObject.cpp:
892         * DumpRenderTree/win/DRTDataObject.h:
893         * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
894         * DumpRenderTree/win/DRTDesktopNotificationPresenter.h:
895         * DumpRenderTree/win/DRTDropSource.cpp:
896         * DumpRenderTree/win/DRTDropSource.h:
897         * DumpRenderTree/win/DumpRenderTree.cpp:
898         * DumpRenderTree/win/EditingDelegate.cpp:
899         * DumpRenderTree/win/EditingDelegate.h:
900         * DumpRenderTree/win/FrameLoadDelegate.cpp:
901         * DumpRenderTree/win/FrameLoadDelegate.h:
902         * DumpRenderTree/win/HistoryDelegate.cpp:
903         * DumpRenderTree/win/HistoryDelegate.h:
904         * DumpRenderTree/win/PolicyDelegate.cpp:
905         * DumpRenderTree/win/PolicyDelegate.h:
906         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
907         * DumpRenderTree/win/ResourceLoadDelegate.h:
908         * DumpRenderTree/win/TestRunnerWin.cpp:
909         * DumpRenderTree/win/UIDelegate.cpp:
910         * DumpRenderTree/win/UIDelegate.h:
911         * WinLauncher/AccessibilityDelegate.cpp:
912         * WinLauncher/AccessibilityDelegate.h:
913         * WinLauncher/Common.cpp:
914         * WinLauncher/DOMDefaultImpl.cpp:
915         * WinLauncher/DOMDefaultImpl.h:
916         * WinLauncher/PageLoadTestClient.cpp:
917         * WinLauncher/PageLoadTestClient.h:
918         * WinLauncher/PrintWebUIDelegate.cpp:
919         * WinLauncher/PrintWebUIDelegate.h:
920         * WinLauncher/ResourceLoadDelegate.cpp:
921         * WinLauncher/ResourceLoadDelegate.h:
922         * WinLauncher/WebDownloadDelegate.cpp:
923         * WinLauncher/WebDownloadDelegate.h:
924         * WinLauncher/WinLauncherWebHost.cpp:
925         * WinLauncher/WinLauncherWebHost.h:
926         * WinLauncher/WinMain.cpp:
927         * win/DLLLauncher/DLLLauncherMain.cpp:
928
929 2015-08-20  Filip Pizlo  <fpizlo@apple.com>
930
931         Unreviewed, shorten a test that runs too long and times out.
932
933         * TestWebKitAPI/Tests/WTF/Lock.cpp:
934         (TestWebKitAPI::TEST):
935
936 2015-08-20  Alex Christensen  <achristensen@webkit.org>
937
938         Clean up CMake build after r188673
939         https://bugs.webkit.org/show_bug.cgi?id=148234
940
941         Reviewed by Tim Horton.
942
943         * DumpRenderTree/PlatformWin.cmake:
944         * TestWebKitAPI/CMakeLists.txt:
945         * TestWebKitAPI/PlatformWin.cmake:
946         Define WIN_CAIRO so WinCairo executables can find the correct dlls in WebKitLibraries.
947         gtest needs to be a static library on Windows to not crash.
948
949 2015-08-19  Alex Christensen  <achristensen@webkit.org>
950
951         CMake Windows build should not include files directly from other Source directories
952         https://bugs.webkit.org/show_bug.cgi?id=148198
953
954         Reviewed by Brent Fulgham.
955
956         * DumpRenderTree/DumpRenderTreePrefix.h:
957         Include cmakeconfig.h to properly define all enabled features.
958         * DumpRenderTree/PlatformWin.cmake:
959         * TestWebKitAPI/PlatformWin.cmake:
960
961 2015-08-19  Alex Christensen  <achristensen@webkit.org>
962
963         Build TestWTF on Mac with CMake.
964         https://bugs.webkit.org/show_bug.cgi?id=147972
965
966         Reviewed by Tim Horton.
967
968         TestWTF only depends on gtest and WTF instead of TestWebKitAPi depending on all of WebKit.
969         Now I can run the WTF API tests after a few seconds of building instead of waiting for all of WebKit to build.
970
971         * TestWebKitAPI/CMakeLists.txt:
972         Added WTF as a dependency for platforms that do not have ForwardingHeadersForTestWebKitAPI_NAME.
973         WTF was already a library that was linked, but having at least one item makes the syntax of add_dependencies work.
974         * TestWebKitAPI/PlatformMac.cmake: Added.
975         * TestWebKitAPI/config.h:
976         Postpone some build fixes until WebKit builds completely on Mac with CMake.
977
978 2015-08-19  Brian Burg  <bburg@apple.com>
979
980         Unreviewed, add Aleksandr Skachkov to the list of contributors.
981
982         * Scripts/webkitpy/common/config/contributors.json:
983
984 2015-08-18  Carlos Alberto Lopez Perez  <clopez@igalia.com>
985
986         REGRESSION(r188548): [GTK] Build broken.
987         https://bugs.webkit.org/show_bug.cgi?id=148154
988
989         Reviewed by Martin Robinson.
990
991         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
992         (WTR::TestController::updatePlatformSpecificViewOptionsForTest):
993         Even if we don't need to add/override any settings in ViewOptions,
994         we need to define this as an empty function to make it build.
995
996 2015-08-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
997
998         Fix conversion-null warning in conversion.cpp of TestWebKitAPI
999         https://bugs.webkit.org/show_bug.cgi?id=148073
1000
1001         Reviewed by Alexey Proskuryakov.
1002
1003         * TestWebKitAPI/Tests/WTF/Condition.cpp: Use EXPECT_FALSE instead of EXPECT_EQ.
1004         (TestWebKitAPI::TEST):
1005
1006 2015-08-18  Anders Carlsson  <andersca@apple.com>
1007
1008         Fix test failure fallout from r188602 by using a V5 page ui client struct.
1009
1010         * TestWebKitAPI/Tests/WebKit2/WKPageIsPlayingAudio.cpp:
1011         (TestWebKitAPI::setUpClients):
1012
1013 2015-08-18  Brian Burg  <bburg@apple.com>
1014
1015         Web Inspector: load ProtocolTestStub from the WebInspectorUI bundle
1016         https://bugs.webkit.org/show_bug.cgi?id=147955
1017
1018         Reviewed by Timothy Hatcher.
1019
1020         To enable sharing of common test code between protocol and model tests,
1021         start loading the protocol TestStub.js through the WebInspectorUI bundle.
1022
1023         This patch adds the read-only getter TestRunner.inspectorTestStubURL, which
1024         protocol-test.js uses to load the inspector frontend stub into its iframe
1025         from an arbitrary local file URL.
1026
1027         * DumpRenderTree/TestRunner.cpp:
1028         (getInspectorTestStubURLCallback):
1029         (TestRunner::staticValues):
1030         * DumpRenderTree/TestRunner.h:
1031         * DumpRenderTree/mac/TestRunnerMac.mm:
1032         (SOFT_LINK_STAGED_FRAMEWORK):
1033         (TestRunner::inspectorTestStubURL):
1034         * DumpRenderTree/win/TestRunnerWin.cpp:
1035         (TestRunner::inspectorTestStubURL):
1036         * WebKitTestRunner/Configurations/Base.xcconfig:
1037         Since WebKitTestRunner now includes WebCore private headers, also search
1038         for the WebCore framework inside the WebKit umbrella framework.
1039
1040         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1041         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1042         * WebKitTestRunner/InjectedBundle/efl/TestRunnerEfl.cpp:
1043         (WTR::TestRunner::inspectorTestStubURL):
1044         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
1045         (WTR::TestRunner::inspectorTestStubURL):
1046         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
1047         (WTR::TestRunner::inspectorTestStubURL):
1048
1049 2015-08-18  Filip Pizlo  <fpizlo@apple.com>
1050
1051         Unreviewed, fix GTK build.
1052
1053         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
1054         (TestWebKitAPI::TEST):
1055
1056 2015-08-17  Filip Pizlo  <fpizlo@apple.com>
1057
1058         Replace all remaining uses of WTF::Mutex with WTF::Lock
1059         https://bugs.webkit.org/show_bug.cgi?id=148089
1060
1061         Reviewed by Geoffrey Garen.
1062
1063         * DumpRenderTree/JavaScriptThreading.cpp:
1064         (javaScriptThreadsMutex):
1065         (runJavaScriptThread):
1066         (startJavaScriptThreads):
1067         (stopJavaScriptThreads):
1068         * TestWebKitAPI/Tests/WTF/Condition.cpp: Fixed a bug in the test that I found from turning the test into a benchmark.
1069         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
1070         (TestWebKitAPI::TEST):
1071         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
1072         (TestWebKitAPI::TEST):
1073
1074 2015-08-17  Commit Queue  <commit-queue@webkit.org>
1075
1076         Unreviewed, rolling out r188539, r188544, r188552, and
1077         r188564.
1078         https://bugs.webkit.org/show_bug.cgi?id=148122
1079
1080         Broke tests and some build styles (Requested by ap on
1081         #webkit).
1082
1083         Reverted changesets:
1084
1085         "Web Inspector: load ProtocolTestStub from the WebInspectorUI
1086         bundle"
1087         https://bugs.webkit.org/show_bug.cgi?id=147955
1088         http://trac.webkit.org/changeset/188539
1089
1090         "Web Inspector: split TestStub.js into multiple files and
1091         modernize it"
1092         https://bugs.webkit.org/show_bug.cgi?id=148077
1093         http://trac.webkit.org/changeset/188544
1094
1095         "Web Inspector: InspectorTest should be a subclass of
1096         TestHarness"
1097         https://bugs.webkit.org/show_bug.cgi?id=148079
1098         http://trac.webkit.org/changeset/188552
1099
1100         "Unreviewed internal build fix attempt after r188539."
1101         http://trac.webkit.org/changeset/188564
1102
1103 2015-08-17  Myles C. Maxfield  <mmaxfield@apple.com>
1104
1105         [OS X] Remove support for composite fonts
1106         https://bugs.webkit.org/show_bug.cgi?id=147920
1107
1108         Reviewed by Dan Bernstein.
1109
1110         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1111         * DumpRenderTree/fonts/SampleFont.sfont: Removed.
1112         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1113         * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig:
1114         * DumpRenderTree/mac/DumpRenderTree.mm:
1115         (allowedFontFamilySet): Deleted.
1116         (activateTestingFonts): Deleted.
1117         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
1118         (WTR::allowedFontFamilySet): Deleted.
1119         (WTR::activateFonts): Deleted.
1120         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1121         * WebKitTestRunner/fonts/SampleFont.sfont: Removed.
1122         * WebKitTestRunner/mac/TestControllerMac.mm:
1123         (WTR::allowedFontFamilySet): Deleted.
1124
1125 2015-08-17  Jon Honeycutt  <jhoneycutt@apple.com>
1126
1127         Unreviewed internal build fix attempt after r188539.
1128
1129         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
1130
1131 2015-08-17  Myles C. Maxfield  <mmaxfield@apple.com>
1132
1133         Fix the build
1134
1135         Unreviewed.
1136
1137         * TestWebKitAPI/Tests/WTF/StringHasher.cpp:
1138
1139 2015-08-17  Alex Christensen  <achristensen@webkit.org>
1140
1141         Build Debug Suffix on Windows with CMake
1142         https://bugs.webkit.org/show_bug.cgi?id=148083
1143
1144         Reviewed by Brent Fulgham.
1145
1146         * TestWebKitAPI/CMakeLists.txt:
1147         * TestWebKitAPI/PlatformWin.cmake:
1148         Add DEBUG_SUFFIX
1149
1150 2015-08-17  Anders Carlsson  <andersca@apple.com>
1151
1152         Simplify how PlatformWebViews are created when view options change
1153         https://bugs.webkit.org/show_bug.cgi?id=148093
1154
1155         Reviewed by Sam Weinig.
1156
1157         Instead of letting each port dictate when the PlatformWebView should be recreated we now do the following:
1158
1159         TestController::ensureViewSupportsOptionsForTest gets the view options for a test by calling
1160         TestController::viewOptionsForTest, which returns a filled in ViewOptions struct for a given test. It also allows
1161         ports to add/override settings by calling TestController::updatePlatformSpecificViewOptionsForTest.
1162
1163         If the current PlatformWebView doesn't support the given view options, delete the web view and create a new one.
1164
1165         Also, get rid of the first call to TestController::createWebViewWithOptions in TestController::initialize and
1166         always rely on TestController::ensureViewSupportsOptionsForTest creating a PlatformWebView for us.
1167
1168         * WebKitTestRunner/TestController.cpp:
1169         (WTR::TestController::ensureViewSupportsOptionsForTest):
1170         (WTR::shouldUseFixedLayout):
1171         (WTR::TestController::viewOptionsForTest):
1172         (WTR::TestController::updateWebViewSizeForTest):
1173         (WTR::TestController::updateWindowScaleForTest):
1174         (WTR::TestController::configureViewForTest):
1175         (WTR::TestController::initialize): Deleted.
1176         (WTR::TestController::ensureViewSupportsOptions): Deleted.
1177         (WTR::TestController::updateLayoutTypeForTest): Deleted.
1178         (WTR::TestController::platformConfigureViewForTest): Deleted.
1179         (WTR::TestController::platformResetPreferencesToConsistentValues): Deleted.
1180         (WTR::TestController::run): Deleted.
1181         * WebKitTestRunner/TestController.h:
1182         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1183         (WTR::shouldUseFixedLayout):
1184         (WTR::TestController::updatePlatformSpecificViewOptionsForTest):
1185         (WTR::TestController::platformConfigureViewForTest):
1186         (WTR::TestController::platformResetPreferencesToConsistentValues):
1187         * WebKitTestRunner/ios/TestControllerIOS.mm:
1188         (WTR::TestController::updatePlatformSpecificViewOptionsForTest):
1189         * WebKitTestRunner/mac/TestControllerMac.mm:
1190         (WTR::TestController::updatePlatformSpecificViewOptionsForTest):
1191         (WTR::TestController::platformConfigureViewForTest):
1192
1193 2015-08-17  Sam Weinig  <sam@webkit.org>
1194
1195         API::PageConfiguration's sessionID needs to be set whenever the API::WebsiteDataStore is set
1196         https://bugs.webkit.org/show_bug.cgi?id=148097
1197
1198         Reviewed by Anders Carlsson.
1199
1200         * TestWebKitAPI/Tests/WebKit2/WKPageConfiguration.cpp:
1201         Add tests for WebsiteDataStores in the WKPageConfiguration.
1202
1203 2015-08-17  Brian Burg  <bburg@apple.com>
1204
1205         Web Inspector: load ProtocolTestStub from the WebInspectorUI bundle
1206         https://bugs.webkit.org/show_bug.cgi?id=147955
1207
1208         Reviewed by Timothy Hatcher.
1209
1210         To enable sharing of common test code between protocol and model tests,
1211         start loading the protocol TestStub.js through the WebInspectorUI bundle.
1212
1213         This patch adds the read-only getter TestRunner.inspectorTestStubURL, which
1214         protocol-test.js uses to load the inspector frontend stub into its iframe
1215         from an arbitrary local file URL.
1216
1217         * DumpRenderTree/TestRunner.cpp:
1218         (getInspectorTestStubURLCallback):
1219         (TestRunner::staticValues):
1220         * DumpRenderTree/TestRunner.h:
1221         * DumpRenderTree/mac/TestRunnerMac.mm:
1222         (SOFT_LINK_STAGED_FRAMEWORK):
1223         (TestRunner::inspectorTestStubURL):
1224         * DumpRenderTree/win/TestRunnerWin.cpp:
1225         (TestRunner::inspectorTestStubURL):
1226         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1227         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1228         * WebKitTestRunner/InjectedBundle/efl/TestRunnerEfl.cpp:
1229         (WTR::TestRunner::inspectorTestStubURL):
1230         * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
1231         (WTR::TestRunner::inspectorTestStubURL):
1232         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
1233         (WTR::TestRunner::inspectorTestStubURL):
1234
1235 2015-08-17  Saam barati  <sbarati@apple.com>
1236
1237         Change email address from saambarati1@gmail.com to sbarati@apple.com
1238
1239         * Scripts/webkitpy/common/config/contributors.json:
1240
1241 2015-08-17  Jason Marcell  <jmarcell@apple.com>
1242
1243         Refactor BuildbotQueueView._presentPopoverForPendingCommits to work more generically with
1244         repositories other than "openSource" and "internal".
1245         https://bugs.webkit.org/show_bug.cgi?id=147961
1246
1247         Reviewed by Daniel Bates.
1248
1249         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1250         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Refactored to work more
1251         generically with repositories other than "openSource" and "internal".
1252
1253 2015-08-17  Alexey Proskuryakov  <ap@apple.com>
1254
1255         build.webkit.org/dashboard shows yellow when crash-only queues have too many failures
1256         https://bugs.webkit.org/show_bug.cgi?id=148081
1257
1258         Reviewed by Tim Horton.
1259
1260         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1261         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1262
1263 2015-08-11  Andy Estes  <aestes@apple.com>
1264
1265         [Cocoa] Add redirect support to CustomProtocolManager
1266         https://bugs.webkit.org/show_bug.cgi?id=147871
1267
1268         Reviewed by Dan Bernstein.
1269
1270         Updated WebKit2CustomProtocolsTest.MainResource to generate a redirect response.
1271
1272         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
1273         (TestWebKitAPI::TEST): Unregesitered TestProtocol.
1274         * TestWebKitAPI/Tests/WebKit2/custom-protocol-sync-xhr.html: Changed scheme to http.
1275         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1276         (-[CustomProtocolsLoadDelegate browsingContextControllerDidStartProvisionalLoad:]): Expected a certain provisional URL.
1277         (-[CustomProtocolsLoadDelegate browsingContextControllerDidReceiveServerRedirectForProvisionalLoad:]): Ditto.
1278         (-[CustomProtocolsLoadDelegate browsingContextControllerDidCommitLoad:]): Expected a certain committed URL.
1279         (-[CustomProtocolsLoadDelegate browsingContextControllerDidFinishLoad:]): Expected isLoading to be false.
1280         (TestWebKitAPI::TEST): Used the new load delegate and unregistered TestProtocol.
1281         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
1282         (TestWebKitAPI::TEST): Unregistered TestProtocol.
1283         * TestWebKitAPI/mac/TestProtocol.mm: Changed scheme to http.
1284         (+[TestProtocol canInitWithRequest:]): Changed to use property syntax.
1285         (-[TestProtocol startLoading]): Taught to handle redirect responses.
1286
1287 2015-08-13  Andy Estes  <aestes@apple.com>
1288
1289         [Cocoa] Downloads do not start if policy decision is made asynchronously
1290         https://bugs.webkit.org/show_bug.cgi?id=147985
1291
1292         Reviewed by Brady Eidson.
1293
1294         Added a new API test.
1295
1296         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
1297         (-[AsynchronousDownloadNavigationDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]):
1298         (-[AsynchronousDownloadDelegate _downloadDidStart:]):
1299         (TEST):
1300
1301 2015-08-14  Commit Queue  <commit-queue@webkit.org>
1302
1303         Unreviewed, rolling out r187357.
1304         https://bugs.webkit.org/show_bug.cgi?id=148032
1305
1306         webkit-patch generates incorrect patches that cannot be
1307         applied (Requested by dydz on #webkit).
1308
1309         Reverted changeset:
1310
1311         "Call fixChangeLogPatch when generating patches from webkit-
1312         patch"
1313         https://bugs.webkit.org/show_bug.cgi?id=147248
1314         http://trac.webkit.org/changeset/187357
1315
1316 2015-08-14  Jason Marcell  <jmarcell@apple.com>
1317
1318         Refactor BuildbotQueueView._appendPendingRevisionCount to work more generically with repositories
1319         other than "openSource" and "internal".
1320         https://bugs.webkit.org/show_bug.cgi?id=147938
1321
1322         Reviewed by Daniel Bates.
1323
1324         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1325         (BuildbotQueueView.prototype._appendPendingRevisionCount): Refactored to work more generically with
1326         repositories other than "openSource" and "internal".
1327
1328 2015-08-14  Filip Pizlo  <fpizlo@apple.com>
1329
1330         Unreviewed, shorten another test that is timing out.
1331
1332         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1333         (TestWebKitAPI::TEST):
1334
1335 2015-08-13  Aakash Jain  <aakash_jain@apple.com>
1336
1337         AppScale: Assertion hit when hovering a webkit-queue bubble
1338         https://bugs.webkit.org/show_bug.cgi?id=147997
1339
1340         Reviewed by Alexey Proskuryakov.
1341
1342         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueue.js:
1343         (BubbleQueue.prototype.loadDetailedStatus): Strip off http(s) before asserting.
1344
1345 2015-08-13  Lucas Forschler  <lforschler@apple.com>
1346
1347         Teach Scripts/copy-webkitlibraries-to-product-directory to copy the El Capitan Library.
1348         
1349         Unreviewed.
1350         
1351         * Scripts/copy-webkitlibraries-to-product-directory:
1352
1353 2015-08-13  Dewei Zhu  <dewei_zhu@apple.com>
1354
1355         Run benchmark customized Dromaeo should not assume there is an internet connection.
1356         https://bugs.webkit.org/show_bug.cgi?id=147995
1357
1358         Reviewed by Ryosuke Niwa.
1359
1360         Add several dependency js libs to local.
1361
1362         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch:
1363
1364 2015-08-13  Filip Pizlo  <fpizlo@apple.com>
1365
1366         WTF should have a compact Condition object to use with Lock
1367         https://bugs.webkit.org/show_bug.cgi?id=147986
1368
1369         Reviewed by Geoffrey Garen.
1370
1371         Add a test for WTF::Condition.
1372
1373         * TestWebKitAPI/CMakeLists.txt:
1374         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1375         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1376         * TestWebKitAPI/Tests/WTF/Condition.cpp: Added.
1377         (TestWebKitAPI::TEST):
1378         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1379         (TestWebKitAPI::runLockTest): Change the name of the thread.
1380
1381 2015-08-13  Filip Pizlo  <fpizlo@apple.com>
1382
1383         Unreviewed, shorten another test. It's timing out in debug on some bot.
1384
1385         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1386         (TestWebKitAPI::TEST):
1387
1388 2015-08-12  Filip Pizlo  <fpizlo@apple.com>
1389
1390         WTF::Lock should not suffer from the thundering herd
1391         https://bugs.webkit.org/show_bug.cgi?id=147947
1392
1393         Reviewed by Geoffrey Garen.
1394
1395         Add testing that checks that locks return to a pristine state after contention is over.
1396
1397         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1398         (TestWebKitAPI::LockInspector::isFullyReset):
1399         (TestWebKitAPI::runLockTest):
1400         (TestWebKitAPI::TEST):
1401
1402 2015-08-12  Dewei Zhu  <dewei_zhu@apple.com>
1403
1404         Benchmarks supported by run_benchmark script should not assume we have internet access.
1405         https://bugs.webkit.org/show_bug.cgi?id=147959
1406
1407         Reviewed by Ryosuke Niwa.
1408
1409         For JSBench we should not request jquery.min.js from google through the internet.
1410
1411         * Scripts/webkitpy/benchmark_runner/data/patches/JSBench.patch:
1412
1413 2015-08-12  Jason Marcell  <jmarcell@apple.com>
1414
1415         Refactor BuildbotQueueView.revisionContentForIteration to work more generically with repositories
1416         other than "openSource" and "internal".
1417         https://bugs.webkit.org/show_bug.cgi?id=147796
1418
1419         Reviewed by Daniel Bates.
1420
1421         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1422         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): The "repository" parameter
1423         is now a repository object instead of the repository name, thus we don't have to pass the "trac"
1424         object in separately. Also added an assertion to see if the given repository is in iteration.revision,
1425         and another assertion that, if the previousIteration is non-null, the given repository is in
1426         previousIteration.revision.
1427         (BuildbotQueueView.prototype.revisionContentForIteration): Refactored to work more generically
1428         with repositories other than "openSource" and "internal". Also added an assertion that the returned
1429         fragment has at least one child node.
1430
1431 2015-08-12  Simon Fraser  <simon.fraser@apple.com>
1432
1433         Add a tool that dumps class and struct member layout, showing padding
1434         https://bugs.webkit.org/show_bug.cgi?id=147898
1435
1436         Reviewed by Zalan Bujtas.
1437         
1438         This 'dump-class-layout' script uses the lldb Python bindings to collect data
1439         about data member layout, and displays it.
1440         
1441         Sample output:
1442
1443               +0 { 72} WTF::ListHashSet<WebCore::URL, WebCore::URLHash>::Node
1444               +0 < 56>     WebCore::URL m_value;
1445               +0 <  8>         WTF::String m_string;
1446               +0 <  8>             WTF::RefPtr<WTF::StringImpl> m_impl;
1447               +0 <  8>                 WTF::StringImpl * m_ptr;
1448               +8 <  1>         bool:1 m_isValid;
1449               +8 <  1>         bool:1 m_protocolIsInHTTPFamily;
1450               +9 <  3>         <PADDING>
1451              +12 <  4>         int m_schemeEnd;
1452              +16 <  4>         int m_userStart;
1453              +20 <  4>         int m_userEnd;
1454              +24 <  4>         int m_passwordEnd;
1455              +28 <  4>         int m_hostEnd;
1456              +32 <  4>         int m_portEnd;
1457              +36 <  4>         int m_pathAfterLastSlash;
1458              +40 <  4>         int m_pathEnd;
1459              +44 <  4>         int m_queryEnd;
1460              +48 <  4>         int m_fragmentEnd;
1461              +52 <  4>         <PADDING>
1462              +52 <  4>     <PADDING>
1463              +56 <  8>     WTF::ListHashSetNode<WebCore::URL> * m_prev;
1464              +64 <  8>     WTF::ListHashSetNode<WebCore::URL> * m_next;
1465             Total byte size: 72
1466             Total pad bytes: 11
1467             Padding percentage: 15.28 %
1468
1469         * Scripts/dump-class-layout: Added.
1470         (webkit_build_dir):
1471         (developer_dir):
1472         (import_lldb):
1473         (find_build_directory):
1474         (verify_type):
1475         (verify_type_recursive):
1476         (dump_class):
1477         (main):
1478         (main.or):
1479
1480 2015-08-12  Alex Christensen  <achristensen@webkit.org>
1481
1482         Fix Debug CMake builds on Windows
1483         https://bugs.webkit.org/show_bug.cgi?id=147940
1484
1485         Reviewed by Chris Dumez.
1486
1487         * DumpRenderTree/PlatformWin.cmake:
1488         * TestWebKitAPI/PlatformWin.cmake:
1489         The BitmapImage test is not enabled on the AppleWin port.
1490         * WinLauncher/CMakeLists.txt:
1491         Debug builds need /NODEFAULTLIB:MSVCRTD, too.
1492
1493 2015-08-12  Carlos Garcia Campos  <cgarcia@igalia.com>
1494
1495         Unreviewed. run-gtk-tests: Use a longer timeout for slow tests.
1496
1497         In r188125 I added a way to mark tests as slow to use a longer
1498         timeout. But it seems it was not enough for
1499         WTF_Lock.ContendedShortSection, so let's try again with a longer
1500         timeout now.
1501
1502         * Scripts/run-gtk-tests:
1503         (TestRunner._run_google_test):
1504
1505 2015-08-12  Yusuke Suzuki  <utatane.tea@gmail.com>
1506
1507         Allow --debug option in run-jsc
1508         https://bugs.webkit.org/show_bug.cgi?id=147923
1509
1510         Reviewed by Csaba Osztrogonác.
1511
1512         When `--debug` option is specified in run-jsc, it runs the JSC shell built in the debug mode.
1513
1514         * Scripts/run-jsc:
1515
1516 2015-08-11  Alex Christensen  <achristensen@webkit.org>
1517
1518         Fix test after build fix in r188286.
1519         https://bugs.webkit.org/show_bug.cgi?id=147907
1520
1521         Reviewed by Anders Carlsson.
1522
1523         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
1524         sleep_for can now be used, but we need to include <thread>
1525
1526 2015-08-11  Filip Pizlo  <fpizlo@apple.com>
1527
1528         Always use a byte-sized lock implementation
1529         https://bugs.webkit.org/show_bug.cgi?id=147908
1530
1531         Reviewed by Geoffrey Garen.
1532
1533         All previous tests of Lock are now tests of WordLock. All previous tests of ByteLock are
1534         now tests of Lock.
1535
1536         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1537         (TestWebKitAPI::runLockTest):
1538         (TestWebKitAPI::TEST):
1539
1540 2015-08-11  Alexey Proskuryakov  <ap@apple.com>
1541
1542         Make ASan build not depend on asan.xcconfig
1543         https://bugs.webkit.org/show_bug.cgi?id=147840
1544         rdar://problem/21093702
1545
1546         Reviewed by Daniel Bates.
1547
1548         * asan/asan.xcconfig:
1549         * asan/webkit-asan-ignore.txt: Removed. It's no longer needed, as unsafe functions
1550         are now marked in source code.
1551
1552 2015-08-11  Filip Pizlo  <fpizlo@apple.com>
1553
1554         Unreviewed, shorten another test since it timed out.
1555
1556         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
1557         (TestWebKitAPI::TEST):
1558
1559 2015-08-11  Mark Lam  <mark.lam@apple.com>
1560
1561         Fix names of Lock tests: should be "Contended", not "Contented".
1562         https://bugs.webkit.org/show_bug.cgi?id=147905
1563
1564         Reviewed by Saam Barati.
1565
1566         We're testing the behavior of lock contention (i.e. when threads contend), not
1567         whether the locks are happy (contented).
1568
1569         * Scripts/run-gtk-tests:
1570         (TestRunner):
1571         (TestRunner.__init__): Deleted.
1572         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1573         (TestWebKitAPI::runLockTest):
1574         (TestWebKitAPI::TEST):
1575
1576 2015-08-11  Alex Christensen  <achristensen@webkit.org>
1577
1578         Update WinCairoRequirements to VS2015.
1579
1580         * Scripts/update-webkit-wincairo-libs:
1581         Update WinCairoRequirements location.
1582
1583 2015-08-11  Jason Marcell  <jmarcell@apple.com>
1584
1585         Substituted Dashboard.Repository.OpenSource.trac for webkitTrac and Dashboard.Repository.Internal.trac
1586         for internalTrac.
1587         https://bugs.webkit.org/show_bug.cgi?id=147805
1588
1589         Reviewed by Daniel Bates.
1590
1591         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1592         (BuildbotQueueView): Substituted Dashboard.Repository.OpenSource.trac for webkitTrac and
1593         Dashboard.Repository.Internal.trac for internalTrac.
1594         (BuildbotQueueView.prototype._appendPendingRevisionCount): Added local variables webkitTrac
1595         and internalTrac for Dashboard.Repository.OpenSource.trac and Dashboard.Repository.Internal.trac,
1596         respectively.
1597         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto.
1598         (BuildbotQueueView.prototype.revisionContentForIteration): Substituted
1599         Dashboard.Repository.OpenSource.trac for webkitTrac and Dashboard.Repository.Internal.trac for
1600         internalTrac.
1601         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Initialization.js: Ditto.
1602         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Ditto.
1603         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
1604         (Analyzer): Ditto.
1605         (Analyzer.prototype.analyze): Ditto.
1606
1607 2015-08-11  Filip Pizlo  <fpizlo@apple.com>
1608
1609         Unreviewed, gardening these tests to run faster so that they don't timeout on slower OSes.
1610
1611         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
1612         (TestWebKitAPI::TEST):
1613
1614 2015-08-11  Brent Fulgham  <bfulgham@apple.com>
1615
1616         [Win] Switch Windows build to Visual Studio 2015
1617         https://bugs.webkit.org/show_bug.cgi?id=147887
1618         <rdar://problem/22235098>
1619
1620         Reviewed by Alex Christensen.
1621
1622         Update Visual Studio project file settings to use the current Visual
1623         Studio and compiler. Continue targeting binaries to run on our minimum
1624         supported configuration of Windows 7.
1625
1626         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
1627         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeLauncher.vcxproj:
1628         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiff.vcxproj:
1629         * DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffLauncher.vcxproj:
1630         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
1631         * Scripts/webkitdirs.pm: Modify our Visual Studio search routines to
1632         prefer the newer MSBuild included in Visual Studio 2015.
1633         (visualStudioInstallDir):
1634         (msBuildInstallDir):
1635         (visualStudioVersion):
1636         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1637         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1638         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj:
1639         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
1640         * win/AssembleBuildLogs/AssembleBuildLogs.vcxproj:
1641         * win/record-memory/record-memory.vcxproj:
1642
1643 2015-08-11  Alex Christensen  <achristensen@webkit.org>
1644
1645         Another speculative build fix after r188280.
1646
1647         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
1648         std::this_thread is too modern c++ for VS2013 and supported GCC versions, 
1649         so let's go back to usleep and I made something close to usleep, but with much lower resolution.
1650
1651 2015-08-11  Alex Christensen  <achristensen@webkit.org>
1652
1653         Unreviewed build fix after r188280.
1654
1655         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
1656         Include DataLog.h, and usleep is not available on Windows, so I used what I think is the c++11 equivalent.
1657
1658 2015-08-10  Filip Pizlo  <fpizlo@apple.com>
1659
1660         WTF should have a ParkingLot for parking sleeping threads, so that locks can fit in 1.6 bits
1661         https://bugs.webkit.org/show_bug.cgi?id=147665
1662
1663         Reviewed by Mark Lam.
1664
1665         * TestWebKitAPI/CMakeLists.txt:
1666         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1667         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1668         * TestWebKitAPI/Tests/WTF/Lock.cpp:
1669         (TestWebKitAPI::TEST):
1670         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp: Added.
1671         (TestWebKitAPI::TEST):
1672
1673 2015-08-11  Brian Burg  <bburg@apple.com>
1674
1675         webkit-patch should not explode when $EDITOR is set incorrectly
1676         https://bugs.webkit.org/show_bug.cgi?id=147884
1677
1678         Reviewed by Darin Adler.
1679
1680         If $EDITOR doesn't exist, log a warning and continue.
1681
1682         * Scripts/webkitpy/common/system/user.py: 
1683         (User.edit):
1684         (User.edit_changelog):
1685
1686 2015-08-11  Dan Bernstein  <mitz@apple.com>
1687
1688         Reverted r188255, because it turned out that delegates do nonot need this information.
1689
1690         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1691         * TestWebKitAPI/Tests/WebKit2Cocoa/PrintFrame.mm: Removed.
1692
1693 2015-08-11  Dan Bernstein  <mitz@apple.com>
1694
1695         [Cocoa] The UI delegate can't tell if printing was user-initiated
1696         https://bugs.webkit.org/show_bug.cgi?id=147869
1697
1698         Reviewed by Sam Weinig.
1699
1700         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1701         * TestWebKitAPI/Tests/WebKit2Cocoa/PrintFrame.mm: Added.
1702         (-[PrintFrameController webView:didFinishNavigation:]):
1703         (-[PrintFrameController _webView:printFrame:userInitiated:]):
1704         (TEST):
1705
1706 2015-08-10  Alex Christensen  <achristensen@webkit.org>
1707
1708         Another build fix after r188239.
1709
1710         * TestWebKitAPI/PlatformWin.cmake:
1711         Link with more libraries.
1712         * WinLauncher/CMakeLists.txt:
1713         /NODEFAULTLIB:MSVCRT is not just needed for AppleWin.
1714
1715 2015-08-10  Ryosuke Niwa  <rniwa@webkit.org>
1716
1717         Build fix after r188237.
1718
1719         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
1720         (BenchmarkBuilder.__enter__):
1721
1722 2015-08-10  Dewei Zhu  <dewei_zhu@apple.com>
1723
1724         Update ReadMe and correct the way to use abstract abstract class.
1725         https://bugs.webkit.org/show_bug.cgi?id=147860
1726
1727         Reviewed by Ryosuke Niwa.
1728
1729         Update ReadMe according to recent changes. And set ABCMeta to be the __metaclass__ of BrowserDriver and HTTPServerDriver,
1730         so that all methods annotated by 'abstractmethod' will check whether they are implememnt by subclasses.
1731
1732         * Scripts/webkitpy/benchmark_runner/README.md:
1733         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
1734         (BrowserDriver):
1735         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
1736         (OSXBrowserDriver.restore_env):
1737         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
1738         (HTTPServerDriver):
1739         (HTTPServerDriver.set_device_id):
1740         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
1741         (SimpleHTTPServerDriver.get_return_code):
1742         (SimpleHTTPServerDriver):
1743         (SimpleHTTPServerDriver.set_device_id):
1744
1745 2015-08-10  Alex Christensen  <achristensen@webkit.org>
1746
1747         Build TestWebKitAPI with CMake on Windows
1748         https://bugs.webkit.org/show_bug.cgi?id=147851
1749
1750         Reviewed by Chris Dumez.
1751
1752         * CMakeLists.txt:
1753         * TestWebKitAPI/CMakeLists.txt:
1754         Removed TestJavaScriptCore because JavaScriptCore's API tests are elsewhere and this was just making an empty binary.
1755         Surrounded WebKit2-specific features with ENABLE_WEBKIT2 checks.
1756         Include directories after the Platform*.cmake is included because HostWindow.h needs to be found in Tools/TestWebKitAPI/win 
1757         before we look in Source/WebCore/platform, where another file named HostWindow.h exists.
1758         * TestWebKitAPI/PlatformEfl.cmake:
1759         * TestWebKitAPI/PlatformGTK.cmake:
1760         Windows needs all the binaries to be in the same directory to find gtest.dll and the other dlls.
1761         I did this without changing the directory structure of the existing EFL and GTK builds.
1762         * TestWebKitAPI/PlatformWin.cmake: Added.
1763         * TestWebKitAPI/win/main.cpp:
1764         (main):
1765         (dllLauncherEntryPoint):
1766         Added so we can launch TestWebKitAPI executables after finding the AAS directory.
1767         * WinLauncher/CMakeLists.txt:
1768         AppleWin port needs /NODEFAULTLIB:MSVCRT.
1769
1770 2015-08-10  Dewei Zhu  <dewei_zhu@apple.com>
1771
1772         Make cleanup more robust and minor code cleaning in run benchmark script.
1773         https://bugs.webkit.org/show_bug.cgi?id=147800
1774
1775         Reviewed by Ryosuke Niwa.
1776
1777         Use 'finnaly' block to make sure cleanup code is always executed.
1778
1779         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1780         (built_benchmark):
1781         (built_benchmark.__init__):
1782         (built_benchmark.__enter__):
1783         (built_benchmark.__exit__):
1784         (test_environment):
1785         (test_environment.__init__):
1786         (test_environment.__enter__):
1787         (test_environment.__exit__):
1788         (BenchmarkRunner.__init__):
1789         (BenchmarkRunner.execute):
1790         (BenchmarkRunner._dump):
1791         (BenchmarkRunner._wrap):
1792         (BenchmarkRunner): Deleted.
1793         (BenchmarkRunner._cleanup): Deleted.
1794         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
1795         (BrowserDriver.close_browsers):
1796         (BrowserDriver):
1797         (BrowserDriver.restore_env):
1798         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
1799         (SimpleHTTPServerDriver.__init__): We do not actually need to know external ip address for now.
1800
1801 2015-08-10  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1802
1803         Compile warning (-Wsign-compare) on 32-bits at WebCore/platform/FileSystem.cpp
1804         https://bugs.webkit.org/show_bug.cgi?id=146414
1805
1806         Reviewed by Darin Adler.
1807
1808         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
1809         (TestWebKitAPI::TEST): Improving testing of WTF::isInBounds.
1810
1811 2015-08-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1812
1813         [GTK] Test  /webkit2/WebKitWebView/submit-form is flaky
1814         https://bugs.webkit.org/show_bug.cgi?id=147727
1815
1816         Reviewed by Sergio Villar Senin.
1817
1818         I think it was not this test in particular, but
1819         /webkit2/WebKitWebView/custom-charset that is affecting the
1820         others. This is because changing the encoding reloads the page,
1821         but we don't wait for the page to be reloaded, so when the test
1822         finishes and other test starts the web process is still reloading
1823         the page.
1824
1825         * Scripts/run-gtk-tests:
1826         (TestRunner): Unskip /webkit2/WebKitWebView/submit-form.
1827         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1828         (testWebViewCustomCharset): Wait until page is reloaded after
1829         changing the charset.
1830
1831 2015-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1832
1833         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/install-missing-plugins-permission-request.
1834
1835         It's timing out in the bots. My guess is that there's no installer
1836         installed in the bots and gst_install_plugins_supported() returns
1837         false, so we don't even get a permission request because no
1838         installer will be launched.
1839
1840         * Scripts/run-gtk-tests:
1841         (TestRunner):
1842
1843 2015-08-07  Alex Christensen  <achristensen@webkit.org>
1844
1845         [GTK] Another build fix after r188157.
1846
1847         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1848         (WTR::PlatformWebView::viewSupportsOptions):
1849         Name all the things correctly!
1850
1851 2015-08-07  Alex Christensen  <achristensen@webkit.org>
1852
1853         [EFL, GTK] Build fix after r188176.
1854
1855         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
1856         I moved forwarding headers out of a unix subdirectory because I am using them on Windows now.
1857
1858 2015-08-07  Alex Christensen  <achristensen@webkit.org>
1859
1860         [GTK] Speculative build fix after r188157.
1861
1862         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1863         (WTR::PlatformWebView::PlatformWebView):
1864         Update parameter list.
1865
1866 2015-08-07  Alex Christensen  <achristensen@webkit.org>
1867
1868         Build more testing binaries with CMake on Windows
1869         https://bugs.webkit.org/show_bug.cgi?id=147799
1870
1871         Reviewed by Brent Fulgham.
1872
1873         * DumpRenderTree/CMakeLists.txt:
1874         Build TestNetscapePlugin.
1875         * DumpRenderTree/PlatformWin.cmake:
1876         Build ImageDiff and add files necessary for TestNetscapePlugin on Windows.
1877         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders: Added.
1878         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit: Added.
1879         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Copied from DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h.
1880         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Copied from DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h.
1881         * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Copied from DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h.
1882         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npapi.h: Removed.
1883         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npfunctions.h: Removed.
1884         * DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit/npruntime.h: Removed.
1885
1886 2015-08-07  Jason Marcell  <jmarcell@apple.com>
1887
1888         Refactor BuildbotQueue.compareIterations and BuildbotQueue.compareIterationsByRevisions to be more generic
1889         https://bugs.webkit.org/show_bug.cgi?id=147667
1890
1891         Reviewed by Daniel Bates.
1892
1893         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1894         (BuildbotQueue.prototype.compareIterations): Refactored to work more generically with repositories
1895         other than "openSource" and "internal".
1896         (BuildbotQueue.prototype.compareIterationsByRevisions): Ditto.
1897         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
1898         (Dashboard.get sortedPlatforms): Added. Returns a sorted array of platforms.
1899         (Dashboard.get sortedRepositories): Added. Returns a sorted array of repositories.
1900         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1901         (documentReady): Using Dashboard.sortedPlatforms instead of sortedPlatforms.
1902         (sortedPlatforms): Deleted.
1903         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
1904         (buildQueuesTable): Using Dashboard.sortedPlatforms instead of sortedPlatforms.
1905         (sortedPlatforms): Deleted.
1906         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js:
1907         (sortDictionariesByOrder): Added. Takes an array of dictionaries that have an "order" property
1908         and sorts them by this property returning the new sorted array.
1909
1910 2015-08-07  Filip Pizlo  <fpizlo@apple.com>
1911
1912         Lightweight locks should be adaptive
1913         https://bugs.webkit.org/show_bug.cgi?id=147545
1914
1915         Reviewed by Geoffrey Garen.
1916
1917         * TestWebKitAPI/CMakeLists.txt:
1918         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1919         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1920         * TestWebKitAPI/Tests/WTF/Lock.cpp: Added.
1921         (TestWebKitAPI::runLockTest):
1922         (TestWebKitAPI::TEST):
1923
1924 2015-08-07  Anders Carlsson  <andersca@apple.com>
1925
1926         Fix a tyop.
1927
1928         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1929         (WTR::PlatformWebView::viewSupportsOptions):
1930
1931 2015-08-07  Alexey Proskuryakov  <ap@apple.com>
1932
1933         Update AppEngine app version numbers to the latest commit.
1934
1935         * QueueStatusServer/app.yaml:
1936         * TestResultServer/app.yaml:
1937
1938 2015-08-07  Anders Carlsson  <andersca@apple.com>
1939
1940         Simplify WKTR's view options
1941         https://bugs.webkit.org/show_bug.cgi?id=147791
1942
1943         Reviewed by Sam Weinig.
1944
1945         Instead of using a WKDictionaryRef, just use a struct for the options.
1946
1947         * WebKitTestRunner/PlatformWebView.h:
1948         (WTR::PlatformWebView::options):
1949         (WTR::PlatformWebView::viewSupportsOptions): Deleted.
1950         * WebKitTestRunner/TestController.cpp:
1951         (WTR::TestController::initialize):
1952         (WTR::TestController::createWebViewWithOptions):
1953         (WTR::TestController::ensureViewSupportsOptions):
1954         (WTR::TestController::updateLayoutTypeForTest):
1955         * WebKitTestRunner/TestController.h:
1956         * WebKitTestRunner/ViewOptions.h: Added.
1957         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1958         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1959         (WTR::PlatformWebView::PlatformWebView):
1960         (WTR::PlatformWebView::viewSupportsOptions):
1961         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1962         (WTR::PlatformWebView::viewSupportsOptions):
1963         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1964         (WTR::PlatformWebView::viewSupportsOptions):
1965         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1966         (WTR::PlatformWebView::PlatformWebView):
1967         (WTR::PlatformWebView::viewSupportsOptions):
1968         * WebKitTestRunner/mac/TestControllerMac.mm:
1969         (WTR::TestController::platformConfigureViewForTest):
1970
1971 2015-08-07  Joseph Pecoraro  <pecoraro@apple.com>
1972
1973         Running tests for a long time results in some tests running very slowly (throttling)
1974         https://bugs.webkit.org/show_bug.cgi?id=147718
1975
1976         Reviewed by Chris Dumez.
1977
1978         Follow-up, make DumpRenderTree consistent with WebKitTestRunner.
1979         Although COCOA ports default this setting to be disabled in WebKit1,
1980         we should make both test harnesses disable the setting for consistency.
1981
1982         * DumpRenderTree/mac/DumpRenderTree.mm:
1983         (resetWebPreferencesToConsistentValues):
1984
1985 2015-08-07  Ryosuke Niwa  <rniwa@webkit.org>
1986
1987         Use a specific version of Speedometer in run-benchmark
1988         https://bugs.webkit.org/show_bug.cgi?id=147769
1989
1990         Reviewed by Chris Dumez.
1991
1992         Use the current latest revision as we work towards the bug 147768 (Update frameworks in Speedometer).
1993
1994         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan:
1995
1996 2015-08-07  Ryosuke Niwa  <rniwa@webkit.org>
1997
1998         twisted_http_server.py should support --port
1999         https://bugs.webkit.org/show_bug.cgi?id=147771
2000
2001         Reviewed by Chris Dumez.
2002
2003         Added the option. This makes the script more useful on its own.
2004
2005         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
2006
2007 2015-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2008
2009         [GTK] WTF unit tests are timing out in the bots
2010         https://bugs.webkit.org/show_bug.cgi?id=147777
2011
2012         Reviewed by Filip Pizlo.
2013
2014         Add a way to mark google unit tests as slow and add
2015         WTF_Lock.ContentedShortSection to the list. In case of slow test
2016         we use the double of the given timeout for that particular test.
2017
2018         * Scripts/run-gtk-tests:
2019         (TestRunner):
2020         (TestRunner._run_google_test):
2021
2022 2015-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2023
2024         [GTK] run-gtk-tests should not stop when a google test case fails
2025         https://bugs.webkit.org/show_bug.cgi?id=147778
2026
2027         Reviewed by Philippe Normand.
2028
2029         For glib based tests we run the test runner with the -k option,
2030         but for google tests we are aborting as soon as we find a failure.
2031
2032         * Scripts/run-gtk-tests:
2033         (TestRunner._run_google_test_suite): Use a global return code that
2034         is set to 1 when any test has failed.
2035
2036 2015-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2037
2038         [GStreamer] Do not automatically show PackageKit codec installation notifications
2039         https://bugs.webkit.org/show_bug.cgi?id=135973
2040
2041         Reviewed by Philippe Normand.
2042
2043         Handle the missing media plugins installation permission request
2044         in MiniBrowser and add a test case for the new API.
2045
2046         * MiniBrowser/gtk/BrowserWindow.c:
2047         (webViewDecidePermissionRequest):
2048         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2049         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp:
2050         (permissionRequestCallback):
2051         (testInstallMissingPluginsPermissionRequest):
2052         (beforeAll):
2053         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2054         (methodCallCallback):
2055
2056 2015-08-06  Joseph Pecoraro  <pecoraro@apple.com>
2057
2058         Running tests for a long time results in some tests running very slowly (throttling)
2059         https://bugs.webkit.org/show_bug.cgi?id=147718
2060
2061         Reviewed by Alexey Proskuryakov.
2062
2063         * WebKitTestRunner/TestController.cpp:
2064         (WTR::TestController::resetPreferencesToConsistentValues):
2065         Ensure throttling settings are disabled for tests for all ports, as
2066         COCOA ports default to having these setting enabled. Note, there is
2067         still other timer throttling not covered by these setting.
2068
2069 2015-08-06  Ryosuke Niwa  <rniwa@webkit.org>
2070
2071         http_server_driver and benchmark_builder should not be in run-benchmark's plan files
2072         https://bugs.webkit.org/show_bug.cgi?id=147752
2073
2074         Reviewed by Chris Dumez.
2075
2076         Removed BenchmarkBuilderFactory since we have exactly one subclass of BenchmarkBuilder.
2077
2078         Also made HTTPServerDriverFactory instantiate the appropriate HTTP server based on the platform name instead of HTTP server name.
2079         This allows us to remove --http-server-driver option from run-benchmark, which was added to support the HTTP server for iOS.
2080
2081         * Scripts/webkitpy/benchmark_runner/benchmark_builder: Removed.
2082         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py: Moved from benchmark_runner/benchmark_builder/generic_benchmark_builder.py.
2083         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py: Removed.
2084         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py: Removed.
2085         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py: Moved to benchmark_runner/benchmark_builder.py.
2086         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2087         (BenchmarkRunner.__init__): No longer takes http_server_driver_override as an argument since this is not handled by
2088         HTTPServerDriverFactory taking the platform name as an argument.
2089         (BenchmarkRunner.execute): Directly instantiate BenchmarkBuilder.
2090         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan: Removed http_server_driver and benchmark_builder.
2091         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan: Ditto.
2092         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan: Ditto.
2093         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Ditto.
2094         * Scripts/webkitpy/benchmark_runner/data/plans/jsbench.plan: Ditto.
2095         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan: Ditto.
2096         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan: Ditto.
2097         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan: Ditto.
2098         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan: Ditto.
2099         * Scripts/webkitpy/benchmark_runner/http_server_driver/__init__.py:
2100         (http_server_driver_loader): Register http server drivers via supported platform names instead of http server names.
2101         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
2102         (HTTPServerDriver): Replaced name by platforms.
2103         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2104         (SimpleHTTPServerDriver): Ditto.
2105         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
2106         (parse_args): Removed --http-server-driver option.
2107         (start): Ditto.
2108
2109 2015-08-06  Chris Dumez  <cdumez@apple.com>
2110
2111         Toggle GPS state based on page visibility to save battery
2112         https://bugs.webkit.org/show_bug.cgi?id=147685
2113
2114         Reviewed by Benjamin Poulain.
2115
2116         Add testRunner.isGeolocationProviderActive() test support function.
2117
2118         * DumpRenderTree/TestRunner.cpp:
2119         (isGeolocationProviderActiveCallback):
2120         (TestRunner::staticFunctions):
2121         * DumpRenderTree/TestRunner.h:
2122         * DumpRenderTree/mac/MockGeolocationProvider.h:
2123         * DumpRenderTree/mac/MockGeolocationProvider.mm:
2124         (-[MockGeolocationProvider isActive]):
2125         * DumpRenderTree/mac/TestRunnerMac.mm:
2126         (TestRunner::isGeolocationProviderActive):
2127         * DumpRenderTree/win/TestRunnerWin.cpp:
2128         (TestRunner::isGeolocationProviderActive):
2129         * WebKitTestRunner/GeolocationProviderMock.h:
2130         (WTR::GeolocationProviderMock::isActive):
2131         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2132         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2133         (WTR::InjectedBundle::isGeolocationProviderActive):
2134         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2135         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2136         (WTR::TestRunner::isGeolocationProviderActive):
2137         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2138         * WebKitTestRunner/TestController.cpp:
2139         (WTR::TestController::isGeolocationProviderActive):
2140         * WebKitTestRunner/TestController.h:
2141         * WebKitTestRunner/TestInvocation.cpp:
2142         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2143
2144 2015-08-06  Ryosuke Niwa  <rniwa@webkit.org>
2145
2146         Automate JSBench with run-benchmark
2147         https://bugs.webkit.org/show_bug.cgi?id=147716
2148
2149         Reviewed by Chris Dumez.
2150
2151         Added JSBench plan to run-benchmark.
2152
2153         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
2154         (GenericBenchmarkBuilder.prepare): Pass in the archive type to _fetch_remote_archive.
2155         (GenericBenchmarkBuilder._fetch_remote_archive): Added the support for extracting files from tar.gz in addition to zip.
2156         * Scripts/webkitpy/benchmark_runner/data/patches/Dromaeo.patch: Fixed the coding style.
2157         * Scripts/webkitpy/benchmark_runner/data/patches/JSBench.patch: Added.
2158         * Scripts/webkitpy/benchmark_runner/data/patches/JetStream.patch: Fixed the coding style.
2159         * Scripts/webkitpy/benchmark_runner/data/patches/Kraken.patch: Ditto.
2160         * Scripts/webkitpy/benchmark_runner/data/patches/Octane.patch: Ditto.
2161         * Scripts/webkitpy/benchmark_runner/data/patches/SunSpider.patch: Ditto.
2162         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan: Specified the archive type.
2163         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan: Specified the archive type.
2164         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan: Ditto.
2165         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan: Fixed the coding style.
2166         * Scripts/webkitpy/benchmark_runner/data/plans/jsbench.plan: Added.
2167         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan: Specified the archive type.
2168         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan: Ditto.
2169
2170 2015-08-06  Yusuke Suzuki  <utatane.tea@gmail.com>
2171
2172         Pass-through the undefined options in run-jsc
2173         https://bugs.webkit.org/show_bug.cgi?id=147717
2174
2175         Undefined options in run-jsc is just passed to the actual jsc shell.
2176         We can execute `Tools/Scripts/run-jsc -d`.
2177
2178         Reviewed by Csaba Osztrogonác.
2179
2180         * Scripts/run-jsc:
2181
2182 2015-08-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2183
2184         Unreviewed. Skip GTK+ test /webkit2/WebKitWebView/submit-form.
2185
2186         It's flaky.
2187
2188         * Scripts/run-gtk-tests:
2189         (TestRunner):
2190
2191 2015-08-06  Csaba Osztrogonác  <ossy@webkit.org>
2192
2193         [EFL] Bump EFL version to 1.15.0
2194         https://bugs.webkit.org/show_bug.cgi?id=147450
2195
2196         Reviewed by Gyuyoung Kim.
2197
2198         * efl/jhbuild.modules:
2199
2200 2015-08-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2201
2202         Unreviewed. Unksip TestContextMenu GTK+ API test.
2203
2204         This has been skipped for a long time, and it's very
2205         unconvenient. It has never failed for me locally, so let's try
2206         again to see if it works in the bots. I'll skip it again if it
2207         keeps failing.
2208
2209         * Scripts/run-gtk-tests:
2210         (TestRunner):
2211
2212 2015-08-05  Filip Pizlo  <fpizlo@apple.com>
2213
2214         Unreviewed, roll out http://trac.webkit.org/changeset/187972.
2215
2216         * DumpRenderTree/JavaScriptThreading.cpp:
2217         (javaScriptThreadsMutex):
2218         (runJavaScriptThread):
2219         (startJavaScriptThreads):
2220         (stopJavaScriptThreads):
2221         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
2222         (TestWebKitAPI::TEST):
2223         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
2224         (TestWebKitAPI::TEST):
2225
2226 2015-08-05  Alex Christensen  <achristensen@webkit.org>
2227
2228         Build DumpRenderTree with CMake.
2229         https://bugs.webkit.org/show_bug.cgi?id=147519
2230
2231         Reviewed by Brent Fulgham.
2232
2233         * CMakeLists.txt:
2234         Build the DumpRenderTree directory now that it builds successfully.
2235         * DumpRenderTree/CMakeLists.txt:
2236         Added missing source file and don't link with WebCore.lib.
2237         * DumpRenderTree/PlatformWin.cmake:
2238         Added sources to DumpRenderTreeLib and made DumpRenderTree only build DLLLauncherMain.cpp. 
2239         * WinLauncher/CMakeLists.txt:
2240         We need libcmt now that we are not linking with WebCore.lib.
2241
2242 2015-08-05  Alexey Proskuryakov  <ap@apple.com>
2243
2244         AppScale: Use https URLs for subresources and links
2245         https://bugs.webkit.org/show_bug.cgi?id=147686
2246
2247         Reviewed by Ryosuke Niwa.
2248
2249         * QueueStatusServer/filters/webkit_extras.py:
2250         * TestResultServer/static-dashboards/dashboard_base.js:
2251         * TestResultServer/static-dashboards/flakiness_dashboard.js:
2252         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
2253         * TestResultServer/static-dashboards/treemap.js:
2254         * TestResultServer/static-dashboards/ui.js:
2255
2256 2015-08-04  Filip Pizlo  <fpizlo@apple.com>
2257
2258         Rename Mutex to DeprecatedMutex
2259         https://bugs.webkit.org/show_bug.cgi?id=147675
2260
2261         Reviewed by Geoffrey Garen.
2262
2263         * DumpRenderTree/JavaScriptThreading.cpp:
2264         (javaScriptThreadsMutex):
2265         (runJavaScriptThread):
2266         (startJavaScriptThreads):
2267         (stopJavaScriptThreads):
2268         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
2269         (TestWebKitAPI::TEST):
2270         * TestWebKitAPI/Tests/WTF/glib/WorkQueueGLib.cpp:
2271         (TestWebKitAPI::TEST):
2272
2273 2015-08-05  Timothy Hatcher  <timothy@apple.com>
2274
2275         Update the WebKit nightly icon
2276         https://bugs.webkit.org/show_bug.cgi?id=147684
2277
2278         Reviewed by Sam Weinig.
2279
2280         * WebKitLauncher/webkit.icns: Replaced.
2281
2282 2015-08-05  Daniel Bates  <dabates@apple.com>
2283
2284         REGRESSION (r185111): Clicking phone numbers doesn't prompt to call sometimes
2285         https://bugs.webkit.org/show_bug.cgi?id=147678
2286         <rdar://problem/21827815>
2287
2288         Reviewed by Brady Eidson.
2289
2290         Add a test to ensure that we restore the "should open external URLs" policy on
2291         page reload after the web content process crashes.
2292
2293         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2294         * TestWebKitAPI/Tests/WebKit2/should-open-external-schemes.html: Added.
2295         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
2296         (TEST):
2297
2298 2015-08-04  Hunseop Jeong  <hs85.jeong@samsung.com>
2299
2300         [EFL] Editing tests have been broken since r186694
2301         https://bugs.webkit.org/show_bug.cgi?id=146888
2302
2303         Reviewed by Brent Fulgham.
2304
2305         Restored some codes for the context click on GTK+ and EFL port.
2306
2307         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2308         (WTR::EventSendingController::contextClick): Seperated the codes using the PLATFORM guard.
2309
2310 2015-08-04  Dewei Zhu  <dewei_zhu@apple.com>
2311
2312         Install twisted package for http server when necessary.
2313         https://bugs.webkit.org/show_bug.cgi?id=147082
2314
2315         Reviewed by Ryosuke Niwa.
2316
2317         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
2318         * Scripts/webkitpy/thirdparty/__init__.py:
2319         (AutoinstallImportHook.find_module):
2320         (AutoinstallImportHook._install_twisted):
2321
2322 2015-08-04  Brent Fulgham  <bfulgham@apple.com>
2323
2324         [Win] Update Apple Windows build for VS2015
2325         https://bugs.webkit.org/show_bug.cgi?id=147653
2326
2327         Reviewed by Dean Jackson.
2328
2329         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/PluginTest.h: If building with
2330         something older than VS2015, define snprintf as _snprintf.
2331         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePluginCommon.props:
2332         Remove unneeded macro definition for snprintf.
2333         * Scripts/webkitpy/common/system/platforminfo.py:
2334         (PlatformInfo._determine_win_version): Recognize Windows 10.
2335         * Scripts/webkitpy/port/win.py:
2336         (WinPort): Ditto.
2337         * Scripts/webkitpy/port/win_unittest.py:
2338         (WinPortTest.test_baseline_search_path): Include Windows 10 in tests.
2339         (WinPortTest._assert_version): Ditto.
2340
2341 2015-08-04  Brian Burg  <bburg@apple.com>
2342
2343         Unreviewed, update email addresses in contributors.json and watchlist.
2344
2345         * Scripts/webkitpy/common/config/contributors.json:
2346         * Scripts/webkitpy/common/config/watchlist:
2347
2348 2015-08-04  Alexey Proskuryakov  <ap@apple.com>
2349
2350         Implement NPAPI redirect handling
2351         https://bugs.webkit.org/show_bug.cgi?id=138675
2352         rdar://problem/15779101
2353
2354         Patch by Jeffrey Pfau, updated and tweaked by me.
2355
2356         Reviewed by Anders Carlsson.
2357
2358         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj:
2359         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters:
2360         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2361         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
2362         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
2363         (PluginTest::NPP_URLNotify):
2364         (PluginTest::NPP_URLRedirectNotify):
2365         (PluginTest::NPP_GetValue):
2366         (PluginTest::NPN_GetURLNotify):
2367         (PluginTest::NPN_PostURLNotify):
2368         (PluginTest::NPN_GetValue):
2369         (PluginTest::NPN_ReleaseVariantValue):
2370         (PluginTest::NPN_URLRedirectResponse):
2371         (PluginTest::NPN_ConvertPoint):
2372         * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
2373         * DumpRenderTree/TestNetscapePlugIn/Tests/URLRedirect.cpp: Added.
2374         (URLRedirect::URLRedirect):
2375         (URLRedirect::ScriptableObject::hasMethod):
2376         (URLRedirect::ScriptableObject::get):
2377         (URLRedirect::ScriptableObject::serviceAsync):
2378         (URLRedirect::ScriptableObject::invoke):
2379         (URLRedirect::NPP_GetValue):
2380         (URLRedirect::NPP_URLNotify):
2381         (URLRedirect::NPP_URLRedirectNotify):
2382         * DumpRenderTree/TestNetscapePlugIn/main.cpp:
2383         (NP_GetEntryPoints):
2384         (NPP_URLNotify):
2385         (NPP_URLRedirectNotify):
2386         (NPP_GetValue):
2387
2388 2015-08-04  Tim Horton  <timothy_horton@apple.com>
2389
2390         Move Matt Daiter to committers.
2391
2392         * Scripts/webkitpy/common/config/contributors.json:
2393
2394 2015-08-04  Brent Fulgham  <bfulgham@apple.com>
2395
2396         [Win] build-webkit and MSBuild fight over BuildOutput.htm, causing build failures.
2397         https://bugs.webkit.org/show_bug.cgi?id=147636
2398
2399         Reviewed by Alex Christensen.
2400         
2401         We no longer need build-webkit to manually troll the log data and pipe it to stdout; MSBuild is already doing this properly.
2402         Stop the build-webkit script from interacting with BuildOutput.htm, thereby preventing a potential build failure (especially
2403         on EWS machines)
2404
2405         * Scripts/build-webkit:
2406
2407 2015-08-04  Jason Marcell  <jmarcell@apple.com>
2408
2409         Refactor to convert openSourceRevision and internalRevision properties on BuildbotIteration into a more generic collection of revisions.
2410         https://bugs.webkit.org/show_bug.cgi?id=147280
2411
2412         Reviewed by Daniel Bates.
2413
2414         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2415         (BuildbotIteration): Removed opensourceRevision, internalRevision. Added revision.
2416         Refactored _parseData to handle repositories more generically.
2417         (parseRevisionProperty): Moved a comment up to parseRevisionProperty where it seems more relevant.
2418         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2419         (BuildbotQueue.prototype.compareIterations): Using "revision" property instead of
2420         "opensourceRevision" and "internalRevision".
2421         (BuildbotQueue.prototype.compareIterationsByRevisions): Ditto.
2422         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2423         (BuildbotQueueView.prototype._appendPendingRevisionCount): Ditto.
2424         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto.
2425         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Changing "internal" boolean
2426         parameter to more generic "repository" string parameter. Added "trac" parameter in order to
2427         specify the trac instance to use. Using "revision" property instead of "opensourceRevision"
2428         and "internalRevision".
2429         (BuildbotQueueView.prototype.revisionContentForIteration): Passing the repository name and trac
2430         instance to _revisionContentWithPopoverForIteration(). Using "revision" property instead of
2431         "opensourceRevision" and "internalRevision".
2432         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Adding
2433         constants for internal and opensource repositories.
2434         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsAnalyzer.js:
2435         (Analyzer.prototype._findIndexOfLargestIterationAtOrBeforeStart): Using "revision" property
2436         instead of "opensourceRevision" and "internalRevision".
2437         (Analyzer.prototype._countPercentageOfGreen): Ditto.
2438         (Analyzer.prototype.webkitTrac.recordedCommits.forEach): Ditto.
2439         (Analyzer.prototype._countTimes): Ditto.
2440         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2441         (WebKitBuildbot.prototype.layoutTestResultsDirectoryURLForIteration): Ditto.
2442
2443 2015-08-04  Mark Lam  <mark.lam@apple.com>
2444
2445         Removed a local debugging line I accidentally left in from a previous commit.
2446
2447         Not Reviewed.
2448
2449         * TestWebKitAPI/Tests/WTF/CheckedArithmeticOperations.cpp:
2450
2451 2015-08-04  Mark Lam  <mark.lam@apple.com>
2452
2453         Unreviewed. Make Saam Barati a WebKit reviewer.
2454
2455         * Scripts/webkitpy/common/config/contributors.json:
2456
2457 2015-08-04  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2458
2459         Unreviewed, updated Streams API watchlist.
2460
2461         * Scripts/webkitpy/common/config/watchlist: Matched .*Readable.*Stream.* and .*QueuingStrategy.* in bindings/js.
2462
2463 2015-08-03  Csaba Osztrogonác  <ossy@webkit.org>
2464
2465         [CMake] Add an option to build AllInOne files
2466         https://bugs.webkit.org/show_bug.cgi?id=102647
2467
2468         Reviewed by Alex Christensen.
2469
2470         * Scripts/webkitperl/FeatureList.pm:
2471
2472 2015-08-03  Alexey Proskuryakov  <ap@apple.com>
2473
2474         AppScale: Add required indices
2475         https://bugs.webkit.org/show_bug.cgi?id=147593
2476
2477         Reviewed by Tim Horton.
2478
2479         * QueueStatusServer/index.yaml:
2480
2481 2015-08-03  Filip Pizlo  <fpizlo@apple.com>
2482
2483         Check in LLVM 3.6.2 binary drops for El Capitan
2484         https://bugs.webkit.org/show_bug.cgi?id=147582
2485
2486         Reviewed by Alexey Proskuryakov.
2487         
2488         Recognize 10.11 and use the right drops.
2489
2490         * Scripts/copy-webkitlibraries-to-product-directory:
2491
2492 2015-08-03  Alex Christensen  <achristensen@webkit.org>
2493
2494         [Win] Build fix after r187733.
2495
2496         * WinLauncher/PageLoadTestClient.cpp:
2497         (PageLoadTestClient::dumpRunStatistics):
2498         wtf/MathExtras.h is now included in HashTable.h, which #defines pow to wtf_pow.
2499
2500 2015-08-02  Benjamin Poulain  <bpoulain@apple.com>
2501
2502         Investigate HashTable::HashTable(const HashTable&) and HashTable::operator=(const HashTable&) performance for hash-based static analyses
2503         https://bugs.webkit.org/show_bug.cgi?id=118455
2504
2505         Reviewed by Filip Pizlo.
2506
2507         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2508         (TestWebKitAPI::TEST):
2509
2510 2015-07-31  Alex Christensen  <achristensen@webkit.org>
2511
2512         Prepare for VS2015
2513         https://bugs.webkit.org/show_bug.cgi?id=146579
2514
2515         Reviewed by Jon Honeycutt.
2516
2517         * WinLauncher/stdafx.h:
2518         Define __STDC_LIMIT_MACROS to have access to INTMAX_MAX.
2519
2520 2015-07-31  Csaba Osztrogonác  <ossy@webkit.org>
2521
2522         [EFL] Fix pixman build on ARM with GCC 4.9.3
2523         https://bugs.webkit.org/show_bug.cgi?id=147224
2524
2525         Reviewed by Gyuyoung Kim.
2526
2527         * efl/jhbuild.modules: Disable ARM IWMMXT fast paths as workarounding a GCC bug.
2528
2529 2015-07-30  Anders Carlsson  <andersca@apple.com>
2530
2531         Add support for window.open to WK1BrowserWindowController
2532         https://bugs.webkit.org/show_bug.cgi?id=147474
2533
2534         Reviewed by Dan Bernstein.
2535
2536         * MiniBrowser/mac/WK1BrowserWindowController.m:
2537         (-[WK1BrowserWindowController awakeFromNib]):
2538         Set javaScriptCanOpenWindowsAutomatically to YES. 
2539         If this becomes a nuisance, we can always add a menu item to toggle this.
2540
2541         (-[WK1BrowserWindowController webView:createWebViewWithRequest:]):
2542         Implement this UI delegate method.
2543
2544 2015-07-30  Anders Carlsson  <andersca@apple.com>
2545
2546         Undo stray commit.
2547
2548         * MiniBrowser/mac/WK1BrowserWindowController.m:
2549         (-[WK1BrowserWindowController awakeFromNib]):
2550         (-[WK1BrowserWindowController webView:createWebViewWithRequest:]):
2551
2552 2015-07-29  Dean Jackson  <dino@apple.com>
2553
2554         Don't use (Details) when exposing SPI
2555         https://bugs.webkit.org/show_bug.cgi?id=147426
2556         <rdar://problem/22062407>
2557
2558         Reviewed by Dan Bernstein.
2559
2560         If we are declaring the interface without any implementation,
2561         we should use class extensions.
2562
2563         * DumpRenderTree/mac/DumpRenderTree.mm:
2564         * DumpRenderTree/mac/EventSendingController.mm:
2565         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2566         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2567         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2568         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2569         * WebKitTestRunner/mac/TestControllerMac.mm:
2570
2571 2015-07-30  Aakash Jain  <aakash_jain@apple.com>
2572
2573         Replace Google App Engine with AppScale
2574         https://bugs.webkit.org/show_bug.cgi?id=147178
2575
2576         Reviewed by Daniel Bates.
2577
2578         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2579         (RunWebKitTests):
2580         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
2581         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
2582         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
2583         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
2584         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
2585         (.):
2586         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
2587         (BubbleQueueServer):
2588         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitTestHistory.js:
2589         (TestHistory):
2590         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
2591         * QueueStatusServer/app.yaml: We must explicitly define threadsafe property when using the Python 2.7 runtime. We set threadsafe to be false because the status server code was written to be run in AppEngine's CGI environment and AppEngine's CGI programming model handles requests serially per section "Concurrent Requests and WSGI" of <https://cloud.google.com/appengine/docs/python/python25/migrate27>.
2592         * TestResultServer/app.yaml: Ditto
2593         * Scripts/webkitpy/common/config/urls.py:
2594         * TestResultServer/main.py:
2595         * TestResultServer/static-dashboards/dashboard_base.js:
2596         * TestResultServer/static-dashboards/loader.js:
2597
2598 2015-07-30  Joonghun Park  <jh718.park@samsung.com>
2599
2600         [EFL] Enable IndexedDB based on DatabaseProcess
2601         https://bugs.webkit.org/show_bug.cgi?id=147221
2602
2603         Reviewed by Csaba Osztrogonác.
2604
2605         * Scripts/webkitperl/FeatureList.pm:
2606
2607 2015-07-30  Alex Christensen  <achristensen@webkit.org>
2608
2609         Build AppleWin port with CMake
2610         https://bugs.webkit.org/show_bug.cgi?id=147385
2611
2612         Reviewed by Martin Robinson.
2613
2614         * WinLauncher/CMakeLists.txt:
2615         Link to CoreFoundation.lib and added /NODEFAULTLIB:LIBCMT to get it to link successfully.
2616
2617 2015-07-29  Andy VanWagoner  <thetalecrafter@gmail.com>
2618
2619         Implement basic types for ECMAScript Internationalization API
2620         https://bugs.webkit.org/show_bug.cgi?id=146926
2621
2622         Reviewed by Benjamin Poulain.
2623
2624         Enable flag now that the basic objects are in place.
2625
2626         * Scripts/webkitperl/FeatureList.pm: Enabled INTL
2627
2628 2015-07-28  Carlos Garcia Campos  <cgarcia@igalia.com>
2629
2630         [GTK] Add API to set the maximum number of web processes per WebKitWebContext
2631         https://bugs.webkit.org/show_bug.cgi?id=147108
2632
2633         Reviewed by Gustavo Noronha Silva.
2634
2635         Add test case to check the web process limit.
2636
2637         * TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp:
2638         (testWebProcessLimit):
2639         (beforeAll):
2640
2641 2015-07-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2642
2643         [GTK] Missing casts in BrowserWindow.c
2644         https://bugs.webkit.org/show_bug.cgi?id=147395
2645
2646         Reviewed by Carlos Garcia Campos.
2647
2648         * MiniBrowser/gtk/BrowserWindow.c:
2649         (browserWindowSetupEditorToolbar):
2650
2651 2015-07-28  Yusuke Suzuki  <utatane.tea@gmail.com>
2652
2653         [ES6] Add ENABLE_ES6_MODULES compile time flag with the default value "false"
2654         https://bugs.webkit.org/show_bug.cgi?id=147350
2655
2656         Reviewed by Sam Weinig.
2657
2658         * Scripts/webkitperl/FeatureList.pm:
2659
2660 2015-07-28  Michael Catanzaro  <mcatanzaro@igalia.com>
2661
2662         [Freetype] Always allow font matching for strong aliases
2663         https://bugs.webkit.org/show_bug.cgi?id=147057
2664
2665         Reviewed by Martin Robinson.
2666
2667         Create family aliases needed for the new layout tests.
2668
2669         * WebKitTestRunner/gtk/fonts/fonts.conf:
2670
2671 2015-07-28  Alexey Proskuryakov  <ap@apple.com>
2672
2673         webkitbot and WKR unnecessarily rely on webkit-queues.appspot.com
2674         https://bugs.webkit.org/show_bug.cgi?id=147359
2675
2676         Reviewed by Ryosuke Niwa.
2677
2678         * Scripts/webkitpy/tool/commands/newcommitbot.py:
2679         (NewCommitBot.begin_work_queue):
2680         * Scripts/webkitpy/tool/commands/sheriffbot.py:
2681         (SheriffBot.begin_work_queue):
2682
2683 2015-07-27  Alex Christensen  <achristensen@webkit.org>
2684
2685         Use Ninja on Windows.
2686         https://bugs.webkit.org/show_bug.cgi?id=147228
2687
2688         Reviewed by Martin Robinson.
2689
2690         * WinLauncher/CMakeLists.txt:
2691         WinLauncherLib must make WinLauncher.dll, not WinLauncherLib.dll.
2692         * Scripts/build-webkit:
2693         Use Ninja to build WinCairo by default, but fall back to Visual Studio if Ninja is not on the system.
2694
2695 2015-07-24  Jon Honeycutt  <jhoneycutt@apple.com>
2696
2697         Test for bug #147164 "[iOS] Keyboard bold/italic/underline keys don't
2698         highlight after being tapped to style a selection"
2699         https://bugs.webkit.org/show_bug.cgi?id=147278
2700
2701         Reviewed by Ryosuke Niwa.
2702
2703         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2704
2705         * TestWebKitAPI/Tests/mac/WordBoundaryTypingAttributes.mm: Added.
2706         (-[WordBoundaryTypingAttributesController webView:didFinishLoadForFrame:]):
2707         (TestWebKitAPI::TEST):
2708         Load a page with the string "Hello, world!", then select "world" and
2709         underline it. Test that the typing attributes for the current selection
2710         include the underline attribute.
2711
2712 2015-07-24  Hyungwook Lee  <hyungwook.lee@navercorp.com>
2713
2714         Unreviewed, updated my nick name in contributors.json
2715
2716         * Scripts/webkitpy/common/config/contributors.json:
2717
2718 2015-07-24  Chris Fleizach  <cfleizach@apple.com>
2719
2720         AX: scrollable elements do not allow 3-finger swipe
2721         https://bugs.webkit.org/show_bug.cgi?id=141893
2722
2723         Reviewed by Mario Sanchez Prada.
2724
2725         Support global notification listeners for iOS code.
2726         Fix an issue in DRT where the dictionary of data was not being passed back to the layout test for the notication callback.
2727         Implement scrollUp/Down/Left/Right.
2728
2729         * DumpRenderTree/AccessibilityController.h:
2730         * DumpRenderTree/AccessibilityUIElement.cpp:
2731         (increaseTextSelectionCallback):
2732         (scrollPageUpCallback):
2733         (scrollPageDownCallback):
2734         (scrollPageLeftCallback):
2735         (scrollPageRightCallback):
2736         (decreaseTextSelectionCallback):
2737         (getElementTextLengthCallback):
2738         (AccessibilityUIElement::getJSClass):
2739         * DumpRenderTree/AccessibilityUIElement.h:
2740         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
2741         (AccessibilityController::~AccessibilityController):
2742         (AccessibilityController::elementAtPoint):
2743         (AccessibilityController::addNotificationListener):
2744         (AccessibilityController::platformResetToConsistentState):
2745         (AccessibilityController::removeNotificationListener):
2746         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2747         (AccessibilityUIElement::AccessibilityUIElement):
2748         (AccessibilityUIElement::subrole):
2749         (AccessibilityUIElement::scrollPageUp):
2750         (AccessibilityUIElement::scrollPageDown):
2751         (AccessibilityUIElement::scrollPageLeft):
2752         (AccessibilityUIElement::scrollPageRight):
2753         (AccessibilityUIElement::roleDescription):
2754         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
2755         (-[AccessibilityNotificationHandler _notificationReceived:]):
2756         * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
2757         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2758         (WTR::AccessibilityUIElement::linkedElement):
2759         (WTR::AccessibilityUIElement::headerElementAtIndex):
2760         (WTR::AccessibilityUIElement::assistiveTechnologySimulatedFocus):
2761         (WTR::AccessibilityUIElement::scrollPageUp):
2762         (WTR::AccessibilityUIElement::scrollPageDown):
2763         (WTR::AccessibilityUIElement::scrollPageLeft):
2764         (WTR::AccessibilityUIElement::scrollPageRight):
2765         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2766         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2767         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
2768         (WTR::AccessibilityController::addNotificationListener):
2769         (WTR::AccessibilityController::removeNotificationListener):
2770         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2771         (WTR::AccessibilityUIElement::AccessibilityUIElement):
2772         (WTR::AccessibilityUIElement::assistiveTechnologySimulatedFocus):
2773         (WTR::AccessibilityUIElement::scrollPageUp):
2774         (WTR::AccessibilityUIElement::scrollPageDown):
2775         (WTR::AccessibilityUIElement::scrollPageLeft):
2776         (WTR::AccessibilityUIElement::scrollPageRight):
2777         (WTR::AccessibilityUIElement::increaseTextSelection):
2778
2779 2015-07-24  Brent Fulgham  <bfulgham@apple.com>
2780
2781         [Win] Activate CSP_NEXT and Connect UserScript and UserStyleSheet through WebView.
2782         https://bugs.webkit.org/show_bug.cgi?id=147279
2783         <rdar://problem/21990767>
2784
2785         Reviewed by Dean Jackson.
2786
2787         * DumpRenderTree/win/TestRunnerWin.cpp:
2788         (TestRunner::addUserScript):
2789         (TestRunner::addUserStyleSheet):
2790         (TestRunner::setDeveloperExtrasEnabled):
2791
2792 2015-07-24  Basile Clement  <basile_clement@apple.com>
2793
2794         Call fixChangeLogPatch when generating patches from webkit-patch
2795         https://bugs.webkit.org/show_bug.cgi?id=147248
2796
2797         Reviewed by Geoffrey Garen.
2798
2799         When two consecutive patches are from the same author, diff tools
2800         create wrong-looking diffs for ChangeLog files where the apparent added
2801         author is actually the previous patch's author line, making it awkward
2802         to read - and things only get worse when committing a patch and a
2803         followup fix for the same bug shortly after.
2804
2805         We have a perl function in VCSUtils.pm, fixChangeLogPatch, to corrects
2806         this, which we use in perl scripts (svn-create-patch et al). But it is
2807         not used by webkit-patch, which is a python script, and thus creates
2808         "bad" diffs.
2809
2810         In the long term, we should probably port fixChangeLogPatch to python -
2811         but in the short term, let's make webkit-patch call perl to run
2812         fixChangeLogPatch. We are already making various external calls there
2813         anyway.
2814
2815         * Scripts/webkitpy/common/checkout/scm/git.py:
2816         (Git.create_patch):
2817         * Scripts/webkitpy/common/checkout/scm/scm.py:
2818         (SCM.fix_changelog_patch):
2819         * Scripts/webkitpy/common/checkout/scm/svn.py:
2820         (SVN.create_patch):
2821
2822 2015-07-24  Dean Johnson  <dean_johnson@apple.com>
2823
2824         commit-queue flags in webkit-patch are confusing
2825         https://bugs.webkit.org/show_bug.cgi?id=88694
2826
2827         Reviewed by Csaba Osztrogonác.
2828
2829         * Scripts/webkitpy/tool/steps/options.py:
2830         (Options): Updated help string to be more descriptive.
2831
2832 2015-07-23  Brent Fulgham  <bfulgham@apple.com>
2833
2834         [Win] Implement proper High DPI support features
2835         https://bugs.webkit.org/show_bug.cgi?id=146335
2836         <rdar://problem/21558269>
2837
2838         Reviewed by Alex Christensen.
2839
2840         Update WinLauncher to take device scaling factor into account.
2841
2842         * WinLauncher/Common.cpp:
2843         (resizeSubViews): Make sure toolbars and URL bar are properly sized and using
2844         a valid font.
2845         (computeFullDesktopFrame): Handle high DPI desktops.
2846         (WndProc): Make comments more precise.
2847         * WinLauncher/WinLauncher.cpp:
2848         (WinLauncher::init): Determine device scale factor at launch.
2849         (WinLauncher::updateDeviceScaleFactor): Added.
2850         * WinLauncher/WinLauncher.h:
2851         * WinLauncher/WinLauncherWebHost.h: Use C++11 initialization.
2852         * WinLauncher/WinMain.cpp: Size interface based on scaling factor.
2853         (wWinMain): Ditto.
2854         * win/DLLLauncher/DLLLauncherMain.cpp:
2855         (wWinMain): Tell Windows we understand high DPI.
2856
2857 2015-07-23  Alex Christensen  <achristensen@webkit.org>
2858
2859         [Win] Unreviewed build fix after r187169.
2860
2861         * Scripts/build-webkit:
2862         Correctly find WebKit.sln.
2863
2864 2015-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2865
2866         [GTK] Add API to allow executing editing commands that require an argument
2867         https://bugs.webkit.org/show_bug.cgi?id=146781
2868
2869         Reviewed by Gustavo Noronha Silva.
2870
2871         Add buttons to insert image/link to the MiniBrowser edit toolbar,
2872         and test cases for insert image/link commands too.
2873
2874         * MiniBrowser/gtk/BrowserWindow.c:
2875         (insertImageCommandCallback):
2876         (insertLinkCommandCallback):
2877         (browserWindowSetupEditorToolbar):
2878         (browserWindowConstructed):
2879         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
2880         (testWebViewEditorInsertImage):
2881         (testWebViewEditorCreateLink):
2882         (beforeAll):
2883
2884 2015-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2885
2886         Unregistering and re-registering a user message handler does not work
2887         https://bugs.webkit.org/show_bug.cgi?id=138142
2888
2889         Reviewed by Martin Robinson.
2890
2891         This has probably been fixed in r184846, enable the test case
2892         blocked on it.
2893
2894         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp:
2895         (testUserContentManagerScriptMessageReceived):
2896
2897 2015-07-22  Sukolsak Sakshuwong  <sukolsak@gmail.com>
2898
2899         Add ENABLE_WEBASSEMBLY feature flag for WebAssembly
2900         https://bugs.webkit.org/show_bug.cgi?id=147212
2901
2902         Reviewed by Filip Pizlo.
2903
2904         * Scripts/webkitperl/FeatureList.pm:
2905
2906 2015-07-22  Jon Honeycutt  <jhoneycutt@apple.com>
2907
2908         Add --ios-simulator to run-api-tests --help.
2909
2910         Rubber-stamped by Dan Bates.
2911
2912         * Scripts/run-api-tests:
2913
2914 2015-07-22  Jason Marcell  <jmarcell@apple.com>
2915
2916         Remove hardcoded "internal" from Buildbot.prototype._normalizeQueueInfo.
2917         https://bugs.webkit.org/show_bug.cgi?id=147043
2918
2919         Reviewed by Daniel Bates and Alexey Proskuryakov.
2920
2921         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2922         (Buildbot.prototype._normalizeQueueInfo):
2923         The _normalizeQueueInfo method now calls the defaultBranches getter instead of using hardcoded values
2924         in cases where the queue.branch property is not set and the queue is not a combined queue.
2925         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
2926         (BuildbotCombinedQueueView):
2927         Ensuring uniformity of repository branches within a combined queue.
2928         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2929         (WebKitBuildbot.prototype.get defaultBranches):
2930         Added; provides a WebKit-specific implementation that sets the queue.branches dictionary to have a
2931         single entry for "openSource" as the default set of branches. Note that we intentionally omitted a
2932         base class implementation of the defaultBranches getter so as to cause a JavaScript TypeError when a
2933         sub-queue of a combined queue does not specify property branch and the derived Buildbot class does not
2934         implement defaultBranches so that a person can either update the definition of the sub-queue or
2935         implement defaultBranches in the derived Buildbot class they are using.
2936
2937 2015-07-22  Alex Christensen  <achristensen@webkit.org>
2938
2939         Switch WinCairo build to use CMake.
2940         https://bugs.webkit.org/show_bug.cgi?id=147169
2941
2942         Reviewed by Brent Fulgham.
2943
2944         * Scripts/build-webkit:
2945         * Scripts/webkitdirs.pm:
2946         (determineConfiguration):
2947         (determineArchitecture):
2948         (determinePassedConfiguration):
2949         (passedConfiguration):
2950         (jhbuildWrapperPrefixIfNeeded):
2951         (generateBuildSystemFromCMakeProject):
2952         It's CMake time!  We now use the CMake files to generate a solution in WebKitBuild/Release/WebKit.sln and build that.
2953
2954 2015-07-22  Alex Christensen  <achristensen@webkit.org>
2955
2956         Fix quirks in CMake build on Mac and Windows
2957         https://bugs.webkit.org/show_bug.cgi?id=147174
2958
2959         Reviewed by Gyuyoung Kim.
2960
2961         * CMakeLists.txt:
2962         Don't build DumpRenderTree with CMake for now (until we get that working).
2963         * WinLauncher/CMakeLists.txt:
2964         Renamed WinLauncherLauncher to WinLauncher and WinLauncher to WinLauncherLib to match the Visual Studio build.
2965
2966 2015-07-22  Xabier Rodriguez Calvar  <calvaris@igalia.com>
2967
2968         [check-webkit-style] .lut.h files shouldn't raise a sorting issue
2969         https://bugs.webkit.org/show_bug.cgi?id=147146
2970
2971         Reviewed by Darin Adler.
2972
2973         * Scripts/webkitpy/style/checkers/cpp.py:
2974         (check_include_line): Avoid checking previous lines if it it is a lut.h include.
2975         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2976         (OrderOfIncludesTest.test_check_alphabetical_include_order): Added test.
2977
2978 2015-07-21  Filip Pizlo  <fpizlo@apple.com>
2979
2980         Fixed VM pool allocation should have a reserve for allocations that cannot fail
2981         https://bugs.webkit.org/show_bug.cgi?id=147154
2982         rdar://problem/21847618
2983
2984         Reviewed by Geoffrey Garen.
2985         
2986         Add a new test mode where we artificially limit JIT memory to 50KB. If our JIT OOM
2987         mitigations work, these should all pass. Prior to this patch there were >20 failures.
2988
2989         * Scripts/run-jsc-stress-tests:
2990
2991 2015-07-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2992
2993         [GTK] Add API to be notified about editor state changes
2994         https://bugs.webkit.org/show_bug.cgi?id=145875
2995
2996         Reviewed by Gustavo Noronha Silva.
2997
2998         Update the typing attributes toggle buttons state according to the
2999         editor state in MiniBrowser, and add a test case to the
3000         WebViewEditor unit tests.
3001
3002         * MiniBrowser/gtk/BrowserWindow.c:
3003         (browserWindowEditingCommandToggleButtonSetActive):
3004         (typingAttributesChanged):
3005         (browserWindowSetupEditorToolbar):
3006         (browserWindowConstructed):
3007         (browser_window_init):
3008         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
3009         (testWebViewEditorEditorStateTypingAttributes):
3010         (beforeAll):
3011
3012 2015-07-20  Tomas Popela  <tpopela@redhat.com>
3013
3014         [GTK] Add selection-changed signal to the WebKit2 API
3015         https://bugs.webkit.org/show_bug.cgi?id=137116
3016
3017         Reviewed by Carlos Garcia Campos.
3018
3019         Add a new WebProcess test TestEditor that is testing the WebKitWebEditor
3020         (namely the selection-changed signal).
3021
3022         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
3023         * TestWebKitAPI/Tests/WebKit2Gtk/EditorTest.cpp: Added.
3024         (WebKitWebEditorTest::create):
3025         (WebKitWebEditorTest::selectionChangedCallback):
3026         (WebKitWebEditorTest::testSelectionSelectAll):
3027         (WebKitWebEditorTest::testSelectionCollapse):
3028         (WebKitWebEditorTest::testSelectionModifyMove):
3029         (WebKitWebEditorTest::testSelectionModifyExtend):
3030         (WebKitWebEditorTest::testSelectionUnselect):
3031         (registerTests):
3032         * TestWebKitAPI/Tests/WebKit2Gtk/TestEditor.cpp: Added.
3033         (testWebKitWebEditorSelectionChanged):
3034         (beforeAll):
3035         (afterAll):
3036
3037 2015-07-20  Alex Christensen  <achristensen@webkit.org>
3038
3039         Resurrect CMake build on Windows.
3040         https://bugs.webkit.org/show_bug.cgi?id=147083
3041
3042         Reviewed by Gyuyoung Kim.
3043
3044         * DumpRenderTree/CMakeLists.txt:
3045         * DumpRenderTree/PlatformWin.cmake: Added.
3046         * WinLauncher/CMakeLists.txt:
3047
3048 2015-07-19  Michael Catanzaro  <mcatanzaro@igalia.com>
3049
3050         [GTK] Enable seccomp filter API tests
3051         https://bugs.webkit.org/show_bug.cgi?id=140071
3052
3053         Reviewed by Žan Doberšek.
3054
3055         These tests will now be run by the run-gtk-tests script.
3056
3057         * TestWebKitAPI/PlatformGTK.cmake:
3058
3059 2015-07-19  Michael Catanzaro  <mcatanzaro@igalia.com>
3060
3061         [GTK] Add seccomp filters support
3062         https://bugs.webkit.org/show_bug.cgi?id=110014
3063
3064         Reviewed by Žan Doberšek.
3065
3066         Add libseccomp to jhbuild modulesets.
3067
3068         * gtk/jhbuild.modules:
3069
3070 2015-07-18  Simon Fraser  <simon.fraser@apple.com>
3071
3072         MiniBrowser window title is just "Window" when page has no <title>
3073         https://bugs.webkit.org/show_bug.cgi?id=147076
3074
3075         Reviewed by Tim Horton.
3076         
3077         Make MiniBrowser windows show the filename from the URL if we never get a title changed
3078         notification.
3079
3080         * MiniBrowser/mac/WK1BrowserWindowController.m:
3081         (-[WK1BrowserWindowController updateTitle:]):
3082         (-[WK1BrowserWindowController webView:didCommitLoadForFrame:]):
3083         (-[WK1BrowserWindowController webView:didReceiveTitle:forFrame:]):
3084         * MiniBrowser/mac/WK2BrowserWindowController.m:
3085         (-[WK2BrowserWindowController updateTitle:]):
3086         (-[WK2BrowserWindowController observeValueForKeyPath:ofObject:change:context:]):
3087         (-[WK2BrowserWindowController webView:didCommitNavigation:]):
3088
3089 2015-07-17  Andy Estes  <aestes@apple.com>
3090
3091         [iOS] Further tighten the sandbox around pages fetched with Content-Disposition: attachment
3092         https://bugs.webkit.org/show_bug.cgi?id=147044
3093         rdar://problem/21567820
3094
3095         Reviewed by Brady Eidson.
3096
3097         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3098         (WTR::InjectedBundlePage::decidePolicyForResponse): Only log the message about attachments if the custom policy delegate is enabled.
3099         This matches the behavior of DumpRenderTree.
3100
3101 2015-07-17  Benjamin Poulain  <bpoulain@apple.com>
3102
3103         [Content Extensions] Term::isUniversalTransition() incorrectly expects the end-of-line assertion in character sets
3104         https://bugs.webkit.org/show_bug.cgi?id=147032
3105
3106         Reviewed by Alex Christensen.
3107
3108         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3109         Test that the useless terms are eliminated by counting
3110         the number of NFA nodes generated.
3111
3112 2015-07-17  Dan Bernstein  <mitz@apple.com>
3113
3114         Tests for <rdar://problem/21803781> The external URL policy is not reported correctly in navigation actions that create new windows
3115         https://bugs.webkit.org/show_bug.cgi?id=147040
3116
3117         Reviewed by Dean Jackson.
3118
3119         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3120         * TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm: Added.
3121         (-[ShouldOpenExternalURLsInNewWindowActionsController webView:decidePolicyForNavigationAction:decisionHandler:]):
3122         (-[ShouldOpenExternalURLsInNewWindowActionsController webView:didFinishNavigation:]):
3123         (-[ShouldOpenExternalURLsInNewWindowActionsController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
3124         (TEST):
3125
3126 2015-07-16  Dean Johnson  <dean_johnson@apple.com>
3127
3128         webkit-patch uses incorrect credentials from keychain to login until account lockout
3129         https://bugs.webkit.org/show_bug.cgi?id=146923
3130
3131         Reviewed by Daniel Bates.
3132
3133         When `webkit-patch upload` asks for login credentials for bugs.webkit.org, if you
3134         provide incorrect credentials then ask for them to be saved to the keychain
3135         webkit-patch will then use those incorrect credentials until 5 total attempts
3136         have been made to log in. This will lock the user out of Bugzilla for a
3137         half hour.
3138
3139         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
3140         (Bugzilla.authenticate): Added argument to read_credentials() that
3141         passes in whether or not to use stored credentials.
3142         * Scripts/webkitpy/common/net/credentials.py:
3143         (Credentials.read_credentials): Added optional argument 'use_stored_credentials'
3144         that specifies whether or not to use credentials stored on the system. If it
3145         does, we do not auto-fill credentials since either the credentials caused
3146         the failure, or they weren't used in the first place so there is no reason
3147         to try and use them again if a failure happened.
3148         * Scripts/webkitpy/common/net/credentials_unittest.py: Added unit test for newly added
3149         use_stored_credentials argument.
3150         (test_do_not_use_stored_credentials): Added unit test to make sure functions that
3151         retrieve username/password information from the local system (environment, Git, keychain,
3152         keyring) are never called. It also tests that we get back our mocked username and password.
3153         (test_do_not_use_stored_credentials.MockKeyring): Mock keyring
3154         (test_do_not_use_stored_credentials.MockKeyring.get_password): Assert this is never called.
3155         (test_do_not_use_stored_credentials.FakeCredentials): Mock credentials
3156         (test_do_not_use_stored_credentials.FakeCredentials._credentials_from_keychain): Assert this
3157         is never called.
3158         (test_do_not_use_stored_credentials.FakeCredentials._credentials_from_environment): Ditto
3159         (test_do_not_use_stored_credentials.FakeCredentials._offer_to_store_credentials_in_keyring): Ditto
3160         (test_do_not_use_stored_credentials.FakeUser): Mock the User class
3161         (test_do_not_use_stored_credentials.FakeUser.prompt): Returns a username to assert against.
3162         (test_do_not_use_stored_credentials.FakeUser.prompt_password): Returns a password to assert
3163         against.
3164
3165 2015-07-16  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3166
3167         Unreviewed, remove my redundant email information.
3168
3169         * Scripts/webkitpy/common/config/contributors.json:
3170
3171 2015-07-16  Hyungwook Lee  <hyungwook.lee@navercorp.com>
3172
3173         Unreviewed. Add Hyungwook Lee as a committer.
3174
3175         * Scripts/webkitpy/common/config/contributors.json:
3176
3177 2015-07-16  Wenson Hsieh  <wenson_hsieh@apple.com>
3178
3179         Added myself to the list of contributors.
3180
3181         Reviewed by Brent Fulgham.
3182
3183         * Scripts/webkitpy/common/config/contributors.json:
3184
3185 2015-07-16  Alex Christensen  <achristensen@webkit.org>
3186
3187         [Content Extensions] Cache domain actions
3188         https://bugs.webkit.org/show_bug.cgi?id=146817
3189
3190         Reviewed by Benjamin Poulain.
3191
3192         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3193         (TestWebKitAPI::TEST_F):
3194         Test if-domain and unless-domain with multiple load types.
3195
3196 2015-07-16  Benjamin Poulain  <bpoulain@apple.com>
3197
3198         [Content extensions] Combine suffixes when generating NFAs
3199         https://bugs.webkit.org/show_bug.cgi?id=146961
3200
3201         Reviewed by Alex Christensen.
3202
3203         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3204         (TestWebKitAPI::compareContents):
3205         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
3206
3207 2015-07-15  Carlos Garcia Campos  <cgarcia@igalia.com>
3208
3209         [GTK] Input method filter is always enabled when the view is focused
3210         https://bugs.webkit.org/show_bug.cgi?id=146965
3211
3212         Reviewed by Martin Robinson.
3213
3214         Use setEnabled() instead of notifyFocusedIn() to enable input methods.
3215
3216         * TestWebKitAPI/Tests/WebKit2/gtk/InputMethodFilter.cpp:
3217         (TestWebKitAPI::TestInputMethodFilter::TestInputMethodFilter):
3218
3219 2015-07-15  Michael Catanzaro  <mcatanzaro@igalia.com>
3220
3221         [EFL] Bump libseccomp version to 2.2.3
3222         https://bugs.webkit.org/show_bug.cgi?id=146980
3223
3224         Reviewed by Gyuyoung Kim.
3225
3226         * efl/jhbuild.modules:
3227
3228 2015-07-15  Brent Fulgham  <bfulgham@apple.com>
3229
3230         [Win] Maintain consistent COM Interfaces
3231         https://bugs.webkit.org/show_bug.cgi?id=146983
3232         <rdar://problem/21822278>
3233
3234         Reviewed by Dean Jackson.
3235
3236         Update DumpRenderTree and WinLauncher to use the properly
3237         versioned COM interface objects.
3238
3239         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3240         (AccessibilityController::rootElement):
3241         * DumpRenderTree/win/DumpRenderTree.cpp:
3242         (resetWebPreferencesToConsistentValues):
3243         (resetWebViewToConsistentStateBeforeTesting):
3244         (runTest):
3245         (createWebViewAndOffscreenWindow):
3246         * DumpRenderTree/win/EditingDelegate.cpp:
3247         (EditingDelegate::QueryInterface):
3248         (EditingDelegate::shouldEndEditingInDOMRange):
3249         (EditingDelegate::shouldInsertNode):
3250         * DumpRenderTree/win/EditingDelegate.h:
3251         * DumpRenderTree/win/EventSender.cpp:
3252         (scalePageByCallback):
3253         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3254         (FrameLoadDelegate::didCommitLoadForFrame):
3255         * DumpRenderTree/win/TestRunnerWin.cpp:
3256         (TestRunner::callShouldCloseOnWebView):
3257         (TestRunner::applicationCacheDiskUsageForOrigin):
3258         (TestRunner::clearApplicationCacheForOrigin):
3259         (TestRunner::setDefersLoading):
3260         (TestRunner::setDomainRelaxationForbiddenForURLScheme):
3261         (TestRunner::setTabKeyCyclesThroughElements):
3262         (TestRunner::setValueForUser):
3263         (TestRunner::dispatchPendingLoadRequests):
3264         (TestRunner::setWindowIsKey):
3265         (TestRunner::execCommand):
3266         (TestRunner::addOriginAccessWhitelistEntry):
3267         (TestRunner::removeOriginAccessWhitelistEntry):
3268         (TestRunner::addUserScript):
3269         (TestRunner::addUserStyleSheet):
3270         (TestRunner::showWebInspector):
3271         (TestRunner::closeWebInspector):
3272         (TestRunner::evaluateInWebInspector):
3273         (TestRunner::setSerializeHTTPLoads):
3274         * DumpRenderTree/win/TextInputControllerWin.cpp:
3275         (TextInputController::setMarkedText):
3276         (TextInputController::hasMarkedText):
3277         (TextInputController::unmarkText):
3278         (TextInputController::markedRange):
3279         (TextInputController::insertText):
3280         (TextInputController::firstRectForCharacterRange):
3281         (TextInputController::selectedRange):
3282         * DumpRenderTree/win/UIDelegate.h:
3283         (UIDelegate::unused2):
3284         (UIDelegate::unused3):
3285         (UIDelegate::webViewScrolled):
3286         (UIDelegate::webViewShouldInterruptJavaScript):
3287         (UIDelegate::webViewReceivedFocus):
3288         (UIDelegate::unused4): Deleted.
3289         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
3290         (TestWebKitAPI::WebViewDestructionWithHostWindow::SetUp):
3291         * WinLauncher/PageLoadTestClient.cpp:
3292         (PageLoadTestClient::didStartProvisionalLoad):
3293         * WinLauncher/WinLauncher.cpp:
3294         (WinLauncher::init):
3295         * WinLauncher/WinLauncher.h:
3296         * WinLauncher/WinLauncherWebHost.cpp:
3297         (WinLauncherWebHost::didFinishLoadForFrame):
3298         (WinLauncherWebHost::didFirstLayoutInFrame):
3299         * WinLauncher/WinLauncherWebHost.h:
3300
3301 2015-07-15  Dean Johnson  <dean_johnson@apple.com>
3302
3303         Many test failures in scm_unittest.py
3304         https://bugs.webkit.org/show_bug.cgi?id=143967
3305
3306         Reviewed by Daniel Bates. 
3307
3308         * Scripts/webkitpy/common/checkout/scm/detection.py:
3309         (SCMDetector.detect_scm_system): Paths with symlinks are now resolved to
3310         absolute canonical file paths. Two mutually exclusive issues cause this
3311         to be a problem.
3312             1) Python's os.path.relpath() function does not return correct relative
3313             paths between two filepaths that point to the same file, if symlinks are
3314             involved.
3315                 On Mac, /tmp points to /private/tmp
3316                 ex. os.path.relpath('/tmp', '/private/tmp')
3317                     returns '../../tmp'
3318             What we want is actually just '.'
3319             2) Git does not allow file paths to trace outside of
3320             the Git repository. This means that if you have a repository in
3321             /tmp and you refer to that repository when invoking a git command as
3322             ../tmp, Git will produce errors about working outside of the repository.
3323         * Scripts/webkitpy/common/checkout/scm/git.py: Over time Git has changed
3324         its default behavior and such, needed to be updated.
3325         (Git.changed_files): '--' was added into the command so that patch_directories
3326         were taken as positional arguments.
3327         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: Changed tests and setup 
3328         in the GitSVNTest class to more closely emulate the version of Git that the tests
3329         assumed a system had. Also fixed a small side-effect from the absolute canonical
3330         path fix in SCMDetector.detect_scm_system
3331         (SVNTestRepository.setup): A relative filepath was previously passed as the
3332         checkout root to SCMDetector.detect_scm_system, but is now cleaned to
3333         an absolute canonical path before being passed in. The failing test
3334         was a "sanity check" that the svn.checkout_root and scm.checkout_root
3335         were the same.
3336         (GitSVNTest._setup_git_checkout):
3337             1) Added "--prefix ''" option to `git clone` since Git changed its default
3338             behavior in version 2.0.
3339             2) The branch master was renamed to trunk to more closely emulate what
3340             tests expected when they were written. 
3341         (GitSVNTest.test_changed_files_local_plus_working_copy): Two of the three
3342         original tests failed because the tests expected the trunk branch
3343         to produce its parent's commit, whereas Git merely provides the HEAD commit
3344         for a given branch (trunk in this case). Based on other tests written
3345         in the same commit, it appears these tests were failing from the point they
3346         were written.
3347
3348 2015-07-14  Anders Carlsson  <andersca@apple.com>
3349
3350         Assertions.h should include ExportMacros.h
3351         https://bugs.webkit.org/show_bug.cgi?id=146948
3352
3353         Reviewed by Tim Horton.
3354
3355         Remove now unneeded WTF_EXPORT_PRIVATE define.
3356
3357         * DumpRenderTree/cg/ImageDiffCG.cpp:
3358
3359 2015-07-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3360
3361         [GTK] [Wayland] Build by default the X11 and Wayland targets.
3362         https://bugs.webkit.org/show_bug.cgi?id=146057
3363
3364         Reviewed by Carlos Garcia Campos.
3365
3366         * gtk/install-dependencies:
3367
3368 2015-07-10  Brent Fulgham  <bfulgham@apple.com>
3369
3370         [Mac] Unable to dismiss context menu during test runs
3371         https://bugs.webkit.org/show_bug.cgi?id=146836
3372
3373         Reviewed by Tim Horton.
3374
3375         Since Context Menus are modal, the test system would block on the displayed context menu,
3376         causing tests to fail. Instead, we should do what WK1 was doing, which is to perform the
3377         mouse click and generate the menu contents, but not ask AppKit to display it.
3378
3379         Drive-by fix: We did not handle 'escape' key presses. This is also fixed.
3380
3381         * DumpRenderTree/mac/EventSendingController.mm:
3382         (-[EventSendingController keyDown:withModifiers:withLocation:]): Handle the 'escape' character.
3383         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3384         (WTR::EventSendingController::mouseMoveTo): Keep track of the current mouse position.
3385         (WTR::EventSendingController::contextClick): Don't emit an actual context menu invocation and then
3386         copy the menu items. Instead, use WKBundlePageCopyContentMenuAtPointInWindow to do all the same
3387         work without actually calling on AppKit to display the menu.
3388         ask WebCore to do all the work EXCEPT displaying the menu.
3389         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
3390         * WebKitTestRunner/mac/EventSenderProxy.mm:
3391         (WTR::EventSenderProxy::keyDown): Handle the 'escape' character.
3392
3393 2015-07-09  Filip Pizlo  <fpizlo@apple.com>
3394
3395         It should be possible to run the OSR exit fuzzer
3396         https://bugs.webkit.org/show_bug.cgi?id=146814
3397
3398         Reviewed by Mark Lam.
3399         
3400         This runs a test command to detect how many static OSR exit sites it had, and then for
3401         each exit site, it triggers three exits (earliest opportunity, last opportunity, some
3402         middle opportunity), plus a mode where the check always exits. This is an exhaustive
3403         search, so in the future it'll be very appropriate for cases where we have a simple test
3404         and we want to see what happens when you eventually exit in this test.
3405         
3406         Right now this isn't hooked into any specific tests, but I've done some spot checks on it
3407         and it seems to do the right thing.
3408
3409         * Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz: Added.
3410         (fail):
3411
3412 2015-07-10  Alex Christensen  <achristensen@webkit.org>
3413
3414         Add tests for r186649
3415         https://bugs.webkit.org/show_bug.cgi?id=146821
3416
3417         Reviewed by Darin Adler.
3418
3419         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3420         (TestWebKitAPI::TEST_F):
3421         (TestWebKitAPI::compareContents):
3422         (TestWebKitAPI::expectedIndex):
3423         Add some larger tests to test large jumps.
3424
3425 2015-07-09  Dewei Zhu  <dewei_zhu@apple.com>
3426
3427         Quick fix for run_benchmark script that AppKit.NSRunningApplication does not work properly
3428         https://bugs.webkit.org/show_bug.cgi?id=146820
3429
3430         Reviewed by Ryosuke Niwa.
3431
3432         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
3433         (OSXBrowserDriver):
3434         (OSXBrowserDriver.close_browsers):
3435         (OSXBrowserDriver._terminiate_processes):
3436         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
3437         (OSXChromeDriver):
3438         (OSXChromeCanaryDriver):
3439         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
3440         (OSXFirefoxDriver):
3441         (OSXFirefoxNightlyDriver):
3442         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
3443         (OSXSafariDriver):
3444
3445 2015-07-09  Michael Catanzaro  <mcatanzaro@igalia.com>
3446
3447         [GTK] pango should be included in the default jhbuild moduleset
3448         https://bugs.webkit.org/show_bug.cgi?id=146683
3449
3450         Reviewed by Martin Robinson.
3451
3452         Recent releases of pango 1.36 use functions that are only provided by fontconfig 2.12 when
3453         compiled against sufficiently-new versions of fontconfig. Since we depend on both pango and
3454         fontconfig, and pango depends on fontconfig, we must either add pango to our jhbuild
3455         moduleset or else upgrade fontconfig to a recent unstable release (knowing that we will have
3456         the same problem again the next time pango wants to use a new fontconfig feature), or remove
3457         fontconfig (which would make it hard to keep tests working). On the balance, adding pango is
3458         best.
3459
3460         * gtk/jhbuild-optional.modules: Remove pango
3461         * gtk/jhbuild.modules: Add pango and update to latest 1.36.8
3462
3463 2015-07-09  Devin Rousso  <drousso@apple.com>
3464
3465         Unreviewed.  Added myself as a committer.
3466
3467         * Scripts/webkitpy/common/config/contributors.json:
3468
3469 2015-07-09  Timothy Horton  <timothy_horton@apple.com>
3470
3471         Add a way to set the default URL from Minibrowser UI
3472         https://bugs.webkit.org/show_bug.cgi?id=146780
3473
3474         Reviewed by Simon Fraser.
3475
3476         * MiniBrowser/mac/AppDelegate.m:
3477         (-[BrowserAppDelegate didChangeSettings]):
3478         * MiniBrowser/mac/BrowserWindowController.h:
3479         * MiniBrowser/mac/BrowserWindowController.m:
3480         (-[BrowserWindowController fetch:]):
3481         (-[BrowserWindowController reload:]):
3482         (-[BrowserWindowController forceRepaint:]):
3483         (-[BrowserWindowController goBack:]):
3484         (-[BrowserWindowController goForward:]):
3485         (-[BrowserWindowController showHideWebView:]):
3486         (-[BrowserWindowController removeReinsertWebView:]):
3487         (-[BrowserWindowController zoomIn:]):
3488         (-[BrowserWindowController zoomOut:]):
3489         (-[BrowserWindowController resetZoom:]):
3490         (-[BrowserWindowController canZoomIn]):
3491         (-[BrowserWindowController canZoomOut]):
3492         (-[BrowserWindowController canResetZoom]):
3493         (-[BrowserWindowController toggleZoomMode:]):
3494         (-[BrowserWindowController setScale:]):
3495         (-[BrowserWindowController toggleShrinkToFit:]):
3496         (-[BrowserWindowController dumpSourceToConsole:]):
3497         (-[BrowserWindowController find:]):
3498         (-[BrowserWindowController didChangeSettings]):
3499         (-[BrowserWindowController currentURL]):
3500         Get rid of the BrowserController protocol. It was a bad idea and confused
3501         Interface Builder more than I thought possible.
3502
3503         * MiniBrowser/mac/SettingsController.m:
3504         (-[SettingsController _populateMenu]):
3505         (-[SettingsController setDefaultURLToCurrentURL:]):
3506         If we have a BrowserWindowController, grab its URL and set the relevant default.
3507
3508         * MiniBrowser/mac/WK1BrowserWindowController.h:
3509         * MiniBrowser/mac/WK1BrowserWindowController.m:
3510         (-[WK1BrowserWindowController currentURL]):
3511         * MiniBrowser/mac/WK2BrowserWindowController.h:
3512         * MiniBrowser/mac/WK2BrowserWindowController.m:
3513         (-[WK2BrowserWindowController currentURL]):
3514         Retrieve the current URL from the WKView/WebView.
3515
3516 2015-07-09  Timothy Horton  <timothy_horton@apple.com>
3517
3518         Increase MiniBrowser location bar maximum width
3519         https://bugs.webkit.org/show_bug.cgi?id=146779
3520
3521         Reviewed by Simon Fraser.
3522
3523         * MiniBrowser/mac/BrowserWindow.xib:
3524         Have an enormous maximum width on the location bar, so that it doesn't
3525         stop expanding with the window at 800px.
3526
3527 2015-07-08  Brady Eidson  <beidson@apple.com>
3528
3529         Crash calling [WebView close] in didFinishLoadForFrame callback.
3530         <rdar://problem/21690765> and https://bugs.webkit.org/show_bug.cgi?id=146773
3531
3532         Reviewed by David Kilzer.
3533
3534         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3535         
3536         * TestWebKitAPI/Tests/mac/WebViewCloseInsideDidFinishLoadForFrame.mm: Added.
3537         (-[WebViewCloseFrameLoadDelegate webView:didFinishLoadForFrame:]):
3538         (TestWebKitAPI::TEST):
3539
3540 2015-07-08  Hyungwook Lee  <hyungwook.lee@navercorp.com>
3541
3542         Fix ASSERTION FAILED: !m_pendingNavigationID in WebPage::reload().
3543         https://bugs.webkit.org/show_bug.cgi?id=146546
3544
3545         Reviewed by Darin Adler.
3546
3547         We did't reset pendingNavigationID value when request url is empty.
3548         Hence we need to ignore ASSERT check in this case.
3549
3550         * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
3551         (TestWebKitAPI::TEST):
3552
3553 2015-07-08  Benjamin Poulain  <bpoulain@apple.com>
3554
3555         [Content Extensions] Fuse undistinguishable actions as much as possible
3556         https://bugs.webkit.org/show_bug.cgi?id=146762
3557
3558         Reviewed by Alex Christensen.
3559
3560         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3561         Test that combinations and flags still work as expected.
3562
3563 2015-07-08  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3564
3565         [GTK] [Wayland] Allow building and testing the Wayland target with the default JHBuild moduleset.
3566         https://bugs.webkit.org/show_bug.cgi?id=146056
3567
3568         Reviewed by Martin Robinson.
3569
3570         * gtk/install-dependencies: libepoxy is now required for building GTK+.
3571         * gtk/jhbuild-wayland.modules: Removed. Not longer needed.
3572         * gtk/jhbuild.modules: Upgrade GTK+ (3.16.4) and required dependencies for building:
3573         Cairo (1.14.2), Gdk-Pixbuf (2.30.8) and GLib (2.44.1).
3574         * gtk/patches/cairo-1.12.8-add_disable-lto.patch: Removed. Not longer needed.
3575         Cairo removed support for LTO on (1.14). Upstream commit: c7ff9bb.
3576         * gtk/patches/gtk-3.6-do-not-shutdown-accessibility.patch: Removed. Not longer needed.
3577         GTK+ merged this patch on GTK+-3.10. Upstream commit: 8d83d98.
3578
3579 2015-07-06  Matt Rajca  <mrajca@apple.com>
3580
3581         Media Session: propagate metadata changes to UI clients
3582         https://bugs.webkit.org/show_bug.cgi?id=146660
3583
3584         Reviewed by Tim Horton.
3585
3586         * WebKitTestRunner/TestController.cpp: Build fixes for updated PageUIClient.
3587         (WTR::TestController::createOtherPage):
3588         (WTR::TestController::createWebViewWithOptions):
3589
3590 2015-07-07  Brady Eidson  <beidson@apple.com>
3591
3592         HTTP Auth cached after disabling private browsing/reset.
3593         <rdar://problem/8293055> and https://bugs.webkit.org/show_bug.cgi?id=146654
3594
3595         Reviewed by Tim Horton.
3596
3597         * DumpRenderTree/mac/DumpRenderTree.mm:
3598         (resetWebViewToConsistentStateBeforeTesting): Clear in-memory credentials in between test runs.
3599
3600 2015-07-06  Alex Christensen  <achristensen@webkit.org>
3601
3602         [Content Extensions] Remove memory page reporting
3603         https://bugs.webkit.org/show_bug.cgi?id=146659
3604
3605         Reviewed by Benjamin Poulain.
3606
3607         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3608         (TestWebKitAPI::TEST_F):
3609
3610 2015-07-06  Benjamin Poulain  <benjamin@webkit.org>
3611
3612         [Content Extensions] Make the DFA transitions ranges instead of characters
3613         https://bugs.webkit.org/show_bug.cgi?id=146575
3614
3615         Reviewed by Alex Christensen.
3616
3617         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3618         * TestWebKitAPI/Tests/WebCore/DFAMinimizer.cpp:
3619         Since the minimizer is perfect, we get the minimal solution now,
3620         which is really cool!
3621
3622 2015-07-06  Brady Eidson  <beidson@apple.com>
3623
3624         ShouldOpenExternalURLsPolicy should default to "Allow" for WK2 API loads.
3625         <rdar://problem/21640050> and https://bugs.webkit.org/show_bug.cgi?id=146563
3626
3627         Reviewed by Geoff Garen.
3628
3629         * WebKitTestRunner/TestInvocation.cpp:
3630         (WTR::TestInvocation::invoke): For testing purposes, all pages should start with the 
3631           ShouldOpenExternalURLsPolicy set to "ShouldNotAllow"
3632
3633 2015-07-06  Daniel Bates  <dabates@apple.com>
3634
3635         Unreviewed, rolling out r170639.
3636
3637         Broke using webkit-patch apply-attachment to apply an
3638         attachment from a security bug. The patch incorrectly assumed
3639         that Bugzilla returns a non-HTTP 200 status code in its HTTP
3640         response when authentication is required.
3641
3642         Reverted changeset:
3643
3644         "webkit-patch apply-from-bug / apply-attachment should not ask
3645         for credentials if none are required"
3646         https://bugs.webkit.org/show_bug.cgi?id=40095
3647         http://trac.webkit.org/changeset/170639
3648
3649 2015-07-04  Chris Dumez  <cdumez@apple.com>
3650
3651         Drop RefPtr::clear() method
3652         https://bugs.webkit.org/show_bug.cgi?id=146556
3653
3654         Reviewed by Brady Eidson.
3655
3656         Drop RefPtr::clear() method in favor of "= nullptr;" pattern.
3657
3658 2015-07-03  Dan Bernstein  <mitz@apple.com>
3659
3660         Fixed the iOS build.
3661
3662         * DumpRenderTree/mac/EventSendingController.mm:
3663         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3664         (+[EventSendingController webScriptNameForSelector:]):
3665
3666 2015-07-03  Dan Bernstein  <mitz@apple.com>
3667
3668         [Xcode] Update some build settings as recommended by Xcode 7
3669         https://bugs.webkit.org/show_bug.cgi?id=146597
3670
3671         Reviewed by Sam Weinig.
3672
3673         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
3674
3675         * DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,
3676         ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
3677         CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
3678         CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
3679         GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.
3680
3681         * DumpRenderTree/mac/EventSendingController.mm:
3682         (+[EventSendingController webScriptNameForSelector:]): Removed check for setDragMode:,
3683         which was removed in r19101.
3684
3685         * DumpRenderTree/mac/TextInputController.m:
3686         (-[TextInputController interpretKeyEvents:withSender:]): Suppressed -Wundeclared-selector
3687         around used of a selector not that is not declared anywhere.
3688
3689         * MiniBrowser/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS.
3690
3691         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
3692
3693         * TestWebKitAPI/Configurations/Base.xcconfig: Enabled GCC_NO_COMMON_BLOCKS,
3694         ENABLE_STRICT_OBJC_MSGSEND, CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_CONSTANT_CONVERSION,
3695         CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
3696         CLANG_WARN_UNREACHABLE_CODE, GCC_WARN_ABOUT_RETURN_TYPE,
3697         GCC_WARN_UNINITIALIZED_AUTOS, and GCC_WARN_UNDECLARED_SELECTOR.
3698
3699         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Updated LastUpgradeCheck.
3700
3701 2015-07-02  Daniel Bates  <dabates@apple.com>
3702
3703         [iOS] Add WebKitSystemInterface for iOS 8.4
3704         https://bugs.webkit.org/show_bug.cgi?id=146548
3705
3706         Rubber-stamped by Zalan Bujtas.
3707
3708         * Scripts/copy-webkitlibraries-to-product-directory:
3709
3710 2015-07-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3711
3712         [GTK] WebSQL doesn't work because openDatabase always fails with DOM Exception 18
3713         https://bugs.webkit.org/show_bug.cgi?id=146234
3714
3715         Reviewed by Sergio Villar Senin.
3716
3717         Enable the WebSQL directory test that was disabled because of this bug.
3718
3719         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3720         (testWebContextConfiguration):
3721
3722 2015-07-01  Matthew Daiter  <mdaiter@apple.com>
3723
3724         Enabled MEDIA_STREAM flag
3725         https://bugs.webkit.org/show_bug.cgi?id=145947
3726         <rdar://problem/21365829>
3727         
3728         Reviewed by Eric Carlson.
3729
3730         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
3731
3732 2015-06-30  Martin Robinson  <mrobinson@igalia.com>
3733
3734         [GTK] REGRESSION(r183936): Test /webkit2/WebKitWebContext/spell-checker fails since r183936
3735         https://bugs.webkit.org/show_bug.cgi?id=144828
3736
3737         Reviewed by Carlos Garcia Campos.
3738
3739         * WebKitTestRunner/gtk/main.cpp:
3740         (main): Use the new WKTextChecker API to set the spell checking languages
3741         when the process is starting up.
3742
3743 2015-06-30  Andy VanWagoner  <thetalecrafter@gmail.com>
3744
3745         Implement ECMAScript Internationalization API
3746         https://bugs.webkit.org/show_bug.cgi?id=90906
3747
3748         Reviewed by Benjamin Poulain.
3749
3750         * Scripts/webkitperl/FeatureList.pm: add ENABLE_INTL flag
3751
3752 2015-06-30  Jonathan Davis  <jond@apple.com>
3753
3754         Unreviewed. Added myself as a committer.
3755
3756         * Scripts/webkitpy/common/config/contributors.json:
3757
3758 2015-06-30  Brent Fulgham  <bfulgham@apple.com>
3759
3760         Unreviewed build fix.
3761
3762         * Scripts/update-webkit-dependency: Try to build even if we cannot connect
3763         to developer.apple.com to get update libraries.
3764
3765 2015-06-29  Jake Nielsen  <jacob_nielsen@apple.com>
3766
3767         Add timeout in run-webkit-tests for launching the simulator
3768         https://bugs.webkit.org/show_bug.cgi?id=146371
3769
3770         Reviewed by Darin Adler.
3771
3772         Adds a default 5-minute timeout using the timeout class in webkitpy.benchmark_runner.utils
3773         for the otherwise infinitely patient wait_until_device_is_in_state method.
3774
3775         * Scripts/webkitpy/xcode/simulator.py:
3776         (Simulator.DeviceState):
3777         (Simulator):
3778         (Simulator.wait_until_device_is_in_state):
3779         (Simulator.device_state):
3780
3781 2015-06-29  Benjamin Poulain  <benjamin@webkit.org>
3782
3783         Make the NFA transitions range-based
3784         https://bugs.webkit.org/show_bug.cgi?id=146338
3785
3786         Reviewed by Alex Christensen.
3787
3788         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3789         Test some new interesting cases.
3790
3791 2015-06-28  Dan Bernstein  <mitz@apple.com>
3792
3793         [Xcode] Use the same environment for command-line and IDE builds
3794         https://bugs.webkit.org/show_bug.cgi?id=146401
3795
3796         Reviewed by Anders Carlsson.
3797
3798         * Scripts/webkitdirs.pm:
3799         (XcodeOptions): Set the UseSanitizedBuildSystemEnvironment user default to YES, which makes
3800         xcodebuild use the same environment Xcode uses.
3801
3802 2015-06-28  Dan Bernstein  <mitz@apple.com>
3803
3804         REGRESSION (r185915): Source-incompatible change in WKPageUIClient
3805         https://bugs.webkit.org/show_bug.cgi?id=146396
3806
3807         Reviewed by Anders Carlsson.
3808
3809         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
3810         (TestWebKitAPI::runJavaScriptAlert): Removed _deprecatedForUseWithV0 suffix from the name.
3811         (TestWebKitAPI::TEST): Updated for renames.
3812         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
3813         (runJavaScriptAlert): Removed suffix.
3814         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView): Updated.
3815         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
3816         (runJavaScriptAlert): Removed suffix.
3817         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView): Updated.
3818
3819 2015-06-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3820
3821         [GTK][SOUP] Implement WebCore::PublicSuffix for soup and enable PUBLIC_SUFFIX_LIST for GTK+
3822         https://bugs.webkit.org/show_bug.cgi?id=146318
3823
3824         Reviewed by Sergio Villar Senin.
3825
3826         Copy mac PublicSuffix test to the common directory and add it to
3827         the GTK+ build.
3828
3829         * TestWebKitAPI/PlatformGTK.cmake:
3830         * TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp: Added.
3831         (TestWebKitAPI::TEST_F):
3832
3833 2015-06-26  Per Arne Vollan  <peavo@outlook.com>
3834
3835         WinLauncher fails to download files.
3836         https://bugs.webkit.org/show_bug.cgi?id=146242
3837
3838         Reviewed by Alex Christensen.
3839
3840         Added WinLauncher download delegate.
3841
3842         * WinLauncher/Common.cpp:
3843         * WinLauncher/WebDownloadDelegate.cpp: Added.
3844         (WebDownloadDelegate::WebDownloadDelegate):
3845         (WebDownloadDelegate::~WebDownloadDelegate):
3846         (WebDownloadDelegate::QueryInterface):
3847         (WebDownloadDelegate::AddRef):
3848         (WebDownloadDelegate::Release):
3849         (WebDownloadDelegate::decideDestinationWithSuggestedFilename):
3850         (WebDownloadDelegate::didCancelAuthenticationChallenge):
3851         (WebDownloadDelegate::didCreateDestination):
3852         (WebDownloadDelegate::didFailWithError):
3853         (WebDownloadDelegate::didReceiveAuthenticationChallenge):
3854         (WebDownloadDelegate::didReceiveDataOfLength):
3855         (WebDownloadDelegate::didReceiveResponse):
3856         (WebDownloadDelegate::shouldDecodeSourceDataOfMIMEType):
3857         (WebDownloadDelegate::willResumeWithResponse):
3858         (WebDownloadDelegate::willSendRequest):
3859         (WebDownloadDelegate::didBegin):
3860         (WebDownloadDelegate::didFinish):
3861         * WinLauncher/WebDownloadDelegate.h: Added.
3862         * WinLauncher/WinLauncher.cpp:
3863         (WinLauncher::setAccessibilityDelegate):
3864         (WinLauncher::setResourceLoadDelegate):
3865         (WinLauncher::setDownloadDelegate):
3866         (WinLauncher::mainFrame):
3867         * WinLauncher/WinLauncher.h:
3868         (WinLauncher::standardPreferences):
3869         (WinLauncher::privatePreferences):
3870         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj:
3871         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters:
3872         * WinLauncher/WinMain.cpp:
3873         (wWinMain):
3874
3875 2015-06-26  Csaba Osztrogonác  <ossy@webkit.org>
3876
3877         [EFL] Bump libseccomp version to 2.2.1
3878         https://bugs.webkit.org/show_bug.cgi?id=146341
3879
3880         Reviewed by Gyuyoung Kim.
3881
3882         * efl/jhbuild.modules:
3883         * efl/jhbuildrc: Enabled libseccomp build on AArch64.
3884         * efl/patches/libseccomp-pick-up-CC.patch: Removed, we don't need it anymore.
3885
3886 2015-06-25  Alex Christensen  <achristensen@webkit.org>
3887
3888         [Content Extensions] Add a way to match a domain but not subdomains
3889         https://bugs.webkit.org/show_bug.cgi?id=146241
3890         rdar://problem/21557754
3891
3892         Reviewed by Darin Adler.
3893
3894         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
3895         (TestWebKitAPI::TEST_F):
3896         Update subdomain test because of changed behavior and add test for new '*' functionality.
3897
3898 2015-06-25  Jaehun Lim  <ljaehun.lim@samsung.com>
3899
3900         Cleanup ENABLE_CSS3_CONDITIONAL_RULES codes.
3901         https://bugs.webkit.org/show_bug.cgi?id=146308
3902
3903         Reviewed by Csaba Osztrogonác.
3904
3905         ENABLE_CSS3_CONDITIONAL_RULES guard was removed from r174536.
3906
3907         * Scripts/webkitperl/FeatureList.pm:
3908
3909 2015-06-25  Carlos Garcia Campos  <cgarcia@igalia.com>
3910
3911         [GTK] Add initial WebKitWebsiteDataManager API for process configuration options
3912         https://bugs.webkit.org/show_bug.cgi?id=146149
3913
3914         Reviewed by Sergio Villar Senin.
3915
3916         Update unit tests to use WebKitWebsiteDataManager.
3917
3918         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:
3919         (testWebContextConfiguration):
3920         (serverCallback):
3921         * TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h:
3922         (Test::Test): Use WebKitWebsiteDataManager and set all possible
3923         values to ensure unit tests don't write outside the temporary directory.
3924         (Test::~Test): Explicitly reset the web context to ensure its
3925         objects are released before the leaks check.
3926         * TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:
3927         (WebViewTest::wait): Fix the GSource used, since we are receiving
3928         a double in seconds, but using g_timeout_add_seconds() that
3929         expects an unsigned in seconds. Use GMainLoopSource to correctly
3930         handle the value and simplify the code.
3931
3932 2015-06-24  Jason Marcell  <jmarcell@apple.com>
3933
3934         Work towards: Add status of Safari projects on iOS Dashboard on build-safari
3935         https://bugs.webkit.org/show_bug.cgi?id=146126
3936         <rdar://problem/18226291>
3937
3938         Reviewed by Alexey Proskuryakov.
3939
3940         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
3941         (documentReady): Using combined queues to display iOS projects
3942
3943 2015-06-24  Doug Russell  <d_russell@apple.com>
3944
3945         Bug 146177 - AX: AXObjectCache should try to use an unignored accessibilityObject 
3946         when posting a selection notification when on the border between two accessibilityObjects
3947         https://bugs.webkit.org/show_bug.cgi?id=146177
3948
3949         Reviewed by Darin Adler.
3950
3951         Add support for mapping WebCore Accessibility types into JSValueRef types
3952         so they can be used in tests.
3953
3954         * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
3955         (webAccessibilityObjectWrapperClass):
3956         (-[AccessibilityNotificationHandler startObserving]):
3957         (makeValueRefForValue):
3958         (makeArrayRefForArray):
3959         (makeObjectRefForDictionary):
3960         (-[AccessibilityNotificationHandler _notificationReceived:]):
3961         * WebKitTestRunner/InjectedBundle/mac/AccessibilityNotificationHandler.mm:
3962         (webAccessibilityObjectWrapperClass):
3963         (-[AccessibilityNotificationHandler startObserving]):
3964         (makeValueRefForValue):
3965         (makeArrayRefForArray):
3966         (makeObjectRefForDictionary):
3967         (-[AccessibilityNotificationHandler _notificationReceived:]):
3968
3969 2015-06-24  Zalan Bujtas  <zalan@apple.com>
3970
3971         Subpixel rendering: roundToDevicePixel() snaps to wrong value.
3972         https://bugs.webkit.org/show_bug.cgi?id=146273
3973         rdar://problem/18509840
3974
3975         Reviewed by Simon Fraser.
3976
3977         Due to the floating point approximate representation, we can't always produce
3978         the correct snap value. This patch addresses the issue by removing redundant kFixedPointDenominator multiplication
3979         and by changing the rounding in roundToDevicePixel() from float to double.
3980
3981         * TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:
3982         (TestWebKitAPI::TEST):
3983
3984 2015-06-24  Brady Eidson  <beidson@apple.com>
3985
3986         Update JavaScript dialog delegates to include a WKSecurityOriginRef argument.
3987         <rdar://problem/21269187> and https://bugs.webkit.org/show_bug.cgi?id=146249
3988
3989         Reviewed by Alex Christensen.
3990
3991         - Update WKTR to the new client structure.
3992         - Update existing TestWebKitAPI tests to either use the new client structure or
3993           assign the old function signature to the updated variable name.
3994         - Include a new test.
3995
3996         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3997
3998         * TestWebKitAPI/Tests/WebKit2/CloseFromWithinCreatePage.cpp:
3999         (TestWebKitAPI::runJavaScriptAlert):
4000
4001         * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
4002         (TestWebKitAPI::TEST):
4003
4004         * TestWebKitAPI/Tests/WebKit2/ModalAlertsSPI.cpp:
4005         (TestWebKitAPI::analyzeDialogArguments):
4006         (TestWebKitAPI::runJavaScriptAlert):
4007         (TestWebKitAPI::runJavaScriptConfirm):
4008         (TestWebKitAPI::runJavaScriptPrompt):
4009         (TestWebKitAPI::createNewPage):
4010         (TestWebKitAPI::TEST):
4011
4012         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
4013         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
4014
4015         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
4016         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
4017
4018         * WebKitTestRunner/TestController.cpp:
4019         (WTR::TestController::createOtherPage):
4020         (WTR::TestController::createWebViewWithOptions):
4021
4022 2015-06-23  Dewei Zhu  <dewei_zhu@apple.com>
4023
4024         Refactoring benchmark runner script to follow pep8 code style.
4025         https://bugs.webkit.org/show_bug.cgi?id=146264
4026
4027         Reviewed by Ryosuke Niwa.
4028
4029         Refactor benchmark runner script to follow pep8 code style.
4030
4031         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
4032         (GenericBenchmarkBuilder.prepare):
4033         (GenericBenchmarkBuilder._run_create_script):
4034         (GenericBenchmarkBuilder._copy_benchmark_to_temp_dir):
4035         (GenericBenchmarkBuilder._fetch_remote_archive):
4036         (GenericBenchmarkBuilder):
4037         (GenericBenchmarkBuilder._checkout_with_subversion):
4038         (GenericBenchmarkBuilder._apply_patch):
4039         (GenericBenchmarkBuilder.clean):
4040         (GenericBenchmarkBuilder._runCreateScript): Deleted.
4041         (GenericBenchmarkBuilder._copyBenchmarkToTempDir): Deleted.
4042         (GenericBenchmarkBuilder._fetchRemoteArchive): Deleted.
4043         (GenericBenchmarkBuilder._checkoutWithSubverion): Deleted.
4044         (GenericBenchmarkBuilder._applyPatch): Deleted.
4045         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
4046         (BenchmarkRunner.__init__):
4047         (BenchmarkRunner._find_plan_file):
4048         (BenchmarkRunner.execute):
4049         (BenchmarkRunner._cleanup):
4050         (BenchmarkRunner._dump):
4051         (BenchmarkRunner._wrap):
4052         (BenchmarkRunner._merge):
4053         (BenchmarkRunner._show_results):
4054         (BenchmarkRunner._findPlanFile): Deleted.
4055         (BenchmarkRunner.cleanup): Deleted.
4056         (BenchmarkRunner.dump): Deleted.
4057         (BenchmarkRunner.wrap): Deleted.
4058         (BenchmarkRunner.merge): Deleted.
4059         (BenchmarkRunner.show_results): Deleted.
4060         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
4061         (BrowserDriver.prepare_env):
4062         (BrowserDriver.launch_url):
4063         (BrowserDriver.close_browsers):
4064         (BrowserDriver.prepareEnv): Deleted.
4065         (BrowserDriver.launchUrl): Deleted.
4066         (BrowserDriver.closeBrowser): Deleted.
4067         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
4068         (OSXBrowserDriver):
4069         (OSXBrowserDriver.prepare_env):
4070         (OSXBrowserDriver.close_browsers):
4071         (OSXBrowserDriver._launch_process):
4072         (OSXBrowserDriver._terminiate_processes):
4073         (OSXBrowserDriver._launch_process_with_caffinate):
4074         (OSXBrowserDriver._screen_size):
4075         (OSXBrowserDriver.prepareEnv): Deleted.
4076         (OSXBrowserDriver.closeBrowsers): Deleted.
4077         (OSXBrowserDriver.launchProcess): Deleted.
4078         (OSXBrowserDriver.terminateProcesses): Deleted.
4079         (OSXBrowserDriver.launchProcessWithCaffinate): Deleted.
4080         (OSXBrowserDriver.screenSize): Deleted.
4081         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
4082         (OSXChromeDriver):
4083         (OSXChromeDriver.launch_url):
4084         (OSXChromeCanaryDriver):
4085         (OSXChromeCanaryDriver.launch_url):
4086         (OSXChromeDriver.launchUrl): Deleted.
4087         (OSXChromeCanaryDriver.launchUrl): Deleted.
4088         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
4089         (OSXFirefoxDriver):
4090         (OSXFirefoxDriver.launch_url):
4091         (OSXFirefoxNightlyDriver):
4092         (OSXFirefoxNightlyDriver.launch_url):
4093         (OSXFirefoxDriver.launchUrl): Deleted.
4094         (OSXFirefoxNightlyDriver.launchUrl): Deleted.
4095         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
4096         (OSXSafariDriver):
4097         (OSXSafariDriver.prepare_env):
4098         (OSXSafariDriver.launch_url):
4099         (OSXSafariDriver.close_browsers):
4100         (OSXSafariDriver._maximize_window):
4101         (OSXSafariDriver.prepareEnv): Deleted.
4102         (OSXSafariDriver.launchUrl): Deleted.
4103         (OSXSafariDriver.closeBrowsers): Deleted.
4104         (OSXSafariDriver.maximizeWindow): Deleted.
4105         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server_driver.py:
4106         (HTTPServerDriver.fetch_result):
4107         (HTTPServerDriver.kill_server):
4108         (HTTPServerDriver.get_return_code):
4109         (HTTPServerDriver.set_device_id):
4110         (HTTPServerDriver.fetchResult): Deleted.
4111         (HTTPServerDriver.killServer): Deleted.
4112         (HTTPServerDriver.getReturnCode): Deleted.
4113         (HTTPServerDriver.setDeviceID): Deleted.
4114         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
4115         (SimpleHTTPServerDriver.serve):
4116         (SimpleHTTPServerDriver.base_url):
4117         (SimpleHTTPServerDriver.fetch_result):
4118         (SimpleHTTPServerDriver.kill_server):
4119         (SimpleHTTPServerDriver.get_return_code):
4120         (SimpleHTTPServerDriver): Deleted.
4121         (SimpleHTTPServerDriver.baseUrl): Deleted.
4122         (SimpleHTTPServerDriver.fetchResult): Deleted.
4123         (SimpleHTTPServerDriver.killServer): Deleted.
4124         (SimpleHTTPServerDriver.getReturnCode): Deleted.
4125         * Scripts/webkitpy/benchmark_runner/utils.py:
4126         (get_path_from_project_root):
4127         (force_remove):
4128         (getPathFromProjectRoot): Deleted.
4129         (forceRemove): Deleted.
4130
4131 2015-06-23  Anders Carlsson  <andersca@apple.com>
4132
4133         Add operator! and copy/move constructors to WeakObjCPtr
4134         https://bugs.webkit.org/show_bug.cgi?id=146255
4135
4136         Reviewed by Andreas Kling.
4137
4138         * TestWebKitAPI/Tests/WebKit2/cocoa/WeakObjCPtr.mm:
4139         (TEST):
4140
4141 2015-06-23  Simon Fraser  <simon.fraser@apple.com>
4142
4143         Expose some more rendering progress events, and have MiniBrowser log for each of them
4144         https://bugs.webkit.org/show_bug.cgi?id=146227
4145
4146         Reviewed by Darin Adler.
4147
4148         Register for layout milestones/rendering progress events in the WK1 and WK2
4149         browser window controllers, and, if logging is turned on, log when they are
4150         reached.
4151
4152         * MiniBrowser/mac/WK1BrowserWindowController.m:
4153         (-[WK1BrowserWindowController awakeFromNib]):
4154         (-[WK1BrowserWindowController webView:didLayout:]):
4155         * MiniBrowser/mac/WK2BrowserWindowController.m:
4156         (-[WK2BrowserWindowController awakeFromNib]):
4157         (-[WK2BrowserWindowController _webView:renderingProgressDidChange:]):
4158
4159 2015-06-23  Brady Eidson  <beidson@apple.com>
4160
4161         WKFrameInfo should have an accessor for the Frame's current security origin.
4162         https://bugs.webkit.org/show_bug.cgi?id=146162
4163
4164         Reviewed by Dan Bernstein.
4165
4166         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
4167         * TestWebKitAPI/Tests/WebKit2/modal-alerts-in-new-about-blank-window.html: Added.
4168         * TestWebKitAPI/Tests/WebKit2Cocoa/ModalAlerts.mm: Added.
4169         (sawDialog):
4170         (-[ModalAlertsUIDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
4171         (-[ModalAlertsUIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
4172         (-[ModalAlertsUIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
4173         (-[ModalAlertsUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]):
4174         (TEST):
4175
4176 2015-06-23  Tanay C  <tanay.c@samsung.com>
4177
4178         Remove build warnings in Tools/DumpRenderTree/TestNetscapePlugIn
4179         https://bugs.webkit.org/show_bug.cgi?id=146007
4180
4181         Reviewed by Darin Adler.
4182
4183         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
4184         * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp: Add attribute to functions.
4185         (pluginLogWithWindowObject):
4186         (pluginLogWithArguments):
4187         (pluginLog):
4188         * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp: Add attribute to functions.
4189         (PluginTest::executeScript):
4190         (PluginTest::log):
4191
4192 2015-06-23  Csaba Osztrogonác  <ossy@webkit.org>
4193
4194         [EFL] Add libhyphen-dev as dependency after r185862
4195         https://bugs.webkit.org/show_bug.cgi?id=146230
4196
4197         Reviewed by Gyuyoung Kim.
4198
4199         * efl/install-dependencies:
4200
4201 2015-06-22  Ryuan Choi  <ryuan.choi@navercorp.com>
4202
4203         [EFL] Hyphenation is not supported
4204         https://bugs.webkit.org/show_bug.cgi?id=89830
4205
4206         Reviewed by Gyuyoung Kim.
4207
4208         * efl/jhbuild.modules: Added webkitgtk-test-dicts for layout test.
4209
4210 2015-06-22  Dewei Zhu  <dewei_zhu@apple.com>
4211
4212         Get rid of factory json files in benchmark_runner
4213         https://bugs.webkit.org/show_bug.cgi?id=146175
4214
4215         Reviewed by Ryosuke Niwa.
4216
4217         Get rid of factory json files in benchmark_runner and refactoring the code.
4218
4219         * Scripts/webkitpy/benchmark_runner/benchmark_builder/__init__.py:
4220         (benchmark_builder_loader):
4221         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builder_factory.py:
4222         (BenchmarkBuilderFactory):
4223         * Scripts/webkitpy/benchmark_runner/benchmark_builder/benchmark_builders.json: Removed.
4224         * Scripts/webkitpy/benchmark_runner/benchmark_builder/generic_benchmark_builder.py:
4225         (GenericBenchmarkBuilder):
4226         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
4227         (BenchmarkRunner.__init__):
4228         (BenchmarkRunner.execute):
4229         * Scripts/webkitpy/benchmark_runner/browser_driver/__init__.py:
4230         (browser_driver_loader):
4231         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
4232         (BrowserDriver):
4233         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
4234         (BrowserDriverFactory):
4235         (BrowserDriverFactory.available_platforms):
4236         (BrowserDriverFactory.available_browsers):
4237         (BrowserDriverFactory.add_browser_driver):
4238         (BrowserDriverFactory.create):
4239         * Scripts/webkitpy/benchma