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