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