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