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