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