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