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