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