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