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