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