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