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