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