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