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