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