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