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