W3C test parser and converter should use test importer host
[WebKit-https.git] / Tools / ChangeLog
1 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2
3         W3C test parser and converter should use test importer host
4         https://bugs.webkit.org/show_bug.cgi?id=142729
5
6         Reviewed by Bem Jones-Bey.
7
8         When instantiated by TestImporter, TestParser and TestConverter are now using the same host.
9         This enables adding more TestImporter unit testing.
10         This patch also ensures that the git object instantiated by TestDownloader is using the
11         same Executive and FileSystem object as TestDownloader, again to enable TestImporter/TestDownloader unit testing.
12
13         * Scripts/webkitpy/common/system/filesystem_mock.py:
14         (MockFileSystem.copytree): Fixes implementation as it creates a runtime error.
15         * Scripts/webkitpy/w3c/test_downloader.py:
16         (TestDownloader.git): Set the executive of the git object to the one of TestDownloader. Refactoring in a new git function for future reuse.
17         (TestDownloader.checkout_test_repository): Making use of the new git function.
18         * Scripts/webkitpy/w3c/test_importer.py:
19         (TestImporter.find_importable_tests): Adding host as parameter to the parser.
20         (TestImporter.import_tests): Adding host as parameter to the converter.
21         * Scripts/webkitpy/w3c/test_importer_unittest.py:
22         (TestImporterTest.create_test_download_importer): Creating a test downloader mock, to be reused by other tests.
23         (TestImporterTest):
24         (TestImporterTest.test_harnesslinks_conversion): Adding test to check that test harness links are converted for CSS tests but not WPT tests. 
25         * Scripts/webkitpy/w3c/test_parser.py:
26         (TestParser.__init__): Adding host as parameter constructor.
27
28 2015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
29
30         [GTK] WebKitDOM objects leaking
31         https://bugs.webkit.org/show_bug.cgi?id=118788
32
33         Reviewed by Darin Adler and Sergio Villar Senin.
34
35         Update DOMObjectCache unit test to check that DOM objects are also
36         released when new contents are loaded in the web view, and the old
37         document is detached from the frame.
38
39         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
40         (testWebKitDOMObjectCache):
41         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
42         (runTest):
43
44 2015-03-17  Youenn Fablet  <youenn.fablet@crf.canon.fr>
45
46         W3C test importer default import folder should be LayoutTests/imported/w3c
47         https://bugs.webkit.org/show_bug.cgi?id=142728
48
49         Reviewed by Bem Jones-Bey.
50
51         * Scripts/webkitpy/w3c/test_importer.py:
52         (parse_args): Updating the default destination option value to 'imported/w3c'.
53
54 2015-03-17  Philippe Normand  <pnormand@igalia.com>
55
56         [GTK] basic OpenWebRTC build support
57         https://bugs.webkit.org/show_bug.cgi?id=142393
58
59         Reviewed by Carlos Garcia Campos.
60
61         * gtk/jhbuild.modules: Add OpenWebRTC and its dependencies. This
62         is not the upstream OpenWebRTC repository. This temporary fork
63         contains a few patches needed by WebKit for audio/video rendering.
64
65 2015-03-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
66
67         [CMake][EFL] Build test tools only for developer mode
68         https://bugs.webkit.org/show_bug.cgi?id=142761
69
70         Reviewed by Csaba Osztrogonác.
71
72         Do not build EFL MiniBrowser, WebKitTestRunner, and ImageDiff on production mode.
73
74         * CMakeLists.txt:
75
76 2015-03-17  Joseph Pecoraro  <pecoraro@apple.com>
77
78         Remove never used "useLayerOnTop" bindings generator argument
79         https://bugs.webkit.org/show_bug.cgi?id=142773
80
81         Reviewed by Darin Adler.
82
83         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
84         (new):
85
86 2015-03-16  Ryosuke Niwa  <rniwa@webkit.org>
87
88         Enable ES6 classes by default
89         https://bugs.webkit.org/show_bug.cgi?id=142774
90
91         Reviewed by Gavin Barraclough.
92
93         * Scripts/webkitperl/FeatureList.pm:
94
95 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
96
97         Fix webkitpy tests after r181585.
98
99         Looks like "me" cannot be anyone's email, it's a special case.
100
101         * Scripts/webkitpy/common/config/contributors.json:
102
103 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
104
105         Add tolerance to WebAudio tests
106         https://bugs.webkit.org/show_bug.cgi?id=142676
107
108         Reviewed by Tim Horton.
109
110         * Scripts/webkitpy/common/wavediff.py: Added. Based on Jer Noble's work.
111
112         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
113         (TestResultWriter.create_audio_diff_and_write_result):
114         * Scripts/webkitpy/layout_tests/models/test_failures.py:
115         (FailureAudio.write_failure):
116         * Scripts/webkitpy/port/base.py:
117         (Port.do_audio_results_differ):
118         Diff audio failures.
119
120         * Scripts/webkitpy/port/test.py: Added a test for the tolerance, fixed existing
121         tests to use real parseable WAV data, and got rid of base64, which there didn't
122         seem to have been any reason for.
123
124 2015-03-16  Alexey Proskuryakov  <ap@apple.com>
125
126         [Mac] fast/forms/text-control-intrinsic-widths.html fails when MS Office is installed
127         https://bugs.webkit.org/show_bug.cgi?id=142720
128
129         Reviewed by Myles C. Maxfield.
130
131         Activate system copies of Microsoft fonts for the current process, thus overriding
132         any other ones that could be preferred by the system otherwise.
133
134         * DumpRenderTree/mac/DumpRenderTree.mm:
135         (activateSystemCoreWebFonts):
136         (adjustFonts):
137         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm:
138         (WTR::activateSystemCoreWebFonts):
139         (WTR::activateFonts):
140
141 2015-03-16  Xabier Rodriguez Calvar  <calvaris@igalia.com>
142
143         Created Streams API watchlist
144         https://bugs.webkit.org/show_bug.cgi?id=142684
145
146         Reviewed by Benjamin Poulain.
147
148         * Scripts/webkitpy/common/config/watchlist: Created StreamsAPI
149         watchlist and added Benjamin, Youenn and me to it.
150
151 2015-03-15  Benjamin Poulain  <benjamin@webkit.org>
152
153         CSS: fix the case-insensitive matching of the attribute selectors Begin, End and Hyphen
154         https://bugs.webkit.org/show_bug.cgi?id=142715
155
156         Reviewed by Brent Fulgham.
157
158         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
159         (TestWebKitAPI::TEST):
160
161 2015-03-15  Benjamin Poulain  <bpoulain@apple.com>
162
163         Change the exact attribute matching to be ASCII case-insensitive
164         https://bugs.webkit.org/show_bug.cgi?id=142609
165
166         Reviewed by Darin Adler.
167
168         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
169         * TestWebKitAPI/Tests/WTF/StringView.cpp:
170
171 2015-03-13  Youenn Fablet  <youenn.fablet@crf.canon.fr>
172
173         WebKit test infrastructure should automate the process of cloning W3C test suite and importing tests from it
174         https://bugs.webkit.org/show_bug.cgi?id=134764
175
176         Reviewed by Ryosuke Niwa.
177
178         TestDownloader is introduced to download W3C tests from the official
179         W3C tests repositories (https://github.com/w3c/web-platform-tests.git
180         and https://github.com/w3c/csswg-test.git).
181         TestDownloader clones the repositories and checkouts revisions of the tests
182         defined in LayoutTests/imported/w3c/resources/TestRepositories.
183
184         Similarly to https://codereview.chromium.org/148173016,
185         TestDownloader copies part of the files based on the rules
186         defined in LayoutTests/imported/w3c/resources/ImportExpectations.
187
188         TestDownloader is used by TestImporter when no source directory is provided.
189
190         * Scripts/webkitpy/w3c/test_downloader.py: Added.
191         (TestDownloader):
192         (TestDownloader.default_options):
193         (TestDownloader.load_test_repositories):
194         (TestDownloader.__init__):
195         (TestDownloader.checkout_test_repository):
196         (TestDownloader._init_paths_from_expectations):
197         (TestDownloader._add_test_suite_paths):
198         (TestDownloader._empty_directory):
199         (TestDownloader.copy_tests):
200         (TestDownloader.download_tests):
201         * Scripts/webkitpy/w3c/test_importer.py:
202         (main):
203         (parse_args):
204         (TestImporter.__init__):
205         (TestImporter.do_import):
206         (TestImporter.test_downloader):
207         (TestImporter.find_importable_tests.should_keep_subdir):
208         (TestImporter.should_convert_test_harness_links):
209         (TestImporter.import_tests):
210         (TestImporter.write_import_log):
211
212 2015-03-12  Alexey Proskuryakov  <ap@apple.com>
213
214         [Mavericks] Test snapshots are 1600x1200 on Retina devices
215         https://bugs.webkit.org/show_bug.cgi?id=142630
216
217         Reviewed by Tim Horton.
218
219         * WebKitTestRunner/mac/PlatformWebViewMac.mm: (WTR::PlatformWebView::windowSnapshotImage):
220         Removed an ifdef that disabled the fix on Mavericks.
221
222 2015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
223
224         Remove isWK2 cruft from webkitdirs.pm after r170426
225         https://bugs.webkit.org/show_bug.cgi?id=142618
226
227         Reviewed by Daniel Bates.
228
229         * Scripts/webkitdirs.pm:
230         (isWK2): Deleted.
231
232 2015-03-12  Alexey Proskuryakov  <ap@apple.com>
233
234         testRunner.setAlwaysAcceptCookies does not work with NetworkProcess
235         https://bugs.webkit.org/show_bug.cgi?id=138687
236
237         Reviewed by Carlos Garcia Campos.
238
239         Always change cookie policy from UI process, as changing it from WebProcess doesn't
240         affect other processes.
241
242         The implementation is imperfect, because the change happens asynchronously, but I
243         don't expect it to be a problem in practice.
244
245         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
246         (WTR::InjectedBundle::beginTesting):
247         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
248         (WTR::TestRunner::setAlwaysAcceptCookies):
249         * WebKitTestRunner/TestInvocation.cpp:
250         (WTR::TestInvocation::invoke):
251         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
252
253 2015-03-12  Csaba Osztrogonác  <ossy@webkit.org>
254
255         [EFL] Enable building EFL 1.13 with NEON support
256         https://bugs.webkit.org/show_bug.cgi?id=142619
257
258         Reviewed by Gyuyoung Kim.
259
260         * efl/jhbuild.modules:
261
262 2015-03-11  Alex Christensen  <achristensen@webkit.org>
263
264         [Content Extensions] Add resource type and load type triggers.
265         https://bugs.webkit.org/show_bug.cgi?id=142422
266
267         Reviewed by Benjamin Poulain.
268
269         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
270         (TestWebKitAPI::testRequest):
271         (TestWebKitAPI::mainDocumentRequest):
272         (TestWebKitAPI::TEST_F):
273         (TestWebKitAPI::testURL): Deleted.
274
275 2015-03-10  Sam Weinig  <sam@webkit.org>
276
277         Allow adding a button in input elements for auto fill related functionality
278         <rdar://problem/19782066>
279         https://bugs.webkit.org/show_bug.cgi?id=142564
280
281         Reviewed by Anders Carlsson.
282
283         * WebKitTestRunner/TestController.cpp:
284         (WTR::TestController::createOtherPage):
285         (WTR::TestController::createWebViewWithOptions):
286         Update for new callback.
287
288 2015-03-11  Benjamin Poulain  <bpoulain@apple.com>
289
290         Add basic support for BOL and EOL assertions to the URL Filter parser
291         https://bugs.webkit.org/show_bug.cgi?id=142568
292
293         Reviewed by Alex Christensen.
294
295         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
296         (TestWebKitAPI::TEST_F):
297
298 2015-03-11  Carlos Garcia Campos  <cgarcia@igalia.com>
299
300         [GTK] Add support for handling TLS errors to MiniBrowser
301         https://bugs.webkit.org/show_bug.cgi?id=142576
302
303         Reviewed by Sergio Villar Senin.
304
305         It's useful for testing TLS errors handling itself, but also to
306         allow ignoring TLS errors when testing.
307
308         * MiniBrowser/gtk/BrowserWindow.c:
309         (webViewLoadFailedWithTLSerrors):
310         (browserWindowConstructed):
311
312 2015-03-11  Myles C. Maxfield  <mmaxfield@apple.com>
313
314         Use out-of-band messaging for RenderBox::firstLineBaseline() and RenderBox::inlineBlockBaseline()
315         https://bugs.webkit.org/show_bug.cgi?id=142569
316
317         Reviewed by David Hyatt.
318
319         Test Optional::valueOrCompute().
320
321         * TestWebKitAPI/Tests/WTF/Optional.cpp:
322         (TestWebKitAPI::TEST):
323
324 2015-03-11  Carlos Garcia Campos  <cgarcia@igalia.com>
325
326         [GTK] Add an option to enable MiniBrowser for non developer builds and always install it
327         https://bugs.webkit.org/show_bug.cgi?id=126688
328
329         Reviewed by Gustavo Noronha Silva.
330
331         * CMakeLists.txt: Build testing tools only for developer builds,
332         but MiniBrowser when ENABLE_MINIBROWSER option is ON.
333         * MiniBrowser/gtk/CMakeLists.txt: Only add
334         -DWEBKIT_INJECTED_BUNDLE_PATH to the build for developer builds,
335         and add a rule to install the MiniBrowser.
336         * MiniBrowser/gtk/main.c:
337         (main): Only set WEBKIT_INJECTED_BUNDLE_PATH env var for developer
338         builds.
339
340 2015-03-11  Brent Fulgham  <bfulgham@apple.com>
341
342         Add some DateMath tests to TestWebKitAPI
343         https://bugs.webkit.org/show_bug.cgi?id=142565
344
345         Reviewed by Alexey Proskuryakov.
346
347         * TestWebKitAPI/CMakeLists.txt: Add new DateMath.cpp file.
348         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj: Ditto.
349         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters: Ditto.
350         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto."
351         * TestWebKitAPI/Tests/WTF/DateMath.cpp: Added.
352
353 2015-03-10  Brent Fulgham  <bfulgham@apple.com>
354
355         Regression(r181257): WTF_WorkQueue.Simple is flaky
356         https://bugs.webkit.org/show_bug.cgi?id=142560
357
358         Unreviewed attempt to improve test stability.
359
360         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Check the reference count for
361         the WorkQueue a little later to redue flakiness.
362
363 2015-03-10  Myles C. Maxfield  <mmaxfield@apple.com>
364
365         Migrate from SystemUIFontSelect to AppleSystemFontOSSubversion
366         https://bugs.webkit.org/show_bug.cgi?id=142555
367
368         Reviewed by Simon Fraser.
369
370         * DumpRenderTree/mac/DumpRenderTree.mm:
371         (setDefaultsToConsistentValuesForTesting):
372         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
373         (WTR::InjectedBundle::platformInitialize):
374
375 2015-03-10  Alex Christensen  <achristensen@webkit.org>
376
377         Use unsigned for HashSet size.
378         https://bugs.webkit.org/show_bug.cgi?id=142518
379
380         Reviewed by Benjamin Poulain.
381
382         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
383         (TestWebKitAPI::TEST):
384         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
385         (TestWebKitAPI::testInitialCapacity):
386         * TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
387         (TestWebKitAPI::TEST):
388
389 2015-03-10  Daniel Bates  <dabates@apple.com>
390
391         [iOS] Add WebKitSystemInterface for iOS 8.2
392         https://bugs.webkit.org/show_bug.cgi?id=142505
393
394         Rubber-stamped by Anders Carlsson.
395
396         Make copy-webkitlibraries-to-product-directory install libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a.
397         I inadvertently forgot to add libWebKitSystemInterfaceIOS{Device, Simulator}8.2.a to script
398         copy-webkitlibraries-to-product-directory in r181286.
399
400         * Scripts/copy-webkitlibraries-to-product-directory:
401
402 2015-03-10  Benjamin Poulain  <bpoulain@apple.com>
403
404         Extend URL filter's Term definition to support groups/subpatterns
405         https://bugs.webkit.org/show_bug.cgi?id=142519
406
407         Reviewed by Alex Christensen.
408
409         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
410         (TestWebKitAPI::testURL):
411
412 2015-03-06  Jer Noble  <jer.noble@apple.com>
413
414         Add an option to run-webkit-tests to override the LayoutTests/ directory
415         https://bugs.webkit.org/show_bug.cgi?id=142418
416
417         Reviewed by David Kilzer.
418
419         Add an arugment to run-webkit-tests which, when set, overrides the port's default LayoutTests
420         directory. The base port will parse the options during initialization and store the override
421         location if present. layout_tests_dir() will return this overridden location if set.
422
423         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
424         (parse_args):
425         * Scripts/webkitpy/port/base.py:
426         (Port.__init__):
427         (Port.layout_tests_dir):
428
429 2015-03-09  Martin Robinson  <mrobinson@igalia.com>
430
431         [CMake] Enable WorkQueue tests for CMake ports
432         https://bugs.webkit.org/show_bug.cgi?id=142473
433
434         Reviewed by Darin Adler.
435
436         * TestWebKitAPI/CMakeLists.txt: Add the WorkQueue tests source file to
437         the list of source files.
438         * Tools/TestWebKitAPI/PlatformEfl.cmake: Add the DispatchQueueEfl directory
439         to the list of include directories for EFL.
440
441 2015-03-09  David Kilzer  <ddkilzer@apple.com>
442
443         Attempt to fix timeouts on iOS Simulator layout tests
444
445         * Scripts/webkitpy/port/ios.py:
446         (IOSSimulatorPort.setup_test_run): Most layout test runs on iOS
447         Simulator end after the first 50 tests time out.  Some analysis
448         this past weekend shows that the 'Booted' status in the output
449         of `xcrun simctl list` is not sufficient (and watching the test
450         run shows that SpringBoard hasn't fully started to the point
451         where it's displaying icons on the home screen).  The workaround
452         until we have a better fix is to add an arbitrary timeout to let
453         SpringBoard finish launching.  In practice, 15 seconds is
454         probably enough, but 30 seconds should nearly always work.
455
456 2015-03-09  Per Arne Vollan  <peavo@outlook.com>
457
458         Unreviewed. Add myself as a committer.
459
460         * Scripts/webkitpy/common/config/contributors.json:
461
462 2015-03-09  David Kilzer  <ddkilzer@apple.com>
463
464         Attempt to fix WTF_WorkQueue.TwoQueues timeout test failure
465
466         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
467         (TestWebKitAPI::TEST): Change delay from 50ns to 50ms, and add
468         an expectation that will fail if we hit the race condition.
469         This test is inherently racy and will deadlock if the first job
470         for queue2 takes the mutex lock before the second job for
471         queue1.
472
473 2015-03-08  Brent Fulgham  <bfulgham@apple.com>
474
475         [Win] WTF::WorkQueue does not balance ref/deref properly
476         https://bugs.webkit.org/show_bug.cgi?id=142471
477
478         Reviewed by Antti Koivisto.
479
480         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
481         (TestWebKitAPI::TEST): Check that the refcount is correct.
482
483 2015-03-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
484
485         Do not show passing test result on output of EFL layout test
486         https://bugs.webkit.org/show_bug.cgi?id=142380
487
488         Reviewed by Darin Adler.
489
490         To show passing tests has caused inconvenience when we detect problem tests
491         in output of layout test. So this patch applies '--debug-rwt-logging' except for EFL port
492         in order not to show passing tests in the output of EFL layout test.
493
494         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
495         (RunWebKitTests.start):
496
497 2015-03-08  Brent Fulgham  <bfulgham@apple.com>
498
499         Unreviewed build fix.
500
501         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp:
502         (TestWebKitAPI::TEST): Remove two unused variables.
503
504 2015-03-08  Brent Fulgham  <bfulgham@apple.com>
505
506         Add some WorkQueue tests to TestWebKitAPI
507         https://bugs.webkit.org/show_bug.cgi?id=142447
508
509         Reviewed by Sam Weinig.
510
511         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
512         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
513         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
514         * TestWebKitAPI/Tests/WTF/WorkQueue.cpp: Added.
515         (TestWebKitAPI::simpleTest):
516         (TestWebKitAPI::longTest):
517         (TestWebKitAPI::thirdTest):
518         (TestWebKitAPI::finishedTests):
519         (TestWebKitAPI::TEST):
520         (TestWebKitAPI::longTest2):
521
522 2015-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
523
524         Remove willDestroyFrame in WKBundlePageLoaderClient
525         https://bugs.webkit.org/show_bug.cgi?id=142389
526
527         Reviewed by Anders Carlsson.
528
529         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
530         (WTR::InjectedBundlePage::InjectedBundlePage):
531
532 2015-03-07  Brent Fulgham  <bfulgham@apple.com>
533
534         [Win] Increase TestWebKitAPI Test Coverage[Win] Increase TestWebKitAPI Test Coverage
535         https://bugs.webkit.org/show_bug.cgi?id=142433
536
537         Reviewed by Darin Adler.
538
539         Include more TestWebKitAPI tests when building for Windows. Also
540         fix a build error in MetaAllocator.cpp caused by one of the
541         Microsoft headers #defining 'small'.
542
543         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
544         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
545         * TestWebKitAPI/Tests/WTF/MetaAllocator.cpp:
546
547 2015-03-06  Sam Weinig  <sam@webkit.org>
548
549         [Content Extensions] Move compiling of content extensions to the UIProcess
550         https://bugs.webkit.org/show_bug.cgi?id=142402
551
552         Reviewed by Benjamin Poulain.
553
554         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
555         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp: Copied from Tools/TestWebKitAPI/Tests/WebCore/ContentFilter.cpp.
556         (TestWebKitAPI::InMemoryCompiledContentExtension::create):
557         (TestWebKitAPI::InMemoryCompiledContentExtension::~InMemoryCompiledContentExtension):
558         (TestWebKitAPI::InMemoryCompiledContentExtension::InMemoryCompiledContentExtension):
559         (TestWebKitAPI::TEST_F):
560         * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Removed.
561         Update test for new name (ContentFilter -> ContentExtensions) and API (CompiledContentExtension
562         is now abstract).
563
564 2015-03-06  Brent Fulgham  <bfulgham@apple.com>
565
566         [Win] Correct Windows build.
567
568         Rubberstamped by Michael Saboff
569
570         * win/AssembleBuildLogs/AssembleLogs.cmd: Correct cut/paste error
571         in the GOTO labels.
572
573 2015-03-06  Carlos Garcia Campos  <cgarcia@igalia.com>
574
575         [GTK] Test /webkit2/WebKitWebView/sync-request-on-max-conns might fail after finished
576         https://bugs.webkit.org/show_bug.cgi?id=142385
577
578         Reviewed by Sergio Villar Senin.
579
580         Use stack allocated GMainLoopSources to make sure they are
581         cancelled automatically if the test finishes before they have
582         been processed.
583
584         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
585         (testWebViewSyncRequestOnMaxConns):
586
587 2015-03-06  Csaba Osztrogonác  <ossy@webkit.org>
588
589         Remove Mountain Lion libraries since ML isn't supported
590         https://bugs.webkit.org/show_bug.cgi?id=142332
591
592         Reviewed by Darin Adler.
593
594         * Scripts/copy-webkitlibraries-to-product-directory:
595
596 2015-03-06  Carlos Alberto Lopez Perez <clopez@igalia.com> and Youenn Fablet  <youenn.fablet@crf.canon.fr>
597
598         Layout tests imported/w3c/web-platform-tests certificates should not be tracked on WebKit VCS
599         https://bugs.webkit.org/show_bug.cgi?id=142083
600
601         Reviewed by Simon Fraser.
602
603         Modifying on the fly wpt config.json to set the directory where to generate/read certificates as a subfolder of the layout test results folder.
604
605         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
606         (WebPlatformTestServer._copy_webkit_test_files):
607
608 2015-03-06  Csaba Osztrogonác  <ossy@webkit.org>
609
610         setup-git-clone fails due to the failure to download python-irclib-0.4.8
611         https://bugs.webkit.org/show_bug.cgi?id=141946
612
613         Reviewed by Ryosuke Niwa.
614
615         Check in ircbot.py and irclib.py to avoid network problems in the future.
616
617         * Scripts/webkitpy/common/net/irc/ircbot.py:
618         * Scripts/webkitpy/thirdparty/__init__.py:
619         (AutoinstallImportHook.find_module):
620         (AutoinstallImportHook._install_irc): Deleted.
621         * Scripts/webkitpy/thirdparty/__init___unittest.py:
622         (ThirdpartyTest.test_imports):
623         * Scripts/webkitpy/thirdparty/irc/__init__.py: Added.
624         * Scripts/webkitpy/thirdparty/irc/ircbot.py: Added.
625         * Scripts/webkitpy/thirdparty/irc/irclib.py: Added.
626
627 2015-03-06  David Kilzer  <ddkilzer@apple.com>
628
629         Dashboard: Perf bot status is missing for Apple {Mavericks,Yosemite} Release builds
630
631         See also fix to config.json in r181097.
632
633         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
634         (WebKitBuildbot): Add missing "WK2" to the names of the perf
635         bots.
636
637 2015-03-06  Csaba Osztrogonác  <ossy@webkit.org>
638
639         run-jsc-stress-tests should determine the architecture from ELF binaries
640         https://bugs.webkit.org/show_bug.cgi?id=142335
641
642         Reviewed by Darin Adler.
643
644         * Scripts/run-jsc-stress-tests:
645
646 2015-03-05  David Kilzer  <ddkilzer@apple.com>
647
648         [iOS] TestExpectations for ios-simulator-wk2 should fall back to 'wk2' after 'ios-simulator'
649         <http://webkit.org/b/142226>
650
651         Reviewed by Darin Adler.
652
653         * Scripts/webkitpy/port/ios.py:
654         (IOSSimulatorPort.default_baseline_search_path): Switch the
655         TestExpectations order of ios-simulator-wk2 from this:
656           ios-simulator-wk2, wk2, ios-simulator
657         To this:
658           ios-simulator-wk2, ios-simualtor, wk2
659
660 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
661
662         [Win] Provide tiered logging from MSBuild -- Errors on top, Warnings after
663         https://bugs.webkit.org/show_bug.cgi?id=142370
664
665         Reviewed by Dean Jackson.
666
667         * Scripts/webkitdirs.pm:
668         (buildVisualStudioProject): Tell MSBuild to output log files to two separate
669         logs, one for warnings, the other for errors.
670         * win/AssembleBuildLogs/AssembleLogs.cmd: Combine the error and warning logs
671         into the standard BuildOutput.htm document.
672
673 2015-03-05  David Kilzer  <ddkilzer@apple.com>
674
675         Dashboard has trouble parsing iOS test output
676         <http://webkit.org/b/142364>
677
678         Reviewed by Alex Christensen.
679
680         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
681         (BuildbotTestResults.prototype._parseResults.resultSummarizer):
682         Add fallback path to build a regex using 'matchString' so that
683         it matches anywhere in the line.  In practice, 'matchString' is
684         a prefix for the label following the number.
685
686 2015-03-05  Alex Christensen  <achristensen@webkit.org>
687
688         Fix linker warnings in TestWebKitAPI.
689         https://bugs.webkit.org/show_bug.cgi?id=141912
690
691         Reviewed by David Kilzer.
692
693         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
694         Do not export TearDownTestCase or SetUpTestCase symbols.
695
696 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
697
698         [Win] Unreviewed EWS fix.
699
700         * Scripts/webkitdirs.pm:
701         (buildVisualStudioProject): Dial logging back to 'ErrorsOnly' to see if that makes
702         the EWS output more usable.
703
704 2015-03-05  Chris Dumez  <cdumez@apple.com>
705
706         Regression(r173761): ASSERTION FAILED: !is8Bit() in StringImpl::characters16()
707         https://bugs.webkit.org/show_bug.cgi?id=142350
708
709         Reviewed by Michael Saboff and Benjamin Poulain.
710
711         Add API test for WTFString::hasInfixStartingAt() to make sure it doesn't
712         crash if the string is 8-bit but the pattern is 16-bit (and vice-versa).
713
714         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
715         (TestWebKitAPI::TEST):
716
717 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
718
719         [Win] Ensure build target directory exists when launching MSBuild
720         https://bugs.webkit.org/show_bug.cgi?id=142360
721
722         Reviewed by Dean Jackson.
723
724         Create the build output directory (if it doesn't exist) before
725         launching MSBuild so that it can immediately begin writing logs.
726
727         * Scripts/webkitdirs.pm:
728         (buildVisualStudioProject):
729
730 2015-03-05  Chris Dumez  <cdumez@apple.com>
731
732         run-webkit-tests and run-perf-tests should use WebKitTestRunner by default
733         https://bugs.webkit.org/show_bug.cgi?id=142325
734
735         Reviewed by Csaba Osztrogonác.
736
737         run-webkit-tests and run-perf-tests now use WebKitTestRunner by default.
738         As a result, "--webkit-test-runner / -2" parameters are replaced by
739         "--dump-render-tree / -1" so developers can run DumpRenderTree rather
740         than WebKitTestRunner.
741
742         * BuildSlaveSupport/build.webkit.org-config/config.json:
743         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
744         (RunWebKit1Tests):
745         (RunWebKit1Tests.start):
746         (RunWebKit1LeakTests):
747         (RunWebKit1LeakTests.start):
748         (RunAndUploadPerfTestsWebKit1):
749         (RunAndUploadPerfTestsWebKit1.start):
750         (TestFactory):
751         (TestWebKit1LeaksFactory):
752         (TestWebKit1LeaksFactory.__init__):
753         (TestWebKit1Factory):
754         (TestWebKit1AllButJSCFactory):
755         (TestAllButJSCFactory):
756         (BuildAndPerfTestWebKit1Factory):
757         (BuildAndPerfTestWebKit1Factory.__init__):
758         (BuildAndPerfTestFactory):
759         (BuildAndPerfTestFactory.__init__):
760         (DownloadAndPerfTestWebKit1Factory):
761         (DownloadAndPerfTestWebKit1Factory.__init__):
762         (DownloadAndPerfTestFactory):
763         (DownloadAndPerfTestFactory.__init__):
764         (RunWebKitLeakTests): Deleted.
765         (RunWebKitLeakTests.start): Deleted.
766         (RunWebKit2Tests): Deleted.
767         (RunWebKit2Tests.start): Deleted.
768         (RunAndUploadPerfTestsWebKit2): Deleted.
769         (RunAndUploadPerfTestsWebKit2.start): Deleted.
770         (TestLeaksFactory): Deleted.
771         (TestLeaksFactory.__init__): Deleted.
772         (TestWebKit2Factory): Deleted.
773         (TestWebKit2AndJSCFactory): Deleted.
774         (BuildAndPerfTestWebKit2Factory): Deleted.
775         (BuildAndPerfTestWebKit2Factory.__init__): Deleted.
776         (DownloadAndPerfTestWebKit2Factory): Deleted.
777         (DownloadAndPerfTestWebKit2Factory.__init__): Deleted.
778         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
779         (parse_args):
780         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
781         (PerfTestsRunner._parse_args):
782         * Scripts/webkitpy/port/port_testcase.py:
783         (PortTestCase.test_build_driver):
784
785 2015-03-05  Brent Fulgham  <bfulgham@apple.com>
786
787         [Win] Switch to MSBuild so we get more useful stdout logging in buildbot
788         https://bugs.webkit.org/show_bug.cgi?id=140845
789
790         Reviewed by David Kilzer.
791
792         Update 'webkitdirs.pm' to locate the MSBuild used with Visual Studio 2013
793         and generate suitable build commands to drive a full build from our
794         existing solution files.
795
796         * Scripts/webkitdirs.pm:
797         (msBuildInstallDir): Added.
798         (determineConfigurationForVisualStudio): Revise to use MSBuild command
799         line arguments to drive the build.
800         (setupCygwinEnv): Warn user if MSBuild cannot be located.
801         (buildVisualStudioProject): Revise to use MSBuild command line arguments
802         to specify build architecture.
803         * win/AssembleBuildLogs/AssembleLogs.cmd: MSBuild doesn't produce individual
804         output logs, so don't attempt to consolidate them. Also: Drive-by fix: Don't
805         bother looking for CoreUI or SafariTheme build logs.
806
807 2015-03-05  Csaba Osztrogonác  <ossy@webkit.org>
808
809         [buildbot] mastercfg_unittest.py should be runnable easily
810         https://bugs.webkit.org/show_bug.cgi?id=142219
811
812         Reviewed by Chris Dumez.
813
814         Buildbot 0.8.6p1 runs on build.webkit org with Twisted 12.1.0, which is
815         the last Twisted version works together with this buildbot version.
816
817         * Scripts/webkitpy/common/system/autoinstall.py:
818         (AutoInstaller): Added prepend_to_search_path argument to be able
819         to prefer autoinstalled package to system package.
820         (AutoInstaller.__init__):
821         (AutoInstaller._set_up_target_dir):
822         (AutoInstaller._extract_tar): Renamed from _extract_targz, now it works with tar.bz2 too.
823         (AutoInstaller._prepare_package):
824         (AutoInstaller._extract_targz): Renamed to _extract_tar.
825         * Scripts/webkitpy/thirdparty/__init__.py:
826         (AutoinstallImportHook._install_buildbot): Autoinstall Twisted 12.1.0.
827
828 2015-03-05  Lukasz Bialek  <l.bialek@samsung.com>
829
830         [EFL][WK2] Crash when "Download Linked File" from MiniBrowser context menu is clicked
831         https://bugs.webkit.org/show_bug.cgi?id=131162
832
833         Reviewed by Gyuyoung Kim.
834
835         * MiniBrowser/efl/main.c:
836         (on_download_request):
837         (on_download_finished):
838         (on_download_failed):
839         (window_create):
840         Adapt download callbacks to new callback mechanism
841
842 2015-03-05  Carlos Garcia Campos  <cgarcia@igalia.com>
843
844         Unreviewed. Fix /webkit2/WebKitWebResource/mime-type after r180927.
845
846         In r180927 we updated the libsoup version used by the jhbuild. In
847         this new version the sniffer uses image/x-icon instead of
848         image/vnd.microsoft.icon for blank.ico resource.
849
850         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
851         (testWebResourceMimeType):
852
853 2015-03-05  Carlos Garcia Campos  <cgarcia@igalia.com>
854
855         [SOUP] Check TLS errors as soon as they are set in the SoupMessage
856         https://bugs.webkit.org/show_bug.cgi?id=142244
857
858         Reviewed by Sergio Villar Senin.
859
860         Check that the SSL server doesn't process any request in case of
861         TLS errors when the policy is set to FAIL.
862
863         * TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp:
864         (testTLSErrorsPolicy):
865         (testTLSErrorsRedirect):
866         (testTLSErrorsHTTPAuth):
867         (testLoadFailedWithTLSErrors):
868         (testSubresourceLoadFailedWithTLSErrors):
869         (httpsServerCallback):
870
871 2015-03-05  Pawel Forysiuk  <p.forysiuk@samsung.com>
872
873         [EFL] REGRESSION (r178685): ASSERTION FAILED: !parameters.mediaKeyStorageDirectory.isEmpty()
874         https://bugs.webkit.org/show_bug.cgi?id=141154
875
876         Reviewed by Jer Noble.
877
878         Unlike GTK, EFL port enables ENABLE_ENCRYPTED_MEDIA_V2 build option by default.
879
880         For the sake of completeness WebKitTestRunner should specify temporary
881         folder for MediaKeysStorageDirecory as well as IndexedDB, LocalStorage, etc.
882
883         Default non legacy paths are set up in ProcessPoolConfiguration constructor.
884         They use WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation
885         to get data storage paths. Only Mac port has an actual implementation of it.
886         However, WebKitTestRunner overrides them in favour of unique temporary dir
887         which is taken from libraryPathForTesting().
888
889         Since WebsiteDataStore::websiteDataDirectoryFileSystemRepresentation
890         is not implemented for EFL and GTK ports it returns an empty string.
891         All default data folders besides MediaKeys are overridden in TestRunner
892         code with unique temporary folders derived from DUMPRENDERTREE_TEMP
893         env variable.
894
895         GTK port does not enable encrypted keys by default so
896         WebMediaKeyStorageManager::initialize() code path is never triggered.
897
898         * WebKitTestRunner/TestController.cpp:
899         (WTR::TestController::initialize): Set MediaKeysStorageDirectory for all
900         WebKit ports.
901
902 2015-03-05  Csaba Osztrogonác  <ossy@webkit.org>
903
904         [buildbot] Add regression test to check which builder runs which tests
905         https://bugs.webkit.org/show_bug.cgi?id=142166
906
907         Reviewed by Alexey Proskuryakov.
908
909         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
910         (BuildStepsConstructorTest.createTest):
911         (BuildStepsTest):
912         (BuildStepsTest.generateTests):
913         (BuildStepsTest.createTest):
914         (BuildStepsTest.createTest.doTest):
915         (BuildStepsTest.test_unnecessary_expected_results):
916
917 2015-03-04  Commit Queue  <commit-queue@webkit.org>
918
919         Unreviewed, rolling out r181054.
920         https://bugs.webkit.org/show_bug.cgi?id=142320
921
922         Broke the api tests (Requested by sundiamonde on #webkit).
923
924         Reverted changeset:
925
926         "Fix linker warnings in TestWebKitAPI."
927         https://bugs.webkit.org/show_bug.cgi?id=141912
928         http://trac.webkit.org/changeset/181054
929
930 2015-03-04  Alex Christensen  <achristensen@webkit.org>
931
932         Fix linker warnings in TestWebKitAPI.
933         https://bugs.webkit.org/show_bug.cgi?id=141912
934
935         Reviewed by David Kilzer.
936
937         * TestWebKitAPI/Configurations/Base.xcconfig:
938         Use GCC_SYMBOLS_PRIVATE_EXTERN like we do in WebCore.
939
940 2015-03-04  Alexey Proskuryakov  <ap@apple.com>
941
942         [Mac] Set SystemUIFontSelect in DRT and WKTR
943         https://bugs.webkit.org/show_bug.cgi?id=142303
944
945         Reviewed by Myles C. Maxfield.
946
947         * DumpRenderTree/mac/DumpRenderTree.mm:
948         (setDefaultsToConsistentValuesForTesting):
949         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
950         (WTR::InjectedBundle::platformInitialize):
951
952 2015-03-04  Chris Dumez  <cdumez@apple.com>
953
954         Mac Perf bots should use WebKitTestRunner instead of DumpRenderTree
955         https://bugs.webkit.org/show_bug.cgi?id=142314
956         <rdar://problem/20046835>
957
958         Reviewed by Ryosuke Niwa.
959
960         Mac Perf bots should use WebKitTestRunner instead of DumpRenderTree
961         to get WK2 code coverage.
962
963         * BuildSlaveSupport/build.webkit.org-config/config.json:
964
965 2015-03-04  Alex Christensen  <achristensen@webkit.org>
966
967         Move content extensions test to properly named directory.
968         https://bugs.webkit.org/show_bug.cgi?id=142299
969
970         Reviewed by Tim Horton.
971
972         * WebKitTestRunner/mac/TestControllerMac.mm:
973         (WTR::TestController::platformConfigureViewForTest):
974
975 2015-03-04  Youenn Fablet  <youenn.fablet@crf.canon.fr>
976
977         W3C test importer should use filesystem instead of os.walk
978         https://bugs.webkit.org/show_bug.cgi?id=142085
979
980         Reviewed by Bem Jones-Bey.
981
982         Added FileSystem.dirs_under to remove the use of os.walk in test importer.
983         Added MockFileSystem.dirs_under and MockFileSystem.getsize to enable unit testing of test importer.
984         Added unit test for FileSystem.dirs_under and MockFileSystem.dirs_under.
985
986         Made use of FileSystem.dirs_under within TestImporter.find_importable_tests.
987         Added a unit test to check that test importer is now black-box testable using a Mock system.
988
989         * Scripts/webkitpy/common/system/filesystem.py:
990         (FileSystem.dirs_under): Returns a list of filtered sub-directories.
991         (FileSystem.dirs_under.filter_all):
992         * Scripts/webkitpy/common/system/filesystem_mock.py:
993         (MockFileSystem.dirs_under):
994         (MockFileSystem.dirs_under.filter_all):
995         (MockFileSystem.getsize):
996         * Scripts/webkitpy/common/system/filesystem_mock_unittest.py:
997         (MockFileSystemTest.test_dirs_under):
998         (MockFileSystemTest.test_dirs_under.filter_dir):
999         * Scripts/webkitpy/common/system/filesystem_unittest.py:
1000         (RealFileSystemTest.test_sep):
1001         (RealFileSystemTest):
1002         (RealFileSystemTest.test_dirs_under):
1003         (RealFileSystemTest.test_dirs_under.filter_this_dir):
1004         * Scripts/webkitpy/w3c/test_importer.py:
1005         (TestImporter.do_import):
1006         (TestImporter.find_importable_tests.should_keep_subdir):
1007         (TestImporter.find_importable_tests):
1008         (TestImporter.should_keep_subdir): Deleted.
1009         (TestImporter.should_skip_file): Deleted.
1010         * Scripts/webkitpy/w3c/test_importer_unittest.py:
1011         (TestImporterTest.test_import_dir_with_empty_init_py): Added test to ensure empty __init__.py are no longer empty once imported.
1012
1013 2015-03-04  Timothy Horton  <timothy_horton@apple.com>
1014
1015         [WebEditingTester] Add support for the find and replace bar
1016         https://bugs.webkit.org/show_bug.cgi?id=142247
1017
1018         Reviewed by Enrica Casucci.
1019
1020         While it's not hooked up yet in WKWebView, adding support for the
1021         find bar to WebEditingTester will help us implement that functionality.
1022
1023         * WebEditingTester/AppDelegate.h:
1024         * WebEditingTester/AppDelegate.m:
1025         (-[WebEditingAppDelegate performTextFinderAction:]):
1026         * WebEditingTester/MainMenu.xib:
1027         Receive performTextFinderAction: and forward it to the frontmost WebDocumentController.
1028
1029         * WebEditingTester/WK2WebDocumentController.m:
1030         (-[WK2WebDocumentController awakeFromNib]):
1031         (-[WK2WebDocumentController performTextFinderAction:]):
1032         (-[WK2WebDocumentController findBarView]):
1033         (-[WK2WebDocumentController setFindBarView:]):
1034         (-[WK2WebDocumentController isFindBarVisible]):
1035         (-[WK2WebDocumentController setFindBarVisible:]):
1036         (-[WK2WebDocumentController findBarViewDidChangeHeight]):
1037         (-[WK2WebDocumentController layout]):
1038         Implement performTextFinderAction: for WebKit2, and have a NSTextFinder
1039         pointing at the WKWebView (currently nothing will work, but the bar will
1040         show up). Install and uninstall the bar as needed.
1041
1042         * WebEditingTester/WebDocument.xib:
1043         Don't use a full-size content view. There's no need, and it makes find
1044         bar layout harder.
1045
1046         * WebEditingTester/WebDocumentController.h:
1047         * WebEditingTester/WebDocumentController.m:
1048         (-[WebDocumentController performTextFinderAction:]):
1049
1050 2015-03-03  Sam Weinig  <sam@webkit.org>
1051
1052         [Content Extensions] Split parsing and compiling of content extensions into their own files
1053         https://bugs.webkit.org/show_bug.cgi?id=142259
1054
1055         Reviewed by Anders Carlsson.
1056
1057         Add basic unit test for the content filter compiler.
1058
1059         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1060         * TestWebKitAPI/Tests/WebCore/ContentFilter.cpp: Added.
1061         (WebCore::ContentExtensions::operator<<):
1062         (TestWebKitAPI::ContentFilterTest::SetUp):
1063         (TestWebKitAPI::TEST_F):
1064
1065 2015-03-04  Matthew Mirman  <mmirman@apple.com>
1066
1067         Cleaned up BuildAndTestFactory to not be a near duplicate of TestFactory
1068         https://bugs.webkit.org/show_bug.cgi?id=142230
1069
1070         Reviewed by Csaba Osztrogonác.
1071
1072         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1073         (TestFactory):
1074         (TestFactory.getProduct): Added
1075         (TestFactory.__init__): moved downloader to getProduct
1076         (BuildAndTestFactory):        
1077         (BuildAndTestFactory.getProduct): Added
1078         (BuildAndTestFactory.__init__): made to call TestFactory.__init__ and append steps to the end.
1079         (BuildAndTestWebKit2Factory): Deleted.  Wasn't used anywhere.
1080
1081 2015-03-04  Debarshi Ray  <debarshir@gnome.org>
1082
1083         [GTK] WebView should hold a reference on WebContext because non-default contexts are a reality
1084         https://bugs.webkit.org/show_bug.cgi?id=142225
1085
1086         Reviewed by Carlos Garcia Campos.
1087
1088         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
1089         (testWebViewWebContextLifetime):
1090         (beforeAll):
1091
1092 2015-03-03  David Kilzer  <ddkilzer@apple.com>
1093
1094         [iOS] Crash logs can't be found on ios-simulator because WebKitTestRunner returns the wrong process name
1095         <http://webkit.org/b/142243>
1096
1097         Reviewed by Alexey Proskuryakov.
1098
1099         * WebKitTestRunner/TestController.cpp:
1100         (WTR::TestController::webProcessName):
1101         (WTR::TestController::networkProcessName):
1102         - Return the same process name on iOS and Mac because they both
1103           use the same process name for local engineering builds.
1104
1105 2015-03-03  David Kilzer  <ddkilzer@apple.com>
1106
1107         check-webkit-style: Add exception for FrameworkSoftLink.h header order
1108         <http://webkit.org/b/141872>
1109
1110         Reviewed by Alex Christensen.
1111
1112         * Scripts/webkitpy/style/checkers/cpp.py: Remove unneeded
1113         semi-colons in various places and fix whitespace.
1114         (_IncludeState): Add _SOFT_LINK_HEADER and _SOFT_LINK_SECTION
1115         constants.
1116         (_IncludeState.__init__): Add self._visited_soft_link_section
1117         boolean state variable.
1118         (_IncludeState.visited_soft_link_section): Getter for
1119         self._visited_soft_link_section.
1120         (_IncludeState.check_next_include_order): Update state machine
1121         for soft-link headers.  Add check that soft-link headers always
1122         appear last.
1123         (_classify_include): Add check for soft-link header type.
1124         (check_include_line): Return early if there is a soft-link
1125         header error.
1126
1127         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1128         (OrderOfIncludesTest.test_public_primary_header): Add tests for
1129         including soft-link headers.
1130         (OrderOfIncludesTest.test_classify_include): Add test for
1131         _SOFT_LINK_HEADER type.
1132
1133 2015-03-03  Alexey Proskuryakov  <ap@apple.com>
1134
1135         build.webkit.org/dashboard: Don't repeatedly handle each test type
1136         https://bugs.webkit.org/show_bug.cgi?id=142211
1137
1138         Reviewed by Tim Horton and Matt Hanson.
1139
1140         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
1141         (Buildbot.prototype.javascriptTestResultsURLForIteration): Deleted.
1142         (Buildbot.prototype.apiTestResultsURLForIteration): Deleted.
1143         (Buildbot.prototype.platformAPITestResultsURLForIteration): Deleted.
1144         (Buildbot.prototype.webkitpyTestResultsURLForIteration): Deleted.
1145         (Buildbot.prototype.webkitperlTestResultsURLForIteration): Deleted.
1146         (Buildbot.prototype.bindingsTestResultsURLForIteration): Deleted.
1147         Removed functions that build a link to test step results. The buildbot provides
1148         these links in JSON.
1149
1150         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1151         (BuildbotIteration): Put failing tests into an array, instead of named variables.
1152         (BuildbotIteration.ProductiveSteps): Removed step names that are not used on build.webkit.org.
1153         We can easily add them to the map as needed.
1154         (BuildbotIteration.TestSteps): Added a list of test steps to be displayed by test queues.
1155         (BuildbotIteration.prototype._parseData): Moved code for parsing step results away
1156         to BuildbotTestResults class. We used to parse here, build an intermediate data structure,
1157         and then build a BuildbotTestResults object, which was strange.
1158         (BuildbotIteration.prototype.loadLayoutTestResults): Ditto.
1159
1160         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1161         Corrected an unrelated assertion that was buggy, and kept firing.
1162
1163         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
1164         (BuildbotTestResults):
1165         (BuildbotTestResults.prototype._parseResults.resultSummarizer):
1166         (BuildbotTestResults.prototype._parseResults):
1167         (BuildbotTestResults.prototype.addFullLayoutTestResults):
1168         Moved the code for parsing JSON results for a single step here.
1169
1170         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1171         (BuildbotTesterQueueView.prototype._testStepFailureDescription):
1172         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount):
1173         (BuildbotTesterQueueView.prototype._presentPopoverForGenericTestFailures):
1174         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus): Deleted.
1175         (BuildbotTesterQueueView.prototype.update): Deleted.
1176         (BuildbotTesterQueueView.prototype._presentPopoverForMultipleFailureKinds): Deleted.
1177         Updated for the new data structures. One behavior change is that we now display individual
1178         counts when multiple test kinds fail, e.g. "1 javascript test failure, 83+ layout
1179         test failures, 3 platform api test failures".
1180
1181 2015-03-03  Matthew Mirman  <mmirman@apple.com>
1182
1183         JSC tests should not be repeated twice for each branch builder, and should if possible have their own queue.
1184         https://bugs.webkit.org/show_bug.cgi?id=142094
1185
1186         Reviewed by Csaba Osztrogonác.
1187
1188         * BuildSlaveSupport/build.webkit.org-config/config.json: Added bots 155 and 157
1189         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1190         (TestFactory):
1191         (TestFactory.__init__): Made running of JSC tests conditional.
1192         (TestAllButJSCFactory):
1193         (TestJSCFactory): Added.
1194         (TestJSCFactory.__init__):
1195         (TestWebKit2AndJSCFactory): Added factory to not run JSC tests on WebKit2.
1196
1197 2015-03-03  David Kilzer  <ddkilzer@apple.com>
1198
1199         `build-webkit --help` is wrong about how to build for the iOS simulator
1200         <http://webkit.org/b/142223>
1201
1202         Reviewed by Csaba Osztrogonác.
1203
1204         * Scripts/build-webkit: Fix help.
1205
1206 2015-03-03  Carlos Garcia Campos  <cgarcia@igalia.com>
1207
1208         Unreviewed. Bump libsoup version to 2.49.91.1 to fix 32 bit build.
1209
1210         * gtk/jhbuild.modules:
1211
1212 2015-03-03  Carlos Garcia Campos  <cgarcia@igalia.com>
1213
1214         [SOUP] Synchronous XMLHttpRequests can time out when we reach the max connections limit
1215         https://bugs.webkit.org/show_bug.cgi?id=141508
1216
1217         Reviewed by Sergio Villar Senin.
1218
1219         Add a unit test to check that synchronous XHRs load even if the
1220         maximum connection limits are reached.
1221
1222         * TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp:
1223         (testWebViewSyncRequestOnMaxConns):
1224         (serverCallback):
1225         (beforeAll):
1226         * gtk/jhbuild.modules: Bump libsoup version to 2.49.91.
1227
1228 2015-03-02  Alexey Proskuryakov  <ap@apple.com>
1229
1230         Update the name of ASan build step.
1231
1232         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1233
1234 2015-03-02  Jer Noble  <jer.noble@apple.com>
1235
1236         [WK1][WK2][Mac] Fullscreen animation is incorrect when page is scaled.
1237         https://bugs.webkit.org/show_bug.cgi?id=142121
1238
1239         Reviewed by Simon Fraser.
1240
1241         Add a test which changes the WebView's page scale, then enters fullscreen mode, and verifies
1242         that the initial and final screen rects for the web content are as expected.
1243
1244         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1245         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.html: Added.
1246         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm: Added.
1247         (-[FullscreenStateDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1248         (runJavaScriptAlert):
1249         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
1250         (TestWebKitAPI::FullscreenZoomInitialFrame::teardownView):
1251         (TestWebKitAPI::FullscreenZoomInitialFrame::setPageScale):
1252         (TestWebKitAPI::FullscreenZoomInitialFrame::sendMouseDownEvent):
1253         (TestWebKitAPI::FullscreenZoomInitialFrame::runTest):
1254         (TestWebKitAPI::TEST_F):
1255
1256 2015-03-01  David Kilzer  <ddkilzer@apple.com>
1257
1258         LayoutTestRealy: Prepend __XPC_ to the key, not the value!
1259
1260         Follow-up fix for:
1261
1262         LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
1263         <http://webkit.org/b/142145>
1264
1265         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
1266         (-[LTRelayController _environmentVariables]): Fix think-o.
1267
1268 2015-03-01  David Kilzer  <ddkilzer@apple.com>
1269
1270         LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
1271         <http://webkit.org/b/142145>
1272
1273         Reviewed by Simon Fraser.
1274
1275         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
1276         (-[LTRelayController _environmentVariables]): Add.
1277         (-[LTRelayController launchApp]): Use -_environmentVariables.
1278
1279 2015-02-28  David Kilzer  <ddkilzer@apple.com>
1280
1281         [iOS] Stop running webkit-build-directory on every layout test
1282
1283         This was originally fixed by David Farler for Bug 135409 in
1284         r172602.
1285
1286         * Scripts/webkitpy/port/ios.py:
1287         (IOSSimulatorPort.relay_path): Mark as @memoized so it doesn't
1288         run webkit-build-directory every time it's called.
1289
1290 2015-02-28  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1291
1292         W3C importer should use filesystem instead of shutil/host
1293         https://bugs.webkit.org/show_bug.cgi?id=142012
1294
1295         Reviewed by Bem Jones-Bey.
1296
1297         Removed direct use of python shutil and os, except for os.walk which will require its own fix.
1298
1299         * Scripts/webkitpy/w3c/test_importer.py:
1300         (main):
1301         (TestImporter.do_import):
1302         (TestImporter.find_importable_tests):
1303         (TestImporter.import_tests):
1304         (TestImporter.remove_deleted_files):
1305         (TestImporter.write_import_log):
1306
1307 2015-02-28  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1308
1309         W3C test importer should use filesystem to read and write files
1310         https://bugs.webkit.org/show_bug.cgi?id=142084
1311
1312         Reviewed by Bem Jones-Bey.
1313
1314         Use of FileSystem.write_binary_file, read_text_file and write_text_file in lieu of open().
1315
1316         * Scripts/webkitpy/w3c/test_importer.py:
1317         (TestImporter.import_tests):
1318         (TestImporter.remove_deleted_files):
1319         (TestImporter.write_import_log):
1320
1321 2015-02-27  Sam Weinig  <sam@webkit.org>
1322
1323         Add WebKit2 SPI to create a DOM File object
1324         https://bugs.webkit.org/show_bug.cgi?id=142109
1325
1326         Reviewed by Tim Horton.
1327
1328         Add a test for WKBundleFileHandleRef.
1329
1330         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1331         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle.cpp: Added.
1332         (TestWebKitAPI::didReceiveMessageFromInjectedBundle):
1333         (TestWebKitAPI::didFinishLoadForFrame):
1334         (TestWebKitAPI::TEST):
1335         * TestWebKitAPI/Tests/WebKit2/WKBundleFileHandle_Bundle.cpp: Added.
1336         (TestWebKitAPI::WKBundleFileHandleTest::WKBundleFileHandleTest):
1337         * TestWebKitAPI/Tests/WebKit2/bundle-file.html: Added.
1338
1339 2015-02-27  Michael Saboff  <msaboff@apple.com>
1340
1341         Add ability for run-jsc-benchmarks to set library path from test binary when run on a build bot
1342         https://bugs.webkit.org/show_bug.cgi?id=142112
1343
1344         Reviewed by Filip Pizlo.
1345
1346         Added check for VMs in the form of <someDir>/{DumpRenderTree,webkitTestRunner,jsc} and use
1347         <someDir> as the library path.
1348
1349         * Scripts/run-jsc-benchmarks:
1350
1351 2015-02-27  Alex Christensen  <achristensen@webkit.org>
1352
1353         [WinCairo] Unreviewed build fix.
1354
1355         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props:
1356         Use TestWebKitAPIPrefix.h like in TestWebKitAPICommon.props.
1357
1358 2015-02-27  Anders Carlsson  <andersca@apple.com>
1359
1360         Add infrastructure for handling website data in the network process
1361         https://bugs.webkit.org/show_bug.cgi?id=142092
1362
1363         Reviewed by Andreas Kling.
1364
1365         Add a menu item that will fetch all website data, delete the returned data records, and
1366         fetch all website data again so we can confirm that it's all empty.
1367
1368         * MiniBrowser/mac/WK2BrowserWindowController.m:
1369         (-[WK2BrowserWindowController fetchAndClearWebsiteData:]):
1370
1371 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
1372
1373         [Win] Remove remaining SafariTheme cruft
1374         https://bugs.webkit.org/show_bug.cgi?id=142075
1375
1376         Reviewed by Anders Carlsson.
1377
1378         Remove reference to SafariTheme-switching preference.
1379
1380         * DumpRenderTree/win/DumpRenderTree.cpp:
1381         (resetWebPreferencesToConsistentValues):
1382         (prepareConsistentTestingEnvironment):
1383
1384 2015-02-26  Doug Russell  <d_russell@apple.com>
1385
1386         AX: Expose caret browsing preference to accessibility API
1387         https://bugs.webkit.org/show_bug.cgi?id=141862
1388
1389         Reviewed by Chris Fleizach.
1390
1391         Exposing the caret browsing setting on WebCore::Frame via the accessibility API would allow assistive tech apps to enable it contextually (for example, when the assistive tech app is running).
1392         Enabling caret browsing when assistive tech apps are running greatly improves the reliability of keyboard navigation on the web. Most especially in cases where selection would be disrupted by focus events.
1393
1394         * DumpRenderTree/AccessibilityUIElement.cpp:
1395         (setBoolAttributeValueCallback):
1396         (selectedTextMarkerRangeCallback):
1397         (resetSelectedTextMarkerRangeCallback):
1398         (AccessibilityUIElement::setBoolAttributeValue):
1399         (AccessibilityUIElement::selectedTextMarkerRange):
1400         (AccessibilityUIElement::resetSelectedTextMarkerRange):
1401         (AccessibilityUIElement::getJSClass):
1402         * DumpRenderTree/AccessibilityUIElement.h:
1403         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1404         (AccessibilityUIElement::setBoolAttributeValue):
1405         (AccessibilityUIElement::selectedTextMarkerRange):
1406         (AccessibilityUIElement::resetSelectedTextMarkerRange):
1407         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1408         (WTR::AccessibilityUIElement::selectedTextMarkerRange):
1409         (WTR::AccessibilityUIElement::resetSelectedTextMarkerRange):
1410         (WTR::AccessibilityUIElement::setBoolAttributeValue):
1411         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1412         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1413         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1414         (WTR::AccessibilityUIElement::setBoolAttributeValue):
1415         (WTR::AccessibilityUIElement::selectedTextMarkerRange):
1416         (WTR::AccessibilityUIElement::resetSelectedTextMarkerRange):
1417
1418 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
1419
1420         [Win] Remove WebKitExportGenerator project (and related)
1421         https://bugs.webkit.org/show_bug.cgi?id=142035
1422
1423         Reviewed by Dean Jackson.
1424
1425         * win/AssembleBuildLogs/AssembleLogs.cmd: Don't look for a
1426         build log from WebKitExportGenerator.
1427
1428 2015-02-26  Csaba Osztrogonác  <ossy@webkit.org>
1429
1430         [EFL] Bump EFL version to 1.13.0
1431         https://bugs.webkit.org/show_bug.cgi?id=141708
1432
1433         Reviewed by Gyuyoung Kim.
1434
1435         * efl/jhbuild.modules:
1436
1437 2015-02-26  Sam Weinig  <sam@webkit.org>
1438
1439         Check in missing WebEditingTester.xcconfig file.
1440
1441         * WebEditingTester/Configurations/WebEditingTester.xcconfig: Added.
1442
1443 2015-02-26  Csaba Osztrogonác  <ossy@webkit.org>
1444
1445         [webkitpy] Remove skipped file related crufts
1446         https://bugs.webkit.org/show_bug.cgi?id=142046
1447
1448         Reviewed by Ryosuke Niwa.
1449
1450         * Scripts/webkitpy/port/base.py:
1451         (Port.skipped_layout_tests):
1452         (Port._tests_from_skipped_file_contents): Deleted.
1453         (Port): Deleted.
1454         (Port._expectations_from_skipped_files): Deleted.
1455         * Scripts/webkitpy/port/mac_unittest.py:
1456         (MacTest.test_default_timeout_ms):
1457         (MacTest): Deleted.
1458         (test_tests_from_skipped_file_contents): Deleted.
1459
1460 2015-02-26  Brent Fulgham  <bfulgham@apple.com>
1461
1462         [Win] Unreviewed WinCairo build fix after r180653.
1463
1464         TestWebKitAPI should know about proper WEBCORE_EXPORT definitions.
1465
1466         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj:
1467         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPI.vcxproj.filters:
1468         * TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommon.props:
1469         * TestWebKitAPI/win/TestWebKitAPIPrefix.cpp: Added.
1470         * TestWebKitAPI/win/TestWebKitAPIPrefix.h: Added.
1471
1472 2015-02-25  Brent Fulgham  <bfulgham@apple.com>
1473
1474         [Win] Use WEBCORE_EXPORT instead of Definition file
1475         https://bugs.webkit.org/show_bug.cgi?id=141734
1476
1477         Reviewed by Alex Christensen.
1478
1479         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
1480         Use a precompiled header so we can define our export macros properly.
1481         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj.filters:
1482         Visual studio automatic update stuff.
1483         * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeCommon.props:
1484         Set up Precompiled Header use for project..
1485         * DumpRenderTree/win/DumpRenderTreePrefix.cpp: Added.
1486         * DumpRenderTree/DumpRenderTreePrefix.h: Update with proper export
1487         declarations for building DumpRenderTree as a client of
1488         WebCore/WebKit.
1489
1490 2015-02-25  Mark Lam  <mark.lam@apple.com>
1491
1492         ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack.
1493         <https://webkit.org/b/141672>
1494
1495         Reviewed by Alexey Proskuryakov.
1496
1497         ASan does not like the fact that we memcpy the stack for GC scans.  So,
1498         we're working around this by using our own memcpy (asanUnsafeMemcpy)
1499         implementation that we can tell ASan to ignore.
1500
1501         Also removed the previous added directive to ignore *tryCopyOtherThreadStack*
1502         which isn't effective for working around this issue. 
1503
1504         * asan/webkit-asan-ignore.txt:
1505
1506 2015-02-25  Benjamin Poulain  <bpoulain@apple.com>
1507
1508         CodeBlock crashes when dumping op_push_name_scope
1509         https://bugs.webkit.org/show_bug.cgi?id=141953
1510
1511         Reviewed by Filip Pizlo.
1512
1513         * Scripts/run-jsc-stress-tests:
1514
1515 2015-02-25  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1516
1517         W3C test importer should use argparse instead of optparse
1518         https://bugs.webkit.org/show_bug.cgi?id=142013
1519
1520         Reviewed by Bem Jones-Bey.
1521
1522         * Scripts/webkitpy/w3c/test_importer.py:
1523         (main): Updating according argparse.
1524         (parse_args): Moving from optparse to argparse.
1525
1526 2015-02-25  Brady Eidson  <beidson@apple.com>
1527
1528         Get rid of TestInvocation::pathOrURL
1529         https://bugs.webkit.org/show_bug.cgi?id=142021
1530
1531         Reviewed by Tim Horton.
1532
1533         The pathOrURL string is a relative path used as an argument to WebKitTestRunner,
1534         but most code that uses it expected an absolute path.
1535
1536         This gets rid of the member and replaces all uses with a more descriptive "urlContains" method.
1537
1538         * WebKitTestRunner/TestController.cpp:
1539         (WTR::TestController::updateWebViewSizeForTest):
1540         (WTR::TestController::updateWindowScaleForTest):
1541         (WTR::shouldUseFixedLayout):
1542         (WTR::TestController::updateLayoutTypeForTest):
1543
1544         * WebKitTestRunner/TestInvocation.cpp:
1545         (WTR::TestInvocation::TestInvocation):
1546         (WTR::TestInvocation::urlContains):
1547         (WTR::TestInvocation::shouldLogFrameLoadDelegates):
1548         (WTR::TestInvocation::shouldLogHistoryClientCallbacks):
1549         (WTR::TestInvocation::invoke):
1550         (WTR::shouldLogFrameLoadDelegates): Deleted.
1551         (WTR::shouldLogHistoryClientCallbacks): Deleted.
1552         * WebKitTestRunner/TestInvocation.h:
1553         (WTR::TestInvocation::pathOrURL): Deleted.
1554
1555         * WebKitTestRunner/ios/TestControllerIOS.mm:
1556         (WTR::shouldMakeViewportFlexible):
1557         (WTR::TestController::platformConfigureViewForTest):
1558
1559         * WebKitTestRunner/mac/TestControllerMac.mm:
1560         (WTR::shouldUseThreadedScrolling):
1561         (WTR::TestController::platformConfigureViewForTest):
1562
1563 2015-02-25  Brady Eidson  <beidson@apple.com>
1564
1565         Layout test support for user content filters
1566         https://bugs.webkit.org/show_bug.cgi?id=142018
1567
1568         Reviewed by Tim Horton.
1569
1570         * WebKitTestRunner/TestController.cpp:
1571         (WTR::TestController::resetStateToConsistentValues): Clear all user content filters between tests.
1572
1573         * WebKitTestRunner/mac/TestControllerMac.mm:
1574         (WTR::TestController::platformConfigureViewForTest): For all tests with usercontentfilter/ in their path try to load a matching .json
1575           file before loading the test itself.
1576
1577 2015-02-24  Sam Weinig  <sam@webkit.org>
1578
1579         Convert WebEditingTester to use xcconfig files
1580         https://bugs.webkit.org/show_bug.cgi?id=141879
1581
1582         Reviewed by Darin Adler.
1583
1584         Add xcconfig files to WebEditingTester based on the ones used by MiniBrowser.
1585
1586         * WebEditingTester/Configurations: Added.
1587         * WebEditingTester/Configurations/Base.xcconfig: Added.
1588         * WebEditingTester/Configurations/DebugRelease.xcconfig: Added.
1589         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
1590
1591 2015-02-24  Andy Estes  <aestes@apple.com>
1592
1593         Teach MiniBrowser how to disable per-window web processes
1594         https://bugs.webkit.org/show_bug.cgi?id=141988
1595
1596         Reviewed by Darin Adler.
1597
1598         * MiniBrowser/mac/AppDelegate.m:
1599         (defaultConfiguration): Created a _WKProcessPoolConfiguration with maximumProcessCount == 1 if per-window web processes are disabled.
1600         * MiniBrowser/mac/SettingsController.h:
1601         * MiniBrowser/mac/SettingsController.m:
1602         (-[SettingsController _populateMenu]): Added a new Settings menu item.
1603         (-[SettingsController validateMenuItem:]): Validated the new Settings menu item.
1604         (-[SettingsController togglePerWindowWebProcessesDisabled:]): Displayed an alert informing the user that MiniBrowser must be restarted for the setting to take effect.
1605         (-[SettingsController perWindowWebProcessesDisabled]): Returned the value from user defaults.
1606
1607 2015-02-24  Alexey Proskuryakov  <ap@apple.com>
1608
1609         Bot watcher's dashboard sometimes hits an assertion: data.num_missing === this.layoutTestResults.testsWithMissingResults.length
1610         https://bugs.webkit.org/show_bug.cgi?id=141889
1611
1612         Reviewed by Darin Adler.
1613
1614         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1615
1616 2015-02-24  Yusuke Suzuki  <utatane.tea@gmail.com>
1617
1618         REGRESSION(r179429): Can't type comments in Facebook
1619         https://bugs.webkit.org/show_bug.cgi?id=141859
1620
1621         Reviewed by Brent Fulgham.
1622
1623         Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
1624
1625         * DumpRenderTree/mac/DumpRenderTree.mm:
1626         (resetWebPreferencesToConsistentValues):
1627         * DumpRenderTree/win/DumpRenderTree.cpp:
1628         (resetWebPreferencesToConsistentValues):
1629         * WebKitTestRunner/TestController.cpp:
1630         (WTR::TestController::resetPreferencesToConsistentValues):
1631
1632 2015-02-24  Michael Catanzaro  <mcatanzaro@igalia.com>
1633
1634         Crash loading local file with WebPageProxy::loadAlternateHTMLString
1635         https://bugs.webkit.org/show_bug.cgi?id=141867
1636
1637         Reviewed by Anders Carlsson.
1638
1639         * TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp:
1640         (TestWebKitAPI::loadAlternateHTMLString): Split most of this test into a function so it can
1641         be shared with the new test.
1642         (TestWebKitAPI::TEST): Add a cross-platform test for this crash.
1643         * TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp: Add a GTK+ test for this crash.
1644         (testLoadAlternateHTMLForLocalPage):
1645         (beforeAll):
1646
1647 2015-02-24  David Kilzer  <ddkilzer@apple.com>
1648
1649         [iOS] Implement WTR::activateFonts() to fix missing fonts in WebKit2 test runs
1650         <http://webkit.org/b/141900>
1651
1652         Reviewed by Myles C. Maxfield.
1653
1654         * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
1655         (OTHER_LDFLAGS_BASE): Link to CoreText.framework.
1656         * WebKitTestRunner/InjectedBundle/cocoa/ActivateFontsCocoa.mm: Rename from Tools/WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm.
1657         - Rename to share code with iOS.
1658         - Add USE(APPKIT) around AppKit-specific headers and code.
1659         - Fix a check-webkit-style warning.
1660         * WebKitTestRunner/InjectedBundle/ios/ActivateFontsIOS.mm: Remove.
1661         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1662         - Rename mac/ActivateFonts.mm to cocoa/ActivateFontsCocoa.mm.
1663         - Remove ios/ActivateFontsIOS.mm.
1664         - Fix InjectedBundle/cocoa group to represent the directory on
1665           disk.  Includes a change to InjectedBundlePageCocoa.mm.
1666
1667 2015-02-23  Commit Queue  <commit-queue@webkit.org>
1668
1669         Unreviewed, rolling out r180547 and r180550.
1670         https://bugs.webkit.org/show_bug.cgi?id=141957
1671
1672         Broke 10 Windows tests. (Requested by bfulgham_ on #webkit).
1673
1674         Reverted changesets:
1675
1676         "REGRESSION(r179429): Can't type comments in Facebook"
1677         https://bugs.webkit.org/show_bug.cgi?id=141859
1678         http://trac.webkit.org/changeset/180547
1679
1680         "Constructor returning null should construct an object instead
1681         of null"
1682         https://bugs.webkit.org/show_bug.cgi?id=141640
1683         http://trac.webkit.org/changeset/180550
1684
1685 2015-02-23  Yusuke Suzuki  <utatane.tea@gmail.com>
1686
1687         REGRESSION(r179429): Can't type comments in Facebook
1688         https://bugs.webkit.org/show_bug.cgi?id=141859
1689
1690         Reviewed by Geoffrey Garen.
1691
1692         Drop javaScriptExperimentsEnabled and specify JavaScriptRuntimeFlagsAllEnabled as KJavaScriptRuntimeFlags.
1693
1694         * DumpRenderTree/mac/DumpRenderTree.mm:
1695         (resetWebPreferencesToConsistentValues):
1696         * WebKitTestRunner/TestController.cpp:
1697         (WTR::TestController::resetPreferencesToConsistentValues):
1698
1699 2015-02-23  KwangHyuk Kim  <hyuki.kim@samsung.com>
1700
1701         [EFL] fix eo errors
1702         https://bugs.webkit.org/show_bug.cgi?id=141909
1703
1704         Reviewed by Gyuyoung Kim.
1705
1706         Fix eo errors that occur whenever minibrowser is launched.
1707         - elm_obj_entry_text_style_user_push can only be applied for elm_entry
1708         - elm_obj_win_resize_object_add's first parameter should be elm_win
1709
1710         * MiniBrowser/efl/main.c:
1711         (window_create):
1712
1713 2015-02-23  Ryosuke Niwa  <rniwa@webkit.org>
1714
1715         Unreviewed build fix after r180535. Removed the test case that wasn't compiling.
1716
1717         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
1718         (TestWebKitAPI::TEST):
1719
1720 2015-02-23  Brent Fulgham  <bfulgham@apple.com>
1721
1722         WTF::WeakPtr should rename 'forgot' to 'clear' and support nullptr assignment
1723         https://bugs.webkit.org/show_bug.cgi?id=141935
1724
1725         Reviewed by Myles C. Maxfield.
1726
1727         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
1728         (TestWebKitAPI::TEST): Updated for 'clear' method rename, and added a few
1729         tests for assigning from nullptr.
1730
1731 2015-02-23  Brent Fulgham  <bfulgham@apple.com>
1732
1733         WTF::WeakPtr should have a 'forget' method.
1734         https://bugs.webkit.org/show_bug.cgi?id=141923
1735
1736         Reviewed by Myles C. Maxfield.
1737
1738         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
1739         (TestWebKitAPI::TEST): Added 'Forget' tests case.
1740
1741 2015-02-23  Alexey Proskuryakov  <ap@apple.com>
1742
1743         build.webkit.org/dashboard CrashOnly queues should not show two green bubbles
1744         https://bugs.webkit.org/show_bug.cgi?id=141920
1745
1746         Reviewed by Tim Horton.
1747
1748         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1749         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
1750         Do the same thing as we do for regular green bubbles.
1751
1752 2015-02-23  Alexey Proskuryakov  <ap@apple.com>
1753
1754         Bot watcher's dashboard doesn't show a popover for commit history when all commits were to another branch
1755         https://bugs.webkit.org/show_bug.cgi?id=141925
1756
1757         Reviewed by Tim Horton.
1758
1759         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1760         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
1761
1762 2015-02-23  Anders Carlsson  <andersca@apple.com>
1763
1764         Add API for fetching website data records to _WKWebsiteDataStore
1765         https://bugs.webkit.org/show_bug.cgi?id=141926
1766
1767         Reviewed by Beth Dakin.
1768
1769         * MiniBrowser/mac/MainMenu.xib:
1770         * MiniBrowser/mac/WK2BrowserWindowController.m:
1771         (-[WK2BrowserWindowController fetchWebsiteData:]):
1772         Add menu item to fetch and dump website data.
1773
1774 2015-02-23  David Kilzer  <ddkilzer@apple.com>
1775
1776         [iOS] run-webkit-tests --leaks is broken because IOSSimulatorPort has no is_snowleopard attribute
1777         <http://webkit.org/b/141884>
1778
1779         Reviewed by Alexey Proskuryakov.
1780
1781         * Scripts/webkitpy/port/leakdetector.py:
1782         (LeakDetector._callstacks_to_exclude_from_leaks): Remove
1783         snowleopard, lion and older leaks.  Add known leak for
1784         mavericks, but check Port.operating_system before calling
1785         Port.is_mavericks.
1786         * Scripts/webkitpy/port/mac.py:
1787         (MacPort.is_snowleopard): Delete.
1788         (MacPort.is_lion): Delete.
1789         (MacPort.is_mavericks): Add.
1790
1791 2015-02-23  Alexey Proskuryakov  <ap@apple.com>
1792
1793         build.webkit.org/dashboard should filter out commits to other branches
1794         https://bugs.webkit.org/show_bug.cgi?id=140362
1795
1796         Reviewed by Tim Horton.
1797
1798         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
1799         (BuildbotQueue):
1800         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1801         (BuildbotQueueView.prototype._presentPopoverForPendingCommits):
1802         (BuildbotQueueView.prototype._presentPopoverForRevisionRange):
1803         (BuildbotQueueView.prototype._revisionContentWithPopoverForIteration):
1804         (BuildbotQueueView.prototype.revisionContentForIteration):
1805         (BuildbotQueueView.prototype._appendPendingRevisionCount): Deleted.
1806         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Deleted.
1807         (BuildbotQueueView.prototype._revisionPopoverContentForIteration): Deleted.
1808         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
1809         (Trac.prototype.get oldestRecordedRevisionNumber):
1810         (Trac.prototype.commitsOnBranch):
1811         (Trac.prototype._xmlTimelineURL):
1812         (Trac.prototype._convertCommitInfoElementToObject):
1813         (Trac.prototype._update):
1814         (Trac.prototype.startPeriodicUpdates):
1815         (Trac.prototype.loadMoreHistoricalData):
1816         (Trac.prototype.update): Deleted.
1817
1818 2015-02-21  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1819
1820         Tests don't work on some bots: Failed to stop wptwk
1821         https://bugs.webkit.org/show_bug.cgi?id=141235
1822
1823         Reviewed by Ryosuke Niwa.
1824
1825         Logging of server subprocesses in launcher script.
1826         Killing of server subprocesses when stopping/before starting.
1827         Removed empty __init.py__ file creation as importer now ensures these files cannot be empty anymore.
1828
1829         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
1830         (main): Removed empty __init.py__ file creation as importer now ensures these files cannot be empty anymore. Added logging in a file of server subprocesses to clean them in case of abnormal shutdown. 
1831         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
1832         (WebPlatformTestServer.__init__):
1833         (WebPlatformTestServer._stop_running_subservers): Kill server subprocesses based on file created by wpt launcher.
1834         (WebPlatformTestServer):
1835         (WebPlatformTestServer.stop): Overriden to ensure killing subprocesses in case of orphaned process.
1836         (WebPlatformTestServer._stop_running_server): Killing of wpt launcher process after regular shutdown. 
1837         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
1838         (TestWebPlatformTestServer.test_server_closes_previously_spawned_instance): Reworked the test to call start/stop with an existing pid file.
1839         (TestWebPlatformTestServer.test_import_web_platform_test_modules): No change.
1840         (TestWebPlatformTestServer):
1841         (TestWebPlatformTestServer.test_corrupted_subserver_files): Checked that server subprocess cleaning does not throw in case of bad server pid file.
1842
1843 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
1844
1845         [WebEditingTester] Allow dropping HTML files on the app
1846         https://bugs.webkit.org/show_bug.cgi?id=141834
1847
1848         Reviewed by Simon Fraser.
1849
1850         * WebEditingTester/AppDelegate.m:
1851         (-[WebEditingAppDelegate openDocument:]):
1852         (-[WebEditingAppDelegate application:openFile:]):
1853         Implement application:openFile:, factoring file loading code out of openDocument.
1854
1855         * WebEditingTester/Info.plist:
1856         Register as an editor for HTML files.
1857
1858         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
1859         Enrica is not an organization.
1860
1861 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
1862
1863         [WebEditingTester] Expand "WK" to "WebKit" in a few places
1864         https://bugs.webkit.org/show_bug.cgi?id=141833
1865
1866         Reviewed by Anders Carlsson.
1867
1868         * WebEditingTester/AppDelegate.h:
1869         * WebEditingTester/AppDelegate.m:
1870         (-[WebEditingAppDelegate newEditor:]):
1871         (-[WebEditingAppDelegate toggleUseWebKit2ByDefault:]):
1872         (-[WebEditingAppDelegate validateMenuItem:]):
1873         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
1874         (-[WebEditingAppDelegate applicationDidFinishLaunching:]): Deleted.
1875         (-[WebEditingAppDelegate applicationWillTerminate:]): Deleted.
1876         (-[WebEditingAppDelegate showOperations:]): Deleted.
1877         * WebEditingTester/MainMenu.xib:
1878         The WK abbreviation is unnaturally grating in menu items for some reason.
1879
1880 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
1881
1882         [WebEditingTester] Add a custom protocol for loading canned content
1883         https://bugs.webkit.org/show_bug.cgi?id=141830
1884
1885         Reviewed by Enrica Casucci.
1886
1887         Add a canned:// protocol handler, which can be used to emulate behaviors
1888         in WebKit client apps (like Mail) that use custom protocol handlers,
1889         which can have important effects on editing (mostly, the URLs are only
1890         valid inside of the client application, but not when copied/dragged out).
1891
1892         For now, we only support two canned files:
1893
1894             canned://dice is a PNG of dice (stolen from LayoutTests/)
1895             canned://text is the string "canned text" served as text/html
1896
1897         In the future we could support things like very large (generated) files,
1898         progressive loading, etc. to further simulate conditions in other apps.
1899
1900         * WebEditingTester/AppDelegate.m:
1901         (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
1902         Register the protocol with CFNetwork, and the scheme with WebKit2.
1903
1904         * WebEditingTester/Canned Content/dice.png: Added.
1905         * WebEditingTester/CannedContent.h: Added.
1906         * WebEditingTester/CannedContent.m: Added.
1907         (-[CannedContent initWithRequest:cachedResponse:client:]):
1908         (+[CannedContent canonicalRequestForRequest:]):
1909         (+[CannedContent canInitWithRequest:]):
1910         We only want to handle canned:// URLs.
1911
1912         (-[CannedContent startLoading]):
1913         For now, immediately load the two files we know about.
1914         Otherwise, immediately fail the load.
1915
1916         (-[CannedContent stopLoading]):
1917         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
1918
1919 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
1920
1921         [WebEditingTester] Implement an open panel
1922         https://bugs.webkit.org/show_bug.cgi?id=141829
1923
1924         Reviewed by Simon Fraser.
1925
1926         * WebEditingTester/AppDelegate.m:
1927         (-[WebEditingAppDelegate _useWebKit1ForOpeningDocument:]):
1928         (-[WebEditingAppDelegate _useWebKit2ForOpeningDocument:]):
1929         (-[WebEditingAppDelegate openDocument:]):
1930         Add an open panel (with radio buttons to pick which WebKit to open with).
1931         Loads the file as an HTML string.
1932
1933 2015-02-20  Simon Fraser  <simon.fraser@apple.com>
1934
1935         [WebEditingTester] @properties, dot syntax, and remember the window position
1936         https://bugs.webkit.org/show_bug.cgi?id=141843
1937
1938         Reviewed by Tim Horton.
1939         
1940         Modernize a bit with more dot syntax, use @property for the web views,
1941         and give the main window an Autosave name so it remembers the widow position.
1942
1943         * WebEditingTester/WK1WebDocumentController.m:
1944         (-[WK1WebDocumentController awakeFromNib]):
1945         (-[WK1WebDocumentController loadHTMLString:]):
1946         * WebEditingTester/WK2WebDocumentController.m:
1947         (-[WK2WebDocumentController awakeFromNib]):
1948         * WebEditingTester/WebDocument.xib:
1949
1950 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
1951
1952         [WebEditingTester] Hook up key equivalents for new window action
1953         https://bugs.webkit.org/show_bug.cgi?id=141828
1954
1955         Reviewed by Enrica Casucci.
1956
1957         * WebEditingTester/AppDelegate.h:
1958         * WebEditingTester/AppDelegate.m:
1959         (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
1960         (-[WebEditingAppDelegate newEditor:]):
1961         (-[WebEditingAppDelegate _defaultWebDocumentControllerClass]):
1962         (-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
1963         (-[WebEditingAppDelegate _updateNewWindowKeyEquivalents]):
1964         (defaultConfiguration): Deleted.
1965         (-[WebEditingAppDelegate applicationWillTerminate:]): Deleted.
1966         Move WKWebViewConfiguration setup into WK2WebDocumentController.
1967         Remove unused application termination code.
1968         Update new-window menu item key equivalents when launching and when
1969         changing the use-WebKit2-by-default setting.
1970         Make WebDocumentController subclasses all initialized the same way,
1971         and use that to factor out alloc/init.
1972         Rename loadContent to loadHTMLString for future use.
1973
1974         * WebEditingTester/MainMenu.xib:
1975         Add default key equivalents.
1976         Cmd-N will always make the default kind of window (controlled by the pref).
1977         Cmd-Opt-N will always make the other kind.
1978         The menu items are configured as alternates so they only show up if you
1979         press alt (just like in MiniBrowser).
1980
1981         * WebEditingTester/WK1WebDocumentController.m:
1982         (-[WK1WebDocumentController loadHTMLString:]):
1983         (-[WK1WebDocumentController loadContent]): Deleted.
1984         * WebEditingTester/WK2WebDocumentController.h:
1985         * WebEditingTester/WK2WebDocumentController.m:
1986         (defaultConfiguration):
1987         (-[WK2WebDocumentController awakeFromNib]):
1988         (-[WK2WebDocumentController loadHTMLString:]):
1989         (-[WK2WebDocumentController initWithConfiguration:]): Deleted.
1990         (-[WK2WebDocumentController dealloc]): Deleted.
1991         * WebEditingTester/WebDocumentController.h:
1992         * WebEditingTester/WebDocumentController.m:
1993         (-[WebDocumentController init]):
1994         (-[WebDocumentController initWithWindow:]):
1995         (+[WebDocumentController defaultEditingSource]):
1996         (-[WebDocumentController loadHTMLString:]):
1997         (-[WebDocumentController windowDidLoad]): Deleted.
1998         (-[WebDocumentController defaultEditingSource]): Deleted.
1999         (-[WebDocumentController applicationTerminating]): Deleted.
2000         (-[WebDocumentController loadContent]): Deleted.
2001
2002 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
2003
2004         [WebEditingTester] ARC-ify WebEditingTester
2005         https://bugs.webkit.org/show_bug.cgi?id=141827
2006
2007         Reviewed by Sam Weinig.
2008
2009         * WebEditingTester/AppDelegate.m:
2010         (-[WebEditingAppDelegate showOperations:]):
2011         * WebEditingTester/EditingOperations.m:
2012         (editingOperations):
2013         * WebEditingTester/WK1WebDocumentController.m:
2014         (-[WK1WebDocumentController dealloc]): Deleted.
2015         * WebEditingTester/WK2WebDocumentController.m:
2016         (-[WK2WebDocumentController dealloc]): Deleted.
2017         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
2018         Turn on ARC and remove a few retain/release/autorelease calls.
2019         We don't need to implement dealloc in either document controller
2020         because WebView and WKWebView's UIDelegate property does not hold a
2021         strong reference.
2022
2023 2015-02-20  Timothy Horton  <timothy_horton@apple.com>
2024
2025         [WebEditingTester] Factor out list of editing operations
2026         https://bugs.webkit.org/show_bug.cgi?id=141826
2027
2028         Reviewed by Sam Weinig.
2029
2030         * WebEditingTester/AppDelegate.m:
2031         (-[WebEditingAppDelegate showOperations:]):
2032         * WebEditingTester/EditingOperations.h: Added.
2033         * WebEditingTester/EditingOperations.m: Added.
2034         (editingOperations):
2035         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj:
2036         Move EditingOperations array to its own file, and make it an NSArray
2037         instead of a C array. Adjust accordingly in showOperations:.
2038
2039 2015-02-20  Michael Saboff  <msaboff@apple.com>
2040
2041         DFG JIT needs to check for stack overflow at the start of Program and Eval execution
2042         https://bugs.webkit.org/show_bug.cgi?id=141676
2043
2044         Reviewed by Filip Pizlo.
2045
2046         Set the newly added --maximumEvalCacheableSourceLength option for eager test runs.  This is needed
2047         to allow the eval out of stack tests to tier up.  Without this option, we don't cache the likely
2048         large string expression that we want to eval.
2049
2050         * Scripts/run-jsc-stress-tests:
2051
2052 2015-02-19  Daniel Bates  <dabates@apple.com>
2053
2054         REGRESSION (r180239): run-webkit-test fails to boot simulator device that was booted by previous test run
2055         https://bugs.webkit.org/show_bug.cgi?id=141815
2056         <rdar://problem/19893933>
2057
2058         Reviewed by Simon Fraser.
2059
2060         Fixes an issue where run-webkit-tests would fail to boot the WebKit Tester simulator device if it
2061         was booted by iOS Simulator in a previous run of run-webkit-test.
2062
2063         * Scripts/webkitpy/port/ios.py:
2064         (IOSSimulatorPort.check_sys_deps): Added logic moved from IOSSimulatorPort.setup_test_run().
2065         (IOSSimulatorPort.setup_test_run): Moved logic to quit the iOS Simulator app and wait for the
2066         testing device to be in the shutdown state from here to IOSSimulatorPort.check_sys_deps().
2067
2068 2015-02-19  David Kilzer  <ddkilzer@apple.com>
2069
2070         check-webkit-style: do not warn about missing primary header for *SoftLink.cpp files
2071         <http://webkit.org/b/141799>
2072
2073         Reviewed by Alex Christensen.
2074
2075         * Scripts/webkitpy/style/checkers/cpp.py:
2076         (_IncludeState.check_next_include_order): Don't emit a warning
2077         if the primary header exists and the source file name ends with
2078         "SoftLink.cpp".  Add 'filename' argument to method.
2079         (check_include_line): Pass in 'filename'.
2080
2081         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2082         (OrderOfIncludesTest.test_check_next_include_order__no_config):
2083         (OrderOfIncludesTest.test_check_next_include_order__no_self):
2084         (OrderOfIncludesTest.test_check_next_include_order__likely_then_config):
2085         (OrderOfIncludesTest.test_check_next_include_order__other_then_config):
2086         (OrderOfIncludesTest.test_check_next_include_order__config_then_other_then_likely):
2087         - Add test filename arguments for calls to
2088           check_next_include_order().
2089         (OrderOfIncludesTest.test_primary_header): Add test for a file
2090         name ending in "SoftLink.cpp".
2091
2092 2015-02-18  Enrica Casucci  <enrica@apple.com>
2093
2094         Add new tool to test editable Webviews.
2095         https://bugs.webkit.org/show_bug.cgi?id=141772
2096
2097         Reviewed by Tim Horton.
2098
2099         Adding WebEditingTester, a Cocoa application to
2100         test WK1 and Wk2 views in editable mode.
2101
2102         * WebEditingTester: Added.
2103         * WebEditingTester/AppDelegate.h: Added.
2104         * WebEditingTester/AppDelegate.m: Added.
2105         (-[WebEditingAppDelegate init]):
2106         (defaultConfiguration):
2107         (-[WebEditingAppDelegate applicationDidFinishLaunching:]):
2108         (-[WebEditingAppDelegate applicationWillTerminate:]):
2109         (-[WebEditingAppDelegate newEditor:]):
2110         (-[WebEditingAppDelegate showOperations:]):
2111         (-[WebEditingAppDelegate useWebKit2ByDefault]):
2112         (-[WebEditingAppDelegate toggleUseWK2ByDefault:]):
2113         (-[WebEditingAppDelegate validateMenuItem:]):
2114         * WebEditingTester/Info.plist: Added.
2115         * WebEditingTester/MainMenu.xib: Added.
2116         * WebEditingTester/WK1WebDocumentController.h: Added.
2117         * WebEditingTester/WK1WebDocumentController.m: Added.
2118         (-[WK1WebDocumentController awakeFromNib]):
2119         (-[WK1WebDocumentController loadContent]):
2120         (-[WK1WebDocumentController dealloc]):
2121         (-[WK1WebDocumentController pasteAsMarkup:]):
2122         * WebEditingTester/WK2WebDocumentController.h: Added.
2123         * WebEditingTester/WK2WebDocumentController.m: Added.
2124         (-[WK2WebDocumentController initWithConfiguration:]):
2125         (-[WK2WebDocumentController pasteAsMarkup:]):
2126         (-[WK2WebDocumentController awakeFromNib]):
2127         (-[WK2WebDocumentController dealloc]):
2128         (-[WK2WebDocumentController loadContent]):
2129         * WebEditingTester/WebDocument.xib: Added.
2130         * WebEditingTester/WebDocumentController.h: Added.
2131         * WebEditingTester/WebDocumentController.m: Added.
2132         (-[WebDocumentController initWithWindow:]):
2133         (-[WebDocumentController windowDidLoad]):
2134         (-[WebDocumentController defaultEditingSource]):
2135         (-[WebDocumentController applicationTerminating]):
2136         (-[WebDocumentController loadContent]):
2137         * WebEditingTester/WebEditingTester.xcodeproj: Added.
2138         * WebEditingTester/WebEditingTester.xcodeproj/project.pbxproj: Added.
2139         * WebEditingTester/main.m: Added.
2140         (main):
2141
2142 2015-02-18  Csaba Osztrogonác  <ossy@webkit.org>
2143
2144         Run JSC tests on ARM EFL bots
2145         https://bugs.webkit.org/show_bug.cgi?id=141165
2146
2147         Reviewed by Alexey Proskuryakov.
2148
2149         * BuildSlaveSupport/build.webkit.org-config/config.json:
2150         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2151         (RunJavaScriptCoreTests.countFailures):
2152         (RunRemoteJavaScriptCoreTests):
2153         (RunRemoteJavaScriptCoreTests.start):
2154         (BuildAndRemoteJSCTestsFactory):
2155         (BuildAndRemoteJSCTestsFactory.__init__):
2156
2157 2015-02-18  Alexey Proskuryakov  <ap@apple.com>
2158
2159         Streamline unexported function build fixes
2160         https://bugs.webkit.org/show_bug.cgi?id=141761
2161
2162         Reviewed by Alex Christensen.
2163
2164         * Scripts/check-for-weak-vtables-and-externals: (readXcode5SymbolsToIgnore): Deleted.
2165         We don't need to ignore symbols that are not exported due to the .unexp file.
2166
2167 2015-02-18  Timothy Horton  <timothy_horton@apple.com>
2168
2169         Remove more references to WebCore.exp.in
2170         https://bugs.webkit.org/show_bug.cgi?id=141747
2171
2172         Reviewed by Alexey Proskuryakov.
2173
2174         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
2175         (ShouldBuildTest):
2176
2177 2015-02-17  Myles C. Maxfield  <mmaxfield@apple.com>
2178
2179         Windows test results should not fall back to mac-mountainlion after r180176
2180         https://bugs.webkit.org/show_bug.cgi?id=141719
2181
2182         Reviewed by Brent Fulgham.
2183
2184         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
2185         (_should_file_trigger_build):
2186         * Scripts/webkitpy/port/win.py:
2187         (WinPort.default_baseline_search_path):
2188         * Scripts/webkitpy/port/win_unittest.py:
2189         (WinPortTest.test_baseline_search_path):
2190
2191 2015-02-17  Daniel Bates  <dabates@apple.com>
2192
2193         [iOS] run-webkit-tests should check that simctl can boot and shutdown simulator device before running tests
2194         https://bugs.webkit.org/show_bug.cgi?id=141718
2195
2196         Reviewed by Alex Christensen.
2197
2198         We should only run layout tests if simctl can successfully boot and shutdown the testing device.
2199
2200         * Scripts/webkitpy/port/ios.py:
2201         (IOSSimulatorPort.check_sys_deps): Modified to call Simulator.check_simulator_device_and_erase_if_needed().
2202         Log a error and return False if we are unable to boot the simulator device so that the caller can take
2203         appropriate action, say exit(3) before running any layout tests.
2204         * Scripts/webkitpy/xcode/simulator.py:
2205         (Simulator._boot_and_shutdown_simulator_device): Added. Boot and then shut down the simulator device
2206         with the specified UDID.
2207         (Simulator.check_simulator_device_and_erase_if_needed): Added. Checks that simulator device
2208         with the specified UDID can successfully boot and shut down. We make at most two attempts to
2209         boot and shut down the device, erasing the device between tries so as to restore the device
2210         to a known good state.
2211
2212 2015-02-17  Daniel Bates  <dabates@apple.com>
2213
2214         run_webkit_tests.py should not know about iOS Simulator details
2215         https://bugs.webkit.org/show_bug.cgi?id=141711
2216
2217         Reviewed by Alex Christensen.
2218
2219         Run_webkit_tests.py should only parse the iOS-specific command
2220         line options --runtime and --device-type. Let the port-specific
2221         logic in ios.py validate the parsed options and instantiate
2222         internal data structures.
2223
2224         Currently run_webkit_tests.py parses the iOS-specific command
2225         line options --runtime and --device-type, validates them, and
2226         instantiates internal data structures from the parsed strings.
2227         Instead the validation logic and instantiation of internal
2228         data structures should be handled by the iOS port object.
2229
2230         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2231         (_set_up_derived_options): Remove logic to validate --runtime and --device-type
2232         and instantiate internal data structures for them.
2233         * Scripts/webkitpy/port/driver.py:
2234         (IOSSimulatorDriver.cmd_line): Modified to reference IOSSimulatorPort.simulator_runtime
2235         and IOSSimulatorPort.simulator_device_type for the iOS Simulator runtime and device type,
2236         respectively.
2237         * Scripts/webkitpy/port/ios.py: Sort the list of imports.
2238         (IOSSimulatorPort.simulator_runtime): Added. Instantiates a Runtime
2239         object from --runtime, if specified. Otherwise, instantiates a Runtime
2240         object for the latest installed iphonesimulator SDK version.
2241         (IOSSimulatorPort.simulator_device_type): Added. Instantiates a DeviceType
2242         object from --device-type, if specified. Otherwise, instantiates
2243         a DeviceType object for a iPhone 5 or iPhone 5s when on a 32-bit and 64-bit
2244         machine, respectively.
2245         (IOSSimulatorPort.check_sys_deps): Added. Validate if the chosen iOS simulator
2246         runtime is available to use.
2247         (IOSSimulatorPort.testing_device): Modified to make use of properties simulator_device_type
2248         and simulator_runtime for the iOS Simulator device type and runtime, respectively.
2249         * Scripts/webkitpy/xcode/simulator.py:
2250         (Runtime.from_version_string): Added. Turns around and calls Runtime.from_identifier()
2251         with a runtime identifier for the specified iOS version.
2252
2253 2015-02-17  Dana Burkart  <dburkart@apple.com>
2254
2255         ASan does not like JSC::MachineThreads::tryCopyOtherThreadStack
2256         https://bugs.webkit.org/show_bug.cgi?id=141672
2257
2258         Reviewed by David Kilzer.
2259
2260         * asan/webkit-asan-ignore.txt:
2261
2262 2015-02-17  Alex Christensen  <achristensen@webkit.org>
2263
2264         Remove WebCore.exp.in and clean up.
2265         https://bugs.webkit.org/show_bug.cgi?id=141491
2266
2267         Reviewed by Andreas Kling.
2268
2269         * Scripts/sort-export-file: Removed.
2270         * Scripts/webkitpy/style/checker.py:
2271         (_all_categories):
2272         (FileType):
2273         (CheckerDispatcher._file_type):
2274         (CheckerDispatcher._create_checker):
2275         Don't check if the export files are sorted.
2276         * Scripts/webkitpy/style/checkers/exportfile.py: Removed.
2277         * Scripts/webkitpy/style/checkers/exportfile_unittest.py: Removed.
2278
2279 2015-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2280
2281         Unreviewed. Fix GTK+ make distcheck.
2282
2283         Do not exclude bmalloc directory from the tarball.
2284
2285         * gtk/manifest.txt.in:
2286
2287 2015-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2288
2289         Unreviewed. Fix /webkit2/WebKitDOMNode/dom-cache after r180214.
2290
2291         I forgot to add the return of a bool function.
2292
2293         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2294         (WebKitDOMNodeTest::testDOMCache):
2295
2296 2015-02-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2297
2298         [GTK] GObject DOM bindings object are cached forever
2299         https://bugs.webkit.org/show_bug.cgi?id=141558
2300
2301         Reviewed by Sergio Villar Senin.
2302
2303         Add checks for all DOM objects to ensure they are not leaked. Also
2304         add a dedicated test for the DOM Object Cache.
2305
2306         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeFilterTest.cpp:
2307         (WebKitDOMNodeFilterTest::testTreeWalker):
2308         (WebKitDOMNodeFilterTest::testNodeIterator):
2309         * TestWebKitAPI/Tests/WebKit2Gtk/DOMNodeTest.cpp:
2310         (WebKitDOMNodeTest::testHierarchyNavigation):
2311         (WebKitDOMNodeTest::testInsertion):
2312         (WebKitDOMNodeTest::testTagNames):
2313         (WebKitDOMNodeTest::testDOMCache):
2314         (registerTests):
2315         * TestWebKitAPI/Tests/WebKit2Gtk/DOMXPathNSResolverTest.cpp:
2316         (WebKitDOMXPathNSResolverTest::evaluateFooChildTextAndCheckResult):
2317         (WebKitDOMXPathNSResolverTest::testXPathNSResolverNative):
2318         (WebKitDOMXPathNSResolverTest::testXPathNSResolverCustom):
2319         * TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp:
2320         (testWebKitDOMObjectCache):
2321         (beforeAll):
2322         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
2323         (documentLoadedCallback):
2324
2325 2015-02-16  Carlos Garcia Campos  <cgarcia@igalia.com>
2326
2327         [GTK] WebKitFrame objects are never released
2328         https://bugs.webkit.org/show_bug.cgi?id=141641
2329
2330         Reviewed by Martin Robinson.
2331
2332         Add a way to check GObjects leaks for WebProcess tests and check
2333         WebKitFrame objects are not leaked.
2334
2335         * TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp:
2336         (WebKitFrameTest::testMainFrame):
2337         (WebKitFrameTest::testURI):
2338         (WebKitFrameTest::testJavaScriptContext):
2339         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp:
2340         (WebProcessTest::assertObjectIsDeletedWhenTestFinishes):
2341         (runTest):
2342         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
2343
2344 2015-02-16  Tim Horton  <timothy_horton@apple.com>
2345
2346         Fix the MiniBrowser build with newer clang
2347
2348         * MiniBrowser/mac/SettingsController.m:
2349         (-[SettingsController _toggleBooleanDefault:]):
2350         * MiniBrowser/mac/WK1BrowserWindowController.m:
2351         (-[WK1BrowserWindowController windowWillClose:]):
2352         * MiniBrowser/mac/WK2BrowserWindowController.m:
2353         (-[WK2BrowserWindowController windowWillClose:]):
2354         NSApp is id and clang gets confused about which -delegate we're talking about.
2355
2356 2015-02-16  Antti Koivisto  <antti@apple.com>
2357
2358         Develop/Disable Caches does not properly disable disk cache
2359         https://bugs.webkit.org/show_bug.cgi?id=141636
2360
2361         Reviewed by Anders Carlsson.
2362
2363         Make testRunner.setCacheModel() use the WKContext interface so the model gets passed to
2364         the network process too.
2365
2366         This makes setCacheModel asynchronous but there don't seem to be any tests that expect otherwise.
2367
2368         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2369         (WTR::InjectedBundle::beginTesting):
2370         (WTR::InjectedBundle::setCacheModel):
2371         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2372         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2373
2374             Forward to TestController.
2375
2376         (WTR::TestRunner::setCacheModel):
2377         * WebKitTestRunner/TestInvocation.cpp:
2378         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2379
2380 2015-02-16  Andrzej Badowski  <a.badowski@samsung.com>
2381
2382         Unreviewed. Add myself as a committer.
2383
2384         * Scripts/webkitpy/common/config/contributors.json:
2385
2386 2015-02-15  David Kilzer  <ddkilzer@apple.com>
2387
2388         REGRESSION (r180082): WebCore Debug builds fail on Mavericks due to weak export symbols
2389         <http://webkit.org/b/141607>
2390
2391         * Scripts/check-for-weak-vtables-and-externals: Ignore weak
2392         externals in Source/WebCore/Configurations/WebCore.unexp when
2393         building with Xcode 5.x.
2394         (readXcode5SymbolsToIgnore): Add.
2395
2396 2015-02-15  KwangHyuk Kim  <hyuki.kim@samsung.com>
2397
2398         [EFL] fix Evas GL engine error.
2399         https://bugs.webkit.org/show_bug.cgi?id=141621
2400
2401         Reviewed by Gyuyoung Kim.
2402
2403         As new elm engine api was added from efl 1.10, replace elm_config_preferred_engine_set with elm_config_accel_preference_set.
2404
2405         * MiniBrowser/efl/main.c:
2406         (elm_main):
2407
2408 2015-02-14  Csaba Osztrogonác  <ossy@webkit.org>
2409
2410         [buildbot] Enable run-api-tests on release Mac bots
2411         https://bugs.webkit.org/show_bug.cgi?id=141518
2412
2413         Reviewed by Darin Adler.
2414
2415         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2416         (RunUnitTests):
2417         (BuildFactory.__init__):
2418         (TestFactory.__init__):
2419         (BuildAndTestFactory.__init__):
2420         (RunUnitTests.start): Deleted.
2421         (unitTestsSupported): Deleted.
2422
2423 2015-02-13  Anders Carlsson  <andersca@apple.com>
2424
2425         Add a move constructor and move assignment operator to Deque
2426         https://bugs.webkit.org/show_bug.cgi?id=141571
2427
2428         Reviewed by Andreas Kling.
2429
2430         * TestWebKitAPI/Tests/WTF/Deque.cpp:
2431         (TestWebKitAPI::TEST):
2432
2433 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
2434
2435         run-jsc-stress-tests --remote should skip profiler tests
2436         https://bugs.webkit.org/show_bug.cgi?id=141470
2437
2438         Reviewed by Filip Pizlo.
2439
2440         * Scripts/run-jsc-stress-tests:
2441
2442 2015-02-13  Anders Carlsson  <andersca@apple.com>
2443
2444         Add an initializer list constructor to Deque
2445         https://bugs.webkit.org/show_bug.cgi?id=141565
2446
2447         Reviewed by Andreas Kling.
2448
2449         * TestWebKitAPI/Tests/WTF/Deque.cpp:
2450         (TestWebKitAPI::TEST):
2451
2452 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
2453
2454         [buildbot] Remove buildJSCTool cruft from master.cfg
2455         https://bugs.webkit.org/show_bug.cgi?id=141513
2456
2457         Reviewed by Alexey Proskuryakov.
2458
2459         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2460         (RunJavaScriptCoreTests):
2461         (RunJavaScriptCoreTests.start):
2462         (RunWebKitTests):
2463         (RunWebKitTests.start):
2464         (TestFactory.__init__):
2465         (TestLeaksFactory.__init__):
2466         (RunJavaScriptCoreTests.__init__): Deleted.
2467         (RunWebKitTests.__init__): Deleted.
2468
2469 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
2470
2471         Unreviewed, remove empty directories.
2472
2473         * DumpRenderTree/gtk: Removed.
2474         * DumpRenderTree/gtk/fonts: Removed.
2475         * DumpRenderTree/unix: Removed.
2476         * DumpRenderTree/unix/TestNetscapePlugin: Removed.
2477         * GtkLauncher: Removed.
2478         * TestWebKitAPI/Tests/WebKitGtk: Removed.
2479         * TestWebKitAPI/Tests/WebKitGtk/resources: Removed.
2480         * WebKitTestRunner/WebKitTestRunnerAppTests: Removed.
2481         * WebKitTestRunner/WebKitTestRunnerAppTests/en.lproj: Removed.
2482
2483 2015-02-13  Csaba Osztrogonác  <ossy@webkit.org>
2484
2485         Remove Windows cruft from Tools/Scripts/build-webkittestrunner
2486         https://bugs.webkit.org/show_bug.cgi?id=141519
2487
2488         Reviewed by Alexey Proskuryakov.
2489
2490         * Scripts/build-webkittestrunner:
2491
2492 2015-02-12  Alex Christensen  <achristensen@webkit.org>
2493
2494         Removed empty directory.
2495
2496         * WinCELauncher: Removed.
2497
2498 2015-02-12  Csaba Osztrogonác  <ossy@webkit.org>
2499
2500         run-jsc-stress-tests --remote should be able add the necessary libraries to the bundle on Linux
2501         https://bugs.webkit.org/show_bug.cgi?id=141202
2502
2503         Reviewed by Darin Adler.
2504
2505         * Scripts/run-jsc-stress-tests:
2506
2507 2015-02-12  Brent Fulgham  <bfulgham@apple.com>
2508
2509         [Win] Test bot infrastructure should not try to find/use old Safari DLLs
2510         https://bugs.webkit.org/show_bug.cgi?id=141517
2511
2512         Reviewed by Anders Carlsson.
2513
2514         We do not need to locate or use the DLL's that came with Safari, so stop
2515         failing when we cannot find them. Also remove some old Qt cruft from this
2516         script.
2517
2518         * BuildSlaveSupport/built-product-archive:
2519         (archiveBuiltProduct): 
2520         (extractBuiltProduct):
2521
2522 2015-02-11  Brent Fulgham  <bfulgham@apple.com>
2523
2524         [Win] [64-bit] Work around MSVC2013 Runtime Bug
2525         https://bugs.webkit.org/show_bug.cgi?id=141498
2526         <rdar://problem/19803642>
2527
2528         Reviewed by Anders Carlsson.
2529
2530         Disable FMA3 instruction use in the MSVC math library to
2531         work around a VS2013 runtime crash. We can remove this
2532         workaround when we switch to VS2015.
2533
2534         * DumpRenderTree/cg/ImageDiffCG.cpp: Call _set_FMA3_enable(0) to
2535         disable FMA3 support.
2536         * DumpRenderTree/win/DumpRenderTree.cpp: Ditto.
2537         * DumpRenderTree/win/ImageDiffCairo.cpp: Ditto.
2538         * DumpRenderTree/win/TestRunnerWin.cpp: Ditto.
2539         * Scripts/webkitperl/httpd.pm: Ditto.
2540         * TestWebKitAPI/win/main.cpp: Ditto.
2541         * WinLauncher/Common.cpp: Ditto.
2542         * win/DLLLauncher/DLLLauncherMain.cpp: Ditto.
2543
2544 2015-02-12  Csaba Osztrogonác  <ossy@webkit.org>
2545
2546         run-jsc-stress-tests should accept remote host config from JSON file
2547         https://bugs.webkit.org/show_bug.cgi?id=141509
2548
2549         Reviewed by Michael Saboff.
2550
2551         * Scripts/run-javascriptcore-tests:
2552         (runJSCStressTests):
2553         * Scripts/run-jsc-stress-tests:
2554
2555 2015-02-12  Carlos Garcia Campos  <cgarcia@igalia.com>
2556
2557         [GTK] Add API to allow overriding the default color chooser implementation
2558         https://bugs.webkit.org/show_bug.cgi?id=98935
2559
2560         Reviewed by Gustavo Noronha Silva.
2561
2562         Add a color chooser implementation for MiniBrowser using
2563         GtkPopover when the GTK+ version is recent enough.
2564         And a test case to check the new color chooser API.
2565
2566         * MiniBrowser/gtk/BrowserWindow.c:
2567         (colorChooserRGBAChanged):
2568         (popoverColorClosed):
2569         (colorChooserRequestFinished):
2570         (runColorChooserCallback):
2571         (browserWindowConstructed):
2572         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2573         (testWebViewColorChooserRequest):
2574         (beforeAll):
2575
2576 2015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
2577
2578         Make run-jsc-stress-tests --remote work with make-based runner
2579         https://bugs.webkit.org/show_bug.cgi?id=141079
2580
2581         Reviewed by Darin Adler.
2582
2583         * Scripts/run-javascriptcore-tests:
2584         (runJSCStressTests): Pass through the --shell-runner and --make-runner arguments.
2585         * Scripts/run-jsc-stress-tests: Made the make-based runner the default runner,
2586         except for remote testing on Darwin. Unified runShellTestRunner and runMakeTestRunner
2587         to avoid code duplication.
2588
2589 2015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
2590
2591         run-jsc-stress tests should detect the number of processors on the remote machine too
2592         https://bugs.webkit.org/show_bug.cgi?id=141196
2593
2594         Reviewed by Darin Adler.
2595
2596         * Scripts/run-javascriptcore-tests:
2597         (runJSCStressTests): Pass through the --child-processes argument.
2598         * Scripts/run-jsc-stress-tests: Added determineNumberOfProcessors function
2599         to detect the number of local and remote processors with the same algorithm.
2600         Additionally introduced $numChildProcesses to emphasize it isn't necessarily
2601         same as $numProcessors.
2602
2603 2015-02-11  Csaba Osztrogonác  <ossy@webkit.org>
2604
2605         run-jsc-stress-tests should pass JSC_timeout to remote hosts
2606         https://bugs.webkit.org/show_bug.cgi?id=141164
2607
2608         Reviewed by Darin Adler.
2609
2610         Additonally removed IMPORTANT_ENVS, since JSC_timeout was the only one.
2611
2612         * Scripts/run-jsc-stress-tests:
2613
2614 2015-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2615
2616         [GTK] Add default color chooser implementation using GtkColorChooserDialog
2617         https://bugs.webkit.org/show_bug.cgi?id=141392
2618
2619         Reviewed by Gustavo Noronha Silva.
2620
2621         Enable INPUT_TYPE_COLOR by default for GTK+ port.
2622
2623         * Scripts/webkitperl/FeatureList.pm:
2624
2625 2015-02-09  Csaba Osztrogonác  <ossy@webkit.org>
2626
2627         run-jsc-stress-tests shell test runner should run tests in fixed order
2628         https://bugs.webkit.org/show_bug.cgi?id=141383
2629
2630         Reviewed by Darin Adler.
2631
2632         * Scripts/jsc-stress-test-helpers/shell-runner.sh:
2633
2634 2015-02-08  Chris Fleizach  <cfleizach@apple.com>
2635
2636         AX: VoiceOver appears unresponsive when JavaScript alerts are triggered via focus or blur events
2637         https://bugs.webkit.org/show_bug.cgi?id=140485
2638
2639         Reviewed by Anders Carlsson.
2640
2641         Implement takeFocus() as a way to set focus through accessibility wrappers.
2642
2643         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2644         (AccessibilityUIElement::takeFocus):
2645         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2646         (WTR::AccessibilityUIElement::takeFocus):
2647
2648 2015-02-08  Darin Adler  <darin@apple.com>
2649
2650         Remove the SVG instance tree
2651         https://bugs.webkit.org/show_bug.cgi?id=140602
2652
2653         Reviewed by Dean Jackson.
2654
2655         * Scripts/check-for-global-initializers: Removed special case for
2656         SVGElementInstance.o.
2657
2658 2015-02-07  David Kilzer  <ddkilzer@apple.com>
2659
2660         [iOS] run-webkit-tests fails due to simulator devices from previous SDK installs being marked as unavailable
2661         <http://webkit.org/b/141365>
2662
2663         Reviewed by Daniel Bates.
2664
2665         * Scripts/webkitpy/xcode/simulator.py:
2666         (Simulator): Add unavailable_version_re precompiled regex.
2667         (Simulator._parse_devices): Check for unavailable versions and
2668         ignore them if found when parsing the output of
2669         `xcrun simctl list`.
2670         * Scripts/webkitpy/xcode/simulator_unittest.py:
2671         (test_unavailable_devices): Add test with output from
2672         `xcrun simctl list` with unavailable runtimes that fails before
2673         the fix.
2674
2675 2015-02-07  Chris Dumez  <cdumez@apple.com>
2676
2677         Add Vector::removeFirstMatching() / removeAllMatching() methods taking lambda functions
2678         https://bugs.webkit.org/show_bug.cgi?id=141321
2679
2680         Reviewed by Darin Adler.
2681
2682         Use new Vector::removeFirstMatching() / removeAllMatching() methods.
2683
2684 2015-02-07  David Kilzer  <ddkilzer@apple.com>
2685
2686         [iOS] Make Simulator class testable
2687         <http://webkit.org/b/141358>
2688
2689         Rubber-stamped by Darin Adler.
2690
2691         * Scripts/webkitpy/common/system/platforminfo.py:
2692         (PlatformInfo.xcode_simctl_list): Move `xcrun simctl list`
2693         command to here from Simulator.refresh() in xcode/simulator.py
2694         so that the output of the command can be mocked.
2695
2696         * Scripts/webkitpy/common/system/platforminfo_mock.py:
2697         (MockPlatformInfo.__init__): Set self.expected_xcode_simctl_list
2698         to None.
2699         (MockPlatformInfo.xcode_simctl_list): Add method that returns
2700         self.expected_xcode_simctl_list expectation.
2701
2702         * Scripts/webkitpy/xcode/simulator.py: Add missing copyright
2703         and license header.
2704         (Simulator.__init__): Add optional 'host' parameter to make it
2705         possible to pass in a mock object for testing.  Set self._host
2706         to 'host' parameter or create Host() object.
2707         (Simulator.refresh): Call new PlatformInfo.xcode_simctl_list()
2708         method.
2709
2710         * Scripts/webkitpy/xcode/simulator_unittest.py: Add unit test
2711         for current code.
2712         (SimulatorTest):
2713         (SimulatorTest.setUp):
2714         (SimulatorTest._set_expected_xcrun_simctl_list):
2715         (SimulatorTest.test_simulator_device_types):
2716         (test_invalid_device_types_header):
2717         (test_invalid_runtimes_header):
2718         (test_invalid_devices_header):
2719
2720 2015-02-07  Csaba Osztrogonác  <ossy@webkit.org>
2721
2722         run-jsc-stress-tests --remote should use the default ssh port
2723         https://bugs.webkit.org/show_bug.cgi?id=141287
2724
2725         Reviewed by Darin Adler.
2726
2727         * Scripts/run-jsc-stress-tests: Extended URI module to be able to handle ssh scheme with the default 22 port number.
2728
2729 2015-02-06  Dana Burkart  <dburkart@apple.com>
2730
2731         dashboard: BuildbotTesterQueueView crashesOnly logic is wrong
2732         https://bugs.webkit.org/show_bug.cgi?id=141349
2733
2734         Reviewed by Alexey Proskuryakov.
2735
2736         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2737         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2738         (BuildbotTesterQueueView.prototype.update):
2739
2740 2015-02-06  Alexey Proskuryakov  <ap@apple.com>
2741
2742         Report network process crashes during layout tests
2743         https://bugs.webkit.org/show_bug.cgi?id=139646
2744
2745         Reviewed by Anders Carlsson.
2746
2747         * WebKitTestRunner/TestController.cpp:
2748         (WTR::TestController::initialize):
2749         (WTR::TestController::networkProcessName):
2750         (WTR::TestController::networkProcessDidCrash):
2751         * WebKitTestRunner/TestController.h:
2752
2753 2015-02-06  Csaba Osztrogonác  <ossy@webkit.org>
2754
2755         run-jsc-stress-tests --remote should create remote directory before copying the bundle
2756         https://bugs.webkit.org/show_bug.cgi?id=141329
2757
2758         Reviewed by Michael Saboff.
2759
2760         * Scripts/run-jsc-stress-tests:
2761
2762 2015-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2763
2764         [GTK] Remove WebKitWebView::close-notification signal
2765         https://bugs.webkit.org/show_bug.cgi?id=141330
2766
2767         Reviewed by Gustavo Noronha Silva.
2768
2769         Update notifications unit tests according to the API changes, and
2770         add a test case to check that onclose event is fired when a
2771         notification is closed by the user.
2772
2773         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
2774         (testWebViewNotification):
2775
2776 2015-02-05  Alexey Proskuryakov  <ap@apple.com>
2777
2778         Dashboard doesn't consider building ASan a productive step
2779         https://bugs.webkit.org/show_bug.cgi?id=141312
2780
2781         Reviewed by Simon Fraser.
2782
2783         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2784
2785 2015-02-05  Daniel Bates  <dabates@apple.com>
2786
2787         [iOS] webkitpy.xcode.simulator.Runtime.from_identifier() returns wrong result for non-existent runtime
2788         https://bugs.webkit.org/show_bug.cgi?id=141306
2789
2790         Reviewed by Alexey Proskuryakov.
2791
2792         The function webkitpy.xcode.simulator.Runtime.from_identifier always returns a Runtime object
2793         corresponding to the last-most runtime parsed from the output of `simctl list` for any non-
2794         existent runtime.
2795
2796         * Scripts/webkitpy/xcode/simulator.py:
2797         (Runtime.from_identifier):
2798
2799 2015-02-05  Daniel Bates  <dabates@apple.com>
2800
2801         LayoutTestRelay does not install DumpRenderTree.app/WebKitTestRunnerApp.app
2802         https://bugs.webkit.org/show_bug.cgi?id=139746
2803         <rdar://problem/19283658>
2804
2805         Reviewed by Alexey Proskuryakov.
2806
2807         Fixes an issues where LayoutTestRelay may fail to install DumpRenderTree.app/WebKitTestRunnerApp.app
2808         if the simulator device is not in state Booted.
2809
2810         Currently run-webkit-test --ios-sim executes LayoutTestRelay immediately after
2811         launching/relaunching the iOS Simulator app and a simulator app can only be installed
2812         on a device that is in the Booted state. LayoutTestRelay may run before the
2813         device is booted and hence fail to install DumpRenderTree.app/WebKitTestRunnerApp.app.
2814         We should defer executing LayoutTestRelay until the simulator device booted by
2815         iOS Simulator is in the Booted state.
2816
2817         * Scripts/webkitpy/port/ios.py: Import webkitpy.xcode.simulator.Simulator to avoid prefixing
2818         Simulator methods with the module name, simulator.
2819         (IOSSimulatorPort.setup_test_run): Wait for the simulator device to be in the Booted state
2820         after launching iOS Simulator. Also, wait until the simulator device is in the Shutdown state
2821         before launching iOS Simulator to boot it.
2822         (IOSSimulatorPort.testing_device): Fix up caller since we now import webkitpy.xcode.simulator.Simulator.
2823         (IOSSimulatorPort.simulator_path): Deleted; moved this function to class Simulator and renamed to device_directory().
2824         * Scripts/webkitpy/xcode/simulator.py:
2825         (Device.__init__): Remove parameter state and an instance variable of the same name, which represented
2826         the state of the device when we created this object as part of parsing the output of `simctl list`. Callers
2827         interested in the state of the device are more likely interested in the current state of the device as
2828         opposed to the state of the device when the Device object was created.
2829         (Device.state): Added; turn around and call Simulator.device_state() for the current state of the device.
2830         (Device.path): Extracted implementation into Simulator.device_directory() so that it can be called
2831         from both this function and Simulator.device_state().
2832         (Device.create): Use Simulator.wait_until_device_is_in_state() to simplify the implementation of this function.
2833         (Simulator.DeviceState): Added; class of constants.
2834         (Simulator.wait_until_device_is_in_state): Added; this function does not return until the specified
2835         device is in the specified state.
2836         (Simulator.device_state): Added; parses the state of the device from the appropriate CoreSimulator device.plist file.
2837         (Simulator.device_directory): Added.
2838         (Simulator._parse_devices): Do not pass argument state to Device constructor as it no longer accepts it.
2839
2840 2015-02-05  Alexey Proskuryakov  <ap@apple.com>
2841
2842         Disable retries on Mac debug testers
2843         https://bugs.webkit.org/show_bug.cgi?id=141296
2844
2845         Reviewed by Simon Fraser.
2846
2847         * BuildSlaveSupport/build.webkit.org-config/config.json:
2848
2849 2015-02-05  Dan Bernstein  <mitz@apple.com>
2850
2851         Need a way to force $xcodeSDK in webkitdirs.pm
2852         https://bugs.webkit.org/show_bug.cgi?id=141291
2853
2854         Reviewed by Anders Carlsson.
2855
2856         * Scripts/webkitdirs.pm:
2857         (setXcodeSDK): Added.
2858
2859 2015-02-05  Youenn Fablet  <youenn.fablet@crf.canon.fr> and Xabier Rodriguez Calvar <calvaris@igalia.com>
2860
2861         [Streams API] Implement a barebone ReadableStream interface
2862         https://bugs.webkit.org/show_bug.cgi?id=141045
2863
2864         Reviewed by Benjamin Poulain.
2865
2866         * Scripts/webkitperl/FeatureList.pm: Added streams-api compilation switch.
2867
2868 2015-02-04  Joseph Pecoraro  <pecoraro@apple.com>
2869
2870         filter-build-webkit: reduce more unfiltered output
2871         https://bugs.webkit.org/show_bug.cgi?id=141282
2872
2873         Reviewed by Daniel Bates.
2874
2875         * Scripts/filter-build-webkit:
2876         Report CompileDTraceScript and Preprocess lines as successful.
2877
2878 2015-02-04  Dana Burkart  <dburkart@apple.com>
2879
2880         Botwatcher's Dashboard is cramped
2881         https://bugs.webkit.org/show_bug.cgi?id=140273
2882
2883         Reviewed by Alexey Proskuryakov.
2884
2885         Add a heading key which will allow for arbitrary headings in builder queues.
2886
2887         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
2888         (BuildbotBuilderQueueView.prototype.update.appendBuilderQueueStatus):
2889         (BuildbotBuilderQueueView.prototype.update):
2890         (BuildbotBuilderQueueView.prototype.update.appendBuildArchitecture): Deleted.
2891         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2892         (BuildbotIteration.prototype._parseData):
2893         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotLeaksQueueView.js:
2894         (BuildbotLeaksQueueView.prototype.update):
2895         (BuildbotLeaksQueueView.prototype.update.appendBuild): Deleted.
2896         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotPerformanceQueueView.js:
2897         (BuildbotPerformanceQueueView.prototype.update):
2898         (BuildbotPerformanceQueueView.prototype.update.appendBuild): Deleted.
2899         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
2900         (BuildbotQueue):
2901         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2902         (BuildbotQueueView.prototype._unauthorizedAccess):
2903         (BuildbotQueueView.prototype._appendBuild):
2904         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2905         (BuildbotTestResults):
2906         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2907         (BuildbotTesterQueueView.prototype.update.appendBuilderQueueStatus):
2908         (BuildbotTesterQueueView.prototype.update):
2909         (BuildbotTesterQueueView.prototype.update.appendBuild): Deleted.
2910
2911 2015-02-04  Simon Fraser  <simon.fraser@apple.com>
2912
2913         WKTR should not use -mainScreen to pick a color profile
2914         https://bugs.webkit.org/show_bug.cgi?id=141265
2915
2916         Reviewed by Tim Horton.
2917         
2918         -[NSScreen mainScreen] depends on the active window, so use the first screen
2919         (which is the one we put the window on anyway).
2920         
2921         Do some cleanup in DRT that makes the code look similar.
2922
2923         * DumpRenderTree/mac/DumpRenderTree.mm:
2924         (createWebViewAndOffscreenWindow):
2925         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
2926         (WTR::PlatformWebView::PlatformWebView):
2927
2928 2015-02-04  Simon Fraser  <simon.fraser@apple.com>
2929
2930         LayoutTestHelper should set the color profile of all displays
2931         https://bugs.webkit.org/show_bug.cgi?id=141260
2932
2933         Reviewed by Tim Horton.
2934         
2935         WebKitTestRunner can (erroneously) grab the colorspace of the "main" screen.
2936         which is the screen with the active window. Make things more robust by changing
2937         the colorspace of all displays, not just the main screen, when running layout tests.
2938
2939         * DumpRenderTree/mac/Configurations/LayoutTestHelper.xcconfig: Enable ARC
2940         * DumpRenderTree/mac/LayoutTestHelper.m: 
2941         (originalColorProfileURLs):
2942         (colorProfileURLForDisplay):
2943         (displayUUIDStrings):
2944         (saveDisplayColorProfiles):
2945         (setDisplayColorProfile):
2946         (restoreDisplayColorProfiles):
2947         (installLayoutTestColorProfile):
2948         (restoreUserColorProfile):
2949         (main):        
2950         Store display color profiles by map of UUID strings to URLs (NSUUID and CFUUID are not
2951         toll-free bridged, sadly). Use the map to restore all profiles on exit.
2952         Convert to use more Obj-C types.
2953
2954 2015-02-04  Daniel Bates  <dabates@apple.com>
2955
2956         test-webkitpy fails on Mac without iphoneos SDK
2957         https://bugs.webkit.org/show_bug.cgi?id=141255
2958         <rdar://problem/19619691>
2959
2960         I inadvertently committed the wrong exception message. Fix up the exception message
2961         to instruct a person to install the iOS SDK when it cannot be found.
2962
2963         * Scripts/webkitpy/port/ios.py:
2964         (IOSPort.determine_full_port_name):
2965
2966 2015-02-04  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2967
2968         W3C test importer should sort the list of files when generating the w3c-import.log
2969         https://bugs.webkit.org/show_bug.cgi?id=141156
2970
2971         Reviewed by Bem Jones-Bey.
2972
2973         Sort explicitly the list of imported files written in the w3c-import.log.
2974         Removed logging of the import date.
2975
2976         * Scripts/webkitpy/w3c/test_importer.py:
2977         (TestImporter.write_import_log):
2978
2979 2015-02-04  Daniel Bates  <dabates@apple.com>
2980
2981         test-webkitpy fails on Mac without iphoneos SDK
2982         https://bugs.webkit.org/show_bug.cgi?id=141255
2983         <rdar://problem/19619691>
2984
2985         Reviewed by David Kilzer and Alexey Proskuryakov.
2986
2987         Fixes an issue where test-webkitpy fails on a Mac without the iOS SDK. We should
2988         should not require the iphoneos SDK to be installed to run the webkitpy tests.
2989
2990         * Scripts/webkitpy/common/system/platforminfo.py:
2991         (PlatformInfo.xcode_sdk_version): Added; return the version of the specified SDK, if
2992         installed. We take advantage of the behavior that xcrun --show-sdk-version only writes
2993         to standard output if the SDK is installed to return the empty string if the SDK is
2994         not installed.
2995         * Scripts/webkitpy/common/system/platforminfo_mock.py:
2996         (MockPlatformInfo.xcode_sdk_version): Added.
2997         * Scripts/webkitpy/port/ios.py:
2998         (IOSPort.determine_full_port_name): Modified to call PlatformInfo.xcode_sdk_version()
2999         to get the version of the iphoneos SDK, if installed.
3000
3001 2015-02-04  Alexey Proskuryakov  <ap@apple.com>
3002
3003         run-webkit-tests doesn't always capture ASan violation reports
3004         https://bugs.webkit.org/show_bug.cgi?id=141231
3005
3006         Reviewed by Darin Adler.
3007
3008         * Scripts/webkitpy/port/driver.py:
3009         (Driver.run_test): Don't look for CrashReporter crash logs if a log was provided
3010         by the driver already (as is the case with ASan violations, which are printed to
3011         stderr).
3012         (Driver._check_for_address_sanitizer_violation): Check if the line is a start of ASan
3013         report.
3014         (Driver._read_block): Give ASan enough time to symbolicate a crash, and put it into
3015         a separate variable for reporting.
3016
3017 2015-02-03  Ryosuke Niwa  <rniwa@webkit.org>
3018
3019         [webkitpy] Add platform specific Skipped file mechanism for performance tests
3020         https://bugs.webkit.org/show_bug.cgi?id=141152
3021
3022         Reviewed by Csaba Osztrogonác.
3023
3024         Support a test-expectation-like syntax in performance tests' skipped files.
3025         e.g. [Mac] Parsed/BadTest.html will skip Parsed/BadTest.html on Mac ports.
3026
3027         * Scripts/webkitpy/port/base.py:
3028         (Port.skipped_perf_tests): Implemented the syntax support by a regular expression.
3029
3030         * Scripts/webkitpy/port/base_unittest.py:
3031         (PortTest.test_skipped_perf_tests): Test the new syntax.
3032
3033 2015-02-04  Alexey Proskuryakov  <ap@apple.com>
3034
3035         When tests fail on leaks bot so much that there are no leaks detected, dashboard erroneously shows green
3036         https://bugs.webkit.org/show_bug.cgi?id=141236
3037
3038         Reviewed by Sam Weinig.
3039
3040         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotLeaksQueueView.js:
3041         (BuildbotLeaksQueueView.prototype.update.appendLeaksQueueStatus):
3042
3043 2015-02-04  Chris Dumez  <cdumez@apple.com>
3044
3045         Add removeFirst(value) / removeAll(value) methods to WTF::Vector
3046         https://bugs.webkit.org/show_bug.cgi?id=141192
3047
3048         Reviewed by Benjamin Poulain.
3049
3050         Add API tests for Vector::removeFirst(value) and
3051         Vector::removeAll(value).
3052
3053         * TestWebKitAPI/Tests/WTF/Vector.cpp:
3054         (TestWebKitAPI::TEST):
3055
3056 2015-02-03  Tim Horton  <timothy_horton@apple.com>
3057
3058         Add WKPageNavigationClient as C SPI around API::NavigationClient, and adopt in WKTR
3059         https://bugs.webkit.org/show_bug.cgi?id=141217
3060
3061         Reviewed by Sam Weinig.
3062
3063         * WebKitTestRunner/TestController.cpp:
3064         (WTR::copyWebCryptoMasterKey):
3065         (WTR::TestController::createOtherPage):
3066         (WTR::TestController::createWebViewWithOptions):
3067         (WTR::TestController::ensureViewSupportsOptions):
3068         (WTR::TestController::didCommitNavigation):
3069         (WTR::TestController::didFinishNavigation):
3070         (WTR::TestController::canAuthenticateAgainstProtectionSpace):
3071         (WTR::TestController::didReceiveAuthenticationChallenge):
3072         (WTR::TestController::decidePolicyForPluginLoad):
3073         (WTR::TestController::decidePolicyForNavigationAction):
3074         (WTR::TestController::decidePolicyForNavigationResponse):
3075         (WTR::TestController::didCommitLoadForFrame): Deleted.
3076         (WTR::TestController::didFinishLoadForFrame): Deleted.
3077         * WebKitTestRunner/TestController.h:
3078         Adopt WKPageNavigationClient and adjust to its semantics (navigations are main-frame-only, etc.)
3079
3080 2015-02-03  Dhi Aurrahman  <diorahman@rockybars.com>
3081
3082         Unreviewed. Add myself as a committer.
3083
3084         * Scripts/webkitpy/common/config/contributors.json:
3085
3086 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
3087
3088         [Win] Unreviewed test fix.
3089
3090         * DumpRenderTree/win/PolicyDelegate.cpp:
3091         (PolicyDelegate::unableToImplementPolicyWithError): The message was missing a linefeed,
3092         so was not matching expected output.
3093
3094 2015-02-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3095
3096         Unreviewed. Moving myself to the committer section at last.
3097
3098         * Scripts/webkitpy/common/config/contributors.json:
3099
3100 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
3101
3102         [Win] Tests fail because DRT reports '(null)' instead of an empty string
3103         https://bugs.webkit.org/show_bug.cgi?id=141205
3104
3105         Reviewed by Anders Carlsson.
3106
3107         * DumpRenderTree/win/HistoryDelegate.cpp:
3108         (HistoryDelegate::didNavigateWithNavigationData): Deal with empty BSTR values
3109         properly so that we match expected DumpRenderTree output.
3110
3111 2015-02-03  Michael Catanzaro  <mcatanzaro@igalia.com>
3112
3113         [GTK] TestWebKitAccessibility is not skipped
3114         https://bugs.webkit.org/show_bug.cgi?id=141179
3115
3116         Reviewed by Carlos Garcia Campos.
3117
3118         Don't attempt to skip TestWebKitAccessibility. This path is wrong so it was not being
3119         skipped, and it apparently works reliably on the bots.
3120
3121         * Scripts/run-gtk-tests:
3122         (TestRunner):
3123
3124 2015-02-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3125
3126         run-perf-tests: allow to specify a wrapper command.
3127         https://bugs.webkit.org/show_bug.cgi?id=141172
3128
3129         Reviewed by Ryosuke Niwa.
3130
3131         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
3132         (parse_args): Update text to indicate is also valid for WTR.
3133         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
3134         (PerfTestsRunner._parse_args): Add wrapper command.
3135
3136 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
3137
3138         [Win] Correct version parsing warning in update-webkit
3139         https://bugs.webkit.org/show_bug.cgi?id=141200
3140
3141         Reviewed by Anders Carlsson.
3142
3143         * Scripts/webkitdirs.pm:
3144         (setupAppleWinEnv): Strip out any specific version build level
3145         from the Cygwin version information.
3146   
3147
3148 2015-02-03  Brent Fulgham  <bfulgham@apple.com>
3149
3150         [Win] Attempt to improve the reliability of HTTP service
3151         https://bugs.webkit.org/show_bug.cgi?id=141191
3152
3153         Reviewed by Darin Adler.
3154
3155         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
3156         (LayoutTestApacheHttpd.__init__): Use default XAMPP pidfile location.
3157         (LayoutTestApacheHttpd._stop_running_server): Delete the abandoned PID file
3158         when stopping the service doesn't do so on its own (for Windows runs).
3159
3160 2015-02-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3161
3162         Web platform test server should not need to create __init__.py files
3163         https://bugs.webkit.org/show_bug.cgi?id=141030
3164
3165         Reviewed by Ryosuke Niwa.
3166
3167         W3C TestImporter ensures that copied __init__.py files are not empty.
3168         If needed, a comment is inserted in __init__.py files.
3169         Added a unit test to check that web-platform-tests tools and scripts python modules can be imported.
3170
3171         * Scripts/webkitpy/common/system/filesystem.py:
3172         (FileSystem.getsize):
3173         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server_unittest.py:
3174         (TestWebPlatformTestServer.test_start_cmd):
3175         (TestWebPlatformTestServer):
3176         (TestWebPlatformTestServer.test_import_web_platform_test_modules):
3177         * Scripts/webkitpy/w3c/test_importer.py:
3178         (TestImporter.import_tests):
3179
3180 2015-01-26  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3181
3182         Unreviewed. Moving myself to the committer section.
3183
3184         * Scripts/webkitpy/common/config/contributors.json:
3185
3186 2015-02-02  Saam Barati  <saambarati1@gmail.com>
3187
3188         Create tests for JSC's Control Flow Profiler
3189         https://bugs.webkit.org/show_bug.cgi?id=141123
3190
3191         Reviewed by Filip Pizlo.
3192
3193         * Scripts/run-javascriptcore-tests:
3194         (runJSCStressTests):
3195         * Scripts/run-jsc-stress-tests:
3196
3197 2015-02-02  Csaba Osztrogonác  <ossy@webkit.org>
3198
3199         Remove copy/paste code from run-jsc-stress-tests to determine numberOfTests
3200         https://bugs.webkit.org/show_bug.cgi?id=141158
3201
3202         Reviewed by Darin Adler.
3203
3204         * Scripts/run-jsc-stress-tests:
3205
3206 2015-02-02  Michael Catanzaro  <mcatanzaro@igalia.com>
3207
3208         [GTK] MiniBrowser should close itself on Ctrl+W or Ctrl+Q
3209         https://bugs.webkit.org/show_bug.cgi?id=141142
3210
3211         Reviewed by Carlos Garcia Campos.
3212
3213         * MiniBrowser/gtk/BrowserWindow.c:
3214         (browser_window_init): Quit on Ctrl+W or Ctrl+Q
3215
3216 2015-02-01  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3217
3218         Web platform test server is not always launching properly on Mac EWS bots
3219         https://bugs.webkit.org/show_bug.cgi?id=141141
3220
3221         Unreviewed.
3222
3223         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
3224         (create_wpt_empty_file_if_needed): Removed creation of empty __init.py__ files from AutoInstalled modules.
3225
3226 2015-01-31  Sam Weinig  <sam@webkit.org>
3227
3228         Remove even more Mountain Lion support
3229         https://bugs.webkit.org/show_bug.cgi?id=141124
3230
3231         Reviewed by Alexey Proskuryakov.
3232
3233         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3234         (AccessibilityUIElement::attributedStringRangeIsMisspelled):
3235         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3236         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3237         * DumpRenderTree/mac/DumpRenderTree.mm:
3238         (activateTestingFonts):
3239         (prepareConsistentTestingEnvironment):
3240         * DumpRenderTree/mac/EventSendingController.mm:
3241         (-[EventSendingController mouseScrollByX:andY:withWheel:andMomentumPhases:]):
3242         (-[EventSendingController contextClick]):
3243         * DumpRenderTree/mac/TextInputController.m:
3244         * LayoutTestRelay/Configurations/Base.xcconfig:
3245         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
3246         * MiniBrowser/Configurations/Base.xcconfig:
3247         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3248         * MiniBrowser/mac/WK2BrowserWindowController.m:
3249         (-[WK2BrowserWindowController webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
3250         (-[WK2BrowserWindowController webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:]):
3251         (-[WK2BrowserWindowController webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:]):
3252         * TestWebKitAPI/Configurations/Base.xcconfig:
3253         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3254         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
3255         (-[DownloadDelegate _downloadDidFinish:]):
3256         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
3257         (TestWebKitAPI::TEST):
3258         * TestWebKitAPI/mac/InjectedBundleControllerMac.mm:
3259         (TestWebKitAPI::InjectedBundleController::platformInitialize):
3260         * WebKitLauncher/Configurations/Base.xcconfig:
3261         * WebKitTestRunner/Configurations/Base.xcconfig:
3262         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3263         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
3264         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
3265         * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm:
3266         (WTR::activateFonts):
3267         * WebKitTestRunner/TestController.cpp:
3268         (WTR::TestController::initialize):
3269         (WTR::TestController::webProcessName):
3270         * WebKitTestRunner/mac/EventSenderProxy.mm:
3271         * asan/asan.xcconfig:
3272
3273 2015-01-31  Commit Queue  <commit-queue@webkit.org>
3274
3275         Unreviewed, rolling out r179408.
3276         https://bugs.webkit.org/show_bug.cgi?id=141117
3277
3278         This didn't fully fix the issue (Requested by anttik on
3279         #webkit).
3280
3281         Reverted changeset:
3282
3283         "OSObjectPtr does not work with dispatch_data_t on Maverics"
3284         https://bugs.webkit.org/show_bug.cgi?id=141081
3285         http://trac.webkit.org/changeset/179408
3286
3287 2015-01-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3288
3289         https://trac.webkit.org/changeset/179439 breaks a python test
3290         https://bugs.webkit.org/show_bug.cgi?id=141114
3291
3292         Unreviewed.
3293
3294         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3295         (WebPlatformTestServer._install_modules): Checks whether WPTModules file exists before reading it as no such file exists in mock tests.  
3296
3297 2015-01-31  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3298
3299         Import W3C web platform tests infrastructure
3300         https://bugs.webkit.org/show_bug.cgi?id=140934
3301
3302         Reviewed by Ryosuke Niwa.
3303
3304         Loading necessary web platform tests modules before launching server.
3305         Ensuring that some empty __init__.py files are present and create them if necessary. 
3306
3307         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
3308         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
3309
3310 2015-01-30  Brent Fulgham  <bfulgham@apple.com>
3311
3312         [Win] Another unreviewed test fix.
3313
3314         Correct copy/paste error in buildbot handling.
3315
3316         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
3317         (LayoutTestApacheHttpd.__init__):
3318         (LayoutTestApacheHttpd._get_apache_config_file_path):
3319
3320 2015-01-30  Brent Fulgham  <bfulgham@apple.com>
3321
3322         [Win] Unreviewed test fix.
3323
3324         Correct path handling based on failures on test bots to get things running again.
3325
3326         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
3327         (LayoutTestApacheHttpd.__init__):
3328         (LayoutTestApacheHttpd._get_apache_config_file_path):
3329
3330 2015-01-30  Chris Dumez  <cdumez@apple.com>
3331
3332         Unreviewed. Fix Windows build after r179409.
3333
3334         * DumpRenderTree/win/TestRunnerWin.cpp:
3335         (TestRunner::notifyDone):
3336         (TestRunner::queueLoad):
3337
3338 2015-01-30  Chris Dumez  <cdumez@apple.com>
3339
3340         Rename shared() static member functions to singleton() for singleton classes.
3341         https://bugs.webkit.org/show_bug.cgi?id=141088
3342
3343         Reviewed by Ryosuke Niwa and Benjamin Poulain.
3344
3345         Rename shared() static member functions to singleton() for singleton
3346         classes as per the recent coding style change.
3347
3348 2015-01-30  Antti Koivisto  <antti@apple.com>
3349
3350         OSObjectPtr does not work with dispatch_data_t on Maverics
3351         https://bugs.webkit.org/show_bug.cgi?id=141081
3352
3353         Reviewed by Pratik Solanki.
3354
3355         * TestWebKitAPI/Tests/WTF/darwin/OSObjectPtr.cpp:
3356         (TestWebKitAPI::TEST):
3357
3358 2015-01-30  Brent Fulgham  <bfulgham@apple.com>
3359
3360         [Win] Switch to Apache on Windows
3361         https://bugs.webkit.org/show_bug.cgi?id=141060
3362
3363         Reviewed by Alexey Proskuryakov.
3364
3365         Update our scripts under Windows (and Cygwin) to locate and use
3366         the XAMPP installation of Apache for running tests.
3367
3368         * Scripts/run-webkit-httpd:
3369         * Scripts/webkitperl/httpd.pm:
3370         (getHTTPDPath):
3371         (getDefaultConfigForTestDirectory):
3372         (getHTTPDConfigPathForTestDirectory):
3373         * Scripts/webkitpy/common/system/executive_unittest.py:
3374         (ExecutiveTest.serial_test_kill_process):
3375         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
3376         (LayoutTestApacheHttpd.__init__):
3377         (LayoutTestApacheHttpd._get_apache_config_file_path):
3378         (LayoutTestApacheHttpd._stop_running_server):
3379         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
3380         (HttpServerBase._is_server_running_on_all_ports):
3381         * Scripts/webkitpy/port/base.py:
3382         (Port._apache_config_file_name_for_platform):
3383         * Scripts/webkitpy/port/port_testcase.py:
3384         (test_apache_config_file_name_for_platform):
3385         * Scripts/webkitpy/port/win.py:
3386         (WinPort.show_results_html_file):
3387         (WinPort._uses_apache):
3388         (WinPort):
3389         (WinPort._path_to_apache):
3390
3391 2015-01-29  Alexey Proskuryakov  <ap@apple.com>
3392
3393         Built result takes too long to be compressed on bots
3394         https://bugs.webkit.org/show_bug.cgi?id=141056
3395
3396         Reviewed by Daniel Bates.
3397
3398         Reduces compression time from ~3.5 min to ~1.5 min. Archive size gets 2% bigger.
3399
3400         * BuildSlaveSupport/test-result-archive: (archiveTestResults):
3401
3402 2015-01-29  Sam Weinig  <sam@webkit.org>
3403
3404         Remove support for screen font substitution
3405         https://bugs.webkit.org/show_bug.cgi?id=141038
3406
3407         Reviewed by Tim Horton.
3408
3409         * DumpRenderTree/win/DumpRenderTree.cpp:
3410         (resetWebPreferencesToConsistentValues):
3411         Remove call to now setScreenFontSubstitutionEnabled() which is a no-op.
3412
3413 2015-01-29  Csaba Osztrogonác  <ossy@webkit.org>
3414
3415         Make run-jsc-stress-tests --remote work on Linux too
3416         https://bugs.webkit.org/show_bug.cgi?id=141000
3417
3418         Reviewed by Darin Adler.
3419
3420         * Scripts/jsc-stress-test-helpers/shell-runner.sh: Omit error message of sysctl,
3421         use bash/dash compatible signal names, use Linux/Mac compatible find options,
3422         use bash/dash compatible functions.
3423         * Scripts/run-jsc-stress-tests: Use Linux/Mac compatible find options.
3424
3425 2015-01-29  Csaba Osztrogonác  <ossy@webkit.org>
3426
3427         [buildbot] Simplify jscore-test buildstep
3428         https://bugs.webkit.org/show_bug.cgi?id=140821
3429
3430         Reviewed by Alexey Proskuryakov.
3431
3432         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3433         (RunJavaScriptCoreTests): Inherited from TestWithFailureCount and removed useless actual.html logfile.
3434         (RunJavaScriptCoreTests.countFailures): Added.
3435         (RunJavaScriptCoreTests.commandComplete): Deleted.
3436         (RunJavaScriptCoreTests.evaluateCommand): Deleted.
3437         (RunJavaScriptCoreTests.getText): Deleted.
3438         (RunJavaScriptCoreTests.getText2): Deleted.
3439         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Updated.
3440         (RunJavaScriptCoreTestsTest.test_mozilla_failure_old_output):
3441         (RunJavaScriptCoreTestsTest.test_mozilla_failures_old_output):
3442         (RunJavaScriptCoreTestsTest.test_jsc_stress_failure_new_output):
3443         (RunJavaScriptCoreTestsTest.test_jsc_stress_failures_new_output):
3444
3445 2015-01-29  Csaba Osztrogonác  <ossy@webkit.org>
3446
3447         Unreviewed, revert r179337, we don't need this dependency.
3448
3449         * efl/install-dependencies:
3450         * gtk/install-dependencies:
3451
3452 2015-01-28  Shivakumar JM  <shiva.jm@samsung.com>
3453
3454         Unreviewed. Moving myself to the committer section.
3455
3456         * Scripts/webkitpy/common/config/contributors.json:
3457
3458 2015-01-28  Csaba Osztrogonác  <ossy@webkit.org>
3459
3460         URTBF after r179326, added uuid-dev package as new dependency.
3461
3462         * efl/install-dependencies:
3463         * gtk/install-dependencies:
3464
3465 2015-01-28  Timothy Horton  <timothy_horton@apple.com>
3466
3467         Add a WebKitMessageRecorder DTrace provider, exposing IPC details to DTrace
3468         https://bugs.webkit.org/show_bug.cgi?id=140673
3469
3470         Reviewed by Sam Weinig.
3471
3472         * Scripts/dtrace/trace-webkit2-messages.d: Added.
3473         Add a DTrace script that outputs a small blob of JSON per message.
3474
3475 2015-01-28  Geoffrey Garen  <ggaren@apple.com>
3476
3477         Removed fastMallocForbid / fastMallocAllow
3478         https://bugs.webkit.org/show_bug.cgi?id=141012
3479
3480         Reviewed by Mark Hahnenberg.
3481
3482         Fixed a test bug I noticed while testing.
3483
3484         * DumpRenderTree/JavaScriptThreading.cpp:
3485         (stopJavaScriptThreads): Lock the javaScriptThreads lock before
3486         accessing javaScriptThreads -- otherwise, you'll ASSERT.
3487
3488 2015-01-28  Dana Burkart  <dburkart@apple.com>
3489
3490         asan.xcconfig should use CLANG_ADDRESS_SANITIZER=YES instead of -fsanitize=address
3491         https://bugs.webkit.org/show_bug.cgi?id=141015
3492
3493         Reviewed by Alexey Proskuryakov.
3494
3495         * asan/asan.xcconfig:
3496
3497 2015-01-28  Sam Weinig  <sam@webkit.org>
3498
3499         Fix the build.
3500
3501         * Scripts/copy-webkitlibraries-to-product-directory:
3502
3503 2015-01-28  Lucas Forschler  <lforschler@apple.com>
3504
3505         Increase the FileUpload block size in an attempt to improve network performance.
3506         
3507         Reviewed by Alexey Proskuryakov.
3508         
3509         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3510         (UploadBuiltProduct.__init__):
3511
3512 2015-01-28  Dana Burkart  <dburkart@apple.com>
3513
3514         Move ASan flag settings from DebugRelease.xcconfig to Base.xcconfig
3515         https://bugs.webkit.org/show_bug.cgi?id=136765
3516
3517         Reviewed by Alexey Proskuryakov.
3518
3519         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3520         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3521         * LayoutTestRelay/Configurations/Base.xcconfig:
3522         * LayoutTestRelay/Configurations/DebugRelease.xcconfig:
3523         * MiniBrowser/Configurations/Base.xcconfig:
3524         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3525         * TestWebKitAPI/Configurations/Base.xcconfig:
3526         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3527         * WebKitLauncher/Configurations/Base.xcconfig:
3528         * WebKitTestRunner/Configurations/Base.xcconfig:
3529         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3530
3531 2015-01-28  Joanmarie Diggs  <jdiggs@igalia.com>
3532
3533         AX: [ATK] Implement support for new AtkRole types for MathML
3534         https://bugs.webkit.org/show_bug.cgi?id=140916
3535
3536         Reviewed by Chris Fleizach.
3537
3538         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: Add mapping for new ATK roles
3539         * gtk/jhbuild.modules: Bump minimum version of ATK used by jhbuild to 2.15.4
3540
3541 2015-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3542
3543         [GTK] Stop removing color marks from unit tests output
3544         https://bugs.webkit.org/show_bug.cgi?id=140996
3545
3546         Reviewed by Philippe Normand.
3547
3548         Since r178236 google tests use a custom simplified output without
3549         any colors, so we don't need to handle the case of non ttys to
3550         remove the color marks.
3551
3552         * Scripts/run-gtk-tests:
3553         (TestRunner.__init__):
3554         (TestRunner._run_test_command.parse_line):
3555
3556 2015-01-28  Carlos Garcia Campos  <cgarcia@igalia.com>
3557
3558         [GTK] Unit test /webkit2/WebKitWebView/page-visibility from WebKit2Gtk/TestWebKitWebView fails
3559         https://bugs.webkit.org/show_bug.cgi?id=131731
3560
3561         Reviewed by Žan Doberšek.
3562
3563         A web page loaded offscreen is in prerender state not hidden.
3564
3565         * Scripts/run-gtk-tests:
3566         (TestRunner): Unskip /webkit2/WebKitWebView/page-visibility.
3567         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3568         (testWebViewPageVisibility):
3569
3570 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
3571
3572         Partially revert r178802.
3573
3574         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png:
3575         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png:
3576
3577 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
3578
3579         build.webkit.org/dashboard asserts on some commits
3580         https://bugs.webkit.org/show_bug.cgi?id=140926
3581
3582         Reviewed by Tim Horton.
3583
3584         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
3585         (Trac.prototype._convertCommitInfoElementToObject): Added a case for another root directory.
3586
3587 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
3588
3589         Make flakiness dashboard OS list actually match test_expectations.py
3590         https://bugs.webkit.org/show_bug.cgi?id=140969
3591
3592         Reviewed by Ryosuke Niwa.
3593
3594         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3595
3596 2015-01-27  Brent Fulgham  <bfulgham@apple.com>
3597
3598         [Win] WinLauncher crashes on eleventh site visited
3599         https://bugs.webkit.org/show_bug.cgi?id=140960
3600
3601         Reviewed by Anders Carlsson.
3602
3603         * WinLauncher/WinLauncher.cpp:
3604         (WinLauncher::showLastVisitedSites): Don't access off the end of
3605         the history array.
3606
3607 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
3608
3609         [Mac] Disable building Java applets by default
3610         https://bugs.webkit.org/show_bug.cgi?id=140957
3611         rdar://problem/19619529
3612
3613         Reviewed by Anders Carlsson.
3614
3615         It was actually already disabled unconditionally, by accident.
3616
3617         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: (parse_args):
3618         * Scripts/webkitpy/port/mac.py:
3619         (MacPort._check_port_build):
3620         (MacPort._build_java_test_support):
3621
3622 2015-01-27  Daniel Bates  <dabates@apple.com>
3623
3624         [iOS] run-webkit-tests --platform=ios* --lint-test-files does not work
3625         https://bugs.webkit.org/show_bug.cgi?id=140949
3626
3627         Reviewed by Alexey Proskuryakov.
3628
3629         Add "ios-simulator" and "ios-simulator-wk2" to the list of ports without
3630         builders so that run-webkit-tests can lint the appropriate TestExpectation
3631         files.
3632
3633         * Scripts/webkitpy/port/builders.py:
3634         * Scripts/webkitpy/port/ios.py:
3635         (IOSSimulatorPort.__init__): Move logic to query for the Mac build directory from here...
3636         (IOSSimulatorPort.relay_path): to here as this is the only caller that makes use of that
3637         information to find the LayoutTestRelay tool. Otherwise, "self.assertEqual(len(calls), 1)"
3638         in unit test webkitpy.tool.commands.rebaseline_unittest.TestRebaselineExpectations.test_rebaseline_expectations
3639         will fail because IOSSimulatorPort.__init__() ultimately calls Tools/Scripts/webkit-build-directory
3640         to determine the Mac build directory for each instantiation of IOSSimulatorPort. And this unit
3641         test instantiates a port object for each builder listed in file Scripts/webkitpy/port/builders.py.
3642
3643
3644 2015-01-27  Alexey Proskuryakov  <ap@apple.com>
3645
3646         Update bots on the flakiness dashboard
3647         https://bugs.webkit.org/show_bug.cgi?id=140956
3648
3649         Reviewed by Ryosuke Niwa.
3650
3651         * TestResultServer/static-dashboards/builders.jsonp:
3652         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3653
3654 2015-01-27  Daniel Bates  <dabates@apple.com>
3655
3656         [iOS WK2] Add directory LayoutTests/platform/wk2 to the list of baseline search paths
3657         https://bugs.webkit.org/show_bug.cgi?id=140942