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