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