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