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