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