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