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