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