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