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