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