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