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