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