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