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