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