Restore CodeBlock jettison code to jettison when a CodeBlock has been alive for a...
[WebKit-https.git] / Tools / ChangeLog
1 2016-08-04  Saam Barati  <sbarati@apple.com>
2
3         Restore CodeBlock jettison code to jettison when a CodeBlock has been alive for a long time
4         https://bugs.webkit.org/show_bug.cgi?id=151241
5
6         Reviewed by Benjamin Poulain.
7
8         * Scripts/run-jsc-stress-tests:
9
10 2016-08-04  Dean Johnson  <dean_johnson@apple.com>
11
12         UI improvements to Flakiness Dashboard.
13         https://bugs.webkit.org/show_bug.cgi?id=153295
14
15         Reviewed by Alexey Proskuryakov.
16
17         * TestResultServer/static-dashboards/flakiness_dashboard.css:
18         (td.options-container): Center text in most fields.
19         * TestResultServer/static-dashboards/flakiness_dashboard.js:
20         (createBugHTML): Text/Grammar updates.
21         (tableHeaders): Ditto.
22         (htmlForSingleTestRow): Ditto.
23         (headerForTestTableHtml): Ditto.
24         * TestResultServer/static-dashboards/ui.js: Removed the "Group: " and "Test type: " headings.
25         (ui.html.testTypeSwitcher): Deleted. Removes the "Group:" heading.
26
27 2016-08-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
28
29         [GTK] install-dependencies script misses libxslt as build-dependency and some python libs for the run-benchmark script
30         https://bugs.webkit.org/show_bug.cgi?id=160518
31
32         Reviewed by Michael Catanzaro.
33
34         * Scripts/webkitpy/thirdparty/__init__.py:
35         (AutoinstallImportHook._install_twisted): Twisted requires zope.interface.
36         * gtk/install-dependencies:
37
38 2016-08-04  Alexey Proskuryakov  <ap@apple.com>
39
40         Optimize bot watcher's dashboard a little
41         https://bugs.webkit.org/show_bug.cgi?id=160515
42         rdar://problem/26096900
43
44         Reviewed by Lucas Forschler.
45
46         Made re-sorting after loading an iteration more efficient.
47
48         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
49         (BuildbotIteration.prototype._updateWithData):
50         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
51         (BuildbotQueue.prototype.updateIterationPosition):
52
53 2016-08-04  Per Arne Vollan  <pvollan@apple.com>
54
55         [Win] Unable to reliably run tests in parallel
56         https://bugs.webkit.org/show_bug.cgi?id=140914
57
58         Reviewed by Brent Fulgham.
59
60         The cygpath utility function can fail badly when running with multiple DumpRenderTree
61         processes. We can use string replacement to convert the Cygwin path to a Windows path
62         instead.
63  
64         * Scripts/webkitpy/common/system/path.py:
65         (cygpathFast):
66         * Scripts/webkitpy/port/driver.py:
67         (Driver._command_from_driver_input):
68
69 2016-08-03  Aakash Jain  <aakash_jain@apple.com>
70
71         Document instructions for increasing process and file limits
72         https://bugs.webkit.org/show_bug.cgi?id=160528
73         rdar://problem/24777576
74
75         Reviewed by Alexey Proskuryakov.
76
77         * Scripts/webkitpy/port/ios.py:
78         (IOSSimulatorPort.default_child_processes):
79
80 2016-08-03  Anders Carlsson  <andersca@apple.com>
81
82         Remove the Objective-C bindings generator
83         https://bugs.webkit.org/show_bug.cgi?id=160526
84
85         Reviewed by Sam Weinig.
86
87         * Scripts/run-bindings-tests:
88         Update test.
89
90 2016-08-03  Tim Horton  <timothy_horton@apple.com>
91
92         Revise a TestWebKitAPI comment to mention the actual underlying problem
93
94         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
95         Note that this is because of https://bugs.webkit.org/show_bug.cgi?id=160516
96
97 2016-08-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
98
99         Benchmark test content-animation timeouts always
100         https://bugs.webkit.org/show_bug.cgi?id=160057
101
102         Reviewed by Simon Fraser.
103
104         * Scripts/webkitpy/benchmark_runner/data/plans/Skipped: Added.
105         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
106         (start):
107
108 2016-08-02  Nan Wang  <n_wang@apple.com>
109
110         AX: Simulated touch events are not working on iOS
111         https://bugs.webkit.org/show_bug.cgi?id=160395
112         <rdar://problem/27633597>
113
114         Reviewed by Chris Fleizach.
115
116         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
117         (WTR::AccessibilityUIElement::press):
118         (WTR::AccessibilityUIElement::setSelectedChild):
119
120 2016-08-02  Filip Pizlo  <fpizlo@apple.com>
121
122         run-javascriptcore-tests should accept multiple --extra-tests
123         https://bugs.webkit.org/show_bug.cgi?id=160486
124
125         Reviewed by Saam Barati.
126         
127         We want to be able to pass --extra-tests multiple times, to supply an arbitrary number of extra
128         test suites. This does it by using GetOpt::Long's array support.
129
130         * Scripts/run-javascriptcore-tests:
131         (runJSCStressTests):
132
133 2016-08-02  Enrica Casucci  <enrica@apple.com>
134
135         Allow building with content filtering disabled.
136         https://bugs.webkit.org/show_bug.cgi?id=160454
137
138         Reviewed by Simon Fraser.
139
140         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
141
142 2016-08-02  Brady Eidson  <beidson@apple.com>
143
144         Removing IndexedDB WebsiteData can fail for some users.
145         https://bugs.webkit.org/show_bug.cgi?id=160463
146
147         Reviewed by Alex Christensen.
148
149         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm:
150
151 2016-08-01  Alex Christensen  <achristensen@webkit.org>
152
153         _WKDownloadDelegate.didReceiveResponse should be called before decideDestinationWithSuggestedFilename
154         https://bugs.webkit.org/show_bug.cgi?id=160437
155         <rdar://problem/27578272>
156
157         Reviewed by Brady Eidson.
158
159         * TestWebKitAPI/Tests/WebKit2Cocoa/Download.mm:
160         (-[DownloadDelegate _download:didReceiveResponse:]):
161         (-[DownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
162         (runTest):
163         Add a boolean to make sure that didReceiveResponse is called before decideDestinationWithSuggestedFilename.
164
165 2016-08-01  Carlos Alberto Lopez Perez  <clopez@igalia.com>
166
167         [Tools] The GDB backtrace report tool don't checks the gdb return code.
168         https://bugs.webkit.org/show_bug.cgi?id=160414
169
170         Reviewed by Michael Catanzaro.
171
172         * Scripts/webkitpy/port/linux_get_crash_log.py:
173         (GDBCrashLogGenerator._wait_for_corefile):
174
175 2016-08-01  Youenn Fablet  <youenn@apple.com>
176
177         Make wpt server generate its certificates in layout test results folder
178         https://bugs.webkit.org/show_bug.cgi?id=160422
179
180         Reviewed by Chris Dumez.
181
182         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
183         (WebPlatformTestServer._copy_webkit_test_files): Setting certificate folder to layout tests results directory.
184
185 2016-08-01  Jonathan Bedard  <jbedard@apple.com>
186
187         Function Call on NULL Object
188         https://bugs.webkit.org/show_bug.cgi?id=160325
189
190         Reviewed by Darin Adler.
191
192         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
193         (WTR::InjectedBundle::didReceiveMessageToPage): Changed removeAllWebNotificationPermissions() call to static function call.
194         * WebKitTestRunner/InjectedBundle/TestRunner.h: Made all web-notification functions static.
195
196 2016-08-01  Keith Miller  <keith_miller@apple.com>
197
198         We should not keep the JavaScript tests inside the Source/JavaScriptCore/ directory.
199         https://bugs.webkit.org/show_bug.cgi?id=160372
200
201         Rubber stamped by Geoffrey Garen.
202
203         This patch moves all the JavaScript tests from Source/JavaScriptCore/tests to
204         a new top level directory, JSTests. Having the tests in the Source directory
205         was both confusing an inconvenient for people that just want to checkout the
206         source code of WebKit. Since there is no other obvious place to put all the
207         JavaScript tests a new top level directory seemed the most sensible.
208
209         * Scripts/import-test262-tests:
210         * Scripts/run-javascriptcore-tests:
211         * Scripts/update-javascriptcore-test-res:
212
213 2016-07-31  Nan Wang  <n_wang@apple.com>
214
215         AX: Add a check for touch event listener on iOS accessibility object
216         https://bugs.webkit.org/show_bug.cgi?id=160388
217
218         Reviewed by Chris Fleizach.
219
220         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
221         (AccessibilityUIElement::boolAttributeValue):
222         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
223         (WTR::AccessibilityUIElement::boolAttributeValue):
224
225 2016-07-30  Manuel Rego Casasnovas  <rego@igalia.com>
226
227         Unreviewed: add myself to the reviewers list.
228
229         * Scripts/webkitpy/common/config/contributors.json:
230
231 2016-07-29  Alexey Proskuryakov  <ap@apple.com>
232
233         Undo r203939, and copy over a rule that clips the logos.
234
235         Sierra wasn't the only logo without transparency.
236
237         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra.png:
238         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra@2x.png:
239         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
240
241 2016-07-29  Alan Sien Wei Hshieh  <hshieh@apple.com>
242
243         The Sierra asset at build.webkit.org/dashboard/images/Sierra*.png has a white background
244         https://bugs.webkit.org/show_bug.cgi?id=160377
245
246         Reviewed by Brian Weinstein.
247
248         Update assets to remove the white background and use a transparent background instead.
249
250         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra.png:
251         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra@2x.png:
252
253 2016-07-29  David Kilzer  <ddkilzer@apple.com>
254
255         Ignore most check-webkit-style checks for ANGLE project
256         <https://webkit.org/b/160333>
257
258         Reviewed by Daniel Bates.
259
260         * Scripts/webkitpy/style/checker.py: Ignore all checkers except:
261         - No tabs.
262         - No spaces at the end of lines.
263         - No carriage returns (DOS line endings).
264
265 2016-07-29  Wenson Hsieh  <wenson_hsieh@apple.com>
266
267         Media controls are not displayed for some autoplaying videos at certain browser dimensions
268         https://bugs.webkit.org/show_bug.cgi?id=160360
269         <rdar://problem/27179484>
270
271         Reviewed by Myles C. Maxfield.
272
273         Adds two tests verifying that videos may be considered main content as long as they
274         are large enough and cover a majority of the mainframe's viewport.
275
276         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
277         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
278         (TestWebKitAPI::TEST):
279         * TestWebKitAPI/Tests/WebKit2Cocoa/full-size-autoplaying-video-with-audio.html: Added.
280         * TestWebKitAPI/Tests/WebKit2Cocoa/skinny-autoplaying-video-with-audio.html: Added.
281
282 2016-07-29  Mark Lam  <mark.lam@apple.com>
283
284         Gardening: removed unused variable.
285
286         Not reviewed.
287
288         * TestWebKitAPI/Tests/WTF/StringView.cpp:
289         (TestWebKitAPI::TEST):
290
291 2016-07-29  Wenson Hsieh  <wenson_hsieh@apple.com>
292
293         Add TestWebKitAPI support for interacting with media controls
294         https://bugs.webkit.org/show_bug.cgi?id=160342
295         <rdar://problem/27610246>
296
297         Reviewed by Beth Dakin.
298
299         Adds support for testing interaction with some media controls, as well as a basic test
300         verifying that media control teardown after interaction does not result in a crash.
301
302         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
303         (-[WKWebView mouseDownAtPoint:]):
304         (-[WKWebView performAfterLoading:]):
305         (TestWebKitAPI::TEST):
306
307 2016-07-29  Jonathan Bedard  <jbedard@apple.com>
308
309         Crash Log Clobbering on Unbound Crashes
310         https://bugs.webkit.org/show_bug.cgi?id=160198
311         <rdar://problem/27472618>
312
313         Reviewed by Alexey Proskuryakov.
314
315         * Scripts/webkitpy/common/system/crashlogs.py:
316         (CrashLogs): Fix header order.
317         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
318         (TestResultWriter.output_filename): Only remove file extension if it is clearly a file extension.
319
320 2016-07-29  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
321
322         Update for contributors.json
323         https://bugs.webkit.org/show_bug.cgi?id=160294
324
325         * Scripts/webkitpy/common/config/contributors.json:
326
327 2016-07-28  Myles C. Maxfield  <mmaxfield@apple.com>
328
329         Remove deprecated SPI for video inline / fullscreen controls
330         https://bugs.webkit.org/show_bug.cgi?id=160318
331
332         Reviewed by Tim Horton.
333
334         * DumpRenderTree/mac/DumpRenderTree.mm:
335         (setDefaultsToConsistentValuesForTesting): Deleted.
336         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
337         (RequiresUserActionForPlaybackTest::SetUp): Deleted.
338         * WebKitTestRunner/TestController.cpp:
339         (WTR::TestController::resetPreferencesToConsistentValues): Deleted.
340         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
341         (WTR::initializeWebViewConfiguration): Deleted.
342
343 2016-07-28  Daniel Bates  <dabates@apple.com>
344
345         [iOS] TestWebKitAPI bundle targets are not code signed
346         https://bugs.webkit.org/show_bug.cgi?id=160328
347         <rdar://problem/27409246>
348
349         Reviewed by Andy Estes.
350
351         Workaround <rdar://problem/27459890> by explicitly defining Xcode build settings
352         CODE_SIGNING_ALLOWED and AD_HOC_CODE_SIGNING_ALLOWED to be YES so as to allow the
353         the TestWebKitAPI bundle targets to be code signed when building for the iOS simulator.
354
355         * TestWebKitAPI/Configurations/Base.xcconfig:
356
357 2016-07-28  Tim Horton  <timothy_horton@apple.com>
358
359         Disable WebKit2.ResizeWithHiddenContentDoesNotHang for now
360
361         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
362         (animatedResizeWebView):
363         (TEST):
364         This test times out only when run in the WebKit Testing simulator environment,
365         but not in a fresh simulator. Disabling to keep the bots green while under investigation.
366
367 2016-07-28  Tim Horton  <timothy_horton@apple.com>
368
369         Frequent animation lags when interacting with Safari (sidebar, tab switching, etc.)
370         https://bugs.webkit.org/show_bug.cgi?id=160289
371         <rdar://problem/27553464>
372
373         Reviewed by Simon Fraser.
374
375         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
376         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
377         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm: Added.
378         (-[AnimatedResizeNavigationDelegate _webView:renderingProgressDidChange:]):
379         (-[AnimatedResizeWebView _endAnimatedResize]):
380         (animatedResizeWebView):
381         (TEST):
382         * TestWebKitAPI/Tests/WebKit2Cocoa/blinking-div.html: Added.
383         Add two tests that ensure that hidden-content and animated resizes
384         don't cause unnecessary synchronous waits. Only the hidden-content
385         one fails before my patch, but it seemed reasonable to add both anyway.
386
387 2016-07-28  David Kilzer  <ddkilzer@apple.com>
388
389         webkit-patch upload --suggest-reviewers shouldn't break in the presence of deleted or moved files
390         <https://webkit.org/b/83342>
391
392         Reviewed by Ryosuke Niwa.
393
394         * Scripts/webkitpy/common/checkout/scm/git.py:
395         (Git.revisions_changing_file): Remove code to raise an exception
396         when the file doesn't exist.  If a file was moved or renamed,
397         then this caused the script to terminate, which was very
398         frustrating when you wanted a list of reviewers.
399         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
400         (SCMTest._shared_test_revisions_changing_file): Update test
401         expectation to return an empty list of revisions.
402         (test_create_patch_is_full_patch): Drive-by fix when running all
403         webkitpy tests (including scm tests).
404         * Scripts/webkitpy/common/checkout/scm/svn.py:
405         (SVN.revisions_changing_file): Catch ScriptError exceptions and
406         return an empty array of revisions if this occurs.
407
408 2016-07-28  Aakash Jain  <aakash_jain@apple.com>
409
410         EWS error message "Error: * did not process patch" should include explanation
411         https://bugs.webkit.org/show_bug.cgi?id=159903
412         <rdar://problem/27410788>
413
414         Reviewed by Alexey Proskuryakov.
415
416         * QueueStatusServer/handlers/statusbubble.py:
417         (StatusBubble._build_bubble): Display more detailed error message on bubbles when patch
418         is not processed.
419         * QueueStatusServer/handlers/processingtimesjson.py:
420         (ProcessingTimesJSON._resultFromFinalStatus): Updated error message to match with rest
421         of the code.
422         * Scripts/webkitpy/tool/bot/commitqueuetask.py:
423         (CommitQueueTask.validate): Add more information about validation failure.
424         (CommitQueueTask.run): Pass the error details in the PatchIsNotValid exception.
425         * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py:
426         (EarlyWarningSystemTask.validate): Add more information about validation failure.
427         (EarlyWarningSystemTask.run): Pass the error details in the PatchIsNotValid exception.
428         * Scripts/webkitpy/tool/bot/patchanalysistask.py:
429         (PatchIsNotValid.__init__): Add the failure_message argument.
430         * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
431         (AbstractEarlyWarningSystem.review_patch): Re-word the error message and include
432         failure details.
433         * Scripts/webkitpy/tool/commands/queues.py:
434         (CommitQueue.process_work_item): Same.
435         (StyleQueue.review_patch): Same.
436         * Scripts/webkitpy/tool/commands/queues_unittest.py:
437         (test_non_valid_patch): Updated test-cases messages to match the above changes.
438
439 2016-07-27  Alexey Proskuryakov  <ap@apple.com>
440
441         LayoutTestRelay should wait for WebKitTestRunnerApp installation to complete
442         https://bugs.webkit.org/show_bug.cgi?id=160262
443
444         Reviewed by Daniel Bates.
445
446         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
447         (-[LTRelayController installApp]):
448
449 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
450
451         Disable WebCoreNSURLSessionTest API tests on ios-simulator
452         https://bugs.webkit.org/show_bug.cgi?id=160225
453
454         Reviewed by Alexey Proskuryakov.
455
456         * TestWebKitAPI/Tests/WebCore/WebCoreNSURLSession.mm:
457
458 2016-07-27  Miguel Gomez  <magomez@igalia.com>
459
460         [GTK] Fix some video/canvas tests that should be passing
461         https://bugs.webkit.org/show_bug.cgi?id=160023
462
463         Reviewed by Carlos Garcia Campos.
464
465         Add a platform identifier to the TestRunner's page user agent when the tests are run on the
466         EFL or GTK platforms.
467
468         * WebKitTestRunner/efl/TestControllerEfl.cpp:
469         (WTR::TestController::platformConfigureViewForTest):
470         * WebKitTestRunner/gtk/TestControllerGtk.cpp:
471         (WTR::TestController::platformConfigureViewForTest):
472
473 2016-07-27  Carlos Alberto Lopez Perez  <clopez@igalia.com>
474
475         [Tools] The built product doesn't contains the dwo files when DEBUG_FISSION is enabled.
476         https://bugs.webkit.org/show_bug.cgi?id=160247
477
478         Reviewed by Michael Catanzaro.
479
480         * BuildSlaveSupport/built-product-archive:
481         (createZip):
482         (dirContainsdwo):
483         (archiveBuiltProduct):
484
485 2016-07-26  Alex Christensen  <achristensen@webkit.org>
486
487         Fix tests after r203743.
488         https://bugs.webkit.org/show_bug.cgi?id=156947
489
490         * WebKitTestRunner/TestController.cpp:
491         (WTR::TestController::resetStateToConsistentValues):
492         Reset the new boolean m_rejectsProtectionSpaceAndContinueForAuthenticationChallenges.
493
494 2016-07-26  Myles C. Maxfield  <mmaxfield@apple.com>
495
496         [iPhone] Playing a video on tudou.com plays only sound, no video
497         https://bugs.webkit.org/show_bug.cgi?id=160178
498         <rdar://problem/27535468>
499
500         Reviewed by Dan Bernstein.
501
502         * DumpRenderTree/mac/DumpRenderTree.mm:
503         (setDefaultsToConsistentValuesForTesting):
504         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
505         (RequiresUserActionForPlaybackTest::SetUp):
506         * WebKitTestRunner/TestController.cpp:
507         (WTR::TestController::resetPreferencesToConsistentValues):
508         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
509         (WTR::initializeWebViewConfiguration):
510
511 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
512
513         Allow LOG macros to be used outside the namespace, and other logging cleanup
514         https://bugs.webkit.org/show_bug.cgi?id=160216
515
516         Reviewed by Anders Carlsson.
517         
518         initializeLoggingChannelsIfNecessary -> initializeLogChannelsIfNecessary
519
520         * DumpRenderTree/TestRunner.cpp:
521         * DumpRenderTree/mac/DumpRenderTree.mm:
522         (resetWebViewToConsistentStateBeforeTesting):
523
524 2016-07-26  David Kilzer <ddkilzer@apple.com>
525
526         Networking process crash due to missing -[WebCoreAuthenticationClientAsChallengeSender performDefaultHandlingForAuthenticationChallenge:] implementation
527         https://bugs.webkit.org/show_bug.cgi?id=156947
528         <rdar://problem/23325160>
529
530         Reviewed by Alex Christensen.
531
532         * DumpRenderTree/TestRunner.cpp:
533         (TestRunner::TestRunner):
534         (setRejectsProtectionSpaceAndContinueForAuthenticationChallengesCallback):
535         * DumpRenderTree/TestRunner.h:
536         (TestRunner::rejectsProtectionSpaceAndContinueForAuthenticationChallenges):
537         (TestRunner::setRejectsProtectionSpaceAndContinueForAuthenticationChallenges):
538         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
539         (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
540         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
541         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
542         (WTR::TestRunner::queueNonLoadingScript):
543         (WTR::TestRunner::setRejectsProtectionSpaceAndContinueForAuthenticationChallenges):
544         * WebKitTestRunner/InjectedBundle/TestRunner.h:
545         * WebKitTestRunner/TestController.cpp:
546         (WTR::TestController::didReceiveAuthenticationChallenge):
547         * WebKitTestRunner/TestController.h:
548         (WTR::TestController::setRejectsProtectionSpaceAndContinueForAuthenticationChallenges):
549         * WebKitTestRunner/TestInvocation.cpp:
550         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
551         Add TestRunner.setRejectsProtectionSpaceAndContinueForAuthenticationChallenges to use for testing.
552
553 2016-07-26  David Kilzer  <ddkilzer@apple.com>
554
555         check-for-exit-time-destructors should be usable outside Xcode
556         <https://webkit.org/b/160195>
557
558         Reviewed by Darin Adler.
559
560         * Scripts/check-for-exit-time-destructors: Update to parse
561         -h|--help switch, or to take one argument to a binary to check
562         for exit time destructors on the command-line.  The clang
563         compiler will find these at compile-time with the
564         -Wexit-time-destructors switch, but this script will check for
565         them after-the-fact.
566
567 2016-07-26  Lucas Forschler  <lforschler@apple.com>
568
569         Test svn.webkit.org functionality after maintenance.
570
571 2016-07-25  Brady Eidson  <beidson@apple.com>
572
573         Modern IDB: Make sure IndexedDB works from file:// url documents by default
574         https://bugs.webkit.org/show_bug.cgi?id=153783
575
576         Reviewed by Alex Christensen.
577
578         Previously, to grant IndexedDB access to file:// urls for testing purposes, 
579         we had to call the SPI [WKWebViewConfiguration _setAllowUniversalAccessFromFileURLs:].
580         
581         As of https://trac.webkit.org/changeset/203695 this is no longer required.
582         
583         Change the relevant API tests to make sure this continues to be no longer required.
584
585         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm:
586         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
587         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
588         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
589         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm:
590         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
591
592 2016-07-25  Wenson Hsieh  <wenson_hsieh@apple.com>
593
594         Media controls should not be displayed for a video until it starts playing
595         https://bugs.webkit.org/show_bug.cgi?id=160092
596         <rdar://problem/26986673>
597
598         Reviewed by Beth Dakin.
599
600         Verify that multiple videos do or don't show the media controller depending on whether videos
601         are playing. Also tweaks an existing API test (VideoControlsManagerSingleLargeVideo) that was
602         passing because we were always showing media controls for large videos with audio, even if they
603         had not played back yet. This change ensures that large videos with audio show media controls
604         only after they begin to play back, and not by virtue of being large enough for main content.
605
606         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
607         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
608         (TestWebKitAPI::TEST):
609         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-with-audio.html:
610         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio-autoplay.html: Added.
611         * TestWebKitAPI/Tests/WebKit2Cocoa/large-videos-with-audio.html: Added.
612
613 2016-07-25  Wenson Hsieh  <wenson_hsieh@apple.com>
614
615         Media controls on apple.com don't disappear when movie finishes playing
616         https://bugs.webkit.org/show_bug.cgi?id=160068
617         <rdar://problem/26668526>
618
619         Reviewed by Darin Adler.
620
621         Adds new API tests. Please see WebCore ChangeLog for more details.
622
623         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
624         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
625         (-[MediaPlaybackMessageHandler initWithWKWebView:finalMessageString:]):
626         (-[MediaPlaybackMessageHandler userContentController:didReceiveScriptMessage:]):
627         (TestWebKitAPI::TEST):
628         (-[DidPlayMessageHandler initWithWKWebView:]): Deleted.
629         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]): Deleted.
630         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-hides-controls-after-seek-to-end.html: Added.
631         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-after-ending.html: Added.
632         * TestWebKitAPI/Tests/WebKit2Cocoa/large-video-seek-to-beginning-and-play-after-ending.html: Added.
633
634 2016-07-25  Philippe Normand  <pnormand@igalia.com>
635
636         Unreviewed, fix test-webkitpy after r203674.
637
638         * Scripts/webkitpy/port/linux_get_crash_log_unittest.py:
639         (GDBCrashLogGeneratorTest.test_generate_crash_log):
640
641 2016-07-24  Philippe Normand  <pnormand@igalia.com>
642
643         Unreviewed, forgot to commit this file in r203674.
644
645         * Scripts/process-linux-coredump: Added.
646         (main):
647
648 2016-07-25  Philippe Normand  <pnormand@igalia.com>
649
650         Improve GDB backtrace generation for GTK/EFL
651         https://bugs.webkit.org/show_bug.cgi?id=128928
652
653         Reviewed by Carlos Garcia Campos.
654
655         The PID of the crashed process is now correctly supplied to the
656         crash log reporter. The kernel core_pattern needs to be updated
657         after this change to something like:
658
659         echo "|/home/phil/WebKit/Tools/Scripts/process-linux-coredump /tmp/core-pid_%p.dump" > /proc/sys/kernel/core_pattern
660
661         * Scripts/process-linux-coredump: Added.
662         (main): Minimal python script reading coredump data on stdin and writing it to a file in /tmp/.
663         * Scripts/webkitpy/port/efl.py:
664         (EflPort._get_crash_log): Supply path of the process-linux-coredump script.
665         * Scripts/webkitpy/port/gtk.py:
666         (GtkPort._get_crash_log): Ditto.
667         * Scripts/webkitpy/port/linux_get_crash_log.py:
668         (GDBCrashLogGenerator.__init__): New argument for supplying the path of a coredump processor script.
669         (GDBCrashLogGenerator.generate_crash_log): Update error message, the core_pattern should now be set to pipe coredumps to a script.
670         (GDBCrashLogGenerator): Deleted.
671         * Scripts/webkitpy/port/linux_get_crash_log_unittest.py:
672         (GDBCrashLogGeneratorTest.test_generate_crash_log): Update test expectations.
673         * WebKitTestRunner/TestController.cpp:
674         (WTR::TestController::networkProcessDidCrash): Supply PID of crash process.
675         (WTR::TestController::databaseProcessDidCrash): Ditto.
676         (WTR::TestController::processDidCrash): Ditto.
677
678 2016-07-23  Youenn Fablet  <youenn@apple.com>
679
680         WPT stash server should be kept running when launching wpt server
681         https://bugs.webkit.org/show_bug.cgi?id=160052
682
683         Reviewed by Sam Weinig.
684
685         * Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
686         (main): waiting to read stdin while stash server is started.
687
688 2016-07-22  Wenson Hsieh  <wenson_hsieh@apple.com>
689
690         Media controls should be displayed for media in media documents
691         https://bugs.webkit.org/show_bug.cgi?id=160104
692         <rdar://problem/27438936>
693
694         Reviewed by Myles C. Maxfield.
695
696         Verifies that even a small video with audio in a media document gets media controls.
697
698         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
699         (TestWebKitAPI::TEST):
700
701 2016-07-22  Michael Saboff  <msaboff@apple.com>
702
703         REGRESSION(203616): no FTL testing was inadvertently removed
704         https://bugs.webkit.org/show_bug.cgi?id=160100
705
706         Rubber-stamped by Filip Pizlo.
707
708         Added runNoFTL back into the set of tests we run on FTL enabled platforms.
709         Renamed runLayoutTestNoFTL to runLayoutTestDefault.  Restructured the test
710         logic for the runLayout and runNoisy variants to match the run test logic,
711         that is we always invoke runXXXDefault and invoke runXXXNoFTL for FTL
712         enabled platforms.
713
714         * Scripts/run-jsc-stress-tests:
715
716 2016-07-22  Brady Eidson  <beidson@apple.com>
717
718         Removing IndexedDatabases that have stored blobs doesn't remove the blob files.
719         https://bugs.webkit.org/show_bug.cgi?id=160089
720
721         Reviewed by Darin Adler.
722
723         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
724         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobThenDelete.mm: Added.
725         * TestWebKitAPI/Tests/WebKit2Cocoa/StoreBlobToBeDeleted.html: Added.
726
727 2016-07-22  Konstantin Tokarev  <annulen@yandex.ru>
728
729         [GTK] Improved exclusion patterns in make-dist.py manifest.
730         https://bugs.webkit.org/show_bug.cgi?id=160094
731
732         Reviewed by Michael Catanzaro.
733
734         * gtk/manifest.txt.in:
735         Exclude Platform*.cmake files for more ports.
736         Removed obsolete .gyp and .pro.user patterns.
737         Exclude 'Configurations' and 'spi' directories.
738         Exclude CMakeLists.txt.user (Qt Creator IDE).
739
740 2016-07-22  Michael Saboff  <msaboff@apple.com>
741
742         Don't run FTL related JSC stress tests on non-FTL platforms
743         https://bugs.webkit.org/show_bug.cgi?id=160033
744
745         Reviewed by Mark Lam.
746
747         Added check for running tests on platforms that don't enable FTL to not run FTL tests.
748         Refactored several of the runXXX test methods to always runXXXDefault and made those
749         runXXXDefault to pass FTL_OPTIONS.  For platforms that don't enable the FTL, FTL_OPTIONS
750         doesn't cause a problem.
751
752         * Scripts/run-jsc-stress-tests:
753
754 2016-07-22  Per Arne Vollan  <pvollan@apple.com>
755
756         IWebView::mainFrame crashes if called after IWebView::close
757         https://bugs.webkit.org/show_bug.cgi?id=32868
758
759         Reviewed by Brent Fulgham.
760
761         * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
762         (TestWebKitAPI::TEST_F): Added test.
763
764 2016-07-22  Carlos Garcia Campos  <cgarcia@igalia.com>
765
766         [GTK] Enable threaded compositor by default
767         https://bugs.webkit.org/show_bug.cgi?id=160079
768
769         Reviewed by Žan Doberšek.
770
771         * Scripts/webkitperl/FeatureList.pm:
772
773 2016-07-22  Youenn Fablet  <youenn@apple.com>
774
775         run-builtins-generator-tests should be able to test WebCore builtins wrapper with more than one file
776         https://bugs.webkit.org/show_bug.cgi?id=159921
777
778         Reviewed by Brian Burg.
779
780         Updated builtin generator test runner to generate WebCore wrapper files based on all WebCore valid separate files.
781
782         * Scripts/webkitpy/codegen/main.py:
783         (BuiltinsGeneratorTests.generate_from_js_builtins): Passing a list of builtin files to the script.
784         (BuiltinsGeneratorTests):
785         (BuiltinsGeneratorTests.single_builtin_test): Added to handle the case of single builtin generation.
786         (BuiltinsGeneratorTests.wrappers_builtin_test): Added to handle the case of WebCore wrappers builtin generation.
787         (BuiltinsGeneratorTests.run_test): Helper routine to run a test in reset mode or normal check mode.
788         (BuiltinsGeneratorTests.run_tests): Updated to add WebCore wrappers builtin generation test.
789
790 2016-07-21  Dan Bernstein  <mitz@apple.com>
791
792         [Mac] webkitdirs.pm contains unused code to support outdated OS X and Xcode versions
793         https://bugs.webkit.org/show_bug.cgi?id=160072
794
795         Reviewed by Andy Estes.
796
797         * Scripts/webkitdirs.pm:
798         (readXcodeUserDefault): Changed to take a defaults key rather than a suffix. Removed support
799           for old Xcode versions.
800         (determineBaseProductDir): Removed support for old Xcode versions. Updated for the change
801           to readXcodeUserDefault.
802         (debugger): Deleted. This was only used for Darwin, where LLDB is now the only supported
803           debugger.
804         (determineDebugger): Ditto.
805         (checkRequiredSystemConfig): Updated to require at least OS X Yosemite v10.10.5 and Xcode
806           7.0.
807         (printHelpAndExitForRunAndDebugWebKitAppIfNeeded): Removed --use-gdb and --use-lldb
808           switches.
809         (execMacWebKitAppForDebugging): Removed support for GDB.
810
811 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
812
813         Remove support for deprecated SPI inlineMediaPlaybackRequiresPlaysInlineAttribute
814         https://bugs.webkit.org/show_bug.cgi?id=160066
815
816         Reviewed by Dean Jackson.
817
818         * DumpRenderTree/mac/DumpRenderTree.mm:
819         (setDefaultsToConsistentValuesForTesting): Deleted.
820         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
821         (RequiresUserActionForPlaybackTest::SetUp): Deleted.
822         * WebKitTestRunner/TestController.cpp:
823         (WTR::TestController::resetPreferencesToConsistentValues): Deleted.
824         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
825         (WTR::initializeWebViewConfiguration): Deleted.
826
827 2016-07-21  Chelsea Pugh  <cpugh@apple.com>
828
829         [iOS] Apps using WKWebView will crash if they set the scroll view's delegate and don't nil it out later
830         https://bugs.webkit.org/show_bug.cgi?id=159980
831         rdar://problem/27450825
832
833         Reviewed by Dan Bernstein.
834
835         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
836         * TestWebKitAPI/Tests/ios/WKScrollViewDelegateCrash.mm: Added.
837         (-[TestDelegateForScrollView dealloc]): Update delegateIsDeallocated to true so that we can tell
838         when our delegate has hit -dealloc.
839         (TestWebKitAPI::TEST): Ensure that after an object has been set as the scroll view's delegate,
840         and has then been deallocated, that the scroll view's delegate is nil and the deallocated delegate
841         will not be messaged.
842
843 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
844
845         Follow-up patch to r203520
846         https://bugs.webkit.org/show_bug.cgi?id=159967
847         <rdar://problem/26964090>
848
849         Unreviewed.
850
851         * DumpRenderTree/mac/DumpRenderTree.mm:
852         (setDefaultsToConsistentValuesForTesting):
853         * WebKitTestRunner/TestController.cpp:
854         (WTR::TestController::resetPreferencesToConsistentValues):
855
856 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
857
858         [iPhone] Playing a video on tudou.com plays only sound, no video
859         https://bugs.webkit.org/show_bug.cgi?id=159967
860         <rdar://problem/26964090>
861
862         Reviewed by Jon Lee, Jeremy Jones, and Anders Carlsson.
863
864         Migrate tests to use new SPI.
865
866         * TestWebKitAPI/Tests/WebKit2Cocoa/RequiresUserActionForPlayback.mm:
867         (RequiresUserActionForPlaybackTest::SetUp):
868         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
869         (WTR::initializeWebViewConfiguration):
870
871 2016-07-21  Csaba Osztrogonác  <ossy@webkit.org>
872
873         Clarify testing mode names in run-jsc-stress-tests
874         https://bugs.webkit.org/show_bug.cgi?id=160021
875
876         Reviewed by Mark Lam.
877
878         Default should mean really default, not default with disabled FTL, renamed
879         - runMozillaTestDefault to runMozillaTestNoFTL
880         - runMozillaTestDefaultFTL to runMozillaTestDefault
881         - runDefault to runNoFTL
882         - runDefaultFTL to runDefault
883         - runLayoutTestDefault to runLayoutTestNoFTL
884         - runLayoutTestDefaultFTL to runLayoutTestDefault
885         - runNoisyTestDefault to runNoisyTestNoFTL
886         - runNoisyTestDefaultFTL to runNoisyTestDefault
887
888         * Scripts/run-jsc-stress-tests:
889
890 2016-07-21  Yongjun Zhang  <yongjun_zhang@apple.com>
891
892         WebBackForwardList's currentIndex could get out of bounds when filtering items.
893         https://bugs.webkit.org/show_bug.cgi?id=159986
894
895         Add a test to verify filtering out 2 items from a 3-item list will set the currentIndex
896         to 0.
897
898         Reviewed by Dan Bernstein.
899
900         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
901         * TestWebKitAPI/Tests/WebKit2/WKBackForwardList.mm: Added.
902         (-[WKBackForwardListTestNavigationDelegate webView:didFinishNavigation:]):
903         (TEST):
904
905 2016-07-21  Carlos Garcia Campos  <cgarcia@igalia.com>
906
907         [GTK] Web view background colors don't work in accelerated compositing mode
908         https://bugs.webkit.org/show_bug.cgi?id=159455
909
910         Reviewed by Michael Catanzaro.
911
912         Set always RGBA visual to the view widget when setting a background color.
913
914         * MiniBrowser/gtk/BrowserWindow.c:
915         (browser_window_set_background_color):
916
917 2016-07-20  Youenn Fablet  <youenn@apple.com>
918
919         Bots should run built-ins generator tests
920         https://bugs.webkit.org/show_bug.cgi?id=159971
921
922         Reviewed by Alexey Proskuryakov.
923
924         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
925         (RunBuiltinsTests): New step to run built-in generator tests.
926         (TestFactory.__init__): Adding an additional step for bultin generator tests.
927         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Rebasing expectations.
928         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: Adding additional step for proper display.
929
930 2016-07-20  Aakash Jain  <aakash_jain@apple.com>
931
932         Revert temporary fix r203417
933         https://bugs.webkit.org/show_bug.cgi?id=160001
934
935         Reviewed by Alexey Proskuryakov.
936
937         * EWSTools/start-queue-mac.sh: Revert the temporary fix.
938
939 2016-07-20  Aakash Jain  <aakash_jain@apple.com>
940
941         REGRESSION(r148588): ews classes might get garbage collected
942         https://bugs.webkit.org/show_bug.cgi?id=159990
943
944         Reviewed by Ryosuke Niwa.
945
946         * Scripts/webkitpy/tool/commands/__init__.py: Store the loaded ews classes
947         in a variable so that they do not get garbage collected.
948
949 2016-07-20  Jeremy Jones  <jeremyj@apple.com>
950
951         Add API test for layout constraints after exit fullscreen
952         https://bugs.webkit.org/show_bug.cgi?id=159900
953
954         Reviewed by Jon Lee.
955
956         Added Fullscreen.LaytoutConstraints API test. 
957         Tests fix from https://bugs.webkit.org/show_bug.cgi?id=159731
958
959         This test compares layout constraints on the web view before and after fullscreen to make sure 
960         they are preserved.
961
962         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.html: Added.
963         * TestWebKitAPI/Tests/WebKit2Cocoa/FullscreenLayoutConstraints.mm: Added.
964         (-[FullscreenStateChangeMessageHandler userContentController:didReceiveScriptMessage:]):
965         (TestWebKitAPI::TEST):
966
967 2016-07-20  Ryan Haddad  <ryanhaddad@apple.com>
968
969         Disable two failing API tests.
970
971         Unreviewed test gardening.
972
973         * TestWebKitAPI/Tests/mac/CandidateTests.mm:
974         (TestWebKitAPI::TEST):
975
976 2016-07-20  Wenson Hsieh  <wenson_hsieh@apple.com>
977
978         Unreviewed iOS build fix.
979
980         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm: Only import Carbon.h on Mac.
981
982 2016-07-20  Wenson Hsieh  <wenson_hsieh@apple.com>
983
984         Media controls don't appear when pausing a small autoplaying video
985         https://bugs.webkit.org/show_bug.cgi?id=159972
986         <rdar://problem/27180657>
987
988         Reviewed by Beth Dakin.
989
990         Adds a new test that verifies media controls show up when pausing a small autoplayed video. Also adds mechanisms
991         for simulating basic user interaction in VideoControlsManager.
992
993         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
994         * TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:
995         (-[WKWebView mouseDownAtPoint:]):
996         (-[DidPlayMessageHandler userContentController:didReceiveScriptMessage:]):
997         (-[OnLoadMessageHandler initWithWKWebView:handler:]):
998         (-[OnLoadMessageHandler userContentController:didReceiveScriptMessage:]):
999         (TestWebKitAPI::TEST):
1000         * TestWebKitAPI/Tests/WebKit2Cocoa/autoplaying-video-with-audio.html: Added.
1001
1002 2016-07-20  Per Arne Vollan  <pvollan@apple.com>
1003
1004         [Win] MathML fonts are not found.
1005         https://bugs.webkit.org/show_bug.cgi?id=159920
1006
1007         Reviewed by Alex Christensen.
1008
1009         When looking up a font in the registry, use the /v option of the Windows 'reg query' command to query
1010         for a specific registry key value.
1011
1012         * Scripts/webkitdirs.pm:
1013         (fontExists):
1014
1015 2016-07-20  Joseph Pecoraro  <pecoraro@apple.com>
1016
1017         Improve prepare-ChangeLog for @media blocks
1018         https://bugs.webkit.org/show_bug.cgi?id=159907
1019
1020         Reviewed by Timothy Hatcher.
1021
1022         * Scripts/prepare-ChangeLog:
1023         (get_selector_line_ranges_for_css):
1024         Get a range for @media blocks just like a selector.
1025             Start Line = line with '{'
1026             End line = line with '}'
1027             Name = "@media ..."
1028
1029         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests_warning-expected.txt:
1030         Improved error messages for unbalanced portions.
1031
1032         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests-expected.txt:
1033         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/css_unittests.css:
1034         (.media-query::before):
1035         (@media only screen and (max-width: 980px)):
1036         (.media-query a):
1037         (@media (-webkit-min-device-pixel-ratio: 2)):
1038         (.both a):
1039         (.both b):
1040         (.media-query b):
1041         (.media-query::after):
1042
1043 2016-07-20  Csaba Osztrogonác  <ossy@webkit.org>
1044
1045         Fix expectedFailErrorHandler in run-jsc-stress-tests
1046         https://bugs.webkit.org/show_bug.cgi?id=159811
1047
1048         Reviewed by Yusuke Suzuki.
1049
1050         * Scripts/run-jsc-stress-tests:
1051
1052 2016-07-20  Csaba Osztrogonác  <ossy@webkit.org>
1053
1054         Unreviewed Mac cmake buildfix after r203426. Just for fun.
1055
1056         * TestWebKitAPI/PlatformMac.cmake:
1057
1058 2016-07-19  Filip Pizlo  <fpizlo@apple.com>
1059
1060         The default testing mode should not involve disabling the FTL JIT
1061         https://bugs.webkit.org/show_bug.cgi?id=159929
1062
1063         Rubber stamped by Mark Lam and Saam Barati.
1064         
1065         It used to be the case that most actively maintained ports did not have the FTL JIT enabled.
1066         Heck, for most of the FTL's initial development, it wasn't enabled anywhere. So, testing the
1067         FTL was not the default. You had to enable it with an option.
1068         
1069         For some reason we have kept this arrangement even though the FTL JIT is now the default on
1070         all of the major ports. This has become a serious pain. For example, it's useful to be able
1071         to say that a test should only run in the default config that is representative of what a
1072         normal user would see if they ran JSC. Clearly, this would be a config that does not
1073         explicitly disable the FTL JIT on the command line. However, if you try to specify this then
1074         your test won't run at all if the --ftl-jit option is not passed. That's dangerous!
1075         
1076         So, this change gets rid of all of this logic. I think it's better to get rid of it then to
1077         try to fix it, because:
1078         
1079         - I don't know what the fix would look like. Presumably it would ensure that ports that don't
1080           have the FTL enabled never run any tests that explicitly disable the FTL, since that
1081           doesn't do anything. The code is not really structured to allow this.
1082         
1083         - It benefits a minority of clients. Three build bots run tests in a config that has the FTL
1084           disabled in testing. On the other hand there are already build bots that do FTL tests
1085           despite having the FTL disabled by virtue of being a 32-bit platform. So, maybe rather than
1086           preserving this broken feature, we should create something that (a) acknowledges the fact
1087           that the FTL is the default on those platforms that support it and (b) avoids running
1088           no-ftl tests on precisely those platforms that don't have FTL.
1089         
1090         - To the extent that some bots benefited from disabling FTL tests, they were doing it by
1091           relying on a feature that was never meant to stick around. The FTL JIT is meant to be the
1092           default configuration. Disabling the FTL JIT is the non-default. So, we shouldn't be
1093           pretending that the FTL JIT is not the default just because some bots used that as an
1094           optimization.
1095         
1096         This change allows me to speed up some debug tests and paint some bots green.
1097
1098         * Scripts/run-javascriptcore-tests:
1099         (runJSCStressTests):
1100         * Scripts/run-jsc-stress-tests:
1101
1102 2016-07-19  Alex Christensen  <achristensen@webkit.org>
1103
1104         Fix API test after r203426.
1105         https://bugs.webkit.org/show_bug.cgi?id=159949
1106
1107         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
1108         (TEST):
1109         If there is website data already on disk, the initial count after putting the AppCache data in place will not be exactly 1.
1110         This is no problem.  We want to verify that it is a nonzero number and that it decrements by one when we remove the 1 AppCache data.
1111
1112 2016-07-19  Andy Estes  <aestes@apple.com>
1113
1114         Move WebKitErrorFrameLoadBlockedByContentFilter from WebKitErrors.h to WebKitErrorsPrivate.h
1115         https://bugs.webkit.org/show_bug.cgi?id=159956
1116
1117         Reviewed by Dan Bernstein.
1118
1119         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm: Included WKErrorRef.h.
1120         (-[LoadAlternateNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1121         Used kWKErrorCodeFrameLoadBlockedByContentFilter instead of WebKitErrorFrameLoadBlockedByContentFilter.
1122         * TestWebKitAPI/Tests/mac/ContentFiltering.mm: Included WebKitErrorsPrivate.h instead of WebKitErrors.h.
1123
1124 2016-07-19  Alex Christensen  <achristensen@webkit.org>
1125
1126         Add regression test for r203392
1127         https://bugs.webkit.org/show_bug.cgi?id=159949
1128
1129         Reviewed by Brady Eidson.
1130
1131         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
1132         (fileSize):
1133         (swizzledBundleIdentifierWebBookmarksD):
1134         (defaultApplicationCacheDirectory):
1135         (TEST):
1136         (swizzledBundleIdentifierMobileSafari): Deleted.
1137         This actually tests that webbookmarksd uses the path quirk in WebsiteDataStore::defaultApplicationCacheDirectory.
1138         I wanted to verify that it uses the same path as MobileSafari, but swizzling out the bundleIdentifier twice caused
1139         problems with the static bools that are set once in RuntimeApplicationChecks.mm.
1140
1141 2016-07-19  Alex Christensen  <achristensen@webkit.org>
1142
1143         Add regression test for r203392
1144         https://bugs.webkit.org/show_bug.cgi?id=159949
1145
1146         Reviewed by Brady Eidson.
1147
1148         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1149         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db: Added.
1150         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-shm: Added.
1151         * TestWebKitAPI/Tests/WebKit2Cocoa/ApplicationCache.db-wal: Added.
1152         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm:
1153         (TEST):
1154         (fileSize):
1155         (swizzledBundleIdentifierMobileSafari):
1156         (swizzledBundleIdentifierWebBookmarksD):
1157         (defaultApplicationCacheDirectory):
1158         * TestWebKitAPI/cocoa/InstanceMethodSwizzler.h: Copied from TestWebKitAPI/mac/InstanceMethodSwizzler.h.
1159         * TestWebKitAPI/cocoa/InstanceMethodSwizzler.mm: Copied from TestWebKitAPI/mac/InstanceMethodSwizzler.mm.
1160         * TestWebKitAPI/mac/InstanceMethodSwizzler.h: Removed.
1161         * TestWebKitAPI/mac/InstanceMethodSwizzler.mm: Removed.
1162
1163 2016-07-19  Keith Miller  <keith_miller@apple.com>
1164
1165         Test262 should have a file with the revision and url
1166         https://bugs.webkit.org/show_bug.cgi?id=159937
1167
1168         Reviewed by Mark Lam.
1169
1170         The import script should update the information from
1171         the path to the test262 repository it gets.
1172
1173         * Scripts/import-test262-tests:
1174
1175 2016-07-19  Alexey Proskuryakov  <ap@apple.com>
1176
1177         Temporary workaround for iOS EWS failing after the fix for bug 159539.
1178         To be deleted once the root cause is found and addressed.
1179
1180         * EWSTools/start-queue-mac.sh:
1181
1182 2016-07-19  Frederic Wang  <fwang@igalia.com>
1183
1184         [win] Fixup the register name for STIX Math and Latin Modern Math
1185
1186         Unreviewed follow-up of r203406
1187
1188         * Scripts/webkitdirs.pm:
1189         (checkInstalledTools):
1190
1191 2016-07-19  Frederic Wang  <fwang@igalia.com>
1192
1193         [win] Update the list of MathML fonts
1194         https://bugs.webkit.org/show_bug.cgi?id=156838
1195
1196         The set of recommended math fonts is now described at
1197         https://trac.webkit.org/wiki/MathML/Fonts
1198         We update the Perl script to use the latest list of fonts.
1199
1200         Reviewed by Brent Fulgham.
1201
1202         * Scripts/webkitdirs.pm:
1203         (checkInstalledTools):
1204
1205 2016-07-19  Per Arne Vollan  <pvollan@apple.com>
1206
1207         [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
1208         https://bugs.webkit.org/show_bug.cgi?id=159342
1209
1210         Reviewed by Darin Adler.
1211
1212         Implement required functions in event sender.
1213
1214         * DumpRenderTree/PlatformWin.cmake:
1215         * DumpRenderTree/win/EventSender.cpp:
1216         (monitorWheelEvents): Added.
1217         (callAfterScrollingCompletes): Added.
1218
1219 2016-07-19  Youenn Fablet  <youenn@apple.com>
1220
1221         Add new aliases to http test server
1222         https://bugs.webkit.org/show_bug.cgi?id=159878
1223
1224         Reviewed by Darin Adler.
1225
1226         Adding testharness.css, testharness.js and testharnessreport.js new aliases to http test servers.
1227         Adding explicitly these links to perl script.
1228         Extracting default alias in an aliases.json file.
1229         Reading that file from python scripts to initialize aliases from that file.
1230
1231         Python script changes covered by unit tests and changed layout test.
1232
1233         * Scripts/webkitperl/httpd.pm:
1234         (getDefaultConfigForTestDirectory): Adding 3 new aliases
1235         * Scripts/webkitpy/layout_tests/servers/aliases.json: Added.
1236         * Scripts/webkitpy/layout_tests/servers/apache_http_server.py:
1237         (LayoutTestApacheHttpd.__init__): Setting upper class tests_dir member if needed and according constructor parameter.
1238         Adding -c directives for each alias.
1239         * Scripts/webkitpy/layout_tests/servers/apache_http_server_unittest.py:
1240         (TestLayoutTestApacheHttpd.test_start_cmd): Adding aliases.json mock-up file.
1241         * Scripts/webkitpy/layout_tests/servers/http_server.py:
1242         (Lighttpd.__init__): Setting upper class tests_dir member if needed and according constructor parameter.
1243         Adding alias directive for each alias.
1244         (Lighttpd._prepare_config):
1245         * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
1246         (HttpServerBase.__init__): Adding tests_dir member with a default value being layout tests directory.
1247         (HttpServerBase.aliases): Computing of alias from the json file, paths to the real files being relative to
1248         layout tests directory.
1249         * Scripts/webkitpy/layout_tests/servers/http_server_unittest.py:
1250         (TestHttpServer.test_start_cmd): Adding aliases.json mock-up file and updating test expectation.
1251         (TestHttpServer.test_win32_start_and_stop): Adding aliases.json mock-up file.
1252
1253 2016-07-18  Aakash Jain  <aakash_jain@apple.com>
1254
1255         EWS console logs doesn't go to log file
1256         https://bugs.webkit.org/show_bug.cgi?id=159539
1257         <rdar://problem/24464570>
1258
1259         Reviewed by David Kilzer.
1260
1261         * Scripts/webkitpy/common/system/logutils.py:
1262         (configure_logger_to_log_to_file): Added method to configure the logger to log to file.
1263         (FileSystemHandler): Added class which uses logging.FileHandler as base class and supports writing
1264         to filesystem. It also supports passing MockFilesystem.
1265         (FileSystemHandler.__init__): Initialize the class and calls base class __init__.
1266         (FileSystemHandler._open): Overrides the base class _open method to use filesystem object.
1267         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
1268         (AbstractEarlyWarningSystemTest.test_failing_tests_message): Added MockHost() parameter.
1269         (_test_ews): Same.
1270         * Scripts/webkitpy/tool/commands/queues.py:
1271         (AbstractQueue.begin_work_queue): Configure the logger to log to file.
1272         (AbstractQueue._log_directory): Using filesystem object instead of os.
1273         (AbstractQueue.queue_log_path): Same.
1274         (AbstractQueue.__init__): Passed host parameter.
1275         (PatchProcessingQueue.__init__): Same.
1276         (CommitQueue.__init__): Same.
1277         (AbstractReviewQueue.__init__): Same.
1278         (StyleQueue.__init__): Same.
1279         * Scripts/webkitpy/tool/commands/queues_unittest.py:
1280         (TestCommitQueue): Passed MockHost() as host.
1281         (TestCommitQueue.__init__): Same.
1282         (TestQueue.__init__): Same.
1283         (TestReviewQueue.__init__): Same.
1284         (TestFeederQueue.__init__): Same.
1285         (AbstractPatchQueueTest.test_next_patch): Same.
1286         (PatchProcessingQueueTest.test_upload_results_archive_for_patch): Same.
1287         (test_commit_queue_failure): Same.
1288         (MockCommitQueueTask.results_from_patch_test_run): Same.
1289         (test_rollout_lands): Same.
1290         (test_non_valid_patch): Same.
1291         (test_auto_retry): Same.
1292         (test_style_queue_with_watch_list_exception): Same.
1293
1294 2016-07-02  Filip Pizlo  <fpizlo@apple.com>
1295
1296         WTF::Lock should be fair eventually
1297         https://bugs.webkit.org/show_bug.cgi?id=159384
1298
1299         Reviewed by Geoffrey Garen.
1300
1301         * TestWebKitAPI/Tests/WTF/ParkingLot.cpp:
1302
1303 2016-07-17  Sam Weinig  <sam@webkit.org>
1304
1305         [WebKit API] Add SPI to track multiple navigations caused by a single user gesture
1306         <rdar://problem/26554137>
1307         https://bugs.webkit.org/show_bug.cgi?id=159856
1308
1309         Reviewed by Dan Bernstein.
1310
1311         * MiniBrowser/mac/WK2BrowserWindowController.m:
1312         (-[WK2BrowserWindowController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
1313         Add basic window.open implementation.
1314
1315         (-[WK2BrowserWindowController webView:decidePolicyForNavigationAction:decisionHandler:]):
1316         Add basic navigation policy implementation which implements a rule where a user gesture is only allowed
1317         to open a single non-web URL, all others are dropped.
1318
1319         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1320         * TestWebKitAPI/Tests/WebKit2Cocoa/UserInitiatedActionInNavigationAction.mm: Added.
1321         * TestWebKitAPI/Tests/WebKit2Cocoa/open-multiple-external-url.html: Added.
1322         Add API for the new SPI.
1323
1324 2016-07-17  Yusuke Suzuki  <utatane.tea@gmail.com>
1325
1326         [JSC] Enable test262 module tests
1327         https://bugs.webkit.org/show_bug.cgi?id=159854
1328
1329         Reviewed by Saam Barati.
1330
1331         Use --module-file instead.
1332
1333         * Scripts/run-jsc-stress-tests:
1334
1335 2016-07-16  Chris Dumez  <cdumez@apple.com>
1336
1337         Unreviewed, rolling out r203318.
1338
1339         Regressed most JS Benchmarks on MacBook Air by ~2% (7% on
1340         SunSpider)
1341
1342         Reverted changeset:
1343
1344         "[JSC] Change some parameters based on a random search"
1345         https://bugs.webkit.org/show_bug.cgi?id=158514
1346         http://trac.webkit.org/changeset/203318
1347
1348 2016-07-16  Chris Dumez  <cdumez@apple.com>
1349
1350         Add move constructor / assignment operator to ListHashSet
1351         https://bugs.webkit.org/show_bug.cgi?id=159837
1352
1353         Reviewed by Darin Adler.
1354
1355         Add API tests.
1356
1357         * TestWebKitAPI/Tests/WTF/ListHashSet.cpp:
1358         (TestWebKitAPI::TEST):
1359
1360 2016-07-15  Benjamin Poulain  <bpoulain@apple.com>
1361
1362         [JSC] Change some parameters based on a random search
1363         https://bugs.webkit.org/show_bug.cgi?id=158514
1364
1365         Reviewed by Saam Barati.
1366
1367         * Scripts/run-jsc-stress-tests:
1368
1369 2016-07-15  Jon Davis  <jond@apple.com>
1370
1371         Changed the start page URL for WebKit Nightly builds.
1372         https://bugs.webkit.org/show_bug.cgi?id=159816
1373
1374         Reviewed by Timothy Hatcher.
1375
1376         * WebKitLauncher/start.html:
1377
1378 2016-07-15  Per Arne Vollan  <pvollan@apple.com>
1379
1380         Uninitialized variable in DIBPixelData can cause a dangerous memory write
1381         https://bugs.webkit.org/show_bug.cgi?id=159414
1382
1383         Reviewed by Brent Fulgham.
1384
1385         Add test to check that DIBPixelData::setRGBABitmapAlpha does not cause a crash
1386         when the HDC parameter is invalid.
1387
1388         * TestWebKitAPI/PlatformWin.cmake:
1389         * TestWebKitAPI/Tests/WebCore/win/DIBPixelData.cpp: Added.
1390         (TestWebKitAPI::TEST):
1391
1392 2016-07-15  Carlos Garcia Campos  <cgarcia@igalia.com>
1393
1394         [GTK] Add basic tabs support to MiniBrowser
1395         https://bugs.webkit.org/show_bug.cgi?id=159803
1396
1397         Reviewed by Sergio Villar Senin.
1398
1399         It's quite common to have issues with web views loaded in secondary tabs, and we need to use an external browser
1400         like epiphany to debug those issues. It would be a lot easier to work on those bugs if we could use the MiniBrowser.
1401
1402         * MiniBrowser/gtk/BrowserTab.c: Added.
1403         (titleChanged):
1404         (isLoadingChanged):
1405         (decidePolicy):
1406         (removeChildIfInfoBar):
1407         (loadChanged):
1408         (createInfoBarQuestionMessage):
1409         (tlsErrorsDialogResponse):
1410         (loadFailedWithTLSerrors):
1411         (permissionRequestDialogResponse):
1412         (decidePermissionRequest):
1413         (colorChooserRGBAChanged):
1414         (popoverColorClosed):
1415         (colorChooserRequestFinished):
1416         (runColorChooserCallback):
1417         (inspectorOpenedInWindow):
1418         (inspectorClosed):
1419         (browserTabSetProperty):
1420         (browserTabFinalize):
1421         (browser_tab_init):
1422         (browserTabConstructed):
1423         (browser_tab_class_init):
1424         (getInternalURI):
1425         (browser_tab_new):
1426         (browser_tab_get_web_view):
1427         (browser_tab_load_uri):
1428         (browser_tab_get_title_widget):
1429         (browser_tab_set_status_text):
1430         (browser_tab_toggle_inspector):
1431         (browser_tab_start_search):
1432         (browser_tab_stop_search):
1433         (browser_tab_add_accelerators):
1434         (fullScreenMessageTimeoutCallback):
1435         (browser_tab_enter_fullscreen):
1436         (browser_tab_leave_fullscreen):
1437         * MiniBrowser/gtk/BrowserTab.h: Added.
1438         * MiniBrowser/gtk/BrowserWindow.c:
1439         (getExternalURI):
1440         (browserWindowSetStatusText):
1441         (reloadOrStopCallback):
1442         (goBackCallback):
1443         (goForwardCallback):
1444         (settingsCallback):
1445         (webViewURIChanged):
1446         (browserWindowHistoryItemActivated):
1447         (browserWindowUpdateNavigationActions):
1448         (webViewCreate):
1449         (webViewEnterFullScreen):
1450         (webViewLeaveFullScreen):
1451         (webViewDecidePolicy):
1452         (browserWindowCanZoomIn):
1453         (browserWindowCanZoomOut):
1454         (browserWindowZoomIn):
1455         (browserWindowZoomOut):
1456         (scrollEventCallback):
1457         (faviconChanged):
1458         (webViewIsLoadingChanged):
1459         (defaultZoomCallback):
1460         (searchCallback):
1461         (newTabCallback):
1462         (toggleWebInspector):
1463         (reloadPage):
1464         (reloadPageIgnoringCache):
1465         (stopPageLoad):
1466         (loadHomePage):
1467         (editingCommandCallback):
1468         (insertImageCommandCallback):
1469         (insertLinkCommandCallback):
1470         (browserWindowSetupEditorToolbar):
1471         (browserWindowSwitchTab):
1472         (browserWindowTabAddedOrRemoved):
1473         (browser_window_init):
1474         (browserWindowConstructed):
1475         (browserWindowSaveSession):
1476         (browserWindowDeleteEvent):
1477         (browser_window_new):
1478         (browser_window_append_view):
1479         (browser_window_load_uri):
1480         (browser_window_load_session):
1481         (browser_window_set_background_color):
1482         (resetStatusText): Deleted.
1483         (activateUriEntryCallback): Deleted.
1484         (webViewTitleChanged): Deleted.
1485         (resetEntryProgress): Deleted.
1486         (browserWindowCreateBackForwardMenu): Deleted.
1487         (webViewReadyToShow): Deleted.
1488         (webViewLoadFailed): Deleted.
1489         (webViewMouseTargetChanged): Deleted.
1490         (browserWindowUpdateZoomActions): Deleted.
1491         (webViewZoomLevelChanged): Deleted.
1492         (updateUriEntryIcon): Deleted.
1493         (zoomInCallback): Deleted.
1494         (zoomOutCallback): Deleted.
1495         (toggleFullScreen): Deleted.
1496         (browserWindowEditingCommandToggleButtonSetActive): Deleted.
1497         (browserWindowFinalize): Deleted.
1498         (browser_window_class_init): Deleted.
1499         * MiniBrowser/gtk/BrowserWindow.h:
1500         * MiniBrowser/gtk/CMakeLists.txt:
1501         * MiniBrowser/gtk/main.c:
1502         (createBrowserTab):
1503         (aboutURISchemeRequestCallback):
1504         (main):
1505         (parseBackgroundColor): Deleted.
1506
1507 2016-07-14  Alex Christensen  <achristensen@webkit.org>
1508
1509         Allow RefPtrs of const RefCounted types
1510         https://bugs.webkit.org/show_bug.cgi?id=158269
1511
1512         Reviewed by Anders Carlsson.
1513
1514         * TestWebKitAPI/Tests/WTF/RefPtr.cpp:
1515         (TestWebKitAPI::TEST):
1516         (TestWebKitAPI::ConstRefCounted::create):
1517         (TestWebKitAPI::returnConstRefCountedRef):
1518         (TestWebKitAPI::returnRefCountedRef):
1519
1520 2016-07-13  Carlos Garcia Campos  <cgarcia@igalia.com>
1521
1522         Test WTF.StringViewIterators is crashing since r203119
1523         https://bugs.webkit.org/show_bug.cgi?id=159710
1524
1525         Reviewed by Darin Adler.
1526
1527         There are two problems in the test case added in r203119. First is that it's testing
1528         StringView::CodeUnits::Iterator instead of StringView::CodePoints::Iterator, and second is that
1529         StringView::codePoints() returns a temporary, so the iterator created from the temporary ends up pointing to a
1530         const reference to the string view member of the deleted CodePoints object.
1531
1532         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1533         (TestWebKitAPI::TEST):
1534
1535 2016-07-13  Daniel Bates  <dabates@apple.com>
1536
1537         [iOS] Copy WebKitTestRunnerInjectedBundle.bundle into PlugIns subdirectory and code sign it
1538         https://bugs.webkit.org/show_bug.cgi?id=159738
1539         <rdar://problem/27304649>
1540
1541         Reviewed by Dan Bernstein.
1542
1543         The bundle WebKitTestRunnerInjectedBundle.bundle contains executable code and should be
1544         code signed if applicable. We should also copy this bundle into the PlugIns subdirectory
1545         of the WebKitTestRunnerApp.app bundle instead of the top-level bundle directory as the
1546         PlugIns subdirectory is the directory where loadable bundles of an app are expected to live.
1547
1548         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1549         * WebKitTestRunner/ios/TestControllerIOS.mm:
1550         (WTR::TestController::initializeInjectedBundlePath): Modified code to look for the
1551         bundle WebKitTestRunnerInjectedBundle.bundle in the plugin directory of the main bundle.
1552
1553 2016-07-13  Beth Dakin  <bdakin@apple.com>
1554
1555         Attempted build fix.
1556
1557         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1558
1559 2016-07-12  Ryosuke Niwa  <rniwa@webkit.org>
1560
1561         REGRESSION(r202953): Clicking on input[type=file] doesn't open a file picker
1562         https://bugs.webkit.org/show_bug.cgi?id=159686
1563
1564         Reviewed by Chris Dumez.
1565
1566         Added a code to print "OPEN FILE PANEL" in the text when runOpenPanel is called in the UI delegate.
1567
1568         * WebKitTestRunner/TestController.cpp:
1569         (WTR::runOpenPanel):
1570         (WTR::TestController::createOtherPage):
1571         (WTR::TestController::createWebViewWithOptions):
1572
1573 2016-07-13  Beth Dakin  <bdakin@apple.com>
1574
1575         Add more candidate tests
1576         https://bugs.webkit.org/show_bug.cgi?id=159730
1577
1578         Reviewed by Tim Horton.
1579
1580         This patch re-names ViewWithEditableAreaLeak.mm to CandidateTests.mm and adds 
1581         two new tests to that file.
1582         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1583         * TestWebKitAPI/Tests/WebKit2Cocoa/focus-inputs.html: Added.
1584         * TestWebKitAPI/Tests/mac/CandidateTests.mm: Copied from TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm.
1585         (-[CandidateRequestFrameLoadDelegate webView:didFinishLoadForFrame:]):
1586         (TestWebKitAPI::TEST):
1587         * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm: Removed.
1588
1589 2016-07-13  Joanmarie Diggs  <jdiggs@igalia.com>
1590
1591         AX: [ATK] spinbutton-crash.html fails
1592         https://bugs.webkit.org/show_bug.cgi?id=159723
1593
1594         Reviewed by Chris Fleizach.
1595
1596         Implement support for AXDecrementButton and AXIncrementButton in
1597         ATK's AccessibilityUIElement::uiElementAttributeValue().
1598
1599         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1600         (WTR::AccessibilityUIElement::uiElementAttributeValue):
1601
1602 2016-07-13  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1603
1604         [EFL] [GTK] Enable back crypto subtle on development builds.
1605         https://bugs.webkit.org/show_bug.cgi?id=159260
1606
1607         Reviewed by Carlos Garcia Campos.
1608
1609         * Scripts/webkitperl/FeatureList.pm:
1610
1611 2016-07-12  Mark Lam  <mark.lam@apple.com>
1612
1613         We should use different stack limits for stack checks from JS and host code.
1614         https://bugs.webkit.org/show_bug.cgi?id=159442
1615         <rdar://problem/26889188>
1616
1617         Reviewed by Geoffrey Garen.
1618
1619         In http://trac.webkit.org/r203067, we limited the amount of stack that tests will
1620         run with to keep stack overflow tests sane.  Turns out, we also need to teach the
1621         LayoutTestRelay to pass env vars over to the iOS simulator.  This is needed in
1622         order to keep the js/regress-139548.html test happy with this patch.
1623
1624         Also fixed up run_webkit_tests.py to explicitly pass an int size value for the
1625         JSC_maxPerThreadStackUsage option.  Otherwise, it will pass a float value.
1626
1627         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
1628         (-[LTRelayController _environmentVariables]):
1629         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1630         (main):
1631
1632 2016-07-12  Filip Pizlo  <fpizlo@apple.com>
1633
1634         platformUserPreferredLanguages on Mac should not try to put the region into the language
1635         https://bugs.webkit.org/show_bug.cgi?id=159693
1636
1637         Rubber stamped by Alexey Proskuryakov.
1638         
1639         Revert the test change in r200105.
1640
1641         * TestWebKitAPI/Tests/mac/NavigatorLanguage.mm:
1642         (TestWebKitAPI::languageForSystemLanguage):
1643
1644 2016-07-12  Chris Dumez  <cdumez@apple.com>
1645
1646         [WK2] Protect against bad database data in LocalStorageDatabase::importItems()
1647         https://bugs.webkit.org/show_bug.cgi?id=159663
1648         <rdar://problem/18995873>
1649
1650         Reviewed by Benjamin Poulain.
1651
1652         Add API test coverage.
1653
1654         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1655         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.html: Added.
1656         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage: Added.
1657         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.localstorage-shm: Added.
1658         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageNullEntries.mm: Added.
1659         (-[LocalStorageNullEntriesMessageHandler userContentController:didReceiveScriptMessage:]):
1660         (TEST):
1661
1662 2016-07-12  Myles C. Maxfield  <mmaxfield@apple.com>
1663
1664         Relax ordering requirements on StringView::CodePoints iterator
1665         https://bugs.webkit.org/show_bug.cgi?id=159609
1666
1667         Reviewed by Darin Adler.
1668
1669         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1670         (TestWebKitAPI::TEST):
1671
1672 2016-07-12  Youenn Fablet  <youenn@apple.com>
1673
1674         Fixing Tools/Scripts/run-builtins-generator-tests after https://trac.webkit.org/changeset/202975
1675         https://bugs.webkit.org/show_bug.cgi?id=159564
1676
1677         Reviewed by Brian Burg.
1678
1679         * Scripts/webkitpy/codegen/main.py:
1680         (BuiltinsGeneratorTests.generate_from_js_builtins): Changing --with-wrapper-files option to --wrappers.
1681
1682 2016-07-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1683
1684         Remove ENABLE_CSS3_TEXT_LINE_BREAK flag
1685         https://bugs.webkit.org/show_bug.cgi?id=159671
1686
1687         Reviewed by Csaba Osztrogonác.
1688
1689         ENABLE_CSS3_TEXT_LINE_BREAK feature was implemented without guards.
1690         https://bugs.webkit.org/show_bug.cgi?id=89235
1691
1692         So this guard can be removed in build scripts.
1693
1694         * Scripts/webkitperl/FeatureList.pm:
1695         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1696
1697 2016-07-11  Jason Marcell  <jmarcell@apple.com>
1698
1699         SVN.create_patch should find svn-create-patch relative to the WebKit root.
1700         https://bugs.webkit.org/show_bug.cgi?id=159652
1701
1702         Reviewed by Daniel Bates.
1703
1704         * Scripts/webkitpy/common/checkout/scm/svn.py:
1705         (SVN.create_patch): Use WebKitFinder to find the WebKit checkout so that we can find svn-create-patch relative to it.
1706
1707 2016-07-11  Myles C. Maxfield  <mmaxfield@apple.com>
1708
1709         Implement grapheme cluster iterator on StringView
1710         https://bugs.webkit.org/show_bug.cgi?id=159598
1711
1712         Reviewed by Anders Carlsson.
1713
1714         This is in preparation for honoring the second argument to FontFaceSet.load().
1715
1716         * TestWebKitAPI/Tests/WTF/StringView.cpp:
1717         (TestWebKitAPI::compareLoopIterations):
1718         (TestWebKitAPI::TEST):
1719
1720 2016-07-11  Nan Wang  <n_wang@apple.com>
1721
1722         AX: WKWebView should have API to prevent pinch-to-zoom always being allowed
1723         https://bugs.webkit.org/show_bug.cgi?id=158364
1724
1725         Reviewed by Anders Carlsson.
1726
1727         Added a function in TestRunner so that we can toggle the ignoring viewport
1728         scale limits setting. Also added a test option for that in order to change the 
1729         configuration of the webview in test.
1730
1731         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1732         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1733         (WTR::TestRunner::setNavigationGesturesEnabled):
1734         (WTR::TestRunner::setIgnoresViewportScaleLimits):
1735         (WTR::nextUIScriptCallbackID):
1736         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1737         (WTR::TestRunner::shouldDecideNavigationPolicyAfterDelay):
1738         * WebKitTestRunner/TestController.cpp:
1739         (WTR::TestController::resetStateToConsistentValues):
1740         (WTR::updateTestOptionsFromTestHeader):
1741         (WTR::TestController::setNavigationGesturesEnabled):
1742         (WTR::TestController::setIgnoresViewportScaleLimits):
1743         (WTR::TestController::platformWillRunTest):
1744         * WebKitTestRunner/TestController.h:
1745         (WTR::TestController::setShouldDecideNavigationPolicyAfterDelay):
1746         * WebKitTestRunner/TestInvocation.cpp:
1747         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1748         * WebKitTestRunner/TestOptions.h:
1749         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1750         (WTR::TestController::platformCreateWebView):
1751
1752 2016-07-11  Konstantin Tokarev  <annulen@yandex.ru>
1753
1754         [GTK] install-dependencies should not install packages built by jhbuild.
1755         https://bugs.webkit.org/show_bug.cgi?id=159628
1756
1757         Reviewed by Michael Catanzaro.
1758
1759         * gtk/install-dependencies:
1760         Don't install icu, harfbuzz, orc, llvm, freetype, fontconfig.
1761
1762 2016-07-11  Olivier Blin  <olivier.blin@softathome.com>
1763
1764         System proxy settings not used when building deps with jhbuild
1765         https://bugs.webkit.org/show_bug.cgi?id=159567
1766
1767         Reviewed by Michael Catanzaro.
1768
1769         This adds the gsettings-desktop-schemas-devel build dep to enable
1770         the libgiognomeproxy.so gio module in glib-networking, which uses
1771         GSettings on org.gnome.system.proxy.
1772         This is needed to query system proxy settings for Gnome desktops.
1773
1774         dconf can be manually added to jhbuild to build the
1775         libdconfsettings.so gio module for GSettings, so that
1776         libgiognomeproxy.so can access system settings.
1777           https://trac.webkit.org/wiki/WebKitGTK/StartHacking#Workingbehindaproxy
1778
1779         As an alternative to dconf settings, this commit also adds the
1780         libproxy-devel build dep to enable the libgiolibproxy.so module in
1781         glib-networking (suggested by Fujii Hironori).
1782
1783         It is useful to read proxy settings from environment variables.
1784         From a Gnome desktop, one may unset the GNOME_DESKTOP_SESSION_ID
1785         environment variable to force using the envvar module in libproxy.
1786
1787         * gtk/install-dependencies:
1788
1789 2016-07-11  Mark Lam  <mark.lam@apple.com>
1790
1791         Change run-webkit-tests.py and run-jsc-stress-tests to use a smaller JS stack size for testing.
1792         https://bugs.webkit.org/show_bug.cgi?id=159524
1793
1794         Reviewed by Michael Saboff.
1795
1796         Forced tests to run with only a 1.5M JS stack size instead of the default 4M.
1797         Also fixed up some tests to behave better to work with this new limit.  This
1798         should make stack overflow tests complete sooner.
1799
1800         * Scripts/run-jsc-stress-tests:
1801         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1802         (main):
1803
1804 2016-07-11  Michael Catanzaro  <mcatanzaro@igalia.com>
1805
1806         [GTK] Whitespace fixes in install-dependencies script
1807
1808         Unreviewed.
1809
1810         * gtk/install-dependencies:
1811
1812 2016-07-11  Michael Catanzaro  <mcatanzaro@igalia.com>
1813
1814         [GTK] Install missing Fedora dependencies
1815
1816         Unreviewed.
1817
1818         * gtk/install-dependencies:
1819
1820 2016-07-09  Dan Bernstein  <mitz@apple.com>
1821
1822         Give git-add-reviewer an option to say “Rubber-stamped by” in non-interactive mode
1823         https://bugs.webkit.org/show_bug.cgi?id=159600
1824
1825         Reviewed by Daniel Bates.
1826
1827         * Scripts/git-add-reviewer:
1828         Added the -s|--rubber-stamp option.
1829         (nonInteractive): Set the rubberstamp key in the item passed to addReviewer() based on the
1830           new option.
1831
1832 2016-07-08  Andy Estes  <aestes@apple.com>
1833
1834         [Content Filtering] Load blocked pages more like other error pages are loaded
1835         https://bugs.webkit.org/show_bug.cgi?id=159485
1836         <rdar://problem/26014076>
1837
1838         Reviewed by Brady Eidson.
1839
1840         Added API tests for WebView and WKWebView to verify that alternate HTML loaded in response
1841         to a content filtering provisional navigation failure is ignored in preference of
1842         ContentFilter's own error page.
1843
1844         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1845         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1846         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1847         (-[LoadAlternateNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1848         (-[LoadAlternateNavigationDelegate webView:didFinishNavigation:]):
1849         (loadAlternateTest):
1850         (TEST):
1851         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
1852         (-[MockContentFilterEnabler initWithCoder:]):
1853         * TestWebKitAPI/Tests/mac/ContentFiltering.mm: Added.
1854         (-[LoadAlternateFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1855         (-[LoadAlternateFrameLoadDelegate webView:didFinishLoadForFrame:]):
1856         (TestWebKitAPI::loadAlternateTest):
1857         (TestWebKitAPI::TEST):
1858
1859 2016-07-08  Commit Queue  <commit-queue@webkit.org>
1860
1861         Unreviewed, rolling out r202944.
1862         https://bugs.webkit.org/show_bug.cgi?id=159570
1863
1864         caused some tests to crash under GuardMalloc (Requested by
1865         estes on #webkit).
1866
1867         Reverted changeset:
1868
1869         "[Content Filtering] Load blocked pages more like other error
1870         pages are loaded"
1871         https://bugs.webkit.org/show_bug.cgi?id=159485
1872         http://trac.webkit.org/changeset/202944
1873
1874 2016-07-08  Martin Robinson  <mrobinson@igalia.com>
1875
1876         Remove mrobinson from the MathML watchlist
1877         https://bugs.webkit.org/show_bug.cgi?id=159559
1878
1879         Reviewed by Philippe Normand.
1880
1881         * Scripts/webkitpy/common/config/watchlist: Remove my email from the watchlist.
1882
1883 2016-07-08  Brady Eidson  <beidson@apple.com>
1884
1885         Clearing LocalStorage doesn't also delete -wal and -shm files.
1886         <rdar://problem/27206772> and https://bugs.webkit.org/show_bug.cgi?id=159566
1887
1888         Reviewed by Brent Fulgham.
1889         Also helpfully picked over by Andy "Never Forgets" Estes.
1890
1891         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1892         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.html: Added.
1893         * TestWebKitAPI/Tests/WebKit2Cocoa/LocalStorageClear.mm: Added.
1894
1895 2016-07-08  Konstantin Tokarev  <annulen@yandex.ru>
1896
1897         Removed Qt leftovers from Tools.
1898         https://bugs.webkit.org/show_bug.cgi?id=159557
1899
1900         Reviewed by Csaba Osztrogonác.
1901
1902         * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
1903         Removed 'qt' platform config.
1904         * Scripts/webkitpy/common/net/bugzilla/bug.py:
1905         Deleted non-functional e-mail address.
1906
1907 2016-07-08  Commit Queue  <commit-queue@webkit.org>
1908
1909         Unreviewed, rolling out r202967.
1910         https://bugs.webkit.org/show_bug.cgi?id=159556
1911
1912         This patch caused crashes in https tests on Windows (Requested
1913         by perarne on #webkit).
1914
1915         Reverted changeset:
1916
1917         "[Win] The test http/tests/security/contentSecurityPolicy
1918         /upgrade-insecure-requests/basic-upgrade.https.html is
1919         failing."
1920         https://bugs.webkit.org/show_bug.cgi?id=159510
1921         http://trac.webkit.org/changeset/202967
1922
1923 2016-07-08  Youenn Fablet  <youenn@apple.com>
1924
1925         Generate WebCore builtin wrapper files
1926         https://bugs.webkit.org/show_bug.cgi?id=159461
1927
1928         Reviewed by Brian Burg.
1929
1930         * Scripts/webkitpy/codegen/main.py:
1931         (BuiltinsGeneratorTests.generate_from_js_builtins): Adding generate_wrapper option.
1932         (BuiltinsGeneratorTests.run_tests): Using this option in WebCore test cases.
1933
1934 2016-07-08  Hunseop Jeong  <hs85.jeong@samsung.com>
1935
1936         [EFL] Fix build when media-stream is enabled.
1937         https://bugs.webkit.org/show_bug.cgi?id=159206
1938
1939         Bump up the openwebrtc to find the correct package.
1940
1941         Reviewed by Gyuyoung Kim.
1942
1943         * efl/jhbuild.modules:
1944         * efl/patches/openwebrtc-clang-warning-fix.patch: Removed.
1945
1946 2016-07-07  Per Arne Vollan  <pvollan@apple.com>
1947
1948         [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
1949         https://bugs.webkit.org/show_bug.cgi?id=159510
1950
1951         Reviewed by Brent Fulgham.
1952
1953         Allow any https certificate when running tests.
1954
1955         * DumpRenderTree/win/DumpRenderTree.cpp:
1956         (runTest):
1957
1958 2016-07-07  Beth Dakin  <bdakin@apple.com>
1959
1960         API Test DoNotLeakWebView.ViewThatLoadsEditableArea times out on macOS Sierra
1961         https://bugs.webkit.org/show_bug.cgi?id=159532
1962         -and corresponding-
1963         rdar://problem/27177179
1964
1965         Reviewed by Tim Horton.
1966
1967         * TestWebKitAPI/Tests/mac/ViewWithEditableAreaLeak.mm:
1968         (-[DoNotLeakFrameLoadDelegate webView:didFinishLoadForFrame:]):
1969
1970 2016-07-07  Andy Estes  <aestes@apple.com>
1971
1972         [Content Filtering] Load blocked pages more like other error pages are loaded
1973         https://bugs.webkit.org/show_bug.cgi?id=159485
1974         <rdar://problem/26014076>
1975
1976         Reviewed by Brady Eidson.
1977
1978         Added API tests for WebView and WKWebView to verify that alternate HTML loaded in response
1979         to a content filtering provisional navigation failure is ignored in preference of
1980         ContentFilter's own error page.
1981
1982         * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
1983         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1984         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:
1985         (-[LoadAlternateNavigationDelegate webView:didFailProvisionalNavigation:withError:]):
1986         (-[LoadAlternateNavigationDelegate webView:didFinishNavigation:]):
1987         (loadAlternateTest):
1988         (TEST):
1989         * TestWebKitAPI/Tests/WebKit2Cocoa/ContentFilteringPlugIn.mm:
1990         (-[MockContentFilterEnabler initWithCoder:]):
1991         * TestWebKitAPI/Tests/mac/ContentFiltering.mm: Added.
1992         (-[LoadAlternateFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1993         (-[LoadAlternateFrameLoadDelegate webView:didFinishLoadForFrame:]):
1994         (TestWebKitAPI::loadAlternateTest):
1995         (TestWebKitAPI::TEST):
1996
1997 2016-07-07  Per Arne Vollan  <pvollan@apple.com>
1998
1999         Unreviewed: add myself to the reviewers list.
2000
2001         * Scripts/webkitpy/common/config/contributors.json:
2002
2003 2016-07-07  Per Arne Vollan  <pvollan@apple.com>
2004
2005         [Win] The test http/tests/loading/main-resource-delegates-on-back-navigation.html is failing.
2006         https://bugs.webkit.org/show_bug.cgi?id=159509
2007
2008         Reviewed by Alex Christensen.
2009
2010         We should always insert the url in the url map when identifierForInitialRequest
2011         is called. Otherwise we can end up with identifiers not having an entry in the
2012         url map when urls are written to the test output file. 
2013
2014         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2015         (ResourceLoadDelegate::identifierForInitialRequest):
2016
2017 2016-07-06  Tim Horton  <timothy_horton@apple.com>
2018
2019         Email from June 1st containing text 'Today @ 7:10PM' is linkified, but shouldn't be
2020         https://bugs.webkit.org/show_bug.cgi?id=159498
2021         <rdar://problem/26719903>
2022
2023         Reviewed by Sam Weinig.
2024
2025         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2026         * TestWebKitAPI/Tests/WebKit2Cocoa/DataDetection.mm: Added.
2027         (-[DataDetectionNavigationDelegate webView:didFinishNavigation:]):
2028         (-[DataDetectionUIDelegate _dataDetectionContextForWebView:]):
2029         (expectLinkCount):
2030         (TEST):
2031         Add a test ensuring that ReferenceDate in the DataDetectors context is respected
2032         when deciding what to linkify.
2033
2034 2016-07-06  Alexey Proskuryakov  <ap@apple.com>
2035
2036         Build fix - work around rdar://problem/27196668.
2037
2038         * LayoutTestRelay/Configurations/Base.xcconfig:
2039
2040 2016-07-05  Per Arne Vollan  <pvollan@apple.com>
2041
2042         Enhance Windows DRT implementation to support platform scroll wheel events.
2043         https://bugs.webkit.org/show_bug.cgi?id=36002
2044
2045         Reviewed by Brent Fulgham.
2046
2047         Implement function continuousMouseScrollBy in Windows event sender.
2048
2049         * DumpRenderTree/win/EventSender.cpp:
2050         (mouseScrollBy):
2051         (continuousMouseScrollBy):
2052
2053 2016-07-05  Myles C. Maxfield  <mmaxfield@apple.com>
2054
2055         [Sierra] Rebaseline tests to use un-mocked system font metrics
2056         https://bugs.webkit.org/show_bug.cgi?id=159311
2057         <rdar://problem/24138411>
2058
2059         Reviewed in person by Alexey Proskuryakov.
2060
2061         Stop mocking the system font on Sierra.
2062
2063         * DumpRenderTree/mac/DumpRenderTree.mm:
2064         (setDefaultsToConsistentValuesForTesting):
2065         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
2066         (WTR::InjectedBundle::platformInitialize):
2067
2068 2016-07-05  Brady Eidson  <beidson@apple.com>
2069
2070         Database process crashes deleting a corrupt SQLite database file (null deref).
2071         https://bugs.webkit.org/show_bug.cgi?id=155506.
2072
2073         Reviewed by Alex Christensen.
2074
2075         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2076         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.html: Added.
2077         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm: Added.
2078         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3: Added.
2079         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-shm: Added.
2080         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.sqlite3-wal: Added.
2081
2082 2016-07-05  Alexey Proskuryakov  <ap@apple.com>
2083
2084         run-webkit-tests should print more complete baseline search paths
2085         https://bugs.webkit.org/show_bug.cgi?id=159354
2086
2087         Reviewed by Daniel Bates.
2088
2089         run-webkit-tests used to only print directory names in baseline search paths.
2090         This was ok in basic usage, but quickly got confusing when using
2091         --additional-platform-directory flags.
2092
2093         * Scripts/webkitpy/layout_tests/views/printing.py:
2094         (Printer.print_config):
2095         * Scripts/webkitpy/layout_tests/views/printing_unittest.py:
2096         (Testprinter.test_print_config):
2097         (Testprinter.test_print_one_line_summary):
2098
2099 2016-07-04  Brady Eidson  <beidson@apple.com>
2100
2101         WebProcesses don't handle DatabaseProcess going away uncleanly..
2102         https://bugs.webkit.org/show_bug.cgi?id=159371
2103
2104         Reviewed by Alex Christensen.
2105
2106         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2107         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill-1.html: Added.
2108         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm: Added.
2109         (-[DatabaseProcessKillNavigationDelegate webView:didFinishNavigation:]):
2110         (-[DatabaseProcessKillMessageHandler userContentController:didReceiveScriptMessage:]):
2111
2112 2016-07-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2113
2114         [EFL][GTK] Layout Test doesn't run on Ubuntu 16.04
2115         https://bugs.webkit.org/show_bug.cgi?id=158141
2116
2117         Rubber-stamped by Michael Catanzaro.
2118
2119         Instead of checking for an specific Ubuntu version, query the apt
2120         database to see which version of PHP is available.
2121
2122         * efl/install-dependencies:
2123         * gtk/install-dependencies:
2124
2125 2016-07-04  Fujii Hironori  <Hironori.Fujii@sony.com>
2126
2127         webkit-patch failure-reason always raises TypeError
2128         https://bugs.webkit.org/show_bug.cgi?id=159394
2129
2130         Reviewed by Benjamin Poulain.
2131
2132         In r170637 (Bug 133067), the first and second arguments of
2133         pluralize were swapped.
2134
2135         * Scripts/webkitpy/tool/commands/queries.py:
2136         (FailureReason._builder_to_explain): Swap the first and second
2137         arguments of pluralize.
2138
2139 2016-07-02  Youenn Fablet  <youennf@gmail.com>
2140
2141         Make it straightforward to start the Web Platform Tests HTTP server using run-webkit-httpd
2142         https://bugs.webkit.org/show_bug.cgi?id=152486
2143
2144         Reviewed by Daniel Bates.
2145
2146         Add launch of web-platform-tests server by run-webkit-httpd.
2147         Add two options to disable starting httpd and web-platform-tests servers.
2148
2149         * Scripts/run-webkit-httpd:
2150         (parse_args):
2151         (main):
2152
2153 2016-07-01  Myles C. Maxfield  <mmaxfield@apple.com>
2154
2155         REGRESSION(r189668): Notification tests are flakey
2156         https://bugs.webkit.org/show_bug.cgi?id=159375
2157         <rdar://problem/22760990>
2158
2159         Reviewed by Alexey Proskuryakov.
2160
2161         Notifications are objects which must exist in both the UI Process and the Web Process. Each process
2162         identifies a notification object by a unique ID. When the Web Process sends a message regarding a
2163         notification to the UI Process, the UI Process's WebNotificationManagerProxy holds a map from
2164         (Page ID, Web Process notification ID) -> UI Process notification ID. This works as intended.
2165
2166         Our tests, however, include an additional method, simulateWebNotificationClick(), which is implemented
2167         by WebKitTestRunner in the Web Process via the Injected Bundle. This method involves sending a message
2168         to the UI process, to handle the simulated click. However, that RPC didn't perform the same local ->
2169         global notification ID mapping, causing the wrong notification to be investigated.
2170
2171         The solution is for WebNotificationProvider, implemented in WebKitTestRunner in the UI Process, to
2172         manually perform this same mapping. Luckily, this object already receives callbacks every time a
2173         notification is created or destroyed. However, because this object is implemented outside WebKit,
2174         it isn't privy to the internal Web Process ID used inside WebNotificationmanagerProxy. Therefore,
2175         this patch adds a private testing function which returns this internal ID. Once given this intenal ID,
2176         WebNotificationProvider can properly map between the different IDs.
2177
2178         * WebKitTestRunner/TestController.cpp:
2179         (WTR::TestController::runTestingServerLoop):
2180         (WTR::TestController::simulateWebNotificationClick):
2181         * WebKitTestRunner/WebNotificationProvider.cpp:
2182         (WTR::WebNotificationProvider::showWebNotification):
2183         (WTR::removeGlobalIDFromIDMap):
2184         (WTR::WebNotificationProvider::closeWebNotification):
2185         (WTR::WebNotificationProvider::removeNotificationManager):
2186         (WTR::WebNotificationProvider::simulateWebNotificationClick):
2187         (WTR::WebNotificationProvider::reset):
2188         * WebKitTestRunner/WebNotificationProvider.h:
2189
2190 2016-07-01  Alexey Proskuryakov  <ap@apple.com>
2191
2192         Simplify LayoutTestRelay
2193         https://bugs.webkit.org/show_bug.cgi?id=159353
2194
2195         Reviewed by Daniel Bates.
2196
2197         1. Use UDID to pass the device from webkitpy to LayoutTestRelay, searching for it
2198         by name and runtime makes no sense.
2199         2. Removed code to create devices, webkitpy always does this in advance.
2200         3. Don't create copies of testing apps - we can install the same one into
2201         each simulator, now that we don't run multiple tester processes in a single simulator.
2202         4. Pass information on how to find I/O pipes via environment, not via Info.plist.
2203         5. Removed code that kept testing apps alive in the background.
2204         6. Slightly updated coding style in functions that I touched.
2205
2206         * LayoutTestRelay/LayoutTestRelay/CoreSimulatorSPI.h:
2207         Updated for what we acually use at this point.
2208
2209         * LayoutTestRelay/LayoutTestRelay/LTRelayController.h:
2210         * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
2211         (-[LTRelayController initWithDevice:productDir:appPath:deviceUDID:dumpToolArguments:]):
2212         (-[LTRelayController ipcIdentifier]):
2213         (-[LTRelayController processName]):
2214         (-[LTRelayController didReceiveStdoutData:]):
2215         (-[LTRelayController didCrashWithMessage:]):
2216         (-[LTRelayController installApp]):
2217         (-[LTRelayController _environmentVariables]):
2218         (-[LTRelayController launchApp]):
2219         (-[LTRelayController start]):
2220         (-[LTRelayController initWithDevice:productDir:appPath:identifierSuffix:dumpToolArguments:]): Deleted.
2221         (-[LTRelayController uniqueAppPath]): Deleted.
2222         (-[LTRelayController uniqueAppURL]): Deleted.
2223         (-[LTRelayController uniqueAppIdentifier]): Deleted.
2224         (-[LTRelayController createUniqueApp]): Deleted.
2225         * LayoutTestRelay/LayoutTestRelay/main.m:
2226         (usage):
2227         (getRequiredStringArgument):
2228         (main):
2229         (getTestingSimDevice): Deleted.
2230         * Scripts/webkitpy/port/driver.py:
2231         (IOSSimulatorDriver.cmd_line):
2232         * WebKitTestRunner/ios/TestControllerIOS.mm:
2233         (WTR::TestController::platformInitialize):
2234         * WebKitTestRunner/ios/mainIOS.mm:
2235         (-[WebKitTestRunnerApp applicationDidEnterBackground:]):
2236         * DumpRenderTree/mac/DumpRenderTree.mm:
2237         (dumpRenderTree):
2238         (-[DumpRenderTree applicationDidEnterBackground:]):
2239
2240 2016-07-01  Konstantin Tokarev  <annulen@yandex.ru>
2241
2242         [cmake] Build TestNetscapePlugin only if NPAPI is enabled.
2243         https://bugs.webkit.org/show_bug.cgi?id=159344
2244
2245         Reviewed by Alex Christensen.
2246
2247         * DumpRenderTree/CMakeLists.txt:
2248
2249 2016-07-01  Youenn Fablet  <youennf@gmail.com>
2250
2251         Add a runtime flag for DOM iterators
2252         https://bugs.webkit.org/show_bug.cgi?id=159300
2253
2254         Reviewed by Alex Christensen.
2255
2256         * DumpRenderTree/mac/DumpRenderTree.mm:
2257         (resetWebPreferencesToConsistentValues):
2258         * DumpRenderTree/win/DumpRenderTree.cpp:
2259         (resetWebPreferencesToConsistentValues):
2260         * Scripts/webkitperl/FeatureList.pm:
2261         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2262         (WTR::InjectedBundle::beginTesting):
2263         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2264         (WTR::TestRunner::setDOMIteratorEnabled):
2265         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2266
2267 2016-06-30  Tina Liu  <iting_liu@apple.com>
2268
2269         Add an API test for WKPageRestoreFromSessionStateWithoutNavigation.
2270         https://bugs.webkit.org/show_bug.cgi?id=159326
2271
2272         Reviewed by Brady Eidson.
2273
2274         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2275         * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateWithoutNavigation.cpp: Added.
2276         (TestWebKitAPI::didFinishLoadForFrame):
2277         (TestWebKitAPI::didChangeBackForwardListForPage):
2278         (TestWebKitAPI::setPageLoaderClient):
2279         Set the page loader client and register for didFinishLoadForFrame and
2280         didChangeBackForwardList callbacks.
2281         (TestWebKitAPI::createSessionStateData):
2282         Load a webpage ("simple.html") and return the session state for this page.
2283         (TestWebKitAPI::TEST):
2284         Restore the page session state with that of "simple.html" without navigation.
2285         Verify that the committed URL is NULL since there's no navigation involved.
2286         Verify that the current item in the back forward list, which should be what
2287         we restored from the session state, has the expected URL.
2288
2289 2016-06-29  Filip Pizlo  <fpizlo@apple.com>
2290
2291         Generators violate bytecode liveness validation
2292         https://bugs.webkit.org/show_bug.cgi?id=159279
2293
2294         Reviewed by Yusuke Suzuki.
2295         
2296         Add Basic to our test harness.
2297
2298         * Scripts/run-javascriptcore-tests:
2299         (runJSCStressTests):
2300
2301 2016-06-30  Per Arne Vollan  <pvollan@apple.com>
2302
2303         [Win][Debug] Assertion fails in TestWTF.
2304         https://bugs.webkit.org/show_bug.cgi?id=159299
2305
2306         Reviewed by Alex Christensen.
2307
2308         The assert in the & operator in the UniqueRef class fails, because the instance has been moved.
2309         The Windows version of the UNUSED_PARAM macro is getting the address of the parameter, causing
2310         the assertion failure. Since the variable is actually used, there is no need to use the
2311         UNUSED_PARAM macro.
2312
2313         * TestWebKitAPI/Tests/WTF/UniqueRef.cpp:
2314         (TestWebKitAPI::TEST):
2315
2316 2016-06-30  Youenn Fablet  <youennf@gmail.com>
2317
2318         LayoutTests intermittently failing to run due to issues starting Web Platform Test server
2319         https://bugs.webkit.org/show_bug.cgi?id=159166
2320         <rdar://problem/27051759>
2321
2322         Reviewed by Alexey Proskuryakov.
2323
2324         Setting the certificate directory to the copied config.json.
2325
2326         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2327         (WebPlatformTestServer._copy_webkit_test_files):
2328
2329 2016-06-29  Mark Lam  <mark.lam@apple.com>
2330
2331         Add support for collecting cumulative LLINT stats via a JSC_llintStatsFile option.
2332         https://bugs.webkit.org/show_bug.cgi?id=159274
2333
2334         Reviewed by Keith Miller.
2335
2336         * DumpRenderTree/mac/DumpRenderTree.mm:
2337         (DumpRenderTreeMain):
2338
2339 2016-06-29  Alex Christensen  <achristensen@webkit.org>
2340
2341         WKWebView should ask WKNavigationDelegate about bad ssl certificates
2342         https://bugs.webkit.org/show_bug.cgi?id=159176
2343
2344         Reviewed by Sam Weinig.
2345
2346         * MiniBrowser/mac/WK2BrowserWindowController.m:
2347         (-[WK2BrowserWindowController webView:didFinishLoadingNavigation:]):
2348         (-[WK2BrowserWindowController webView:didReceiveAuthenticationChallenge:completionHandler:]):
2349         (-[WK2BrowserWindowController webView:didFailNavigation:withError:]):
2350
2351 2016-06-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2352
2353         [GTK] Add missing install dependency after r202619
2354         https://bugs.webkit.org/show_bug.cgi?id=156716
2355
2356         Unreviewed.
2357
2358         * gtk/install-dependencies: Missed to add the GLES headers that are needed for building mesa on Debian.
2359
2360 2016-06-29  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2361
2362         [GTK][Wayland] Implement support for running the layout tests under a (virtualized) Wayland environment.
2363         https://bugs.webkit.org/show_bug.cgi?id=156716
2364
2365         Reviewed by Carlos Garcia Campos and Michael Catanzaro.
2366
2367         * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Allow to run the layout tests on Wayland by passing --wayland
2368         (parse_args):
2369         * Scripts/webkitpy/port/gtk.py:
2370         (GtkPort.__init__):
2371         (GtkPort._driver_class):
2372         (GtkPort.setup_environ_for_server): Set the softgl renderer (now with EGL support) for the wayland tests.
2373         (GtkPort._search_paths): When running inside the wayland environment, use ${port}-wayland as an additional
2374         platform directory for storing the wayland specific layout test results and expectations for ${port}.
2375         For example, the file LayoutTests/platform/gtk-wayland/TestExpectations will be used as the most specific
2376         test expectations file on the GTK port when running the tests with the --wayland command line switch.
2377         Baseline search path: gtk-wayland -> gtk -> wk2 -> generic.
2378         * Scripts/webkitpy/port/westondriver.py: Run the weston display server inside Xvfb.
2379         (WestonDriver.check_driver):
2380         (WestonDriver.__init__):
2381         (WestonDriver._start):
2382         * Scripts/webkitpy/port/westondriver_unittest.py: Fix unittests for the new Weston inside Xvfb driver.
2383         (WestonXvfbDriverDisplayTest):
2384         (WestonXvfbDriverDisplayTest.__init__):
2385         (WestonXvfbDriverDisplayTest._xvfb_run):
2386         (WestonDriverTest.make_driver):
2387         (WestonDriverTest.test_start):
2388         * gtk/install-dependencies: Add the new dependencies that are required for either building weston,
2389         or to satisfy the pkg-config check of the new added modules in JHBuild.
2390         * gtk/jhbuild.modules: For building weston new enough on Debian Jessie we also need to build wayland
2391         and libinput. Declare a pkg-config entry on all this modules to avoid building them if the ones
2392         provided by the system are already new enough.
2393         Switch the Mesa software rasterizer from a Xlib based GLX renderer to a DRI based EGL/GLX one.
2394         It was the only way to get the software EGL rasterizer working without depending on user drivers.
2395         Due to this the Mesa build now depends on a modern enough libdrm, so we also use JHBuild pkg-config
2396         feature to avoid building libdrm when the one provided by the system is new enough.
2397         * gtk/jhbuildrc:
2398         * gtk/patches/xserver-search-for-DRI-drivers-at-LIBGL_DRIVERS_PATH-environ.patch: Added.
2399         Xorg had no support for searching the DRI drivers on a custom path at runtime.
2400         This patch implements support for that reusing the same variable that we use with Mesa to set the
2401         custom path for the DRI drivers path.
2402
2403 2016-06-29  Alejandro G. Castro  <alex@igalia.com>
2404
2405         [WebRTC][OWR] Bump gst-plugins-openwebrtc jhbuild version to get scream fixes
2406         https://bugs.webkit.org/show_bug.cgi?id=159256
2407
2408         Reviewed by Philippe Normand.
2409
2410         We need the last fixes in the repository to make the scream queue
2411         work with apprtc.
2412
2413         * gtk/jhbuild.modules:
2414
2415 2016-06-28  Commit Queue  <commit-queue@webkit.org>
2416
2417         Unreviewed, rolling out r202580.
2418         https://bugs.webkit.org/show_bug.cgi?id=159245
2419
2420         Caused all WKTR tests to fail on GuardMalloc and Production
2421         only for unknown reasons, investigating offline. (Requested by
2422         brrian on #webkit).
2423
2424         Reverted changeset:
2425
2426         "RunLoop::Timer should use constructor templates instead of
2427         class templates"
2428         https://bugs.webkit.org/show_bug.cgi?id=159153
2429         http://trac.webkit.org/changeset/202580
2430
2431 2016-06-28  Srinivasan Vijayaraghavan  <svijayaraghavan@apple.com>
2432
2433         Use a regex to check if a test step is for JavaScriptCore
2434         https://bugs.webkit.org/show_bug.cgi?id=159224
2435
2436         Reviewed by Geoffrey Garen.
2437
2438         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotCombinedQueueView.js:
2439         (BuildbotCombinedQueueView.prototype.update): Replace array membership test with regex test.
2440         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
2441         (BuildbotIteration.prototype._parseData): Replace array membership test with regex test.
2442         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js:
2443         (BuildbotTesterQueueView.prototype.appendBuilderQueueStatus): Replace array membership test with regex test.
2444
2445 2016-06-28  Michael Saboff  <msaboff@apple.com>
2446
2447         btjs no longer accepts optional frame count argument
2448         https://bugs.webkit.org/show_bug.cgi?id=159235
2449
2450         Reviewed by Saam Barati.
2451
2452         Fix the detection of optional backtrace-depth parameter to use the length
2453         of the command.
2454
2455         * lldb/lldb_webkit.py:
2456         (btjs):
2457
2458 2016-06-28  Jon Lee  <jonlee@apple.com>
2459
2460         Update animometer.plan
2461
2462         Rubber-stamped by Said Abou-Hallawa.
2463
2464         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r202601.
2465
2466 2016-06-28  Filip Pizlo  <fpizlo@apple.com>
2467
2468         Unreviewed, fix JSC tests. Air.js moved, and the harness needs to know.
2469
2470         * Scripts/run-javascriptcore-tests:
2471         (runJSCStressTests):
2472
2473 2016-06-28  Brian Burg  <bburg@apple.com>
2474
2475         RunLoop::Timer should use constructor templates instead of class templates
2476         https://bugs.webkit.org/show_bug.cgi?id=159153
2477
2478         Reviewed by Alex Christensen.
2479
2480         Remove the RunLoop::Timer class template argument, and pass its constructor
2481         a reference to `this` instead of a pointer to `this`.
2482
2483         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2484         (WTR::TestRunner::TestRunner):
2485         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2486         * TestWebKitAPI/Tests/WTF/RunLoop.cpp:
2487         (TestWebKitAPI::TEST):
2488
2489 2016-06-28  Ryosuke Niwa  <rniwa@webkit.org>
2490
2491         REGRESSION(r201471): FormClient.textFieldDidEndEditing is no longer called when a text field is removed
2492         https://bugs.webkit.org/show_bug.cgi?id=159199
2493
2494         Reviewed by Alexey Proskuryakov.
2495
2496         Added a test case for removing a text field. Also fixed the flakiness and re-enabled it on Mac.
2497
2498         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing.cpp:
2499         * TestWebKitAPI/Tests/WebKit2/TextFieldDidBeginAndEndEditing_Bundle.cpp:
2500         * TestWebKitAPI/Tests/WebKit2/input-focus-blur.html: Focus a div upfront to avoid the flakiness from
2501         an input element getting automatically focused on Mac.
2502
2503 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
2504
2505         [Win] Custom elements tests are failing.
2506         https://bugs.webkit.org/show_bug.cgi?id=159139
2507
2508         Reviewed by Alex Christensen.
2509
2510         Enable custom element API when running tests.
2511
2512         * DumpRenderTree/win/DumpRenderTree.cpp:
2513         (resetWebPreferencesToConsistentValues):
2514
2515 2016-06-27  Lucas Forschler  <lforschler@apple.com>
2516
2517         Test commit. Please ignore.
2518         
2519 2016-06-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2520
2521         [GTK][EFL] Disable subtle-crypto in FeatureList.pm
2522         https://bugs.webkit.org/show_bug.cgi?id=155073
2523
2524         Reviewed by Daniel Bates.
2525
2526         * Scripts/webkitperl/FeatureList.pm:
2527
2528 2016-06-27  Simon Fraser  <simon.fraser@apple.com>
2529
2530         [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting
2531         https://bugs.webkit.org/show_bug.cgi?id=159077
2532
2533         Reviewed by Tim Horton.
2534
2535         Re-enable render server snapshotting for iOS WTR via the change in InjectedBundlePage.cpp.
2536
2537         Fix WebPageProxy::forceRepaint() to correctly wait for the next commit from the web process,
2538         which is necessary for UI-side compositing.
2539
2540         Add some null checks to fix issues when the WKWebView gets resized to be empty, which
2541         seems to happen for some tests that call window.resizeTo().
2542
2543         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2544         (WTR::InjectedBundlePage::dump): Deleted.
2545         * WebKitTestRunner/TestInvocation.cpp:
2546         (WTR::TestInvocation::dumpResults):
2547         * WebKitTestRunner/cg/TestInvocationCG.cpp:
2548         (WTR::createCGContextFromImage):
2549         (WTR::computeMD5HashStringForContext):
2550         (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
2551         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2552         (WTR::PlatformWebView::windowSnapshotImage):
2553
2554 2016-06-27  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2555
2556         [EFL] Support to build on Debian linux
2557         https://bugs.webkit.org/show_bug.cgi?id=159123
2558
2559         Reviewed by Antonio Gomes.
2560
2561         * efl/install-dependencies: Install libgnutls28-dev.
2562
2563 2016-06-27  Alex Christensen  <achristensen@webkit.org>
2564
2565         Send canAuthenticateAgainstProtectionSpace calls from NetworkProcess directly to UIProcess
2566         https://bugs.webkit.org/show_bug.cgi?id=159071
2567
2568         Reviewed by Brady Eidson.
2569
2570         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2571         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2572         (WTR::TestRunner::setHandlesAuthenticationChallenges):
2573         (WTR::TestRunner::setShouldLogCanAuthenticateAgainstProtectionSpace):
2574         (WTR::TestRunner::setAuthenticationUsername):
2575         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2576         * WebKitTestRunner/TestController.cpp:
2577         (WTR::TestController::TestController):
2578         (WTR::TestController::resetStateToConsistentValues):
2579         (WTR::TestController::didFinishNavigation):
2580         (WTR::TestController::canAuthenticateAgainstProtectionSpace):
2581         (WTR::TestController::didReceiveAuthenticationChallenge):
2582         (WTR::TestController::didCommitNavigation):
2583         * WebKitTestRunner/TestController.h:
2584         (WTR::TestController::setBlockAllPlugins):
2585         (WTR::TestController::setShouldLogHistoryClientCallbacks):
2586         (WTR::TestController::setShouldLogCanAuthenticateAgainstProtectionSpace):
2587         (WTR::TestController::isCurrentInvocation):
2588         * WebKitTestRunner/TestInvocation.cpp:
2589         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
2590         Added output so we can see when canAuthenticateAgainstProtectionSpace is called from the test expectations.
2591
2592 2016-06-27  Per Arne Vollan  <pvollan@apple.com>
2593
2594         [Win] The test fast/events/wheel-event-outside-body.html is timing out.
2595         https://bugs.webkit.org/show_bug.cgi?id=159129
2596
2597         Reviewed by Alex Christensen.
2598
2599         Implement the function mouseScrollBy in the Windows event sender.
2600
2601         * DumpRenderTree/win/EventSender.cpp:
2602         (mouseScrollBy):
2603         (mouseScrollByWithWheelAndMomentumPhasesCallback):
2604
2605 2016-06-25  Filip Pizlo  <fpizlo@apple.com>
2606
2607         REGRESSION: Weak symbol warning when linking TestWebKitAPI
2608         https://bugs.webkit.org/show_bug.cgi?id=159104
2609
2610         Reviewed by Dan Bernstein.
2611         
2612         This uses a better approach to turn on -fvisility=hidden. All of the other projects set
2613         this flag in xcconfig, using "GCC_SYMBOLS_PRIVATE_EXTERN = YES;".
2614
2615         * TestWebKitAPI/Configurations/TestWTFLibrary.xcconfig: Use GCC_SYMBOLS_PRIVATE_EXTERN here.
2616         * TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig: Use GCC_SYMBOLS_PRIVATE_EXTERN here.
2617         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Revert r202461.
2618
2619 2016-06-25  Per Arne Vollan  <pvollan@apple.com>
2620
2621         [Win] The test fast/events/wheel-event-destroys-frame.html is timing out.
2622         https://bugs.webkit.org/show_bug.cgi?id=159086
2623
2624         Reviewed by Alex Christensen.
2625
2626         Implement required wheel event function in event sender.
2627  
2628         * DumpRenderTree/win/EventSender.cpp:
2629         (mouseScrollByWithWheelAndMomentumPhasesCallback):
2630
2631 2016-06-24  Filip Pizlo  <fpizlo@apple.com>
2632
2633         REGRESSION: Weak symbol warning when linking TestWebKitAPI
2634         https://bugs.webkit.org/show_bug.cgi?id=159104
2635
2636         Reviewed by Mark Lam.
2637         
2638         The problem is that the tests were not compiled with -fvisibility=hidden like the rest of
2639         WK.
2640
2641         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2642
2643 2016-06-24  David Kilzer  <ddkilzer@apple.com>
2644
2645         parser_unittests.pl should not hardcode list of tests
2646         <https://webkit.org/b/159074>
2647
2648         Reviewed by Daniel Bates.
2649
2650         * Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
2651         Update to read the list of tests from the 'resources' directory,
2652         and instead map file extensions to subroutine names.  Switch to
2653         use File::Basename::fileparse() to get basename and file
2654         extension for each test.
2655         (readTestFiles): Added.  Reads files from the directory passed
2656         in and ignores: hidden files, anything that isn't a plain file,
2657         and expected test results files.
2658
2659 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2660
2661         Fix Windows build.
2662
2663         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2664         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2665
2666 2016-06-23  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2667
2668         [EFL] Change download path of libxslt
2669
2670         Unreviewed EFL build fix.
2671
2672         In Korea current download path can't be accessed. Change it.
2673
2674         * efl/jhbuild.modules:
2675
2676 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2677
2678         https://bugs.webkit.org/show_bug.cgi?id=159077
2679
2680         Turn off CARenderServer snapshotting in WTR for now, because it doesn't reliably
2681         snapshot the final state of the test in release builds. 
2682
2683         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2684         (WTR::InjectedBundlePage::dump):
2685
2686 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2687
2688         Fix hardware builds, where USE(IOSURFACE) is true by #ifdeffing.
2689
2690         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2691         (createBitmapContextFromWebView):
2692         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2693         (WTR::PlatformWebView::windowSnapshotImage):
2694
2695 2016-06-23  Simon Fraser  <simon.fraser@apple.com>
2696
2697         [iOS] Make DumpRenderTree and WebKitTestRunner in the simulator use render server snapshotting
2698         https://bugs.webkit.org/show_bug.cgi?id=159077
2699
2700         Reviewed by Tim Horton.
2701
2702         Fix both DRT and WTR for iOS to use CARenderServerRenderLayerWithTransform() on the view's layer.
2703         This allows them to capture compositing layers in snapshots, rather than doing a software paint,
2704         thus enabling testing of more things.
2705
2706         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2707         (createBitmapContext): Moved to this file to share it.
2708         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2709         * DumpRenderTree/ios/PixelDumpSupportIOS.mm:
2710         (createBitmapContextFromWebView):
2711         (BitmapContext::createFromUIImage): Deleted.
2712         (BitmapContext::pixelData): Deleted.
2713         (BitmapContext::BitmapContext): Deleted.
2714         (computeMD5HashStringForBitmapContext): Deleted.
2715         (dumpBitmap): Deleted.
2716         * DumpRenderTree/mac/Configurations/DumpRenderTreeLibrary.xcconfig: Don't exclude PixelDumpSupportCG.cpp.
2717         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2718         (createPagedBitmapContext):
2719         (createBitmapContext): Deleted.
2720         * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: link with QuartzCore.
2721         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
2722         (WTR::InjectedBundlePage::dump): Deleted.
2723         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
2724         (WTR::PlatformWebView::windowSnapshotImage):
2725
2726 2016-06-23  Konstantin Tokarev  <annulen@yandex.ru>
2727
2728         [jhbuild] Added libxslt module.
2729         https://bugs.webkit.org/show_bug.cgi?id=159034
2730
2731         Unreviewed, followup for r202373.
2732
2733         * efl/install-dependencies: Removed libxslt 
2734         * gtk/install-dependencies: Ditto.
2735
2736 2016-06-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2737
2738         [EFL] Bump gstreamer version from 1.6.3 to 1.8.0
2739         https://bugs.webkit.org/show_bug.cgi?id=159050
2740
2741         Reviewed by Antonio Gomes.
2742
2743         To be sync with GTK port, this patch bumps gstreamer version for EFL port.
2744
2745         * efl/jhbuild.modules:
2746         * efl/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added.
2747         * efl/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added.
2748
2749 2016-06-23  Konstantin Tokarev  <annulen@yandex.ru>
2750
2751         [jhbuild] Added libxslt module.
2752         https://bugs.webkit.org/show_bug.cgi?id=159034
2753
2754         Reviewed by Michael Catanzaro.
2755
2756         * efl/jhbuild.modules:
2757         * gtk/jhbuild.modules:
2758
2759 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2760
2761         [Win] Use Windows api function to find top level parent.
2762         https://bugs.webkit.org/show_bug.cgi?id=159021
2763
2764         Reviewed by Brent Fulgham.
2765
2766         Delete findTopLevelParent function, and use Win32 function GetAncestor instead.
2767  
2768         * DumpRenderTree/win/UIDelegate.cpp:
2769         (UIDelegate::runModal):
2770         (findTopLevelParent): Deleted.
2771         * MiniBrowser/win/PrintWebUIDelegate.cpp:
2772         (PrintWebUIDelegate::runModal):
2773         (findTopLevelParent): Deleted.
2774
2775 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2776
2777         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
2778         https://bugs.webkit.org/show_bug.cgi?id=158934
2779
2780         Reviewed by Brent Fulgham.
2781
2782         DumpRenderTree should also delete indexed databases when clearAllDatabases() is called.
2783
2784         * DumpRenderTree/win/TestRunnerWin.cpp:
2785         (TestRunner::clearAllDatabases):
2786
2787 2016-06-22  Saam Barati  <sbarati@apple.com>
2788
2789         run-javascriptcore-tests should have some environment variables for commonly used settings
2790         https://bugs.webkit.org/show_bug.cgi?id=159047
2791
2792         Reviewed by Keith Miller.
2793
2794         This patch adds three environment variables that run-javascriptcore-tests
2795         consults:
2796         - RUN_JAVASCRIPTCORE_TESTS_TESTAPI can be set to 'true' or 'false'. It
2797           determines if we should run the api tests or not.
2798         - RUN_JAVASCRIPTCORE_TESTS_BUILD can be set to 'true' or 'false'. It
2799           determines if we will perform a build or not before running the tests.
2800           to set the default should-build setting.
2801         - RUN_JAVASCRIPTCORE_TESTS_EXTRA_TESTS can be set to a directory or to
2802           a yaml file. If set, we will run the extra tests it refers to.
2803
2804         All the values in these environment variables will be overridden if an
2805         option is explicitly passed in. For example, the following will run
2806         the api tests:
2807         `RUN_JAVASCRIPTCORE_TESTS_TESTAPI=false run-javascriptcore-tests --testapi`
2808
2809         * Scripts/run-javascriptcore-tests:
2810
2811 2016-06-22  Saam barati  <sbarati@apple.com>
2812
2813         TypeProfiler and TypeProfilerLog don't play nicely with the concurrent JIT
2814         https://bugs.webkit.org/show_bug.cgi?id=159037
2815         <rdar://problem/26935349>
2816
2817         Reviewed by Benjamin Poulain.
2818
2819         Run typeProfiler.yaml tests under an additional CJIT enabled mode.
2820
2821         * Scripts/run-jsc-stress-tests:
2822
2823 2016-06-22  Aakash Jain  <aakash_jain@apple.com>
2824
2825         Fix style issues in webkitpy
2826         https://bugs.webkit.org/show_bug.cgi?id=159019
2827
2828         Reviewed by Daniel Bates.
2829
2830         Fixed the formatting issues as reported by check-webkit-style in webkitpy.
2831         There is no functionality change.
2832         Only affected file names retained below for brevity.
2833
2834         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
2835         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver_factory.py:
2836         * Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py:
2837         * Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py:
2838         * Scripts/webkitpy/benchmark_runner/utils.py:
2839         * Scripts/webkitpy/common/checkout/changelog.py:
2840         * Scripts/webkitpy/common/checkout/changelog_unittest.py:
2841         * Scripts/webkitpy/common/checkout/checkout.py:
2842         * Scripts/webkitpy/common/checkout/checkout_mock.py:
2843         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
2844         * Scripts/webkitpy/common/checkout/commitinfo.py:
2845         * Scripts/webkitpy/common/checkout/commitinfo_unittest.py:
2846         * Scripts/webkitpy/common/checkout/diff_parser_unittest.py:
2847         * Scripts/webkitpy/common/checkout/scm/scm.py:
2848         * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
2849         * Scripts/webkitpy/common/config/committers_unittest.py:
2850         * Scripts/webkitpy/common/config/irc.py:
2851         * Scripts/webkitpy/common/config/ports.py:
2852         * Scripts/webkitpy/common/config/ports_unittest.py:
2853         * Scripts/webkitpy/common/config/urls.py:
2854         * Scripts/webkitpy/common/host_mock.py:
2855         * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
2856         * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
2857         * Scripts/webkitpy/common/net/buildbot/buildbot.py:
2858         * Scripts/webkitpy/common/net/buildbot/buildbot_mock.py:
2859         * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
2860         * Scripts/webkitpy/common/net/credentials_unittest.py:
2861         * Scripts/webkitpy/common/net/irc/ircproxy_unittest.py:
2862         * Scripts/webkitpy/common/net/networktransaction_unittest.py:
2863         * Scripts/webkitpy/common/net/statusserver.py:
2864         * Scripts/webkitpy/common/system/autoinstall.py:
2865         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
2866         * Scripts/webkitpy/common/system/executive.py:
2867         * Scripts/webkitpy/common/system/executive_mock.py:
2868         * Scripts/webkitpy/common/system/executive_unittest.py:
2869         * Scripts/webkitpy/common/system/filesystem_mock.py:
2870         * Scripts/webkitpy/common/system/filesystem_unittest.py:
2871         * Scripts/webkitpy/common/system/logutils_unittest.py:
2872         * Scripts/webkitpy/common/system/path.py:
2873         * Scripts/webkitpy/common/system/path_unittest.py:
2874         * Scripts/webkitpy/common/system/platforminfo.py:
2875         * Scripts/webkitpy/common/system/user.py:
2876         * Scripts/webkitpy/common/system/user_unittest.py:
2877         * Scripts/webkitpy/common/system/workspace_unittest.py:
2878         * Scripts/webkitpy/common/thread/threadedmessagequeue.py:
2879         * Scripts/webkitpy/common/thread/threadedmessagequeue_unittest.py:
2880         * Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
2881         * Scripts/webkitpy/layout_tests/controllers/manager.py:
2882         * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py:
2883         * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
2884         * Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py:
2885         * Scripts/webkitpy/layout_tests/models/test_configuration.py:
2886         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
2887         * Scripts/webkitpy/layout_tests/models/test_failures.py:
2888         * Scripts/webkitpy/layout_tests/models/test_run_results.py:
2889         * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
2890         * Scripts/webkitpy/layout_tests/views/metered_stream_unittest.py:
2891         * Scripts/webkitpy/layout_tests/views/printing.py:
2892         * Scripts/webkitpy/performance_tests/perftestsrunner.py:
2893         * Scripts/webkitpy/performance_tests/perftestsrunner_integrationtest.py:
2894         * Scripts/webkitpy/port/base_unittest.py:
2895         * Scripts/webkitpy/port/driver.py:
2896         * Scripts/webkitpy/port/driver_unittest.py:
2897         * Scripts/webkitpy/port/factory.py:
2898         * Scripts/webkitpy/port/gtk.py:
2899         * Scripts/webkitpy/port/server_process_unittest.py:
2900         * Scripts/webkitpy/port/test.py:
2901         * Scripts/webkitpy/port/win.py:
2902         * Scripts/webkitpy/style/checker.py:
2903         * Scripts/webkitpy/style/checkers/common_unittest.py:
2904         * Scripts/webkitpy/style/checkers/cpp.py:
2905         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2906         * Scripts/webkitpy/style/checkers/js.py:
2907         * Scripts/webkitpy/style/checkers/jsonchecker.py:
2908         * Scripts/webkitpy/style/checkers/png.py:
2909         * Scripts/webkitpy/style/checkers/text.py:
2910         * Scripts/webkitpy/style/checkers/text_unittest.py:
2911         * Scripts/webkitpy/style/error_handlers.py:
2912         * Scripts/webkitpy/style/filter.py:
2913         * Scripts/webkitpy/style/filter_unittest.py:
2914         * Scripts/webkitpy/style/optparser.py:
2915         * Scripts/webkitpy/style/optparser_unittest.py:
2916         * Scripts/webkitpy/test/main.py:
2917         * Scripts/webkitpy/w3c/test_converter.py:
2918         * Scripts/webkitpy/w3c/test_converter_unittest.py:
2919         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2920         * Scripts/webkitpy/xcode/simulator.py:
2921
2922 2016-06-22  Brady Eidson  <beidson@apple.com>
2923
2924         DatabaseProcess doesn't handle WebProcesses going away uncleanly.
2925         https://bugs.webkit.org/show_bug.cgi?id=158894
2926
2927         Reviewed by Alex Christensen.
2928
2929         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2930         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-2.html:
2931         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess-3.html: Added.
2932         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
2933
2934 2016-06-22  Jon Lee  <jonlee@apple.com>
2935
2936         Update animometer.plan
2937         https://bugs.webkit.org/show_bug.cgi?id=159012
2938
2939         Reviewed by Ryosuke Niwa.
2940
2941         * Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan: Update to r202318.
2942
2943 2016-06-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2944
2945         W3C test importer should generate files to ignore by WebKit SCM
2946         https://bugs.webkit.org/show_bug.cgi?id=142743
2947
2948         Reviewed by Darin Adler.
2949
2950         TestDownloader generates the .gitignore file according submodules git repository information.
2951         TestImporter requests the generation of .gitignore and the main __init__.py according LayoutTests/imported/w3c/resources/TestRepositories options.
2952
2953         * Scripts/webkitpy/w3c/test_downloader.py:
2954         (TestDownloader.generate_gitignore): Generating .gitignore according submodules description.
2955         * Scripts/webkitpy/w3c/test_importer.py:
2956         (TestImporter.process_test_repositories_import_options): Added the generation of .gitignore/__init__.py if the repo has the right option.
2957         (TestImporter):
2958         (TestImporter.write_init_py): Writing not empty __init__.py files.
2959         (TestImporter.import_tests): Using  of write_init_py. 
2960         * Scripts/webkitpy/w3c/test_importer_unittest.py:
2961         (TestImporterTest.test_git_ignore_generation): Added .gitignore test.
2962         (TestImporterTest):
2963         (TestImporterTest.test_initpy_generation): Added __init__.py test.
2964
2965 2016-06-21  Sam Weinig  <sam@webkit.org>
2966
2967         WKWebView with no WKNavigationDelegate does not follow universal links
2968         <rdar://problem/24374110>
2969         https://bugs.webkit.org/show_bug.cgi?id=158997
2970
2971         Reviewed by Dan Bernstein.
2972
2973         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2974         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added.
2975         Add a new test that shows that we have a default navigation delegate by swizzling
2976         -[NSWorkspace openURL:]. This will only be called if there is a default client.
2977
2978 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2979
2980         [Win] Implement modal dialog support in MiniBrowser.
2981         https://bugs.webkit.org/show_bug.cgi?id=158976
2982
2983         Reviewed by Brent Fulgham.
2984
2985         * MiniBrowser/win/PrintWebUIDelegate.cpp:
2986         (PrintWebUIDelegate::createWebViewWithRequest):
2987         (getHandleFromWebView):
2988         (PrintWebUIDelegate::webViewClose):
2989         (PrintWebUIDelegate::setFrame):
2990         (PrintWebUIDelegate::webViewFrame):
2991         (PrintWebUIDelegate::canRunModal):
2992         (findTopLevelParent):
2993         (PrintWebUIDelegate::runModal):
2994         (PrintWebUIDelegate::createModalDialog):
2995         * MiniBrowser/win/PrintWebUIDelegate.h:
2996         (PrintWebUIDelegate::webViewClose):
2997         (PrintWebUIDelegate::setFrame):
2998         (PrintWebUIDelegate::webViewFrame):
2999         (PrintWebUIDelegate::canRunModal):
3000         (PrintWebUIDelegate::runModal):
3001
3002 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
3003
3004         window.showModalDialog doesn't work in DumpRenderTree on Windows
3005         https://bugs.webkit.org/show_bug.cgi?id=53675
3006
3007         Reviewed by Brent Fulgham.
3008
3009         Implement modal dialog support in DumpRenderTree.
3010
3011         * DumpRenderTree/win/UIDelegate.cpp:
3012         (UIDelegate::canRunModal):
3013         (getHandleFromWebView):
3014         (UIDelegate::createModalDialog):
3015         (findTopLevelParent):
3016         (UIDelegate::runModal):
3017         (UIDelegate::webViewClose):
3018         * DumpRenderTree/win/UIDelegate.h:
3019
3020 2016-06-21  Aakash Jain  <aakash_jain@apple.com>
3021
3022         Fix formatting issues reported by check-webkit-style
3023         https://bugs.webkit.org/show_bug.cgi?id=159008
3024
3025         Reviewed by Alexey Proskuryakov.
3026
3027         Fixed the formatting issues as reported by check-webkit-style in webkitpy/tool folder.
3028         There is no functionality change.
3029
3030         * Scripts/webkitpy/tool/bot/irc_command.py:
3031         (Restart.execute):
3032         (Rollout):
3033         * Scripts/webkitpy/tool/bot/ircbot_unittest.py:
3034         (IRCBotTest.test_exception_during_command):
3035         (IRCBotTest.test_exception_during_command.CommandWithException):
3036         (IRCBotTest.test_exception_during_command.CommandWithException.execute):
3037         * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
3038         (test_missing_unit_test_results_path):
3039         (test_layout_test_results):
3040         * Scripts/webkitpy/tool/bot/queueengine.py:
3041         * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
3042         * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
3043         (AbstractSequencedCommand):
3044         (AbstractSequencedCommand.__init__):
3045         * Scripts/webkitpy/tool/commands/download.py:
3046         (Land):
3047         * Scripts/webkitpy/tool/commands/openbugs.py:
3048         * Scripts/webkitpy/tool/commands/openbugs_unittest.py:
3049         (OpenBugsTest):
3050         * Scripts/webkitpy/tool/commands/queries.py:
3051         (PatchesToCommitQueue):
3052         (PatchesToCommitQueue.__init__):
3053         (PatchesToCommitQueue._needs_commit_queue):
3054         * Scripts/webkitpy/tool/commands/queries_unittest.py:
3055         (PrintExpectationsTest.test_platform):
3056         (PrintBaselinesTest):
3057         (PrintBaselinesTest.setUp):
3058         * Scripts/webkitpy/tool/commands/queues.py:
3059         (AbstractQueue):
3060         (AbstractQueue.__init__):
3061         (AbstractQueue.execute):
3062         * Scripts/webkitpy/tool/commands/queues_unittest.py:
3063         (test_auto_retry):
3064         * Scripts/webkitpy/tool/commands/rebaseline.py:
3065         (AbstractParallelRebaselineCommand._files_to_add):
3066         (AbstractParallelRebaselineCommand):
3067         (AbstractParallelRebaselineCommand._rebaseline):
3068         * Scripts/webkitpy/tool/commands/setupgitclone.py:
3069         (SetupGitClone):
3070         * Scripts/webkitpy/tool/commands/sheriffbot.py:
3071         * Scripts/webkitpy/tool/commands/stepsequence.py:
3072         * Scripts/webkitpy/tool/commands/upload.py:
3073         (PostCommits._comment_text_for_commit):
3074         (PostCommits):
3075         (PostCommits.execute):
3076         (MarkBugFixed):
3077         (MarkBugFixed.__init__):
3078         * Scripts/webkitpy/tool/commands/upload_unittest.py:
3079         (UploadCommandsTest):
3080         (UploadCommandsTest.test_commit_message_for_current_diff):
3081         * Scripts/webkitpy/tool/grammar_unittest.py:
3082         (GrammarTest):
3083         (GrammarTest.test_join_with_separators):
3084         * Scripts/webkitpy/tool/multicommandtool.py:
3085         (HelpCommand.__init__):
3086         (HelpCommand):
3087         (HelpCommand._help_epilog):
3088         (HelpCommand._remove_help_options):
3089         (MultiCommandTool):
3090         (MultiCommandTool.__init__):
3091         (MultiCommandTool.main):
3092         * Scripts/webkitpy/tool/multicommandtool_unittest.py:
3093         (TrivialCommand):
3094         (TrivialCommand.__init__):
3095         (MultiCommandToolTest):
3096         (MultiCommandToolTest._assert_tool_main_outputs):
3097         (MultiCommandToolTest.test_retry):
3098         (test_command_help):
3099         * Scripts/webkitpy/tool/steps/__init__.py:
3100         * Scripts/webkitpy/tool/steps/abstractstep.py:
3101         * Scripts/webkitpy/tool/steps/applypatch.py:
3102         * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
3103         (ApplyPatchWithLocalCommit):
3104         (ApplyPatchWithLocalCommit.options):
3105         * Scripts/webkitpy/tool/steps/build.py:
3106         * Scripts/webkitpy/tool/steps/checkstyle.py:
3107         (CheckStyle):
3108         (CheckStyle.options):
3109         * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
3110         * Scripts/webkitpy/tool/steps/closebug.py:
3111         * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
3112         * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
3113         (CloseBugForLandDiffTest):
3114         (CloseBugForLandDiffTest.test_empty_state):
3115         * Scripts/webkitpy/tool/steps/closepatch.py:
3116         * Scripts/webkitpy/tool/steps/commit.py:
3117         (Commit.run):
3118         * Scripts/webkitpy/tool/steps/confirmdiff.py:
3119         * Scripts/webkitpy/tool/steps/editchangelog.py:
3120         * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
3121         * Scripts/webkitpy/tool/steps/metastep.py:
3122         (MetaStep):
3123         (MetaStep.__init__):
3124         (MetaStep.run):
3125         * Scripts/webkitpy/tool/steps/obsoletepatches.py:
3126         * Scripts/webkitpy/tool/steps/options.py:
3127         (Options):
3128         * Scripts/webkitpy/tool/steps/postdiff.py:
3129         * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
3130         * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
3131         * Scripts/webkitpy/tool/steps/preparechangelog.py:
3132         * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
3133         (PrepareChangeLogTest):
3134         (PrepareChangeLogTest.test_resolve_existing_entry):
3135         * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
3136         * Scripts/webkitpy/tool/steps/promptforbugortitle.py:
3137         * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
3138         * Scripts/webkitpy/tool/steps/revertrevision.py:
3139         * Scripts/webkitpy/tool/steps/runtests.py:
3140         * Scripts/webkitpy/tool/steps/runtests_unittest.py:
3141         * Scripts/webkitpy/tool/steps/steps_unittest.py:
3142         (StepsTest):
3143         (StepsTest._step_options):
3144         * Scripts/webkitpy/tool/steps/update.py:
3145         * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
3146         (UpdateChangeLogsWithReviewerTest):
3147         (UpdateChangeLogsWithReviewerTest.test_guess_reviewer_from_bug):
3148         * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
3149         * Scripts/webkitpy/tool/steps/validatereviewer.py:
3150
3151 2016-06-21  Chris Dumez  <cdumez@apple.com>
3152
3153         Unreviewed, rolling out r202296.
3154
3155         Broke basic browsing in Safari
3156
3157         Reverted changeset:
3158
3159         "WKWebView with no WKNavigationDelegate does not follow
3160         universal links"
3161         https://bugs.webkit.org/show_bug.cgi?id=158997
3162         http://trac.webkit.org/changeset/202296
3163
3164 2016-06-21  Anders Carlsson  <andersca@apple.com>
3165
3166         Fix build.
3167
3168         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3169
3170 2016-06-21  Anders Carlsson  <andersca@apple.com>
3171
3172         Begin moving the Apple Pay code to the open source repository
3173         https://bugs.webkit.org/show_bug.cgi?id=158998
3174
3175         Reviewed by Tim Horton.
3176
3177         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3178         Add ENABLE_APPLE_PAY.
3179
3180 2016-06-21  Said Abou-Hallawa  <sabouhallawa@apple,com>
3181
3182         Add system tracing points for requestAnimationFrame() workflow
3183         https://bugs.webkit.org/show_bug.cgi?id=158723
3184
3185         Reviewed by Simon Fraser.
3186
3187         Add new plist entries to be used by kdebug_trace() viewing tools.
3188
3189         * Tracing/SystemTracePoints.plist:
3190
3191 2016-06-21  Sam Weinig  <sam@webkit.org>
3192
3193         WKWebView with no WKNavigationDelegate does not follow universal links
3194         <rdar://problem/24374110>
3195         https://bugs.webkit.org/show_bug.cgi?id=158997
3196
3197         Reviewed by Dan Bernstein.
3198
3199         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3200         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDefaultNavigationDelegate.mm: Added.
3201         Add a new test that shows that we have a default navigation delegate by swizzling
3202         -[NSWorkspace openURL:]. This will only be called if there is a default client.
3203
3204 2016-06-21  Aakash Jain  <aakash_jain@apple.com>
3205
3206         run-javascriptcore-tests should have flag to skip mozilla tests
3207         https://bugs.webkit.org/show_bug.cgi?id=158963
3208         rdar://problem/25838924
3209
3210         Reviewed by Alexey Proskuryakov.
3211
3212         * Scripts/run-javascriptcore-tests:
3213         (runJSCStressTests): Added flag to skip mozilla tests.
3214
3215 2016-06-20  Commit Queue  <commit-queue@webkit.org>
3216
3217         Unreviewed, rolling out r202136.
3218         https://bugs.webkit.org/show_bug.cgi?id=158932
3219
3220         JSBench wasn't regressed by r202002 and r202111 on iOS after
3221         all (Requested by rniwa_ on #webkit).
3222
3223         Reverted changeset:
3224
3225         "Unreviewed, rolling out r202002 and r202111."
3226         https://bugs.webkit.org/show_bug.cgi?id=158638
3227         http://trac.webkit.org/changeset/202136
3228
3229 2016-06-20  Keith Rollin  <krollin@apple.com>
3230
3231         Remove RefPtr::release() and change calls sites to use WTFMove()
3232         https://bugs.webkit.org/show_bug.cgi?id=158369
3233
3234         Reviewed by Chris Dumez.
3235
3236         RefPtr::release() releases its managed pointer awkwardly. It's more
3237         direct and clearer to use WTFMove to transfer ownership of the managed
3238         pointer.
3239
3240         As part of this cleanup, also change a lot of explicit data types to
3241         'auto'.
3242
3243         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
3244         (createBitmapContextFromWebView):
3245         (createPagedBitmapContext):
3246         * DumpRenderTree/mac/TestRunnerMac.mm:
3247         (TestRunner::setMockGeolocationPosition):
3248         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp:
3249         (TestWebKitAPI::TEST):
3250         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3251         (TestWebKitAPI::TEST):
3252
3253 2016-06-20  Tim Horton  <timothy_horton@apple.com>
3254
3255         Add a API test for *DeferringViewInWindowChanges as fixed in r202230
3256         https://bugs.webkit.org/show_bug.cgi?id=158947
3257
3258         Reviewed by Simon Fraser.
3259
3260         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3261         * TestWebKitAPI/Tests/WebKit2/DeferredViewInWindowStateChange.mm: Added.
3262         (TestWebKitAPI::didFinishLoadForFrame):
3263         (TestWebKitAPI::setPageLoaderClient):
3264         (TestWebKitAPI::TEST):
3265         Add a test ensuring that in-window state changes are deferred when using
3266         the SPI for deferring them, as fixed in r202230.
3267
3268 2016-06-20  Fujii Hironori  <Hironori.Fujii@sony.com>
3269
3270         WebKitTestRunner: Missing \n at the line of "#PROCESS UNRESPONSIVE"
3271         https://bugs.webkit.org/show_bug.cgi?id=158931
3272
3273         Reviewed by Alexey Proskuryakov.
3274
3275         * WebKitTestRunner/TestInvocation.cpp:
3276         (WTR::TestInvocation::dumpWebProcessUnresponsiveness): Appended missing \n at the end of line.
3277
3278 2016-06-17  Alexey Proskuryakov  <ap@apple.com>
3279
3280         Add test expectations for macOS Sierra
3281         https://bugs.webkit.org/show_bug.cgi?id=158903
3282
3283         Reviewed by Alex Christensen.
3284
3285         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra.png: Added.
3286         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Sierra@2x.png: Added.
3287         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3288         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3289         Added dashboard support.
3290
3291         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3292         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
3293         Trigger the right build queues on check-in.
3294
3295         * Scripts/webkitpy/common/system/platforminfo.py:
3296         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
3297         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3298         * Scripts/webkitpy/port/mac.py:
3299         * Scripts/webkitpy/port/mac_unittest.py:
3300         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3301         Added cases for Sierra, and updated tests for new baseline search paths.
3302
3303 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
3304
3305         Another buid fix for master.cfg.
3306
3307         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3308         (CompileWebKit.start):
3309
3310 2016-06-19  Alexey Proskuryakov  <ap@apple.com>
3311
3312         Another buid fix for master.cfg.
3313
3314         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3315         (CompileWebKit.start):
3316
3317 2016-06-19  Lucas Forschler  <lforschler@apple.com>
3318
3319         Fix master.cfg
3320         
3321         Unreviewed build fix.
3322
3323         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3324         (CompileWebKit.start):
3325
3326 2016-06-19  Lucas Forschler  <lforschler@apple.com>
3327
3328         Test another commit.
3329         
3330         Unreviewed.
3331
3332 2016-06-19  Lucas Forschler  <lforschler@apple.com>
3333
3334         Testing fix for trac-mirror.
3335         
3336         Unreviewed.
3337
3338 2016-06-19  Lucas Forschler  <lforschler@apple.com>
3339
3340         Test a commit against the SVN 1.9 server upgrade.
3341         
3342         Unreviewed.
3343         
3344 2016-06-17  Daniel Bates  <dabates@apple.com>
3345
3346         Unreviewed, rolling out r202186.
3347
3348         Broke the Apple Windows, Apple Yosemite, GTK, and WinCairo
3349         builds.
3350
3351         Reverted changeset:
3352
3353         "File scheme should not allow access of a resource on a
3354         different volume."
3355         https://bugs.webkit.org/show_bug.cgi?id=158552
3356         http://trac.webkit.org/changeset/202186
3357
3358 2016-06-17  Pranjal Jumde  <pjumde@apple.com>
3359
3360         File scheme should not allow access of a resource on a different volume.
3361         https://bugs.webkit.org/show_bug.cgi?id=158552
3362         <rdar://problem/15307582>
3363
3364         Reviewed by Brent Fulgham.
3365
3366         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3367         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
3368         * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
3369         (-[CrossPartitionFileSchemeAccessNavigationDelegate webView:didFinishNavigation:]):
3370         When the main page load is complete fetch the contents of the document to check if iframe was loaded
3371         (createPartition):
3372         Create a disk image and load the contents of the file.
3373         (cleanUp):
3374         (TestWebKitAPI::TEST):
3375
3376 2016-06-17  Enrique Ocaña González  <eocanha@igalia.com>
3377
3378         Unreviewed. Added myself to the list of committers.
3379
3380         * Scripts/webkitpy/common/config/contributors.json:
3381
3382 2016-06-16  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3383
3384         [EFL][GTK] LayoutTest doesn't run on Ubuntu 16.04
3385         https://bugs.webkit.org/show_bug.cgi?id=158141
3386
3387         Reviewed by Michael Catanzaro.
3388
3389         * Scripts/webkitpy/port/base.py: Detect php version in system, then use it.
3390         (Port._is_debian_php_version_7):
3391         (Port._debian_php_version):
3392         (Port._apache_config_file_name_for_platform):
3393         * efl/install-dependencies:
3394         * gtk/install-dependencies:
3395
3396 2016-06-16  Filip Pizlo  <fpizlo@apple.com>
3397
3398         Baseline JIT should be concurrent
3399         https://bugs.webkit.org/show_bug.cgi?id=158755
3400
3401         Reviewed by Geoffrey Garen.
3402         
3403         Need to disable concurrent JIT when running profiler tests. We should have been doing this
3404         all along.
3405
3406         * Scripts/run-jsc-stress-tests:
3407
3408 2016-06-16  Per Arne Vollan  <pvollan@apple.com>
3409
3410         [Win] Accessibility implementation unable to recurse through document (sometimes) to find named elements
3411         https://bugs.webkit.org/show_bug.cgi?id=140798
3412
3413         Reviewed by Brent Fulgham.
3414        
3415         Make sure layout is up-to-date before trying to find named elements. 
3416
3417         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
3418         (AccessibilityController::rootElement):
3419
3420 2016-06-16  Chris Dumez  <cdumez@apple.com>
3421
3422         Unreviewed, rolling out r202002 and r202111.
3423
3424         Ryosuke says this was a JSBench regression on iOS
3425
3426         Reverted changesets:
3427
3428         "Make HashMap and HashSet work with Refs"
3429         https://bugs.webkit.org/show_bug.cgi?id=158638
3430         http://trac.webkit.org/changeset/202002
3431
3432         "Improve HashMap and HashSet support for Ref"
3433         https://bugs.webkit.org/show_bug.cgi?id=158789
3434         http://trac.webkit.org/changeset/202111
3435
3436 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
3437
3438         [iOS WK2] On iPad, indirect focussing of a text field doesn't always scroll to the correct location
3439         https://bugs.webkit.org/show_bug.cgi?id=158828
3440
3441         Reviewed by Enrica Casucci.
3442         
3443         Expose "forceIPadStyleZoomOnInputFocus" on UIScriptController, which allows iPad-style
3444         zooming behavior on <input> focus in the iPhone simulator, which is used for testing.
3445
3446         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
3447         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3448         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus):
3449         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus):
3450         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3451         * WebKitTestRunner/ios/TestControllerIOS.mm:
3452         (WTR::TestController::platformResetStateToConsistentValues):
3453         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3454         (WTR::UIScriptController::forceIPadStyleZoomOnInputFocus):
3455         (WTR::UIScriptController::setForceIPadStyleZoomOnInputFocus):
3456
3457 2016-06-15  Sam Weinig  <sam@webkit.org>
3458
3459         Forward/Back keyboard shortcuts need to flip for RTL
3460         https://bugs.webkit.org/show_bug.cgi?id=158823
3461         <rdar://problem/25975359>
3462
3463         Reviewed by Darin Adler.
3464
3465         Add tests for flipping the behavior of command-left and command-right
3466         under RTL mode.
3467
3468         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3469         * TestWebKitAPI/Tests/WebKit2Cocoa/CommandBackForward.mm: Added.
3470         (-[CommandBackForwardOffscreenWindow isKeyWindow]):
3471         (-[CommandBackForwardOffscreenWindow isVisible]):
3472         (simulateCommandArrow):
3473         (WebKit2_CommandBackForwardTest::SetUp):
3474         (WebKit2_CommandBackForwardTestWKView::didFinishLoadForFrame):
3475         (WebKit2_CommandBackForwardTestWKView::SetUp):
3476         (WebKit2_CommandBackForwardTestWKView::loadFiles):
3477         (-[CommandBackForwardNavigationDelegate webView:didFinishNavigation:]):
3478         (WebKit2_CommandBackForwardTestWKWebView::SetUp):
3479         (WebKit2_CommandBackForwardTestWKWebView::loadFiles):
3480
3481 2016-06-15  Tim Horton  <timothy_horton@apple.com>
3482
3483         Expose _shouldExpandContentToViewHeightForAutoLayout SPI on WKWebView
3484         https://bugs.webkit.org/show_bug.cgi?id=158824
3485         <rdar://problem/23713857>
3486
3487         Reviewed by Simon Fraser.
3488
3489         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
3490         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:]):
3491         (-[AutoLayoutWKWebView load:withWidth:expectingContentSize:resettingWidth:]):
3492         (-[AutoLayoutWKWebView layoutAtMinimumWidth:andExpectContentSizeChange:resettingWidth:]):
3493         (TEST):
3494         Add a test for _shouldExpandContentToViewHeightForAutoLayout.
3495
3496 2016-06-13  Simon Fraser  <simon.fraser@apple.com>
3497
3498         [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
3499         https://bugs.webkit.org/show_bug.cgi?id=158714
3500
3501         Reviewed by Enrica Casucci.
3502
3503         Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
3504         method that gets called from UIKit.
3505
3506         Add a test that exercises it.
3507
3508         * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
3509         * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
3510         (WTR::UIScriptController::keyboardAccessoryBarNext):
3511         (WTR::UIScriptController::keyboardAccessoryBarPrevious):
3512         * WebKitTestRunner/UIScriptContext/UIScriptController.h:
3513         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
3514         (WTR::UIScriptController::keyboardAccessoryBarNext):
3515         (WTR::UIScriptController::keyboardAccessoryBarPrevious):
3516
3517 2016-06-15  Sam Weinig  <sam@webkit.org>
3518
3519         Improve HashMap and HashSet support for Ref
3520         https://bugs.webkit.org/show_bug.cgi?id=158789
3521
3522         Reviewed by Chris Dumez.
3523
3524         * TestWebKitAPI/Tests/WTF/HashMap.cpp:
3525         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
3526         Add more cases to WTF_HashMap.Ref_Key, WTF_HashMap.Ref_Value and WTF_HashSet.Ref
3527
3528 2016-06-15  Aakash Jain  <aakash_jain@apple.com>
3529
3530         Too much log data generated during layout-tests on iOS Simulator
3531         https://bugs.webkit.org/show_bug.cgi?id=158751
3532
3533         Reviewed by Alexey Proskuryakov.
3534
3535         * Scripts/webkitpy/port/ios.py:
3536         (IOSSimulatorPort.developer_dir): memoized the property so that it is not called
3537         repeatedly.
3538
3539 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3540
3541         [Win][CMake] Changes in WebKit options are not reflected in incremental builds.
3542         https://bugs.webkit.org/show_bug.cgi?id=158727
3543
3544         Reviewed by Alex Christensen.
3545
3546         Delete CMake cache file if WebKit options have been modified.
3547
3548         * Scripts/build-webkit:
3549         * Scripts/webkitdirs.pm:
3550         (shouldRemoveCMakeCache):
3551
3552 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3553
3554         Enabling Shadow DOM for all platforms
3555         https://bugs.webkit.org/show_bug.cgi?id=158738
3556
3557         Reviewed by Ryosuke Niwa.
3558
3559         Removed Shadow DOM from options (enabled by default)
3560
3561         * Scripts/webkitperl/FeatureList.pm:
3562         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3563
3564 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3565
3566         [Win] The test accessibility/selected-text-range-aria-elements.html is failing.
3567         https://bugs.webkit.org/show_bug.cgi?id=158732
3568
3569         Reviewed by Brent Fulgham.
3570
3571         Implement selectedTextRange() method.
3572
3573         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3574         (AccessibilityUIElement::selectedTextRange):
3575
3576 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3577
3578         [Win] MiniBrowser is not DPI aware.
3579         https://bugs.webkit.org/show_bug.cgi?id=158733
3580
3581         Reviewed by Brent Fulgham.
3582
3583         Call Win32 api function to let Windows know that we will scale the contents ourselves.
3584
3585         * MiniBrowser/win/WinMain.cpp:
3586         (wWinMain):
3587
3588 2016-06-15  Per Arne Vollan  <pvollan@apple.com>
3589
3590         Unreviewed: add new email address to contributors.json.
3591
3592         * Scripts/webkitpy/common/config/contributors.json:
3593
3594 2016-06-14  Keith Miller  <keith_miller@apple.com>
3595
3596         JSBench should use geometric mean
3597         https://bugs.webkit.org/show_bug.cgi?id=158775
3598
3599         Reviewed by Mark Lam.
3600
3601         For some reason JSBench was using algebraic mean. Since each test
3602         is pretty substantially different it should use geometric mean
3603         instead.
3604
3605         * Scripts/run-jsc-benchmarks:
3606
3607 2016-06-14  Alexey Proskuryakov  <ap@apple.com>
3608
3609         Debug crash logs are not fully symbolicated on Yosemite
3610         https://bugs.webkit.org/show_bug.cgi?id=158760
3611
3612         Reviewed by Darin Adler.
3613
3614         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Don't enable dSYM generation
3615         for debug builds on Yosemite.
3616
3617 2016-06-14  Alexey Proskuryakov  <ap@apple.com>
3618
3619         Tests don't work in iOS Simulator when ASan is enabled
3620         https://bugs.webkit.org/show_bug.cgi?id=158726
3621
3622         Reviewed by David Kilzer.
3623
3624         * Scripts/webkitpy/port/driver.py:
3625         (Driver._setup_environ_for_driver): Added a FIXME.
3626         * Scripts/webkitpy/port/ios.py:
3627         (IOSSimulatorPort.setup_environ_for_server): Don't try to insert a dylib built for
3628         simulator into LayoutTestRelay, which is a macOS tool.
3629
3630 2016-06-14  Aakash Jain  <aakash_jain@apple.com>
3631
3632         Continuous "Reentrancy avoided" error messages in run-webkit-tests if Simulator quits unexpectedly
3633         https://bugs.webkit.org/show_bug.cgi?id=158756
3634
3635         Reviewed by Alexey Proskuryakov.
3636
3637         * Scripts/webkitpy/xcode/simulator.py:
3638         (Simulator.wait_until_device_is_booted): If checking Simulator boot state fails, verify if
3639         the "simulator device" is still in booted state. Since we ensured that simulator device 
3640         was in booted state earlier in this method, this indicates that simulator device has shut down
3641         unexpectedly.
3642
3643 2016-06-14  David Kilzer  <ddkilzer@apple.com>
3644
3645         Follow-up fix #2: REGRESSION (r202020): El Capitan CMake Debug build broken
3646         <https://webkit.org/b/158743>