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