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