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