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