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