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