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