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