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