btjs no longer accepts optional frame count argument
[WebKit-https.git] / Tools / ChangeLog
1 2016-06-28  Michael Saboff  <msaboff@apple.com>
2
3         btjs no longer accepts optional frame count argument
4         https://bugs.webkit.org/show_bug.cgi?id=159235
5
6         Reviewed by Saam Barati.
7
8         Fix the detection of optional backtrace-depth parameter to use the length
9         of the command.
10
11         * lldb/lldb_webkit.py:
12         (btjs):
13
14 2016-06-28  Jon Lee  <jonlee@apple.com>
15
16         Update animometer.plan
17
18         Rubber-stamped by Said Abou-Hallawa.
19
20         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r202601.
21
22 2016-06-28  Filip Pizlo  <fpizlo@apple.com>
23
24         Unreviewed, fix JSC tests. Air.js moved, and the harness needs to know.
25
26         * Scripts/run-javascriptcore-tests:
27         (runJSCStressTests):
28
29 2016-06-28  Brian Burg  <bburg@apple.com>
30
31         RunLoop::Timer should use constructor templates instead of class templates
32         https://bugs.webkit.org/show_bug.cgi?id=159153
33
34         Reviewed by Alex Christensen.
35
36         Remove the RunLoop::Timer class template argument, and pass its constructor
37         a reference to `this` instead of a pointer to `this`.
38
39         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
40         (WTR::TestRunner::TestRunner):
41         * WebKitTestRunner/InjectedBundle/TestRunner.h:
42         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
43         (TestWebKitAPI::TEST):
44
45 2016-06-28  Ryosuke Niwa  <rniwa@webkit.org>
46
47         REGRESSION(r201471): FormClient.textFieldDidEndEditing is no longer called when a text field is removed
48         https://bugs.webkit.org/show_bug.cgi?id=159199
49
50         Reviewed by Alexey Proskuryakov.
51
52         Added a test case for removing a text field. Also fixed the flakiness and re-enabled it on Mac.
53
54         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp:
55         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp:
56         * TestWebKitAPI/Tests/WebKit2/input-focus-blur.html: Focus a div upfront to avoid the flakiness from
57         an input element getting automatically focused on Mac.
58
59 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
60
61         [Win] Custom elements tests are failing.
62         https://bugs.webkit.org/show_bug.cgi?id=159139
63
64         Reviewed by Alex Christensen.
65
66         Enable custom element API when running tests.
67
68         * DumpRenderTree/win/DumpRenderTree.cpp:
69         (resetWebPreferencesToConsistentValues):
70
71 2016-06-27  Lucas Forschler  <lforschler@apple.com>
72
73         Test commit. Please ignore.
74         
75 2016-06-27  Michael Catanzaro  <mcatanzaro@igalia.com>
76
77         [GTK][EFL] Disable subtle-crypto in FeatureList.pm
78         https://bugs.webkit.org/show_bug.cgi?id=155073
79
80         Reviewed by Daniel Bates.
81
82         * Scripts/webkitperl/FeatureList.pm:
83
84 2016-06-27  Simon Fraser  <simon.fraser@apple.com>
85
86         [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting
87         https://bugs.webkit.org/show_bug.cgi?id=159077
88
89         Reviewed by Tim Horton.
90
91         Re-enable render server snapshotting for iOS WTR via the change in InjectedBundlePage.cpp.
92
93         Fix WebPageProxy::forceRepaint() to correctly wait for the next commit from the web process,
94         which is necessary for UI-side compositing.
95
96         Add some null checks to fix issues when the WKWebView gets resized to be empty, which
97         seems to happen for some tests that call window.resizeTo().
98
99         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
100         (WTR::InjectedBundlePage::dump): Deleted.
101         * WebKitTestRunner/TestInvocation.cpp:
102         (WTR::TestInvocation::dumpResults):
103         * WebKitTestRunner/cg/TestInvocationCG.cpp:
104         (WTR::createCGContextFromImage):
105         (WTR::computeMD5HashStringForContext):
106         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
107         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
108         (WTR::PlatformWebView::windowSnapshotImage):
109
110 2016-06-27  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
111
112         [EFL] Support to build on Debian linux
113         https://bugs.webkit.org/show_bug.cgi?id=159123
114
115         Reviewed by Antonio Gomes.
116
117         * efl/install-dependencies: Install libgnutls28-dev.
118
119 2016-06-27  Alex Christensen  <achristensen@webkit.org>
120
121         Send canAuthenticateAgainstProtectionSpace calls from NetworkProcess directly to UIProcess
122         https://bugs.webkit.org/show_bug.cgi?id=159071
123
124         Reviewed by Brady Eidson.
125
126         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
127         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
128         (WTR::TestRunner::setHandlesAuthenticationChallenges):
129         (WTR::TestRunner::setShouldLogCanAuthenticateAgainstProtectionSpace):
130         (WTR::TestRunner::setAuthenticationUsername):
131         * WebKitTestRunner/InjectedBundle/TestRunner.h:
132         * WebKitTestRunner/TestController.cpp:
133         (WTR::TestController::TestController):
134         (WTR::TestController::resetStateToConsistentValues):
135         (WTR::TestController::didFinishNavigation):
136         (WTR::TestController::canAuthenticateAgainstProtectionSpace):
137         (WTR::TestController::didReceiveAuthenticationChallenge):
138         (WTR::TestController::didCommitNavigation):
139         * WebKitTestRunner/TestController.h:
140         (WTR::TestController::setBlockAllPlugins):
141         (WTR::TestController::setShouldLogHistoryClientCallbacks):
142         (WTR::TestController::setShouldLogCanAuthenticateAgainstProtectionSpace):
143         (WTR::TestController::isCurrentInvocation):
144         * WebKitTestRunner/TestInvocation.cpp:
145         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
146         Added output so we can see when canAuthenticateAgainstProtectionSpace is called from the test expectations.
147
148 2016-06-27  Per Arne Vollan  <pvollan@apple.com>
149
150         [Win] The test fast/events/wheel-event-outside-body.html is timing out.
151         https://bugs.webkit.org/show_bug.cgi?id=159129
152
153         Reviewed by Alex Christensen.
154
155         Implement the function mouseScrollBy in the Windows event sender.
156
157         * DumpRenderTree/win/EventSender.cpp:
158         (mouseScrollBy):
159         (mouseScrollByWithWheelAndMomentumPhasesCallback):
160
161 2016-06-25  Filip Pizlo  <fpizlo@apple.com>
162
163         REGRESSION: Weak symbol warning when linking TestWebKitAPI
164         https://bugs.webkit.org/show_bug.cgi?id=159104
165
166         Reviewed by Dan Bernstein.
167         
168         This uses a better approach to turn on -fvisility=hidden. All of the other projects set
169         this flag in xcconfig, using "GCC_SYMBOLS_PRIVATE_EXTERN = YES;".
170
171         * TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig: Use GCC_SYMBOLS_PRIVATE_EXTERN here.
172         * TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig: Use GCC_SYMBOLS_PRIVATE_EXTERN here.
173         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Revert r202461.
174
175 2016-06-25  Per Arne Vollan  <pvollan@apple.com>
176
177         [Win] The test fast/events/wheel-event-destroys-frame.html is timing out.
178         https://bugs.webkit.org/show_bug.cgi?id=159086
179
180         Reviewed by Alex Christensen.
181
182         Implement required wheel event function in event sender.
183  
184         * DumpRenderTree/win/EventSender.cpp:
185         (mouseScrollByWithWheelAndMomentumPhasesCallback):
186
187 2016-06-24  Filip Pizlo  <fpizlo@apple.com>
188
189         REGRESSION: Weak symbol warning when linking TestWebKitAPI
190         https://bugs.webkit.org/show_bug.cgi?id=159104
191
192         Reviewed by Mark Lam.
193         
194         The problem is that the tests were not compiled with -fvisibility=hidden like the rest of
195         WK.
196
197         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
198
199 2016-06-24  David Kilzer  <ddkilzer@apple.com>
200
201         parser_unittests.pl should not hardcode list of tests
202         <https://webkit.org/b/159074>
203
204         Reviewed by Daniel Bates.
205
206         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
207         Update to read the list of tests from the 'resources' directory,
208         and instead map file extensions to subroutine names.  Switch to
209         use File::Basename::fileparse() to get basename and file
210         extension for each test.
211         (readTestFiles): Added.  Reads files from the directory passed
212         in and ignores: hidden files, anything that isn't a plain file,
213         and expected test results files.
214
215 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
216
217         Fix Windows build.
218
219         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
220         * DumpRenderTree/cg/PixelDumpSupportCG.h:
221
222 2016-06-23  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
223
224         [EFL] Change download path of libxslt
225
226         Unreviewed EFL build fix.
227
228         In Korea current download path can't be accessed. Change it.
229
230         * efl/jhbuild.modules:
231
232 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
233
234         https://bugs.webkit.org/show_bug.cgi?id=159077
235
236         Turn off CARenderServer snapshotting in WTR for now, because it doesn't reliably
237         snapshot the final state of the test in release builds. 
238
239         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
240         (WTR::InjectedBundlePage::dump):
241
242 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
243
244         Fix hardware builds, where USE(IOSURFACE) is true by #ifdeffing.
245
246         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
247         (createBitmapContextFromWebView):
248         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
249         (WTR::PlatformWebView::windowSnapshotImage):
250
251 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
252
253         [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting
254         https://bugs.webkit.org/show_bug.cgi?id=159077
255
256         Reviewed by Tim Horton.
257
258         Fix both DRT and WTR for iOS to use CARenderServerRenderLayerWithTransform() on the view's layer.
259         This allows them to capture compositing layers in snapshots, rather than doing a software paint,
260         thus enabling testing of more things.
261
262         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
263         (createBitmapContext): Moved to this file to share it.
264         * DumpRenderTree/cg/PixelDumpSupportCG.h:
265         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
266         (createBitmapContextFromWebView):
267         (BitmapContext::createFromUIImage): Deleted.
268         (BitmapContext::pixelData): Deleted.
269         (BitmapContext::BitmapContext): Deleted.
270         (computeMD5HashStringForBitmapContext): Deleted.
271         (dumpBitmap): Deleted.
272         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig: Don't exclude PixelDumpSupportCG.cpp.
273         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
274         (createPagedBitmapContext):
275         (createBitmapContext): Deleted.
276         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: link with QuartzCore.
277         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
278         (WTR::InjectedBundlePage::dump): Deleted.
279         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
280         (WTR::PlatformWebView::windowSnapshotImage):
281
282 2016-06-23  Konstantin Tokarev  <annulen@yandex.ru>
283
284         [jhbuild] Added libxslt module.
285         https://bugs.webkit.org/show_bug.cgi?id=159034
286
287         Unreviewed, followup for r202373.
288
289         * efl/install-dependencies: Removed libxslt 
290         * gtk/install-dependencies: Ditto.
291
292 2016-06-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
293
294         [EFL] Bump gstreamer version from 1.6.3 to 1.8.0
295         https://bugs.webkit.org/show_bug.cgi?id=159050
296
297         Reviewed by Antonio Gomes.
298
299         To be sync with GTK port, this patch bumps gstreamer version for EFL port.
300
301         * efl/jhbuild.modules:
302         * efl/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added.
303         * efl/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added.
304
305 2016-06-23  Konstantin Tokarev  <annulen@yandex.ru>
306
307         [jhbuild] Added libxslt module.
308         https://bugs.webkit.org/show_bug.cgi?id=159034
309
310         Reviewed by Michael Catanzaro.
311
312         * efl/jhbuild.modules:
313         * gtk/jhbuild.modules:
314
315 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
316
317         [Win] Use Windows api function to find top level parent.
318         https://bugs.webkit.org/show_bug.cgi?id=159021
319
320         Reviewed by Brent Fulgham.
321
322         Delete findTopLevelParent function, and use Win32 function GetAncestor instead.
323  
324         * DumpRenderTree/win/UIDelegate.cpp:
325         (UIDelegate::runModal):
326         (findTopLevelParent): Deleted.
327         * MiniBrowser/win/PrintWebUIDelegate.cpp:
328         (PrintWebUIDelegate::runModal):
329         (findTopLevelParent): Deleted.
330
331 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
332
333         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
334         https://bugs.webkit.org/show_bug.cgi?id=158934
335
336         Reviewed by Brent Fulgham.
337
338         DumpRenderTree should also delete indexed databases when clearAllDatabases() is called.
339
340         * DumpRenderTree/win/TestRunnerWin.cpp:
341         (TestRunner::clearAllDatabases):
342
343 2016-06-22  Saam Barati  <sbarati@apple.com>
344
345         run-javascriptcore-tests should have some environment variables for commonly used settings
346         https://bugs.webkit.org/show_bug.cgi?id=159047
347
348         Reviewed by Keith Miller.
349
350         This patch adds three environment variables that run-javascriptcore-tests
351         consults:
352         - RUN_JAVASCRIPTCORE_TESTS_TESTAPI can be set to 'true' or 'false'. It
353           determines if we should run the api tests or not.
354         - RUN_JAVASCRIPTCORE_TESTS_BUILD can be set to 'true' or 'false'. It
355           determines if we will perform a build or not before running the tests.
356           to set the default should-build setting.
357         - RUN_JAVASCRIPTCORE_TESTS_EXTRA_TESTS can be set to a directory or to
358           a yaml file. If set, we will run the extra tests it refers to.
359
360         All the values in these environment variables will be overridden if an
361         option is explicitly passed in. For example, the following will run
362         the api tests:
363         `RUN_JAVASCRIPTCORE_TESTS_TESTAPI=false run-javascriptcore-tests --testapi`
364
365         * Scripts/run-javascriptcore-tests:
366
367 2016-06-22  Saam barati  <sbarati@apple.com>
368
369         TypeProfiler and TypeProfilerLog don't play nicely with the concurrent JIT
370         https://bugs.webkit.org/show_bug.cgi?id=159037
371         <rdar://problem/26935349>
372
373         Reviewed by Benjamin Poulain.
374
375         Run typeProfiler.yaml tests under an additional CJIT enabled mode.
376
377         * Scripts/run-jsc-stress-tests:
378
379 2016-06-22  Aakash Jain  <aakash_jain@apple.com>
380
381         Fix style issues in webkitpy
382         https://bugs.webkit.org/show_bug.cgi?id=159019
383
384         Reviewed by Daniel Bates.
385
386         Fixed the formatting issues as reported by check-webkit-style in webkitpy.
387         There is no functionality change.
388         Only affected file names retained below for brevity.
389
390         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
391         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
392         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
393         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
394         * Scripts/webkitpy/benchmark_runner/utils.py:
395         * Scripts/webkitpy/common/checkout/changelog.py:
396         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
397         * Scripts/webkitpy/common/checkout/checkout.py:
398         * Scripts/webkitpy/common/checkout/checkout_mock.py:
399         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
400         * Scripts/webkitpy/common/checkout/commitinfo.py:
401         * Scripts/webkitpy/common/checkout/commitinfo_unittest.py:
402         * Scripts/webkitpy/common/checkout/diff_parser_unittest.py:
403         * Scripts/webkitpy/common/checkout/scm/scm.py:
404         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
405         * Scripts/webkitpy/common/config/committers_unittest.py:
406         * Scripts/webkitpy/common/config/irc.py:
407         * Scripts/webkitpy/common/config/ports.py:
408         * Scripts/webkitpy/common/config/ports_unittest.py:
409         * Scripts/webkitpy/common/config/urls.py:
410         * Scripts/webkitpy/common/host_mock.py:
411         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
412         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
413         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
414         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py:
415         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
416         * Scripts/webkitpy/common/net/credentials_unittest.py:
417         * Scripts/webkitpy/common/net/irc/ircproxy_unittest.py:
418         * Scripts/webkitpy/common/net/networktransaction_unittest.py:
419         * Scripts/webkitpy/common/net/statusserver.py:
420         * Scripts/webkitpy/common/system/autoinstall.py:
421         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
422         * Scripts/webkitpy/common/system/executive.py:
423         * Scripts/webkitpy/common/system/executive_mock.py:
424         * Scripts/webkitpy/common/system/executive_unittest.py:
425         * Scripts/webkitpy/common/system/filesystem_mock.py:
426         * Scripts/webkitpy/common/system/filesystem_unittest.py:
427         * Scripts/webkitpy/common/system/logutils_unittest.py:
428         * Scripts/webkitpy/common/system/path.py:
429         * Scripts/webkitpy/common/system/path_unittest.py:
430         * Scripts/webkitpy/common/system/platforminfo.py:
431         * Scripts/webkitpy/common/system/user.py:
432         * Scripts/webkitpy/common/system/user_unittest.py:
433         * Scripts/webkitpy/common/system/workspace_unittest.py:
434         * Scripts/webkitpy/common/thread/threadedmessagequeue.py:
435         * Scripts/webkitpy/common/thread/threadedmessagequeue_unittest.py:
436         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
437         * Scripts/webkitpy/layout_tests/controllers/manager.py:
438         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
439         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
440         * Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py:
441         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
442         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
443         * Scripts/webkitpy/layout_tests/models/test_failures.py:
444         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
445         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
446         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
447         * Scripts/webkitpy/layout_tests/views/printing.py:
448         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
449         * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
450         * Scripts/webkitpy/port/base_unittest.py:
451         * Scripts/webkitpy/port/driver.py:
452         * Scripts/webkitpy/port/driver_unittest.py:
453         * Scripts/webkitpy/port/factory.py:
454         * Scripts/webkitpy/port/gtk.py:
455         * Scripts/webkitpy/port/server_process_unittest.py:
456         * Scripts/webkitpy/port/test.py:
457         * Scripts/webkitpy/port/win.py:
458         * Scripts/webkitpy/style/checker.py:
459         * Scripts/webkitpy/style/checkers/common_unittest.py:
460         * Scripts/webkitpy/style/checkers/cpp.py:
461         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
462         * Scripts/webkitpy/style/checkers/js.py:
463         * Scripts/webkitpy/style/checkers/jsonchecker.py:
464         * Scripts/webkitpy/style/checkers/png.py:
465         * Scripts/webkitpy/style/checkers/text.py:
466         * Scripts/webkitpy/style/checkers/text_unittest.py:
467         * Scripts/webkitpy/style/error_handlers.py:
468         * Scripts/webkitpy/style/filter.py:
469         * Scripts/webkitpy/style/filter_unittest.py:
470         * Scripts/webkitpy/style/optparser.py:
471         * Scripts/webkitpy/style/optparser_unittest.py:
472         * Scripts/webkitpy/test/main.py:
473         * Scripts/webkitpy/w3c/test_converter.py:
474         * Scripts/webkitpy/w3c/test_converter_unittest.py:
475         * Scripts/webkitpy/w3c/test_importer_unittest.py:
476         * Scripts/webkitpy/xcode/simulator.py:
477
478 2016-06-22  Brady Eidson  <beidson@apple.com>
479
480         DatabaseProcess doesn't handle WebProcesses going away uncleanly.
481         https://bugs.webkit.org/show_bug.cgi?id=158894
482
483         Reviewed by Alex Christensen.
484
485         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
486         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html:
487         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-3.html: Added.
488         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
489
490 2016-06-22  Jon Lee  <jonlee@apple.com>
491
492         Update animometer.plan
493         https://bugs.webkit.org/show_bug.cgi?id=159012
494
495         Reviewed by Ryosuke Niwa.
496
497         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r202318.
498
499 2016-06-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
500
501         W3C test importer should generate files to ignore by WebKit SCM
502         https://bugs.webkit.org/show_bug.cgi?id=142743
503
504         Reviewed by Darin Adler.
505
506         TestDownloader generates the .gitignore file according submodules git repository information.
507         TestImporter requests the generation of .gitignore and the main __init__.py according LayoutTests/imported/w3c/resources/TestRepositories options.
508
509         * Scripts/webkitpy/w3c/test_downloader.py:
510         (TestDownloader.generate_gitignore): Generating .gitignore according submodules description.
511         * Scripts/webkitpy/w3c/test_importer.py:
512         (TestImporter.process_test_repositories_import_options): Added the generation of .gitignore/__init__.py if the repo has the right option.
513         (TestImporter):
514         (TestImporter.write_init_py): Writing not empty __init__.py files.
515         (TestImporter.import_tests): Using  of write_init_py. 
516         * Scripts/webkitpy/w3c/test_importer_unittest.py:
517         (TestImporterTest.test_git_ignore_generation): Added .gitignore test.
518         (TestImporterTest):
519         (TestImporterTest.test_initpy_generation): Added __init__.py test.
520
521 2016-06-21  Sam Weinig  <sam@webkit.org>
522
523         WKWebView with no WKNavigationDelegate does not follow universal links
524         <rdar://problem/24374110>
525         https://bugs.webkit.org/show_bug.cgi?id=158997
526
527         Reviewed by Dan Bernstein.
528
529         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
530         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added.
531         Add a new test that shows that we have a default navigation delegate by swizzling
532         -[NSWorkspace openURL:]. This will only be called if there is a default client.
533
534 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
535
536         [Win] Implement modal dialog support in MiniBrowser.
537         https://bugs.webkit.org/show_bug.cgi?id=158976
538
539         Reviewed by Brent Fulgham.
540
541         * MiniBrowser/win/PrintWebUIDelegate.cpp:
542         (PrintWebUIDelegate::createWebViewWithRequest):
543         (getHandleFromWebView):
544         (PrintWebUIDelegate::webViewClose):
545         (PrintWebUIDelegate::setFrame):
546         (PrintWebUIDelegate::webViewFrame):
547         (PrintWebUIDelegate::canRunModal):
548         (findTopLevelParent):
549         (PrintWebUIDelegate::runModal):
550         (PrintWebUIDelegate::createModalDialog):
551         * MiniBrowser/win/PrintWebUIDelegate.h:
552         (PrintWebUIDelegate::webViewClose):
553         (PrintWebUIDelegate::setFrame):
554         (PrintWebUIDelegate::webViewFrame):
555         (PrintWebUIDelegate::canRunModal):
556         (PrintWebUIDelegate::runModal):
557
558 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
559
560         window.showModalDialog doesn't work in DumpRenderTree on Windows
561         https://bugs.webkit.org/show_bug.cgi?id=53675
562
563         Reviewed by Brent Fulgham.
564
565         Implement modal dialog support in DumpRenderTree.
566
567         * DumpRenderTree/win/UIDelegate.cpp:
568         (UIDelegate::canRunModal):
569         (getHandleFromWebView):
570         (UIDelegate::createModalDialog):
571         (findTopLevelParent):
572         (UIDelegate::runModal):
573         (UIDelegate::webViewClose):
574         * DumpRenderTree/win/UIDelegate.h:
575
576 2016-06-21  Aakash Jain  <aakash_jain@apple.com>
577
578         Fix formatting issues reported by check-webkit-style
579         https://bugs.webkit.org/show_bug.cgi?id=159008
580
581         Reviewed by Alexey Proskuryakov.
582
583         Fixed the formatting issues as reported by check-webkit-style in webkitpy/tool folder.
584         There is no functionality change.
585
586         * Scripts/webkitpy/tool/bot/irc_command.py:
587         (Restart.execute):
588         (Rollout):
589         * Scripts/webkitpy/tool/bot/ircbot_unittest.py:
590         (IRCBotTest.test_exception_during_command):
591         (IRCBotTest.test_exception_during_command.CommandWithException):
592         (IRCBotTest.test_exception_during_command.CommandWithException.execute):
593         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
594         (test_missing_unit_test_results_path):
595         (test_layout_test_results):
596         * Scripts/webkitpy/tool/bot/queueengine.py:
597         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
598         * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
599         (AbstractSequencedCommand):
600         (AbstractSequencedCommand.__init__):
601         * Scripts/webkitpy/tool/commands/download.py:
602         (Land):
603         * Scripts/webkitpy/tool/commands/openbugs.py:
604         * Scripts/webkitpy/tool/commands/openbugs_unittest.py:
605         (OpenBugsTest):
606         * Scripts/webkitpy/tool/commands/queries.py:
607         (PatchesToCommitQueue):
608         (PatchesToCommitQueue.__init__):
609         (PatchesToCommitQueue._needs_commit_queue):
610         * Scripts/webkitpy/tool/commands/queries_unittest.py:
611         (PrintExpectationsTest.test_platform):
612         (PrintBaselinesTest):
613         (PrintBaselinesTest.setUp):
614         * Scripts/webkitpy/tool/commands/queues.py:
615         (AbstractQueue):
616         (AbstractQueue.__init__):
617         (AbstractQueue.execute):
618         * Scripts/webkitpy/tool/commands/queues_unittest.py:
619         (test_auto_retry):
620         * Scripts/webkitpy/tool/commands/rebaseline.py:
621         (AbstractParallelRebaselineCommand._files_to_add):
622         (AbstractParallelRebaselineCommand):
623         (AbstractParallelRebaselineCommand._rebaseline):
624         * Scripts/webkitpy/tool/commands/setupgitclone.py:
625         (SetupGitClone):
626         * Scripts/webkitpy/tool/commands/sheriffbot.py:
627         * Scripts/webkitpy/tool/commands/stepsequence.py:
628         * Scripts/webkitpy/tool/commands/upload.py:
629         (PostCommits._comment_text_for_commit):
630         (PostCommits):
631         (PostCommits.execute):
632         (MarkBugFixed):
633         (MarkBugFixed.__init__):
634         * Scripts/webkitpy/tool/commands/upload_unittest.py:
635         (UploadCommandsTest):
636         (UploadCommandsTest.test_commit_message_for_current_diff):
637         * Scripts/webkitpy/tool/grammar_unittest.py:
638         (GrammarTest):
639         (GrammarTest.test_join_with_separators):
640         * Scripts/webkitpy/tool/multicommandtool.py:
641         (HelpCommand.__init__):
642         (HelpCommand):
643         (HelpCommand._help_epilog):
644         (HelpCommand._remove_help_options):
645         (MultiCommandTool):
646         (MultiCommandTool.__init__):
647         (MultiCommandTool.main):
648         * Scripts/webkitpy/tool/multicommandtool_unittest.py:
649         (TrivialCommand):
650         (TrivialCommand.__init__):
651         (MultiCommandToolTest):
652         (MultiCommandToolTest._assert_tool_main_outputs):
653         (MultiCommandToolTest.test_retry):
654         (test_command_help):
655         * Scripts/webkitpy/tool/steps/__init__.py:
656         * Scripts/webkitpy/tool/steps/abstractstep.py:
657         * Scripts/webkitpy/tool/steps/applypatch.py:
658         * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
659         (ApplyPatchWithLocalCommit):
660         (ApplyPatchWithLocalCommit.options):
661         * Scripts/webkitpy/tool/steps/build.py:
662         * Scripts/webkitpy/tool/steps/checkstyle.py:
663         (CheckStyle):
664         (CheckStyle.options):
665         * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
666         * Scripts/webkitpy/tool/steps/closebug.py:
667         * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
668         * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
669         (CloseBugForLandDiffTest):
670         (CloseBugForLandDiffTest.test_empty_state):
671         * Scripts/webkitpy/tool/steps/closepatch.py:
672         * Scripts/webkitpy/tool/steps/commit.py:
673         (Commit.run):
674         * Scripts/webkitpy/tool/steps/confirmdiff.py:
675         * Scripts/webkitpy/tool/steps/editchangelog.py:
676         * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
677         * Scripts/webkitpy/tool/steps/metastep.py:
678         (MetaStep):
679         (MetaStep.__init__):
680         (MetaStep.run):
681         * Scripts/webkitpy/tool/steps/obsoletepatches.py:
682         * Scripts/webkitpy/tool/steps/options.py:
683         (Options):
684         * Scripts/webkitpy/tool/steps/postdiff.py:
685         * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
686         * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
687         * Scripts/webkitpy/tool/steps/preparechangelog.py:
688         * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
689         (PrepareChangeLogTest):
690         (PrepareChangeLogTest.test_resolve_existing_entry):
691         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
692         * Scripts/webkitpy/tool/steps/promptforbugortitle.py:
693         * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
694         * Scripts/webkitpy/tool/steps/revertrevision.py:
695         * Scripts/webkitpy/tool/steps/runtests.py:
696         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
697         * Scripts/webkitpy/tool/steps/steps_unittest.py:
698         (StepsTest):
699         (StepsTest._step_options):
700         * Scripts/webkitpy/tool/steps/update.py:
701         * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
702         (UpdateChangeLogsWithReviewerTest):
703         (UpdateChangeLogsWithReviewerTest.test_guess_reviewer_from_bug):
704         * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
705         * Scripts/webkitpy/tool/steps/validatereviewer.py:
706
707 2016-06-21  Chris Dumez  <cdumez@apple.com>
708
709         Unreviewed, rolling out r202296.
710
711         Broke basic browsing in Safari
712
713         Reverted changeset:
714
715         "WKWebView with no WKNavigationDelegate does not follow
716         universal links"
717         https://bugs.webkit.org/show_bug.cgi?id=158997
718         http://trac.webkit.org/changeset/202296
719
720 2016-06-21  Anders Carlsson  <andersca@apple.com>
721
722         Fix build.
723
724         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
725
726 2016-06-21  Anders Carlsson  <andersca@apple.com>
727
728         Begin moving the Apple Pay code to the open source repository
729         https://bugs.webkit.org/show_bug.cgi?id=158998
730
731         Reviewed by Tim Horton.
732
733         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
734         Add ENABLE_APPLE_PAY.
735
736 2016-06-21  Said Abou-Hallawa  <sabouhallawa@apple,com>
737
738         Add system tracing points for requestAnimationFrame() workflow
739         https://bugs.webkit.org/show_bug.cgi?id=158723
740
741         Reviewed by Simon Fraser.
742
743         Add new plist entries to be used by kdebug_trace() viewing tools.
744
745         * Tracing/SystemTracePoints.plist:
746
747 2016-06-21  Sam Weinig  <sam@webkit.org>
748
749         WKWebView with no WKNavigationDelegate does not follow universal links
750         <rdar://problem/24374110>
751         https://bugs.webkit.org/show_bug.cgi?id=158997
752
753         Reviewed by Dan Bernstein.
754
755         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
756         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added.
757         Add a new test that shows that we have a default navigation delegate by swizzling
758         -[NSWorkspace openURL:]. This will only be called if there is a default client.
759
760 2016-06-21  Aakash Jain  <aakash_jain@apple.com>
761
762         run-javascriptcore-tests should have flag to skip mozilla tests
763         https://bugs.webkit.org/show_bug.cgi?id=158963
764         rdar://problem/25838924
765
766         Reviewed by Alexey Proskuryakov.
767
768         * Scripts/run-javascriptcore-tests:
769         (runJSCStressTests): Added flag to skip mozilla tests.
770
771 2016-06-20  Commit Queue  <commit-queue@webkit.org>
772
773         Unreviewed, rolling out r202136.
774         https://bugs.webkit.org/show_bug.cgi?id=158932
775
776         JSBench wasn't regressed by r202002 and r202111 on iOS after
777         all (Requested by rniwa_ on #webkit).
778
779         Reverted changeset:
780
781         "Unreviewed, rolling out r202002 and r202111."
782         https://bugs.webkit.org/show_bug.cgi?id=158638
783         http://trac.webkit.org/changeset/202136
784
785 2016-06-20  Keith Rollin  <krollin@apple.com>
786
787         Remove RefPtr::release() and change calls sites to use WTFMove()
788         https://bugs.webkit.org/show_bug.cgi?id=158369
789
790         Reviewed by Chris Dumez.
791
792         RefPtr::release() releases its managed pointer awkwardly. It's more
793         direct and clearer to use WTFMove to transfer ownership of the managed
794         pointer.
795
796         As part of this cleanup, also change a lot of explicit data types to
797         'auto'.
798
799         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
800         (createBitmapContextFromWebView):
801         (createPagedBitmapContext):
802         * DumpRenderTree/mac/TestRunnerMac.mm:
803         (TestRunner::setMockGeolocationPosition):
804         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
805         (TestWebKitAPI::TEST):
806         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
807         (TestWebKitAPI::TEST):
808
809 2016-06-20  Tim Horton  <timothy_horton@apple.com>
810
811         Add a API test for *DeferringViewInWindowChanges as fixed in r202230
812         https://bugs.webkit.org/show_bug.cgi?id=158947
813
814         Reviewed by Simon Fraser.
815
816         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
817         * TestWebKitAPI/Tests/WebKit2/DeferredViewInWindowStateChange.mm: Added.
818         (TestWebKitAPI::didFinishLoadForFrame):
819         (TestWebKitAPI::setPageLoaderClient):
820         (TestWebKitAPI::TEST):
821         Add a test ensuring that in-window state changes are deferred when using
822         the SPI for deferring them, as fixed in r202230.
823
824 2016-06-20  Fujii Hironori  <Hironori.Fujii@sony.com>
825
826         WebKitTestRunner: Missing \n at the line of "#PROCESS UNRESPONSIVE"
827         https://bugs.webkit.org/show_bug.cgi?id=158931
828
829         Reviewed by Alexey Proskuryakov.
830
831         * WebKitTestRunner/TestInvocation.cpp:
832         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Appended missing \n at the end of line.
833
834 2016-06-17  Alexey Proskuryakov  <ap@apple.com>
835
836         Add test expectations for macOS Sierra
837         https://bugs.webkit.org/show_bug.cgi?id=158903
838
839         Reviewed by Alex Christensen.
840
841         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra.png: Added.
842         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra@2x.png: Added.
843         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
844         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
845         Added dashboard support.
846
847         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
848         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
849         Trigger the right build queues on check-in.
850
851         * Scripts/webkitpy/common/system/platforminfo.py:
852         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
853         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
854         * Scripts/webkitpy/port/mac.py:
855         * Scripts/webkitpy/port/mac_unittest.py:
856         * TestResultServer/static-dashboards/flakiness_dashboard.js:
857         Added cases for Sierra, and updated tests for new baseline search paths.
858
859 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
860
861         Another buid fix for master.cfg.
862
863         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
864         (CompileWebKit.start):
865
866 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
867
868         Another buid fix for master.cfg.
869
870         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
871         (CompileWebKit.start):
872
873 2016-06-19  Lucas Forschler  <lforschler@apple.com>
874
875         Fix master.cfg
876         
877         Unreviewed build fix.
878
879         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
880         (CompileWebKit.start):
881
882 2016-06-19  Lucas Forschler  <lforschler@apple.com>
883
884         Test another commit.
885         
886         Unreviewed.
887
888 2016-06-19  Lucas Forschler  <lforschler@apple.com>
889
890         Testing fix for trac-mirror.
891         
892         Unreviewed.
893
894 2016-06-19  Lucas Forschler  <lforschler@apple.com>
895
896         Test a commit against the SVN 1.9 server upgrade.
897         
898         Unreviewed.
899         
900 2016-06-17  Daniel Bates  <dabates@apple.com>
901
902         Unreviewed, rolling out r202186.
903
904         Broke the Apple Windows, Apple Yosemite, GTK, and WinCairo
905         builds.
906
907         Reverted changeset:
908
909         "File scheme should not allow access of a resource on a
910         different volume."
911         https://bugs.webkit.org/show_bug.cgi?id=158552
912         http://trac.webkit.org/changeset/202186
913
914 2016-06-17  Pranjal Jumde  <pjumde@apple.com>
915
916         File scheme should not allow access of a resource on a different volume.
917         https://bugs.webkit.org/show_bug.cgi?id=158552
918         <rdar://problem/15307582>
919
920         Reviewed by Brent Fulgham.
921
922         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
923         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
924         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
925         (-[CrossPartitionFileSchemeAccessNavigationDelegate webView:didFinishNavigation:]):
926         When the main page load is complete fetch the contents of the document to check if iframe was loaded
927         (createPartition):
928         Create a disk image and load the contents of the file.
929         (cleanUp):
930         (TestWebKitAPI::TEST):
931
932 2016-06-17  Enrique Ocaña González  <eocanha@igalia.com>
933
934         Unreviewed. Added myself to the list of committers.
935
936         * Scripts/webkitpy/common/config/contributors.json:
937
938 2016-06-16  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
939
940         [EFL][GTK] LayoutTest doesn't run on Ubuntu 16.04
941         https://bugs.webkit.org/show_bug.cgi?id=158141
942
943         Reviewed by Michael Catanzaro.
944
945         * Scripts/webkitpy/port/base.py: Detect php version in system, then use it.
946         (Port._is_debian_php_version_7):
947         (Port._debian_php_version):
948         (Port._apache_config_file_name_for_platform):
949         * efl/install-dependencies:
950         * gtk/install-dependencies:
951
952 2016-06-16  Filip Pizlo  <fpizlo@apple.com>
953
954         Baseline JIT should be concurrent
955         https://bugs.webkit.org/show_bug.cgi?id=158755
956
957         Reviewed by Geoffrey Garen.
958         
959         Need to disable concurrent JIT when running profiler tests. We should have been doing this
960         all along.
961
962         * Scripts/run-jsc-stress-tests:
963
964 2016-06-16  Per Arne Vollan  <pvollan@apple.com>
965
966         [Win] Accessibility implementation unable to recurse through document (sometimes) to find named elements
967         https://bugs.webkit.org/show_bug.cgi?id=140798
968
969         Reviewed by Brent Fulgham.
970        
971         Make sure layout is up-to-date before trying to find named elements. 
972
973         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
974         (AccessibilityController::rootElement):
975
976 2016-06-16  Chris Dumez  <cdumez@apple.com>
977
978         Unreviewed, rolling out r202002 and r202111.
979
980         Ryosuke says this was a JSBench regression on iOS
981
982         Reverted changesets:
983
984         "Make HashMap and HashSet work with Refs"
985         https://bugs.webkit.org/show_bug.cgi?id=158638
986         http://trac.webkit.org/changeset/202002
987
988         "Improve HashMap and HashSet support for Ref"
989         https://bugs.webkit.org/show_bug.cgi?id=158789
990         http://trac.webkit.org/changeset/202111
991
992 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
993
994         [iOS WK2] On iPad, indirect focussing of a text field doesn't always scroll to the correct location
995         https://bugs.webkit.org/show_bug.cgi?id=158828
996
997         Reviewed by Enrica Casucci.
998         
999         Expose "forceIPadStyleZoomOnInputFocus" on UIScriptController, which allows iPad-style
1000         zooming behavior on <input> focus in the iPhone simulator, which is used for testing.
1001
1002         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
1003         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1004         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus):
1005         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus):
1006         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1007         * WebKitTestRunner/ios/TestControllerIOS.mm:
1008         (WTR::TestController::platformResetStateToConsistentValues):
1009         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1010         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus):
1011         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus):
1012
1013 2016-06-15  Sam Weinig  <sam@webkit.org>
1014
1015         Forward/Back keyboard shortcuts need to flip for RTL
1016         https://bugs.webkit.org/show_bug.cgi?id=158823
1017         <rdar://problem/25975359>
1018
1019         Reviewed by Darin Adler.
1020
1021         Add tests for flipping the behavior of command-left and command-right
1022         under RTL mode.
1023
1024         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1025         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm: Added.
1026         (-[CommandBackForwardOffscreenWindow isKeyWindow]):
1027         (-[CommandBackForwardOffscreenWindow isVisible]):
1028         (simulateCommandArrow):
1029         (WebKit2_CommandBackForwardTest::SetUp):
1030         (WebKit2_CommandBackForwardTestWKView::didFinishLoadForFrame):
1031         (WebKit2_CommandBackForwardTestWKView::SetUp):
1032         (WebKit2_CommandBackForwardTestWKView::loadFiles):
1033         (-[CommandBackForwardNavigationDelegate webView:didFinishNavigation:]):
1034         (WebKit2_CommandBackForwardTestWKWebView::SetUp):
1035         (WebKit2_CommandBackForwardTestWKWebView::loadFiles):
1036
1037 2016-06-15  Tim Horton  <timothy_horton@apple.com>
1038
1039         Expose _shouldExpandContentToViewHeightForAutoLayout SPI on WKWebView
1040         https://bugs.webkit.org/show_bug.cgi?id=158824
1041         <rdar://problem/23713857>
1042
1043         Reviewed by Simon Fraser.
1044
1045         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
1046         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:]):
1047         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
1048         (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:resettingWidth:]):
1049         (TEST):
1050         Add a test for _shouldExpandContentToViewHeightForAutoLayout.
1051
1052 2016-06-13  Simon Fraser  <simon.fraser@apple.com>
1053
1054         [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
1055         https://bugs.webkit.org/show_bug.cgi?id=158714
1056
1057         Reviewed by Enrica Casucci.
1058
1059         Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
1060         method that gets called from UIKit.
1061
1062         Add a test that exercises it.
1063
1064         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
1065         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
1066         (WTR::UIScriptController::keyboardAccessoryBarNext):
1067         (WTR::UIScriptController::keyboardAccessoryBarPrevious):
1068         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
1069         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1070         (WTR::UIScriptController::keyboardAccessoryBarNext):
1071         (WTR::UIScriptController::keyboardAccessoryBarPrevious):
1072
1073 2016-06-15  Sam Weinig  <sam@webkit.org>
1074
1075         Improve HashMap and HashSet support for Ref
1076         https://bugs.webkit.org/show_bug.cgi?id=158789
1077
1078         Reviewed by Chris Dumez.
1079
1080         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1081         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1082         Add more cases to WTF_HashMap.Ref_Key, WTF_HashMap.Ref_Value and WTF_HashSet.Ref
1083
1084 2016-06-15  Aakash Jain  <aakash_jain@apple.com>
1085
1086         Too much log data generated during layout-tests on iOS Simulator
1087         https://bugs.webkit.org/show_bug.cgi?id=158751
1088
1089         Reviewed by Alexey Proskuryakov.
1090
1091         * Scripts/webkitpy/port/ios.py:
1092         (IOSSimulatorPort.developer_dir): memoized the property so that it is not called
1093         repeatedly.
1094
1095 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
1096
1097         [Win][CMake] Changes in WebKit options are not reflected in incremental builds.
1098         https://bugs.webkit.org/show_bug.cgi?id=158727
1099
1100         Reviewed by Alex Christensen.
1101
1102         Delete CMake cache file if WebKit options have been modified.
1103
1104         * Scripts/build-webkit:
1105         * Scripts/webkitdirs.pm:
1106         (shouldRemoveCMakeCache):
1107
1108 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1109
1110         Enabling Shadow DOM for all platforms
1111         https://bugs.webkit.org/show_bug.cgi?id=158738
1112
1113         Reviewed by Ryosuke Niwa.
1114
1115         Removed Shadow DOM from options (enabled by default)
1116
1117         * Scripts/webkitperl/FeatureList.pm:
1118         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1119
1120 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
1121
1122         [Win] The test accessibility/selected-text-range-aria-elements.html is failing.
1123         https://bugs.webkit.org/show_bug.cgi?id=158732
1124
1125         Reviewed by Brent Fulgham.
1126
1127         Implement selectedTextRange() method.
1128
1129         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1130         (AccessibilityUIElement::selectedTextRange):
1131
1132 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
1133
1134         [Win] MiniBrowser is not DPI aware.
1135         https://bugs.webkit.org/show_bug.cgi?id=158733
1136
1137         Reviewed by Brent Fulgham.
1138
1139         Call Win32 api function to let Windows know that we will scale the contents ourselves.
1140
1141         * MiniBrowser/win/WinMain.cpp:
1142         (wWinMain):
1143
1144 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
1145
1146         Unreviewed: add new email address to contributors.json.
1147
1148         * Scripts/webkitpy/common/config/contributors.json:
1149
1150 2016-06-14  Keith Miller  <keith_miller@apple.com>
1151
1152         JSBench should use geometric mean
1153         https://bugs.webkit.org/show_bug.cgi?id=158775
1154
1155         Reviewed by Mark Lam.
1156
1157         For some reason JSBench was using algebraic mean. Since each test
1158         is pretty substantially different it should use geometric mean
1159         instead.
1160
1161         * Scripts/run-jsc-benchmarks:
1162
1163 2016-06-14  Alexey Proskuryakov  <ap@apple.com>
1164
1165         Debug crash logs are not fully symbolicated on Yosemite
1166         https://bugs.webkit.org/show_bug.cgi?id=158760
1167
1168         Reviewed by Darin Adler.
1169
1170         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Don't enable dSYM generation
1171         for debug builds on Yosemite.
1172
1173 2016-06-14  Alexey Proskuryakov  <ap@apple.com>
1174
1175         Tests don't work in iOS Simulator when ASan is enabled
1176         https://bugs.webkit.org/show_bug.cgi?id=158726
1177
1178         Reviewed by David Kilzer.
1179
1180         * Scripts/webkitpy/port/driver.py:
1181         (Driver._setup_environ_for_driver): Added a FIXME.
1182         * Scripts/webkitpy/port/ios.py:
1183         (IOSSimulatorPort.setup_environ_for_server): Don't try to insert a dylib built for
1184         simulator into LayoutTestRelay, which is a macOS tool.
1185
1186 2016-06-14  Aakash Jain  <aakash_jain@apple.com>
1187
1188         Continuous "Reentrancy avoided" error messages in run-webkit-tests if Simulator quits unexpectedly
1189         https://bugs.webkit.org/show_bug.cgi?id=158756
1190
1191         Reviewed by Alexey Proskuryakov.
1192
1193         * Scripts/webkitpy/xcode/simulator.py:
1194         (Simulator.wait_until_device_is_booted): If checking Simulator boot state fails, verify if
1195         the "simulator device" is still in booted state. Since we ensured that simulator device 
1196         was in booted state earlier in this method, this indicates that simulator device has shut down
1197         unexpectedly.
1198
1199 2016-06-14  David Kilzer  <ddkilzer@apple.com>
1200
1201         Follow-up fix #2: REGRESSION (r202020): El Capitan CMake Debug build broken
1202         <https://webkit.org/b/158743>
1203
1204         Unreviewed build fix.
1205
1206         * DumpRenderTree/PlatformMac.cmake: Fix silly typo.
1207
1208 2016-06-14  Aakash Jain  <aakash_jain@apple.com>
1209
1210         Too much log data generated during layout-tests on iOS Simulator
1211         https://bugs.webkit.org/show_bug.cgi?id=158751
1212
1213         Reviewed by Alexey Proskuryakov.
1214
1215         * Scripts/webkitpy/port/ios.py:
1216         (IOSSimulatorPort._quit_ios_simulator): Do not use -v flag.
1217         (IOSSimulatorPort.clean_up_test_run): Ditto.
1218         (IOSSimulatorPort._createSimulatorApp): Ditto.
1219
1220 2016-06-14  David Kilzer  <ddkilzer@apple.com>
1221
1222         Follow-up fix: REGRESSION (r202020): El Capitan CMake Debug build broken
1223         <https://webkit.org/b/158743>
1224
1225         Unreviewed build fix.
1226
1227         The fix in r202056 clobbered DumpRenderTree_SOURCES and
1228         TestNetscapePlugin_SOURCES from DumpRenderTree/CMakeLists.txt,
1229         so the build failure is now that we're not building the common
1230         sources.
1231
1232         Fix that by saving the common sources (which are all C++ source
1233         files) into *_Cpp_SOURCES lists first, then setting the compiler
1234         flags, then creating the final *_SOURCES lists.
1235
1236         * DumpRenderTree/PlatformMac.cmake: Add
1237         ${TestNetscapePlugin_Cpp_SOURCES} to list that needs
1238         "-std=c++14" compiler switch.
1239         (TestNetscapePlugin_Cpp_SOURCES): Add new list for C++ source
1240         files for TestNetscapePlugin.  Seeded with
1241         ${TestNetscapePlugin_SOURCES} from CMakeLists.txt.
1242         (TestNetscapePlugin_SOURCES): Add
1243         ${TestNetscapePlugin_Cpp_SOURCES} to the list of files.
1244         (DumpRenderTree_Cpp_SOURCES): Seed list for C++ source files
1245         with ${DumpRenderTree_SOURCES} from CMakeLists.txt.
1246         (DumpRenderTree_SOURCES): Reformat and sort source lists.
1247
1248 2016-06-14  David Kilzer  <ddkilzer@apple.com>
1249
1250         REGRESSION (r202020): El Capitan CMake Debug build broken
1251         <https://webkit.org/b/158743>
1252
1253         Reviewed by Alex Christensen.
1254
1255         The bug was that pure C++ source files (and Objective-C source
1256         files) were being compiled as Objective-C++ source files.  This
1257         is obviously incorrect, so the fix was to split out the list of
1258         source files by language, then define compiler switches based on
1259         each file type.
1260
1261         * DumpRenderTree/PlatformMac.cmake: Replace add_definitions()
1262         with separate foreach loops that set compiler flags based on
1263         each source file's type.
1264         (TestNetscapePlugin_ObjCpp_SOURCES): Rename from
1265         TestNetscapePlugin_SOURCES.
1266         (TestNetscapePlugin_SOURCES): Create based on
1267         ${TestNetscapePlugin_ObjCpp_SOURCES}.
1268         (DumpRenderTree_ObjC_SOURCES): Split from DumpRenderTree_SOURCES.
1269         (DumpRenderTree_Cpp_SOURCES): Ditto.
1270         (DumpRenderTree_ObjCpp_SOURCES): Ditto.
1271         (DumpRenderTree_SOURCES): Create from above three lists.
1272
1273 2016-06-14  Lucas Forschler  <lforschler@apple.com>
1274
1275         <rdar://problem/26685782>
1276         Teach the copy-webkitlibraries-to-product-directory script about WebKitSystemInterfaceOSX10.12
1277
1278         Rubber-stamped by Jessie Berlin.
1279
1280         * Scripts/copy-webkitlibraries-to-product-directory:
1281
1282 2016-06-14  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1283
1284         Activate CMake export compile commands option
1285         https://bugs.webkit.org/show_bug.cgi?id=158734
1286
1287         Reviewed by Alex Christensen.
1288
1289         * Scripts/webkitdirs.pm:
1290         (generateBuildSystemFromCMakeProject): Activating this option for all CMake builds.
1291         This allows using ymcd for WebKit hacking.
1292
1293 2016-06-14  David Kilzer  <ddkilzer@apple.com>
1294
1295         Modernize DumpRenderTreeMac.h
1296         <https://webkit.org/b/158721>
1297
1298         Reviewed by Andy Estes.
1299
1300         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1301         - Update copyright.
1302         - Update license.
1303         - Use #pragma once.
1304         - Use OBJC_CLASS macro.
1305
1306 2016-06-13  David Kilzer  <ddkilzer@apple.com>
1307
1308         False-positive over-release of WebView in destroyWebViewAndOffscreenWindow() in DumpRenderTree.mm
1309         <https://webkit.org/b/158716>
1310
1311         Reviewed by Andy Estes.
1312
1313         * DumpRenderTree/mac/DumpRenderTree.mm:
1314         (destroyWebViewAndOffscreenWindow): Change this function to take
1315         a WebView, and assert that it's the same as [mainFrame webView].
1316         (dumpRenderTree): Pass 'webView' into
1317         destroyWebViewAndOffscreenWindow().
1318         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1319         (createWebViewAndOffscreenWindow): Add NS_RETURNS_RETAINED since
1320         this function returns a +1 WebView.  Declare this method only for
1321         Objective-C[++] source.
1322
1323 2016-06-13  Sam Weinig  <sam@webkit.org>
1324
1325         Make HashMap and HashSet work with Refs
1326         https://bugs.webkit.org/show_bug.cgi?id=158638
1327
1328         Reviewed by Darin Adler.
1329
1330         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
1331         (TestWebKitAPI::TEST):
1332         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
1333         (TestWebKitAPI::TEST):
1334         Add tests for using Refs in HashMaps (both as key and value) and HashSets.
1335
1336 2016-06-13  Mark Lam  <mark.lam@apple.com>
1337
1338         Add a mechanism for collecting LLINT stats.
1339         https://bugs.webkit.org/show_bug.cgi?id=158668
1340
1341         Reviewed by Filip Pizlo.
1342
1343         * DumpRenderTree/mac/DumpRenderTree.mm:
1344         (DumpRenderTreeMain):
1345
1346 2016-06-13  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1347
1348         [GTK] Enabling Shadow DOM by default
1349         https://bugs.webkit.org/show_bug.cgi?id=158686
1350
1351         Reviewed by Carlos Garcia Campos.
1352
1353         Added support for enabling Shadow DOM by default for GTK.
1354         Changed GTK test expectations for fast/shadow-dom tests (most tests
1355         pass).
1356
1357         * Scripts/webkitperl/FeatureList.pm:
1358
1359 2016-06-12  Aakash Jain  <aakash_jain@apple.com>
1360
1361         run-safari/run-webkit-app fail to quit iOS simulator after Xcode installation
1362         https://bugs.webkit.org/show_bug.cgi?id=158651
1363         rdar://problem/26499824
1364
1365         Reviewed by Daniel Bates.
1366
1367         This change is to make our tools more robust. Sometimes run-safari/run-webkit-app fails 
1368         to start the tests as one of the first thing these scripts do is to relaunch iOS Simulators,
1369         and in process call quitIOSSimulator. In case the Simulator is not registered in LaunchServices
1370         for some reason, quitIOSSimulator fails and the script stops. This change will make the scripts
1371         still continue when they fail to quit iOS Simuator, and modify the way Simulator is opened, 
1372         so that Simulator is implicitly registered with LaunchServices while opening it.
1373
1374         * Scripts/webkitdirs.pm:
1375         (relaunchIOSSimulator):
1376         Launch iOS Simulator using complete path. Partially reverting http://trac.webkit.org/changeset/184202.
1377         (quitIOSSimulator):
1378         Do not die if quitting ios Simulator fails, so that relaunchIOSSimulator can still 
1379         attempt to launch the simulator.
1380         (waitUntilIOSSimulatorDeviceIsInState):
1381         Added a FIXME.
1382
1383 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
1384
1385         Addressing post-review comments after r201978.
1386         https://bugs.webkit.org/show_bug.cgi?id=158649
1387         <rdar://problem/13258122>
1388
1389         Unreviewed.
1390
1391         * TestWebKitAPI/Tests/WTF/WTFString.cpp:
1392         (TestWebKitAPI::TEST):
1393
1394 2016-06-11  Alexey Proskuryakov  <ap@apple.com>
1395
1396         Unreviewed leak fix after r201863.
1397
1398         * DumpRenderTree/mac/DumpRenderTree.mm:
1399         (dumpFramesAsText):
1400
1401 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
1402
1403         [Cocoa] Map commonly used Chinese Windows font names to names present on Cocoa operating systems
1404         https://bugs.webkit.org/show_bug.cgi?id=158649
1405         <rdar://problem/13258122>
1406
1407         Reviewed by Darin Adler.
1408
1409         * TestWebKitAPI/Tests/WTF/WTFString.h:
1410         (TestWebKitAPI::TEST):
1411
1412 2016-06-10  Alex Christensen  <achristensen@webkit.org>
1413
1414         Fix CMake build.
1415
1416         * TestWebKitAPI/PlatformMac.cmake:
1417
1418 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
1419
1420         Rename JSAir to Air.js
1421
1422         Rubber stamped by Mark Lam.
1423
1424         * Scripts/run-javascriptcore-tests:
1425
1426 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
1427
1428         JSC Stress Test failing: jsair-tests.yaml/test.js.ftl-eager-no-cjit
1429         https://bugs.webkit.org/show_bug.cgi?id=158571
1430
1431         Reviewed by Keith Miller.
1432         
1433         Unskip the JSAir test.
1434
1435         * Scripts/run-javascriptcore-tests:
1436         (runJSCStressTests):
1437
1438 2016-06-10  Sam Weinig  <sam@webkit.org>
1439
1440         Re-disable the UserMedia tests which are timing out.
1441
1442         They used to be accidentally disabled, due to not including
1443         the FeatureDefines correctly, but not we explicitly disable it.
1444
1445         * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
1446         (TestWebKitAPI::TEST):
1447
1448 2016-06-10  Alex Christensen  <achristensen@webkit.org>
1449
1450         Introduce WTF::UniqueRef
1451         https://bugs.webkit.org/show_bug.cgi?id=158596
1452
1453         Reviewed by Brady Eidson.
1454
1455         * TestWebKitAPI/CMakeLists.txt:
1456         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1457         * TestWebKitAPI/Tests/WTF/UniqueRef.cpp: Added.
1458         (TestWebKitAPI::B::B):
1459         (TestWebKitAPI::C::C):
1460         (TestWebKitAPI::function):
1461         (TestWebKitAPI::TEST):
1462
1463 2016-06-10  Sam Weinig  <sam@webkit.org>
1464
1465         Refactor TestWebKitAPI to allow just testing WTF
1466         https://bugs.webkit.org/show_bug.cgi?id=158625
1467
1468         Reviewed by Tim Horton.
1469
1470         Extract all the WTF tests into a new target to allow a faster build / test / fix
1471         cycle when working on WTF bugs and features.
1472         
1473         By calling `run-api-tests --wtf-only`, you don't need to have a build of JavaScriptCore/WebCore/etc
1474         to test WTF only changes.
1475
1476         * Scripts/build-api-tests:
1477         * Scripts/run-api-tests:
1478         (buildTestTool):
1479         (testToolPaths):
1480         Add new options to build-api-tests and run-api-tests to only build/run the WTF test runner.
1481
1482         * TestWebKitAPI/CMakeLists.txt:
1483         * TestWebKitAPI/Configurations/TestWTF.xcconfig: Added.
1484         * TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig: Added.
1485         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1486         Add two new targets, TestWTFLibrary which contains all the WTF tests, and TestWTF,
1487         the test runner that runs the WTF tests.
1488     
1489         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
1490         Use Utilities.h rather than PlatformUtilities.h.
1491
1492         * TestWebKitAPI/Utilities.h: Added.
1493         * TestWebKitAPI/PlatformUtilities.h:
1494         * TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm:
1495         * TestWebKitAPI/cocoa/UtilitiesCocoa.mm: Added.
1496         Move the sleep and run functions into a new Utilities.h/cpp file. This file contains utilities
1497         that don't depend on anything in the WebKit project. 
1498
1499 2016-06-10  Brady Eidson  <beidson@apple.com>
1500
1501         REGRESSION(r201928?) API test WTF.StringOperators failing
1502         https://bugs.webkit.org/show_bug.cgi?id=158623
1503
1504         Unreviewed, but buddy coded with Alex Christensen.
1505
1506         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
1507         (TestWebKitAPI::LifetimeLogger::fullName): Only one file in all of TestWebKitAPI is allowed
1508           to use string concatenation, otherwise the linker will mess up on the symbol related to
1509           this bizarre WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING macro expansion.
1510
1511 2016-06-10  Brady Eidson  <beidson@apple.com>
1512
1513         WTF_CrossThreadTask.Basic fails in all non mac ports.
1514         https://bugs.webkit.org/show_bug.cgi?id=158612
1515
1516         Reviewed by Alex Christensen.
1517
1518         The test is very sensitive to argument evaluation order which is explicitly undefined in C++.
1519         
1520         Instead, we should just count the appropriate events to forget their order.
1521         
1522         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
1523         (TestWebKitAPI::LifetimeLogger::LifetimeLogger):
1524         (TestWebKitAPI::LifetimeLogger::~LifetimeLogger):
1525         (TestWebKitAPI::LifetimeLogger::isolatedCopy):
1526         (TestWebKitAPI::LifetimeLogger::fullName):
1527         (TestWebKitAPI::testFunction):
1528         (TestWebKitAPI::TEST):
1529         (TestWebKitAPI::LifetimeLogger::log): Deleted.
1530         (TestWebKitAPI::LifetimeLogger::takeLogStr): Deleted.
1531
1532 2016-06-09  Alex Christensen  <achristensen@webkit.org>
1533
1534         Clean up Tools *.vcxproj after switching to CMake.
1535
1536         * DumpRenderTree/DumpRenderTree.sln: Removed.
1537         * DumpRenderTree/DumpRenderTree.vcxproj: Removed.
1538         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin: Removed.
1539         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1540         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1541         * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/resource.h: Removed.
1542         * DumpRenderTree/PlatformWin.cmake:
1543         * DumpRenderTree/win/TestNetscapePlugin.def: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.def.
1544         * DumpRenderTree/win/TestNetscapePlugin.rc: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.rc.
1545         * DumpRenderTree/win/resource.h: Copied from DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/resource.h.
1546         * MiniBrowser/MiniBrowser.vcxproj: Removed.
1547         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico: Removed.
1548         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc: Removed.
1549         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc: Removed.
1550         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h: Removed.
1551         * MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h: Removed.
1552         * MiniBrowser/MiniBrowser.vcxproj/small.ico: Removed.
1553         * MiniBrowser/win/CMakeLists.txt:
1554         * MiniBrowser/win/MiniBrowser.ico: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.ico.
1555         * MiniBrowser/win/MiniBrowser.rc: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowser.rc.
1556         * MiniBrowser/win/MiniBrowserLib.rc: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLib.rc.
1557         * MiniBrowser/win/MiniBrowserLibResource.h: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserLibResource.h.
1558         * MiniBrowser/win/MiniBrowserResource.h: Copied from MiniBrowser/MiniBrowser.vcxproj/MiniBrowserResource.h.
1559         * MiniBrowser/win/small.ico: Copied from MiniBrowser/MiniBrowser.vcxproj/small.ico.
1560         * WebKitTestRunner/WebKitTestRunner.sln: Removed.
1561         * win/DLLLauncher/DLLLauncherWinCairo.props: Removed.
1562
1563 2016-06-09  Zalan Bujtas  <zalan@apple.com>
1564
1565         Add testing support for 3x device scale factor.
1566         https://bugs.webkit.org/show_bug.cgi?id=158597
1567
1568         Reviewed by Simon Fraser.
1569
1570         Set 3x device scale factor on the test canvas when the test url is prefixed with hidpi-3x-. 
1571
1572         * DumpRenderTree/mac/DumpRenderTree.mm:
1573         (changeWindowScaleIfNeeded):
1574         * WebKitTestRunner/TestController.cpp:
1575         (WTR::TestController::updateWindowScaleForTest):
1576         * WebKitTestRunner/TestOptions.cpp:
1577         (WTR::deviceScaleFactorForTest):
1578         (WTR::TestOptions::TestOptions):
1579         (WTR::isHiDPITestPath): Deleted.
1580         * WebKitTestRunner/TestOptions.h:
1581
1582 2016-06-09  Michael Catanzaro  <mcatanzaro@igalia.com>
1583
1584         Add comments to clarify feature enablement
1585         https://bugs.webkit.org/show_bug.cgi?id=158567
1586
1587         Reviewed by Alex Christensen.
1588
1589         * Scripts/webkitperl/FeatureList.pm:
1590
1591 2016-06-09  Filip Pizlo  <fpizlo@apple.com>
1592
1593         Unreviewed, skip jsair tests while we figure out the debug timeouts.
1594
1595         * Scripts/run-javascriptcore-tests:
1596         (runJSCStressTests):
1597
1598 2016-06-09  Commit Queue  <commit-queue@webkit.org>
1599
1600         Unreviewed, rolling out r201815.
1601         https://bugs.webkit.org/show_bug.cgi?id=158570
1602
1603         This broke the cmake build. (Requested by lforschler on
1604         #webkit).
1605
1606         Reverted changeset:
1607
1608         "Teach cmake about libWebKitSystemInterfaceOSX10.12"
1609         http://trac.webkit.org/changeset/201815
1610
1611 2016-06-09  Brady Eidson  <beidson@apple.com>
1612
1613         Greatly simplify CrossThreadTask.h.
1614         https://bugs.webkit.org/show_bug.cgi?id=158542
1615
1616         Reviewed by Darin Adler.
1617
1618         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
1619         (TestWebKitAPI::TEST):
1620
1621 2016-06-09  Chris Dumez  <cdumez@apple.com>
1622
1623         Unreviewed, rolling out r201836, r201845, and r201848.
1624
1625         Looks like a 1-2% PLT regression on iOS
1626
1627         Reverted changesets:
1628
1629         "[JSC] Change some parameters based on a random search"
1630         https://bugs.webkit.org/show_bug.cgi?id=158514
1631         http://trac.webkit.org/changeset/201836
1632
1633         "Tempory fix for the debug bots"
1634         http://trac.webkit.org/changeset/201845
1635
1636         "Change thresholdForOptimizeSoon to match
1637         thresholdForOptimizeAfterWarmUp"
1638         http://trac.webkit.org/changeset/201848
1639
1640 2016-06-09  Michael Saboff  <msaboff@apple.com>
1641
1642         WebKitTestRunner and DumpRenderTree do not handle dangling surrogate characters
1643         https://bugs.webkit.org/show_bug.cgi?id=154863
1644
1645         Reviewed by Alexey Proskuryakov.
1646
1647         Added a non-strict verions of WKStringGetUTF8CString() that will handle dangling
1648         surrogates.  Changed the extraction of inner text from frames in DumpRenderTree
1649         to use the new WKStringGetUTF8CStringNonStrict() function instead of NSString
1650         conversion since NSString doesn't have a way to handle dangling surrogates.
1651         The code added in DumpRenderTree matches what was changed in WebKitTestRunner.
1652
1653         * DumpRenderTree/mac/DumpRenderTree.mm:
1654         (dumpFramesAsText):
1655         * WebKitTestRunner/StringFunctions.h:
1656         (WTR::toWTFString):
1657
1658 2016-06-08  Hunseop Jeong  <hs85.jeong@samsung.com>
1659
1660         Try to fix the EFL build. 
1661
1662         Unreviewed. 
1663
1664         * TestWebKitAPI/CMakeLists.txt:
1665
1666 2016-06-08  Alex Christensen  <achristensen@webkit.org>
1667
1668        Fix WinCairo build
1669
1670         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
1671
1672 2016-06-08  Alex Christensen  <achristensen@webkit.org>
1673
1674         Fix WinCairo build
1675
1676         * DumpRenderTree/cairo/PixelDumpSupportCairo.h:
1677         (BitmapContext::createByAdoptingBitmapAndContext):
1678         (BitmapContext::~BitmapContext):
1679
1680 2016-06-08  Benjamin Poulain  <benjamin@webkit.org>
1681
1682         [JSC] Change some parameters based on a random search
1683         https://bugs.webkit.org/show_bug.cgi?id=158514
1684
1685         Reviewed by Filip Pizlo.
1686
1687         * Scripts/run-jsc-stress-tests:
1688
1689 2016-06-08  Aakash Jain  <aakash_jain@apple.com>
1690
1691         tests fail if display sleeps while run-webkit-tests is running
1692         https://bugs.webkit.org/show_bug.cgi?id=153919
1693
1694         Reviewed by Alexey Proskuryakov.
1695
1696         * DumpRenderTree/mac/LayoutTestHelper.m:
1697         (releaseSleepAssertions): Release both Display sleep and System sleep assertions.
1698         (addSleepAssertions): Add sleep assertion for both Display sleep and System sleep.
1699
1700 2016-06-08  Lucas Forschler  <lforschler@apple.com>
1701
1702         Reverted changeset 201814.
1703
1704         * Scripts/copy-webkitlibraries-to-product-directory:
1705
1706 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
1707
1708         [Win] Shadow DOM tests are failing.
1709         https://bugs.webkit.org/show_bug.cgi?id=158524
1710
1711         Reviewed by Brent Fulgham.
1712
1713         Enable Shadow DOM when running tests.
1714
1715         * DumpRenderTree/win/DumpRenderTree.cpp:
1716         (resetWebPreferencesToConsistentValues):
1717
1718 2016-06-08  Lucas Forschler  <lforschler@apple.com>
1719
1720         Teach cmake about libWebKitSystemInterfaceOSX10.12
1721         This patch also removes duplicated logic inside DumpRenderTree/PlatformMac.cmake
1722
1723         Rubber-stamped by Alex Christensen.
1724  
1725         * DumpRenderTree/PlatformMac.cmake:
1726         * WebKitTestRunner/PlatformMac.cmake:
1727
1728 2016-06-07  Lucas Forschler  <lforschler@apple.com>
1729
1730         <rdar://problem/26685782>
1731         Teach the copy-webkitlibraries-to-product-directory script about WebKitSystemInterfaceOSX10.12
1732
1733         Rubber-stamped by Jessie Berlin.
1734
1735         * Scripts/copy-webkitlibraries-to-product-directory:
1736
1737 2016-06-08  Aakash Jain  <aakash_jain@apple.com>
1738
1739         Don't try to cleanup non-existing ios Simulators
1740         https://bugs.webkit.org/show_bug.cgi?id=158510
1741
1742         Reviewed by Alexey Proskuryakov.
1743
1744         * Scripts/webkitpy/port/ios.py:
1745         (IOSSimulatorPort.clean_up_test_run): 
1746         Check if simulator exists before trying to clean it up.
1747
1748 2016-06-08  Brady Eidson  <beidson@apple.com>
1749
1750         Try to fix the Windows build.
1751
1752         Unreviewed.
1753
1754         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
1755         (TestWebKitAPI::LifetimeLogger::log):
1756         (TestWebKitAPI::LifetimeLogger::takeLogStr):
1757         (TestWebKitAPI::testFunction):
1758         (TestWebKitAPI::TEST):
1759         (TestWebKitAPI::log): Deleted. (VS was seeing it as a dupe symbol)
1760         (TestWebKitAPI::takeLogStr): Deleted. (VS was seeing it as a dupe symbol)
1761
1762 2016-06-08  Brady Eidson  <beidson@apple.com>
1763
1764         Make CrossThreadCopier more efficient (fewer copies!).
1765         https://bugs.webkit.org/show_bug.cgi?id=158456
1766
1767         Reviewed by Alex Christensen.
1768
1769         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
1770         (TestWebKitAPI::TEST):
1771
1772 2016-06-07  Filip Pizlo  <fpizlo@apple.com>
1773
1774         Add result validation to JSAir
1775         https://bugs.webkit.org/show_bug.cgi?id=158493
1776
1777         Reviewed by Saam Barati.
1778         
1779         Run JSAir.
1780
1781         * Scripts/run-javascriptcore-tests:
1782         (runJSCStressTests):
1783
1784 2016-06-08  Brady Eidson  <beidson@apple.com>
1785
1786         Add an API test that confirms object constructor/destructor calls during creation of a CrossThreadTask.
1787         https://bugs.webkit.org/show_bug.cgi?id=158528
1788
1789         Reviewed by Alex Christensen.
1790
1791         * TestWebKitAPI/CMakeLists.txt:
1792         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1793         * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp: Added.
1794         (TestWebKitAPI::log):
1795         (TestWebKitAPI::takeLogStr):
1796         (TestWebKitAPI::LifetimeLogger::LifetimeLogger):
1797         (TestWebKitAPI::LifetimeLogger::~LifetimeLogger):
1798         (TestWebKitAPI::LifetimeLogger::isolatedCopy):
1799         (TestWebKitAPI::testFunction):
1800         (TestWebKitAPI::TEST):
1801
1802 2016-06-08  Konstantin Tokarev  <annulen@yandex.ru>
1803
1804         TestWebKitAPI: Removed redunandant check PLATFORM(GTK) && !defined(BUILDING_WEBKIT2__)
1805         https://bugs.webkit.org/show_bug.cgi?id=158521
1806
1807         Reviewed by Carlos Garcia Campos.
1808
1809         * TestWebKitAPI/config.h:
1810
1811 2016-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
1812
1813         [GTK] Use a longer timeout for glib unit tests
1814         https://bugs.webkit.org/show_bug.cgi?id=158476
1815
1816         Reviewed by Darin Adler.
1817
1818         The timeout is supposed to be per test case, but in the case of GLib tests it affects all the tests cases of the
1819         same test program. Some test programs like TestLoaderClient, that have a lot of test cases, often time out in
1820         the bots because the timeout is not enough to run all the tests cases. So, we should use a longer timeout for
1821         GLib tests.
1822
1823         * Scripts/run-gtk-tests:
1824         (TestRunner._run_test_glib):
1825
1826 2016-06-07  Keith Rollin  <krollin@apple.com>
1827
1828         Remove all uses of PassRefPtr in WTF
1829         https://bugs.webkit.org/show_bug.cgi?id=157596
1830         <rdar://problem/26234391>
1831
1832         Reviewed by Chris Dumez.
1833
1834         Update calls to interfaces that no longer take or return PassRefPtrs.
1835
1836         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1837         (TestWebKitAPI::stringFromUTF8):
1838         (TestWebKitAPI::TEST):
1839
1840 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
1841
1842         [Win] Imported markup insertion test is failing.
1843         https://bugs.webkit.org/show_bug.cgi?id=158477
1844
1845         Reviewed by Darin Adler.
1846
1847         Make sure the empty synchronous request is loaded after each test.
1848
1849         * DumpRenderTree/win/DumpRenderTree.cpp:
1850         (runTest):
1851
1852 2016-06-06  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1853
1854         REGRESSION(r201449) [GTK] ARMv7 build fails with libicudata.so.55: cannot open shared object file on gtkdoc-scangobj step.
1855         https://bugs.webkit.org/show_bug.cgi?id=158417
1856
1857         Reviewed by Michael Catanzaro.
1858
1859         The toolchain on armhf (ARMv7) seems unable to properly handle
1860         a shared library that doesn't link with anything.
1861
1862         And libicudata is built by default in this way because it only
1863         contains static data.
1864
1865         That makes icu unusable on armhf because the linker will be
1866         unable to resolve the libicudata dependencies.
1867
1868         Most (if not all) distributions workaround this by linking
1869         libicudata with libc6, which is already a needed dependency for
1870         any of the other icu shared libraries.
1871
1872         So import here the Debian patch fixing this issue. For further
1873         details check https://bugs.debian.org/653457
1874
1875         * gtk/jhbuild.modules:
1876         * gtk/patches/icudata-stdlibs.patch: Added.
1877
1878 2016-06-06  Per Arne Vollan  <pvollan@apple.com>
1879
1880         REGRESSION (r104174): 500+ tests failing on Windows
1881         https://bugs.webkit.org/show_bug.cgi?id=75965
1882
1883         Reviewed by Michael Catanzaro.
1884
1885         Reset WebView scale factors before running next test.
1886
1887         * DumpRenderTree/win/DumpRenderTree.cpp:
1888         (resetWebViewToConsistentStateBeforeTesting):
1889
1890 2016-06-04  Alexey Proskuryakov  <ap@apple.com>
1891
1892         REGRESSION (r201263): Some tests have become flaky timeouts.
1893         https://bugs.webkit.org/show_bug.cgi?id=157990
1894
1895         Reviewed by Darin Adler.
1896
1897         * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke):
1898         It is somewhat legitimate for WebContent to not respond to messages after the test
1899         is done; it can be e.g. re-doing a costly repaint. So, we should restart is silently,
1900         without making the current test fail.
1901
1902 2016-06-03  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1903
1904         [GTK] Update YouCompleteMe script to make all include paths absolute
1905         https://bugs.webkit.org/show_bug.cgi?id=158301
1906
1907         Reviewed by Michael Catanzaro.
1908
1909         Before this patch, some include paths were not made absolute.
1910         This could make YouCompleteMe plugin to fail extracting information or validating cpp files.
1911
1912         * gtk/ycm_extra_conf.py:
1913
1914 2016-06-03  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
1915
1916         Unreviewed: add myself to the committers list.
1917
1918         * Scripts/webkitpy/common/config/contributors.json:
1919
1920 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
1921
1922         [Win] Fetch API tests are failing.
1923         https://bugs.webkit.org/show_bug.cgi?id=158296
1924
1925         Reviewed by Alex Christensen.
1926
1927         Enable Fetch API when running tests.
1928
1929         * DumpRenderTree/win/DumpRenderTree.cpp:
1930         (resetWebPreferencesToConsistentValues):
1931
1932 2016-06-02  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
1933
1934         Really display failing JSC stress tests in buildbot dashboard
1935         https://bugs.webkit.org/show_bug.cgi?id=158324
1936
1937         Reviewed by Alexey Proskuryakov.
1938
1939         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
1940         (BuildbotCombinedQueueView.prototype.update): Correctly check for string membership in array.
1941         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
1942         (BuildbotIteration.prototype._parseData): Correctly check for string membership in array.
1943         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
1944         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions): Correctly check for string
1945         membership in array.
1946         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions): Ensure that the correct URL is
1947         generated after the first time.
1948         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
1949         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Correctly check for string membership in array.
1950
1951 2016-06-02  Michael Saboff  <msaboff@apple.com>
1952
1953         [iOS]: Some JSC stress tests fail running out of executable memory when the LLInt is disabled
1954         https://bugs.webkit.org/show_bug.cgi?id=158317
1955
1956         Reviewed by Saam Barati.
1957
1958         Added defaultNoNoLLIntRun variant to run the default tests with the exception of the no-llint
1959         variant.
1960
1961         * Scripts/run-jsc-stress-tests:
1962
1963 2016-06-02  Aakash Jain  <aakash_jain@apple.com>
1964
1965         LayoutTests time out intermittently due to alert about reopening Simulator after it unexpectedly quit
1966         https://bugs.webkit.org/show_bug.cgi?id=158305
1967
1968         Reviewed by Alexey Proskuryakov.
1969
1970         * Scripts/webkitpy/port/ios.py:
1971         (IOSSimulatorPort.clean_up_test_run): Delete simulator's savedState directories during cleanup.
1972
1973 2016-06-01  Brian Burg  <bburg@apple.com>
1974
1975         REGRESSION(r191907): Can't enter combining diacritic marks in Web Inspector fields
1976         https://bugs.webkit.org/show_bug.cgi?id=158227
1977         <rdar://problem/26232464>
1978
1979         Reviewed by Alexey Proskuryakov.
1980
1981         Add a regression test that runs on Mac only.
1982
1983         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1984         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewTextInput.mm: Added.
1985         (-[DummyNavigationDelegate webView:didFinishNavigation:]):
1986         (TEST):
1987         * TestWebKitAPI/Tests/WebKit2Cocoa/editable-body.html: Added.
1988
1989 2016-06-01  Chris Fleizach  <cfleizach@apple.com>
1990
1991         AX: iOS: VoiceOver can't access attachments in mail messages
1992         https://bugs.webkit.org/show_bug.cgi?id=158198
1993
1994         Reviewed by Joanmarie Diggs.
1995
1996         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
1997         (AccessibilityUIElement::stringForRange):
1998         (AccessibilityUIElement::attributedStringForRange):
1999         (AccessibilityUIElement::attributedStringRangeIsMisspelled):
2000         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2001         (WTR::AccessibilityUIElement::attributedStringForRange):
2002         (WTR::AccessibilityUIElement::attributedStringRangeIsMisspelled):
2003
2004 2016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2005
2006         Unreviewed. Mark GTK+ test /webkit2/WebKitWebInspectorServer/test-open-debugging-session as slow.
2007
2008         It's timing out in the bots, but it seems to pass when running run-gtk-tests with no timeout. For GLib tests the
2009         timeout is applied per tester program not per test case, so we need to mark the whole test
2010         WebKit2Gtk/TestInspectorServer as slow.
2011
2012         * Scripts/run-gtk-tests:
2013         (TestRunner):
2014         (TestRunner._run_test_glib):
2015
2016 2016-06-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2017
2018         Unreviewed. Skip media permission request GTK+ unit tests.
2019
2020         They are timing out in the bots.
2021
2022         * Scripts/run-gtk-tests:
2023         (TestRunner):
2024
2025 2016-05-31  Jer Noble  <jer.noble@apple.com>
2026
2027         Yet another unreviewed build fix; move the closing brace of the namespace declaration inside
2028         the #if check.
2029
2030         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
2031
2032 2016-05-31  Jer Noble  <jer.noble@apple.com>
2033
2034         Further unreviewed build fix; only run FullscreenTopContentInset test on Mac.
2035
2036         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
2037
2038 2016-05-31  Jer Noble  <jer.noble@apple.com>
2039
2040         Unreviewed build fix; only run FullscreetTopContentInset test on platforms
2041         where WK_API_ENABLED is set.
2042
2043         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm:
2044
2045 2016-05-31  Jer Noble  <jer.noble@apple.com>
2046
2047         REGRESSION (r201405): trailers.apple.com HUD is missing in fullscreen
2048         https://bugs.webkit.org/show_bug.cgi?id=158156
2049         <rdar://problem/26519589>
2050
2051         Reviewed by Darin Adler.
2052
2053         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2054         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.html: Added.
2055         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenTopContentInset.mm: Added.
2056         (-[FullscreenChangeMessageHandler userContentController:didReceiveScriptMessage:]):
2057         (TestWebKitAPI::TEST):
2058
2059 2016-05-31  Jon Lee  <jonlee@apple.com>
2060
2061         Unreviewed: add myself to the reviewers list.
2062
2063         * Scripts/webkitpy/common/config/contributors.json:
2064
2065 2016-05-31  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2066
2067         [GTK] Provide alternative mirror for the ICU tarball.
2068         https://bugs.webkit.org/show_bug.cgi?id=154530
2069
2070         Unreviewed.
2071
2072         * gtk/jhbuild.modules: After r201449 the GTK+ ARM buildbot is having
2073         a hard time trying to download the ICU tarball from download.icu-project.org
2074         (which redirects to sourceforge and gives problems with something related to
2075         SSL). Provide this alternative mirror to make things working back.
2076
2077 2016-05-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2078
2079         [GTK] Test /webkit2/WebKitWebView/geolocation-permission-requests is failing since r201423
2080         https://bugs.webkit.org/show_bug.cgi?id=158200
2081
2082         Reviewed by Philippe Normand.
2083
2084         This is because geolocation is no longer allowed for non secure sites, like HTTP. In that case
2085         POSITION_UNAVAILABLE is returned without asking the API layer.
2086
2087         * TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
2088         (testWebViewGeolocationPermissionRequests): Keep the HTTP case to check that it indeed returns
2089         POSITION_UNAVAILABLE and use HTTPS URLs to check permission requests are allowed or denied. Also stop using the
2090         document title, and use user script messages that are more reliable instead.
2091
2092 2016-05-28  Aakash Jain  <aakash_jain@apple.com>
2093
2094         tests fail if display sleeps while run-webkit-tests is running
2095         https://bugs.webkit.org/show_bug.cgi?id=153919
2096
2097         Reviewed by Darin Adler.
2098
2099         * DumpRenderTree/mac/LayoutTestHelper.m:
2100         (addDisplaySleepAssertion): Use PreventUserIdleSystemSleep flag, same as set by caffeinate tool.
2101
2102 2016-05-27  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2103
2104         Display failing JSC stress tests in buildbot dashboard
2105         https://bugs.webkit.org/show_bug.cgi?id=156595
2106
2107         Reviewed by Alexey Proskuryakov.
2108
2109         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2110         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration):
2111         (Buildbot.prototype.javaScriptCoreTestStdioUrlForIteration):
2112         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
2113         (BuildbotCombinedQueueView.prototype.update):
2114         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2115         (BuildbotIteration):
2116         (BuildbotIteration.prototype._parseData):
2117         (BuildbotIteration.prototype.loadLayoutTestResults):
2118         (BuildbotIteration.prototype.):
2119         (BuildbotIteration.prototype.loadJavaScriptCoreTestResults):
2120         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2121         (BuildbotQueueView.prototype._createLoadingIndicator):
2122         (BuildbotQueueView.prototype.):
2123         (BuildbotQueueView.prototype._onPopoverCopy):
2124         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions):
2125         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions):
2126         (BuildbotQueueView.prototype._addIterationHeadingToPopover):
2127         (BuildbotQueueView.prototype._testStepFailureDescription):
2128         (BuildbotQueueView.prototype._testStepFailureDescriptionWithCount):
2129         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2130         (BuildbotTestResults.prototype.addJavaScriptCoreTestFailures):
2131         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2132         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus):
2133         (BuildbotTesterQueueView.prototype.update):
2134         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions):
2135         (BuildbotTesterQueueView.prototype._presentPopoverForLayoutTestRegressions):
2136         (BuildbotTesterQueueView.prototype._testStepFailureDescription): Deleted.
2137         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): Deleted.
2138         (BuildbotTesterQueueView.prototype.): Deleted.
2139         (BuildbotTesterQueueView.prototype.content.oncopy): Deleted.
2140         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html:
2141         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js.
2142         (MockBuildbot):
2143         (MockBuildbot.prototype.buildPageURLForIteration):
2144         (MockBuildbot.prototype.javaScriptCoreTestFailuresURLForIteration):
2145         (MockBuildbot.prototype.javaScriptCoreTestStdioUrlForIteration):
2146         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js:
2147         (MockBuildbotQueue):
2148         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotTestResults.js: Copied from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js.
2149         (MockBuildbotTestResults):
2150         (MockBuildbotTestResults.prototype.addJavaScriptCoreTestFailures):
2151         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-jsc-results.json: Added.
2152         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js:
2153
2154 2016-05-27  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2155
2156         Display failing JSC stress tests in buildbot dashboard
2157         https://bugs.webkit.org/show_bug.cgi?id=156595
2158
2159         Reviewed by Alexey Proskuryakov.
2160
2161         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
2162         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Generate the URL for raw JSON output of
2163         JSC tests.
2164         (Buildbot.prototype.javaScriptCoreTestStdioURLForIteration): Generate the URL for human-readable stdio output
2165         of JSC tests.
2166         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
2167         (BuildbotCombinedQueueView.prototype.update): Display JSC test results in popover.
2168         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2169         (BuildbotIteration): Add javaScriptCoreTestResults variable.
2170         (BuildbotIteration.prototype.): Check for javascriptcore tests step.
2171         (BuildbotIteration.prototype.loadLayoutTestResults): Add comma at closing brace.
2172         (BuildbotIteration.prototype.loadJavaScriptCoreTestResults): Fetch JSON from Buildbot server.
2173         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2174         (BuildbotQueueView.prototype._createLoadingIndicator): Reusable function.
2175         (BuildbotQueueView.prototype._onPopoverCopy): Reusable copy event handler to allow accurate copying of text
2176         from popovers.
2177         (BuildbotQueueView.prototype._popoverContentForJavaScriptCoreTestRegressions): Generates the popover bubble's
2178         inner HTML from the JSC failure data.
2179         (BuildbotQueueView.prototype._presentPopoverForJavaScriptCoreTestRegressions): Generate the popover bubble
2180         for JSC results and handle request failures.
2181         (BuildbotQueueView.prototype._testStepFailureDescription): Moved from subclass.
2182         (BuildbotQueueView.prototype._testStepFailureDescriptionWithCount): Moved from subclass.
2183         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
2184         (BuildbotTestResults.prototype.addJavaScriptCoreTestFailures): Parse JSON into a list of failing tests.
2185         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2186         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Instantiate PopoverTrackers for builds whose 
2187         only failures are JSC tests.
2188         (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions): Use _onPopoverCopy.
2189         (BuildbotTesterQueueView.prototype._presentPopoverForLayoutTestRegressions): Use _createLoadingIndicator.
2190         (BuildbotTesterQueueView.prototype._testStepFailureDescription): Deleted. Moved to superclass.
2191         (BuildbotTesterQueueView.prototype._testStepFailureDescriptionWithCount): Deleted. Moved to superclass.
2192         (BuildbotTesterQueueView.prototype.content.oncopy): Deleted. Using superclass's reusable function as copy handler instead.
2193         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/index.html: Add new script files.
2194         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js: Added.
2195         (MockBuildbot): Mocked version of Buildbot, only containing URL methods.
2196         (MockBuildbot.prototype.buildPageURLForIteration): Same as real Buildbot.js
2197         (MockBuildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Points to local file containing JSON for test.
2198         (MockBuildbot.prototype.javaScriptCoreTestStdioURLForIteration): Same as real Buildbot.js
2199         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotQueue.js:
2200         (MockBuildbotQueue): Use a MockBuildbot() instead of a string.
2201         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbotTestResults.js: Added.
2202         (MockBuildbotTestResults): Mocked version of BuildbotTestResults.
2203         (MockBuildbotTestResults.prototype.addJavaScriptCoreTestFailures): Sets the 'regressions' variable.
2204         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/test-jsc-results.json: Added.
2205         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/tests.js: Add four groups of tests.
2206
2207 2016-05-27  Chris Dumez  <cdumez@apple.com>
2208
2209         WorkQueue::dispatch() / RunLoop::dispatch() should not copy captured lambda variables
2210         https://bugs.webkit.org/show_bug.cgi?id=158111
2211
2212         Reviewed by Darin Adler.
2213
2214         WorkQueue::dispatch() / RunLoop::dispatch() should not copy captured lambda variables.
2215         These are often used cross-thread and copying the captured lambda variables can be
2216         dangerous (e.g. we do not want to copy a String after calling isolatedCopy() upon
2217         capture).
2218
2219         * WebKitTestRunner/TestController.cpp:
2220         (WTR::TestController::decidePolicyForNavigationAction):
2221
2222 2016-05-27  Brady Eidson  <beidson@apple.com>
2223
2224         Modern IDB: After closing a Netflix video, trying to watch it again fails.
2225         <rdar://problem/25092473> and https://bugs.webkit.org/show_bug.cgi?id=158160
2226
2227         Reviewed by Alex Christensen.
2228
2229         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2230         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-1.html: Added.
2231         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup-2.html: Added.
2232         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm: Added.
2233
2234 2016-05-27  Joanmarie Diggs  <jdiggs@igalia.com>
2235
2236         AX: [ATK] accessibility/gtk/no-notification-for-unrendered-iframe-children.html began failing after r201416
2237         https://bugs.webkit.org/show_bug.cgi?id=158152
2238
2239         Reviewed by Chris Fleizach.
2240
2241         The failure is actually a bug fix because only one child is being added, but two
2242         notifications were being emitted. Now there is only one notification. To verify
2243         this was the case, we really should examine the child reportedly being added. That
2244         child is the ATK event's any_data, so pass along that child to the listener.
2245
2246         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
2247
2248 2016-05-26  Alex Christensen  <achristensen@webkit.org>
2249
2250         Expose content extension failure error codes in SPI
2251         https://bugs.webkit.org/show_bug.cgi?id=158095
2252         rdar://problem/26475651
2253
2254         Reviewed by Anders Carlsson.
2255
2256         * TestWebKitAPI/Tests/WebKit2Cocoa/_WKUserContentExtensionStore.mm:
2257         (checkDomain):
2258         (TEST_F):
2259         Add tests that use the new enum.
2260
2261 2016-05-27  Carlos Garcia Campos  <cgarcia@igalia.com>
2262
2263         New intl-numberformat.js test fails on many Linux platforms
2264         https://bugs.webkit.org/show_bug.cgi?id=154530
2265
2266         Reviewed by Darin Adler.
2267
2268         The test is actually failing because of a bug in the icu version installed in the bots, using a newer version of
2269         icu makes the tests pass and explains why it worked for some people. So, let's add icu 55.1 to the internal
2270         jhbuild to ensure JSC tests pass in the bots no matter what the icu version installed is.
2271
2272         * gtk/jhbuild.modules:
2273
2274 2016-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
2275
2276         [JSC] Allow JSBench to use precise time
2277         https://bugs.webkit.org/show_bug.cgi?id=158050
2278
2279         Reviewed by Geoffrey Garen.
2280
2281         JSBench use `new Date().getTime()` without options and there is no way to use precise time.
2282         This patch modifies the JSBench code to inject the code taking the precise time.
2283         `currentTimeInMS` is given by the benchmerk harness and JSBench uses it.
2284         run-jsc-benchmark switches this function's implementation between `Date.now()` and
2285         testRunner's precise time one.
2286
2287         While this patch modifies the code of JSBench, the last release of JSBench is Jan 2013 and
2288         the contents are not changed for a long time. As described in the original paper[1], the
2289         tests can be generated by using JSBench's record & replay system, but in that case, we can
2290         adopt this modification by changing the tool side.
2291
2292         We also add currentTimeInMS implementation in harness.js and u?rem.js directly.
2293         u?rem.js implementation is required when it is executed in u?rem.html without harness.
2294         And harness.js implementation is required when it is executed in the JSBench's harness.
2295         In these implementation, we follow the JetStream's time measuring function: performance.now(),
2296         preciseTime(), or Date.now().
2297
2298         [1]: http://dl.acm.org/citation.cfm?id=2048119
2299
2300         * Scripts/run-jsc-benchmarks:
2301
2302 2016-05-26  Brent Fulgham  <bfulgham@apple.com>
2303
2304         Unreviewed test fix after r201427.
2305         https://bugs.webkit.org/show_bug.cgi?id=157423
2306         <rdar://problem/23751632>
2307
2308         A debug assertion was firing during some test runs due to the Geolocation permission
2309         being turned off during the test. The timer logic was originally written to assert
2310         if the timer fired when permissions were disabled. But this is no longer valid,
2311         because we expect the Geolocation system to be active and become deactivated if the
2312         browsing context violates one of the security criteria.
2313
2314         * DumpRenderTree/mac/UIDelegate.mm:
2315         (-[UIDelegate timerFired]): Remove invalid assertion.
2316
2317 2016-05-26  Filip Pizlo  <fpizlo@apple.com>
2318
2319         ScopedLambda should have a lifetime story that makes sense to the compiler
2320         https://bugs.webkit.org/show_bug.cgi?id=158118
2321
2322         Reviewed by Mark Lam.
2323         
2324         Added a test case. This test crashes before the fix and now it passes.
2325
2326         * TestWebKitAPI/CMakeLists.txt:
2327         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2328         * TestWebKitAPI/Tests/WTF/ScopedLambda.cpp: Added.
2329         (TestWebKitAPI::TEST):
2330
2331 2016-05-26  Myles C. Maxfield  <mmaxfield@apple.com>
2332
2333         Build fix
2334
2335         Rubber stamped by Lucas Forschler.
2336
2337         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2338         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
2339
2340 2016-05-25  Anders Carlsson  <andersca@apple.com>
2341
2342         Get rid of WTF/Functional.h
2343         https://bugs.webkit.org/show_bug.cgi?id=158081
2344
2345         Reviewed by Chris Dumez.
2346
2347         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2348         * TestWebKitAPI/Tests/WTF/Functional.cpp: Removed.
2349         (TestWebKitAPI::returnFortyTwo): Deleted.
2350         (TestWebKitAPI::TEST): Deleted.
2351         (TestWebKitAPI::multiplyByTwo): Deleted.
2352         (TestWebKitAPI::multiplyByOneAndAHalf): Deleted.
2353         (TestWebKitAPI::multiply): Deleted.
2354         (TestWebKitAPI::subtract): Deleted.
2355         (TestWebKitAPI::A::A): Deleted.
2356         (TestWebKitAPI::A::f): Deleted.
2357         (TestWebKitAPI::A::addF): Deleted.
2358         (TestWebKitAPI::B::B): Deleted.
2359         (TestWebKitAPI::B::~B): Deleted.
2360         (TestWebKitAPI::B::ref): Deleted.
2361         (TestWebKitAPI::B::deref): Deleted.
2362         (TestWebKitAPI::B::f): Deleted.
2363         (TestWebKitAPI::B::g): Deleted.
2364         (TestWebKitAPI::Number::create): Deleted.
2365         (TestWebKitAPI::Number::~Number): Deleted.
2366         (TestWebKitAPI::Number::value): Deleted.
2367         (TestWebKitAPI::Number::Number): Deleted.
2368         (TestWebKitAPI::multiplyNumberByTwo): Deleted.
2369
2370 2016-05-25  Daniel Bates  <dabates@apple.com> and Brent Fulgham  <bfulgham@apple.com>
2371
2372         [WebSockets] No infrastructure for testing secure web sockets (wss)
2373         https://bugs.webkit.org/show_bug.cgi?id=157884
2374         <rdar://problem/26477197>
2375
2376         Reviewed by Andy Estes.
2377
2378         Add support to webkitpy to start and stop a secure Web Socket server running on port 9323
2379         using the certificate, private-key from file LayoutTests/http/conf/webkit-httpd.pem. Also
2380         teaches run-webkit-httpd to start and stop the Web Socket servers.
2381
2382         Modify DumpRenderTree and WebKitTestRunner to understand a new testRunner method,
2383         'setAllowsAnySSLCertificate', which allows us to use the same self-signed test certificate
2384         we do for our HTTPS tests.
2385         
2386         * DumpRenderTree/TestRunner.cpp:
2387         (setAllowsAnySSLCertificateCallback):
2388         (TestRunner::setAllowsAnySSLCertificate):
2389         * DumpRenderTree/TestRunner.h:
2390         * DumpRenderTree/mac/DumpRenderTree.mm:
2391         (resetWebViewToConsistentStateBeforeTesting): Make sure we turn off the new flag between tests.
2392         * Scripts/run-webkit-httpd:
2393         (main): Start the websocket server at launch.
2394         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2395         (Manager.__init__): Remove dead code.
2396         * Scripts/webkitpy/layout_tests/servers/websocket_server.py:
2397         (PyWebSocket.__init__): Cleanup code.
2398         (PyWebSocket): Pass '--tls-client-ca' to start command.
2399         (PyWebSocket._prepare_config): Cleanups.
2400         * Scripts/webkitpy/port/base.py:
2401         (Port.to.start_http_server):
2402         (Port.to):
2403         (Port.to._extract_certificate_from_pem): Added.
2404         (Port.to._extract_private_key_from_pem): Added.
2405         (Port.to.start_websocket_server): Start secure socket server.
2406         (Port.to.stop_websocket_server): Stop secure socket server.
2407         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Add new API.
2408         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2409         (WTR::InjectedBundle::setAllowsAnySSLCertificate): Added.
2410         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2411         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2412         (WTR::TestRunner::setAllowsAnySSLCertificate): Added.
2413         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2414
2415 2016-05-25  Keith Miller  <keith_miller@apple.com>
2416
2417         run-jsc-benchmarks should use the new JSBench rather than look for it in the config file.
2418         https://bugs.webkit.org/show_bug.cgi?id=158077
2419
2420         Reviewed by Mark Lam.
2421
2422         Since we didn't have JSBench in the tree before we needed to lookup the path to it from
2423         benchmark config file. That's no longer the case so we should just fix it in the script.
2424
2425         * Scripts/run-jsc-benchmarks:
2426
2427 2016-05-24  Aakash Jain  <aakash_jain@apple.com>
2428
2429         Reorganize dashboard code: move code from _timeIntervalString to base class
2430         https://bugs.webkit.org/show_bug.cgi?id=158047
2431         rdar://problem/26457274
2432
2433         Reviewed by Alexey Proskuryakov and Dean Johnson.
2434
2435         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
2436         (BubbleQueueView.prototype._timeIntervalString): Moved core logic to base class so as to make it re-usable.
2437         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
2438         (QueueView.prototype._readableTimeString): Same.
2439
2440 2016-05-24  Yusuke Suzuki  <utatane.tea@gmail.com>
2441
2442         [JSC][GTK][EFL] Allow run-jsc-benchmark to use WebKitTestRunner in EFL / GTK ports
2443         https://bugs.webkit.org/show_bug.cgi?id=158016
2444
2445         Reviewed by Darin Adler.
2446
2447         This patch easily allows run-jsc-benchmark to run WebKitTestRunner-based tests in GTK / EFL ports.
2448         This change encourages us to run tests with the browser-heap in nix environments.
2449         Two things are modified.
2450
2451         1. Add a fall-back to look up the library path in GTK / EFL / JSCOnly environment.
2452
2453             In GTK / EFL / JSCOnly ports, the hierarchy of the build directory is slightly different from Apple port.
2454             For example, the jsc bin locate at "WebKitBuild/XXX/Release/bin/jsc" and the lib path is "WebKitBuild/XXX/Release/lib"
2455             while the one of Apple port is "WebKitBuild/XXX/Release/jsc" and "WebKitBuild/XXX/Release/lib".
2456             And based on this library path, we configure the required environment variables to run WebKitTestRunner in GTK / EFL ports.
2457
2458         2. Add --dependencies option to add dependent library paths.
2459
2460             While Apple ports does not require any additional dependent library path, GTK and EFL ports require this path,
2461             typically WebKitBuild/DependenciesGTK and WebKitBuild/DependenciesEFL respectively. So we need to add such paths to LD_LIBRARY_PATH.
2462             Instead of adding platform options like --gtk / --efl, we add --dependencies option to add the additional dependent library paths.
2463             The platform options still require the build path to look up the dependent library directory. So we pass it directly through --dependencies.
2464             Multiple additional dependent library paths can be added by using --dependencies multiple times.
2465
2466         By using these change, we can run benchmarks that require WebKitTestRunner in GTK / EFL ports (If you would like to run them in a headless manner, you can use xvbuf.).
2467         Example:
2468             `Tools/Scripts/run-jsc-benchmarks baseline:WebKitBuild/baseline/Release/bin/WebKitTestRunner patched:WebKitBuild/patched/Release/bin/WebKitTestRunner --dependencies WebKitBuild/DependenciesGTK/Root/lib --js-bench`
2469
2470         * Scripts/run-jsc-benchmarks:
2471
2472 2016-05-20  Keith Miller  <keith_miller@apple.com>
2473         We should have JSBench in PerformanceTests
2474         https://bugs.webkit.org/show_bug.cgi?id=157952
2475
2476         Rubber-stamped by Saam Barati.
2477
2478         This changes the runner to use the layout of the newest version of JSBench.
2479
2480         * Scripts/run-jsc-benchmarks:
2481
2482 2016-05-24  Chris Dumez  <cdumez@apple.com>
2483
2484         Use auto for some of our lambda function parameters
2485         https://bugs.webkit.org/show_bug.cgi?id=158001
2486
2487         Reviewed by Darin Adler.
2488
2489         Use auto for some of our lambda function parameters now that we build with c++14.
2490
2491         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2492         (WTR::InjectedBundle::willDestroyPage):
2493
2494 2016-05-23  Brady Eidson  <beidson@apple.com>
2495
2496         check-webkit-style gets flags std::literals::chrono_literals as bad naming.
2497         https://bugs.webkit.org/show_bug.cgi?id=157969
2498
2499         Reviewed by Alex Christensen.
2500
2501         * Scripts/webkitpy/style/checkers/cpp.py:
2502         (check_identifier_name_in_declaration):
2503         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2504         (WebKitStyleTest.test_names):
2505
2506 2016-05-22  Alexey Proskuryakov  <ap@apple.com>
2507
2508         RELEASE_ASSERT(TestController::singleton().isCurrentInvocation(testInvocation)) is sometimes hit when running tests
2509         https://bugs.webkit.org/show_bug.cgi?id=157977
2510         rdar://problem/20874156
2511
2512         Reviewed by David Kilzer.
2513
2514         * WebKitTestRunner/TestInvocation.cpp:
2515         (WTR::TestInvocation::invoke): Be more certain to launch a new process when there was
2516         a timeout detected. If we don't, there is a chance that the process is not quite frozen,
2517         and will still send a response that we no longer expect.
2518         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Print timeout details to stderr
2519         too, as stdout is not available, at least not in the case that I was observing.
2520
2521 2016-05-22  Brady Eidson  <beidson@apple.com>
2522
2523         Move to C++14.
2524         https://bugs.webkit.org/show_bug.cgi?id=157948
2525
2526         Reviewed by Michael Catanzaro.
2527
2528         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2529         * MiniBrowser/Configurations/Base.xcconfig:
2530         * TestWebKitAPI/Configurations/Base.xcconfig:
2531         * WebKitTestRunner/Configurations/Base.xcconfig:
2532
2533 2016-05-21  Aakash Jain  <aakash_jain@apple.com>
2534
2535         Simulator launch fails intermittently due to failure in checking simulator boot status
2536         https://bugs.webkit.org/show_bug.cgi?id=157965
2537         rdar://problem/26402404
2538
2539         Reviewed by Alexey Proskuryakov.
2540
2541         * Scripts/webkitpy/xcode/simulator.py:
2542         (Simulator.wait_until_device_is_booted): Ignore CalledProcessError exception while checking
2543         whether simulator has finished booting.
2544
2545 2016-05-21  Dan Bernstein  <mitz@apple.com>
2546
2547         Silence warnings from svn propget when using newer versions of Subversion.
2548         https://bugs.webkit.org/show_bug.cgi?id=157879
2549
2550         Reviewed by Daniel Bates.
2551
2552         * Scripts/prepare-ChangeLog:
2553         (attributeCommand): Redirect svn propget stderr to /dev/null.
2554         * Scripts/svn-create-patch:
2555         (findMimeType): Ditto.
2556
2557 2016-05-20  Ryosuke Niwa  <rniwa@webkit.org>
2558
2559         run-benchmark's results should contain Animometer's debug output
2560         https://bugs.webkit.org/show_bug.cgi?id=157941
2561
2562         Reviewed by Stephanie Lewis.
2563
2564         Modified the Animometer patch to store debug output and made benchmark_runner extract them together as a single array.
2565         The result can be dragged and dropped into Animometer's developer.html page.
2566
2567         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
2568         (BenchmarkRunner._run_one_test): Parse JSON here instead of doing it in multiple call sites.
2569         (BenchmarkRunner._run_benchmark): Strip debugOutput from individual test result, and merge them together separately.
2570         * Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch:
2571         Modified the patch to store the debug output.
2572         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
2573         (ServerControl.render_POST): Fixed a bug that POST to /report results in 500 because getvalue is not defined
2574         when the request body is larger than a certain size on twisted.
2575
2576 2016-05-20  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2577
2578         Use clearer names for JSON output of javascriptcore test results
2579         https://bugs.webkit.org/show_bug.cgi?id=157921
2580
2581         Reviewed by Alexey Proskuryakov.
2582
2583         "failures" and "apiTestResult" were somewhat ambiguous names. 
2584         
2585         * Scripts/run-javascriptcore-tests:
2586         (runJSCStressTests): "failures" -> "stressFailures", "apiTestResult" -> "allApiTestsPassed".
2587
2588 2016-05-20  Chris Dumez  <cdumez@apple.com>
2589
2590         Unreviewed, fix API test introduced in r201213.
2591
2592         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
2593         (TestWebKitAPI::TEST):
2594
2595 2016-05-20  Rawinder Singh  <rawinder.singh-webkit@cisra.canon.com.au>
2596
2597         Implement operator== for WeakPtr
2598         https://bugs.webkit.org/show_bug.cgi?id=157883
2599
2600         Reviewed by Chris Dumez.
2601
2602         Implement operator== and operator!= for WeakPtr and update code to use the operators.
2603
2604         * TestWebKitAPI/Tests/WTF/WeakPtr.cpp:
2605         (TestWebKitAPI::TEST):
2606
2607 2016-05-19  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2608
2609         Add JSON results to 32-bit and CLoop JSC tests
2610         https://bugs.webkit.org/show_bug.cgi?id=157929
2611
2612         Reviewed by Alexey Proskuryakov.
2613
2614         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2615         (RunLLINTCLoopTests): Change command-line parameters to run-javascriptcore-tests in order to get JSON output.
2616         (Run32bitJSCTests): Change command-line parameters to run-javascriptcore-tests in order to get JSON output.
2617
2618 2016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
2619
2620         Typo fix in import-test262-tests
2621         https://bugs.webkit.org/show_bug.cgi?id=157902
2622
2623         Reviewed by Keith Miller.
2624
2625         * Scripts/import-test262-tests:
2626
2627 2016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
2628
2629         [EFL] Fix the gst-libav build on ARM Thumb2 after r199649
2630         https://bugs.webkit.org/show_bug.cgi?id=157893
2631
2632         Reviewed by Antonio Gomes.
2633
2634         * efl/patches/gst-libav.patch:
2635
2636 2016-05-19  Jer Noble  <jer.noble@apple.com>
2637
2638         REGRESSION(r200951): VideoControlsManager API tests time out
2639         https://bugs.webkit.org/show_bug.cgi?id=157896
2640         <rdar://problem/26326293>
2641
2642         Reviewed by Eric Carlson.
2643
2644         Explicitly disable user gesture requirements for playback.
2645
2646         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
2647         (TestWebKitAPI::TEST):
2648
2649 2016-05-19  Csaba Osztrogonác  <ossy@webkit.org>
2650
2651         Slow JSC stress tests times out in 32 bit debug mode
2652         https://bugs.webkit.org/show_bug.cgi?id=154964
2653
2654         Reviewed by Michael Catanzaro.
2655
2656         * Scripts/run-javascriptcore-tests:
2657         (runJSCStressTests): Pass through the --debug option.
2658         * Scripts/run-jsc-stress-tests: Increase the timeout for debug builds.
2659
2660 2016-05-18  Aakash Jain  <aakash_jain@apple.com>
2661
2662         Remove underline from Status Bubbles on dashboard
2663         https://bugs.webkit.org/show_bug.cgi?id=157870
2664         rdar://problem/26332321
2665
2666         Reviewed by Alexey Proskuryakov.
2667
2668         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css: Reverted style 
2669         change made in http://trac.webkit.org/r200880
2670
2671 2016-05-18  Michael Saboff  <msaboff@apple.com>
2672
2673         r199812 broke test262
2674         https://bugs.webkit.org/show_bug.cgi?id=157595
2675
2676         Reviewed by Filip Pizlo.
2677
2678         Added a new run type, runOneLargeHeap, for tests that use a large amount of memory.
2679         This run type will not run with the --memory-limited option.  Without that option,
2680         we'll only the default test variant.
2681
2682         * Scripts/run-jsc-stress-tests:
2683
2684 2016-05-18  Simon Fraser  <simon.fraser@apple.com>
2685
2686         REGRESSION (r200534) Command-+ no longer zooms pages 
2687         https://bugs.webkit.org/show_bug.cgi?id=157826
2688         rdar://problem/26334636
2689
2690         Reviewed by Dean Jackson.
2691
2692         * DumpRenderTree/mac/DumpRenderTree.mm:
2693         (resetWebPreferencesToConsistentValues): Remove ENABLE() #ifdefs that do nothing (see http://webkit.org/b/157828).
2694
2695 2016-05-18  Joanmarie Diggs  <jdiggs@igalia.com>
2696
2697         [GTK] accessibility/meter-element.html is failing
2698         https://bugs.webkit.org/show_bug.cgi?id=115633
2699
2700         Reviewed by Chris Fleizach.
2701
2702         Implement AccessibilityUIElement::valueDescription() and add mapping
2703         from ATK_ROLE_LEVEL_BAR to AXProgressIndicator.
2704
2705         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2706         (WTR::AccessibilityUIElement::valueDescription):
2707
2708 2016-05-18  Brady Eidson  <beidson@apple.com>
2709
2710         Modern IDB: Make TestRunner.clearAllDatabases also delete IndexedDB databases (once doing so is supported).
2711         https://bugs.webkit.org/show_bug.cgi?id=157823
2712
2713         Reviewed by Alex Christensen.
2714
2715         * DumpRenderTree/mac/TestRunnerMac.mm:
2716         (TestRunner::clearAllDatabases):
2717         
2718         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2719         (WTR::TestRunner::clearAllDatabases):
2720         
2721         * WebKitTestRunner/TestInvocation.cpp:
2722         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2723
2724 2016-05-18  Joanmarie Diggs  <jdiggs@igalia.com>
2725
2726         AX: [ATK] Use WebCore Accessibility's AccessibilityText for AtkObject name and description
2727         https://bugs.webkit.org/show_bug.cgi?id=157822
2728
2729         Reviewed by Chris Fleizach.
2730
2731         Fix AccessibilityUIElement::helpText() so that it returns an empty string rather than
2732         nullptr upon failure.
2733
2734         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2735         (WTR::AccessibilityUIElement::helpText):
2736
2737 2016-05-17  Beth Dakin  <bdakin@apple.com>
2738
2739         Make handleAcceptedCandidate a public function
2740         https://bugs.webkit.org/show_bug.cgi?id=157763
2741         -and corresponding-
2742         rdar://problem/26206397
2743
2744         Reviewed by Tim Horton.
2745
2746         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2747         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocused-text-input.html: Added.
2748         * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm: Added.
2749         (-[DoNotLeakWebView dealloc]):
2750         (-[DoNotLeakWebView showCandidates:forString:inRect:forSelectedRange:view:completionHandler:]):
2751         (-[DoNotLeakFrameLoadDelegate webView:didFinishLoadForFrame:]):
2752         (TestWebKitAPI::TEST):
2753
2754 2016-05-17  Keith Miller  <keith_miller@apple.com>
2755
2756         Add test262 harness support code
2757         https://bugs.webkit.org/show_bug.cgi?id=157797
2758
2759         Reviewed by Filip Pizlo.
2760
2761         The import-test262-tests script is used to generate the yaml file used to run test262. It
2762         takes a path to the local copy of the Test262 repository as well as an optional path to file
2763         containing a list of failures. This script currently just creates the yaml file used to run
2764         the script. It does not relocate the test files into our tests directory. In the future I
2765         plan to add that feature but it didn't seem essential for the first iteration. Since many
2766         test262 tests need to be run in both strict and non-strict mode, import-test262-tests
2767         creates two separate runs for those tests. This enables us to distinguish between failures
2768         in only one of the two modes.
2769
2770         This patch also updates the run-jsc-stress-tests Script to run tests from Test262. In order
2771         to do so two new run commands were needed runTest262 and prepareTest262Fixture. runTest262
2772         takes an actual test file along with the metadata associated with it. prepareTest262Fixture
2773         takes a fixture file (used by module tests for importing) and makes sure that file is
2774         properly relocated to the test runner directory.
2775
2776         The proccess I used to import the tests was to first run import-test262-tests to create a
2777         yaml for all the tests (import-test262-tests assumes all tests pass if to failures file is
2778         passed). Then I ran the generated yaml file with "run-jsc-stress-tests -v -c 1" piping the
2779         output to a file and collected all the lines with "FAIL" in it. Finally, I reran
2780         import-test262-tests with the new failure file to create the final yaml.
2781
2782         * Scripts/import-test262-tests: Added.
2783         * Scripts/run-jsc-stress-tests:
2784
2785 2016-05-16  Enrica Casucci  <enrica@apple.com>
2786
2787         build fix after r200968 and r200969
2788
2789         Unreviewed.
2790
2791         * DumpRenderTree/mac/EventSendingController.mm:
2792         (-[EventSendingController keyDown:withModifiers:withLocation:]):
2793
2794 2016-05-16  Jer Noble  <jer.noble@apple.com>
2795
2796         API test WebKit2.MSEIsPlayingAudio timing out after r200951
2797         https://bugs.webkit.org/show_bug.cgi?id=157748
2798
2799         Reviewed by Eric Carlson.
2800
2801         The file-with-mse.html testcase only calls play() once it's own XHR loading is complete; the
2802         "user gesture" check fails at that point.  Call play() up front; playback will begin as soon
2803         as enough data is loaded.
2804
2805         * TestWebKitAPI/Tests/WebKit2/file-with-mse.html:
2806
2807 2016-05-16  Enrica Casucci  <enrica@apple.com>
2808
2809         Remove unused initializer for WebEvent on iOS.
2810         https://bugs.webkit.org/show_bug.cgi?id=157689
2811
2812         Reviewed by Anders Carlsson.
2813
2814         Adopting different initializer for WebEvent to fix the build.
2815
2816         * DumpRenderTree/mac/EventSendingController.mm:
2817         (-[EventSendingController keyDown:withModifiers:withLocation:]):
2818
2819 2016-05-16  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2820
2821         Add machine-readable results for JSC API tests to the Buildbot json log
2822         https://bugs.webkit.org/show_bug.cgi?id=157642
2823
2824         Reviewed by Geoffrey Garen.
2825
2826         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2827         (RunJavaScriptCoreTests): Use --no-fail-fast option on run-javascriptcore-tests
2828         * Scripts/run-javascriptcore-tests:
2829         (runJSCStressTests): Abstracted out writing JSON to file (new function below)
2830         (writeJsonDataIfApplicable): Added
2831
2832 2016-04-06  Jer Noble  <jer.noble@apple.com>
2833
2834         [WK2] Add API to WKWebViewConfiguration to control autoplay policy.
2835         https://bugs.webkit.org/show_bug.cgi?id=156312
2836
2837         Reviewed by Dan Bernstein.
2838
2839         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2840         (WTR::initializeWebViewConfiguration):
2841         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
2842         (TEST_F):
2843
2844 2016-05-16  Brent Fulgham  <bfulgham@apple.com>
2845
2846         REGRESSION (r192098): Content missing after copy and paste to Notes App on retina displays
2847         https://bugs.webkit.org/show_bug.cgi?id=157630
2848         <rdar://problem/25277577>
2849
2850         Reviewed by Simon Fraser.
2851
2852         Update test infrastructure to support checking the number of images in the pasteboard.
2853
2854         * DumpRenderTree/TestRunner.cpp:
2855         (imageCountInGeneralPasteboardCallback): Added.
2856         (TestRunner::staticFunctions):
2857         * DumpRenderTree/TestRunner.h:
2858         * DumpRenderTree/mac/TestRunnerMac.mm:
2859         (TestRunner::imageCountInGeneralPasteboard): Added.
2860         * DumpRenderTree/win/TestRunnerWin.cpp:
2861         (TestRunner::imageCountInGeneralPasteboard): Added stub method.
2862         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2863         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2864         (WTR::InjectedBundle::imageCountInGeneralPasteboard): Added.
2865         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
2866         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2867         (WTR::TestRunner::imageCountInGeneralPasteboard): Added.
2868         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2869         * WebKitTestRunner/TestController.cpp:
2870         (WTR::TestController::imageCountInGeneralPasteboard): Added stub implementation.
2871         * WebKitTestRunner/TestController.h:
2872         * WebKitTestRunner/TestInvocation.cpp:
2873         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): Handle copy message.
2874         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2875         (WTR::TestController::imageCountInGeneralPasteboard): Added.
2876
2877 2016-05-13  Dewei Zhu  <dewei_zhu@apple.com>
2878
2879         Fix JSBench which causes math domain error in run-benchmark script.
2880         https://bugs.webkit.org/show_bug.cgi?id=157697
2881         <rdar://problem/26279292>
2882
2883         Reviewed by Ryosuke Niwa.
2884
2885         Some tests of JSBench give time usage to be 0 ms which will causes error while calculating geometric mean.
2886         Also fix a round-off error while calculating stdev.
2887
2888         * Scripts/webkitpy/benchmark_runner/benchmark_results.py:
2889         (BenchmarkResults._format_values):
2890         * Scripts/webkitpy/benchmark_runner/data/patches/JSBench.patch:
2891
2892 2016-05-13  Brady Eidson  <beidson@apple.com>
2893
2894         Extend protector naming code style guideline to cover operator= assignment.
2895         https://bugs.webkit.org/show_bug.cgi?id=157693
2896
2897         Reviewed by Darin Adler.
2898
2899         * Scripts/webkitpy/style/checkers/cpp.py:
2900         (check_identifier_name_in_declaration):
2901         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2902         (WebKitStyleTest.test_names):
2903
2904 2016-05-13  Aakash Jain  <aakash_jain@apple.com>
2905
2906         Dashboard code restructuring
2907         https://bugs.webkit.org/show_bug.cgi?id=157680
2908         <rdar://problem/14736888>
2909
2910         Reviewed by Alexey Proskuryakov.
2911
2912         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueView.js:
2913         (BubbleQueueView.prototype.addLinkToRow): Moved to base class.
2914         (BubbleQueueView.prototype.addTextToRow): Moved to base class.
2915         (BubbleQueueView.prototype._addDividerToPopover): Moved to base class.
2916         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js:
2917         (BuildbotBuilderQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
2918         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
2919         (BuildbotCombinedQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
2920         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2921         (BuildbotTesterQueueView.prototype.update): Passing additional argument to _appendPendingRevisionCount.
2922         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js:
2923         (BuildbotQueueView.prototype._appendPendingRevisionCount): Moved to base class and modified to take
2924         additional argument.
2925         (BuildbotQueueView.prototype._popoverLinesForCommitRange): Moved to base class.
2926         (BuildbotQueueView.prototype._presentPopoverForPendingCommits): Moved to base class.
2927         (BuildbotQueueView.prototype._addDividerToPopover): Moved to base class.
2928         (BuildbotQueueView.prototype._formatRevisionForDisplay): Moved to base class.
2929         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js:
2930         (documentReady): Display any customView if available.
2931         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/QueueView.js:
2932         (QueueView.prototype.addLinkToRow): Moved from child class, no changes.
2933         (QueueView.prototype.addTextToRow): Moved from child class, no changes.
2934         (QueueView.prototype._addDividerToPopover): Moved from child class, no changes.
2935         (QueueView.prototype._appendPendingRevisionCount): Moved from child class, made it more generic
2936         by taking latestIterationGetter method as an argument.
2937         (QueueView.prototype._popoverLinesForCommitRange): Moved from child class, no changes.
2938         (QueueView.prototype._presentPopoverForPendingCommits): Moved from child class, no changes.
2939         (QueueView.prototype._formatRevisionForDisplay): Moved from child class, no changes.
2940         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
2941         (a:hover:link): Underline only when there is a link.
2942
2943 2016-05-13  Yoav Weiss  <yoav@yoav.ws>
2944
2945         Turn on WEB_TIMING for all ports
2946         https://bugs.webkit.org/show_bug.cgi?id=157673
2947
2948         Reviewed by Alex Christensen.
2949
2950         * Scripts/webkitperl/FeatureList.pm: Make sure that WEB_TIMING is on by default.
2951
2952 2016-05-13  Brady Eidson  <beidson@apple.com>
2953
2954         Protector Ref/RefPtrs should have a specified naming style.
2955         https://bugs.webkit.org/show_bug.cgi?id=157591
2956
2957         Reviewed by Darin Adler.
2958
2959         * Scripts/webkitpy/style/checkers/cpp.py:
2960         (check_identifier_name_in_declaration):
2961         (CppChecker):
2962         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2963         (WebKitStyleTest.test_names):
2964
2965 2016-05-12  Csaba Osztrogonác  <ossy@webkit.org>
2966
2967         Remove ENABLE(ES6_ARROWFUNCTION_SYNTAX) guards
2968         https://bugs.webkit.org/show_bug.cgi?id=157564
2969
2970         Reviewed by Darin Adler.
2971
2972         * Scripts/webkitperl/FeatureList.pm:
2973         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2974
2975 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
2976
2977         [GTK] accessibility/aria-readonly.html is failing
2978         https://bugs.webkit.org/show_bug.cgi?id=98357
2979
2980         Reviewed by Chris Fleizach.
2981
2982         Add checks to isAttributeSettable() for ATK_STATE_READ_ONLY and the 'readonly'
2983         AtkObject attribute along with ATK_STATE_CHECKABLE for toggle-able elements,
2984         ATK_STATE_SELECTABLE for select elements, and ATK_STATE_FOCUSABLE combined
2985         with range verification for inputs which implement AtkValue. The latter two
2986         additions are admittedly a heuristic workaround for platform accessibility
2987         API differences. But they should be sufficient to facilitate cross-platform
2988         testing of isAttributeSettable() for form elements which lack ARIA attributes.
2989
2990         Bump the minimum version of at-spi2-core and at-spi2-atk
2991         to 2.15.4 (earliest version that supports STATE_READ_ONLY).
2992
2993         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
2994         (WTR::AccessibilityUIElement::isAttributeSettable):
2995         * gtk/jhbuild.modules:
2996
2997 2016-05-10  Ryan Haddad  <ryanhaddad@apple.com>
2998
2999         Another attempt to fix the build after r200668.
3000
3001         Unreviewed build fix.
3002
3003         * TestWebKitAPI/Tests/WebKit2Cocoa/Coding.mm:
3004         (TEST):
3005
3006 2016-05-10  Dan Bernstein  <mitz@apple.com>
3007
3008         Tried to fix the Mac build after r200668.
3009
3010         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3011         (WTR::TestController::platformCreateWebView):
3012
3013 2016-05-10  Sam Weinig  <sam@webkit.org>
3014
3015         Tweak underline style for data detected links
3016         https://bugs.webkit.org/show_bug.cgi?id=157546
3017
3018         Reviewed by Tim Horton.
3019
3020         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3021         * TestWebKitAPI/Tests/WebCore/Color.cpp: Added.
3022         (TestWebKitAPI::TEST):
3023         Add tests for the new Color::getHSV() function.
3024
3025 2016-05-10  Filip Pizlo  <fpizlo@apple.com>
3026
3027         Internal JSC profiler should have a timestamped log of events for each code block
3028         https://bugs.webkit.org/show_bug.cgi?id=157538
3029
3030         Reviewed by Benjamin Poulain.
3031
3032         * Scripts/display-profiler-output:
3033
3034 2016-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
3035
3036         [Linux] Remove seccomp filters support
3037         https://bugs.webkit.org/show_bug.cgi?id=157380
3038
3039         Reviewed by Darin Adler.
3040
3041         * Scripts/webkitperl/FeatureList.pm:
3042         * TestWebKitAPI/PlatformEfl.cmake:
3043         * TestWebKitAPI/PlatformGTK.cmake:
3044         * TestWebKitAPI/Tests/WebKit2/SeccompFilters.cpp: Removed.
3045         * efl/jhbuild.modules:
3046         * gtk/jhbuild.modules:
3047
3048 2016-05-09  Simon Fraser  <simon.fraser@apple.com>
3049
3050         [iOS] visibility:hidden -webkit-overflow-scrolling: touch divs can interfere with page scrolling
3051         https://bugs.webkit.org/show_bug.cgi?id=157496
3052         rdar://problem/22963278
3053
3054         Reviewed by Tim Horton.
3055
3056         Enhance UIScriptController to generate a drag, which is useful for scrolling.
3057
3058         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
3059         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3060         (WTR::UIScriptController::dragFromPointToPoint):
3061         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3062         * WebKitTestRunner/ios/HIDEventGenerator.h:
3063         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3064         (-[HIDEventGenerator dragWithStartPoint:endPoint:duration:completionBlock:]):
3065         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3066         (WTR::UIScriptController::dragFromPointToPoint):
3067
3068 2016-05-09  Simon Fraser  <simon.fraser@apple.com>
3069
3070         Remove testRunner.setTextAutosizingEnabled and migrate the one test that uses it
3071         https://bugs.webkit.org/show_bug.cgi?id=157480
3072
3073         Reviewed by Zalan Bujtas.
3074
3075         Migrate the one test that used testRunner.setTextAutosizingEnabled() to window.internals.settings.setTextAutosizingEnabled()
3076         and move it next to the other iOS text autosizing tests.
3077         
3078         Remove testRunner.setTextAutosizingEnabled(), which was only implemented in DumpRenderTree.
3079
3080         * DumpRenderTree/TestRunner.cpp:
3081         (setTextAutosizingEnabledCallback): Deleted.
3082         (TestRunner::staticFunctions): Deleted.
3083         * DumpRenderTree/mac/TestRunnerMac.mm:
3084         (TestRunner::setTextAutosizingEnabled): Deleted.
3085
3086 2016-05-07  Darin Adler  <darin@apple.com>
3087
3088         Next step on dictionary bindings, along with other bindings refinements
3089         https://bugs.webkit.org/show_bug.cgi?id=157451
3090
3091         Reviewed by Chris Dumez.
3092
3093         * Scripts/do-webcore-rename: Use this to rename JSDOMBuild.h to JSDOMConvert.h.
3094         Also skip test expectations in a directory that this was modifying unnecessarily.
3095
3096 2016-05-06  Simon Fraser  <simon.fraser@apple.com>
3097
3098         Enable IOS_TEXT_AUTOSIZING on Mac and make it testable
3099         https://bugs.webkit.org/show_bug.cgi?id=157432
3100         rdar://problem/16406720
3101
3102         Reviewed by Dean Jackson.
3103
3104         Enable IOS_TEXT_AUTOSIZING on Mac so it can be tested.
3105
3106         Make the setTextAutosizingEnabled() Setting work, and plumb it through WK1 and WK2
3107         preferences for WTR and DRT. Make textAutosizingWindowSizeOverride() work, for layout tests.
3108         These two settings are shared with TEXT_AUTOSIZING.
3109
3110         Add a TextAutosizing log channel, which is useful for generated -expected.html results.
3111
3112         Move adjustComputedFontSizesOnBlocks() and related code from RenderObject to RenderElement
3113         without changes.
3114
3115         An implication of this set of changes is that the way clients enable text autosizing
3116         has changed. Previously, they set the "MinimumZoomFontSize" preference to 0.
3117         Settings::defaultMinimumZoomFontSize() used to do this in order to enable text autosizing
3118         on iPhone only, not iPad.
3119
3120         Now the preferred technique is to leave minimumZoomFontSize alone, and to use textAutosizingEnabled()
3121         instead. Settings::defaultTextAutosizingEnabled() now does the check for iPhone.
3122
3123         UIWebView calls WebKitGetMinimumZoomFontSize() to setup the default minimum font zoom size,
3124         which will now always return 15, but had no other code that toggled this. So it's safe to just rely
3125         on Settings::defaultTextAutosizingEnabled() doing the right thing for iPhone/iPad.
3126
3127         * DumpRenderTree/mac/DumpRenderTree.mm:
3128         (resetWebPreferencesToConsistentValues):
3129         * DumpRenderTree/mac/TestRunnerMac.mm:
3130         (TestRunner::setTextAutosizingEnabled):
3131         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3132         * WebKitTestRunner/ios/TestControllerIOS.mm:
3133         (WTR::TestController::platformResetPreferencesToConsistentValues):
3134
3135 2016-05-06  Dean Jackson  <dino@apple.com>
3136
3137         Regions, Shapes and Tracks don't need runtime features
3138         https://bugs.webkit.org/show_bug.cgi?id=157426
3139         <rdar://problem/26146262>
3140
3141         Reviewed by Simon Fraser.
3142
3143         The following RuntimeEnabledFeatures can be removed since
3144         we have no need to disable them (they are stable and have
3145         shipped for a while):
3146         - CSS Regions
3147         - CSS Shapes
3148         - Media tracks
3149
3150         * DumpRenderTree/mac/DumpRenderTree.mm:
3151         (resetWebPreferencesToConsistentValues): Deleted.
3152
3153 2016-05-06  Ryan Haddad  <ryanhaddad@apple.com>
3154
3155         Increase delay when launching multiple ios-simulators in parallel
3156         https://bugs.webkit.org/show_bug.cgi?id=157422
3157
3158         Reviewed by Alexey Proskuryakov.
3159
3160         Tests are intermittently failing when launching multiple simulators in parallel due to "You are opening
3161         this application for the first time" confirmation dialogs. Increasing the delay to alleviate this issue.
3162
3163         * Scripts/webkitpy/port/ios.py:
3164         (IOSSimulatorPort.setup_test_run):
3165
3166 2016-05-06  Per Arne Vollan  <peavo@outlook.com>
3167
3168         [Win] Remove WinXP support.
3169         https://bugs.webkit.org/show_bug.cgi?id=157416
3170
3171         Reviewed by Brent Fulgham.
3172
3173         * win/DLLLauncher/DLLLauncherMain.cpp:
3174         (enableTerminationOnHeapCorruption):
3175
3176 2016-05-06  Manuel Rego Casasnovas  <rego@igalia.com>
3177
3178         [css-grid] Unprefix CSS Grid Layout properties
3179         https://bugs.webkit.org/show_bug.cgi?id=157137
3180
3181         Reviewed by Simon Fraser.
3182
3183         Remove "-webkit" prefix from all the grid layout properties,
3184         including the display value.
3185         Update the source code to remove the prefix where it was used too.
3186
3187         * TestWebKitAPI/Tests/WebCore/CSSParser.cpp:
3188         (TestWebKitAPI::TEST):
3189
3190 2016-05-05  Alexey Proskuryakov  <ap@apple.com>
3191
3192         Partially revert http://trac.webkit.org/r200504
3193         Improve HTTP test names in WebKitTestRunner's crash report information
3194         https://bugs.webkit.org/show_bug.cgi?id=157389
3195
3196         * WebKitTestRunner/cocoa/CrashReporterInfo.mm: Turns out that we can't have URLs
3197         in crash reporter information.
3198
3199 2016-05-05  Alexey Proskuryakov  <ap@apple.com>
3200
3201         Improve HTTP test names in WebKitTestRunner's crash report information
3202         https://bugs.webkit.org/show_bug.cgi?id=157389
3203
3204         Reviewed by Alex Christensen.
3205
3206         * WebKitTestRunner/InjectedBundle/cocoa/InjectedBundlePageCocoa.mm:
3207         (WTR::InjectedBundlePage::platformDidStartProvisionalLoadForFrame): Added a FIXME.
3208
3209         * WebKitTestRunner/cocoa/CrashReporterInfo.mm:
3210         (WTR::testDescription): Don't bail out if the port is neither 8000 nor 8443; we
3211         use other port numbers too. For http tests, return the complete URL string, not
3212         just the path.
3213
3214 2016-05-04  Alex Christensen  <achristensen@webkit.org>
3215
3216         Blocked redirected main resource requests need descriptive errors
3217         https://bugs.webkit.org/show_bug.cgi?id=156828
3218         rdar://problem/25711316
3219
3220         Reviewed by Daniel Bates.
3221
3222         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3223         (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
3224         Print out the error type to make sure we have the most descriptive error type.
3225
3226 2016-05-05  Enrique Ocaña González  <eocanha@igalia.com>
3227
3228         [GStreamer] Bump internal jhbuild versions to 1.8.0 and patches to support MSE
3229         https://bugs.webkit.org/show_bug.cgi?id=157341
3230
3231         Reviewed by Xabier Rodriguez-Calvar.
3232
3233         * gtk/jhbuild.modules:
3234         * gtk/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added.
3235         * gtk/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added.
3236
3237 2016-05-04  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
3238
3239         Add JSC test results in JSON format to a Buildbot log
3240         https://bugs.webkit.org/show_bug.cgi?id=156920
3241
3242         Reviewed by Daniel Bates.
3243
3244         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3245         (RunJavaScriptCoreTests): Move command-line option for output file out
3246         of WithProperties.
3247
3248 2016-05-04  Dean Jackson  <dino@apple.com>
3249
3250         TestRunner should always enable all the experimental features
3251         https://bugs.webkit.org/show_bug.cgi?id=157360
3252         <rdar://problem/26099748>
3253
3254         Reviewed by Anders Carlsson.
3255
3256         Call the new SPI that enables all the experimental features.
3257
3258         * WebKitTestRunner/TestController.cpp:
3259         (WTR::TestController::resetPreferencesToConsistentValues):
3260
3261 2016-05-04  Mark Lam  <mark.lam@apple.com>
3262
3263         ES6 Function.name inferred from property names of literal objects can break some websites.
3264         https://bugs.webkit.org/show_bug.cgi?id=157246
3265
3266         Reviewed by Geoffrey Garen.
3267
3268         * WebKitTestRunner/TestController.cpp:
3269         (WTR::TestController::resetPreferencesToConsistentValues):
3270         (WTR::updateTestOptionsFromTestHeader):
3271         * WebKitTestRunner/TestOptions.h:
3272
3273         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
3274         (WTR::PlatformWebView::viewSupportsOptions):
3275         * WebKitTestRunner/mac/PlatformWebViewMac.mm:
3276         (WTR::PlatformWebView::viewSupportsOptions):
3277         - Add needsSiteSpecificQuirks to WKTR options that can be set. 
3278
3279 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
3280
3281         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
3282         https://bugs.webkit.org/show_bug.cgi?id=157331
3283
3284         Reviewed by Chris Fleizach.
3285
3286         Add AXLandmarkRegion to the landmark strings handled by roleToString
3287         for objects with ATK_ROLE_LANDMARK.
3288
3289         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3290
3291 2016-05-03  Beth Dakin  <bdakin@apple.com>
3292
3293         Add VideoControlsManager tests
3294         https://bugs.webkit.org/show_bug.cgi?id=157332
3295         -and corresponding-
3296         rdar://problem/24358431
3297
3298         Reviewed by Sam Weinig.
3299
3300         This patch adds three VideoControlsManager tests.
3301
3302         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3303         * TestWebKitAPI/Tests/WebKit/ios/video-with-audio.html:
3304         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Added.
3305         (-[DidPlayMessageHandler initWithWKWebView:]):
3306         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]):
3307         (TestWebKitAPI::TEST):
3308         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html: Added.
3309         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.mp4: Added.
3310         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-without-audio.html: Added.
3311
3312 2016-05-03  Joanmarie Diggs  <jdiggs@igalia.com>
3313
3314         [ATK] accessibility/document-attributes.html is failing
3315         https://bugs.webkit.org/show_bug.cgi?id=125348
3316
3317         Reviewed by Chris Fleizach.
3318
3319         The test was failing because the WebArea is now being exposed with the role of
3320         ATK_ROLE_DOCUMENT_WEB; not ATK_ROLE_DOCUMENT_FRAME. Unfortunately, when that
3321         change was made, documentEncoding() and documentURI() were not updated accordingly.
3322
3323         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3324         (WTR::AccessibilityUIElement::documentEncoding):
3325         (WTR::AccessibilityUIElement::documentURI):
3326
3327 2016-05-03  Brent Fulgham  <bfulgham@apple.com>
3328
3329         [Win] Unreviewed build fix.
3330
3331         * EWSTools/start-queue-win.sh: Establish proper VS2015 build
3332         environment at start of queue run.
3333
3334 2016-05-03  Joanmarie Diggs  <jdiggs@igalia.com>
3335
3336         [ATK] accessibility/content-editable-as-textarea.html fails
3337         https://bugs.webkit.org/show_bug.cgi?id=155353
3338
3339         Reviewed by Darin Adler.
3340
3341         The test was timing out because it expected an AXValueChanged notification.
3342         In ATK, AXValueChanged notifications are made for widgets which implement
3343         the AtkValue interface (sliders, progress bars, etc.). We should be listening
3344         for AXTextChanged instead. AtkText's text-insert and text-remove have been
3345         added to the AccessibilityNotificationHandler.
3346
3347         Also, ATK's AccessibilityUIElement support had a number of unimplemented
3348         methods that are being used as part of the previously-failing test. Those
3349         methods are now implemented so that the ATK results are much more similar
3350         to those on the Mac.
3351
3352         * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
3353         (WTR::AccessibilityNotificationHandler::connectAccessibilityCallbacks):
3354         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3355         (WTR::AccessibilityUIElement::stringAttributeValue):
3356         (WTR::AccessibilityUIElement::rangeForLine):
3357         (WTR::AccessibilityUIElement::boundsForRange):
3358         (WTR::AccessibilityUIElement::attributedStringForRange):
3359
3360 2016-05-02  Brady Eidson  <beidson@apple.com>
3361
3362         Add the ability to accumulate logs for specific logging channels to help diagnose test timeouts.
3363         https://bugs.webkit.org/show_bug.cgi?id=157274
3364
3365         Reviewed by Alex Christensen.
3366
3367         Add the new accumulate method to DRT's TestRunner, dump the accumulated logs if there's a timeout,
3368         and reset them in between tests:
3369         * DumpRenderTree/TestRunner.cpp:
3370         (accummulateLogsForChannel):
3371         (TestRunner::staticFunctions):
3372         (TestRunner::waitToDumpWatchdogTimerFired):
3373         (TestRunner::setAccummulateLogsForChannel):
3374         * DumpRenderTree/TestRunner.h:
3375         * DumpRenderTree/mac/DumpRenderTree.mm:
3376         (resetWebViewToConsistentStateBeforeTesting):
3377
3378         Also add the new method to WKTR's TestRunner, but just stubbed for now:
3379         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3380         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3381         (WTR::TestRunner::accummulateLogsForChannel):
3382         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3383
3384 2016-05-02  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
3385
3386         Add fail-fast option to run-javascriptcore-tests
3387         https://bugs.webkit.org/show_bug.cgi?id=157270
3388
3389         Reviewed by Geoffrey Garen.
3390
3391         * Scripts/run-javascriptcore-tests: Add fail-fast command line option.
3392         Defaults to yes, which is the current behavior.
3393
3394 2016-05-02  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3395
3396         [CMake] MiniBrowser fails to build because libsoup link flags are not defined.
3397         https://bugs.webkit.org/show_bug.cgi?id=157268
3398
3399         Reviewed by Michael Catanzaro.
3400
3401         * MiniBrowser/gtk/CMakeLists.txt:
3402
3403 2016-04-30  Darin Adler  <darin@apple.com>
3404
3405         Streamline and remove unused bindings generation code
3406         https://bugs.webkit.org/show_bug.cgi?id=157237
3407
3408         Reviewed by Chris Dumez.
3409
3410         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
3411         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3412         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3413         Replace non-standard "int" with standard "long", which means the same thing.
3414
3415 2016-04-30  Darin Adler  <darin@apple.com>
3416
3417         Next batch of conversions to use C++ enum class instead of strings for enumerations
3418         https://bugs.webkit.org/show_bug.cgi?id=157232
3419
3420         Reviewed by Chris Dumez.
3421
3422         * Scripts/webkitpy/style/checker.py: Skip the bindings script tests when doing style
3423         checking. We don't want to waste time trying to make our generated code match our style.
3424
3425 2016-04-29  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
3426
3427         Add JSC test results in JSON format to a Buildbot log.
3428         https://bugs.webkit.org/show_bug.cgi?id=156920
3429
3430         Reviewed by Daniel Bates.
3431
3432         Generate JSON results for JSC tests and upload them to the master
3433         using Buildbot's logfiles machinery.
3434
3435         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3436         (RunJavaScriptCoreTests): Use --json-output option when invoking the
3437         run-javascriptcore-tests Perl script, and expose this JSON output as a 
3438         Buildbot log.
3439         * Scripts/run-javascriptcore-tests:
3440         (runJSCStressTests): Change key names and remove redundant count key.
3441
3442 2016-04-29  Joanmarie Diggs  <jdiggs@igalia.com>
3443
3444         [ATK] Expose the value of aria-roledescription via an AtkObject attribute
3445         https://bugs.webkit.org/show_bug.cgi?id=146719
3446
3447         Reviewed by Chris Fleizach.
3448
3449         Implement roleDescription() so that the implementation can be tested.
3450
3451         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3452         (WTR::AccessibilityUIElement::roleDescription):
3453
3454 2016-04-27  Alexey Proskuryakov  <ap@apple.com>
3455
3456         Don't throttle GuardMalloc on 8-core Macs
3457         https://bugs.webkit.org/show_bug.cgi?id=157108
3458
3459         Reviewed by Alex Christensen.
3460
3461         This was making them slower unnecessarily.
3462
3463         * Scripts/webkitpy/port/mac.py: (MacPort.default_child_processes):
3464
3465 2016-04-26  Konstantin Tokarev  <annulen@yandex.ru>
3466
3467         Unreviewed: add myself to the committers list.
3468
3469         * Scripts/webkitpy/common/config/contributors.json:
3470
3471 2016-04-26  Ryosuke Niwa  <rniwa@webkit.org>
3472
3473         Fix text in log files autogenerated by import-w3c-tests
3474         https://bugs.webkit.org/show_bug.cgi?id=157021
3475
3476         Unreviewed. Fixing the second typo.
3477
3478         * Scripts/webkitpy/w3c/test_importer.py:
3479         (TestImporter.write_import_log):
3480
3481 2016-04-26  Filip Pizlo  <fpizlo@apple.com>
3482
3483         WebCore on Mac ignores the user's preferred region (country) while getting the language
3484         https://bugs.webkit.org/show_bug.cgi?id=156993
3485
3486         Reviewed by Geoffrey Garen.
3487
3488         Change the test expectations for this test. If the variant is not explicitly specified in
3489         the AppleLanguage, then we use the locale's country code, which this test assumes is US.
3490
3491         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm:
3492         (TestWebKitAPI::languageForSystemLanguage):
3493         (TestWebKitAPI::TEST):
3494
3495 2016-04-25  Ryosuke Niwa  <rniwa@webkit.org>
3496
3497         Remove the build flag for template elements
3498         https://bugs.webkit.org/show_bug.cgi?id=157022
3499
3500         Reviewed by Daniel Bates.
3501
3502         Removed the build option.
3503
3504         * Scripts/webkitperl/FeatureList.pm:
3505
3506 2016-04-25  Ryosuke Niwa  <rniwa@webkit.org>
3507
3508         Fix text in log files autogenerated by import-w3c-tests
3509         https://bugs.webkit.org/show_bug.cgi?id=157021
3510
3511         Reviewed by Chris Dumez.
3512
3513         s/Webkit/WebKit/ and end each sentence with a period.
3514
3515         * Scripts/webkitpy/w3c/test_importer.py:
3516         (TestImporter.write_import_log):
3517
3518 2016-04-25  Myles C. Maxfield  <mmaxfield@apple.com>
3519
3520         [Cocoa] Guarantee FontPlatformData's m_cgFont is never nullptr
3521         https://bugs.webkit.org/show_bug.cgi?id=156929
3522
3523         Reviewed by Darin Adler.
3524
3525         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
3526         (TestWebKitAPI::TEST):
3527
3528 2016-04-25  Caitlin Potter  <caitp@igalia.com>
3529
3530         [Tools] whitelist all-uppercase JSTokenType enum in JavaScriptCore
3531         https://bugs.webkit.org/show_bug.cgi?id=156976
3532
3533         Reviewed by Darin Adler.
3534
3535         Mitigate style-checker spam on bugs which introduce new JavaScript
3536         token types.
3537
3538         * Scripts/webkitpy/style/checkers/cpp.py:
3539         (_EnumState.__init__):
3540         (_EnumState.process_clean_line):
3541         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3542         (NoNonVirtualDestructorsTest.test_enum_casing):
3543
3544 2016-04-25  Simon Fraser  <simon.fraser@apple.com>
3545
3546         Fix issues with content-animation performance tests
3547         https://bugs.webkit.org/show_bug.cgi?id=157001
3548
3549         Reviewed by Sam Weinig.
3550
3551         Add patch content for svg-animation.html, and fix the paths in the patch so
3552         it applies correctly.
3553
3554         Add the patch file to the .plan file.
3555
3556         * Scripts/webkitpy/benchmark_runner/data/patches/ContentAnimation.patch:
3557         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
3558
3559 2016-04-25  Brady Eidson  <beidson@apple.com>
3560
3561         Tweaking IndexedDB watchlist and adding myself to it.
3562
3563         * Scripts/webkitpy/common/config/watchlist:
3564
3565 2016-04-25  Commit Queue  <commit-queue@webkit.org>
3566
3567         Unreviewed, rolling out r199916.
3568         https://bugs.webkit.org/show_bug.cgi?id=156989
3569
3570         Might break buildbot when master is restarted (Requested by
3571         Srinivasan Vijayaraghava, Guest100, on #webkit).
3572
3573         Reverted changeset:
3574
3575         "Add JSC test results in json format to a buildbot log"
3576         https://bugs.webkit.org/show_bug.cgi?id=156920
3577         http://trac.webkit.org/changeset/199916
3578
3579 2016-04-23  Chris Dumez  <cdumez@apple.com>
3580
3581         [WebIDL] Drop [Default] WebKit-IDL extended attribute
3582         https://bugs.webkit.org/show_bug.cgi?id=156955
3583
3584         Reviewed by Darin Adler.
3585
3586         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
3587
3588 2016-04-23  Csaba Osztrogonác  <ossy@webkit.org>
3589
3590         Really enable INDEXED_DATABASE on Apple Mac cmake build
3591         https://bugs.webkit.org/show_bug.cgi?id=156902
3592
3593         Reviewed by Michael Catanzaro.
3594
3595         * Scripts/webkitperl/FeatureList.pm:
3596
3597 2016-04-23  Andy Estes  <aestes@apple.com>
3598
3599         check-webkit-style: fix false-positive warnings about @synchronized
3600         https://bugs.webkit.org/show_bug.cgi?id=156957
3601
3602         Reviewed by Dan Bernstein.
3603
3604         * Scripts/webkitpy/style/checkers/cpp.py:
3605         (check_spacing_for_function_call): Ignore @synchronized lines.
3606         (check_braces): Ditto.
3607         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
3608         (CppStyleTest.test_brace_at_begin_of_line): Added a test case.
3609
3610 2016-04-22  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
3611
3612         Add JSC test results in json format to a buildbot log
3613         https://bugs.webkit.org/show_bug.cgi?id=156920
3614
3615         Reviewed by Alexey Proskuryakov.
3616
3617         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3618         (RunJavaScriptCoreTests):
3619         Add runtime flag to output json into buildbot
3620         * Scripts/run-javascriptcore-tests:
3621         (runJSCStressTests):
3622         Change key names and remove redundant count key
3623
3624 2016-04-22  Ryan Haddad  <ryanhaddad@apple.com>
3625
3626         Update expected result for WKPreferencesGetOfflineWebApplicationCacheEnabled after r199854
3627
3628         Unreviewed test gardening.
3629
3630         * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
3631         (TestWebKitAPI::TEST):
3632
3633 2016-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3634
3635         [GTK] Enable the download attribute support
3636         https://bugs.webkit.org/show_bug.cgi?id=99025
3637
3638         Reviewed by Žan Doberšek.
3639
3640         * Scripts/webkitperl/FeatureList.pm:
3641
3642 2016-04-21  Keith Miller  <keith_miller@apple.com>
3643
3644         WebScriptObject description swizzler should work in a multi-threaded world
3645         https://bugs.webkit.org/show_bug.cgi?id=156808
3646
3647         Add a test for our NSObject swizzling TLS implementation. The test runs on
3648         two threads. One in JS and another in Objective-C. We expect the JS thread
3649         to use our NSObject description override and the Objective-C thread to act
3650         as though it was using the original NSObject description method.
3651
3