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