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