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