a4d24fbcf3f6d74bab1b07aa9d394066dadfb4dc
[WebKit-https.git] / Tools / ChangeLog
1 2015-10-01  Daniel Bates  <dabates@apple.com>
2
3         Attempt to fix the iOS 9 Simulator testers
4
5         Add dependency DumpRenderTree.app to target All of project DumpRenderTree so that we
6         build DumpRenderTree.app, if applicable. Also, teach build-webkit to build project
7         LayoutTestRelay when building for iOS Simulator.
8
9         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10         * Scripts/build-webkit:
11
12 2015-10-01  Carlos Garcia Campos  <cgarcia@igalia.com>
13
14         [GTK] Websites with invalid auth header keep loading forever
15         https://bugs.webkit.org/show_bug.cgi?id=149710
16
17         Reviewed by Martin Robinson.
18
19         Add test case to check that we can authenticate sites with an
20         empty realm.
21
22         * TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp:
23         (testWebViewAuthenticationEmptyRealm):
24         (serverCallback):
25         (beforeAll):
26
27 2015-10-01  Alexey Proskuryakov  <ap@apple.com>
28
29         [Mac] Make run-api-tests work with System Integrity Protection
30         https://bugs.webkit.org/show_bug.cgi?id=149711
31         rdar://problem/22928202
32
33         Reviewed by Dan Bernstein.
34
35         * Scripts/run-api-tests:
36         (runTest):
37         (archCommandLineArgumentsForRestrictedEnvironmentVariables):
38
39 2015-10-01  Daniel Bates  <dabates@apple.com>
40
41         Attempt to fix the Windows build after <https://trac.webkit.org/changeset/190387>
42         (https://bugs.webkit.org/show_bug.cgi?id=149695)
43
44         For some reason built-product-archive hardcodes the assumption that we build for 32-bit Windows.
45         For now, use the path to the top-level WebKit build directory instead of using the configuration-
46         specific build directory.
47
48         * BuildSlaveSupport/built-product-archive:
49         (archiveBuiltProduct):
50
51 2015-10-01  Csaba Osztrogonác  <ossy@webkit.org>
52
53         [EFL] Fix the openwebrtc and gst-plugins-openwebrtc build with clang
54         https://bugs.webkit.org/show_bug.cgi?id=145837
55
56         Reviewed by Philippe Normand.
57
58         * efl/jhbuild.modules:
59         * efl/patches/openwebrtc-clang-warning-fix.patch: Added.
60         * efl/patches/openwebrtc-gst-plugins-clang-warning-fix.patch: Added.
61
62 2015-10-01  Wenson Hsieh  <wenson_hsieh@apple.com>
63
64         Unreviewed. Fix the iOS build after r190407.
65
66         * WebKitTestRunner/ios/IOKitSPI.h:
67
68 2015-10-01  Wenson Hsieh  <wenson_hsieh@apple.com>
69
70         Implement keyboard event sending for iOS in WebKitTestRunner
71         https://bugs.webkit.org/show_bug.cgi?id=149676
72
73         Reviewed by Simon Fraser.
74
75         Adds support for generating and sending key events in WebKitTestRunner. This is accomplished in a similar
76         way as touch events, using IOHIDEvent machinery. Also adds callbacks to the UIScriptController JS API that
77         allows us to run code when the keyboard is shown or hidden.
78
79         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Adds the typeCharacter JS interface.
80         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
81         (WTR::UIScriptController::setDidShowKeyboardCallback):
82         (WTR::UIScriptController::didShowKeyboardCallback):
83         (WTR::UIScriptController::setDidHideKeyboardCallback):
84         (WTR::UIScriptController::didHideKeyboardCallback):
85         (WTR::UIScriptController::typeCharacterUsingHardwareKeyboard):
86         (WTR::UIScriptController::platformSetDidShowKeyboardCallback):
87         (WTR::UIScriptController::platformSetDidHideKeyboardCallback):
88         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
89         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
90         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
91         (-[TestRunnerWKWebView initWithFrame:configuration:]): Registers the TestRunnerWKWebView to listen to
92                 the notifications that the keyboard has been raised or lowered.
93         (-[TestRunnerWKWebView _keyboardDidShow:]):
94         (-[TestRunnerWKWebView _keyboardDidHide:]):
95         * WebKitTestRunner/ios/HIDEventGenerator.h:
96         * WebKitTestRunner/ios/HIDEventGenerator.m:
97         (-[HIDEventGenerator _sendIOHIDKeyboardEvent:usage:isKeyDown:]): Helper to send a HID keyboard event.
98         (shouldWrapWithShiftKeyEventForCharacter): Helper used to generate key events.
99         (hidUsageCodeForCharacter): Ditto.
100         (-[HIDEventGenerator keyDown:completionBlock:]): Synthesizes and sends HIDKeyboardEvents, triggering
101                 a keyDown event in WebKit.
102         * WebKitTestRunner/ios/IOKitSPI.h:
103         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
104
105 2015-10-01  Carlos Garcia Campos  <cgarcia@igalia.com>
106
107         Unreviewed, rolling out r190399.
108
109         Tests are still failing even after r190362
110
111         Reverted changeset:
112
113         "Unreviewed. Unskip GTK+ user media unit tests after r190362."
114         http://trac.webkit.org/changeset/190399
115
116 2015-10-01  Csaba Osztrogonác  <ossy@webkit.org>
117
118         [jhbuild] switch to new upstream usrsctp library
119         https://bugs.webkit.org/show_bug.cgi?id=149494
120
121         Reviewed by Philippe Normand.
122
123         * efl/jhbuild.modules:
124         * gtk/jhbuild.modules:
125
126 2015-10-01  Carlos Garcia Campos  <cgarcia@igalia.com>
127
128         Unreviewed. Unskip GTK+ user media unit tests after r190362.
129
130         They should pass now.
131
132         * Scripts/run-gtk-tests:
133         (TestRunner):
134
135 2015-09-30  Daniel Bates  <dabates@apple.com>
136
137         Another attempt to fix the build after <https://trac.webkit.org/changeset/190387>
138         (https://bugs.webkit.org/show_bug.cgi?id=149695)
139
140         * BuildSlaveSupport/built-product-archive:
141         (determineWebKitBuildDirectories): Substitute _configurationBuildDirectory for _buildDirectory.
142         (extractBuiltProduct): Substitute _topLevelBuildDirectory for _buildDirectory.
143
144 2015-09-30  Daniel Bates  <dabates@apple.com>
145
146         Attempt to fix the build after <https://trac.webkit.org/changeset/190387>
147         (https://bugs.webkit.org/show_bug.cgi?id=149695)
148
149         Actually, we need to pass --configuration to script webkit-build-directory to have
150         it return the path to the configuration-specific build directory.
151
152         * BuildSlaveSupport/built-product-archive:
153         (determineWebKitBuildDirectories):
154
155 2015-09-30  Daniel Bates  <dabates@apple.com>
156
157         built-product-archive archives incorrect build directory for iOS port
158         https://bugs.webkit.org/show_bug.cgi?id=149695
159
160         Reviewed by Darin Adler.
161
162         Fixes an issue where the script built-product-archive archives a non-existent
163         build directory for the iOS port. Without loss of generality, the script assumes
164         the path to the Release configuration build for iOS is in directory WebKitBuild/Release.
165         But the built products for this configuration are in directory WebKitBuild/Release-iphonesimulator.
166
167         Currently the script built-product-archive calls `webkit-build-directory --top-level ...`
168         to determine the top-level build directory and computes the configuration-specific
169         build directory to be the concatenation of the the top-level build directory and
170         the configuration (e.g. Release). This is incorrect. Instead we should call
171         webkit-build-directory omitting the flag --top-level to compute the path to the
172         configuration-specific build directory.
173
174         * BuildSlaveSupport/built-product-archive: Fix up the style such that we use single quoted literals.
175         (main): Renamed global variable _buildDirectory to _topLevelBuildDirectory to better describe
176         its purpose and added global variable _configurationBuildDirectory to store the path
177         to the configuration-specific build directory. Ensure that we have a non-empty string
178         for both the top-level and configuration-specific build directories.
179         (determineWebKitBuildDirectories): Formerly named determineWebKitBuildDirectory.
180         Compute the configuration-specific build directory and store it in the global variable
181         _configurationBuildDirectory.
182         (archiveBuiltProduct): Modified to use _configurationBuildDirectory.
183         (extractBuiltProduct): Modified to use _configurationBuildDirectory and _topLevelBuildDirectory
184         as needed.
185         (determineWebKitBuildDirectory): Deleted.
186
187 2015-09-30  Hunseop Jeong  <hs85.jeong@samsung.com>
188
189         [EFL] css3/device-adapt/* tests failed after r190335.
190         https://bugs.webkit.org/show_bug.cgi?id=149655
191
192         Reviewed by Simon Fraser.
193
194         device-adapt/* tests need the fixedLayout option but useFixedLayout option is
195         overwritten by updatePlatformSpecificViewOptionsForTest after r190335.
196
197         * WebKitTestRunner/efl/TestControllerEfl.cpp:
198         (WTR::shouldUseFixedLayout):
199
200 2015-09-30  Dewei Zhu  <dewei_zhu@apple.com>
201
202         Extend JetStream timeout for slow devices.
203
204         Reviewed by Chris Dumez.
205
206         Extend JetStream timeout to 20 minutes.
207
208         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
209
210 2015-09-30  Daniel Bates  <dabates@apple.com>
211
212         Rename iOS builders/testers to include version
213         https://bugs.webkit.org/show_bug.cgi?id=149685
214
215         Reviewed by Simon Fraser.
216
217         Substitute "Apple iOS 9" for "Apple iOS" in the names of iOS builders/testers so as
218         make it clear to a reader the version of iOS these builders/testers are using.
219
220         * BuildSlaveSupport/build.webkit.org-config/config.json:
221         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
222
223 2015-09-30  Daniel Bates  <dabates@apple.com>
224
225         Add iOS criterion for triggering a build
226         https://bugs.webkit.org/show_bug.cgi?id=149679
227
228         Rubber-stamped by Alexey Proskuryakov.
229
230         First pass at defining criterion for triggering an iOS build.
231
232         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
233         (_should_file_trigger_build):
234         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
235         (ShouldBuildTest):
236         (ShouldBuildTest.test_should_build):
237
238 2015-09-29  Simon Fraser  <simon.fraser@apple.com>
239
240         [iOS] Allow tests to generate user gestures for UI testing
241         https://bugs.webkit.org/show_bug.cgi?id=149653
242
243         Reviewed by Tim Horton.
244
245         Expose functionality in UIScriptController to allow for testing single- and double-tap,
246         and to listen for completion of scrolling and zooming in the WKWebView.
247         
248         Tap generation is done using synthetic IOHIDEvents, via a new HIDEventGenerator class
249         which hides the complexity of creating these events. Event dispatch is asynchronous.
250         We detect when the last event has been handled by dispatching a vendor-specific event,
251         which is detected via -_handleHIDEvent: in our UIApplication subclass.
252         
253         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Link with IOKit.
254         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl: Two new properties
255         for 'will begin zooming' and 'did end zooming' callbacks, and functions to dispatch
256         single and double taps.
257         * WebKitTestRunner/UIScriptContext/UIScriptContext.cpp:
258         (UIScriptContext::registerCallback): Used to store the callbacks for zooming.
259         Unlike the "task" callbacks, these are persistent, but we store them in the same hash map.
260         (UIScriptContext::unregisterCallback):
261         (UIScriptContext::callbackWithID):
262         (UIScriptContext::fireCallback):
263         * WebKitTestRunner/UIScriptContext/UIScriptContext.h:
264         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
265         (WTR::UIScriptController::setWillBeginZoomingCallback): Cross-platform code.
266         (WTR::UIScriptController::willBeginZoomingCallback): Ditto.
267         (WTR::UIScriptController::setDidEndZoomingCallback):
268         (WTR::UIScriptController::didEndZoomingCallback):
269         (WTR::UIScriptController::singleTapAtPoint): Non-iOS stub.
270         (WTR::UIScriptController::doubleTapAtPoint): Ditto.
271         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
272         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
273         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
274         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
275         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: Properties for the zooming callbacks.
276         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
277         (-[TestRunnerWKWebView zoomToScale:animated:completionHandler:]): Dispatch the zooming callback.
278         (-[TestRunnerWKWebView scrollViewWillBeginZooming:withView:]): Ditto.
279         (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]): Ditto.
280         (-[TestRunnerWKWebView onDidEndZooming:]): Deleted.
281         * WebKitTestRunner/ios/HIDEventGenerator.h: Copied from Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h.
282         * WebKitTestRunner/ios/HIDEventGenerator.m: Added.
283         (simpleDragCurve):
284         (calculateNextLocation):
285         (delayBetweenMove):
286         (+[HIDEventGenerator sharedHIDEventGenerator]):
287         (+[HIDEventGenerator nextEventCallbackID]):
288         (-[HIDEventGenerator init]):
289         (-[HIDEventGenerator _createIOHIDEventType:]):
290         (-[HIDEventGenerator _sendHIDEvent:]):
291         (-[HIDEventGenerator _sendMarkerHIDEventWithCompletionBlock:]):
292         (-[HIDEventGenerator _updateTouchPoints:count:]):
293         (-[HIDEventGenerator touchDownAtPoints:touchCount:]):
294         (-[HIDEventGenerator touchDown:touchCount:]):
295         (-[HIDEventGenerator touchDown:]):
296         (-[HIDEventGenerator liftUpAtPoints:touchCount:]):
297         (-[HIDEventGenerator liftUp:touchCount:]):
298         (-[HIDEventGenerator liftUp:]):
299         (-[HIDEventGenerator moveToPoints:touchCount:duration:]):
300         (-[HIDEventGenerator sendTaps:location:withNumberOfTouches:completionBlock:]):
301         (-[HIDEventGenerator tap:completionBlock:]):
302         (-[HIDEventGenerator doubleTap:completionBlock:]):
303         (-[HIDEventGenerator twoFingerTap:completionBlock:]):
304         (-[HIDEventGenerator dragWithStartPoint:endPoint:duration:completionBlock:]):
305         (-[HIDEventGenerator pinchCloseWithStartPoint:endPoint:duration:completionBlock:]):
306         (-[HIDEventGenerator pinchOpenWithStartPoint:endPoint:duration:completionBlock:]):
307         (-[HIDEventGenerator markerEventReceived:]):
308         * WebKitTestRunner/ios/IOKitSPI.h: Added.
309         * WebKitTestRunner/ios/UIKitSPI.h: Copied from Tools/WebKitTestRunner/cocoa/TestRunnerWKWebView.h.
310         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
311         (WTR::globalToContentCoordinates):
312         (WTR::UIScriptController::singleTapAtPoint):
313         (WTR::UIScriptController::doubleTapAtPoint):
314         (WTR::UIScriptController::platformSetWillBeginZoomingCallback):
315         (WTR::UIScriptController::platformSetDidEndZoomingCallback):
316         * WebKitTestRunner/ios/mainIOS.mm:
317         (-[WebKitTestRunnerApp _handleHIDEvent:]):
318
319 2015-09-30  Dana Burkart  <dburkart@apple.com>
320
321         git-add-reviewer should trim trailing spaces/newlines
322         https://bugs.webkit.org/show_bug.cgi?id=149513
323
324         Reviewed by Darin Adler.
325
326         * Scripts/git-add-reviewer:
327         (nonInteractive):
328
329 2015-09-30  Eric Carlson  <eric.carlson@apple.com>
330
331         REGRESSION(r190262): User media unit test failures after r190262
332         https://bugs.webkit.org/show_bug.cgi?id=149580
333
334         Reviewed by Darin Adler.
335
336         * WebKitTestRunner/TestController.cpp:
337         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Fix parameter
338           order to WKUserMediaPermissionRequestAllow.
339
340 2015-09-30  Daniel Bates  <dabates@apple.com>
341
342         Add iOS builders and testers
343         https://bugs.webkit.org/show_bug.cgi?id=149549
344
345         Reviewed by Alexey Proskuryakov.
346
347         Adds definitions for 64-bit iOS Simulator release builders and testers and a iOS device
348         builder that builds universal release binaries for armv7, armv7s and arm64 architectures.
349
350         * BuildSlaveSupport/build.webkit.org-config/config.json: Add definitions for builders and testers.
351         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Update unit tests.
352
353 2015-09-30  Timothy Hatcher  <timothy@apple.com>
354
355         Give WebKitLauncher the get-task-allow entitlement to allow it to work on El Capitan
356         https://bugs.webkit.org/show_bug.cgi?id=149674
357
358         Reviewed by Lucas Forschler.
359
360         * WebKitLauncher/WebKitLauncher.entitlements: Added.
361         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
362
363 2015-09-30  Jason Marcell  <jmarcell@apple.com>
364
365         BuildbotQueueView.prototype._appendPendingRevisionCount should skip repositories that don't
366         have an associated trac instance.
367         https://bugs.webkit.org/show_bug.cgi?id=149673
368
369         Reviewed by Alexey Proskuryakov.
370
371         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
372         (BuildbotQueueView.prototype._appendPendingRevisionCount): Skip repositories that don't
373         have an associated trac instance.
374
375 2015-09-30  Daniel Bates  <dabates@apple.com>
376
377         Prioritize testing latest build request on iOS test bots
378         https://bugs.webkit.org/show_bug.cgi?id=149669
379
380         Reviewed by Darin Adler.
381
382         We should prioritize testing of the latest build request on the iOS test bots
383         as we do for Mac and Windows test bots.
384
385         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
386         (loadBuilderConfig):
387
388 2015-09-30  Daniel Bates  <dabates@apple.com>
389
390         Add buildbot category for iOS builders and testers
391         https://bugs.webkit.org/show_bug.cgi?id=149667
392
393         Reviewed by Darin Adler.
394
395         Group iOS builders and testers under category iOS and add dashboard and console hyperlinks
396         for iOS to the build.webkit.org home page.
397
398         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
399         (loadBuilderConfig):
400         * BuildSlaveSupport/build.webkit.org-config/templates/root.html:
401
402 2015-09-30  Daniel Bates  <dabates@apple.com>
403
404         Actually fix the Mac builders build after <http://trac.webkit.org/changeset/190219>
405         (https://bugs.webkit.org/show_bug.cgi?id=149539)
406
407         I inadvertently didn't remove the ONLY_ACTIVE_ARCH=NO flag when building on a Mac
408         in <http://trac.webkit.org/changeset/190351>.
409
410         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
411         (CompileWebKit.start):
412
413 2015-09-30  Daniel Bates  <dabates@apple.com>
414
415         Attempt to fix the Mac builders build after <http://trac.webkit.org/changeset/190219>
416         (https://bugs.webkit.org/show_bug.cgi?id=149539)
417
418         {32, 64}-bit Mac builders should not try to build project {Plugin.64, Plugin.32},
419         respectively; only pass ONLY_ACTIVE_ARCH=NO when building for iOS.
420
421         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
422         (CompileWebKit.start):
423
424 2015-09-30  Lucas Forschler  <lforschler@apple.com>
425
426         bot210 was configured for a queue instead of bot126.
427         
428         Unreviewed config.json fix.
429         
430         * BuildSlaveSupport/build.webkit.org-config/config.json:
431
432 2015-09-30  Lucas Forschler  <lforschler@apple.com>
433
434         Bring El Capitan buildbot infrastructure online.
435         https://bugs.webkit.org/show_bug.cgi?id=149605
436         
437         Reviewed by Darin Adler.
438
439         * BuildSlaveSupport/build.webkit.org-config/config.json:
440
441 2015-09-30  Tomas Popela  <tpopela@redhat.com>
442
443         [GTK] Deprecation warnings in DOMNodeTest
444         https://bugs.webkit.org/show_bug.cgi?id=149663
445
446         After the webkit_dom_document_get_elements_by_tag_name deprecation we
447         need to update the tests to use webkit_dom_document_query_selector_all
448         to avoid compilation warnings.
449
450         Also add a new test for webkit_dom_document_get_elements_by_tag_name_as_html_collection
451         (the suggested replacement for the deprecated function).
452
453         Reviewed by Carlos Garcia Campos.
454
455         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
456         (WebKitDOMNodeTest::testTagNamesNodeList):
457         (WebKitDOMNodeTest::testTagNamesHTMLCollection):
458         (registerTests):
459         (WebKitDOMNodeTest::testTagNames): Deleted.
460         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
461         (prepareDOMForTagNamesTests):
462         (testWebKitDOMNodeTagNamesNodeList):
463         (testWebKitDOMNodeTagNamesHTMLCollection):
464         (beforeAll):
465         (testWebKitDOMNodeTagNames): Deleted.
466
467 2015-09-29  Simon Fraser  <simon.fraser@apple.com>
468
469         WebKitTestRunner fails to apply "useFlexibleViewport" when it's specified in a file comment
470         https://bugs.webkit.org/show_bug.cgi?id=149650
471
472         Reviewed by Tim Horton.
473         
474         TestInvocation::invoke() consulted shouldMakeViewportFlexible(), but that only
475         looks at the file path, and not the custom options that come from file comments.
476         
477         Fix by computing TestOptions before making the TestInvocation, and setting them
478         as const TestInvocation data. This meant changing various call sites to take
479         the std::string pathOrURL, rather than the TestInvocation itself.
480         
481         Also initialize TestInvocation with a WKURLRef, rather than a std::string.
482
483         * WebKitTestRunner/CMakeLists.txt:
484         * WebKitTestRunner/TestController.cpp:
485         (WTR::TestController::ensureViewSupportsOptionsForTest):
486         (WTR::testPath):
487         (WTR::createTestURL):
488         (WTR::updateTestOptionsFromTestHeader):
489         (WTR::TestController::testOptionsForTest):
490         (WTR::TestController::updateWebViewSizeForTest):
491         (WTR::TestController::updateWindowScaleForTest):
492         (WTR::TestController::runTest):
493         * WebKitTestRunner/TestController.h:
494         * WebKitTestRunner/TestInvocation.cpp:
495         (WTR::TestInvocation::TestInvocation):
496         (WTR::TestInvocation::invoke):
497         (WTR::createWKURL): Deleted.
498         (WTR::TestInvocation::shouldMakeViewportFlexible): Deleted.
499         (WTR::TestInvocation::shouldUseFixedLayout): Deleted.
500         * WebKitTestRunner/TestInvocation.h:
501         (WTR::TestInvocation::options):
502         * WebKitTestRunner/TestOptions.cpp: Copied from Tools/WebKitTestRunner/TestOptions.h.
503         (WTR::pathContains):
504         (WTR::shouldMakeViewportFlexible):
505         (WTR::shouldUseFixedLayout):
506         (WTR::isSVGTestPath):
507         (WTR::isHiDPITestPath):
508         (WTR::TestOptions::TestOptions):
509         * WebKitTestRunner/TestOptions.h:
510         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
511         * WebKitTestRunner/efl/TestControllerEfl.cpp:
512         (WTR::pathContains):
513         (WTR::shouldUseFixedLayout):
514         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
515         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
516         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
517         * WebKitTestRunner/ios/TestControllerIOS.mm:
518         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
519         * WebKitTestRunner/mac/TestControllerMac.mm:
520         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
521
522 2015-09-29  Aakash Jain  <aakash_jain@apple.com>
523
524         Flakiness dashboard should support OS X El Capitan
525         https://bugs.webkit.org/show_bug.cgi?id=149648
526
527         Reviewed by Alexey Proskuryakov.
528
529         * QueueStatusServer/app.yaml: We do not need to maintain SVN revision here because of 
530         difference between new appscale and old Google App Engine implementation.
531         * TestResultServer/app.yaml: Same.
532         * TestResultServer/static-dashboards/builders.jsonp: Added OSX El Capitan support.
533
534 2015-09-29  Daniel Bates  <dabates@apple.com>
535
536         configure-xcode-for-ios-development does not work with Xcode 7
537         https://bugs.webkit.org/show_bug.cgi?id=149640
538
539         Reviewed by Alexey Proskuryakov.
540
541         When Xcode 7 is installed, running configure-xcode-for-ios-development dies with an error
542         because it cannot find the Xcode specification files for iOS simulator and device. These
543         files have moved to a new location in Xcode 7 distribution. Moreover we must add the
544         relevant definitions to the Xcode 7 specification files directly as opposed to creating
545         new specification files with the added definitions (as we did in older versions of Xcode)
546         in order for Xcode 7 to honor these definitions.
547
548         * Scripts/configure-xcode-for-ios-development: Sorted forward declarations.
549         (updateXcodeSpecificationFilesForSDKIfNeeded): Added.
550         (updateXcode7SpecificationFile): Added.
551         (createLegacyXcodeSpecificationFilesForSDKIfNeeded): Formerly named createXcodeSpecificationFilesForSDKIfNeeded.
552         (writeXcodeSpecification): Moved congratulations line to caller so as to write out the
553         appropriate success message.
554         (mergeXcodeSpecificationWithSpecificationAndId): Formerly named createXcodeSpecificationFromSpecificationAndId.
555         (createXcodeSpecificationFilesForSDKIfNeeded): Deleted.
556         (createXcodeSpecificationFromSpecificationAndId): Deleted.
557
558 2015-09-29  Brent Fulgham  <bfulgham@apple.com>
559
560         [Win] Allow 'prepare-ChangeLog' to be used without Cygwin
561         https://bugs.webkit.org/show_bug.cgi?id=149639
562
563         Reviewed by Alex Christensen.
564
565         * Scripts/VCSUtils.pm:
566         (exitStatus): Use 'isWindows()' method.
567         (isSVNVersion16OrNewer): 'eval' is not needed here, and just causes
568         an error. This method could probably just go away.
569         (normalizePath): Leave Windows (or Unix) paths as platform paths, rather than
570         always changing to Unix style. 
571         (unixPath): Added. Needed so Windows can always show a Unix path in the
572         ChangeLog file.
573         (changeLogName): Work around the fact that 'getpwuid' is not available on
574         a pure Windows build of Perl.
575         * Scripts/prepare-ChangeLog:
576         (generateFunctionLists): Normalize path received from 'svn' in case it's a Unix
577         path on Windows.
578         (svnUpdateCommand): Added helper function. Needed because Windows Perl does not
579         support using arrays for 'open' arguments.
580         (resolveChangeLogsPath): Ditto.
581         (resolveConflictedChangeLogs): Use new helper functions.
582         (generateNewChangeLogs): Force Windows to use Unix paths in ChangeLog output.
583         (diffCommand): Use double-quotes for paths, since Windows doesn't understand single
584         quotes. Unix systems are happy either way.
585         (statusCommand): Ditto.
586         * Scripts/webkitdirs.pm:
587         (launcherName): Drive-by fix. WinLauncher was renamed to MiniBrowser some time ago.
588
589 2015-09-29  Brent Fulgham  <bfulgham@apple.com>
590
591         [Win] Unreviewed 64-bit build fix after switch to CMake.
592
593         * Scripts/webkitdirs.pm:
594         (determineIsWin64FromArchitecture): Added.
595
596 2015-09-16  Carlos Garcia Campos  <cgarcia@igalia.com>
597
598         printing does not use minimum page zoom factor
599         https://bugs.webkit.org/show_bug.cgi?id=108507
600
601         Reviewed by Darin Adler.
602
603         WebKitTestRunner always takes the snapshots from the UI process
604         (expect for IOS), so in the case of printing, the layout in the
605         web view is not the expected one. When printing, we need to take
606         the snapshot in the web process and ensure it's rendered with a
607         PrintContext.
608
609         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
610         (WTR::InjectedBundlePage::dump): When dumping pixels, pass
611         kWKSnapshotOptionsPrinting option to
612         WKBundlePageCreateSnapshotWithOptions() when printing.
613
614 2015-09-28  Carlos Garcia Campos  <cgarcia@igalia.com>
615
616         [WTR] Pixel tests generate the snapshots twice in Web and UI processes
617         https://bugs.webkit.org/show_bug.cgi?id=149595
618
619         Reviewed by Tim Horton.
620
621         All ports except IOS implement
622         PlatformWebView::windowSnapshotImage() to generate the snapshot
623         for the pixel tests in the UI process. But we are still generating
624         a snapshot for pixel tests in the Web process too, that is passed
625         to the UI process but ignored.
626         Whether a pixel result is needed or not, is only known by the web
627         process depending on whether the test called dumpAsText with
628         dumpPixels == true or not. Since the pixels are now dump in the UI
629         process, we need to pass that information to the UI process when
630         the test is done. For that we set a PixelResultIsPending bool
631         parameter to the Done message, and we only add the PixelResult
632         when UI process doesn't need to generate the pixels dump.
633
634         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
635         (WTR::InjectedBundle::didReceiveMessageToPage): Set
636         m_pixelResultIsPending to false on reset.
637         (WTR::InjectedBundle::done): Add PixelResultIsPending parameter to the
638         Done message, and set the PixelResult if m_pixelResultIsPending is false.
639         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
640         (WTR::InjectedBundle::setPixelResult): Set m_pixelResultIsPending to false.
641         (WTR::InjectedBundle::setNeedsPixelResult): Set m_pixelResultIsPending.
642         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
643         (WTR::InjectedBundlePage::dump): Only create a snapshot for IOS
644         port.
645         * WebKitTestRunner/TestInvocation.cpp:
646         (WTR::TestInvocation::dumpResults): Use either the pixel result
647         from the web process or generate a pixel result from the web view
648         if need it.
649         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
650         * WebKitTestRunner/TestInvocation.h: Add SnapshotResultType enum
651         parameter to dumpPixelsAndCompareWithExpected, since the snapshot
652         is created by the caller now, but the CG implementation needs to
653         know if it's a Web or UI process snapshot.
654         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
655         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
656         cairo surface for the given image.
657         * WebKitTestRunner/cg/TestInvocationCG.cpp:
658         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
659         CGContext for the given image.
660
661 2015-09-28  Dean Johnson  <dean_johnson@apple.com>
662
663         Fix JS errors on dashboard metrics page
664         https://bugs.webkit.org/show_bug.cgi?id=149608
665
666         Reviewed by Alexey Proskuryakov.
667
668         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Updated to use Settings.
669         (initPlatformsByFamily): 
670         (updateHiddenPlatforms):
671         (parsePlatformFamily): Deleted.
672         (updateToggleButtons): Deleted.
673         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
674         (updateHiddenPlatforms): Added to remove errors.
675         (initPlatformsByFamily): Added to remove errors.
676         (unhiddenQueues): Updated to use Settings.
677         (documentReady): Added logic to add toggle buttons to the settings menu.
678         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
679         (Settings.prototype.parsePlatformFamily): Moved duplicate logic from Main.js and
680         MetricsMain.js to Settings.
681         (Settings.prototype.updateToggleButtons): Moved duplicate logic from Main.js and
682         MetricsMain.js to Settings.
683         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
684         (QueueView.prototype._updateHiddenState): Updated to use Settings.
685
686 2015-09-28  Aakash Jain  <aakash_jain@apple.com>
687
688         Appscale query fails because of missing index
689         https://bugs.webkit.org/show_bug.cgi?id=149609
690
691         Reviewed by Darin Adler.
692
693         * QueueStatusServer/index.yaml: Added the required index.
694
695 2015-09-28  Brent Fulgham  <bfulgham@apple.com>
696
697         [Win] Fix the 64-bit build after switch to cmake.
698
699         Reviewed by Alex Christensen.
700
701         * Scripts/webkitdirs.pm:
702         (generateBuildSystemFromCMakeProject): Use correct arguments for cmake to
703         run a 64-bit build.
704
705 2015-09-28  Brent Fulgham  <bfulgham@apple.com>
706
707         [Win] Allow Windows to run test-webkitpy without Cygwin
708         https://bugs.webkit.org/show_bug.cgi?id=149602
709
710         Reviewed by Alex Christensen.
711
712         These changes mostly shift from hard-coded paths using UNIX-style
713         separators to Python's "os.path.join" syntax that uses the correct
714         path separator for each platform.
715         
716         * Scripts/webkitpy/common/system/path.py:
717         (cygpath): Don't pass paths through Cygpath on native Windows.
718         * Scripts/webkitpy/port/win.py:
719         (WinPort._path_to_apache): Use os.path.join.
720         (WinPort._ntsd_location): Support 64-bit environment (ProgramW6432 doesn't exist
721         in 64-bit environments).
722         * Scripts/webkitpy/style/checker.py: Use os.path.join.
723         * Scripts/webkitpy/style/checker_unittest.py:
724         (GlobalVariablesTest.test_path_rules_specifier.assertNoCheck): Use os.path.join.
725         (GlobalVariablesTest.test_path_rules_specifier): Ditto.
726         (GlobalVariablesTest): Ditto.
727         (GlobalVariablesTest.test_max_reports_per_category): Ditto.
728         (CheckerDispatcherSkipTest.test_should_skip_with_warning): Ditto.
729         (CheckerDispatcherDispatchTest.test_js_paths): Ditto.
730         (CheckerDispatcherDispatchTest.test_json_paths): Ditto.
731         (CheckerDispatcherDispatchTest.test_python_paths): Ditto.
732         (CheckerDispatcherDispatchTest.test_text_paths): Ditto.
733         (CheckerDispatcherDispatchTest.test_xml_paths): Ditto.
734         (StyleProcessor_CodeCoverageTest._create_carriage_checker_class): Ditto.
735         (StyleProcessor_CodeCoverageTest): Ditto.
736         (StyleProcessor_CodeCoverageTest.test_should_process__skip_without_warning): Ditto.
737         (StyleProcessor_CodeCoverageTest.test_should_process__skip_with_warning): Ditto.
738         (StyleProcessor_CodeCoverageTest.test_should_process__true_result): Ditto.
739         * Scripts/webkitpy/w3c/test_parser_unittest.py: Uses os.path.join rather than
740         manual string concatenation of paths.
741
742 2015-09-28  Csaba Osztrogonác  <ossy@webkit.org>
743
744         Add bugzilla addresses of committers to contributors.json
745         https://bugs.webkit.org/show_bug.cgi?id=149520
746
747         Reviewed by Darin Adler.
748
749         * Scripts/webkitpy/common/config/contributors.json:
750
751 2015-09-28  Csaba Osztrogonác  <ossy@webkit.org>
752
753         validate-committer-lists -b shouldn't need edituser privileges
754         https://bugs.webkit.org/show_bug.cgi?id=149519
755
756         Reviewed by Darin Adler.
757
758         * Scripts/validate-committer-lists:
759         (CommitterListBugzillaChecker._has_invalid_bugzilla_email):
760         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
761         (BugzillaQueries.is_invalid_bugzilla_email):
762         (BugzillaQueries): Deleted.
763         (BugzillaQueries.fetch_logins_matching_substring): Deleted.
764
765 2015-09-26  Carlos Garcia Campos  <cgarcia@igalia.com>
766
767         Unreviewed. Gardening: skip media stream tests failing after r190262.
768
769         * Scripts/run-gtk-tests:
770         (TestRunner):
771
772 2015-09-25  Alexey Proskuryakov  <ap@apple.com>
773
774         [Mac] USE_INTERNAL_SDK is used undefined in tools projects
775         https://bugs.webkit.org/show_bug.cgi?id=149571
776
777         Reviewed by Dan Bernstein.
778
779         Use the same pattern as in Source directory configurations (so, also get rid of AspenFamily.xcconfig). 
780
781         * DumpRenderTree/mac/Configurations/Base.xcconfig:
782         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
783         * LayoutTestRelay/Configurations/Base.xcconfig:
784         * MiniBrowser/Configurations/Base.xcconfig:
785         * MiniBrowser/Configurations/DebugRelease.xcconfig:
786         * TestWebKitAPI/Configurations/Base.xcconfig:
787         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
788         * WebEditingTester/Configurations/Base.xcconfig:
789         * WebEditingTester/Configurations/DebugRelease.xcconfig:
790         * WebKitTestRunner/Configurations/Base.xcconfig:
791         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
792         * WebKitTestRunner/iOS.xcconfig: Removed.
793
794 2015-09-25  Eric Carlson  <eric.carlson@apple.com>
795
796         Clean up user media request internal API
797         https://bugs.webkit.org/show_bug.cgi?id=149527
798
799         Reviewed by Tim Horton.
800
801         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
802         (TestWebKitAPI::decidePolicyForUserMediaPermissionRequestCallBack): Update for API changes.
803
804         * WebKitTestRunner/TestController.cpp:
805         (WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible): Ditto.
806
807 2015-09-25  Simon Fraser  <simon.fraser@apple.com>
808
809         [iOS WK2] Add viewport tests and fix runUIScript() timing issues
810         https://bugs.webkit.org/show_bug.cgi?id=149577
811
812         Reviewed by Tim Horton.
813         
814         When calling testRunner.runUIScript() from a page load event, the script could run
815         in the UI process before the current remote layer tree transaction had been handled
816         there. This meant that runUIScript() could query state which was about to change.
817         
818         Fix by delaying the execution of the UI script until a layer tree transaction has
819         been handled by the UI process, leveraging the existing DrawingAreaProxy::dispatchAfterEnsuringDrawing().
820
821         * WebKitTestRunner/TestInvocation.cpp:
822         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
823         (WTR::TestInvocation::runUISideScriptAfterUpdateCallback):
824         * WebKitTestRunner/TestInvocation.h:
825
826 2015-09-25  Alexey Proskuryakov  <ap@apple.com>
827
828         [Mac] Media tests start to time out after a few days of bot uptime
829         https://bugs.webkit.org/show_bug.cgi?id=149468
830
831         Reviewed by Darin Adler.
832
833         Delete cache directory in addition to the temporary one. Don't delete /private/tmp/MediaCache,
834         as it's not longer used by tests. Set TMPDIR and DIRHELPER_USER_DIR_SUFFIX to make
835         all temporary and cache files go to a custom location.
836
837         * Scripts/webkitpy/port/base.py:
838         * Scripts/webkitpy/port/driver.py:
839         * Scripts/webkitpy/port/mac.py:
840         * Scripts/webkitpy/port/win.py:
841         (WinPort._driver_tempdir_for_environment): Deleted unused function.
842
843 2015-09-25  Dan Bernstein  <mitz@apple.com>
844
845         Removed MiniBrowser.entitlements.
846
847         Rubber-stamped by Anders Carlsson.
848
849         The entitlements weren’t used anyway.
850
851         * MiniBrowser/MiniBrowser.entitlements: Removed.
852         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
853
854 2015-09-24  Daniel Bates  <dabates@apple.com>
855
856         Add WebKitSystemInterface for iOS 9.0
857         https://bugs.webkit.org/show_bug.cgi?id=149550
858
859         Rubber-stamped by Alexey Proskuryakov.
860
861         * Scripts/copy-webkitlibraries-to-product-directory:
862
863 2015-09-24  Daniel Bates  <dabates@apple.com>
864
865         Support building for arbitrary architectures
866         https://bugs.webkit.org/show_bug.cgi?id=149539
867
868         Reviewed by Alexey Proskuryakov.
869
870         Teach buildbot to pass the architectures associated with the builder to build-webkit
871         when building on OS X and iOS. As a side effect of this change we now support building
872         universal binaries when multiples architectures are specified.
873
874         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
875         (CompileWebKit.start):
876
877 2015-09-24  Daniel Bates  <dabates@apple.com>
878
879         Fix the build after <http://trac.webkit.org/changeset/190212>
880         (http://trac.webkit.org/changeset/190212)
881
882         I inadvertently did not remove the fullPlatform argument from one of the callers of archiveBuiltProduct().
883
884         * BuildSlaveSupport/built-product-archive:
885         (main):
886
887 2015-09-24  Daniel Bates  <dabates@apple.com>
888
889         Support running unit tests on iOS Simulator test bot
890         https://bugs.webkit.org/show_bug.cgi?id=149536
891
892         Reviewed by Alexey Proskuryakov.
893
894         Implements support for running unit tests on a iOS test bot. At the time of writing,
895         the script run-api-tests supports running unit tests on Mac, Windows and iOS Simulator.
896
897         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
898         (RunUnitTests.start): Append appropriate command line flag when invoking script run-api-tests.
899         (TestFactory.__init__): Add step RunUnitTests when the test bot is for the iOS Simulator platform.
900
901 2015-09-24  Daniel Bates  <dabates@apple.com>
902
903         Add support infrastructure for OpenSource iOS builders and testers
904         https://bugs.webkit.org/show_bug.cgi?id=149534
905
906         Reviewed by Darin Adler.
907
908         Towards setting up OpenSource iOS build bots, teach buildbot and its support
909         scripts about iOS.
910
911         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
912         (appendCustomBuildFlags): Require the caller to pass parameter fullPlatform and append
913         --ios-simulator or --device for a builder/tester whose full platform name begins with
914         "ios-simulator" or "ios", respectively.
915         (RunJavaScriptCoreTests.start): Pass the full platform name to appendCustomBuildFlags().
916         * BuildSlaveSupport/built-product-archive:
917         (main): Pass the full platform name to determineWebKitBuildDirectory().
918         (determineWebKitBuildDirectory): Call script webkit-build-directory with the appropriate
919         command line flag when building for iOS.
920         (archiveBuiltProduct): Use the same logic for iOS as we do for Mac. Also, remove unused
921         parameter fullPlatform. This parameter was originally added in r125066 to support the
922         Chromium Android port, which has since been removed from the OpenSource WebKit Project.
923         (extractBuiltProduct): Use the same logic for iOS as we do for Mac.
924         * BuildSlaveSupport/clean-build:
925         (main): Call script webkit-build-directory with the appropriate command line flag when
926         building for iOS.
927         * BuildSlaveSupport/delete-stale-build-files:
928         (main): Use the same logic for iOS as we do for Mac.
929         (webkitBuildDirectory): Call script webkit-build-directory with the appropriate command line
930         flag when building for iOS.
931         * BuildSlaveSupport/test-result-archive:
932         (archiveTestResults): Use the same logic for iOS as we do for Mac.
933
934 2015-09-24  Daniel Bates  <dabates@apple.com>
935
936         Remove Chromium-specific changes to script built-product-archive
937         https://bugs.webkit.org/show_bug.cgi?id=149530
938
939         Rubber-stamped by Csaba Osztrogonác.
940
941         Reverts changes made in r113074 and r113067 to support Chromium testers. The
942         Chromium code has long since been removed from the OpenSource WebKit Project.
943
944         * BuildSlaveSupport/built-product-archive:
945         (createZipManually):
946         (createZip):
947         (archiveBuiltProduct):
948
949 2015-09-24  Dan Bernstein  <mitz@apple.com>
950
951         Build fix.
952
953         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
954
955 2015-09-24  Mark Lam  <mark.lam@apple.com>
956
957         Unreviewed. Make Lucas Forschler a WebKit reviewer.
958
959         * Scripts/webkitpy/common/config/contributors.json:
960
961 2015-09-24  Carlos Garcia Campos  <cgarcia@igalia.com>
962
963         Unreviewed. Fix GObject DOM API breaks after r190120.
964
965         Bring back code removed in r169931 to handle documentation of
966         deleted classes.
967
968         * gtk/webkitdom.py:
969         (WebKitDOMDocGenerator):
970         (WebKitDOMDocGenerator.write_deleted_classes):
971         (WebKitDOMDocGenerator.generate):
972         (write_deleted_classes):
973         (WebKitDOMDocGeneratorSections._deleted_class):
974         (WebKitDOMDocGeneratorSections._deleted_class.in):
975         (WebKitDOMDocGeneratorSections.write_deleted_classes):
976         (WebKitDOMDocGeneratorSections.write_deleted_classes.with):
977
978 2015-09-23  Myles C. Maxfield  <mmaxfield@apple.com>
979
980         [Cocoa] [Font Features] Implement font-variant-*
981         https://bugs.webkit.org/show_bug.cgi?id=148413
982
983         Reviewed by Darin Adler.
984
985         Update test font to use "lnum" feature.
986
987         * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
988         (Generator::appendGSUBTable):
989
990 2015-09-22  Andy Estes  <aestes@apple.com>
991
992         ContentFiltering.AllowDownloadAfterAddData is very flaky
993         https://bugs.webkit.org/show_bug.cgi?id=148885
994         <rdar://problem/22729563>
995
996         Reviewed by Alexey Proskuryakov.
997
998         The AllowDownload* tests were relying on -_downloadDidStart: being called before -webView:didFinishNavigation:,
999         but there is no guarantee of this. For tests that should allow a download, spin the runloop until
1000         -_downloadDidStart: is called. The test will now timeout on failure, but will no longer produce false failures.
1001
1002         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1003         (downloadTest):
1004
1005 2015-09-22  Alexey Proskuryakov  <ap@apple.com>
1006
1007         Mavericks: Media tests start to time out after a few days of bot uptime
1008         https://bugs.webkit.org/show_bug.cgi?id=149468
1009
1010         Reviewed by Chris Dumez.
1011
1012         * Scripts/webkitpy/port/base.py:
1013         * Scripts/webkitpy/port/driver.py:
1014         * Scripts/webkitpy/port/mac.py:
1015
1016 2015-09-22  Nan Wang  <n_wang@apple.com>
1017
1018         Unreviewed, add myself to the committers list.
1019
1020         * Scripts/webkitpy/common/config/contributors.json:
1021
1022 2015-09-21  Simon Fraser  <simon.fraser@apple.com>
1023
1024         Remove 'nullable' to fix older iOS builds.
1025
1026         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1027         (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]):
1028
1029 2015-09-21  Brent Fulgham  <bfulgham@apple.com>
1030
1031         [Win] Show tiled drawing debug overlay on Windows
1032         https://bugs.webkit.org/show_bug.cgi?id=149426
1033
1034         Reviewed by Dean Jackson.
1035
1036         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Add new menu option.
1037         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Ditto.
1038         * MiniBrowser/win/Common.cpp:
1039         (::ToggleMenuItem): Recognize new menu item and toggle the 'showTiledScrollingIndicator'
1040         flag if needed.
1041         * MiniBrowser/win/MiniBrowser.h: Update to use new IWebPreferencesPrivate3 class.
1042
1043 2015-09-21  Brent Fulgham  <bfulgham@apple.com>
1044
1045         [Win] Use command-line argument to launch in regular or High DPI mode.
1046         https://bugs.webkit.org/show_bug.cgi?id=149417
1047
1048         Reviewed by Dean Jackson.
1049
1050         * MiniBrowser/win/Common.cpp:
1051         (parseCommandLine): Ignore the '--highDPI' argument. It's used at the
1052         very start of execution, before the MiniBrowser.dll is loaded.
1053         * win/DLLLauncher/DLLLauncherMain.cpp:
1054         (shouldUseHighDPI): Check for '--highDPI', and use this mode if
1055         present. On WinCairo, always use High DPI.
1056
1057 2015-09-21  Ryosuke Niwa  <rniwa@webkit.org>
1058
1059         32-bit Mac build fix attempt after r190065.
1060
1061         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1062
1063 2015-09-21  Alexey Proskuryakov  <ap@apple.com>
1064
1065         [OS X] Update for Xcode 7.0 on Yosemite
1066         https://bugs.webkit.org/show_bug.cgi?id=149389
1067
1068         Reviewed by Dan Bernstein.
1069
1070         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
1071         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
1072         Removed unneeded declarations - conforming to a protocol is sufficient.
1073
1074         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
1075         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
1076         Changed the definitions to be compiled whenever the SDK requires it (so we will have
1077         dead code compiled in when building for 10.10 with 10.11 SDK, somewhat unfortunately).
1078
1079 2015-09-21  Simon Fraser  <simon.fraser@apple.com>
1080
1081         Add the ability for tests to run script in the UI process in WebKitTestRunner
1082         https://bugs.webkit.org/show_bug.cgi?id=149356
1083
1084         Reviewed by Tim Horton.
1085
1086         This change adds testRunner.runUIScript(script, callback), which allows a test
1087         to execute script in a JSContext which runs in the UI process. That context
1088         has bindings exposed through the UIScriptController interface; currently one test
1089         function, and some iOS-specific functions are included. UIScriptController can be
1090         async with a callback, and runUIScript() itself is asynchronous. When the UI 
1091         script is complete, it calls uiController.uiScriptComplete(result), where 'result'
1092         is a string passed back to the web process, and given to the runUIScript()
1093         callback function.
1094         
1095         Thanks to Gyuyoung Kim for help with the Gtk/Efl build.
1096
1097         * WebKitTestRunner/DerivedSources.make: Build UIScriptController.idl.
1098         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Add runUIScript().
1099         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1100         (WTR::InjectedBundle::didReceiveMessageToPage): When the UI-side script is
1101         complete, call back into TestRunner.
1102         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1103         (WTR::nextUIScriptCallbackID):
1104         (WTR::TestRunner::runUIScript): Post a message to the injected bundle to run the UI script.
1105         (WTR::TestRunner::runUIScriptCallback): When the UI script is done, execute its callback function.
1106         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1107         * WebKitTestRunner/PlatformWebView.h:
1108         * WebKitTestRunner/TestController.cpp:
1109         (WTR::updateTestOptionsFromTestHeader):
1110         (WTR::TestController::testOptionsForTest): Support "useFlexibleViewport" as a test argument.
1111         (WTR::shouldUseFixedLayout): Deleted. Moved to a TestInvocation function.
1112         * WebKitTestRunner/TestInvocation.cpp:
1113         (WTR::TestInvocation::shouldUseFixedLayout):
1114         (WTR::TestInvocation::shouldUseThreadedScrolling):
1115         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1116         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1117         (WTR::TestInvocation::runUISideScript): Run the UI-side script!
1118         (WTR::TestInvocation::uiScriptDidComplete): Send a message back to the injected bundle.
1119         * WebKitTestRunner/TestInvocation.h:
1120         * WebKitTestRunner/TestOptions.h:
1121         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1122         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1123         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
1124         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: Added.
1125         (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]):
1126         (-[TestRunnerWKWebView zoomToScale:animated:completionHandler:]):
1127         (-[TestRunnerWKWebView scrollViewDidEndZooming:withView:atScale:]):
1128         (-[TestRunnerWKWebView onDidEndZooming:]): Allow a test to hook into the end of zooming.
1129         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1130         (WTR::PlatformWebView::PlatformWebView): Make a TestRunnerWKWebView on iOS.
1131         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Added.
1132         (WTR::UIScriptController::doAsyncTask):
1133         (WTR::UIScriptController::zoomToScale):
1134         (WTR::UIScriptController::zoomScale):
1135         (WTR::UIScriptController::minimumZoomScale):
1136         (WTR::UIScriptController::maximumZoomScale):
1137         (WTR::UIScriptController::contentVisibleRect):
1138         * WebKitTestRunner/mac/EventSenderProxy.mm:
1139         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1140         (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]): Deleted.
1141         * WebKitTestRunner/mac/TestControllerMac.mm:
1142         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
1143         (WTR::shouldUseThreadedScrolling): Deleted. Moved to TestInvocation.
1144         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.h:
1145         * WebKitTestRunner/uiscriptcontext/UIScriptContext.cpp: Added. Owns the JS context in the UI process.
1146         (UIScriptContext::UIScriptContext):
1147         (UIScriptContext::~UIScriptContext):
1148         (UIScriptContext::runUIScript): Entrypoint to running the UI script. If the script didn't do anything
1149         asynchronous, call the callback.
1150         (UIScriptContext::nextTaskCallbackID):
1151         (UIScriptContext::prepareForAsyncTask): Do setup for one async task (i.e. a UIScriptController function
1152         that has a callback). Has to store the callbackID of the script, so code called from the completion
1153         callback knows which UI script invoked it.
1154         (UIScriptContext::asyncTaskComplete): Called when one task is finished.
1155         (UIScriptContext::uiScriptComplete):
1156         (UIScriptContext::objectFromRect): Make a JS object from a rect.
1157         * WebKitTestRunner/uiscriptcontext/UIScriptContext.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
1158         (WTR::UIScriptContext::hasOutstandingAsyncTasks):
1159         * WebKitTestRunner/uiscriptcontext/UIScriptController.cpp: Copied from Tools/WebKitTestRunner/TestOptions.h.
1160         (WTR::UIScriptController::UIScriptController):
1161         (WTR::UIScriptController::makeWindowObject):
1162         (WTR::UIScriptController::wrapperClass):
1163         (WTR::UIScriptController::doAsyncTask):
1164         (WTR::UIScriptController::zoomToScale):
1165         (WTR::UIScriptController::zoomScale):
1166         (WTR::UIScriptController::minimumZoomScale):
1167         (WTR::UIScriptController::maximumZoomScale):
1168         (WTR::UIScriptController::contentVisibleRect):
1169         (WTR::UIScriptController::uiScriptComplete):
1170         * WebKitTestRunner/uiscriptcontext/UIScriptController.h: Copied from Tools/WebKitTestRunner/TestOptions.h.
1171         (WTR::UIScriptController::create):
1172         * WebKitTestRunner/uiscriptcontext/bindings/UIScriptController.idl: Copied from Tools/WebKitTestRunner/TestOptions.h.
1173
1174 2015-09-21  Tim Horton  <timothy_horton@apple.com>
1175
1176         Turn on threaded scrolling by default in the tests
1177         https://bugs.webkit.org/show_bug.cgi?id=149377
1178
1179         Reviewed by Simon Fraser.
1180
1181         * WebKitTestRunner/mac/TestControllerMac.mm:
1182         (WTR::TestController::updatePlatformSpecificTestOptionsForTest):
1183         (WTR::shouldUseThreadedScrolling): Deleted.
1184         Turn on threaded scrolling by default.
1185
1186 2015-09-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1187
1188         [GTK] run-gtk-tests doesn't provide feedback about crashing google tests
1189         https://bugs.webkit.org/show_bug.cgi?id=149252
1190
1191         Reviewed by Darin Adler.
1192
1193         In case of glib tests the test runner notifies about tests
1194         crashing, but for google tests we don't get any feedback, which
1195         means that in case of a test crashing we get a list of **PASS**
1196         messages and at the summary we are notified that the test suite
1197         has failed, but it's impossible to know which test cases have failed.
1198
1199         * Scripts/run-gtk-tests:
1200         (TestRunner._run_google_test): Add a **CRASH** message if test
1201         case crashed.
1202
1203 2015-09-20  Alexey Proskuryakov  <ap@apple.com>
1204
1205         WebKitTestRunner can leak user content script results between tests
1206         https://bugs.webkit.org/show_bug.cgi?id=149391
1207
1208         Reviewed by Sam Weinig.
1209
1210         Move WKBundlePageRemoveAllUserContent call so that it's executed before loading
1211         about:blank, and thus about:blank doesn't have unintended side effects.
1212
1213         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1214         (WTR::InjectedBundle::beginTesting):
1215         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1216         (WTR::InjectedBundlePage::resetAfterTest):
1217
1218 2015-09-20  Alexey Proskuryakov  <ap@apple.com>
1219
1220         [Mac, iOS] AccessibilityController doesn't uninstall global notification handler
1221         https://bugs.webkit.org/show_bug.cgi?id=149384
1222
1223         Reviewed by Chris Fleizach.
1224
1225         * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
1226         (AccessibilityController::addNotificationListener): Fixed a leak, and cleaned up the code.
1227         (AccessibilityController::platformResetToConsistentState): Actually remove the handler,
1228         regardless of whether someone else holds a reference (we also call -stopListening in
1229         -dealloc).
1230
1231         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1232         (AccessibilityController::platformResetToConsistentState):
1233         (AccessibilityController::addNotificationListener):
1234         Ditto.
1235
1236 2015-09-20  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1237
1238         Remove XHR_TIMEOUT compilation guard
1239         https://bugs.webkit.org/show_bug.cgi?id=149260
1240
1241         Reviewed by Benjamin Poulain.
1242
1243         * Scripts/webkitperl/FeatureList.pm:
1244
1245 2015-09-19  Dan Bernstein  <mitz@apple.com>
1246
1247         Attempted build fix.
1248
1249         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig:
1250
1251 2015-09-18  Commit Queue  <commit-queue@webkit.org>
1252
1253         Unreviewed, rolling out r189908.
1254         https://bugs.webkit.org/show_bug.cgi?id=149368
1255
1256         Broke run-webkit-tests --pixel (Requested by ap on #webkit).
1257
1258         Reverted changeset:
1259
1260         "printing does not use minimum page zoom factor"
1261         https://bugs.webkit.org/show_bug.cgi?id=108507
1262         http://trac.webkit.org/changeset/189908
1263
1264 2015-09-18  Andy Estes  <aestes@apple.com>
1265
1266         [iOS] did{Start,Finish}LoadForQuickLookDocumentInMainFrame is never called on WKNavigationDelegate
1267         https://bugs.webkit.org/show_bug.cgi?id=149360
1268
1269         Reviewed by Tim Horton.
1270
1271         Added an API test.
1272
1273         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1274         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm: Added.
1275         (-[QuickLookNavigationDelegate _webView:didStartLoadForQuickLookDocumentInMainFrameWithFileName:uti:]):
1276         (-[QuickLookNavigationDelegate _webView:didFinishLoadForQuickLookDocumentInMainFrame:]):
1277         (-[QuickLookNavigationDelegate webView:didFinishNavigation:]):
1278         (TEST):
1279         * TestWebKitAPI/ios/pages.pages: Added.
1280
1281 2015-09-18  Nan Wang  <n_wang@apple.com>
1282
1283         AX: Implement ARIA 1.1 @aria-current on iOS
1284         https://bugs.webkit.org/show_bug.cgi?id=149297
1285
1286         Reviewed by Chris Fleizach.
1287
1288         Added support to test aria-current on iOS.
1289
1290         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1291         (AccessibilityUIElement::stringAttributeValue):
1292         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
1293         (WTR::AccessibilityUIElement::stringAttributeValue):
1294
1295 2015-09-18  Alexey Proskuryakov  <ap@apple.com>
1296
1297         iOS WebKitTestRunner frequently crashes in WKContextGetIconDatabase
1298         https://bugs.webkit.org/show_bug.cgi?id=149352
1299
1300         Reviewed by Simon Fraser.
1301
1302         * WebKitTestRunner/TestController.cpp: (WTR::TestController::~TestController):
1303         m_context can be null. This may indicate a bug in webkitpy too, but
1304         WebKitTestRunner should handle this situation nicely, there is nothing intrinsically
1305         wrong with opening and immediately closing it.
1306
1307 2015-09-18  Daniel Bates  <dabates@apple.com>
1308
1309         isGitSVNDirectory() returns true when Git is not installed
1310         https://bugs.webkit.org/show_bug.cgi?id=149351
1311
1312         Reviewed by Alexey Proskuryakov.
1313
1314         Fixes an issue where VCSUtils::isGitSVNDirectory() returns true for any arbitrary directory if
1315         Git is not installed on the machine.
1316
1317         * Scripts/VCSUtils.pm:
1318         (isGitSVNDirectory): Ensure that `git config --get svn-remote.svn.fetch 2>& 1` exits with
1319         status code 0 (success).
1320
1321 2015-09-18  Alex Christensen  <achristensen@webkit.org>
1322
1323         Prevent build-webkit from building four times on Windows 
1324         https://bugs.webkit.org/show_bug.cgi?id=149336
1325
1326         Reviewed by Brent Fulgham.
1327
1328         * Scripts/build-webkit:
1329         Move the Windows code out of the for loop iterating over each subdirectory to be build.
1330         They're built all at once.
1331         * Scripts/webkitdirs.pm:
1332         (buildVisualStudioProject):
1333         (cmakeGeneratedBuildfile):
1334         Don't generate the Visual Studio solution if it already exists.
1335         It will run CMake again if necessary.
1336
1337 2015-09-17  Simon Fraser  <simon.fraser@apple.com>
1338
1339         [iOS WK2] WTR fails to set the key window in the UIKit sense
1340         https://bugs.webkit.org/show_bug.cgi?id=149325
1341
1342         Reviewed by Tim Horton.
1343
1344         -[WebKitTestRunnerWindow isKeyWindow] just returned _platformWebView->windowIsKey().
1345         This causes UIKit to bypass code that actually sets the key window, resulting in
1346         [UIAppliation sharedApplication].keyWindow always being nil.
1347
1348         Fix by PlatformWebView::setWindowIsKey() actually call -makeKeyWindow, and having
1349         -[WebKitTestRunnerWindow isKeyWindow] call super.
1350
1351         * WebKitTestRunner/PlatformWebView.h:
1352         (WTR::PlatformWebView::setWindowIsKey): Deleted.
1353         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1354         (WTR::PlatformWebView::setWindowIsKey):
1355         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1356         (WTR::PlatformWebView::setWindowIsKey):
1357         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1358         (-[WebKitTestRunnerWindow isKeyWindow]):
1359         (WTR::PlatformWebView::PlatformWebView):
1360         (WTR::PlatformWebView::~PlatformWebView):
1361         (WTR::PlatformWebView::setWindowIsKey):
1362         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1363         (WTR::PlatformWebView::setWindowIsKey):
1364
1365 2015-09-17  Simon Fraser  <simon.fraser@apple.com>
1366
1367         [iOS WK2] When loading viewport tests, use the normal web page viewport configuration
1368         https://bugs.webkit.org/show_bug.cgi?id=149321
1369
1370         Reviewed by Tim Horton.
1371         
1372         InjectedBundlePage::platformDidStartProvisionalLoadForFrame() unconditionally 
1373         enabled the "testing" viewport configuration, which disables page scaling.
1374         
1375         If we're running viewport tests, we want the normal web page configuration.
1376         Do that by passing a flag in the dictionary sent to InjectedBundle::beginTesting(),
1377         based on whether the test is in a "viewport" directory.
1378
1379         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1380         (WTR::InjectedBundle::beginTesting):
1381         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
1382         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Deleted.
1383         * WebKitTestRunner/TestInvocation.cpp:
1384         (WTR::TestInvocation::shouldLogFrameLoadDelegates):
1385         (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
1386         (WTR::TestInvocation::shouldMakeViewportFlexible):
1387         (WTR::TestInvocation::invoke):
1388         * WebKitTestRunner/TestInvocation.h:
1389         * WebKitTestRunner/ios/TestControllerIOS.mm:
1390         (WTR::TestController::platformConfigureViewForTest):
1391         (WTR::shouldMakeViewportFlexible): Deleted.
1392
1393 2015-09-17  Simon Fraser  <simon.fraser@apple.com>
1394
1395         Give iOS WebKitTestRunner a launch storyboard
1396         https://bugs.webkit.org/show_bug.cgi?id=149314
1397
1398         Reviewed by Dan Bates.
1399         
1400         Add a launch storyboard to iOS WebKitTestRunner so that Springboard recognizes
1401         that it's been built for specific device configurations, and puts the window
1402         at the top of the screen. This simplifies coordinate conversions in a future patch.
1403
1404         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1405         * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist:
1406         * WebKitTestRunner/ios/Launch.storyboard: Added.
1407
1408 2015-09-17  Myles C. Maxfield  <mmaxfield@apple.com>
1409
1410         Update licence in r189890
1411         https://bugs.webkit.org/show_bug.cgi?id=149306
1412
1413         Reviewed by Dean Jackson.
1414
1415         * FontWithFeatures/FontWithFeatures/FontCreator.cpp:
1416         * FontWithFeatures/FontWithFeatures/FontCreator.h:
1417         * FontWithFeatures/FontWithFeatures/main.cpp:
1418
1419 2015-09-17  Mark Lam  <mark.lam@apple.com>
1420
1421         Add the ability to skip JIT stress tests in run-javascriptcore-tests.
1422         https://bugs.webkit.org/show_bug.cgi?id=149285
1423
1424         Reviewed by Saam Barati.
1425
1426         Just need to add an option to pass --no-jit to run-jsc-stress-test.
1427
1428         * Scripts/run-javascriptcore-tests:
1429         (runJSCStressTests):
1430
1431 2015-09-17  Alex Christensen  <achristensen@webkit.org>
1432
1433         Switch AppleWin build to use CMake
1434         https://bugs.webkit.org/show_bug.cgi?id=149163
1435
1436         Reviewed by Brent Fulgham.
1437
1438         * Scripts/build-webkit:
1439         * Scripts/run-api-tests:
1440         (runTest):
1441         (listAllTests):
1442         (prepareEnvironmentForRunningTestTool):
1443         (testToolPaths):
1444         (testToolPath): Deleted.
1445         Run the API tests as separate executables on Windows.
1446         It used to be TestWebKitAPI.exe, and it is now TestWTF.exe, TestWebCore.exe, and TestWebKit.exe.
1447         * Scripts/webkitdirs.pm:
1448         (checkRequiredSystemConfig):
1449         (jhbuildWrapperPrefixIfNeeded):
1450         (generateBuildSystemFromCMakeProject):
1451         Fix configuration quirks.
1452
1453 2015-09-17  Dean Johnson  <dean_johnson@apple.com>
1454
1455         Added toggle options for hiding and showing certain platform families on the dashboard.
1456         https://bugs.webkit.org/show_bug.cgi?id=148403
1457
1458         Reviewed by David Kilzer.
1459
1460         This patch removes "hiddenPlatforms" from use in the code and local storage. We also removed
1461         individual hide/show buttons for platforms because we've added toggle options to hide/show entire
1462         families. Examples of these are "mac", "ios", and "linux". "Show All Platforms" was also removed
1463         in lieu of an "all" button in the toggle menu.
1464
1465         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
1466         (parsePlatformFamily): Helper function to parse out a platform family.
1467         (initPlatformsByFamily): Initializes platformsByFamily, which organizes platforms on the
1468         page by platformsByFamily[<family>] = <list of platforms belonging to that family>.
1469         (updateToggleButtons): Updates the status of the toggle buttons.
1470         (updateHiddenPlatforms): Changed to work with the new implementation of hiding/showing platforms.
1471         (documentReady): Added creation of toggle buttons.
1472         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/MetricsMain.js:
1473         (unhiddenQueues): Updated to search by platform family instead of the individual platform name.
1474         (documentReady): Changed hiddenPlatforms => hiddenPlatformFamilies.
1475         (updateHiddenPlatforms): Deleted. After removing the individual hide button code, 
1476         this did the exact same thing as the updateHiddenPlatforms in Scripts/Main.js so it was removed.
1477         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
1478         (QueueView): Updated to use hiddenPlatformFamilies.
1479         (QueueView.prototype._updateHiddenState): Updated to use hiddenPlatformFamilies.
1480         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Settings.js:
1481         (Settings.prototype.toggleHiddenPlatformFamily): Renamed function and some variables.
1482         (Settings.prototype.clearHiddenPlatformFamilies): Now uses hiddenPlatformFamilies for events.
1483         (Settings.prototype.toggleHiddenPlatform): Deleted.
1484         (Settings.prototype.clearHiddenPlatforms): Deleted.
1485         (Settings.prototype.toggleShowPlatformFamily): Deleted.
1486         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1487         (div.cellButton, div.accessibilityButton, div.platformFamilyToggleButton):
1488         (div.cellButton.unhide, div.accessibilityButton.unhide, div.platformFamilyToggleButton.unhide):
1489         (.settings-visible div.settingsWrapper.hide, .settings-visible div.settingsWrapper):
1490         (table.queue-grid tr.headers th):
1491         (div.settingsWrapper.hide):
1492         (div.settingsWrapper):
1493         (div.familyToggleWrapper):
1494         (div.platformFamilyToggleButton):
1495         (div.platformFamilyShowToggleButton:not(:last-child)):
1496         (div.familyShown):
1497         (div.accessibilityButton):
1498         (div.cellButton, div.accessibilityButton): Added platformFamilyToggleButton class.
1499         (div.cellButton.unhide, div.accessibilityButton.unhide): Added platformFamilyToggleButton class.
1500         (.settings-visible div.accessibilityButton.hide, .settings-visible div.accessibilityButton.unhide): Added
1501         platformFamilyToggleButton and settingsWrapper class.
1502         (.accessibilityButton): Deleted.
1503
1504 2015-09-17  Tim Horton  <timothy_horton@apple.com>
1505
1506         Add a test ensuring that scrolling in the middle of a page can't start a swipe gesture
1507         https://bugs.webkit.org/show_bug.cgi?id=148904
1508
1509         Reviewed by Myles Maxfield.
1510
1511         * WebKitTestRunner/TestController.cpp:
1512         (WTR::parseBooleanTestHeaderValue):
1513         (WTR::updateViewOptionsFromTestHeader):
1514         Check for the key "useThreadedScrolling".
1515         Add some code to check for "true" and "false" for boolean options.
1516
1517         (WTR::TestController::viewOptionsForTest):
1518         Apply the test's overrides last, even after the platform's.
1519
1520 2015-09-16  Carlos Garcia Campos  <cgarcia@igalia.com>
1521
1522         printing does not use minimum page zoom factor
1523         https://bugs.webkit.org/show_bug.cgi?id=108507
1524
1525         Reviewed by Darin Adler.
1526
1527         WebKitTestRunner always takes the snapshots from the UI process
1528         (expect for IOS), so in the case of printing, the layout in the
1529         web view is not the expected one. When printing, we need to take
1530         the snapshot in the web process and ensure it's rendered with a
1531         PrintContext.
1532
1533         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
1534         (WTR::InjectedBundlePage::dump): When dumping pixels, pass
1535         kWKSnapshotOptionsPrinting option to
1536         WKBundlePageCreateSnapshotWithOptions() when printing. When not
1537         printing, don't even create the snapshot, since it will be ignored
1538         by the UI process that always creates its own from the WebView (expect for IOS platform)
1539         * WebKitTestRunner/TestInvocation.cpp:
1540         (WTR::TestInvocation::dumpResults): Use always the snapshot image
1541         received from the web process if any when comparing pixel
1542         results. Now we only receive a snapshot from the web process in
1543         case of printing, or when platform is IOS. Otherwhise, generate
1544         the snapshot from the WebView as usual.
1545         * WebKitTestRunner/TestInvocation.h: Add SnapshotResultType enum
1546         parameter to dumpPixelsAndCompareWithExpected, since the snapshot
1547         is created by the caller now, but the CG implementation needs to
1548         know if it's a Web or UI process snapshot.
1549         * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
1550         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
1551         cairo surface for the given image.
1552         * WebKitTestRunner/cg/TestInvocationCG.cpp:
1553         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Create a
1554         CGContext for the given image.
1555
1556 2015-09-16  Myles C. Maxfield  <mmaxfield@apple.com>
1557
1558         Create a font which can be used for testing font features
1559         https://bugs.webkit.org/show_bug.cgi?id=149237
1560
1561         Reviewed by Simon Fraser.
1562
1563         This patch adds a new project in the Tools/ directory which generates a font which can
1564         be used for testing font features. This is a standalone project consisting of two files:
1565         1. A file which actually generates the byte vector representing the font. This file has
1566         a single public function: std::vector<uint8_t> generateFont(). This file is not platform
1567         specific, and only relies on the C++ STL.
1568         2. A file with a main() which calls generateFont() and writes out the font, as well as
1569         uses the font to render some demonstration text into a .png file. This file is platform
1570         specific.
1571
1572         The font itself only supports the following characters:
1573         ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
1574         However, the shape of these letters are either an X or a check mark.
1575
1576         The letter "A" always is a check mark.
1577         The letter "B" always is an X.
1578         Without any font features turned on, the rest of the letters are shown as X.
1579
1580         Each font feature has an letter associated with it. When the font feature is enabled,
1581         that letter is shown as a check mark. For example, when "smcp" is enabled, "J" is shown
1582         as a check mark.
1583
1584         Here are the mappings of font features to letters:
1585         liga: C
1586         clig: D
1587         dlig: E
1588         hlig: F
1589         calt: G
1590         subs: H
1591         sups: I
1592         smcp: J
1593         c2sc: K
1594         pcap: L
1595         c2pc: M
1596         unic: N
1597         titl: O
1598         onum: P
1599         pnum: Q
1600         tnum: R
1601         frac: S
1602         afrc: T
1603         ordn: U
1604         zero: V
1605         hist: W
1606         jp78: X
1607         jp83: Y
1608         jp90: Z
1609         jp04: a
1610         smpl: b
1611         trad: c
1612         fwid: d
1613         pwid: e
1614         ruby: f
1615
1616         * FontWithFeatures/FontWithFeatures.xcodeproj/project.pbxproj: Added.
1617         * FontWithFeatures/FontWithFeatures/FontCreator.cpp: Added.
1618         (integralLog2):
1619         (roundDownToPowerOfTwo):
1620         (isFourByteAligned):
1621         (clampTo):
1622         (append32):
1623         (writeCFFEncodedNumber):
1624         (CFFBuilder::CFFBuilder):
1625         (CFFBuilder::takeResult):
1626         (CFFBuilder::moveTo):
1627         (CFFBuilder::lineTo):
1628         (CFFBuilder::curveToCubic):
1629         (CFFBuilder::closePath):
1630         (CFFBuilder::writePoint):
1631         (generateBoxCharString):
1632         (generateCheckCharString):
1633         (generateXCharString):
1634         (charStringForGlyph):
1635         (Generator::generate):
1636         (Generator::Placeholder::Placeholder):
1637         (Generator::Placeholder::populate):
1638         (Generator::Placeholder::~Placeholder):
1639         (Generator::placeholder):
1640         (Generator::append16):
1641         (Generator::append32):
1642         (Generator::append32BitCode):
1643         (Generator::overwrite16):
1644         (Generator::overwrite32):
1645         (Generator::appendCFFTable):
1646         (Generator::appendSubstitutionSubtable):
1647         (Generator::appendScriptSubtable):
1648         (Generator::appendGSUBTable):
1649         (Generator::appendOS2Table):
1650         (Generator::appendFormat12CMAPTable):
1651         (Generator::appendFormat4CMAPTable):
1652         (Generator::appendCMAPTable):
1653         (Generator::appendHEADTable):
1654         (Generator::appendHHEATable):
1655         (Generator::appendHMTXTable):
1656         (Generator::appendMAXPTable):
1657         (Generator::appendNAMETable):
1658         (Generator::appendPOSTTable):
1659         (Generator::calculateChecksum):
1660         (Generator::appendTable):
1661         (generateFont):
1662         * FontWithFeatures/FontWithFeatures/FontCreator.h: Added.
1663         * FontWithFeatures/FontWithFeatures/main.cpp: Added.
1664         (drawTextWithFeature):
1665         (main):
1666
1667 2015-09-16  Commit Queue  <commit-queue@webkit.org>
1668
1669         Unreviewed, rolling out r189875 and r189878.
1670         https://bugs.webkit.org/show_bug.cgi?id=149235
1671
1672         cygwin cmake build not ready yet (Requested by alexchristensen
1673         on #webkit).
1674
1675         Reverted changesets:
1676
1677         "Switch AppleWin build to use CMake"
1678         https://bugs.webkit.org/show_bug.cgi?id=149163
1679         http://trac.webkit.org/changeset/189875
1680
1681         "Cygwin build fix after r189875"
1682         http://trac.webkit.org/changeset/189878
1683
1684 2015-09-16  Alex Christensen  <achristensen@webkit.org>
1685
1686         Cygwin build fix after r189875
1687
1688         * Scripts/build-webkit:
1689         * Scripts/webkitdirs.pm:
1690         (jhbuildWrapperPrefixIfNeeded):
1691         (generateBuildSystemFromCMakeProject):
1692         Make things work with cygwin and cmake.
1693
1694 2015-09-16  Alex Christensen  <achristensen@webkit.org>
1695
1696         Switch AppleWin build to use CMake
1697         https://bugs.webkit.org/show_bug.cgi?id=149163
1698
1699         Reviewed by Brent Fulgham.
1700
1701         * Scripts/build-webkit:
1702         Build with CMake.
1703         * Scripts/run-api-tests:
1704         (runTest):
1705         (listAllTests):
1706         (prepareEnvironmentForRunningTestTool):
1707         (testToolPaths):
1708         (testToolPath): Deleted.
1709         Run the API tests as separate executables on Windows.
1710         It used to be TestWebKitAPI.exe, and it is now TestWTF.exe, TestWebCore.exe, and TestWebKit.exe.
1711
1712 2015-09-16  Alexey Proskuryakov  <ap@apple.com>
1713
1714         Add newer build.webkit.org pages to robots.txt
1715         https://bugs.webkit.org/show_bug.cgi?id=149219
1716
1717         Reviewed by Darin Adler.
1718
1719         Indexing bot watcher's dashboard can't be good.
1720
1721         * BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt:
1722
1723 2015-09-16  Alex Christensen  <achristensen@webkit.org>
1724
1725         Rollout r189851 and 189853 because they didn’t actually fix the permissions issue
1726
1727         * BuildSlaveSupport/built-product-archive:
1728         (unzipArchive):
1729
1730 2015-09-16  Csaba Osztrogonác  <ossy@webkit.org>
1731
1732         [EFL] Fix the help message of separated web process option of MiniBrowser
1733         https://bugs.webkit.org/show_bug.cgi?id=149212
1734
1735         Reviewed by Gyuyoung Kim.
1736
1737         * MiniBrowser/efl/main.c:
1738
1739 2015-09-16  Alex Christensen  <achristensen@webkit.org>
1740
1741         Fix python syntax after r189851.
1742
1743         * BuildSlaveSupport/built-product-archive:
1744         (unzipArchive):
1745         For loops need a colon.
1746
1747 2015-09-15  Alex Christensen  <achristensen@webkit.org>
1748
1749         Fix Windows test bots after changing to non-cygwin build
1750         https://bugs.webkit.org/show_bug.cgi?id=149196
1751
1752         Reviewed by Daniel Bates.
1753
1754         * BuildSlaveSupport/built-product-archive:
1755         (unzipArchive):
1756         Using different versions of python makes what I think is https://bugs.python.org/issue15795
1757         prevent us from executing files from the archive on the test bots.
1758
1759 2015-09-15  Ryosuke Niwa  <rniwa@webkit.org>
1760
1761         Add ShadowRoot interface and Element.prototype.attachShadow
1762         https://bugs.webkit.org/show_bug.cgi?id=149187
1763
1764         Reviewed by Antti Koivisto.
1765
1766         * Scripts/webkitperl/FeatureList.pm:
1767
1768 2015-09-15  Aakash Jain  <aakash_jain@apple.com>
1769
1770         Appscale queue status json output lacks bots
1771         https://bugs.webkit.org/show_bug.cgi?id=149194
1772         <rdar://problem/22171089>
1773
1774         Reviewed by Alexey Proskuryakov.
1775
1776         * QueueStatusServer/handlers/queuestatusjson.py:
1777         (QueueStatusJSON._bots): Order the results by date so as to get latest events, this was default in AppEngine.
1778         * QueueStatusServer/index.yaml: Index according to appscale requirements.
1779
1780 2015-09-15  Brent Fulgham  <bfulgham@apple.com>
1781
1782         [Win] Provide a means for viewing the layer tree
1783         https://bugs.webkit.org/show_bug.cgi?id=149165
1784
1785         Reviewed by Simon Fraser.
1786
1787         Update MiniBrowser with a new Debug menu option that will
1788         dump the current layer tree to the debug console.
1789         
1790         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc:
1791         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h:
1792         * MiniBrowser/win/Common.cpp:
1793         (WndProc): Add handler for 'Print Layer Tree' menu option.
1794         * MiniBrowser/win/MiniBrowser.cpp:
1795         (MiniBrowser::printLayerTree): Added Handler.
1796         * MiniBrowser/win/MiniBrowser.h:
1797
1798 2015-09-14  Myles C. Maxfield  <mmaxfield@apple.com>
1799
1800         WebKitTestRunner declarative language setting is broken for iOS
1801         https://bugs.webkit.org/show_bug.cgi?id=149119
1802
1803         Unreviewed.
1804
1805         In all of the patches on webkit.org/b/189669, my patch to get this working on iOS was
1806         lost in the final version which got committed. This simply implements the existing
1807         OS X behavior on iOS.
1808
1809         * WebKitTestRunner/InjectedBundle/ios/InjectedBundleIOS.mm:
1810         (WTR::InjectedBundle::platformInitialize):
1811
1812 2015-09-14  Dewei Zhu  <dewei_zhu@apple.com>
1813
1814         Unreviewed, add myself to committers list.
1815
1816         * Scripts/webkitpy/common/config/contributors.json:
1817
1818 2015-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
1819
1820         [Cocoa] Allow testing with the system language
1821         https://bugs.webkit.org/show_bug.cgi?id=148671
1822
1823         Reviewed by Anders Carlsson and Alexey Proskuryakov.
1824
1825         React to tests marked with language=lang1,lang2,etc in their header.
1826         Once this information is parsed, pass it to
1827         WKContextConfigurationSetOverrideLanguages().
1828
1829         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1830         (WTR::InjectedBundle::platformInitialize): Don't clobber the language
1831         list.
1832         * WebKitTestRunner/TestController.cpp:
1833         (WTR::TestController::createWebViewWithOptions): Call
1834         WKContextConfigurationSetOverrideLanguages().
1835         (WTR::updateTestOptionsFromTestHeader): Inspect the language option.
1836         * WebKitTestRunner/TestOptions.h:
1837         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1838         (WTR::PlatformWebView::viewSupportsOptions): Cause a differing language
1839         option to restart the web process.
1840         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1841         (WTR::PlatformWebView::viewSupportsOptions): Ditto.
1842
1843 2015-09-12  Myles C. Maxfield  <mmaxfield@apple.com>
1844
1845         [WKTR] Allow changing the WKContextConfiguration between successive tests
1846         https://bugs.webkit.org/show_bug.cgi?id=148833
1847
1848         Reviewed by Tim Horton.
1849
1850         Previously, we were creating a single WKContext and it lived for the life of the entire test runner.
1851         However, there are certain tests which require specifying options in this object. This patch makes
1852         our existing code for recreating the test runner web view also recreate the WKContext.
1853
1854         As such, our options to the view are now options to the WKContextConfiguration. This patch renames the
1855         class.
1856
1857         * WebKitTestRunner/ContextConfigurationOptions.h: Renamed from Tools/WebKitTestRunner/ViewOptions.h.
1858         * WebKitTestRunner/PlatformWebView.h:
1859         (WTR::PlatformWebView::options):
1860         * WebKitTestRunner/TestController.cpp:
1861         (WTR::TestController::initialize):
1862         (WTR::TestController::generateContextConfiguration):
1863         (WTR::TestController::generatePageConfiguration):
1864         (WTR::TestController::createWebViewWithOptions):
1865         (WTR::TestController::ensureViewSupportsOptionsForTest):
1866         (WTR::updateContextConfigurationOptionsFromTestHeader):
1867         (WTR::TestController::contextConfigurationOptionsForTest):
1868         (WTR::TestController::platformCreateWebView):
1869         (WTR::TestController::platformCreateOtherPage):
1870         (WTR::updateViewOptionsFromTestHeader): Deleted.
1871         (WTR::TestController::viewOptionsForTest): Deleted.
1872         * WebKitTestRunner/TestController.h:
1873         (WTR::TestController::injectedBundlePath):
1874         (WTR::TestController::testPluginDirectory):
1875         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1876         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1877         (WTR::TestController::platformCreateWebView):
1878         (WTR::TestController::platformCreateOtherPage):
1879         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
1880         (WTR::PlatformWebView::PlatformWebView):
1881         (WTR::PlatformWebView::viewSupportsOptions):
1882         * WebKitTestRunner/efl/TestControllerEfl.cpp:
1883         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
1884         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
1885         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
1886         (WTR::PlatformWebView::PlatformWebView):
1887         (WTR::PlatformWebView::viewSupportsOptions):
1888         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
1889         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
1890         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
1891         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
1892         (WTR::PlatformWebView::PlatformWebView):
1893         (WTR::PlatformWebView::viewSupportsOptions):
1894         * WebKitTestRunner/ios/TestControllerIOS.mm:
1895         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
1896         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
1897         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
1898         (WTR::PlatformWebView::PlatformWebView):
1899         (WTR::PlatformWebView::viewSupportsOptions):
1900         * WebKitTestRunner/mac/TestControllerMac.mm:
1901         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
1902         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
1903
1904 2015-09-11  Michael Saboff  <msaboff@apple.com>
1905
1906         LayoutTestHelper crashes if a color profile isn't set for a 3rd party monitor
1907         https://bugs.webkit.org/show_bug.cgi?id=149083
1908
1909         Reviewed by Alexey Proskuryakov.
1910
1911         Check to make sure that we have a valid factoryProfile CFDictionaryRef before using it.
1912
1913         * DumpRenderTree/mac/LayoutTestHelper.m:
1914         (colorProfileURLForDisplay):
1915
1916 2015-09-11  Saam barati  <sbarati@apple.com>
1917
1918         There should be a defaultSpotCheck-like mode that doesn't run the MaximalFlushInsertionPhase in run-jsc-stress-tests
1919         https://bugs.webkit.org/show_bug.cgi?id=149058
1920
1921         Reviewed by Geoffrey Garen.
1922
1923         * Scripts/run-jsc-stress-tests:
1924
1925 2015-09-10  Commit Queue  <commit-queue@webkit.org>
1926
1927         Unreviewed, rolling out r189595.
1928         https://bugs.webkit.org/show_bug.cgi?id=149052
1929
1930         The tests still fail (Requested by ap on #webkit).
1931
1932         Reverted changeset:
1933
1934         "Spurious output on Windows tests: AQMEIOManager::FindIOUnit:
1935         error -1"
1936         https://bugs.webkit.org/show_bug.cgi?id=142929
1937         http://trac.webkit.org/changeset/189595
1938
1939 2015-09-10  Alexey Proskuryakov  <ap@apple.com>
1940
1941         Spurious output on Windows tests: AQMEIOManager::FindIOUnit: error -1
1942         https://bugs.webkit.org/show_bug.cgi?id=142929
1943
1944         Reviewed by Brent Fulgham.
1945
1946         Silence the logging. We'll track fixing the root cause in Radar.
1947
1948         * Scripts/webkitpy/port/mac.py:
1949         (MacPort.stderr_patterns_to_strip): Added a FIXME.
1950
1951         * Scripts/webkitpy/port/win.py:
1952         (WinPort.logging_patterns_to_strip): Added.
1953
1954 2015-09-09  Andy Estes  <aestes@apple.com>
1955
1956         [iOS] Teach run-webkit-tests how to parse simulator runtimes when version numbers contain a revision
1957         https://bugs.webkit.org/show_bug.cgi?id=149022
1958
1959         Reviewed by Daniel Bates.
1960
1961         Simulator runtime versions can contain a revision number (e.g. 8.4.1), but the regex for matching runtimes
1962         did not account for this.
1963
1964         * Scripts/webkitpy/xcode/simulator.py:
1965         (Simulator): Optionally matched a revision at the end of a runtime version number.
1966         * Scripts/webkitpy/xcode/simulator_unittest.py: Added a test.
1967
1968 2015-09-09  Andy Estes  <aestes@apple.com>
1969
1970         [iOS] Teach run-webkit-tests how to parse `simctl list` when a tvOS SDK is installed
1971         https://bugs.webkit.org/show_bug.cgi?id=149029
1972         <rdar://problem/22432624>
1973
1974         Reviewed by Daniel Bates.
1975
1976         * Scripts/webkitpy/xcode/simulator.py:
1977         (Simulator): Taught to parse tvOS runtimes.
1978         * Scripts/webkitpy/xcode/simulator_unittest.py: Added tests.
1979
1980 2015-09-09  Alexey Proskuryakov  <ap@apple.com>
1981
1982         Fix bit rot on bot watcher's dashboard page
1983         https://bugs.webkit.org/show_bug.cgi?id=149012
1984
1985         Reviewed by Tim Horton.
1986
1987         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1988         The code path used by the metrics page was trying to add properties to an undefined.
1989
1990         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
1991         Silence an expection that would occur when the step has no logs. This should never
1992         happen, but it did (perhaps buildbot was misconfigured for a while).
1993
1994 2015-09-09  Alexey Proskuryakov  <ap@apple.com>
1995
1996         Update LayoutTestRelay xcconfig file.
1997
1998         Rubber-stamped by Dan Bernstein.
1999
2000         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
2001
2002 2015-09-09  Saam barati  <sbarati@apple.com>
2003
2004         DFG should have a debugging option that runs a phase that flushes all locals
2005         https://bugs.webkit.org/show_bug.cgi?id=148916
2006
2007         Reviewed by Filip Pizlo.
2008
2009         * Scripts/run-jsc-stress-tests:
2010
2011 2015-09-09  Commit Queue  <commit-queue@webkit.org>
2012
2013         Unreviewed, rolling out r189530 and r189534.
2014         https://bugs.webkit.org/show_bug.cgi?id=148996
2015
2016         Caused assertion failures on Yosemite (Requested by litherum
2017         on #webkit).
2018
2019         Reverted changesets:
2020
2021         "[WKTR] Allow changing the WKContextConfiguration between
2022         successive tests"
2023         https://bugs.webkit.org/show_bug.cgi?id=148833
2024         http://trac.webkit.org/changeset/189530
2025
2026         "[Cocoa] Fix the tests after r189530"
2027         http://trac.webkit.org/changeset/189534
2028
2029 2015-09-08  Myles C. Maxfield  <mmaxfield@apple.com>
2030
2031         [Cocoa] Fix the tests after r189530
2032
2033         Unreviewed.
2034
2035         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2036         (WTR::initializeWebViewConfiguration):
2037
2038 2015-09-08  Myles C. Maxfield  <mmaxfield@apple.com>
2039
2040         [WKTR] Allow changing the WKContextConfiguration between successive tests
2041         https://bugs.webkit.org/show_bug.cgi?id=148833
2042
2043         Reviewed by Tim Horton.
2044
2045         Previously, we were creating a single WKContext and it lived for the life of the entire test runner.
2046         However, there are certain tests which require specifying options in this object. This patch makes
2047         our existing code for recreating the test runner web view also recreate the WKContext.
2048
2049         As such, our options to the view are now options to the WKContextConfiguration. This patch renames the
2050         class.
2051
2052         * WebKitTestRunner/ContextConfigurationOptions.h: Renamed from Tools/WebKitTestRunner/ViewOptions.h.
2053         * WebKitTestRunner/PlatformWebView.h:
2054         (WTR::PlatformWebView::options):
2055         * WebKitTestRunner/TestController.cpp:
2056         (WTR::TestController::initialize):
2057         (WTR::TestController::generateContextConfiguration):
2058         (WTR::TestController::generatePageConfiguration):
2059         (WTR::TestController::createWebViewWithOptions):
2060         (WTR::TestController::ensureViewSupportsOptionsForTest):
2061         (WTR::updateContextConfigurationOptionsFromTestHeader):
2062         (WTR::TestController::contextConfigurationOptionsForTest):
2063         (WTR::TestController::platformCreateWebView):
2064         (WTR::TestController::platformCreateOtherPage):
2065         (WTR::updateViewOptionsFromTestHeader): Deleted.
2066         (WTR::TestController::viewOptionsForTest): Deleted.
2067         * WebKitTestRunner/TestController.h:
2068         (WTR::TestController::injectedBundlePath):
2069         (WTR::TestController::testPluginDirectory):
2070         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2071         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2072         (WTR::TestController::platformCreateWebView):
2073         (WTR::TestController::platformCreateOtherPage):
2074         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
2075         (WTR::PlatformWebView::PlatformWebView):
2076         (WTR::PlatformWebView::viewSupportsOptions):
2077         * WebKitTestRunner/efl/TestControllerEfl.cpp:
2078         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2079         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2080         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
2081         (WTR::PlatformWebView::PlatformWebView):
2082         (WTR::PlatformWebView::viewSupportsOptions):
2083         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
2084         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2085         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2086         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2087         (WTR::PlatformWebView::PlatformWebView):
2088         (WTR::PlatformWebView::viewSupportsOptions):
2089         * WebKitTestRunner/ios/TestControllerIOS.mm:
2090         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2091         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2092         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2093         (WTR::PlatformWebView::PlatformWebView):
2094         (WTR::PlatformWebView::viewSupportsOptions):
2095         * WebKitTestRunner/mac/TestControllerMac.mm:
2096         (WTR::TestController::updatePlatformSpecificContextConfigurationOptionsForTest):
2097         (WTR::TestController::updatePlatformSpecificViewOptionsForTest): Deleted.
2098
2099 2015-09-08  Daniel Bates  <dabates@apple.com>
2100
2101         [Mac] Expose Enable/Disable Accelerated Drawing in MiniBrowser
2102         https://bugs.webkit.org/show_bug.cgi?id=148980
2103
2104         Reviewed by Alexey Proskuryakov.
2105
2106         Add setting to enable/disable accelerated drawing so as to support testing
2107         this feature in MiniBrowser on Mac.
2108
2109         * MiniBrowser/mac/SettingsController.h:
2110         * MiniBrowser/mac/SettingsController.m:
2111         (-[SettingsController _populateMenu]): Add menu item.
2112         (-[SettingsController validateMenuItem:]): Update setting when menu item is toggled.
2113         (-[SettingsController toggleAcceleratedDrawingEnabled:]): Added.
2114         (-[SettingsController acceleratedDrawingEnabled]): Added.
2115         * MiniBrowser/mac/WK1BrowserWindowController.m:
2116         (-[WK1BrowserWindowController didChangeSettings]): Apply setting in WebKit1.
2117         * MiniBrowser/mac/WK2BrowserWindowController.m:
2118         (-[WK2BrowserWindowController didChangeSettings]): Apply setting in WebKit2.
2119
2120 2015-09-08  Jason Marcell  <jmarcell@apple.com>
2121
2122         Unreviewed. Added myself as a commiter in contributors.json.
2123
2124         * Scripts/webkitpy/common/config/contributors.json:
2125
2126 2015-09-08  Keith Miller  <keith_miller@apple.com>
2127
2128         Unreviewed, added myself to the list of contributors.
2129
2130         * Scripts/webkitpy/common/config/contributors.json:
2131
2132 2015-09-08  Daniel Bates  <dabates@apple.com>
2133
2134         Dashboard: Remove use of z-index for ring overlay; use DOM ordering
2135         https://bugs.webkit.org/show_bug.cgi?id=148921
2136
2137         Reviewed by Alexey Proskuryakov.
2138
2139         The ring image is positioned above the platform icon in markup and we specify the CSS
2140         property z-index for the ring image so that it is painted on top of the platform icon
2141         instead of below it (by DOM ordering). Instead we can take advantage of the transparency
2142         of the ring image, switch the order of these DOM elements and remove the use of the CSS
2143         property z-index to achieve a similar effect.
2144
2145         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2146         (documentReady): Create the platform icon image element before the ring image such that
2147         the ring image is painted on top of the platform icon.
2148         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2149         (table.queue-grid td.logo img.ring): Removed property z-index.
2150
2151 2015-09-08  Daniel Bates  <dabates@apple.com>
2152
2153         Dashboard: Remove duplicate gear icon data URLs
2154         https://bugs.webkit.org/show_bug.cgi?id=148920
2155
2156         Reviewed by Alexey Proskuryakov.
2157
2158         Currently we duplicate the SVG data URL for the gear icon up to its fill color in the CSS property
2159         background-image associated with each of the three gear icon states: collapsed (.settings), hover
2160         (.settings:hover), and expanded (.settings-visible .settings). Instead we should use the gear icon
2161         as a mask and make use of the CSS background-color to define the fill color for each of these three
2162         states.
2163
2164         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2165         (.settings): Use gear icon as mask and define CSS background-color for collapsed state. 
2166         (.settings:hover): Override CSS background-color for hover state.
2167         (.settings-visible .settings): Override CSS background-color for expanded state.
2168
2169 2015-09-07  Andy Estes  <aestes@apple.com>
2170
2171         [Mac] DebugRelease builds should link against libWebKitSystemInterfaceElCapitan.a on 10.11
2172         https://bugs.webkit.org/show_bug.cgi?id=148946
2173         <rdar://problem/22603981>
2174
2175         Reviewed by Dan Bernstein.
2176
2177         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2178         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2179
2180 2015-09-07  Hunseop Jeong  <hs85.jeong@samsung.com>
2181
2182         [EFL] Many of the css3/device-adapt/* tests failed after r188548.
2183         https://bugs.webkit.org/show_bug.cgi?id=148927
2184
2185         Reviewed by Csaba Osztrogonác.
2186
2187         device-adapt/* tests need the fixedLayout option but useFixedLayout option is
2188         overwritten by updatePlatformSpecificViewOptionsForTest after r188548.
2189
2190         * WebKitTestRunner/TestController.cpp:
2191         (WTR::shouldUseFixedLayout): Removed the unnecessary indentations.
2192         * WebKitTestRunner/efl/TestControllerEfl.cpp:
2193         (WTR::shouldUseFixedLayout): Return true if the test is related with 'device-adapt'.
2194
2195 2015-09-07  Andy Estes  <aestes@apple.com>
2196
2197         Fix the Production build after r189455.
2198
2199         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Somehow I added the All target using the
2200         In-App Purchase template instead of the Aggregate template. Whoops.
2201
2202 2015-09-06  Andy Estes  <aestes@apple.com>
2203
2204         WebKit.xcworkspace should be be able to build iOS platforms
2205         https://bugs.webkit.org/show_bug.cgi?id=148881
2206
2207         Reviewed by Daniel Bates.
2208
2209         Since we don't want to create platform-specific schemes, all projects in the workspace's schemes need to build
2210         for all supported platforms.
2211
2212         * MiniBrowser/Configurations/Base.xcconfig: Included iphoneos and iphonesimulator in SUPPORTED_PLATFORMS.
2213         * MiniBrowser/Configurations/MiniBrowser.xcconfig: Excluded all source files on iOS, and linked Cocoa and WebKit on Mac.
2214         * MiniBrowser/Configurations/MiniBrowserBundle.xcconfig: Ditto.
2215         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Stopped linking frameworks in Link Binaries With Libraries.
2216
2217 2015-09-06  Andy Estes  <aestes@apple.com>
2218
2219         WebKitTestRunner should build for iOS using the default target
2220         https://bugs.webkit.org/show_bug.cgi?id=148918
2221
2222         Reviewed by Daniel Bates.
2223
2224         When WebKitTestRunner was ported to iOS, a separate target (WebKitTestRunnerApp) was created for building the
2225         iOS variant. This is annoying because (1) all tools that invoke xcodebuild need to be taught to build this
2226         non-default target, and (2) a single Xcode scheme cannot be used to build both Mac and iOS variants.
2227
2228         This change adds a new default target (All) and makes it work for both Mac and iOS. Files that were built for
2229         both WebKitTestRunner and WebKitTestRunnerApp are now built in a static library target (WebKitTestRunner (Library)),
2230         and both apps now link this library. Files that are specific to Mac or iOS are excluded on the other platform.
2231         WebKitTestRunnerApp.app (which should be renamed to WebKitTestRunner.app) is skipped when installing on Mac, and
2232         WebKitTestRunner is skipped when installing on iOS.
2233
2234         The target dependency graph now looks like this:
2235
2236             All
2237                 WebKitTestRunnerApp
2238                     WebKitTestRunner (Library)
2239                         WebKitTestRunnerInjectedBundle
2240                             Derived Sources
2241                 WebKitTestRunner
2242                     WebKitTestRunner (Library)
2243                         WebKitTestRunnerInjectedBundle
2244                             Derived Sources
2245
2246         * Scripts/build-webkit: Stopped building the WebKitTestRunnerApp target on iOS.
2247         * Scripts/build-webkittestrunner: Ditto.
2248         * WebKitTestRunner/Configurations/Base.xcconfig: Set SUPPORTED_PLATFORMS to macosx, iphoneos, and iphonesimulator.
2249         * WebKitTestRunner/Configurations/BaseTarget.xcconfig: Set INSTALL_PATH here since it is the same for all targets.
2250         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Stopped setting INSTALL_PATH.
2251         * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Moved frameworks from the build phase to here,
2252         excluded iOS-only files, and skipped installing on iOS.
2253         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Moved frameworks from the build phase to here,
2254         excluded Mac-only files, and skipped installing on Mac.
2255         * WebKitTestRunner/Configurations/WebKitTestRunnerLibrary.xcconfig: Skipped installing always.
2256         * WebKitTestRunner/Makefile: Stopped building the WebKitTestRunnerApp target on iOS.
2257         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added new targets, removed frameworks from
2258         Link Binary With Libraries builds phases, moved common files to the WebKitTestRunner (Library) target, and added
2259         new configuration files.
2260
2261 2015-09-05  Joseph Pecoraro  <pecoraro@apple.com>
2262
2263         Web Inspector: Improve prepare-ChangeLog for multiple cases
2264         https://bugs.webkit.org/show_bug.cgi?id=148875
2265
2266         Reviewed by Timothy Hatcher.
2267
2268         * Scripts/prepare-ChangeLog:
2269         (get_function_line_ranges_for_javascript):
2270         - We were ignoring everything inside of an anonymous function expression,
2271           such as (function(){ ... }), which made InjectedScriptSource produce nothing.
2272           Better handle this by inserting a few tweaks.
2273         - Allow method syntax outside of classes as long as they are at the global level.
2274         - Avoid treating "get" and "set" as getter/setter functions in bad contexts.
2275
2276         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests-expected.txt:
2277         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/javascript_unittests.js:
2278         (Foo.prototype.method1):
2279         (Foo.prototype.method2):
2280         (Foo.prototype.method3.innerFunction):
2281         (Foo.prototype.method3):
2282         (insideGlobalAnonymousFunctionExpression):
2283         (foo.insideGlobalFunctionExpression):
2284         (IssueWithMapGetAndSet.prototype.method1.nestedFunctionInsideMethod1):
2285         (IssueWithMapGetAndSet.prototype.method1):
2286         (IssueWithMapGetAndSet.prototype.method2):
2287         (IssueWithMapGetAndSet.prototype.method3):
2288         (IssueWithMapGetAndSet):
2289
2290 2015-09-05  Yusuke Suzuki  <utatane.tea@gmail.com>
2291
2292         [ES6] Enable ES6 Module in JSC shell by default
2293         https://bugs.webkit.org/show_bug.cgi?id=148689
2294
2295         Reviewed by Geoffrey Garen.
2296
2297         * Scripts/run-javascriptcore-tests:
2298         (runJSCStressTests):
2299         * Scripts/run-jsc-stress-tests:
2300
2301 2015-09-04  Basile Clement  <basile_clement@apple.com>
2302
2303         Unreviewed, change my email address.
2304
2305         * Scripts/webkitpy/common/config/contributors.json:
2306
2307 2015-09-04  Beth Dakin  <bdakin@apple.com>
2308
2309         Should have a test to make sure links don't navigate after a cancelled force 
2310         click
2311         https://bugs.webkit.org/show_bug.cgi?id=148846
2312
2313         Reviewed by Tim Horton.
2314
2315         New EventSender function for a started then cancelled force click.
2316         * WebKitTestRunner/EventSenderProxy.h:
2317         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2318         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2319         (WTR::EventSendingController::mouseForceClick):
2320         (WTR::EventSendingController::startAndCancelMouseForceClick):
2321         (WTR::EventSendingController::mouseForceDown):
2322         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2323         * WebKitTestRunner/TestController.cpp:
2324         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2325         * WebKitTestRunner/mac/EventSenderProxy.mm:
2326         (WTR::EventSenderProxy::mouseForceClick):
2327         (WTR::EventSenderProxy::startAndCancelMouseForceClick):
2328         (WTR::EventSenderProxy::mouseForceDown):
2329         (WTR::EventSenderProxy::mouseMoveTo):
2330
2331 2015-09-04  Tim Horton  <timothy_horton@apple.com>
2332
2333         Add a test for r179736 (programmatic navigation during swipe causing a crash)
2334         https://bugs.webkit.org/show_bug.cgi?id=148830
2335
2336         Reviewed by Beth Dakin.
2337
2338         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2339         (WTR::InjectedBundle::beginTesting):
2340         Make sure that TestRunner callbacks don't leak between tests!
2341
2342 2015-09-04  Anders Carlsson  <andersca@apple.com>
2343
2344         It should be possible to pass relative HTTP test paths to DumpRenderTree
2345         https://bugs.webkit.org/show_bug.cgi?id=148825
2346         <rdar://problem/22583866>
2347
2348         Reviewed by Tim Horton.
2349
2350         Convert the path to an absolute path if needed.
2351
2352         * DumpRenderTree/mac/DumpRenderTree.mm:
2353         (computeTestURL):
2354
2355 2015-09-04  Jason Marcell  <jmarcell@apple.com>
2356
2357         Fix Swift unit tests for prepare-ChangeLog.
2358         https://bugs.webkit.org/show_bug.cgi?id=148817
2359
2360         Reviewed by Alexey Proskuryakov.
2361
2362         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: Fixed
2363         Swift unit tests for prepare-ChangeLog.
2364
2365 2015-09-04  Lucas Forschler  <lforschler@apple.com>
2366
2367         Modifications to the webkit-nightly logic.
2368         
2369         * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
2370         (updateAlertPanel):
2371         * WebKitLauncher/main.m:
2372         (displayErrorAndQuit):
2373
2374 2015-09-04  Beth Dakin  <bdakin@apple.com>
2375
2376         Speculative build fix.
2377
2378         * WebKitTestRunner/mac/EventSenderProxy.mm:
2379
2380 2015-09-04  Brian Burg  <bburg@apple.com>
2381
2382         Web Inspector: InspectorController should support multiple frontend channels
2383         https://bugs.webkit.org/show_bug.cgi?id=148538
2384
2385         Reviewed by Joseph Pecoraro.
2386
2387         InspectorClients must explicitly disconnect their frontend channel(s) from the
2388         inspected page's InspectorController.
2389
2390         To make this possible, DumpRenderTree should not destroy non-primary views until
2391         it has tried to close any abandoned Web Inspector instances. Performing teardown
2392         in the reverse order prevents disconnection of the frontend channel because that
2393         prematurely destroys the inspector frontend client.
2394
2395         * DumpRenderTree/mac/DumpRenderTree.mm:
2396         (runTest):
2397         * DumpRenderTree/win/DumpRenderTree.cpp:
2398         (runTest):
2399
2400 2015-09-04  Beth Dakin  <bdakin@apple.com>
2401
2402         Need to be able to test default behaviors on force click
2403         https://bugs.webkit.org/show_bug.cgi?id=148758
2404
2405         Reviewed by Tim Horton.
2406
2407         This patch adds a new eventSender method to do a full, completed force click, 
2408         and it re-works all of the existing force methods to dispatch their events in 
2409         such a way that they will trigger the NSImmediateAction gesture recognizer. 
2410         To do this, first we need to send the events to the app rather than straight 
2411         to the view, and also needed to tweak some state and send the events in a 
2412         delayed fashion.
2413
2414         New public function mouseForceClick() and private helper functions to make 
2415         NSEvents.
2416         * WebKitTestRunner/EventSenderProxy.h:
2417
2418         New public function mouseForceClick().
2419         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2420         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2421         (WTR::EventSendingController::mouseMoveTo):
2422         (WTR::EventSendingController::mouseForceClick):
2423         (WTR::EventSendingController::mouseForceDown):
2424         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2425         * WebKitTestRunner/TestController.cpp:
2426         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
2427
2428         initPressureEventAtLocation needs to take a stageTransition and a window.
2429         * WebKitTestRunner/mac/EventSenderProxy.mm:
2430         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
2431         (-[EventSenderSyntheticEvent stageTransition]):
2432         (-[EventSenderSyntheticEvent timestamp]):
2433         (-[EventSenderSyntheticEvent _cgsEventRecord]):
2434         (-[EventSenderSyntheticEvent window]):
2435
2436         In order to enter the gesture recognizer, we need to start with a mouse down 
2437         that has a NSEventMaskPressure modifier.
2438         (WTR::EventSenderProxy::sendMouseDownToStartPressureEvents):
2439
2440         This ensures that the events queue properly for the force monitor in AppKit.
2441         (WTR::spinRunLoopForForce):
2442
2443          We need to start the pressure change events with a began.
2444         (WTR::EventSenderProxy::beginPressureEvent):
2445
2446         These functions can be used to create the NSEvent for a pressure change every 
2447         time we need one.
2448         (WTR::EventSenderProxy::pressureChangeEvent):
2449
2450         Send the right series of events to emulate a full, completed force click.
2451         (WTR::EventSenderProxy::mouseForceClick):
2452
2453         Use all of the new things for these existing functions.
2454         (WTR::EventSenderProxy::mouseForceDown):
2455         (WTR::EventSenderProxy::mouseForceUp):
2456         (WTR::EventSenderProxy::mouseForceChanged):
2457
2458         Set NSFakeForceTouchDevice to YES.
2459         * WebKitTestRunner/mac/main.mm:
2460         (setDefaultsToConsistentValuesForTesting):
2461
2462 2015-09-04  Jason Marcell  <jmarcell@apple.com>
2463
2464         prepare-ChangeLog needs to know how to parse Swift files.
2465         https://bugs.webkit.org/show_bug.cgi?id=148784
2466         <rdar://problem/22510062>
2467
2468         Reviewed by Darin Adler.
2469
2470         * Scripts/prepare-ChangeLog:
2471         (get_function_line_ranges): Added entry for get_function_line_ranges_for_swift.
2472         (get_function_line_ranges_for_swift): Added function that knows how to parse Swift code.
2473         (parseSwiftFunctionArgs): Added function that knows how to parse Swift function arguments.
2474         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl: Added.
2475         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests-expected.txt: Ditto.
2476         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/swift_unittests.swift: Ditto.
2477         (freeFunction): Ditto.
2478         (MyClass.function): Ditto.
2479         (MyClass.functionWithArgument(_:)): Ditto.
2480         (MyClass.functionWithMoreArguments(_:arg2:)): Ditto.
2481         (MyClass.functionWithNamedFirstArgument(argument:)): Ditto.
2482         (MyClass.functionWithNamedFirstAndSecondArgument(first:second:)): Ditto.
2483         (MyClass.classFunction): Ditto.
2484         (MyClass.readWriteComputedVariable): Ditto.
2485         (MyClass.readOnlyComputedVariable): Ditto.
2486
2487 2015-09-04  Ryosuke Niwa  <rniwa@webkit.org>
2488
2489         Import css/css-color-3
2490         https://bugs.webkit.org/show_bug.cgi?id=148803
2491
2492         Reviewed by Chris Dumez.
2493
2494         Fixed a bug that the imported reference files used the same extention as tests.
2495         This would result in parsing errors if the tests were XML and references were HTML and vice versa.
2496
2497         * Scripts/webkitpy/w3c/test_importer.py:
2498         (TestImporter.find_importable_tests):
2499
2500 2015-09-03  Commit Queue  <commit-queue@webkit.org>
2501
2502         Unreviewed, rolling out r189338.
2503         https://bugs.webkit.org/show_bug.cgi?id=148785
2504
2505         Caused tons of crashes (Requested by cdumez on #webkit).
2506
2507         Reverted changeset:
2508
2509         "Web Inspector: InspectorController should support multiple
2510         frontend channels"
2511         https://bugs.webkit.org/show_bug.cgi?id=148538
2512         http://trac.webkit.org/changeset/189338
2513
2514 2015-09-03  Brian Burg  <bburg@apple.com>
2515
2516         Web Inspector: InspectorController should support multiple frontend channels
2517         https://bugs.webkit.org/show_bug.cgi?id=148538
2518
2519         Reviewed by Joseph Pecoraro.
2520
2521         InspectorClients must explicitly disconnect their frontend channel(s) from the
2522         inspected page's InspectorController.
2523
2524         To make this possible, DumpRenderTree should not destroy non-primary views until
2525         it has tried to close any abandoned Web Inspector instances. Performing teardown
2526         in the reverse order prevents disconnection of the frontend channel because that
2527         prematurely destroys the inspector frontend client.
2528
2529         * DumpRenderTree/mac/DumpRenderTree.mm:
2530         (runTest):
2531         * DumpRenderTree/win/DumpRenderTree.cpp:
2532         (runTest):
2533
2534 2015-09-03  Timothy Hatcher  <timothy@apple.com>
2535
2536         Update WebKit nightly icon to be more like Safari
2537         https://bugs.webkit.org/show_bug.cgi?id=148768
2538
2539         Reviewed by Joseph Pecoraro.
2540
2541         * WebKitLauncher/webkit.icns:
2542
2543 2015-09-03  Geoffrey Garen  <ggaren@apple.com>
2544
2545         JavaScriptCore should have some ES6 conformance tests
2546         https://bugs.webkit.org/show_bug.cgi?id=148771
2547
2548         Reviewed by Chris Dumez.
2549
2550         * Scripts/run-javascriptcore-tests:
2551         (runJSCStressTests): Added es6 as a test suite.
2552
2553         * Scripts/run-jsc-stress-tests: Added es6 as a test suite.
2554
2555         Some of these tests currently fail, so I also added a way to expect
2556         failure for now. We'll migrate failing tests to expected passes as we
2557         fix them.
2558
2559 2015-09-03  Tim Horton  <timothy_horton@apple.com>
2560
2561         Add a test for swipe-start hysteresis
2562         https://bugs.webkit.org/show_bug.cgi?id=148756
2563
2564         Reviewed by Anders Carlsson.
2565
2566         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2567         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2568         (WTR::cacheTestRunnerCallback):
2569         (WTR::TestRunner::clearTestRunnerCallbacks):
2570         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2571         Make sure that we log if a client tries to install a callback twice
2572         (since we use .add, the second call would not work).
2573
2574         Also, add clearTestRunnerCallbacks so tests can swap out installed
2575         callbacks.
2576
2577 2015-09-03  Anders Carlsson  <andersca@apple.com>
2578
2579         DumpRenderTree should automatically compute HTTP URLs for HTTP tests
2580         https://bugs.webkit.org/show_bug.cgi?id=148746
2581         rdar://problem/22568073
2582
2583         Reviewed by Tim Horton.
2584
2585         * DumpRenderTree/mac/DumpRenderTree.mm:
2586         (computeTestURL):
2587         Compute the test URL from the passed in path or URL. Special-case paths that contain /LayoutTests/http/tests. 
2588
2589         (runTest):
2590         Call computeTestURL.
2591
2592         (testPathFromURL):
2593         Get rid of this; computeTestURL does this for us now.
2594
2595         * Scripts/webkitpy/port/driver.py:
2596         (Driver._command_from_driver_input):
2597         Don't convert HTTP test paths to URLS before passing them to DumpRenderTree on Mac. That's handled by DRT itself now.
2598
2599 2015-09-03  Tim Horton  <timothy_horton@apple.com>
2600
2601         Swipe tests fail on Mavericks
2602         https://bugs.webkit.org/show_bug.cgi?id=148752
2603
2604         Reviewed by Beth Dakin.
2605
2606         * WebKitTestRunner/mac/EventSenderProxy.mm:
2607
2608 2015-09-03  Tim Horton  <timothy_horton@apple.com>
2609
2610         Fix the 32-bit build
2611
2612         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2613         (WTR::PlatformWebView::setNavigationGesturesEnabled):
2614
2615 2015-09-03  Tim Horton  <timothy_horton@apple.com>
2616
2617         Remove some logging that wasn't meant to be in the tree
2618
2619         * WebKitTestRunner/mac/EventSenderProxy.mm:
2620         (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
2621
2622 2015-09-03  Tim Horton  <timothy_horton@apple.com>
2623
2624         [Mac] Add support for testing swipes
2625         https://bugs.webkit.org/show_bug.cgi?id=148700
2626
2627         Reviewed by Beth Dakin.
2628
2629         * WebKitTestRunner/EventSenderProxy.h:
2630         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
2631         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2632         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
2633         (WTR::cgEventPhaseFromString):
2634         (WTR::cgEventMomentumPhaseFromString):
2635         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases):
2636         (WTR::EventSendingController::swipeGestureWithWheelAndMomentumPhases):
2637         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
2638         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2639         (WTR::InjectedBundle::didReceiveMessageToPage):
2640         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2641         (WTR::TestRunner::installDidBeginSwipeCallback):
2642         (WTR::TestRunner::installWillEndSwipeCallback):
2643         (WTR::TestRunner::installDidEndSwipeCallback):
2644         (WTR::TestRunner::installDidRemoveSwipeSnapshotCallback):
2645         (WTR::TestRunner::callDidBeginSwipeCallback):
2646         (WTR::TestRunner::callWillEndSwipeCallback):
2647         (WTR::TestRunner::callDidEndSwipeCallback):
2648         (WTR::TestRunner::callDidRemoveSwipeSnapshotCallback):
2649         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2650         * WebKitTestRunner/TestController.cpp:
2651         (WTR::TestController::createOtherPage):
2652         (WTR::TestController::createWebViewWithOptions):
2653         (WTR::TestController::didReceiveMessageFromInjectedBundle):
2654         (WTR::TestController::didBeginNavigationGesture):
2655         (WTR::TestController::willEndNavigationGesture):
2656         (WTR::TestController::didEndNavigationGesture):
2657         (WTR::TestController::didRemoveNavigationGestureSnapshot):
2658         * WebKitTestRunner/TestController.h:
2659         * WebKitTestRunner/TestInvocation.cpp:
2660         (WTR::TestInvocation::didBeginSwipe):
2661         (WTR::TestInvocation::willEndSwipe):
2662         (WTR::TestInvocation::didEndSwipe):
2663         (WTR::TestInvocation::didRemoveSwipeSnapshot):
2664         * WebKitTestRunner/TestInvocation.h:
2665         Add callbacks when navigation gestures didBegin/willEnd/didEnd, and
2666         when the snapshot is removed.
2667
2668         Add swipeGestureWithWheelAndMomentumPhases, just like the equivalent
2669         mouseScrollBy function.
2670
2671         * WebKitTestRunner/mac/EventSenderProxy.mm:
2672         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:phase:time:eventNumber:]):
2673         (-[EventSenderSyntheticEvent type]):
2674         (-[EventSenderSyntheticEvent subtype]):
2675         (-[EventSenderSyntheticEvent locationInWindow]):
2676         (-[EventSenderSyntheticEvent location]):
2677         (-[EventSenderSyntheticEvent momentumPhase]):
2678         (-[EventSenderSyntheticEvent _isTouchesEnded]):
2679         (-[EventSenderSyntheticEvent _cgsEventRecord]):
2680         Rename EventSenderPressureEvent to EventSenderSyntheticEvent and add some
2681         more adjustable values.
2682
2683         (WTR::EventSenderProxy::mouseForceDown):
2684         (WTR::EventSenderProxy::mouseForceUp):
2685         (WTR::EventSenderProxy::mouseForceChanged):
2686         Adopt EventSenderSyntheticEvent.
2687
2688         (WTR::nsEventPhaseFromCGEventPhase):
2689         (WTR::EventSenderProxy::swipeGestureWithWheelAndMomentumPhases):
2690         Make use of EventSenderSyntheticEvent to synthesize swipe gesture events.
2691
2692         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2693         (WTR::PlatformWebView::PlatformWebView):
2694         Enable swipe.
2695
2696 2015-09-03  Myles C. Maxfield  <mmaxfield@apple.com>
2697
2698         [WK2] Allow tagging tests with metadata which needs to be known at web process creation time
2699         https://bugs.webkit.org/show_bug.cgi?id=148723
2700
2701         Reviewed by Anders Carlsson.
2702
2703         * WebKitTestRunner/TestController.cpp:
2704         (WTR::testPath):
2705         (WTR::updateViewOptionsFromTestHeader):
2706         (WTR::TestController::viewOptionsForTest):
2707
2708 2015-09-03  Lucas Forschler  <lforschler@apple.com>
2709
2710         Test commit.
2711
2712 2015-09-02  Tim Horton  <timothy_horton@apple.com>
2713
2714         Add a modern API way to know that the navigation gesture snapshot was removed, for WebKitTestRunner
2715         https://bugs.webkit.org/show_bug.cgi?id=148693
2716
2717         Reviewed by Anders Carlsson.
2718
2719         * WebKitTestRunner/TestController.cpp:
2720         (WTR::TestController::createOtherPage):
2721         (WTR::TestController::createWebViewWithOptions):
2722
2723 2015-09-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2724
2725         REGRESSION(r188548): Some tests crash after r188548 because injected bundle messages are received after the test finishes
2726         https://bugs.webkit.org/show_bug.cgi?id=148529
2727
2728         Reviewed by Darin Adler.
2729
2730         When there are pending EventSender messages after a test finishes,
2731         they could be processed in the main loop started by the
2732         resetStateToConsistentValues(), but the old EventSender has been
2733         replaced by a new one at that point. The new Eventsender can crash
2734         when processing messages that were sent to the old one. To avoid
2735         this, we return early when receiving an EventSender message and
2736         the TestController state is not RunningTest.
2737
2738         * WebKitTestRunner/TestController.cpp:
2739         (WTR::TestController::didReceiveKeyDownMessageFromInjectedBundle):
2740         (WTR::TestController::didReceiveMessageFromInjectedBundle):
2741
2742 2015-09-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2743
2744         REGRESSION(r188548): TestController state is Resseting while tests are running after r188548
2745         https://bugs.webkit.org/show_bug.cgi?id=148528
2746
2747         Reviewed by Darin Adler.
2748
2749         Before r188548 resetStateToConsistentValues() was called in
2750         TestController::run(), before tests are run, but now it's called
2751         for every test in TestInvocation::invoke(), after m_status has
2752         changed to RunningTest.
2753
2754         * WebKitTestRunner/TestController.cpp:
2755         (WTR::TestController::resetStateToConsistentValues): Use
2756         TemporaryChange to reset m_state ot its previous value after reset
2757         is done.
2758
2759 2015-08-31  Jason Marcell  <jmarcell@apple.com>
2760
2761         Modify prepare-Changelog to be aware of files that are marked as tests as well as files
2762         that are marked as requiring corresponding tests.
2763         https://bugs.webkit.org/show_bug.cgi?id=148498
2764         <rdar://problem/21555314>
2765
2766         Reviewed by Dan Bernstein and David Kilzer.
2767
2768         * Scripts/prepare-ChangeLog: Added "attributeCache" to cache Subversion properties in order to
2769         simulate Git's attribute behevaior.
2770         (main): Added "requiresTests" array to contain files that require tests.
2771         (generateNewChangeLogs): Checks "requiresTests" array to determine whether to inject "tests"
2772         section in ChangeLog.
2773         (attributeCommand): Queries a given file for a given Git attribute value. If using Subversion,
2774         however, we check if the file or any containing folder has the given property set to "1" and
2775         return 1 if so; return 0 otherwise.
2776         (generateFileList): Adds files to "requiresTests" array if Git attribute is set to "1". Also
2777         adds files to "addedRegressionTests" array if "test" attribute is set to "1".
2778
2779 2015-08-26  Andy Estes  <aestes@apple.com>
2780
2781         [Content Filtering] Determine navigation and content policy before continuing to filter a load
2782         https://bugs.webkit.org/show_bug.cgi?id=148506
2783
2784         Reviewed by Brady Eidson.
2785
2786         Added download API tests covering every decision and decision point.
2787         Removed _WKDownload.AsynchronousDownloadPolicy in favor of these new tests.
2788
2789         * TestWebKitAPI/Configurations/Base.xcconfig: Added $(BUILT_PRODUCTS_DIR)/WebCoreTestSupport to the header search path.
2790         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Removed it from here.
2791         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm:
2792         (-[BundleParametersPlugIn observeValueForKeyPath:ofObject:change:context:]): Called -valueForKeyPath:, which
2793         returns an id, instead of -valueForKey:, which always returns an NSString even if the object is of another type.
2794         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Added a class that can send a MockContentFilter
2795         decision and decision point as a bundle parameter.
2796         (+[MockContentFilterEnabler supportsSecureCoding]):
2797         (-[MockContentFilterEnabler copyWithZone:]):
2798         (-[MockContentFilterEnabler initWithCoder:]):
2799         (-[MockContentFilterEnabler initWithDecision:decisionPoint:]):
2800         (-[MockContentFilterEnabler encodeWithCoder:]):
2801         (configurationWithContentFilterSettings): Added a helper function to create a WKWebViewConfiguration with MockConentFilter settings.
2802         (TEST): Renamed ContentFiltering.ServerRedirect to ContentFiltering.URLAfterServerRedirect.
2803         (-[BecomeDownloadDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]): Decided _WKNavigationResponsePolicyBecomeDownload.
2804         (-[BecomeDownloadDelegate webView:didFailProvisionalNavigation:withError:]): Set isDone to true.
2805         (-[BecomeDownloadDelegate webView:didFinishNavigation:]): Ditto.
2806         (-[ContentFilteringDownloadDelegate _downloadDidStart:]): Set downloadDidStart to true.
2807         (downloadTest): Added a helper function to test downloads with a given decision and decision point.
2808         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm: Added a corresponding bundle class that decodes
2809         the MockContentFilter decision and decision point, and sets these values in the MockContentFilterSettings
2810         singleton. This class is duplicated in the bundle to prevent TestWebKitAPI from having to link to WebCoreTestSupport.
2811         (+[MockContentFilterEnabler supportsSecureCoding]):
2812         (-[MockContentFilterEnabler copyWithZone:]):
2813         (-[MockContentFilterEnabler initWithCoder:]):
2814         (-[MockContentFilterEnabler dealloc]):
2815         (-[MockContentFilterEnabler encodeWithCoder:]):
2816         (-[ContentFilteringPlugIn webProcessPlugIn:initializeWithObject:]): Start observing changes to the MockContentFilterEnabler key path.
2817         (-[ContentFilteringPlugIn dealloc]): Stop observing.
2818         (-[ContentFilteringPlugIn observeValueForKeyPath:ofObject:change:context:]): Store a MockContentFilterEnabler in _contentFilterEnabler.
2819         (+[ServerRedirectPlugIn initialize]): Deleted.
2820         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
2821         (-[AsynchronousDownloadNavigationDelegate webView:decidePolicyForNavigationResponse:decisionHandler:]): Deleted.
2822         (-[AsynchronousDownloadDelegate _downloadDidStart:]): Deleted.
2823         (TEST): Deleted.
2824
2825 2015-08-31  Filip Pizlo  <fpizlo@apple.com>
2826
2827         Skip slow lock tests on Windows/debug
2828         https://bugs.webkit.org/show_bug.cgi?id=148643
2829
2830         Reviewed by Alexey Proskuryakov.
2831
2832         The lock tests simulate a critical section by doing some floating point math, and then either
2833         make those critical sections very long or invoke them many times. This appears to be
2834         particularly slow on Windows in debug mode, maybe because Visual Studio's debug build makes
2835         that kind of computation slow.
2836
2837         These tests are almost as useful in release as they are in debug, so it's probably better to
2838         just skip the in debug on platforms where this causes timeouts.
2839
2840         * TestWebKitAPI/Tests/WTF/Lock.cpp:
2841         (TestWebKitAPI::runLockTest):
2842         (TestWebKitAPI::skipSlow):
2843         (TestWebKitAPI::TEST):
2844
2845 2015-08-29  Chris Fleizach  <cfleizach@apple.com>
2846
2847         AX: When navigating the elements of a scrollable element with VoiceOver, the scrollTop() position of the element does not permanently change
2848         https://bugs.webkit.org/show_bug.cgi?id=125720
2849
2850         Reviewed by Daniel Bates.
2851
2852         Add support for scrollToMakeVisibleWithSubFocus and scrollToGlobalPoint.
2853
2854         * DumpRenderTree/AccessibilityUIElement.cpp:
2855         (pressCallback):
2856         (scrollToMakeVisibleWithSubFocusCallback):
2857         (scrollToGlobalPointCallback):
2858         (scrollToMakeVisibleCallback):
2859         (AccessibilityUIElement::getJSClass):
2860         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2861         (AccessibilityUIElement::scrollToMakeVisible):
2862         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
2863         (AccessibilityUIElement::scrollToGlobalPoint):
2864         (AccessibilityUIElement::selectedTextRange):
2865         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2866         (AccessibilityUIElement::AccessibilityUIElement):
2867         (AccessibilityUIElement::mathPrescriptsDescription):
2868         (AccessibilityUIElement::scrollToMakeVisible):
2869         (AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
2870         (AccessibilityUIElement::scrollToGlobalPoint):
2871         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2872         (WTR::AccessibilityUIElement::isTextMarkerValid):
2873         (WTR::AccessibilityUIElement::textMarkerForIndex):
2874         (WTR::AccessibilityUIElement::scrollToMakeVisible):
2875         (WTR::AccessibilityUIElement::scrollToGlobalPoint):
2876         (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
2877         (WTR::AccessibilityUIElement::supportedActions):
2878         (WTR::AccessibilityUIElement::mathPostscriptsDescription):
2879         (WTR::AccessibilityUIElement::mathPrescriptsDescription):
2880         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2881         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2882         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2883         (WTR::AccessibilityUIElement::scrollToMakeVisible):
2884         (WTR::AccessibilityUIElement::scrollToGlobalPoint):
2885         (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
2886         (WTR::AccessibilityUIElement::selectedTextRange):
2887         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2888         (WTR::AccessibilityUIElement::scrollToMakeVisible):
2889         (WTR::AccessibilityUIElement::scrollToGlobalPoint):
2890         (WTR::AccessibilityUIElement::scrollToMakeVisibleWithSubFocus):
2891         (WTR::AccessibilityUIElement::selectedTextRange):
2892
2893 2015-08-28  Timothy Horton  <timothy_horton@apple.com>
2894
2895         Add a mysteriously nonproblematic missing comma.
2896
2897         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2898         (TestExpectationParser._collect_matching_tests):
2899         (TestExpectationParser):
2900
2901 2015-08-28  Timothy Horton  <timothy_horton@apple.com>
2902
2903         Remove an old temporary script that has served its purpose
2904
2905         * Scripts/convert-test-expectations: Removed.
2906
2907 2015-08-28  Jer Noble  <jer.noble@apple.com>
2908
2909         [iOS] Add WebKit/WebKit2 settings to control automatic data loading
2910         https://bugs.webkit.org/show_bug.cgi?id=148579
2911
2912         Reviewed by Anders Carlsson.
2913
2914         In DumpRenderTree, set the new mediaDataLoadsAutomatically preference to YES.
2915
2916         In WebKitTestRunner, do the same for the new _mediaDataLoadsAutomatically configuration property,
2917         and also set the existing requiresUserActionForMediaPlayback configuration property to NO.
2918
2919         * DumpRenderTree/mac/DumpRenderTree.mm:
2920         (resetWebPreferencesToConsistentValues):
2921         (resetWebViewToConsistentStateBeforeTesting): 
2922         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2923         (WTR::initializeWebViewConfiguration):
2924
2925 2015-08-28  Alexey Proskuryakov  <ap@apple.com>
2926
2927         Fix run-webkit-tests --additional-env-var="DYLD_INSERT_LIBRARIES=..."
2928         https://bugs.webkit.org/show_bug.cgi?id=148592
2929
2930         Reviewed by Tim Horton.
2931
2932         * Scripts/webkitpy/port/base.py:
2933         (Port.to.setup_environ_for_server):
2934         (Port.to):
2935         (Port.to._append_value_colon_separated):
2936         (Port.to.show_results_html_file):
2937         * Scripts/webkitpy/port/ios.py:
2938         (IOSSimulatorPort.setup_environ_for_server):
2939         * Scripts/webkitpy/port/mac.py:
2940         (MacPort.setup_environ_for_server):
2941
2942 2015-08-28  Filip Pizlo  <fpizlo@apple.com>
2943
2944         LICM should be sound even if the CFG has changed
2945         https://bugs.webkit.org/show_bug.cgi?id=148259
2946
2947         Reviewed by Benjamin Poulain.
2948
2949         Add a utility for creating tests that set some uncommon option.
2950
2951         * Scripts/run-jsc-stress-tests:
2952
2953 2015-08-28  Brent Fulgham  <bfulgham@apple.com>
2954
2955         [Win] Unreviewed EWS correction.
2956
2957         * EWSTools/start-queue-win.sh: Update settings to point to VS2015.
2958
2959 2015-08-28  Jer Noble  <jer.noble@apple.com>
2960
2961         [iOS] Make the AllowsInlineMediaPlayback preference work in WebKit / WebKit2.
2962         https://bugs.webkit.org/show_bug.cgi?id=147512
2963
2964         Reviewed by Anders Carlsson.
2965
2966         Set the value of WebKitAllowsInlineMediaPlayback / WKPreferencesSetMediaPlaybackAllowsInline()
2967         to a consistent (true) value.
2968
2969         * DumpRenderTree/mac/DumpRenderTree.mm:
2970         (setDefaultsToConsistentValuesForTesting):
2971         * WebKitTestRunner/TestController.cpp:
2972         (WTR::TestController::resetPreferencesToConsistentValues):
2973
2974 2015-08-28  Tim Horton  <timothy_horton@apple.com>
2975
2976         Add navigation gesture callbacks to WKPageNavigationClient
2977         https://bugs.webkit.org/show_bug.cgi?id=148568
2978         <rdar://problem/22371346>
2979
2980         Reviewed by Anders Carlsson.
2981
2982         * WebKitTestRunner/TestController.cpp:
2983         (WTR::TestController::createOtherPage):
2984         (WTR::TestController::createWebViewWithOptions):
2985         Add some zeroes.
2986
2987 2015-08-28  Alexey Proskuryakov  <ap@apple.com>
2988
2989         [Mac] kill-old-processes should kill more processes
2990         https://bugs.webkit.org/show_bug.cgi?id=148577
2991
2992         Reviewed by Tim Horton.
2993
2994         * BuildSlaveSupport/kill-old-processes:
2995
2996 2015-08-28  Jason Marcell  <jmarcell@apple.com>
2997
2998         The status message for combined builder queues should say "all builds succeeded" if everything
2999         built correctly.
3000         https://bugs.webkit.org/show_bug.cgi?id=148535
3001
3002         Reviewed by David Kilzer and Alexey Proskuryakov.
3003
3004         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
3005         (BuildbotCombinedQueueView.prototype.update): Make status message for combined builder queues
3006         say "all builds succeeded" if everything built correctly.
3007
3008 2015-08-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3009
3010         [GTK] Simplify the internal API to create a WebView
3011         https://bugs.webkit.org/show_bug.cgi?id=148570
3012
3013         Reviewed by Žan Doberšek.
3014
3015         * TestWebKitAPI/PlatformWebView.h: Add initialize method for GTK+ too.
3016         * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp:
3017         (TestWebKitAPI::PlatformWebView::PlatformWebView): Implement all
3018         PlatformWebView constructors that end up calling initialize with a PageConfiguration.
3019         (TestWebKitAPI::PlatformWebView::initialize): Create the WebView
3020         passing the received PageConfiguration.
3021         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3022         (WTR::PlatformWebView::PlatformWebView): Create the WebView
3023         passing the received PageConfiguration.
3024
3025 2015-08-27  Aakash Jain  <aakash_jain@apple.com>
3026
3027         iOS Simulator API tests fails as Simulator is not running
3028         https://bugs.webkit.org/show_bug.cgi?id=148501
3029         rdar://problem/22447525
3030
3031         Reviewed by Daniel Bates.
3032
3033         This change is a workaround for <rdar://problem/22388812>.
3034
3035          * Scripts/run-api-tests: Launch the iOS Simulator before starting the API Tests
3036          and quit it on program termination when running tests on the iOS port.
3037          * Scripts/webkitdirs.pm: Store string "For WebKit Development" in constant
3038          SIMULATOR_DEVICE_SUFFIX_FOR_WEBKIT_DEVELOPMENT to make it consistently reusable.
3039
3040 2015-08-27  Alex Christensen  <achristensen@webkit.org>
3041
3042         Make DLLLauncherMain executables dependent on dll
3043         https://bugs.webkit.org/show_bug.cgi?id=148548
3044
3045         Reviewed by Brent Fulgham.
3046
3047         * DumpRenderTree/CMakeLists.txt:
3048         * DumpRenderTree/PlatformWin.cmake:
3049         * MiniBrowser/win/CMakeLists.txt:
3050         * TestWebKitAPI/CMakeLists.txt:
3051         * TestWebKitAPI/PlatformWin.cmake:
3052
3053 2015-08-27  Lucas Forschler  <lforschler@apple.com>
3054
3055         Remove Mac slaves 188/189 after being replaced with 400/401.
3056         
3057         Unreviewed.
3058         
3059         * BuildSlaveSupport/build.webkit.org-config/config.json:
3060
3061 2015-08-27  Lucas Forschler  <lforschler@apple.com>
3062
3063         Add two bots to the Mac Yosemite queue.
3064         This is to eventually replace bots188/189, which will be removed after 400/401 are vetted.
3065         
3066         Unreviewed.
3067         
3068         * BuildSlaveSupport/build.webkit.org-config/config.json:
3069
3070 2015-08-27  Alex Christensen  <achristensen@webkit.org>
3071
3072         [Win CMake] Fix incremental build after r188673
3073         https://bugs.webkit.org/show_bug.cgi?id=148539
3074
3075         Reviewed by Brent Fulgham.
3076
3077         * TestWebKitAPI/PlatformWin.cmake:
3078         Copy forwarding headers from WebCore before building in case that was not yet done.
3079         It used to be done when running CMake, but now it's a build step.
3080
3081 2015-08-27  Nan Wang  <n_wang@apple.com>
3082
3083         AX: Fix accessibility/select-element-at-index.html test
3084         https://bugs.webkit.org/show_bug.cgi?id=148516
3085
3086         Reviewed by Chris Fleizach.
3087
3088         Implemented setSelectedChildAtIndex and removeSelectionAtIndex for mac.
3089
3090         * DumpRenderTree/AccessibilityUIElement.cpp:
3091         (setSelectedChildCallback):
3092         (setSelectedChildAtIndexCallback):
3093         (removeSelectionAtIndexCallback):
3094         (elementAtPointCallback):
3095         (sentenceAtOffsetCallback):
3096         (stringForSelectionCallback):
3097         (AccessibilityUIElement::getJSClass):
3098         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3099         (AccessibilityUIElement::setSelectedChild):
3100         (AccessibilityUIElement::setSelectedChildAtIndex):
3101         (AccessibilityUIElement::removeSelectionAtIndex):
3102         (AccessibilityUIElement::accessibilityValue):
3103         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
3104         (WTR::AccessibilityUIElement::wordAtOffset):
3105         (WTR::AccessibilityUIElement::lineAtOffset):
3106         (WTR::AccessibilityUIElement::sentenceAtOffset):
3107         (WTR::AccessibilityUIElement::isSelectable):
3108         (WTR::AccessibilityUIElement::isMultiSelectable):
3109         (WTR::AccessibilityUIElement::setSelectedChild):
3110         (WTR::AccessibilityUIElement::setSelectedChildAtIndex):
3111         (WTR::AccessibilityUIElement::removeSelectionAtIndex):
3112         (WTR::AccessibilityUIElement::selectedChildrenCount):
3113         (WTR::AccessibilityUIElement::selectedChildAtIndex):
3114         (WTR::AccessibilityUIElement::isExpanded):
3115         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3116         (WTR::AccessibilityUIElement::setSelectedChild):
3117         (WTR::AccessibilityUIElement::setSelectedChildAtIndex):
3118         (WTR::AccessibilityUIElement::removeSelectionAtIndex):
3119         (WTR::AccessibilityUIElement::accessibilityValue):
3120
3121 2015-08-27  Alex Christensen  <achristensen@webkit.org>
3122
3123         Build fix after r188982
3124
3125         * MiniBrowser/win/CMakeLists.txt:
3126         The directory structure changed in the move.
3127
3128 2015-08-27  Michael Catanzaro  <mcatanzaro@igalia.com>
3129
3130         [GTK] Unreviewed, install-dependencies should install geoclue2 on Fedora
3131
3132         geoclue-devel is for obsolete geoclue. Install geoclue2-devel instead.
3133
3134         * gtk/install-dependencies:
3135
3136 2015-08-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3137
3138         Unreviewed. Mark WTF_WordLock.ContendedShortSection as slow too.
3139
3140         * Scripts/run-gtk-tests:
3141         (TestRunner):
3142
3143 2015-08-27  Carlos Garcia Campos  <cgarcia@igalia.com>
3144
3145         Fix GTK+ WTR crashes in initializeMainRunLoop()
3146
3147         Rubber-stamped by Žan Doberšek.
3148
3149         Initialize threading and main thread before
3150         RunLoop::initializeMainRunLoop(), since the GLib implementation of
3151         the RunLoop uses isMainThread() to decide whether to create a new
3152         GMainContext or use the default one. Also use RunLoop::run() and
3153         ::stop() instead of gtk_main/quit.
3154
3155         * WebKitTestRunner/TestController.cpp:
3156         (WTR::TestController::initialize):
3157         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3158         (WTR::TestController::notifyDone):
3159         (WTR::TestController::platformRunUntil):
3160
3161 2015-08-27  Filip Pizlo  <fpizlo@apple.com>
3162
3163         Unreviewed, further shorten a test that times out because it's very long
3164         running.
3165
3166         I've locally run these tests on repeat for 24 hours and found no genuine
3167         failures, like deadlocks. So, the timeouts are probably because the test
3168         machine is slow and debug is slow. We should just run this test for fewer
3169         iterations.
3170
3171         * TestWebKitAPI/Tests/WTF/Lock.cpp:
3172         (TestWebKitAPI::TEST):
3173
3174 2015-08-26  Ryuan Choi  <ryuan.choi@navercorp.com>
3175
3176         Unreviewed build fix attempt on EFL
3177
3178         * WebKitTestRunner/PlatformEfl.cmake:
3179
3180 2015-08-26  Alex Christensen  <achristensen@webkit.org>
3181
3182         Build fix after r188982
3183
3184         * MiniBrowser/win/CMakeLists.txt:
3185         Find .rc files in correct directory.
3186
3187 2015-08-26  Ryuan Choi  <ryuan.choi@navercorp.com>
3188
3189         [EFL] Bump cairo version to 1.14.2
3190         https://bugs.webkit.org/show_bug.cgi?id=148474
3191
3192         Reviewed by Csaba Osztrogonác.
3193
3194         * efl/jhbuild.modules:
3195
3196 2015-08-26  Andy Estes  <aestes@apple.com>
3197
3198         Crash when following a Google search link to Twitter with Limit Adult Content enabled
3199         https://bugs.webkit.org/show_bug.cgi?id=147651
3200
3201         Rubber-stamped by Brady Eidson.
3202
3203         Taught TestRunner how to decide the navigation policy after a delay.
3204
3205         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3206         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3207         (WTR::InjectedBundlePage::decidePolicyForNavigationAction):
3208         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3209         (WTR::TestRunner::setShouldDecideNavigationPolicyAfterDelay):
3210         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3211         (WTR::TestRunner::shouldDecideNavigationPolicyAfterDelay):
3212         * WebKitTestRunner/TestController.cpp:
3213         (WTR::TestController::initialize):
3214         (WTR::TestController::resetStateToConsistentValues):
3215         (WTR::TestController::decidePolicyForNavigationAction):
3216         * WebKitTestRunner/TestController.h:
3217         (WTR::TestController::setShouldDecideNavigationPolicyAfterDelay):
3218         * WebKitTestRunner/TestInvocation.cpp:
3219         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
3220
3221 2015-08-26  Brent Fulgham  <bfulgham@apple.com>
3222
3223         [Win] Rename 'WinLauncher' to 'MiniBrowser'
3224         https://bugs.webkit.org/show_bug.cgi?id=148485
3225
3226         Reviewed by Alex Christensen
3227
3228         Move the WinLauncher project and source files to a subdirectory
3229         of MiniBrowser. Globally change WinLauncher -> MiniBrowser in the
3230         source code and project files.
3231         
3232         * MiniBrowser/MiniBrowser.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj.
3233         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.ico.
3234         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.rc.
3235         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.
3236         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.vcxproj.filters: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters.
3237         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCF.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props.
3238         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCFLite.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props.
3239         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserCommon.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props.
3240         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserDebug.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props.
3241         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc.
3242         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.
3243         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.vcxproj.filters: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters.
3244         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibCommon.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props.
3245         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibDebug.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props.
3246         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPostBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd.
3247         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibPreBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd.
3248         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibProduction.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props.
3249         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibRelease.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props.
3250         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h.
3251         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPostBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherPostBuild.cmd.
3252         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserPreBuild.cmd: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd.
3253         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserProduction.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props.
3254         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserRelease.props: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props.
3255         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h: Copied from WinLauncher/WinLauncher.vcxproj/WinLauncherResource.h.
3256         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.ico: Removed.
3257         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.rc: Removed.
3258         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.vcxproj: Removed.
3259         * MiniBrowser/MiniBrowser.vcxproj/WinLauncher.vcxproj.filters: Removed.
3260         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCF.props: Removed.
3261         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCFLite.props: Removed.
3262         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherCommon.props: Removed.
3263         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherDebug.props: Removed.
3264         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.rc: Removed.
3265         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.vcxproj: Removed.
3266         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
3267         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibCommon.props: Removed.
3268         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibDebug.props: Removed.
3269         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
3270         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
3271         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibProduction.props: Removed.
3272         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibRelease.props: Removed.
3273         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherLibResource.h: Removed.
3274         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherPostBuild.cmd: Removed.
3275         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherPreBuild.cmd: Removed.
3276         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherProduction.props: Removed.
3277         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherRelease.props: Removed.
3278         * MiniBrowser/MiniBrowser.vcxproj/WinLauncherResource.h: Removed.
3279         * MiniBrowser/win: Copied from WinLauncher.
3280         * MiniBrowser/win/Common.cpp:
3281         * MiniBrowser/win/MiniBrowser.cpp: Copied from WinLauncher/WinLauncher.cpp.
3282         * MiniBrowser/win/MiniBrowser.h: Copied from WinLauncher/WinLauncher.h.
3283         * MiniBrowser/win/MiniBrowserReplace.h: Copied from WinLauncher/WinLauncherReplace.h.
3284         * MiniBrowser/win/MiniBrowserWebHost.cpp: Copied from WinLauncher/WinLauncherWebHost.cpp.
3285         * MiniBrowser/win/MiniBrowserWebHost.h: Copied from WinLauncher/WinLauncherWebHost.h.
3286         * MiniBrowser/win/PageLoadTestClient.cpp:
3287         * MiniBrowser/win/PageLoadTestClient.h:
3288         * MiniBrowser/win/ResourceLoadDelegate.cpp:
3289         * MiniBrowser/win/ResourceLoadDelegate.h:
3290         * MiniBrowser/win/WinLauncher.cpp: Removed.
3291         * MiniBrowser/win/WinLauncher.h: Removed.
3292         * MiniBrowser/win/WinLauncher.vcxproj: Removed.
3293         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.ico: Removed.
3294         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.rc: Removed.
3295         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.vcxproj: Removed.
3296         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Removed.
3297         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCF.props: Removed.
3298         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCFLite.props: Removed.
3299         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherCommon.props: Removed.
3300         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherDebug.props: Removed.
3301         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.rc: Removed.
3302         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Removed.
3303         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
3304         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibCommon.props: Removed.
3305         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibDebug.props: Removed.
3306         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
3307         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
3308         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibProduction.props: Removed.
3309         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibRelease.props: Removed.
3310         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherLibResource.h: Removed.
3311         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherPostBuild.cmd: Removed.
3312         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherPreBuild.cmd: Removed.
3313         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherProduction.props: Removed.
3314         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherRelease.props: Removed.
3315         * MiniBrowser/win/WinLauncher.vcxproj/WinLauncherResource.h: Removed.
3316         * MiniBrowser/win/WinLauncher.vcxproj/small.ico: Removed.
3317         * MiniBrowser/win/WinLauncherReplace.h: Removed.
3318         * MiniBrowser/win/WinLauncherWebHost.cpp: Removed.
3319         * MiniBrowser/win/WinLauncherWebHost.h: Removed.
3320         * MiniBrowser/win/WinMain.cpp:
3321         * WinLauncher: Removed.
3322         * WinLauncher/AccessibilityDelegate.cpp: Removed.
3323         * WinLauncher/AccessibilityDelegate.h: Removed.
3324         * WinLauncher/CMakeLists.txt: Removed.
3325         * WinLauncher/Common.cpp: Removed.
3326         * WinLauncher/DOMDefaultImpl.cpp: Removed.
3327         * WinLauncher/DOMDefaultImpl.h: Removed.
3328         * WinLauncher/PageLoadTestClient.cpp: Removed.
3329         * WinLauncher/PageLoadTestClient.h: Removed.
3330         * WinLauncher/PrintWebUIDelegate.cpp: Removed.
3331         * WinLauncher/PrintWebUIDelegate.h: Removed.
3332         * WinLauncher/ResourceLoadDelegate.cpp: Removed.
3333         * WinLauncher/ResourceLoadDelegate.h: Removed.
3334         * WinLauncher/WebDownloadDelegate.cpp: Removed.
3335         * WinLauncher/WebDownloadDelegate.h: Removed.
3336         * WinLauncher/WinLauncher.cpp: Removed.
3337         * WinLauncher/WinLauncher.h: Removed.
3338         * WinLauncher/WinLauncher.vcxproj: Removed.
3339         * WinLauncher/WinLauncher.vcxproj/WinLauncher.ico: Removed.
3340         * WinLauncher/WinLauncher.vcxproj/WinLauncher.rc: Removed.
3341         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj: Removed.
3342         * WinLauncher/WinLauncher.vcxproj/WinLauncher.vcxproj.filters: Removed.
3343         * WinLauncher/WinLauncher.vcxproj/WinLauncherCF.props: Removed.
3344         * WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props: Removed.
3345         * WinLauncher/WinLauncher.vcxproj/WinLauncherCommon.props: Removed.
3346         * WinLauncher/WinLauncher.vcxproj/WinLauncherDebug.props: Removed.
3347         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Removed.
3348         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj: Removed.
3349         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.vcxproj.filters: Removed.
3350         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibCommon.props: Removed.
3351         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibDebug.props: Removed.
3352         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPostBuild.cmd: Removed.
3353         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibPreBuild.cmd: Removed.
3354         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibProduction.props: Removed.
3355         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibRelease.props: Removed.
3356         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h: Removed.
3357         * WinLauncher/WinLauncher.vcxproj/WinLauncherPostBuild.cmd: Removed.
3358         * WinLauncher/WinLauncher.vcxproj/WinLauncherPreBuild.cmd: Removed.
3359         * WinLauncher/WinLauncher.vcxproj/WinLauncherProduction.props: Removed.
3360         * WinLauncher/WinLauncher.vcxproj/WinLauncherRelease.props: Removed.
3361         * WinLauncher/WinLauncher.vcxproj/WinLauncherResource.h: Removed.
3362         * WinLauncher/WinLauncher.vcxproj/small.ico: Removed.
3363         * WinLauncher/WinLauncherReplace.h: Removed.
3364         * WinLauncher/WinLauncherWebHost.cpp: Removed.
3365         * WinLauncher/WinLauncherWebHost.h: Removed.
3366         * WinLauncher/WinMain.cpp: Removed.
3367         * WinLauncher/resource.h: Removed.
3368         * WinLauncher/stdafx.cpp: Removed.
3369         * WinLauncher/stdafx.h: Removed.
3370         * win/AssembleBuildLogs/AssembleLogs.cmd:
3371
3372 2015-08-26  Brent Fulgham  <bfulgham@apple.com>
3373
3374         [Win] Simplify menu handling code in WinLauncher
3375         https://bugs.webkit.org/show_bug.cgi?id=148461
3376
3377         Reviewed by Zalan Bujtas.
3378
3379         Revise 'ToggleMenuItem' to return a boolean value indicating if
3380         it handled the message. Revise WndProc to use this to decide if it
3381         should pass the message on to the default handler, rather than
3382         duplicating the logic in both places.
3383         
3384         * WinLauncher/Common.cpp:
3385         (ToggleMenuItem): Return true if the menu item message was handled.
3386         (WndProc): If 'ToggleMenuItem' did not handle the message, pass
3387         the message tothe default handler.
3388
3389 2015-08-26  Csaba Osztrogonác  <ossy@webkit.org>
3390
3391         Remove unused code after r188948
3392         https://bugs.webkit.org/show_bug.cgi?id=148467
3393
3394         Reviewed by Gyuyoung Kim.
3395
3396         * WebKitTestRunner/TestController.cpp:
3397         (WTR::TestController::platformPreferences): Deleted.
3398
3399 2015-08-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3400
3401         [EFL][GTK] REGRESSION(r188828): All performance tests and almost all layout tests crash
3402         https://bugs.webkit.org/show_bug.cgi?id=148377
3403
3404         Reviewed by Carlos Garcia Campos.
3405
3406         EFL and GTK don't support TestController::platformPreferences() yet which was introduced by r188828.
3407         It caused all crashes of layout test and performance test on EFL and GTK. So this patch implements
3408         TestController::platformPreferences() using WKPageGroupGetPreferences() which was previous thing for
3409         EFL and GTK at the moment.
3410
3411         * WebKitTestRunner/TestController.cpp:
3412         (WTR::TestController::platformWillRunTest):
3413         * WebKitTestRunner/efl/TestControllerEfl.cpp:
3414         (WTR::TestController::platformPreferences):
3415         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
3416         (WTR::TestController::platformPreferences):
3417
3418 2015-08-25  Nan Wang  <n_wang@apple.com>
3419
3420         AX: Enable accessibility/aria-controls.html test for mac
3421         https://bugs.webkit.org/show_bug.cgi?id=148458
3422
3423         Reviewed by Chris Fleizach.
3424
3425         Implemented ariaControlsElementAtIndex(unsigned index).
3426
3427         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3428         (AccessibilityUIElement::ariaControlsElementAtIndex):
3429         (AccessibilityUIElement::disclosedRowAtIndex):
3430         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3431         (WTR::AccessibilityUIElement::ariaControlsElementAtIndex):
3432
3433 2015-08-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3434
3435         Remove python tests for PassRefPtr 
3436         https://bugs.webkit.org/show_bug.cgi?id=148463
3437
3438         Reviewed by Andy Estes.
3439
3440         As we're removing uses of PassRefPtr, we need to remove all python tests for PassRefPtr as well.
3441
3442         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3443         (PassPtrTest): Deleted.
3444         (PassPtrTest.assert_pass_ptr_check): Deleted.
3445         (PassPtrTest.test_pass_ref_ptr_in_function): Deleted.
3446         (PassPtrTest.test_pass_other_type_ptr_in_function): Deleted.
3447         (PassPtrTest.test_pass_ref_ptr_return_value): Deleted.
3448         (PassPtrTest.test_ref_ptr_parameter_value): Deleted.
3449         (PassPtrTest.test_ref_ptr_member_variable): Deleted.
3450         (PassPtrTest.test_ref_ptr_member_variable.Foo): Deleted.
3451
3452 2015-08-25  Andy Estes  <aestes@apple.com>
3453
3454         [iOS] run-webkit-tests fails if watchOS SDK is installed
3455         https://bugs.webkit.org/show_bug.cgi?id=148453
3456
3457         Reviewed by David Kilzer.
3458
3459         * Scripts/webkitpy/xcode/simulator.py:
3460         (Simulator): Taught Simulator how to parse watchOS runtimes and devices.
3461         * Scripts/webkitpy/xcode/simulator_unittest.py: Added tests.
3462
3463 2015-08-25  Aakash Jain  <aakash_jain@apple.com>
3464
3465         iOS Simulator layout-tests fail to start while cleaning a directory structure if simulator is already running
3466         https://bugs.webkit.org/show_bug.cgi?id=148197
3467         rdar://problem/22334382
3468
3469         Reviewed by Daniel Bates.
3470
3471         * BuildSlaveSupport/kill-old-processes: Add Simulator to the list of processes to kill (for iOS builders).
3472         * Scripts/webkitpy/port/ios.py:
3473         (IOSSimulatorPort): Converted bundle id com.apple.iphonesimulator to a variable SIMULATOR_BUNDLE_ID.
3474         (IOSSimulatorPort._quitIOSSimulator): Common function to quit iOS Simulator.
3475         (IOSSimulatorPort.clean_up_test_run): Quit the simulator during the cleanup.
3476         (IOSSimulatorPort.check_sys_deps): No need to quit the simulator here as its now being quit in reset_preferences().
3477         (IOSSimulatorPort.reset_preferences): Quit the simulator before trying to delete associated data directory.
3478
3479 2015-08-25  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3480
3481         Remove PassRefPtr style check rule
3482         https://bugs.webkit.org/show_bug.cgi?id=148432
3483
3484         Reviewed by Andreas Kling.
3485
3486         PassRefPtr is being removed. Thus style rule needs to be removed as well.
3487
3488         * Scripts/webkitpy/style/checkers/cpp.py:
3489         (_check_parameter_name_against_text): Deleted.
3490         (check_function_definition_and_pass_ptr): Deleted.
3491         (check_function_definition): Deleted.
3492         (check_pass_ptr_usage): Deleted.
3493         (process_line): Deleted.
3494         (CppChecker): Deleted.
3495
3496 2015-08-25  Brent Fulgham  <bfulgham@apple.com>
3497
3498         [Win] Expose "Inverted Colors" option in WinLauncher
3499         https://bugs.webkit.org/show_bug.cgi?id=148451
3500
3501         Reviewed by Tim Horton.
3502
3503         Add the ability to toggle the "Inverted Colors" preference
3504         in WinLauncher.
3505         
3506         * WinLauncher/Common.cpp:
3507         (ToggleMenuItem): Toggle the feature when the menu item
3508         is selected.
3509         (WndProc): Recognize the new menu option.
3510         * WinLauncher/WinLauncher.cpp:
3511         (WinLauncher::setToDefaultPreferences): Launch with "Invert
3512         Colors" turned off.
3513         * WinLauncher/WinLauncher.vcxproj/WinLauncherLib.rc: Add menu
3514         entry for "Invert Colors".
3515         * WinLauncher/WinLauncher.vcxproj/WinLauncherLibResource.h:
3516
3517 2015-08-25  Nan Wang  <n_wang@apple.com>
3518
3519         [Mac] accessibility/document-attributes.html fails
3520         https://bugs.webkit.org/show_bug.cgi?id=116636
3521
3522         Reviewed by Chris Fleizach.
3523
3524         Implemented documentURI() and documentEncoding().
3525
3526         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3527         (AccessibilityUIElement::documentEncoding):
3528         (AccessibilityUIElement::documentURI):
3529         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3530         (WTR::AccessibilityUIElement::documentEncoding):
3531         (WTR::AccessibilityUIElement::documentURI):
3532
3533 2015-08-24  Brent Fulgham  <bfulgham@apple.com>
3534
3535         [Win] Unreviewed test gardening.
3536
3537         Fix another case where the logging string is constructed using the variable 'frame',
3538         but the method argument is not given a name. This causes the global 'frame' value to
3539         be used, producing incorrect output.
3540
3541         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3542         (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame): Use 'frame'
3543         argument.
3544
3545 2015-08-24  Tim Horton  <timothy_horton@apple.com>
3546
3547         (Finally...) get rid of WKViewIOS
3548         https://bugs.webkit.org/show_bug.cgi?id=148404
3549
3550         Reviewed by Anders Carlsson.
3551
3552         * TestWebKitAPI/Tests/CustomProtocolsSyncXHRTest.mm:
3553         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
3554         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsInvalidScheme.mm:
3555         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
3556         * TestWebKitAPI/Tests/WebKit2ObjC/PreventImageLoadWithAutoResizing.mm:
3557         * TestWebKitAPI/Tests/WebKit2ObjC/UserContentTest.mm:
3558         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextGroupTest.mm:
3559         * TestWebKitAPI/Tests/WebKit2ObjC/WKBrowsingContextLoadDelegateTest.mm:
3560         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.h:
3561         * TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.mm:
3562         Mark tests that use WKBrowsingContextController as Mac-only.
3563
3564         * WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm:
3565         (WTR::AccessibilityController::addNotificationListener):
3566         * WebKitTestRunner/ios/mainIOS.mm:
3567         (-[WebKitTestRunnerApp applicationDidEnterBackground:]):
3568         Import UIKit instead of depending on WKView.h to do so.
3569
3570 2015-08-24  Jason Marcell  <jmarcell@apple.com>
3571
3572         Add support to dashboard for displaying Git SHA's as revisions.
3573         https://bugs.webkit.org/show_bug.cgi?id=148387
3574
3575         Reviewed by Daniel Bates.
3576
3577         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3578         (parseRevisionProperty): Added support to dashboard for displaying Git SHA's as revisions.
3579         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3580         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
3581         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js: Added
3582         "isSVN" property to Dashboard.Repository.(OpenSource|Internal).
3583
3584 2015-08-24  Andy Estes  <aestes@apple.com>
3585
3586         REGRESSION (r188851): WebKit2.BundleParameters fails on iOS
3587
3588         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Specify LD_RUNPATH_SEARCH_PATHS correctly for iOS.
3589
3590 2015-08-23  Andy Estes  <aestes@apple.com>
3591
3592         Addressed a missed piece of review feedback from r188851.
3593
3594         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
3595
3596 2015-08-23  Andy Estes  <aestes@apple.com>
3597
3598         [Content Filtering] REGRESSION (r182356): Provisional URL is incorrect in didReceiveServerRedirectForProvisionalLoadForFrame when Content Filtering is enabled
3599         https://bugs.webkit.org/show_bug.cgi?id=147872
3600         rdar://problem/22044000
3601
3602         Reviewed by Dan Bernstein.
3603         
3604         Added an API test.
3605
3606         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Linked libWebCoreTestSupport in order to use MockContentFilter.
3607         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3608         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Added.
3609         (-[ServerRedirectNavigationDelegate webView:didStartProvisionalNavigation:]): Expect the initial request URL.
3610         (-[ServerRedirectNavigationDelegate webView:didReceiveServerRedirectForProvisionalNavigation:]): Expect the redirect URL.
3611         (-[ServerRedirectNavigationDelegate webView:didCommitNavigation:]):
3612         (TEST): Tested that -[WKWebView URL] is updated after a redirect when content filtering is enabled.
3613         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm: Added.
3614         (+[ServerRedirectPlugIn initialize]): Enable MockContentFilter.
3615         * TestWebKitAPI/cocoa/TestProtocol.h: Renamed from Tools/TestWebKitAPI/mac/TestProtocol.h.
3616         * TestWebKitAPI/cocoa/TestProtocol.mm: Renamed from Tools/TestWebKitAPI/mac/TestProtocol.mm.
3617
3618 2015-08-23  Andy Estes  <aestes@apple.com>
3619
3620         Fixed the 32-bit Mac build after r188844.
3621
3622         * TestWebKitAPI/WKWebViewConfigurationExtras.h:
3623         * TestWebKitAPI/WKWebViewConfigurationExtras.mm:
3624
3625 2015-08-22  Andy Estes  <aestes@apple.com>
3626
3627         [Cocoa] API tests using the Modern WebKit API should be able to create web process plug-ins
3628         https://bugs.webkit.org/show_bug.cgi?id=148317
3629
3630         Reviewed by Dan Bernstein.
3631
3632         Added the ability for Modern WebKit API tests to create WKWebProcessPlugIns. A test can create a plug-in by
3633         creating a class that conforms to WKWebProcessPlugIn, adding it to the WebProcessPlugIn target, and using the
3634         WKWebViewConfiguration returned by +[WKWebViewConfiguration testwebkitapi_configurationWithTestPlugInClassName:]
3635         when creating WKWebViews.
3636
3637         Since TestWebKitAPI relies on a bundle parameter to know which test class to instantiate in the plug-in, I also
3638         added a new API test for bundle parameters.
3639
3640         * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Added. Named the bundle TestWebKitAPI.wkbundle and
3641         named its executable TestWebKitAPI.bundle.
3642         * TestWebKitAPI/PlatformUtilities.h: Declared TestPlugInClassNameParameter.
3643         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added the WebProcessPlugIn target.
3644         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParameters.mm: Added.
3645         (TEST): Tested bundle parameters by verifying that parameter changes in the UI process are observed in the bundle.
3646         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm: Added.
3647         (-[BundleParametersPlugIn webProcessPlugIn:didCreateBrowserContextController:]): Started observing changes to a
3648         bundle parameter and asked for an initial notification.
3649         (-[BundleParametersPlugIn dealloc]): Stopped observing changes to a bundle parameter.
3650         (-[BundleParametersPlugIn observeValueForKeyPath:ofObject:change:context:]): When a bundle parameter changes,
3651         mirror its value in the main frame's JSContext.
3652         * TestWebKitAPI/WKWebViewConfigurationExtras.h: Added.
3653         * TestWebKitAPI/WKWebViewConfigurationExtras.mm: Added.
3654         (+[WKWebViewConfiguration testwebkitapi_configurationWithTestPlugInClassName:]): Created a configuration with
3655         TestWebKitAPI's bundle URL and set a bundle parameter indicating the test plug-in's class name.
3656         * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm: Defined TestPlugInClassNameParameter.
3657         * TestWebKitAPI/cocoa/WebProcessPlugIn/Info.plist: Added. Set the principal class to WebProcessPlugIn.
3658         * TestWebKitAPI/cocoa/WebProcessPlugIn/WebProcessPlugIn.mm: Added.
3659         (-[WebProcessPlugIn webProcessPlugIn:initializeWithObject:]): Forwarded to a newly-created test class instance.
3660         (-[WebProcessPlugIn respondsToSelector:]): Returned YES if the test class instance response.
3661         (-[WebProcessPlugIn forwardingTargetForSelector:]): Forwarded unimplemented methods to the test class instance.
3662
3663 2015-08-23  Csaba Osztrogonác  <ossy@webkit.org>
3664
3665         URTBF after r188828.
3666
3667         * WebKitTestRunner/PlatformWebView.h:
3668
3669 2015-08-23  Alexey Proskuryakov  <ap@apple.com>
3670
3671         build.webkit.org/dashboard: Combined queues don't turn orange on internal failure
3672         https://bugs.webkit.org/show_bug.cgi?id=148356
3673
3674         Reviewed by Darin Adler.
3675
3676         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
3677         (BuildbotCombinedQueueView.prototype.update):
3678
3679 2015-08-23  Alexey Proskuryakov  <ap@apple.com>
3680
3681         build.webkit.org/dashboard: Respect step's hidden flag
3682         https://bugs.webkit.org/show_bug.cgi?id=148357
3683
3684         Reviewed by Darin Adler.
3685
3686         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
3687         (BuildbotIteration.prototype._parseData):
3688
3689 2015-08-23  Nan Wang  <n_wang@apple.com>
3690
3691         AX: Fix accessibility/deleting-iframe-destroys-axcache.html test
3692         https://bugs.webkit.org/show_bug.cgi?id=148328
3693
3694         Reviewed by Darin Adler.
3695
3696         We should only expose stringValue() when value attribute is set.
3697
3698         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3699         (AccessibilityUIElement::stringValue):
3700         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3701         (WTR::AccessibilityUIElement::stringValue):
3702
3703 2015-08-23  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3704
3705         Remove style checking rule regarding OwnPtr and PassOwnPtr
3706         https://bugs.webkit.org/show_bug.cgi?id=148360
3707
3708         Reviewed by Darin Adler.
3709
3710         OwnPtr and PassOwnPtr were totally removed though, style rule is still alive.
3711         Removed it.
3712
3713         * Scripts/do-webcore-rename:
3714         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3715         (PassPtrTest.test_pass_own_ptr_in_function): Deleted.
3716         (PassPtrTest.test_pass_ref_ptr_return_value): Deleted.
3717         (PassPtrTest.test_own_ptr_parameter_value): Deleted.
3718         (WebKitStyleTest.test_names): Deleted.
3719
3720 2015-08-22  Timothy Horton  <timothy_horton@apple.com>
3721
3722         WebKitTestRunner should use WKWebView on OS X and iOS
3723         https://bugs.webkit.org/show_bug.cgi?id=143743
3724         <rdar://problem/16947123>
3725
3726         Reviewed by Anders Carlsson.
3727         Patch by Enrica Casucci and myself.
3728
3729         * WebKitTestRunner/PlatformWebView.h:
3730         (WTR::PlatformWebView::windowSnapshotEnabled): Deleted.
3731         Add a PlatformWebView constructor that takes a WKWebViewConfiguration
3732         instead of WKContext and WKPageGroup.
3733
3734         Remove the unused, always-true windowSnapshotEnabled().
3735         While technically some platforms don't have window snapshotting,
3736         they just return null instead of implementing windowSnapshotEnabled().
3737
3738         * WebKitTestRunner/TestController.h:
3739         * WebKitTestRunner/TestController.cpp:
3740         (WTR::TestController::createOtherPage):
3741         (WTR::TestController::initialize):
3742         (WTR::TestController::createWebViewWithOptions):
3743         Delegate to the various platforms for creating PlatformWebView instances,
3744         for creating WKContexts, and for accessing WKPreferences,
3745         so that they can do special things (like, use WKWebView instead!).
3746
3747         (WTR::TestController::resetPreferencesToConsistentValues):
3748         Make explicit WebKitTestRunner's desired default for two preferences
3749         which have differing defaults between the antique and modern API,
3750         for consistency's sake.
3751
3752         (WTR::TestController::resetStateToConsistentValues):
3753         Add platformResetStateToConsistentValues.
3754
3755         * WebKitTestRunner/TestInvocation.cpp:
3756         (WTR::TestInvocation::dumpResults):
3757         Adjust to the aforementioned removal of windowSnapshotEnabled().
3758
3759         * WebKitTestRunner/ios/TestControllerCocoa.mm:
3760         (WTR::TestController::platformResetStateToConsistentValues):
3761         (WTR::TestController::platformPreferences):
3762         (WTR::TestController::platformCreateWebView):
3763         (WTR::TestController::platformCreateOtherPage):
3764         (WTR::TestController::platformInitializeConfiguration):
3765         Implement the new platform functions for the Modern WebKit2 API,
3766         in a new TestControllerCocoa file that is shared between iOS and Mac.
3767         
3768         For platformMaybeCreateContext, use the trick that we know we can cast
3769         the WKProcessPool to a WKContextRef to retrieve a WKContextRef from
3770         WKWebView's configuration.
3771
3772         Ditto for WKPreferencesRef and WKPreferences.
3773
3774         Remove user content filters on the WKWebView's userContentController.
3775
3776         * WebKitTestRunner/mac/TestControllerMac.mm:
3777         * WebKitTestRunner/ios/TestControllerIOS.mm:
3778         Move code into TestControllerCocoa.
3779
3780         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3781         (WTR::InjectedBundle::beginTesting):
3782         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3783         (WTR::TestRunner::addUserScript):
3784         (WTR::TestRunner::addUserStyleSheet):
3785         Adopt WKBundlePage API for user scripts/sheets.
3786
3787         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3788         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3789         Make and keep a WKWebView instead of a WKView.
3790         
3791         * WebKitTestRunner/mac/EventSenderProxy.mm:
3792         (WTR::EventSenderProxy::mouseUp):
3793         (WTR::EventSenderProxy::mouseMoveTo):
3794         Reach inside the WKWebView to the WKView when dispatching events.
3795         This is fairly ugly and we should come up with a better solution.
3796         Also, fix some flipping and style errors.
3797
3798 2015-08-22  Michael Catanzaro  <mcatanzaro@igalia.com>
3799
3800         Unreviewed, attempt to fix GTK build after r188718
3801
3802         * WebKitTestRunner/gtk/PlatformWebViewGtk.cpp:
3803         (WTR::PlatformWebView::PlatformWebView):
3804
3805 2015-08-21  Commit Queue  <commit-queue@webkit.org>
3806
3807         Unreviewed, rolling out r188807, r188813, and r188815.
3808         https://bugs.webkit.org/show_bug.cgi?id=148349
3809
3810         lots of 32-bit build problems, better to resolve separately
3811         and try again (Requested by thorton on #webkit).
3812
3813         Reverted changesets:
3814
3815         "WebKitTestRunner should use WKWebView on OS X and iOS"
3816         https://bugs.webkit.org/show_bug.cgi?id=143743
3817         http://trac.webkit.org/changeset/188807
3818
3819         "Stop building WebKitTestRunner for 32-bit platforms"
3820         https://bugs.webkit.org/show_bug.cgi?id=143743
3821         http://trac.webkit.org/changeset/188813
3822
3823         "Stop building WebKitTestRunner for 32-bit platforms"
3824         https://bugs.webkit.org/show_bug.cgi?id=143743
3825         http://trac.webkit.org/changeset/188815
3826
3827 2015-08-21  Tim Horton  <timothy_horton@apple.com>
3828
3829         Stop building WebKitTestRunner for 32-bit platforms
3830         https://bugs.webkit.org/show_bug.cgi?id=143743
3831         <rdar://problem/16947123>
3832
3833         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3834         This is a restriction on the valid set, not the desired set.
3835
3836 2015-08-21  Jason Marcell  <jmarcell@apple.com>
3837
3838         Make Dashboard.Branches be objects of the form (repository, "branch name") and update existing code
3839         to work with these new objects.
3840         https://bugs.webkit.org/show_bug.cgi?id=148188
3841
3842         Reviewed by Daniel Bates.
3843
3844         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
3845         (Buildbot.prototype._normalizeQueueInfo): Renamed BuildbotQueue.branch to BuildbotQueue.branches.
3846         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
3847         (BuildbotCombinedQueueView): Changed to work with new branch objects which represent a
3848         (repository, "branch name")-pair.
3849         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: Ditto.
3850         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
3851         (BuildbotQueue): Renamed BuildbotQueue.branch to BuildbotQueue.branches.
3852         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
3853         (BuildbotQueueView.prototype._appendPendingRevisionCount): Changed to work with new branch
3854         objects which represent a (repository, "branch name")-pair.
3855         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Ditto.
3856         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration): Ditto.
3857         (BuildbotQueueView.prototype._addDividerToPopover): Ditto.
3858         (BuildbotQueueView.prototype.revisionContentForIteration): Ditto.
3859         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Renamed
3860         BuildbotQueue.branch to BuildbotQueue.branches.
3861         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3862         (WebKitBuildbot.prototype.get defaultBranches): Changed to new (repository, "branch name") format.
3863
3864 2015-08-21  Tim Horton  <timothy_horton@apple.com>
3865
3866         Stop building WebKitTestRunner for 32-bit platforms
3867         https://bugs.webkit.org/show_bug.cgi?id=143743
3868         <rdar://problem/16947123>
3869
3870         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3871         WKWebView is not available on 32-bit OS X.
3872
3873 2015-08-21  Brent Fulgham  <bfulgham@apple.com>
3874
3875         [Win] Unreviewed test correction after r188709.
3876
3877         I removed a function argument that happened to be mirrored by a global
3878         value with the same name. This prevented a compile error, but testing
3879         showed that the wrong value was being used in the function.
3880
3881         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3882         (FrameLoadDelegate::willPerformClientRedirectToURL): Put function argument
3883         back
3884
3885 2015-08-21  Timothy Horton  <timothy_horton@apple.com>
3886
3887         WebKitTestRunner should use WKWebView on OS X and iOS
3888         https://bugs.webkit.org/show_bug.cgi?id=143743
3889         <rdar://problem/16947123>
3890
3891         Reviewed by Anders Carlsson.
3892         Patch by Enrica Casucci and myself.
3893
3894         * WebKitTestRunner/PlatformWebView.h:
3895         (WTR::PlatformWebView::windowSnapshotEnabled): Deleted.
3896         Add a PlatformWebView constructor that takes a WKWebViewConfiguration
3897         instead of WKContext and WKPageGroup.
3898
3899         Remove the unused, always-true windowSnapshotEnabled().
3900         While technically some platforms don't have window snapshotting,
3901         they just return null instead of implementing windowSnapshotEnabled().
3902
3903         * WebKitTestRunner/TestController.h:
3904         * WebKitTestRunner/TestController.cpp:
3905         (WTR::TestController::createOtherPage):
3906         (WTR::TestController::initialize):
3907         (WTR::TestController::createWebViewWithOptions):
3908         Delegate to the various platforms for creating PlatformWebView instances,
3909         for creating WKContexts, and for accessing WKPreferences,
3910         so that they can do special things (like, use WKWebView instead!).
3911
3912         (WTR::TestController::resetPreferencesToConsistentValues):
3913         Make explicit WebKitTestRunner's desired default for two preferences
3914         which have differing defaults between the antique and modern API,
3915         for consistency's sake.
3916
3917         (WTR::TestController::resetStateToConsistentValues):
3918         Add platformResetStateToConsistentValues.
3919
3920         * WebKitTestRunner/TestInvocation.cpp:
3921         (WTR::TestInvocation::dumpResults):
3922         Adjust to the aforementioned removal of windowSnapshotEnabled().
3923
3924         * WebKitTestRunner/ios/TestControllerCocoa.mm:
3925         (WTR::TestController::platformResetStateToConsistentValues):
3926         (WTR::TestController::platformPreferences):
3927         (WTR::TestController::platformCreateWebView):
3928         (WTR::TestController::platformCreateOtherPage):
3929         (WTR::TestController::platformInitializeConfiguration):
3930         Implement the new platform functions for the Modern WebKit2 API,
3931         in a new TestControllerCocoa file that is shared between iOS and Mac.
3932         
3933         For platformMaybeCreateContext, use the trick that we know we can cast
3934         the WKProcessPool to a WKContextRef to retrieve a WKContextRef from
3935         WKWebView's configuration.
3936
3937         Ditto for WKPreferencesRef and WKPreferences.
3938
3939         Remove user content filters on the WKWebView's userContentController.
3940
3941         * WebKitTestRunner/mac/TestControllerMac.mm:
3942         * WebKitTestRunner/ios/TestControllerIOS.mm:
3943         Move code into TestControllerCocoa.
3944
3945         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3946         (WTR::InjectedBundle::beginTesting):
3947         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3948         (WTR::TestRunner::addUserScript):
3949         (WTR::TestRunner::addUserStyleSheet):
3950         Adopt WKBundlePage API for user scripts/sheets.
3951
3952         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3953         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3954         Make and keep a WKWebView instead of a WKView.
3955         
3956         * WebKitTestRunner/mac/EventSenderProxy.mm:
3957         (WTR::EventSenderProxy::mouseUp):
3958         (WTR::EventSenderProxy::mouseMoveTo):
3959         Reach inside the WKWebView to the WKView when dispatching events.
3960         This is fairly ugly and we should come up with a better solution.
3961         Also, fix some flipping and style errors.
3962
3963 2015-08-21  Alexey Proskuryakov  <ap@apple.com>
3964
3965         Improve how UI events are dispatched by WebKitTestRunner
3966         https://bugs.webkit.org/show_bug.cgi?id=148326
3967
3968         Reviewed by Anders Carlsson.
3969
3970         * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
3971         * WebKitTestRunner/InjectedBundle/EventSendingController.h:
3972         Removed asyncScrolling from mouseScrollByWithWheelAndMomentumPhases, it's now always
3973         asynchronous (and really, it has always been for the most part).
3974
3975         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3976         (WTR::EventSendingController::mouseDown): Updated for WKBundlePagePostSynchronousMessage renaming.
3977         (WTR::EventSendingController::mouseUp): Ditto.
3978         (WTR::EventSendingController::mouseMoveTo): Ditto.
3979         (WTR::EventSendingController::mouseForceDown): Ditto.
3980         (WTR::EventSendingController::mouseForceUp): Ditto.
3981         (WTR::EventSendingController::mouseForceChanged): Ditto.
3982         (WTR::EventSendingController::leapForward): Ditto.
3983         (WTR::EventSendingController::scheduleAsynchronousClick): Ditto.
3984         (WTR::EventSendingController::keyDown): Ditto.
3985         (WTR::EventSendingController::scheduleAsynchronousKeyDown): Ditto.
3986         (WTR::EventSendingController::mouseScrollBy): Force a scrolling tree commit. It used
3987         to be done in custom WebKit2 code for test wheel event handling.
3988         (WTR::EventSendingController::mouseScrollByWithWheelAndMomentumPhases): Got rid of sync version.
3989         (WTR::EventSendingController::continuousMouseScrollBy): Added a FIXME. This one is weird.
3990         (WTR::EventSendingController::contextClick): Updated for WKBundlePagePostSynchronousMessage renaming.
3991         (WTR::EventSendingController::addTouchPoint): Ditto.
3992         (WTR::EventSendingController::updateTouchPoint): Ditto.
3993         (WTR::EventSendingController::setTouchModifier): Ditto.
3994         (WTR::EventSendingController::setTouchPointRadius): Ditto.
3995         (WTR::EventSendingController::touchStart): Ditto.
3996         (WTR::EventSendingController::touchMove): Ditto.
3997         (WTR::EventSendingController::touchEnd): Ditto.
3998         (WTR::EventSendingController::touchCancel): Ditto.
3999         (WTR::EventSendingController::clearTouchPoints): Ditto.
4000         (WTR::EventSendingController::releaseTouchPoint): Ditto.
4001         (WTR::EventSendingController::cancelTouchPoint): Ditto.
4002
4003         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
4004         (WTR::InjectedBundle::postSetWindowIsKey):
4005         (WTR::InjectedBundle::postSimulateWebNotificationClick):
4006         (WTR::InjectedBundle::isGeolocationProviderActive):
4007         (WTR::InjectedBundle::shouldProcessWorkQueue):
4008         Updated for WKBundlePagePostSynchronousMessage renaming.
4009
4010         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
4011         (WTR::TestRunner::secureEventInputIsEnabled): Ditto.
4012
4013         * WebKitTestRunner/TestController.cpp:
4014         (WTR::TestController::initialize): Allow handling the new test style messages.
4015         (WTR::TestController::didReceiveKeyDownMessageFromInjectedBundle): Removed calls
4016         to WKPageSetShouldSendEventsSynchronously, which we no longer need.
4017         (WTR::TestController::didReceiveMessageFromInjectedBundle):
4018         (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle): Moved
4019         "MouseScrollBy" to async section, and got rid of WKPageSetShouldSendEventsSynchronously.
4020
4021         * WebKitTestRunner/mac/EventSenderProxy.mm:
4022         (WTR::EventSenderProxy::mouseMoveTo): Got rid of WKPageSetShouldSendEventsSynchronously.
4023         (WTR::EventSenderProxy::keyDown): Ditto.
4024         (WTR::EventSenderProxy::mouseScrollBy): Ditto.
4025         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): Ditto.
4026
4027 2015-08-21  Yusuke Suzuki  <utatane.tea@gmail.com>
4028
4029         Skip no-llint tests that fail due to running out of executable memory after r188969
4030         https://bugs.webkit.org/show_bug.cgi?id=148273
4031
4032         Reviewed by Michael Saboff.
4033
4034         * Scripts/run-jsc-stress-tests:
4035
4036 2015-08-21  Nan Wang  <n_wang@apple.com>
4037
4038         [Mac] accessibility/selection-states.html fails
4039         https://bugs.webkit.org/show_bug.cgi?id=116637
4040
4041         Reviewed by Chris Fleizach.
4042
4043         Implemented isSelectable() and isMultiSelectable().
4044
4045         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
4046         (AccessibilityUIElement::isSelectable):
4047         (AccessibilityUIElement::isMultiSelectable):
4048         (AccessibilityUIElement::isSelectedOptionActive):
4049         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
4050         (WTR::AccessibilityUIElement::isSelectable):
4051         (WTR::AccessibilityUIElement::isMultiSelectable):
4052         (WTR::AccessibilityUIElement::isVisible):
4053
4054 2015-08-21  Jason Marcell  <jmarcell@apple.com>
4055
4056         Fix iteration over repositories on bot watcher's dashboard.
4057
4058         Reviewed by Alexey Proskuryakov.
4059
4060         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
4061         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Don't reuse the same index variable.
4062
4063 2015-08-20  Joonghun Park  <jh718.park@samsung.com>
4064
4065         [EFL] Revise PlatformWebView ctor according to r188718
4066         https://bugs.webkit.org/show_bug.cgi?id=148282
4067
4068         This patch change PlatformWebView ctor's argument to use WKPageConfigurationRef
4069         instead of WKContextRef and WKPageGroupRef respectively.
4070
4071         Reviewed by Gyuyoung Kim.
4072
4073         * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
4074         (WTR::PlatformWebView::PlatformWebView):
4075
4076 2015-08-20  Devin Rousso  <dcrousso+webkit@gmail.com>
4077
4078         Unreviewed, changed Devin Rousso's email.
4079
4080         * Scripts/webkitpy/common/config/contributors.json:
4081
4082 2015-08-20  Anders Carlsson  <andersca@apple.com>
4083
4084         Use WKPageConfigurationRef in WebKitTestRunner
4085         https://bugs.webkit.org/show_bug.cgi?id=147996
4086
4087         Reviewed by Tim Horton.
4088
4089         * WebKitTestRunner/TestController.cpp:
4090         (WTR::TestController::createOtherPage):
4091         (WTR::TestController::initialize):
4092         (WTR::TestController::createWebViewWithOptions):
4093         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
4094         (-[TestRunnerWKView initWithFrame:configurationRef:useThreadedScrolling:]):
4095         (WTR::PlatformWebView::PlatformWebView):
4096         (-[TestRunnerWKView initWithFrame:contextRef:pageGroupRef:relatedToPage:useThreadedScrolling:]): Deleted.
4097
4098 2015-08-20  Brent Fulgham  <bfulgham@apple.com>
4099
4100         [Win] Update Windows tools for revised MIDL interfaces
4101         https://bugs.webkit.org/show_bug.cgi?id=148249
4102
4103         Reviewed by Dean Jackson.
4104
4105         This is a follow-up to Bug 148001.
4106
4107         Revise the testing software to use compatible signatures and
4108         implementations to match the requirements of the IDL generated
4109         with the SAL annotations.
4110
4111         * DumpRenderTree/win/DRTDataObject.cpp:
4112         * DumpRenderTree/win/DRTDataObject.h:
4113         * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
4114         * DumpRenderTree/win/DRTDesktopNotificationPresenter.h:
4115         * DumpRenderTree/win/DRTDropSource.cpp:
4116         * DumpRenderTree/win/DRTDropSource.h:
4117         * DumpRenderTree/win/DumpRenderTree.cpp:
4118         * DumpRenderTree/win/EditingDelegate.cpp:
4119         * DumpRenderTree/win/EditingDelegate.h:
4120         * DumpRenderTree/win/FrameLoadDelegate.cpp:
4121         * DumpRenderTree/win/FrameLoadDelegate.h:
4122         * DumpRenderTree/win/HistoryDelegate.cpp:
4123         * DumpRenderTree/win/HistoryDelegate.h:
4124         * DumpRenderTree/win/PolicyDelegate.cpp:
4125         * DumpRenderTree/win/PolicyDelegate.h:
4126         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
4127         * DumpRenderTree/win/ResourceLoadDelegate.h:
4128         * DumpRenderTree/win/TestRunnerWin.cpp:
4129         * DumpRenderTree/win/UIDelegate.cpp:
4130         * DumpRenderTree/win/UIDelegate.h:
4131         * WinLauncher/AccessibilityDelegate.cpp:
4132         * WinLauncher/AccessibilityDelegate.h:
4133         * WinLauncher/Common.cpp:
4134         * WinLauncher/DOMDefaultImpl.cpp:
4135         * WinLauncher/DOMDefaultImpl.h:
4136         * WinLauncher/PageLoadTestClient.cpp:
4137         * WinLauncher/PageLoadTestClient.h:
4138         * WinLauncher/PrintWebUIDelegate.cpp:
4139         * WinLauncher/PrintWebUIDelegate.h:
4140         * WinLauncher/ResourceLoadDelegate.cpp:
4141         * WinLauncher/ResourceLoadDelegate.h:
4142         * WinLauncher/WebDownloadDelegate.cpp:
4143         * WinLauncher/WebDownloadDelegate.h:
4144         * WinLauncher/WinLauncherWebHost.cpp:
4145         * WinLauncher/WinLauncherWebHost.h:
4146         * WinLauncher/WinMain.cpp:
4147         * win/DLLLauncher/DLLLauncherMain.cpp:
4148
4149 2015-08-20  Filip Pizlo  <fpizlo@apple.com>
4150
4151         Unreviewed, shorten a test that runs too long and times out.
4152
4153         * TestWebKitAPI/Tests/WTF/Lock.cpp:
4154         (TestWebKitAPI::TEST):
4155
4156 2015-08-20  Alex Christensen  <achristensen@webkit.org>
4157
4158         Clean up CMake build after r188673
4159         https://bugs.webkit.org/show_bug.cgi?id=148234
4160
4161         Reviewed by Tim Horton.
4162
4163         * DumpRenderTree/PlatformWin.cmake:
4164         * TestWebKitAPI/CMakeLists.txt:
4165         * TestWebKitAPI/PlatformWin.cmake:
4166         Define WIN_CAIRO so WinCairo executables can find the correct dlls in WebKitLibraries.
4167         gtest needs to be a static library on Windows to not crash.
4168
4169 2015-08-19  Alex Christensen  <achristensen@webkit.org>
4170
4171         CMake Windows build should not include files directly from other Source directories
4172         https://bugs.webkit.org/show_bug.cgi?id=148198
4173
4174         Reviewed by Brent Fulgham.
4175
4176         * DumpRenderTree/DumpRenderTreePrefix.h:
4177         Include cmakeconfig.h to properly define all enabled features.
4178         * DumpRenderTree/PlatformWin.cmake:
4179         * TestWebKitAPI/PlatformWin.cmake:
4180
4181 2015-08-19  Alex Christensen  <achristensen@webkit.org>
4182
4183         Build TestWTF on Mac with CMake.
4184         https://bugs.webkit.org/show_bug.cgi?id=147972