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