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