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