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