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