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