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