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