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