Changed expectations for webrtc/video-rotation.html.
[WebKit-https.git] / Tools / ChangeLog
1 2017-08-07  Devin Rousso  <drousso@apple.com>
2
3         Web Inspector: Preview Canvas path when viewing a recording
4         https://bugs.webkit.org/show_bug.cgi?id=174967
5
6         Reviewed by Brian Burg.
7
8         * DumpRenderTree/TestOptions.h:
9         * DumpRenderTree/TestOptions.mm:
10         (TestOptions::TestOptions):
11         * DumpRenderTree/mac/DumpRenderTree.mm:
12         (setWebPreferencesForTestOptions):
13         * WebKitTestRunner/TestController.cpp:
14         (WTR::TestController::resetPreferencesToConsistentValues):
15         (WTR::updateTestOptionsFromTestHeader):
16         * WebKitTestRunner/TestOptions.h:
17         (WTR::TestOptions::hasSameInitializationOptions const):
18         Add plumbing for new InspectorAdditions runtime flag.
19
20 2017-08-07  obinna obike  <oobike@apple.com>
21
22         Sorted EWS Queues on Patch page
23         https://bugs.webkit.org/show_bug.cgi?id=173667
24
25         Reviewed by Aakash Jain.
26
27         * QueueStatusServer/handlers/patch.py:
28         (Patch.get): Sorted queue_status.
29         * QueueStatusServer/templates/patch.html:
30         Changed queue_status.items to queue_status because it's a list.
31
32 2017-08-07  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
33
34         check-webkit-style: NS_ERROR_ENUM and NS_OPTIONS should not be handled as function definitions.
35         https://bugs.webkit.org/show_bug.cgi?id=175286
36
37         Reviewed by Myles C. Maxfield.
38
39         * Scripts/webkitpy/style/checkers/cpp.py:
40         (check_braces):
41         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
42         (WebKitStyleTest.test_braces.NS_ERROR_ENUM):
43         (WebKitStyleTest.test_braces):
44         (WebKitStyleTest.test_braces.NS_OPTIONS):
45
46 2017-08-07  Brian Burg  <bburg@apple.com>
47
48         Remove CANVAS_PATH compilation guard
49         https://bugs.webkit.org/show_bug.cgi?id=175207
50
51         Reviewed by Sam Weinig.
52
53         * Scripts/webkitperl/FeatureList.pm:
54         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
55
56 2017-08-07  Per Arne Vollan  <pvollan@apple.com>
57
58         [Win] Use Visual Studio 2017 if installed.
59         https://bugs.webkit.org/show_bug.cgi?id=175188
60
61         Reviewed by Sam Weinig.
62
63         If installed, use VS2017 to build WebKit. If not, fall back to VS2015.
64
65         * Scripts/webkitdirs.pm:
66         (visualStudioInstallDir):
67         (msBuildInstallDir):
68
69 2017-08-05  Carlos Garcia Campos  <cgarcia@igalia.com>
70
71         [GTK][WPE] Add API to provide browser information required by automation
72         https://bugs.webkit.org/show_bug.cgi?id=175130
73
74         Reviewed by Michael Catanzaro.
75
76         * MiniBrowser/gtk/main.c:
77         (automationStartedCallback): Set browser information when a new automation session is started.
78         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:
79         (testAutomationSessionApplicationInfo):
80         (beforeAll):
81
82 2017-08-06  Ryan Haddad  <ryanhaddad@apple.com>
83
84         Unreviewed, rolling out r220295.
85
86         This change introduced 4 errors in webkitpy tests.
87
88         Reverted changeset:
89
90         "[XCode] webkit-patch should run sort-Xcode-project-file"
91         https://bugs.webkit.org/show_bug.cgi?id=174036
92         http://trac.webkit.org/changeset/220295
93
94 2017-08-04  Ryan Haddad  <ryanhaddad@apple.com>
95
96         Disable API test NowPlayingControlsTests.NowPlayingControlsIOS.
97
98         Unreviewed test gardening.
99
100         * TestWebKitAPI/Tests/WebKit2Cocoa/NowPlayingControlsTests.mm:
101         (TestWebKitAPI::TEST):
102
103 2017-08-05  Filip Pizlo  <fpizlo@apple.com>
104
105         REGRESSION (r219895-219897): Number of leaks on Open Source went from 9240 to 235983 and is now at 302372
106         https://bugs.webkit.org/show_bug.cgi?id=175083
107
108         Reviewed by Oliver Hunt.
109         
110         Leaks results are super confusing if leaks runs while some VMs are destructing. This calls a new SPI
111         to wait for VM destructions to finish before running the next test. This makes it easier to 
112         understand leaks results from workers tests, and leads to fewer reported leaks.
113
114         * DumpRenderTree/mac/DumpRenderTree.mm:
115         (runTest):
116
117 2017-08-05  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
118
119         check-webkit-style: fix path-specific rules for WebKit2 rename
120         https://bugs.webkit.org/show_bug.cgi?id=175182
121
122         Reviewed by David Kilzer.
123
124         * Scripts/webkitpy/style/checker.py:
125
126 2017-08-04  Youenn Fablet  <youenn@apple.com>
127
128         [Cache API] Add Cache and CacheStorage IDL definitions
129         https://bugs.webkit.org/show_bug.cgi?id=175201
130
131         Reviewed by Brady Eidson.
132
133         * DumpRenderTree/mac/DumpRenderTree.mm:
134         (enableExperimentalFeatures):
135         (resetWebPreferencesToConsistentValues):
136         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
137         (WTR::InjectedBundle::beginTesting):
138         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
139         (WTR::TestRunner::setCacheAPIEnabled):
140         * WebKitTestRunner/InjectedBundle/TestRunner.h:
141
142 2017-08-04  John Wilander  <wilander@apple.com>
143
144         Resource Load Statistics: Report user interaction immediately, but only when needed
145         https://bugs.webkit.org/show_bug.cgi?id=175090
146         <rdar://problem/33685546>
147
148         Reviewed by Chris Dumez.
149
150         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
151         (WTR::InjectedBundle::beginTesting):
152             Now calls WebCore::ResourceLoadObserver::clearState().
153
154 2017-08-04  Tim Horton  <timothy_horton@apple.com>
155
156         Add an API test for r220286
157         https://bugs.webkit.org/show_bug.cgi?id=175206
158
159         Reviewed by Simon Fraser.
160
161         * TestWebKitAPI/Tests/WebKit2Cocoa/AnimatedResize.mm:
162         (-[AnimatedResizeWebView _webView:didChangeSafeAreaShouldAffectObscuredInsets:]):
163         (createAnimatedResizeWebView):
164         (TEST):
165         Add a test to ensure that we don't call
166         _webView:didChangeSafeAreaShouldAffectObscuredInsets: during an
167         animated resize.
168
169 2017-08-04  Stephan Szabo  <stephan.szabo@sony.com>
170
171         [XCode] webkit-patch should run sort-Xcode-project-file
172         https://bugs.webkit.org/show_bug.cgi?id=174036
173
174         Reviewed by Simon Fraser.
175
176         * Scripts/webkitpy/common/config/ports.py:
177         * Scripts/webkitpy/tool/commands/download.py:
178         * Scripts/webkitpy/tool/commands/upload.py:
179         * Scripts/webkitpy/tool/steps/__init__.py:
180         * Scripts/webkitpy/tool/steps/options.py:
181         * Scripts/webkitpy/tool/steps/sortxcodeprojectfiles.py: Added.
182
183 2017-08-04  Carlos Alberto Lopez Perez  <clopez@igalia.com>
184
185         REGRESSION(r219857): run-benchmark --allplans broken
186         https://bugs.webkit.org/show_bug.cgi?id=175186
187
188         Reviewed by Saam Barati.
189
190         r219857 forgot to update also the calls to BenchmarkRunner() that
191         is done when the script is run with --allplans.
192
193         To fix this (and avoid future issues like this), let's factorize
194         the calls to the benchhmark runner in a run_benchmark_plan()
195         function.
196
197         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
198         (run_benchmark_plan):
199         (start):
200
201 2017-08-04  Aakash Jain  <aakash_jain@apple.com>
202
203         Dashboard bubbles sometimes show failure count instead of crash count
204         https://bugs.webkit.org/show_bug.cgi?id=175157
205         <rdar://problem/33709009>
206
207         Reviewed by Alexey Proskuryakov.
208
209         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
210         (BuildbotTestResults.prototype.resultSummarizer): Use the regex for the precise match first.
211
212 2017-08-04  Joseph Pecoraro  <pecoraro@apple.com>
213
214         Add tests for NeverDestroyed
215         https://bugs.webkit.org/show_bug.cgi?id=175146
216
217         Reviewed by Darin Adler.
218
219         * CMakeLists.txt:
220         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
221         New files and sort.
222
223         * TestWebKitAPI/Tests/WTF/Logger.h:
224         * TestWebKitAPI/Tests/WTF/Logger.cpp:
225         (TestWebKitAPI::log):
226         (TestWebKitAPI::takeLogStr):
227         * TestWebKitAPI/Tests/WTF/RefLogger.h:
228         * TestWebKitAPI/Tests/WTF/RefLogger.cpp:
229         (TestWebKitAPI::log): Deleted.
230         (TestWebKitAPI::takeLogStr): Deleted.
231         Extract log() / takeLogStr() from RefLogger to a general Logger.h/cpp.
232
233         * TestWebKitAPI/Tests/WTF/LifecycleLogger.h:
234         * TestWebKitAPI/Tests/WTF/LifecycleLogger.cpp: Added.
235         (TestWebKitAPI::LifecycleLogger::LifecycleLogger):
236         (TestWebKitAPI::LifecycleLogger::operator=):
237         (TestWebKitAPI::LifecycleLogger::~LifecycleLogger):
238         (TestWebKitAPI::LifecycleLogger::setName):
239         (TestWebKitAPI::TEST):
240         Add a class that logs construction / assignment / modifications.
241
242         * TestWebKitAPI/Tests/WTF/NeverDestroyed.cpp: Added.
243         (TestWebKitAPI::TEST):
244         (TestWebKitAPI::list):
245         Test construction behavior is as expected both directly and using makeNeverDestroyed.
246
247 2017-08-04  Lucas Forschler  <lforschler@apple.com>
248
249         minification logic is not implemented for ios builds
250         <rdar://problem/33726561>
251
252         Reviewed by Dean Johnson
253
254         * BuildSlaveSupport/built-product-archive:
255         (minifyDirectory): refactor minifySource -> minifyDirectory
256         (archiveBuiltProduct): add ios minification logic
257         (minifySource): Deleted.
258
259 2017-08-04  Matt Lewis  <jlewis3@apple.com>
260
261         Unreviewed, rolling out r220271.
262
263         Rolling out due to Layout Test failing on iOS Simulator.
264
265         Reverted changeset:
266
267         "Remove STREAMS_API compilation guard"
268         https://bugs.webkit.org/show_bug.cgi?id=175165
269         http://trac.webkit.org/changeset/220271
270
271 2017-08-04  Ryan Haddad  <ryanhaddad@apple.com>
272
273         Unreviewed, rolling out r220268.
274
275         This change caused assertion failures on macOS and iOS Debug
276         WK2.
277
278         Reverted changeset:
279
280         "Resource Load Statistics: Report user interaction
281         immediately, but only when needed"
282         https://bugs.webkit.org/show_bug.cgi?id=175090
283         http://trac.webkit.org/changeset/220268
284
285 2017-08-04  Youenn Fablet  <youenn@apple.com>
286
287         Remove STREAMS_API compilation guard
288         https://bugs.webkit.org/show_bug.cgi?id=175165
289
290         Reviewed by Darin Adler.
291
292         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
293
294 2017-08-04  John Wilander  <wilander@apple.com>
295
296         Resource Load Statistics: Report user interaction immediately, but only when needed
297         https://bugs.webkit.org/show_bug.cgi?id=175090
298         <rdar://problem/33685546>
299
300         Reviewed by Chris Dumez.
301
302         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
303         (WTR::InjectedBundle::beginTesting):
304             Now calls WebCore::ResourceLoadObserver::clearState().
305
306 2017-08-03  Brian Burg  <bburg@apple.com>
307
308         Remove ENABLE(WEB_SOCKET) guards
309         https://bugs.webkit.org/show_bug.cgi?id=167044
310
311         Reviewed by Joseph Pecoraro.
312
313         * Scripts/webkitperl/FeatureList.pm:
314         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
315
316 2017-08-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
317
318         REGRESSION(r219850): run-benchmark script broken on Linux
319         https://bugs.webkit.org/show_bug.cgi?id=175126
320
321         Reviewed by Stephanie Lewis.
322
323         The run-benchmark script dynamically generates the list of supported
324         browsers and platforms (currently Linux and OSX) by loading all
325         python files from Tools/Scripts/webkitpy/benchmark_runner/browser_driver
326         and getting the browser_name and platform variables from the
327         classes defined there.
328
329         This means that this classes should not raise an exception when
330         loaded on other platforms or otherwise they will broke the whole
331         script. Its fine if they raise an exception when executing any of
332         the methods they implement, but not when just loading/importing
333         the class.
334
335         Move the argument variable definitions that call on the platform
336         specific OSXBrowserDriver._screen_size() function from beeing
337         variables that are evaluated when loading the file, to be functions
338         that are only evaluated when the actual functionality needs to be
339         executed.
340
341         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
342         (OSXChromeDriver.launch_url):
343         (OSXChromeCanaryDriver.launch_url):
344         (create_args):
345         (create_chrome_options):
346         (create_window_size_arg):
347         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
348         (OSXFirefoxDriver.launch_url):
349         (OSXFirefoxNightlyDriver.launch_url):
350         (OSXFirefoxNightlyDriver.launch_driver):
351         (create_args):
352
353 2017-08-03  Yoshiaki Jitsukawa  <jitsu@rd.scei.sony.co.jp>
354
355         [PAL] Move spi/cf directory into PAL
356         https://bugs.webkit.org/show_bug.cgi?id=175057
357
358         Reviewed by Antti Koivisto.
359
360         * Scripts/webkitpy/style/checker.py:
361         * Scripts/webkitpy/style/checker_unittest.py:
362         (GlobalVariablesTest.test_path_rules_specifier):
363
364         Ignore "readability/naming/underscores" style errors for sources
365         under the WebCore/PAL/pal/spi directory.
366
367         * TestWebKitAPI/Tests/WebKit2Cocoa/CookieAcceptPolicy.mm:
368
369 2017-08-03  Youenn Fablet  <youenn@apple.com>
370
371         Remove FETCH_API compilation guard
372         https://bugs.webkit.org/show_bug.cgi?id=175154
373
374         Reviewed by Chris Dumez.
375
376         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
377
378 2017-08-03  Lucas Forschler  <lforschler@apple.com>
379
380         Enable archive minification on iOS builds
381         https://bugs.webkit.org/show_bug.cgi?id=174718
382         
383         Reviewed by Aakash Jain.
384
385         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
386         (BuildFactory.__init__):
387
388 2017-08-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
389
390         [GTK][WKE] Pass the --memory-limited option on the GTK and WPE buildbots for the JSC tests.
391         https://bugs.webkit.org/show_bug.cgi?id=175140
392
393         Reviewed by Alexey Proskuryakov.
394
395         We are having lately issues with JSC tests causing problems on
396         the GTK+ and WPE bots due to the high amount of memory some tests
397         need to run.
398
399         The best thing we can do now is to workaround this by disabling
400         all the tests marked as memoryLimited on the GTK and WPE bots.
401         We may revise this on the future.
402
403         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
404         (RunJavaScriptCoreTests.start):
405
406 2017-08-03  Brady Eidson  <beidson@apple.com>
407
408         Add SW IDLs and stub out basic functionality.
409         https://bugs.webkit.org/show_bug.cgi?id=175115
410
411         Reviewed by Chris Dumez.
412
413         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
414
415         * Scripts/webkitpy/bindings/main.py:
416
417 2017-08-03  Per Arne Vollan  <pvollan@apple.com>
418
419         [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
420         https://bugs.webkit.org/show_bug.cgi?id=159510
421
422         Reviewed by Daniel Bates.
423
424         Allow any https certificate when running tests.
425
426         * DumpRenderTree/win/DumpRenderTree.cpp:
427         (runTest):
428
429 2017-08-02  Youenn Fablet  <youenn@apple.com>
430
431         HTTP tests with 'https' suffix are only run over HTTPS for WK2, not WK1
432         https://bugs.webkit.org/show_bug.cgi?id=175089
433
434         Reviewed by Chris Dumez.
435
436         * DumpRenderTree/TestOptions.mm:
437         (TestOptions::TestOptions): Using absolutePath if available.
438         * DumpRenderTree/mac/DumpRenderTree.mm:
439         (computeTestURL): Removing http/tests/ specific URL computation.
440         * Scripts/webkitpy/port/driver.py:
441         (Driver._command_from_driver_input): Making webkitpy passing HTTP urls for HTTP served tests to all test runners, including WK1.
442
443 2017-08-02  Lucas Forschler  <lforschler@apple.com>
444
445         download-built-product should allow for a proxy option
446         https://bugs.webkit.org/show_bug.cgi?id=174875
447
448         Reviewed by Aakash Jain, Alexey Proskuryakov, Dean Johnson
449
450         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
451         (DownloadBuiltProduct.start): Teach buildbot to pass along proxy for Apple bots
452         
453
454 2017-08-02  Jonathan Bedard  <jbedard@apple.com>
455
456         check-webkit-style: deleting lines in a file runs the linter on the whole file
457         https://bugs.webkit.org/show_bug.cgi?id=175078
458
459         Reviewed by David Kilzer.
460
461         Deleting lines in a file should not cause linter errors to be blamed on the patch.
462         <https://bugs.webkit.org/show_bug.cgi?id=86142> is an example of this happening.
463
464         * Scripts/webkitpy/style/checkers/test_expectations.py:
465         (TestExpectationsChecker._should_log_linter_warning): Do not log a linter error if the file it is associated with only has deleted lines
466         * Scripts/webkitpy/style/main_unittest.py:
467         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line): Added files should have every line number in the file when processing.
468         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_only_deletes): Test case where the file with the linter errors only contained deletes.
469         (ExpectationLinterInStyleCheckerTest.test_linter_added_file_with_error): Added files should have every line number in the file when processing.
470
471 2017-08-02  Jonathan Bedard  <jbedard@apple.com>
472
473         webkitpy: Allow caller to specify response to unicode encode/decode error in filesystem
474         https://bugs.webkit.org/show_bug.cgi?id=175075
475
476         Reviewed by David Kilzer.
477
478         We have no way of handling text files with illegal unicode characters. Allow the callers of
479         filesystem.read_text_file to specify one of Python 2.7's supported responses ('strict', 'ignore', or
480         'replace'). See https://docs.python.org/2/howto/unicode.html for details on these responses.
481
482         * Scripts/webkitpy/common/system/filesystem.py:
483         (FileSystem.read_text_file): Allow caller to specify unicode error handling.
484         (FileSystem.write_text_file): Ditto.
485         * Scripts/webkitpy/common/system/filesystem_mock.py:
486         (MockFileSystem.read_text_file): Allow caller to specify unicode error handling.
487         (MockFileSystem.write_text_file): Ditto.
488         * Scripts/webkitpy/common/system/filesystem_unittest.py:
489         (RealFileSystemTest.test_read_text_file_unicode_decode_error): Test reading a file with illegal unicode content.
490         (RealFileSystemTest.test_write_text_file_unicode_encode_error): Test writing illegal unicode content to a file.
491
492 2017-08-02  Aakash Jain  <aakash_jain@apple.com>
493
494         Intermittent exception in buildPageURLForIteration for Buildbot 0.9 dashboard
495         https://bugs.webkit.org/show_bug.cgi?id=175072
496
497         Reviewed by Alexey Proskuryakov.
498
499         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
500         (Buildbot): Make sure this._builderNameToIDMap is always defined for Buildbot 0.9.
501
502 2017-08-02  Michael Catanzaro  <mcatanzaro@igalia.com>
503
504         [CMake] Remove obsolete code in TestWebKitAPI/CMakeLists.txt
505         https://bugs.webkit.org/show_bug.cgi?id=175019
506
507         Reviewed by Darin Adler.
508
509         * TestWebKitAPI/CMakeLists.txt:
510
511 2017-08-01  Csaba Osztrogonác  <ossy@webkit.org>
512
513         Enabling uploading archives to S3
514         https://bugs.webkit.org/show_bug.cgi?id=174198
515
516         Unreviewed unit test fix after r219235.
517
518         * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
519
520 2017-08-01  Csaba Osztrogonác  <ossy@webkit.org>
521
522         Fix JSCOnly ARM buildbots after r220047
523         https://bugs.webkit.org/show_bug.cgi?id=174993
524
525         Unreviewed fix after r220087.
526
527         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
528         (BuildAndRemoteJSCTestsFactory.__init__):
529
530 2017-08-01  Chris Dumez  <cdumez@apple.com>
531
532         Add initial support for navigator.sendBeacon
533         https://bugs.webkit.org/show_bug.cgi?id=175007
534         <rdar://problem/33547728>
535
536         Reviewed by Sam Weinig.
537
538         Enable the Beacon API at runtime in the context of layout tests since the
539         feature is currently disabled by default.
540
541         * DumpRenderTree/mac/DumpRenderTree.mm:
542         (enableExperimentalFeatures):
543         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
544         (WTR::InjectedBundle::beginTesting):
545         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
546         (WTR::TestRunner::setModernMediaControlsEnabled):
547         (WTR::TestRunner::setBeaconAPIEnabled):
548         * WebKitTestRunner/InjectedBundle/TestRunner.h:
549
550 2017-08-01  Aakash Jain  <aakash_jain@apple.com>
551
552         Update Bot Watcher's Dashboard for Buildbot 0.9
553         https://bugs.webkit.org/show_bug.cgi?id=174777
554
555         Reviewed by Daniel Bates.
556
557         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
558         (Buildbot): Check if USE_BUILDBOT_VERSION_LESS_THAN_09 is passed.
559         (Buildbot.prototype._computeBuilderNameToIDMap): Fetch the builder name to ID mapping from buidbot and store
560         in a dictionary.
561         (Buildbot.prototype.buildPageURLForIteration): Updated URL as per Buildbot 0.9 format. Buildbot 0.9 currently does not support
562         builder name in the build url. See <https://github.com/buildbot/buildbot/issues/3465>.
563         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js:
564         (isMultiCodebaseGotRevisionProperty): Adapting to new data format.
565         (parseRevisionProperty): Ditto.
566         (BuildbotIteration.prototype.failureLogURL): Return the URL to build page if precise failure url is not available. For
567         Buildbot 0.9, build page URL would be appropriate in most cases as per the new UI.
568         (BuildbotIteration.prototype._parseData): Parsing the data as per new data format. Many variable names and data types
569         have changed in Buildbot 0.9.
570         (BuildbotIteration.prototype._adjustBuildDataForBuildbot09): Adjust the Buildbot 0.8 data to new format.
571         (BuildbotIteration.prototype._updateIfDataAvailable): Update method for Buildbot 0.9 data. We are performing two API calls, 
572         one for build information, another for step information of that build. We need to wait until data from both REST API calls are available.
573         (BuildbotIteration.prototype._deprecatedUpdateWithData): Renamed from _updateWithData, used for Buildbot 0.8 data.
574         (BuildbotIteration.prototype.get buildURL): URL to fetch build information from Buildbot. Also fetches got_revision property.
575         (BuildbotIteration.prototype.get buildStepsURL): URL to fetch the steps information from Buildbot.
576         (BuildbotIteration.prototype.urlFailedToLoad): Callback method to be used when URL fails to load. Made it a separate function now.
577         (BuildbotIteration.prototype.update): Modified to support both Buildbot 0.9 and 0.8 data format.
578         (BuildbotIteration.prototype.actualUpdate): Update method for Buildbot 0.9 data.
579         (BuildbotIteration.prototype.deprecatedUpdate): Update method for Buildbot 0.8 data.
580         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js:
581         (BuildbotQueue.prototype.get baseURL): Updated URL as per Buildbot 0.9 format.
582         (BuildbotQueue.prototype.get allIterationsURL): Ditto.
583         (BuildbotQueue.prototype.get overviewURL): Ditto.
584         (BuildbotQueue.prototype.get buildsURL): URL to fetch builds data in Buildbot 0.9.
585         (BuildbotQueue.prototype.get buildsInfoURL): Returns the appropriate URL to use to fetch builds information from
586         Buildbot 0.8 or 0.9.
587         (BuildbotQueue.prototype.getBuilds): Method compatible with both Buildbot 0.8 and 0.9 to get build information from data
588         fetched from Buildbot. Also, reversing the Buildbot 0.8 data to make it similar to 0.9 data format.
589         (BuildbotQueue.prototype.isBuildComplete): Method compatible with both Buildbot 0.8 and 0.9 to check if the build has completed.
590         (BuildbotQueue.prototype.getIterationID):  Method compatible with both Buildbot 0.8 and 0.9 to get the Iteration ID.
591         (BuildbotQueue.prototype.update): Supports both Buildbot 0.8 and 0.9. Buildbot 0.9 REST API doesn't have cachedBuilds and currentBuilds. 
592         Therefore we are fetching information for fixed number of build. 
593         Also iterating the loop incrementally since the build data is already reverse sorted.
594         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js:
595         (BuildbotTestResults.prototype._parseResults): Updated as per Buildbot 0.9 format. Note that we do not
596         need to worry about 0.8 or 0.9 data format here, since the data is already converted to 0.9 format.
597         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
598         (WebKitBuildbot): Pass the USE_BUILDBOT_VERSION_LESS_THAN_09 flag.
599
600 2017-08-01  Devin Rousso  <drousso@apple.com>
601
602         Web Inspector: simplify WebInspector with WI
603         https://bugs.webkit.org/show_bug.cgi?id=175058
604
605         Reviewed by Joseph Pecoraro.
606
607         * Scripts/check-inspector-strings:
608         (extract_ui_strings):
609         * Scripts/extract-localizable-js-strings:
610
611 2017-08-01  Youenn Fablet  <youenn@apple.com>
612
613         Layout tests with 'https' suffix should be run over HTTPS
614         https://bugs.webkit.org/show_bug.cgi?id=174992
615
616         Reviewed by Chris Dumez.
617
618         Updating the test-name <-> uri conversion routines to use https when test names contain ".https." in them.
619         This covers WPT tests, WPT WebKit tests and HTTP layout tests.
620         Covered by corresponding unit tests.
621
622         * Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py:
623         (run_server):
624         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
625         (base_http_url):
626         (base_https_url):
627         (base_url): Deleted.
628         * Scripts/webkitpy/port/base.py:
629         (Port.to.web_platform_test_server_base_http_url):
630         (Port.to):
631         (Port.to.web_platform_test_server_base_https_url):
632         (Port.to.web_platform_test_server_base_url): Deleted.
633         * Scripts/webkitpy/port/driver.py:
634         (Driver.__init__):
635         (Driver.wpt_test_path_to_uri):
636         (Driver):
637         (Driver.http_test_path_to_uri):
638         (Driver.test_to_uri):
639         (Driver.uri_to_test):
640         * Scripts/webkitpy/port/driver_unittest.py:
641         (DriverTest.test_test_to_uri):
642         (DriverTest.test_uri_to_test):
643
644 2017-07-26  Jiewen Tan  <jiewen_tan@apple.com>
645
646         Add tests to detect mistakes in backward compatibility when the structured clone algorithm is changed in the future
647         https://bugs.webkit.org/show_bug.cgi?id=173998
648
649         Reviewed by Darin Adler.
650
651         Since the structured clone algorithm is used for data stored in persistent databases, we need tests to help us
652         detect mistakes in backward compatibility in the future when we change it.
653
654         The way it works is to read from a pre-baked database and see if all the values are matched with the expectations.
655         Surprisedly, some of structured clonable objects cannot be stored into the indexedDB. Those are FileList,
656         ObjectReference, MessagePortReference, ArrayBufferView, ArrayBufferTransfer, NonMapProperties, NonSetProperties,
657         SharedArrayBuffer, WasmModule, DOMPointReadOnly, DOMPoint, DOMRectReadOnly, DOMRect, DOMMatrixReadOnly, DOMMatrix,
658         DOMQuad and Error. CryptoKey objects are not included as well as they need new API for encrypting/decrypting the
659         internal key data slot.
660
661         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
662         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.mm: Added.
663         (-[IndexedDBStructuredCloneBackwardCompatibilityMessageHandler userContentController:didReceiveScriptMessage:]):
664         (getNextMessage):
665         (TEST):
666         Here is the API test that moves the pre-baked database to the location where TestWebKitAPI can read from.
667         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3: Added.
668         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-shm: Added.
669         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibility.sqlite3-wal: Added.
670         These are the pre-baked databases.
671         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityRead.html: Added.
672         This is the actual test that do all the reads and comparisons.
673         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBStructuredCloneBackwardCompatibilityWrite.html: Added.
674         This is the page that bakes the database. It never runs automatically. It is for someone who needs to teach
675         IndexedDB new stuffs. Then it can be used to bake the database again.
676
677 2017-08-01  Brady Eidson  <beidson@apple.com>
678
679         API test URLSchemeHandler.Exceptions is Exiting out early on macOS Debug..
680         https://bugs.webkit.org/show_bug.cgi?id=175030
681
682         Reviewed by Andy Estes.
683
684         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
685         (-[TaskSchemeHandler webView:startURLSchemeTask:]): Stop calling an invalid NSError constructor.
686
687 2017-08-01  Brady Eidson  <beidson@apple.com>
688
689         Part 2 of: Rename DatabaseProcess to StorageProcess.
690         https://bugs.webkit.org/show_bug.cgi?id=174880
691
692         Reviewed by Andy Estes.
693
694         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm:
695         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm:
696         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
697         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
698         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
699         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm:
700         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
701         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
702
703 2017-07-31  Csaba Osztrogonác  <ossy@webkit.org>
704
705         Fix JSCOnly ARM buildbots after r220047
706         https://bugs.webkit.org/show_bug.cgi?id=174993
707
708         Reviewed by Saam Barati.
709
710         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
711         (BuildAndRemoteJSCTestsFactory.__init__):
712
713 2017-07-30  Yusuke Suzuki  <utatane.tea@gmail.com>
714
715         [WTF] Introduce Private Symbols
716         https://bugs.webkit.org/show_bug.cgi?id=174935
717
718         Reviewed by Darin Adler.
719
720         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
721         (TestWebKitAPI::TEST):
722
723 2017-07-30  Darin Adler  <darin@apple.com>
724
725         Remove code in HTMLObjectElement attribute parsing that forces style resolution and layout
726         https://bugs.webkit.org/show_bug.cgi?id=130653
727
728         Reviewed by Antti Koivisto.
729
730         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
731         (WTR::InjectedBundlePage::didFinishLoadForFrame): Omit now-unneeded "shouldDump" argument
732         when calling frameDidChangeLocation.
733         (WTR::InjectedBundlePage::frameDidChangeLocation): Removed "shouldDump" argument. This was
734         causing WebKitTestRunner to not dump anything in cases where DumpRenderTree will dump, and
735         thus causing mysterious failures of a couple of tests. There are two remaining issues:
736         1) WebKitTestRunner won't run its dump code if there is no "page", and there is no such
737         consideration in DumpRenderTree and 2) Both DumpRenderTree and WebKitTestRunner share the
738         same logic flaw that causes "top loading frame" to get set to one of the subframes in
739         tests where  the following sequence occurs: test calls waitUntilDone, main frame finishes
740         loading, subframe starts loading. It would be good to clean that up some day, but for now
741         this patch makes the two work identically rather than changing both.
742         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Updated for change above.
743
744 2017-07-30  Wenson Hsieh  <wenson_hsieh@apple.com>
745
746         [WK2] Replace RetainPtr<> with auto when adopting allocated ObjC objects in DataInteractionTests
747         https://bugs.webkit.org/show_bug.cgi?id=174963
748
749         Reviewed by Darin Adler.
750
751         Replaces several uses of RetainPtr<>s with auto. Some test cases in this file use auto, while other test cases declare using
752         RetainPtr<>. This patch changes them to all use auto.
753
754         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
755         (TestWebKitAPI::TEST):
756
757 2017-07-30  Brady Eidson  <beidson@apple.com>
758
759         Add URLSchemeHandler API tests that verify the lack of URLSchemeTask object leaks.
760         https://bugs.webkit.org/show_bug.cgi?id=174958
761
762         Reviewed by Darin Adler.
763
764         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
765         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-leaks.mm: Added.
766         (-[LeakSchemeHandler webView:startURLSchemeTask:]):
767         (-[LeakSchemeHandler webView:stopURLSchemeTask:]):
768         (runUntilTasksInFlight):
769         (TEST):
770
771 2017-07-28  Commit Queue  <commit-queue@webkit.org>
772
773         Unreviewed, rolling out r219990.
774         https://bugs.webkit.org/show_bug.cgi?id=174961
775
776         "broke PLT on iOS (rdar://problem/33602751)" (Requested by
777         estes on #webkit).
778
779         Reverted changeset:
780
781         "Part 2 of: Rename DatabaseProcess to StorageProcess."
782         https://bugs.webkit.org/show_bug.cgi?id=174880
783         http://trac.webkit.org/changeset/219990
784
785 2017-07-28  Brady Eidson  <beidson@apple.com>
786
787         API tests that use URLSchemeHandler are failing.
788         https://bugs.webkit.org/show_bug.cgi?id=174950
789
790         Reviewed by Alex Christensen.
791
792         Fix the NoMIMEType test to be correct.
793
794         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
795         (-[SchemeHandler initWithData:mimeType:]):
796         (-[SchemeHandler webView:startURLSchemeTask:]):
797         (TEST):
798
799 2017-07-28  Daniel Bates  <dabates@apple.com>
800
801         prepare-ChangeLog should not list added layout tests in PAL ChangeLog
802         https://bugs.webkit.org/show_bug.cgi?id=174876
803
804         Reviewed by Alex Christensen.
805
806         Do not list added layout tests in the PAL ChangeLog as such tests are unlikely to be related
807         to a PAL change. Unit tests are more appropriate for PAL changes than layout tests because
808         they provide a more direct way to test the platform abstraction.
809
810         As a side effect of this change we no longer list added layout tests in WebCore/platform/gtk/po/ChangeLog.
811
812         * Scripts/prepare-ChangeLog:
813         (generateNewChangeLogs): Only list added layout tests in the WebCore ChangeLog regardless
814         of the current working directory.
815
816 2017-07-28  Jonathan Bedard  <jbedard@apple.com>
817
818         Using "auto <function()> -> returnType" breaks prepare-ChangeLog
819         https://bugs.webkit.org/show_bug.cgi?id=174930
820
821         Unreviewed test fix.
822
823         We need to check parentheses before printing 'const' or 'volatile' in the ChangeLog. 
824
825         * Scripts/prepare-ChangeLog:
826         (get_function_line_ranges_for_cpp):
827
828 2017-07-28  JF Bastien  <jfbastien@apple.com>
829
830         Using "auto <function()> -> returnType" breaks prepare-ChangeLog
831         https://bugs.webkit.org/show_bug.cgi?id=174930
832
833         Reviewed by Daniel Bates.
834
835         Teach prepare-ChangeLog about C++ auto arrow return, and while I'm
836         here also teach it about const and volatile overloads. I didn't do
837         reference and rvalue reference overloads because we don't really
838         use them, and the current parser throws away those characters and
839         it doesn't seem worth making it more complex.
840
841         * Scripts/prepare-ChangeLog:
842         (get_function_line_ranges_for_cpp):
843         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
844         * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp:
845         (Foo::Arrow::arrow):
846         (Foo::Arrow::otherArrow):
847         (Foo::Arrow::otherArrow const):
848         (Foo::Arrow::otherArrow volatile):
849         (Foo::Arrow::otherArrow const volatile):
850
851 2017-07-28  Adrian Perez de Castro  <aperez@igalia.com>
852
853         [GTK] Building with ENABLE_VIDEO=OFF fails
854         https://bugs.webkit.org/show_bug.cgi?id=174940
855
856         Reviewed by Alex Christensen.
857
858         When GStreamer usage is completely disabled at build time, CMake does not query pkg-config for the GStreamer.
859         This adds missing USE(GSTREAMER) guards in order to make testing code buildable when GStreamer usage is disabled.
860
861         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
862         (methodCallCallback): Add missing USE(GSTREAMER) guard.
863
864 2017-07-28  Claudio Saavedra  <csaavedra@igalia.com>
865
866         [WPE] Implement EventSenderProxy in WTR
867         https://bugs.webkit.org/show_bug.cgi?id=173419
868
869         Reviewed by Žan Doberšek.
870
871         Add the implementation of EventSenderProxy to the WTR. This
872         allows us to extend the coverage of the test suite in WKWPE.
873
874         * WebKitTestRunner/EventSenderProxy.h:
875         * WebKitTestRunner/PlatformWPE.cmake: Add dependency on
876         libxkbcommon needed to deal with key events.
877         * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:
878         (WTR::EventSenderProxy::EventSenderProxy):
879         (WTR::senderButtonToWPEButton):
880         (WTR::EventSenderProxy::mouseDown):
881         (WTR::EventSenderProxy::mouseUp):
882         (WTR::EventSenderProxy::mouseMoveTo):
883         (WTR::EventSenderProxy::mouseScrollBy):
884         (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases):
885         (WTR::EventSenderProxy::leapForward):
886         (WTR::wkEventModifiersToWPE):
887         (WTR::getXKBKeySymForKeyRef):
888         (WTR::EventSenderProxy::keyDown):
889         (WTR::EventSenderProxy::addTouchPoint):
890         (WTR::EventSenderProxy::updateTouchPoint):
891         (WTR::EventSenderProxy::setTouchModifier):
892         (WTR::EventSenderProxy::setTouchPointRadius):
893         (WTR::EventSenderProxy::getUpdatedTouchEvents):
894         (WTR::EventSenderProxy::removeUpdatedTouchEvents):
895         (WTR::EventSenderProxy::prepareAndDispatchTouchEvent):
896         (WTR::EventSenderProxy::touchStart):
897         (WTR::EventSenderProxy::touchMove):
898         (WTR::EventSenderProxy::touchEnd):
899         (WTR::EventSenderProxy::touchCancel):
900         (WTR::EventSenderProxy::clearTouchPoints):
901         (WTR::EventSenderProxy::releaseTouchPoint):
902         (WTR::EventSenderProxy::cancelTouchPoint):
903
904 2017-07-27  Brady Eidson  <beidson@apple.com>
905
906         Part 2 of: Rename DatabaseProcess to StorageProcess.
907         https://bugs.webkit.org/show_bug.cgi?id=174880
908
909         Reviewed by Andy Estes.
910
911         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBDeleteRecovery.mm:
912         * TestWebKitAPI/Tests/WebKit2Cocoa/IDBIndexUpgradeToV2.mm:
913         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBDatabaseProcessKill.mm:
914         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBMultiProcess.mm:
915         * TestWebKitAPI/Tests/WebKit2Cocoa/IndexedDBPersistence.mm:
916         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm:
917         * TestWebKitAPI/Tests/WebKit2Cocoa/WebProcessKillIDBCleanup.mm:
918         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
919
920 2017-07-26  Mark Lam  <mark.lam@apple.com>
921
922         Add ability to only run specific tests in run-javascriptcore-tests.
923         https://bugs.webkit.org/show_bug.cgi?id=174884
924
925         Reviewed by Saam Barati.
926
927         For example, if we only want to run testapi, we can do so as follows:
928             $ run-javascriptcore-tests --testapi
929
930         Previously, specifying --testapi effectively does nothing because we run all tests
931         by default.  Only --no-testapi had the effect of disabling the test set.  This
932         old behavior for --testapi is not very useful or meaningful.  We're now changing
933         it to mean that we will only run that test.
934
935         With this change, we can also run more than one set of tests.  For example, if we
936         only want to run testmasm and testair, we can do so as follows:
937             $ run-javascriptcore-tests --testmasm --testair
938
939         By default, if no specific test option is specified, run-javascriptcore-tests will
940         run all tests.
941
942         Note that the jsc stress tests (--jsc-stress) are a different set of tests than
943         the mozilla tests (--mozilla-tests) even though both are run via the lower level
944         run-jsc-stress-tests test harness.  Hence, if you only specify one of the tests,
945         the other set will not run.  For example, the following only runs the mozilla tests:
946             $ run-javascriptcore-tests --mozilla-tests
947
948         Note also that --jit-stress-tests is not for choosing a different set of tests.
949         Instead, it is used for determining whether we run JIT'ed test configurations
950         on the jsc stress tests and mozilla tests.  As a result, specifying
951         --jit-stress-tests will not omit other tests.  For example, the following still
952         runs all tests:
953             $ run-javascriptcore-tests --jit-stress-tests
954
955         * Scripts/run-javascriptcore-tests:
956         (defaultStringForTestState):
957         (enableTestOrNot):
958         (runJSCStressTests):
959
960 2017-07-26  Mark Lam  <mark.lam@apple.com>
961
962         Make run-javascriptcore-test run testair, testb3, and testmasm.
963         https://bugs.webkit.org/show_bug.cgi?id=174837
964         <rdar://problem/33522927>
965
966         Reviewed by Saam Barati and Filip Pizlo.
967
968         1. Refactors code for running testapi so that we can use it to run other tests.
969         2. Added running of testmasm, testair, testb3.
970
971         Note: the existing testapi invocation code does not support remote invocation of
972         the tests (e.g. on a ARM device).  Hence, the new additions of testmasm, testair,
973         and testb3 also do not support remote invocation.  If we wish to add remote
974         invocation support, we should do that in a separate patch.
975
976         * Scripts/run-javascriptcore-tests:
977         (testPath):
978         (runTest):
979         (testapiPath): Deleted.
980
981 2017-07-26  Aakash Jain  <aakash_jain@apple.com>
982
983         Remove duplicate code from Buildbot.js in dashboard
984         https://bugs.webkit.org/show_bug.cgi?id=174870
985
986         Reviewed by Daniel Bates.
987
988         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js:
989         (Buildbot.prototype.javaScriptCoreTestFailuresURLForIteration): Remove duplicate code and reuse buildPageURLForIteration() to construct URL.
990         (Buildbot.prototype.javaScriptCoreTestStdioUrlForIteration): Ditto.
991         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/tests/resources/MockBuildbot.js:
992         (MockBuildbot.prototype.javaScriptCoreTestStdioUrlForIteration): Ditto for tests.
993
994 2017-07-26  Brady Eidson  <beidson@apple.com>
995
996         Add test to verify certain child processes are not launched as a side effect of enabling ResourceLoadStatistics.
997         https://bugs.webkit.org/show_bug.cgi?id=174851
998
999         Reviewed by Chris Dumez.
1000
1001         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm:
1002         (TEST):
1003
1004 2017-07-26  Brian Burg  <bburg@apple.com>
1005
1006         Remove WEB_TIMING feature flag
1007         https://bugs.webkit.org/show_bug.cgi?id=174795
1008
1009         Reviewed by Alex Christensen.
1010
1011         * Scripts/webkitperl/FeatureList.pm:
1012         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1013
1014 2017-07-26  Chris Dumez  <cdumez@apple.com>
1015
1016         Pressing the Escape key should not be a valid user gesture to enter fullscreen
1017         https://bugs.webkit.org/show_bug.cgi?id=174864
1018         <rdar://problem/33009088>
1019
1020         Reviewed by Geoffrey Garen.
1021
1022         Add support for eventSender.keyDown('escape') in DRT to match the behavior of
1023         WKTR.
1024
1025         * DumpRenderTree/mac/EventSendingController.mm:
1026         (-[EventSendingController keyDown:withModifiers:withLocation:]):
1027
1028 2017-07-26  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1029
1030         Unreviewed, added Romain Bellessort to contributors.json.
1031
1032         * Scripts/webkitpy/common/config/contributors.json:
1033
1034 2017-07-26  Zan Dobersek  <zdobersek@igalia.com>
1035
1036         [WPE] WebGL2 support
1037         https://bugs.webkit.org/show_bug.cgi?id=174249
1038
1039         Reviewed by Alex Christensen.
1040
1041         * Scripts/webkitperl/FeatureList.pm:
1042         Enable WebGL2 for WPE when building through build-webkit.
1043
1044 2017-07-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1045
1046         Unreviewed. Fix GTK distcheck.
1047
1048         * gtk/make-dist.py:
1049         (ensure_version_if_possible): Use the right pkg-config filename, it's webkit2gtk not webkitgtk.
1050
1051 2017-07-25  Brady Eidson  <beidson@apple.com>
1052
1053         ResourceLoadStatistics grandfathering happens much too often.
1054         <rdar://problem/32655834> and https://bugs.webkit.org/show_bug.cgi?id=174825
1055
1056         Reviewed by Chris Dumez.
1057
1058         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1059         * TestWebKitAPI/Tests/WebKit2Cocoa/EmptyGrandfatheredResourceLoadStatistics.plist: Added.
1060         * TestWebKitAPI/Tests/WebKit2Cocoa/ResourceLoadStatistics.mm: Added.
1061         (TEST):
1062
1063 2017-07-25  Matthew Stewart  <matthew_r_stewart@apple.com>
1064
1065         Fix autoinstaller failing on autoinstall_everything
1066         https://bugs.webkit.org/show_bug.cgi?id=174830
1067
1068         Reviewed by Joseph Pecoraro.
1069
1070         * Scripts/webkitpy/thirdparty/__init__.py:
1071         (AutoinstallImportHook.find_module):
1072         (AutoinstallImportHook.install_chromedriver):
1073         (AutoinstallImportHook.install_geckodriver):
1074         (AutoinstallImportHook._install_chromedriver): Deleted.
1075         (AutoinstallImportHook._install_geckodriver): Deleted.
1076
1077 2017-07-25  Jonathan Bedard  <jbedard@apple.com>
1078
1079         Replace --runtime with something for both ios-simulator and ios-device
1080         https://bugs.webkit.org/show_bug.cgi?id=173775
1081         <rdar://problem/32952164>
1082
1083         Reviewed by Aakash Jain.
1084
1085         Add --version flag for both iOS simulator and iOS device.
1086
1087         * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
1088         (parse_args): Add --version flag and move --no-install.
1089         * Scripts/webkitpy/port/factory.py:
1090         (platform_options): Move --no-intall to run_webkit_tests.py.
1091         * Scripts/webkitpy/port/ios.py:
1092         (IOSPort):
1093         (IOSPort._is_valid_ios_version): Check that the provided version string is legal.
1094         (IOSPort.get_option): If accessing the iOS version, check that it is a valid version string.
1095         * Scripts/webkitpy/port/ios_device.py:
1096         (IOSDevicePort.ios_version): Consult --version flag before checking connected
1097         devices for iOS version.
1098         * Scripts/webkitpy/port/ios_device_unittest.py:
1099         (IOSDeviceTest.make_port): Set --version option so that we can generate test
1100         expectation paths without devices connected.
1101         (IOSDeviceTest.test_additional_platform_directory): Deleted.
1102         (IOSDeviceTest.test_baseline_searchpath): Deleted.
1103         (IOSDeviceTest.test_expectations_ordering): Deleted.
1104         * Scripts/webkitpy/port/ios_simulator.py:
1105         (IOSSimulatorPort.simulator_runtime): If no runtime is specified, use the --version
1106         flag to specify a runtime.
1107         (IOSSimulatorPort.ios_version): First check the --version flag, then the --runtime
1108         flag and then use the default runtime.
1109
1110 2017-07-25  Carlos Garcia Campos  <cgarcia@igalia.com>
1111
1112         [GTK] TestWebKitAPI tests are no longer built since the WebKit2 rename
1113         https://bugs.webkit.org/show_bug.cgi?id=174815
1114
1115         Reviewed by Carlos Alberto Lopez Perez.
1116
1117         Only WebKitGTK specific tests are built, but not WebKit2, WTF nor WebCore ones. We are still checking
1118         ENABLE_WEBKIT2 in the makefile, that was renamed to ENABLE_WEBKIT. Also, all WebKit2 test paths were updated to
1119         use WebKit dir, while the tests are still in WebKit2 directory. This patch also removes
1120         TestWebKitAPIInjectedBundle_PATH that is unused and now makes the configure to fail (it used to be a warning, I
1121         think), probably because of a newer CMake version.
1122
1123         * CMakeLists.txt:
1124         * TestWebKitAPI/CMakeLists.txt:
1125         * TestWebKitAPI/PlatformGTK.cmake:
1126
1127 2017-07-24  Matthew Stewart  <matthew_r_stewart@apple.com>
1128
1129         Fix BenchmarkRunner to only import selenium when needed
1130         https://bugs.webkit.org/show_bug.cgi?id=174808
1131
1132         Reviewed by Stephanie Lewis.
1133
1134         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_chrome_driver.py:
1135         (LinuxChromeDriver.launch_driver):
1136         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_firefox_driver.py:
1137         (LinuxFirefoxDriver.launch_driver):
1138         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
1139         (OSXChromeDriver.launch_driver):
1140         (OSXChromeCanaryDriver.launch_driver):
1141         (create_chrome_options):
1142         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
1143         (OSXFirefoxDriver.launch_driver):
1144         (OSXFirefoxNightlyDriver.launch_driver):
1145         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1146         (OSXSafariDriver.launch_driver):
1147         * Scripts/webkitpy/benchmark_runner/webdriver_benchmark_runner.py:
1148         (WebDriverBenchmarkRunner._run_one_test):
1149
1150 2017-07-23  Darin Adler  <darin@apple.com>
1151
1152         More NeverDestroyed and related cleanup
1153         https://bugs.webkit.org/show_bug.cgi?id=174745
1154
1155         Reviewed by Alex Christensen.
1156
1157         * DumpRenderTree/JavaScriptThreading.cpp:
1158         (javaScriptThreadsMutex): Use NeverDestroyed instead of
1159         DEPRECATED_DEFINE_STATIC_LOCAL.
1160         (javaScriptThreads): Ditto.
1161
1162 2017-07-24  Matthew Stewart  <matthew_r_stewart@apple.com>
1163
1164         Subclass Benchmark Runner script for WebDriver support
1165         https://bugs.webkit.org/show_bug.cgi?id=174390
1166
1167         Reviewed by Dewei Zhu, Stephanie Lewis.
1168
1169         Add WebServerBenchmarkRunner and WebDriverBenchmarkRunner subclasses.
1170
1171         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
1172         (BenchmarkBuilder.__init__):
1173         * Scripts/webkitpy/benchmark_runner/benchmark_runner.py:
1174         (BenchmarkRunner.__init__):
1175         (BenchmarkRunner._find_plan_file):
1176         (BenchmarkRunner._run_one_test.and):
1177         (BenchmarkRunner.execute):
1178         (BenchmarkRunner._get_result): Deleted.
1179         * Scripts/webkitpy/benchmark_runner/run_benchmark.py:
1180         (parse_args):
1181         (start):
1182         * Scripts/webkitpy/benchmark_runner/webdriver_benchmark_runner.py: Added.
1183         (WebDriverBenchmarkRunner):
1184         (WebDriverBenchmarkRunner._get_result):
1185         (WebDriverBenchmarkRunner._run_one_test):
1186         * Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py: Added.
1187         (WebServerBenchmarkRunner):
1188         (WebServerBenchmarkRunner.__init__):
1189         (WebServerBenchmarkRunner._get_result):
1190         (WebServerBenchmarkRunner._run_one_test):
1191
1192 2017-07-24  Matthew Stewart  <matthew_r_stewart@apple.com>
1193
1194         Add BenchmarkRunner patches with WebDriver support for each testing plan
1195         https://bugs.webkit.org/show_bug.cgi?id=174443
1196
1197         Reviewed by Dewei Zhu, Stephanie Lewis.
1198
1199         * Scripts/webkitpy/benchmark_runner/benchmark_builder.py:
1200         (BenchmarkBuilder.__enter__):
1201         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/ARES-6.patch:
1202         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/ContentAnimation.patch:
1203         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/Dromaeo.patch:
1204         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/JSBench.patch:
1205         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/JetStream.patch:
1206         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/Kraken.patch:
1207         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/MotionMark.patch:
1208         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/Octane.patch:
1209         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/Speedometer.patch:
1210         * Scripts/webkitpy/benchmark_runner/data/patches/webdriver/SunSpider.patch:
1211         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/ARES-6.patch:
1212         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/Animometer.patch:
1213         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/ContentAnimation.patch:
1214         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/Dromaeo.patch:
1215         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/JSBench.patch:
1216         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/JetStream.patch:
1217         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/Kraken.patch:
1218         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/MotionMark.patch:
1219         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/Octane.patch:
1220         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/Speedometer.patch:
1221         * Scripts/webkitpy/benchmark_runner/data/patches/webserver/SunSpider.patch:
1222         * Scripts/webkitpy/benchmark_runner/data/plans/ares6.plan:
1223         * Scripts/webkitpy/benchmark_runner/data/plans/content-animation.plan:
1224         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-cssquery.plan:
1225         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-dom.plan:
1226         * Scripts/webkitpy/benchmark_runner/data/plans/dromaeo-jslib.plan:
1227         * Scripts/webkitpy/benchmark_runner/data/plans/jetstream.plan:
1228         * Scripts/webkitpy/benchmark_runner/data/plans/jsbench.plan:
1229         * Scripts/webkitpy/benchmark_runner/data/plans/kraken.plan:
1230         * Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan:
1231         * Scripts/webkitpy/benchmark_runner/data/plans/octane.plan:
1232         * Scripts/webkitpy/benchmark_runner/data/plans/speedometer.plan:
1233         * Scripts/webkitpy/benchmark_runner/data/plans/sunspider.plan:
1234
1235 2017-07-24  Matthew Stewart  <matthew_r_stewart@apple.com>
1236
1237         Add functions to autoinstaller needed for Benchmark Runner script
1238         https://bugs.webkit.org/show_bug.cgi?id=174331
1239
1240         Reviewed by Dean Johnson, Dewei Zhu, Stephanie Lewis.
1241
1242         Adds autoinstaller functions to install selenium and webdriver binaries
1243         which will be used by the browser driver part of Benchmark Runner.
1244
1245         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
1246         (BrowserDriver.restore_env):
1247         (BrowserDriver):
1248         (BrowserDriver.get_webdriver_binary_path):
1249         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_chrome_driver.py:
1250         (LinuxChromeDriver.launch_driver):
1251         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_firefox_driver.py:
1252         (LinuxFirefoxDriver.launch_driver):
1253         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
1254         (OSXChromeDriver.launch_driver):
1255         (OSXChromeCanaryDriver.launch_driver):
1256         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
1257         (OSXFirefoxDriver.launch_driver):
1258         (OSXFirefoxNightlyDriver.launch_driver):
1259         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1260         * Scripts/webkitpy/benchmark_runner/utils.py:
1261         (get_driver_binary_path):
1262         * Scripts/webkitpy/common/system/autoinstall.py:
1263         (AutoInstaller._unzip):
1264         * Scripts/webkitpy/thirdparty/__init__.py:
1265         (AutoinstallImportHook.find_module):
1266         (AutoinstallImportHook._install_selenium):
1267         (AutoinstallImportHook):
1268         (AutoinstallImportHook._install_chromedriver):
1269         (AutoinstallImportHook._install_geckodriver):
1270         (AutoinstallImportHook.get_latest_pypi_url):
1271         (AutoinstallImportHook.install_binary):
1272         (autoinstall_everything):
1273         (get_driver_filename):
1274         (get_os_info):
1275
1276 2017-07-24  Matthew Stewart  <matthew_r_stewart@apple.com>
1277
1278         Add WebDriver support in browser driver part of BenchmarkRunner
1279         https://bugs.webkit.org/show_bug.cgi?id=174445
1280
1281         Reviewed by Stephanie Lewis.
1282
1283         Adds a launch_driver function to each BrowserDriver subclass. This
1284         function sets up the arguments for the webdriver and launches the
1285         webdriver specific to that browser.
1286
1287         * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py:
1288         (BrowserDriver.launch_webdriver):
1289         (BrowserDriver):
1290         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_browser_driver.py:
1291         (LinuxBrowserDriver.launch_webdriver):
1292         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_chrome_driver.py:
1293         (LinuxChromeDriver.launch_url):
1294         (LinuxChromeDriver):
1295         (LinuxChromeDriver.launch_driver):
1296         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_epiphany_driver.py:
1297         (EpiphanyBrowserDriver.launch_url):
1298         (EpiphanyBrowserDriver):
1299         (EpiphanyBrowserDriver.launch_driver):
1300         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_firefox_driver.py:
1301         (LinuxFirefoxDriver):
1302         (LinuxFirefoxDriver.launch_url):
1303         (LinuxFirefoxDriver.launch_driver):
1304         * Scripts/webkitpy/benchmark_runner/browser_driver/linux_minibrowsergtk_driver.py:
1305         (GTKMiniBrowserDriver.launch_url):
1306         (GTKMiniBrowserDriver):
1307         (GTKMiniBrowserDriver.launch_driver):
1308         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py:
1309         (OSXBrowserDriver._launch_webdriver):
1310         (OSXBrowserDriver):
1311         (OSXBrowserDriver._screen_size):
1312         (OSXBrowserDriver._insert_url):
1313         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_chrome_driver.py:
1314         (OSXChromeDriver):
1315         (OSXChromeDriver.launch_url):
1316         (OSXChromeDriver.launch_driver):
1317         (OSXChromeCanaryDriver):
1318         (OSXChromeCanaryDriver.launch_url):
1319         (OSXChromeCanaryDriver.launch_driver):
1320         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_firefox_driver.py:
1321         (OSXFirefoxDriver):
1322         (OSXFirefoxDriver.launch_url):
1323         (OSXFirefoxDriver.launch_driver):
1324         (OSXFirefoxNightlyDriver):
1325         (OSXFirefoxNightlyDriver.launch_url):
1326         (OSXFirefoxNightlyDriver.launch_driver):
1327         * Scripts/webkitpy/benchmark_runner/browser_driver/osx_safari_driver.py:
1328         (OSXSafariDriver.launch_driver):
1329
1330 2017-07-24  Wenson Hsieh  <wenson_hsieh@apple.com>
1331
1332         [Mac WK2] Add an API test to cover r219765 (null dereference in [WKWebView dealloc])
1333         https://bugs.webkit.org/show_bug.cgi?id=174793
1334
1335         Reviewed by Tim Horton.
1336
1337         Adds a new unit test that invokes some asynchronous NSTextInputClient SPI methods as the web view is tearing
1338         down. Without r219765, this test will dereference null and crash.
1339
1340         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1341         * TestWebKitAPI/Tests/TestWebKitAPI/mac/NSTextInputClientSPI.h: Added.
1342         * TestWebKitAPI/Tests/mac/WKWebViewSelectionTests.mm:
1343         (TEST):
1344
1345 2017-07-24  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1346
1347         [Win] Implement Authentication dialog in MiniBrowser
1348         https://bugs.webkit.org/show_bug.cgi?id=174662
1349
1350         Reviewed by Alex Christensen.
1351
1352         * MiniBrowser/win/Common.cpp:
1353         (CustomUserAgent):
1354         (DisplayAuthDialog):
1355         (AuthDialogProc):
1356         * MiniBrowser/win/MiniBrowserLib.rc:
1357         * MiniBrowser/win/MiniBrowserLibResource.h:
1358         * MiniBrowser/win/ResourceLoadDelegate.cpp:
1359         (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
1360
1361 2017-07-24  Jonathan Bedard  <jbedard@apple.com>
1362
1363         Handle case where line_numbers is None instead of an array of line numbers
1364         https://bugs.webkit.org/show_bug.cgi?id=174775
1365
1366         Reviewed by Aakash Jain.
1367
1368         Added files set line_numbers to None in process_file.
1369
1370         * Scripts/webkitpy/style/filereader.py:
1371         (TextFileReader.process_file): Handle case where line_number is set to None.
1372         * Scripts/webkitpy/style/main_unittest.py:
1373         (ExpectationLinterInStyleCheckerTest.test_linter_added_file_with_error): Test case of an added file.
1374
1375 2017-07-24  Zan Dobersek  <zdobersek@igalia.com>
1376
1377         [WPE] Add libepoxy to the Jhbuild moduleset
1378         https://bugs.webkit.org/show_bug.cgi?id=174711
1379
1380         Reviewed by Carlos Alberto Lopez Perez.
1381
1382         * wpe/jhbuild.modules: Add libepoxy 1.4.3 to WPE's Jhbuild moduleset.
1383
1384 2017-07-24  Zan Dobersek  <zdobersek@igalia.com>
1385
1386         [WPE] libepoxy headers can use EGL_CAST, which might not be defined by eglplatform.h
1387         https://bugs.webkit.org/show_bug.cgi?id=174780
1388
1389         Reviewed by Carlos Garcia Campos.
1390
1391         * WebKitTestRunner/wpe/HeadlessViewBackend.cpp:
1392         Manually define the EGL_CAST macro to the C++ version that uses static_cast<>
1393         in case the eglplatform.h header doesn't provide that macro. This replicates
1394         the work in WebCore's EpoxyEGL.h header, but we can't include that header here.
1395
1396 2017-07-22  Wenson Hsieh  <wenson_hsieh@apple.com>
1397
1398         [iOS WK2] Remove _WKDraggableElementInfo and fold PositionInformationTests into WKRequestActivatedElementInfo
1399         https://bugs.webkit.org/show_bug.cgi?id=174758
1400
1401         Reviewed by Dan Bernstein.
1402
1403         Migrate position-information-related unit tests from the PositionInformationTests suite to
1404         WKRequestActivatedElementInfo as 2 new unit tests. See WebKit2 ChangeLog for more details.
1405
1406         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1407         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm:
1408         (TestWebKitAPI::checkElementTypeAndBoundingRect):
1409         (TestWebKitAPI::TEST):
1410         * TestWebKitAPI/Tests/ios/PositionInformationTests.mm: Removed.
1411         * TestWebKitAPI/cocoa/TestWKWebView.h:
1412         * TestWebKitAPI/cocoa/TestWKWebView.mm:
1413         (-[TestWKWebView activatedElementAtPosition:]):
1414
1415 2017-07-22  Chris Dumez  <cdumez@apple.com>
1416
1417         REGRESSION(r204565): WKObject is broken
1418         https://bugs.webkit.org/show_bug.cgi?id=174736
1419         <rdar://problem/33246169>
1420
1421         Reviewed by Dan Bernstein.
1422
1423         Add API test that used to crash.
1424
1425         * TestWebKitAPI/Tests/WebKit2Cocoa/WKObject.mm:
1426         (TestWebKitAPI::TEST):
1427
1428 2017-07-22  Yusuke Suzuki  <utatane.tea@gmail.com>
1429
1430         [WTF] Extend ThreadGroup::add results from bool to ThreadGroupAddResult
1431         https://bugs.webkit.org/show_bug.cgi?id=174705
1432
1433         Reviewed by Mark Lam.
1434
1435         * TestWebKitAPI/Tests/WTF/ThreadGroup.cpp:
1436         (TestWebKitAPI::testThreadGroup):
1437         (TestWebKitAPI::TEST):
1438
1439 2017-07-21  Jonathan Bedard  <jbedard@apple.com>
1440
1441         Fail gracefully when xcrun fails in IOSSimulatorPort constructor
1442         https://bugs.webkit.org/show_bug.cgi?id=174724
1443
1444         Reviewed by Aakash Jain.
1445
1446         * Scripts/webkitpy/port/ios_simulator.py:
1447         (IOSSimulatorPort.__init__): Ignore any errors when attempting to find a running
1448         simulator. Errors here should be treated the same as no simulators found.
1449
1450 2017-07-21  Yousuke Kimoto  <Yousuke.Kimoto@sony.com>
1451
1452         [CMake] Add an option to stop build after generating project files
1453         https://bugs.webkit.org/show_bug.cgi?id=174664
1454
1455         Reviewed by Konstantin Tokarev.
1456
1457         Add "--generate-project-only" to stop build after generating project files.
1458
1459         * Scripts/build-webkit: Add '--generate-project-only' option and a checker to stop build.
1460         * Scripts/webkitdirs.pm: Add a function to check '--generate-project-only' option and the same checker as the above
1461         (buildCMakeProjectOrExit): Add a cheker to stop build stop build after generating project files.
1462         (determineIsGenerateProjectOnly): Check if '--generate-project-only' option is specified
1463         (isGenerateProjectOnly): ditto
1464
1465 2017-07-21  Yusuke Suzuki  <utatane.tea@gmail.com>
1466
1467         [WTF] Newly added AtomicStringImpl should use BufferInternal static string if StringImpl is static
1468         https://bugs.webkit.org/show_bug.cgi?id=174501
1469
1470         Reviewed by Darin Adler.
1471
1472         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
1473         (TestWebKitAPI::TEST):
1474
1475 2017-07-20  David Quesada  <david_quesada@apple.com>
1476
1477         Add SPI to notify WKNavigationDelegate about client redirects
1478         https://bugs.webkit.org/show_bug.cgi?id=174680
1479         rdar://problem/33184886
1480
1481         Reviewed by Brady Eidson.
1482
1483         * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
1484         (-[DidPerformClientRedirectNavigationDelegate _webView:didPerformClientRedirectForNavigation:]):
1485         (TEST):
1486         Add API test for -[id<WKNavigationDelegatePrivate> _webView:didPerformClientRedirectForNavigation:].
1487
1488 2017-07-20  Brady Eidson  <beidson@apple.com>
1489
1490         Test WebKit2CustomProtocolsTest.ProcessPoolDestroyedDuringLoading added in r219664 fails on El Capitan.
1491         https://bugs.webkit.org/show_bug.cgi?id=174685
1492
1493         Reviewed by Andy Estes.
1494
1495         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1496         (TestWebKitAPI::TEST): Use a scoped AutodrainedPool instead of a RetainPtr<NSAutoreleasePool>.
1497
1498 2017-07-20  Brady Eidson  <beidson@apple.com>
1499
1500         Deprecate WebIconDatabase in WebKitLegacy/mac.
1501         https://bugs.webkit.org/show_bug.cgi?id=174607
1502
1503         Reviewed by Alex Christensen.
1504
1505         * DumpRenderTree/mac/TestRunnerMac.mm:
1506
1507 2017-07-20  Jonathan Bedard  <jbedard@apple.com>
1508
1509         lint-test-expectations should be run during style checking
1510         https://bugs.webkit.org/show_bug.cgi?id=173559
1511         <rdar://problem/32854941>
1512
1513         Reviewed by Aakash Jain.
1514
1515         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1516         (TestExpectationsModel._already_seen_better_match): Append returns 'None' when successful,
1517         prevents identifying errors on specific lines in a file.
1518         * Scripts/webkitpy/style/main_unittest.py:
1519         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_edit_in_file): Test for the
1520         case where a linter error is in the file modified, but the line modified is not related to
1521         the linter error.
1522
1523 2017-07-20  Brady Eidson  <beidson@apple.com>
1524
1525         Remove WebIconDatabase from WebKitLegacy/win.
1526         https://bugs.webkit.org/show_bug.cgi?id=174608
1527
1528         Reviewed by Alex Christensen.
1529
1530         * DumpRenderTree/win/DumpRenderTree.cpp:
1531         (main):
1532         * DumpRenderTree/win/TestRunnerWin.cpp:
1533         (TestRunner::setIconDatabaseEnabled):
1534
1535 2017-07-20  Zan Dobersek  <zdobersek@igalia.com>
1536
1537         [WPE] Adjust priority of GSource used in WKTR's HeadlessViewBackend
1538         https://bugs.webkit.org/show_bug.cgi?id=174671
1539
1540         Reviewed by Carlos Garcia Campos.
1541
1542         * WebKitTestRunner/wpe/HeadlessViewBackend.cpp:
1543         (HeadlessViewBackend::HeadlessViewBackend): Use the RunLoopDispatcher
1544         priority for this source in order to have it dispatched on the same
1545         priority as the other WebKit-controlled GSource objects.
1546
1547 2017-07-19  Jonathan Bedard  <jbedard@apple.com>
1548
1549         lint-test-expectations should be run during style checking
1550         https://bugs.webkit.org/show_bug.cgi?id=173559
1551         <rdar://problem/32854941>
1552
1553         Reviewed by Daniel Bates.
1554
1555         Follow up fix addressing style and a few minor bugs.
1556
1557         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1558         (TestExpectationParser.__init__): Use lambda x: x instead of str
1559         (TestExpectationsModel.__init__): Make lambda x: x the default argument.
1560         (TestExpectationsModel._already_seen_better_match): Use a temporary variable to
1561         reduce the calls of _shorten_filename, fix minor bug in appending the current
1562         expectation's line number instead of the previous ones, clarify treatment of None
1563         in file-to-line-number mapping.
1564         (TestExpectations._report_warnings): Collapse call.
1565         * Scripts/webkitpy/style/checkers/test_expectations.py:
1566         (TestExpectationsChecker.lint_test_expectations):
1567         * Scripts/webkitpy/style/filereader.py: Re-write comment.
1568         (TextFileReader.process_file): Add comment explaining treatment of None in
1569         file-to-line-number mapping.
1570         (TextFileReader.delete_file): Collapse call.
1571
1572 2017-07-19  Chris Dumez  <cdumez@apple.com>
1573
1574         Unreviewed attempt to fix API test failure after r219663.
1575
1576         The test was hard-coding an exception string and the string has changed slightly
1577         in r219663.
1578
1579         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
1580         (TEST):
1581
1582 2017-07-19  Megan Gardner  <megan_gardner@apple.com>
1583
1584         Don't write file URLs to iOS Pasteboard
1585         https://bugs.webkit.org/show_bug.cgi?id=174647
1586         <rdar://problem/33199730>
1587
1588         Reviewed by Wenson Hsieh.
1589
1590         Updating tests to reflect the lack of file URLs for images.
1591
1592         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1593         (checkTypeIdentifierAndIsNotOtherTypeIdentifier):
1594         (checkEstimatedSize):
1595         (TestWebKitAPI::TEST):
1596
1597 2017-07-19  Brady Eidson  <beidson@apple.com>
1598
1599         iBooks sometimes crashes when closing a book.
1600         <rdar://problem/31180331> and https://bugs.webkit.org/show_bug.cgi?id=174658
1601
1602         Reviewed by Oliver Hunt.
1603
1604         * TestWebKitAPI/Tests/WebKit2ObjC/CustomProtocolsTest.mm:
1605         (-[ProcessPoolDestroyedDuringLoadingProtocol startLoading]):
1606         (-[ProcessPoolDestroyedDuringLoadingProtocol finishTheLoad]):
1607         (-[ProcessPoolDestroyedDuringLoadingProtocol stopLoading]):
1608         (TestWebKitAPI::TEST):
1609
1610         Add a "spin the runloop X number of times" utility:
1611         * TestWebKitAPI/Utilities.h:
1612         * TestWebKitAPI/cocoa/UtilitiesCocoa.mm:
1613         (TestWebKitAPI::Util::spinRunLoop):
1614
1615 2017-07-19  Jonathan Bedard  <jbedard@apple.com>
1616
1617         lint-test-expectations should be run during style checking
1618         https://bugs.webkit.org/show_bug.cgi?id=173559
1619         <rdar://problem/32854941>
1620
1621         Reviewed by David Kilzer.
1622
1623         Running the test expectation linter requires reading both files and lines not in the
1624         patch because, for example, deletion of a test can cause a lint failure even though
1625         no test expectations where modified. This means that the linter will occasionally warn
1626         about lines which were not changed in a given patch but whose error is related to a
1627         change made in that patch.
1628
1629         * Scripts/webkitpy/common/system/filesystem_mock.py:
1630         (MockFileSystem.open_text_file_for_reading): Add 'errors' argument to mimic filesystem.
1631         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
1632         (TestExpectationWarning): Added class to pass warnings as an object instead of a string.
1633         (TestExpectationWarning.__init__): Construct warning with file name, line number, line
1634         content, description of the error and the name of the associated test.
1635         (TestExpectationWarning.__str__): Convert to string so that existing printing code works.
1636         (TestExpectationParser.__init__): Pass shorten_filename function to
1637         TestExpectationsParser to add a deleted file to the related_files dictionary.
1638         (TestExpectationParser._check_test_exists): If the test does not exist, add the
1639         missing path to the related_files dictionary.
1640         (TestExpectationLine.__init__): Add related_files dictionary, which tracks
1641         files and line numbers related to this test expectation line. This will allow
1642         tracking linter errors in the style checker occurring across multiple files.
1643         (TestExpectationsModel._already_seen_better_match): Add redundant expectation
1644         lines to related_files dictionary.
1645         (TestExpectations.__init__): Pass self._shorten_filename to TestExpectationParser.
1646         (TestExpectations._report_warnings): Construct warning object instead of string
1647         when adding to warnings list.
1648         * Scripts/webkitpy/port/win.py: Changed logging level form warning to debug to
1649         clean-up log.
1650         * Scripts/webkitpy/style/checker.py:
1651         (ProcessorBase.do_association_check): Add required function for processor classes.
1652         (StyleProcessor):
1653         (StyleProcessor.do_association_check): Run the TestExpectations linter when
1654         checking for errors between associated files.
1655         * Scripts/webkitpy/style/checkers/test_expectations.py:
1656         (TestExpectationsChecker.check_test_expectations): Reflect changed import statements.
1657         (TestExpectationsChecker):
1658         (TestExpectationsChecker._should_log_linter_warning): Given a warning, a dictionary
1659         of modified files, the current working directory and the host, determine if the linter
1660         warning is associated with the changes.
1661         (TestExpectationsChecker.lint_test_expectations): Lint test expectations for the
1662         style checker.
1663         * Scripts/webkitpy/style/filereader.py:
1664         (TextFileReader):
1665         (TextFileReader.__init__): Track modified files in dictionary instead of a counter.
1666         (TextFileReader.file_count): Use dictionary to determine the number of modified files.
1667         (TextFileReader.process_file): Track both the number of files changed and which lines
1668         in those files were changed.
1669         (TextFileReader.do_association_check): Run the processor's association check on all
1670         modified or deleted files processed by TextFileReader.
1671         (TextFileReader.delete_file): Track deleted files in _files dictionary.
1672         (TextFileReader.count_delete_only_file): Deleted.
1673         * Scripts/webkitpy/style/filereader_unittest.py:
1674         (TextFileReaderTest.test_delete_file): Renamed function to reflect new function name.
1675         (TextFileReaderTest.test_count_delete_only_file): Moved to test_delete_file.
1676         * Scripts/webkitpy/style/main.py:
1677         (CheckWebKitStyle.main): When running the style checker on a specific list of files,
1678         explicitly run the association check on the file reader.
1679         * Scripts/webkitpy/style/main_unittest.py:
1680         (ExpectationLinterInStyleCheckerTest): Added to test the TestExpectationLinter now
1681         embedded in the style checker.
1682         (ExpectationLinterInStyleCheckerTest.setUp): Set up the style checker configuration.
1683         (ExpectationLinterInStyleCheckerTest._generate_file_reader): Given a filesystem object,
1684         construct the TextFileReader object with a StyleProcessor used to run style checks on
1685         specific files.
1686         (ExpectationLinterInStyleCheckerTest._generate_testing_host): Generate a host used for
1687         testing the test expectation linter inside the style checker. This host must contain a
1688         mock file system with the basic structure of test expectations.
1689         (ExpectationLinterInStyleCheckerTest.test_no_linter_errors):
1690         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line):
1691         (ExpectationLinterInStyleCheckerTest.test_linter_duplicate_line_no_edit):
1692         (ExpectationLinterInStyleCheckerTest.test_linter_deleted_file):
1693         (ExpectationLinterInStyleCheckerTest.test_linter_deleted_file_no_edit):
1694         * Scripts/webkitpy/style/patchreader.py:
1695         (PatchReader.check): Specify which file was deleted, run the association check.
1696         * Scripts/webkitpy/style/patchreader_unittest.py:
1697         (PatchReaderTest.MockTextFileReader.delete_file): Renamed count_delete_only_file.
1698         (PatchReaderTest.MockTextFileReader.do_association_check): Added.
1699         (PatchReaderTest.MockTextFileReader.count_delete_only_file): Renamed delete_file.
1700
1701 2017-07-19  Yusuke Suzuki  <utatane.tea@gmail.com>
1702
1703         [WTF] Implement WTF::ThreadGroup
1704         https://bugs.webkit.org/show_bug.cgi?id=174081
1705
1706         Reviewed by Mark Lam.
1707
1708         Add WTF::ThreadGroup tests.
1709
1710         * TestWebKitAPI/CMakeLists.txt:
1711         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1712         * TestWebKitAPI/Tests/WTF/ThreadGroup.cpp: Added.
1713         (TestWebKitAPI::testThreadGroup):
1714         (TestWebKitAPI::TEST):
1715
1716 2017-07-18  Andy Estes  <aestes@apple.com>
1717
1718         [Xcode] Enable CLANG_WARN_RANGE_LOOP_ANALYSIS
1719         https://bugs.webkit.org/show_bug.cgi?id=174631
1720
1721         Reviewed by Tim Horton.
1722
1723         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1724         * MiniBrowser/Configurations/Base.xcconfig:
1725         * MobileMiniBrowser/Configurations/Base.xcconfig:
1726         * TestWebKitAPI/Configurations/Base.xcconfig:
1727         * WebKitTestRunner/Configurations/Base.xcconfig:
1728
1729 2017-07-18  Andy Estes  <aestes@apple.com>
1730
1731         [Xcode] Enable CLANG_WARN_OBJC_LITERAL_CONVERSION
1732         https://bugs.webkit.org/show_bug.cgi?id=174631
1733
1734         Reviewed by Sam Weinig.
1735
1736         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1737         * MiniBrowser/Configurations/Base.xcconfig:
1738         * MobileMiniBrowser/Configurations/Base.xcconfig:
1739         * TestWebKitAPI/Configurations/Base.xcconfig:
1740         * WebKitTestRunner/Configurations/Base.xcconfig:
1741
1742 2017-07-18  Daniel Bates  <dabates@apple.com>
1743
1744         lldb: Add type summary for StringView
1745         https://bugs.webkit.org/show_bug.cgi?id=174637
1746
1747         Reviewed by Sam Weinig.
1748
1749         For debugging convenience, adds a pretty-print type summary for StringView. Evaluating a
1750         StringView object will print output that has the form:
1751
1752             (WTF::StringView) $4 = { length = 2, contents = 'li' } {
1753               m_characters = 0x000000011b57abb5 "eeeeeefjh0n"
1754               m_length = 2
1755               m_is8Bit = true
1756               m_underlyingString = 0x0000614000000a90
1757             }
1758
1759         * lldb/lldb_webkit.py:
1760         (__lldb_init_module): Use WTFStringView_SummaryProvider to format StringView types.
1761         (WTFStringView_SummaryProvider):
1762         (WTFStringViewProvider):
1763         (WTFStringViewProvider.__init__):
1764         (WTFStringViewProvider.is_8bit): Access field StringView.m_is8Bit.
1765         (WTFStringViewProvider.get_length): Access field StringView.m_length.
1766         (WTFStringViewProvider.get_characters): Access field StringView.m_characters.
1767         (WTFStringViewProvider.to_string): Returns the string represented by the StringView.
1768
1769 2017-07-18  Andy Estes  <aestes@apple.com>
1770
1771         [Xcode] Enable CLANG_WARN_NON_LITERAL_NULL_CONVERSION
1772         https://bugs.webkit.org/show_bug.cgi?id=174631
1773
1774         Reviewed by Dan Bernstein.
1775
1776         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1777         * MiniBrowser/Configurations/Base.xcconfig:
1778         * MobileMiniBrowser/Configurations/Base.xcconfig:
1779         * TestWebKitAPI/Configurations/Base.xcconfig:
1780         * WebKitTestRunner/Configurations/Base.xcconfig:
1781
1782 2017-07-18  Devin Rousso  <drousso@apple.com>
1783
1784         Web Inspector: Add memoryCost to Inspector Protocol objects
1785         https://bugs.webkit.org/show_bug.cgi?id=174478
1786
1787         Reviewed by Joseph Pecoraro.
1788
1789         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1790         * TestWebKitAPI/Tests/JavaScriptCore/InspectorValue.cpp: Added.
1791         (TestWebKitAPI::TEST(InspectorValue, MemoryCostNull)):
1792         (TestWebKitAPI::TEST(InspectorValue, MemoryCostBoolean)):
1793         (TestWebKitAPI::TEST(InspectorValue, MemoryCostDouble)):
1794         (TestWebKitAPI::TEST(InspectorValue, MemoryCostInteger)):
1795         (TestWebKitAPI::TEST(InspectorValue, MemoryCostString)):
1796         (TestWebKitAPI::TEST(InspectorValue, MemoryCostStringEmpty)):
1797         (TestWebKitAPI::TEST(InspectorValue, MemoryCostStringNull)):
1798         (TestWebKitAPI::TEST(InspectorValue, MemoryCostStringGrowing)):
1799         (TestWebKitAPI::TEST(InspectorValue, MemoryCostStringUnicode)):
1800         (TestWebKitAPI::TEST(InspectorValue, MemoryCostObject)):
1801         (TestWebKitAPI::TEST(InspectorValue, MemoryCostObjectEmpty)):
1802         (TestWebKitAPI::TEST(InspectorValue, MemoryCostObjectGrowing)):
1803         (TestWebKitAPI::TEST(InspectorValue, MemoryCostArray)):
1804         (TestWebKitAPI::TEST(InspectorValue, MemoryCostArrayEmpty)):
1805         (TestWebKitAPI::TEST(InspectorValue, MemoryCostArrayGrowing)):
1806
1807 2017-07-18  Andy Estes  <aestes@apple.com>
1808
1809         [Xcode] Enable CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING
1810         https://bugs.webkit.org/show_bug.cgi?id=174631
1811
1812         Reviewed by Darin Adler.
1813
1814         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1815         * MiniBrowser/Configurations/Base.xcconfig:
1816         * MobileMiniBrowser/Configurations/Base.xcconfig:
1817         * TestWebKitAPI/Configurations/Base.xcconfig:
1818         * WebKitTestRunner/Configurations/Base.xcconfig:
1819
1820 2017-07-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1821
1822         Unreviewed, fix the iOS build.
1823
1824         I missed a spot when renaming -synchronouslyLoadHTML: to -synchronouslyLoadHTMLString:.
1825
1826         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1827         (TestWebKitAPI::TEST):
1828
1829 2017-07-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1830
1831         [iOS DnD] Web process uses too much memory when beginning a drag on a very large image
1832         https://bugs.webkit.org/show_bug.cgi?id=174585
1833         <rdar://problem/33302541>
1834
1835         Reviewed by Tim Horton.
1836
1837         Adds a new test verifying that we don't try to allocate any image buffer equal to the true size of the image
1838         being dragged when initiating a drag.
1839
1840         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1841         * TestWebKitAPI/Tests/WebKit2Cocoa/enormous.svg: Added.
1842         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1843         (TestWebKitAPI::TEST):
1844         * TestWebKitAPI/cocoa/TestWKWebView.h:
1845
1846         Add a new -synchronouslyLoadHTMLString: helper that works like -synchronouslyLoadTestPage:, but takes markup.
1847
1848         * TestWebKitAPI/cocoa/TestWKWebView.mm:
1849         (-[TestWKWebView synchronouslyLoadHTMLString:]):
1850
1851 2017-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1852
1853         [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1854         https://bugs.webkit.org/show_bug.cgi?id=174547
1855
1856         Reviewed by Alex Christensen.
1857
1858         * DumpRenderTree/PlatformWin.cmake:
1859         * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
1860
1861 2017-07-17  Yoshiaki Jitsukawa  <Yoshiaki.Jitsukawa@sony.com>
1862
1863         Update style checker to deal with "final"
1864         https://bugs.webkit.org/show_bug.cgi?id=174528
1865
1866         Reviewed by Alex Christensen.
1867         
1868         check-webkit-style shouldn't complain about an open brace to start a
1869         line after a function definition with "final" or "const final".
1870
1871         * Scripts/webkitpy/style/checkers/cpp.py:
1872         (check_braces):
1873         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
1874         (CppStyleTest.test_brace_at_begin_of_line):
1875
1876 2017-07-17  Alex Christensen  <achristensen@webkit.org>
1877
1878         Modernize content extension code
1879         https://bugs.webkit.org/show_bug.cgi?id=174588
1880
1881         Reviewed by Sam Weinig.
1882
1883         * TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:
1884         (TestWebKitAPI::InMemoryCompiledContentExtension::createFromFilter):
1885         (TestWebKitAPI::testRequest):
1886         (TestWebKitAPI::makeBackend):
1887         (TestWebKitAPI::TEST_F):
1888
1889 2017-07-17  Brady Eidson  <beidson@apple.com>
1890
1891         WKHTTPCookieStore observing only works on the default cookie store.
1892         <rdar://problem/33330724> and https://bugs.webkit.org/show_bug.cgi?id=174580
1893
1894         Reviewed by Sam Weinig.
1895
1896         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
1897         (runTestWithWebsiteDataStore): Refactor the cookie observing test out so it can be
1898           called for the default store, a non-persistent store, and a custom store.
1899         (TEST):
1900
1901 2017-07-16  Sam Weinig  <sam@webkit.org>
1902
1903         [Scripts] Fix missing variable warnings from svn-create-patch when there are untracked files
1904         https://bugs.webkit.org/show_bug.cgi?id=174575
1905
1906         Reviewed by Brady Eidson.
1907
1908         * Scripts/svn-create-patch:
1909         (findModificationType):
1910         Add support for more status codes. C -> conflicted, ? -> untracked, ! -> missing. Give a
1911         default value of "unknown".
1912
1913         (generateFileList):
1914         Handle all the new modification types. Abort on conflicted, missing, and unknown. Log
1915         for untracked, which matches our old behavior.
1916
1917 2017-07-17  Charlie Turner  <cturner@igalia.com>
1918
1919         Add some missing build dependencies on Fedora
1920         https://bugs.webkit.org/show_bug.cgi?id=174578
1921
1922         Unreviewed dependency update.
1923
1924         * gtk/install-dependencies:
1925
1926 2017-07-16  Brady Eidson  <beidson@apple.com>
1927
1928         Crash when a WKHTTPCookieStore outlives its owning WKWebsiteDataStore.
1929         <rdar://problem/33341730> and https://bugs.webkit.org/show_bug.cgi?id=174574
1930
1931         Reviewed by Tim Horton.
1932
1933         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
1934         (-[CookieNavigationDelegate webView:didFinishNavigation:]):
1935         (TEST):
1936
1937 2017-07-16  Bernhard M. Wiedemann  <bwiedemann@suse.de>
1938
1939         [GTK] Sort inspector GResource manifest to ensure reproducible builds
1940         https://bugs.webkit.org/show_bug.cgi?id=174540
1941
1942         Reviewed by Michael Catanzaro.
1943
1944         * gtk/generate-inspector-gresource-manifest.py:
1945         (get_filenames): sort list of input files
1946
1947 2017-07-15  Brady Eidson  <beidson@apple.com>
1948
1949         Make sure all CFHTTPCookieStorageRefs we create are scheduled.
1950         <rdar://problem/33221110> and https://bugs.webkit.org/show_bug.cgi?id=174513
1951
1952         Reviewed by Tim Horton.
1953
1954         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
1955         (TEST): Make this test more reliable by clearing everything beforehand.
1956
1957 2017-07-15  David Kilzer  <ddkilzer@apple.com>
1958
1959         Make it possible to extend check-webkit-style with Apple-internal checkers
1960         <https://webkit.org/b/174464>
1961         <rdar://problem/25564402>
1962
1963         Reviewed by Darin Adler.
1964
1965         * Scripts/webkitpy/style/checker.py: Import apple_additions.
1966         (_all_categories): Add categories from apple_additions() if it
1967         exists.
1968         (CheckerDispatcher._create_checker): Create python checker
1969         from apple_additions() if it exists.
1970
1971 2017-07-15  Wenson Hsieh  <wenson_hsieh@apple.com>
1972
1973         [iOS WK2] Presenting an action sheet on an image map prevents selection UI from updating
1974         https://bugs.webkit.org/show_bug.cgi?id=174539
1975         <rdar://problem/33307395>
1976
1977         Reviewed by Darin Adler.
1978
1979         Adds a new unit test suite to cover action sheet popover presentation.
1980
1981         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1982         * TestWebKitAPI/Tests/WebKit2Cocoa/image-map.html: Added.
1983         * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: Added.
1984         (-[ActionSheetObserver waitForActionSheetAfterBlock:]):
1985
1986         Runs the given block and waits until the UI process has indicated that it will present an action sheet.
1987
1988         (-[ActionSheetObserver _webView:actionsForElement:defaultActions:]):
1989         (TestWebKitAPI::IPadUserInterfaceSwizzler::IPadUserInterfaceSwizzler):
1990
1991         Helper class to alter the behavior of [[UIDevice currentDevice] userInterfaceIdiom] for testing.
1992
1993         (TestWebKitAPI::IPadUserInterfaceSwizzler::padUserInterfaceIdiom):
1994         (TestWebKitAPI::TEST):
1995
1996 2017-07-15  Sam Weinig  <sam@webkit.org>
1997
1998         [Scripts] Make svn-create-patch work better when called in sub directories
1999         https://bugs.webkit.org/show_bug.cgi?id=174551
2000
2001         Reviewed by Darin Adler.
2002
2003         - Fixes manufacturePatchForAdditionWithHistory to use the correct path
2004           by ensuring that the prefix is applied as is done in generateDiff.
2005         - Silence output of explanatory lines from svn stat (" > move to ...")
2006           that show up in STDERR when running svn-create-patch.
2007         - Add verbose logging that I found useful while debugging this issue.
2008
2009         * Scripts/svn-create-patch:
2010         (findBaseUrl):
2011         (findMimeType):
2012         (findSourceFileAndRevision):
2013         (generateDiff):
2014         (generateFileList):
2015         (manufacturePatchForAdditionWithHistory):
2016
2017 2017-07-15  Jonathan Bedard  <jbedard@apple.com>
2018
2019         Unreviewed build fix after r219537.
2020
2021         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2022
2023 2017-07-14  Jonathan Bedard  <jbedard@apple.com>
2024
2025         Add iOS 11 SPI
2026         https://bugs.webkit.org/show_bug.cgi?id=174430
2027         <rdar://problem/33269288>
2028
2029         Reviewed by Tim Horton.
2030
2031         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm: Define drag-and-drop API required for testing.
2032         * TestWebKitAPI/ios/DataInteractionSimulator.h: Ditto.
2033         * TestWebKitAPI/ios/DataInteractionSimulator.mm: Ditto.
2034
2035 2017-07-14  Jonathan Bedard  <jbedard@apple.com>
2036
2037         Failing to install on iPad simulators
2038         https://bugs.webkit.org/show_bug.cgi?id=174532
2039         <rdar://problem/33328347>
2040
2041         Reviewed by Stephanie Lewis.
2042
2043         * Scripts/webkitpy/xcode/simulated_device.py:
2044         (SimulatedDevice.install_app): Place install command in retry try-except block.
2045
2046 2017-07-14  Jeff Miller  <jeffm@apple.com>
2047
2048         Add test for -[WKProcessPool _setObjectsForBundleParametersWithDictionary:].
2049         https://bugs.webkit.org/show_bug.cgi?id=174524
2050
2051         Reviewed by Sam Weinig.
2052
2053         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParameters.mm:
2054         (TEST):
2055         Renamed TestParameter to TestParameter1.
2056         Add test for -[WKProcessPool _setObjectsForBundleParametersWithDictionary:].
2057
2058         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleParametersPlugIn.mm:
2059         (-[BundleParametersPlugIn webProcessPlugIn:didCreateBrowserContextController:]):
2060         Observe changes for two bundle parameters.
2061
2062         (-[BundleParametersPlugIn dealloc]):
2063         Remove observers for two bundle parameters.
2064
2065 2017-07-14  Commit Queue  <commit-queue@webkit.org>
2066
2067         Unreviewed, rolling out r219510.
2068         https://bugs.webkit.org/show_bug.cgi?id=174525
2069
2070         Need to revert length() == 0 check for null string (Requested
2071         by yusukesuzuki on #webkit).
2072
2073         Reverted changeset:
2074
2075         "[WTF] Newly added AtomicStringImpl should use BufferInternal
2076         static string if StringImpl is static"
2077         https://bugs.webkit.org/show_bug.cgi?id=174501
2078         http://trac.webkit.org/changeset/219510
2079
2080 2017-07-14  Jer Noble  <jer.noble@apple.com>
2081
2082         [MSE] Removing samples when presentation order does not match decode order can cause bad behavior.
2083         https://bugs.webkit.org/show_bug.cgi?id=174514
2084
2085         Reviewed by Sam Weinig.
2086
2087         * TestWebKitAPI/Tests/WebCore/SampleMap.cpp:
2088         (TestWebKitAPI::TEST_F):
2089
2090 2017-07-14  Yusuke Suzuki  <utatane.tea@gmail.com>
2091
2092         [WTF] Newly added AtomicStringImpl should use BufferInternal static string if StringImpl is static
2093         https://bugs.webkit.org/show_bug.cgi?id=174501
2094
2095         Reviewed by Darin Adler.
2096
2097         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2098         (TestWebKitAPI::TEST):
2099
2100 2017-07-14  Jonathan Bedard  <jbedard@apple.com>
2101
2102         Bring mac expectations in-line with other platforms
2103         https://bugs.webkit.org/show_bug.cgi?id=174472
2104         <rdar://problem/33297388>
2105
2106         Reviewed by David Kilzer.
2107
2108         The override order for Mac test expectations does not conform to the pattern used by iOS,
2109         GTK, Windows and WPE. Before this change, El Capitan's baseline search path looks like this:
2110
2111             platform/mac-wk2
2112             platform/wk2
2113             platform/mac-elcapitan
2114             platform/mac-sierra
2115             generic
2116
2117         After this change, El Capitan's baseline search path looks like this:
2118
2119             platform/mac-sierra-wk2
2120             platform/mac-sierra
2121             platform/mac-wk2
2122             platform/wk2
2123             generic
2124
2125         * Scripts/webkitpy/port/mac.py:
2126         (MacPort.__init__): If a specific version is specified in the port name, use that
2127         as the os version.
2128         (MacPort.default_baseline_search_path): Expectation search paths should work the
2129         same way they do on other ports. Port + version overrides port, port overrides generic
2130         and wk1/wk2 should override expectations for the two combined.
2131         * Scripts/webkitpy/port/mac_unittest.py:
2132         (MacTest.test_tests_for_other_platforms): Deleted.
2133         (MacTest._assert_search_path): Deleted.
2134         (MacTest.test_baseline_search_path): Deleted.
2135         * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
2136         (TestRebaselineTest.test_baseline_directory): Adjust expectations for new over-ride order.
2137         (test_rebaseline_test_and_print_scm_changes): Ditto.
2138         (test_rebaseline_and_copy_test): Ditto.
2139         (test_rebaseline_and_copy_test_no_existing_result): Ditto.
2140         (test_rebaseline_and_copy_test_with_lion_result): Ditto.
2141         (test_rebaseline_and_copy_no_overwrite_test): Ditto.
2142
2143 2017-07-13  Michael Catanzaro  <mcatanzaro@igalia.com>
2144
2145         Fix style checker unit test
2146
2147         Unreviewed WebKit2 => WebKit fixup.
2148
2149         * Scripts/webkitpy/style/checker_unittest.py:
2150         (CheckerDispatcherSkipTest.test_should_skip_with_warning):
2151
2152 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
2153
2154         Use the old WebKit/WebKit2 targets for CMake builds. (v2)
2155
2156         Unreviewed build fix.
2157
2158         r219492 missed one hunk from its partial revert of r219489.
2159         This patch reverts that hunk.
2160
2161         * TestWebKitAPI/CMakeLists.txt:
2162
2163 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
2164
2165         Use the old WebKit/WebKit2 targets for CMake builds.
2166
2167         Unreviewed build fix.
2168
2169         We can update the target names to match the Framework names in a future patch.
2170         This is a partial revert of r219489.
2171
2172         * TestWebKitAPI/CMakeLists.txt:
2173         WebKitLegacy => WebKit
2174         WebKit => WebKit2
2175
2176 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
2177
2178         Fix TestWebKit API.
2179         https://bugs.webkit.org/show_bug.cgi?id=174164
2180         rdar://problem/33137595
2181
2182         Reviewed by Dan Bernstein.
2183
2184         * TestWebKitAPI/CMakeLists.txt:
2185         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2186         * TestWebKitAPI/PlatformGTK.cmake:
2187
2188 2017-07-13  Matthew Hanson  <matthew_hanson@apple.com>
2189
2190         Update tools and configurations after renaming Source/WebKit2 to Source/WebKit.
2191         https://bugs.webkit.org/show_bug.cgi?id=174164
2192         rdar://problem/33137595
2193
2194         Reviewed by Dan Bernstein.
2195
2196         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
2197         (ShouldBuildTest):
2198         * DumpRenderTree/mac/Configurations/Base.xcconfig:
2199         * Scripts/build-webkit:
2200         * Scripts/do-file-rename:
2201         * Scripts/do-webcore-rename:
2202         * Scripts/update-webkit-localizable-strings:
2203         * Scripts/webkitpy/common/config/watchlist:
2204         * Scripts/webkitpy/style/checker.py:
2205         * Scripts/webkitpy/style/checkers/featuredefines.py:
2206         * gtk/make-dist.py:
2207         (ensure_version_if_possible):
2208         * gtk/manifest.txt.in:
2209
2210 2017-07-05  Matthew Hanson  <matthew_hanson@apple.com>
2211
2212         Update tools and configurations after renaming Source/WebKit to Source/WebKitLegacy.
2213         https://bugs.webkit.org/show_bug.cgi?id=174162
2214         rdar://problem/33137594
2215
2216         Reviewed by Dan Bernstein.
2217
2218         Mass rename of Source/WebKit to Source/WebKitLegacy in OpenSource tooling.
2219
2220         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
2221         * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h:
2222         * EWSTools/configure-clang-linux.sh:
2223         * Scripts/build-webkit:
2224         * Scripts/do-file-rename:
2225         * Scripts/do-webcore-rename:
2226         * Scripts/update-webkit-localizable-strings:
2227         * Scripts/webkitpy/common/checkout/checkout_unittest.py:
2228         * Scripts/webkitpy/style/checkers/changelog_unittest.py:
2229         * Scripts/webkitpy/style/checkers/featuredefines.py:
2230         * gtk/manifest.txt.in:
2231
2232 2017-07-13  Jonathan Bedard  <jbedard@apple.com>
2233
2234         Add script to rebase patches during the WebKit2->WebKit/WebKit->WebKitLegacy transition
2235         https://bugs.webkit.org/show_bug.cgi?id=174438
2236         <rdar://problem/33277112>
2237
2238         Reviewed by Aakash Jain.
2239
2240         Given a patch, this will convert the changes from the path to the new directory structure.
2241
2242         * Scripts/rebase-patch-after-webkit-move: Added.
2243         (append_source): Append 'Source' to the provided path.
2244         (is_editable_line): Return true if a line the script expects to modify.
2245         (needs_rebase): Return if a line needs to be rebased based on it's content.
2246         (rebase_line): Rebase the provided line.
2247         (rebase): Rebase a patch given the lines of that patch and a file to output the rebased patch to.
2248         (parse_arguments): Parse the command line arguments and return the patches to be rebased, if they
2249         were provided.
2250
2251 2017-07-12  Nan Wang  <n_wang@apple.com>
2252
2253         AX: [iOS] Implement a way to retrieve a text marker range with desired text that is closest to a position
2254         https://bugs.webkit.org/show_bug.cgi?id=174393
2255         <rdar://problem/33248006>
2256
2257         Reviewed by Chris Fleizach.
2258
2259         * DumpRenderTree/AccessibilityUIElement.cpp:
2260         (textMarkerRangeMatchesTextNearMarkersCallback):
2261         (AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2262         (AccessibilityUIElement::getJSClass):
2263         * DumpRenderTree/AccessibilityUIElement.h:
2264         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2265         (AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2266         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2267         (WTR::AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2268         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2269         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2270         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2271         (WTR::AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2272
2273 2017-07-12  Matt Lewis  <jlewis3@apple.com>
2274
2275         Unreviewed, rolling out r219409.
2276
2277         The revision caused the Windows builds to fail.
2278
2279         Reverted changeset:
2280
2281         "AX: [iOS] Implement a way to retrieve a text marker range
2282         with desired text that is closest to a position"
2283         https://bugs.webkit.org/show_bug.cgi?id=174393
2284         http://trac.webkit.org/changeset/219409
2285
2286 2017-07-12  Nan Wang  <n_wang@apple.com>
2287
2288         AX: [iOS] Implement a way to retrieve a text marker range with desired text that is closest to a position
2289         https://bugs.webkit.org/show_bug.cgi?id=174393
2290         <rdar://problem/33248006>
2291
2292         Reviewed by Chris Fleizach.
2293
2294         * DumpRenderTree/AccessibilityUIElement.cpp:
2295         (textMarkerRangeMatchesTextNearMarkersCallback):
2296         (AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2297         (AccessibilityUIElement::getJSClass):
2298         * DumpRenderTree/AccessibilityUIElement.h:
2299         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
2300         (AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2301         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2302         (WTR::AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2303         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2304         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2305         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
2306         (WTR::AccessibilityUIElement::textMarkerRangeMatchesTextNearMarkers):
2307
2308 2017-07-12  Emilio Cobos Álvarez  <ecobos@igalia.com>
2309
2310         Make prepare-ChangeLog -g <commit> generate a more standard ChangeLog entry.
2311         https://bugs.webkit.org/show_bug.cgi?id=174197
2312
2313         Reviewed by Darin Adler.
2314
2315         This bit me the first time I tried to submit a patch to WebKit, and still I have
2316         to manually edit the ChangeLog every time I use the script.
2317
2318         This generates a more convenient and standard ChangeLog entry.
2319
2320         * Scripts/prepare-ChangeLog:
2321         (generateNewChangeLogs):
2322
2323 2017-07-12  Matt Lewis  <jlewis3@apple.com>
2324
2325         Unreviewed, rolling out r219401.
2326
2327         This revision rolled out the previous patch, but after talking
2328         with reviewer, a rebaseline is what was needed.Rolling back in
2329         before rebaseline.
2330
2331         Reverted changeset:
2332
2333         "Unreviewed, rolling out r219379."
2334         https://bugs.webkit.org/show_bug.cgi?id=174400
2335         http://trac.webkit.org/changeset/219401
2336
2337 2017-07-12  Matt Lewis  <jlewis3@apple.com>
2338
2339         Unreviewed, rolling out r219379.
2340
2341         This revision caused a consistent failure in the test
2342         fast/dom/Window/property-access-on-cached-window-after-frame-
2343         removed.html.
2344
2345         Reverted changeset:
2346
2347         "Remove NAVIGATOR_HWCONCURRENCY"
2348         https://bugs.webkit.org/show_bug.cgi?id=174400
2349         http://trac.webkit.org/changeset/219379
2350
2351 2017-07-12  Zan Dobersek  <zdobersek@igalia.com>
2352
2353         [WPE] Use libepoxy
2354         https://bugs.webkit.org/show_bug.cgi?id=172104
2355
2356         Reviewed by Michael Catanzaro.
2357
2358         * WebKitTestRunner/wpe/HeadlessViewBackend.h:
2359         Include the <epoxy/egl.h> header, dropping the EGL and GLES2 inclusions.
2360
2361 2017-07-12  Zan Dobersek  <zdobersek@igalia.com>
2362
2363         [GTK][WPE] Align Jhbuild patches for GStreamer packages
2364         https://bugs.webkit.org/show_bug.cgi?id=174363
2365
2366         Reviewed by Michael Catanzaro.
2367
2368         Align the patches we apply over Jhbuild-managed GStreamer dependency packages
2369         between the GTK+ and WPE port. There's no reason for the two ports to apply
2370         different patches over same versions of GStreamer releases.
2371
2372         This aligns the two ports on this specific issue. Next we'll look into
2373         creating a single GStreamer-specific Jhbuild moduleset that will allow us
2374         to keep these patches in a single place, avoiding duplicate files.
2375
2376         * gtk/jhbuild.modules:
2377         * gtk/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch: Added.
2378         * gtk/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch: Renamed from Tools/gtk/patches/gst-plugins-good-0004-qtdemux-add-context-for-a-preferred-protection.patch.
2379         * gtk/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch: Added.
2380         * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Removed.
2381
2382 2017-07-11  Dean Jackson  <dino@apple.com>
2383
2384         Remove NAVIGATOR_HWCONCURRENCY
2385         https://bugs.webkit.org/show_bug.cgi?id=174400
2386
2387         Reviewed by Sam Weinig.
2388
2389         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2390
2391 2017-07-11  Ansh Shukla  <ansh_shukla@apple.com>
2392
2393         WKWindowFeatures needs to expose scrollbar, fullscreen, and dialog configuration properties
2394         https://bugs.webkit.org/show_bug.cgi?id=174239
2395
2396         Reviewed by Brady Eidson.
2397
2398         Create windows with specific features set and make sure those are properly reflected in the
2399         WKWindowFeatures object.
2400
2401         * TestWebKitAPI/Tests/WebKit2Cocoa/OpenAndCloseWindow.mm:
2402         (resetToConsistentState):
2403         (-[CheckWindowFeaturesUIDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
2404         (TEST):
2405
2406 2017-07-11  Jonathan Bedard  <jbedard@apple.com>
2407
2408         Do not duplicate files when deleting directories with svn 1.9
2409         https://bugs.webkit.org/show_bug.cgi?id=174339
2410         <rdar://problem/33226781>
2411
2412         Reviewed by David Kilzer.
2413
2414         * Scripts/svn-create-patch:
2415         (diffOptionsForFile): No longer pass -N option, since this does not work in SVN 1.9.4.
2416         (generateFileList): Determine which files are deleted because they are part of a
2417         directory being deleted.
2418
2419 2017-07-11  Dean Jackson  <dino@apple.com>
2420
2421         Rolling out r219372.
2422
2423         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2424
2425 2017-07-11  Dean Jackson  <dino@apple.com>
2426
2427         Remove NAVIGATOR_HWCONCURRENCY
2428         https://bugs.webkit.org/show_bug.cgi?id=174400
2429
2430         Reviewed by Sam Weinig.
2431
2432         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2433
2434 2017-07-11  Lucas Forschler  <lforschler@apple.com>
2435
2436         Teach build workers to fetch archives from S3.
2437         https://bugs.webkit.org/show_bug.cgi?id=174384
2438
2439         Reviewed by Aakash Jain.
2440
2441         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2442         (DownloadBuiltProduct):
2443
2444 2017-07-11  Lucas Forschler  <lforschler@apple.com>
2445
2446         Configure buildbot to transfer all archives to S3.
2447         Previously this was Mac only, but it's time to expand!
2448         https://bugs.webkit.org/show_bug.cgi?id=174378
2449         
2450         Reviewed by Aakash Jain.
2451
2452         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2453         (BuildFactory.__init__):
2454
2455 2017-07-11  Zan Dobersek  <zdobersek@igalia.com>
2456
2457         [WPE] Bump GStreamer packages in jhbuild.modules to 1.10.5
2458         https://bugs.webkit.org/show_bug.cgi?id=174350
2459
2460         Reviewed by Xabier Rodriguez-Calvar.
2461
2462         Bump the various GStreamer dependencies listed in WPE's Jhbuild modules file
2463         to the 1.10.5 version. One gstreamer patch is added. The two gst-plugins-bad
2464         patches are removed. The patches for gst-plugins-good are updated, removing
2465         the stale ones and adding the additional changes to qtdemux, souphttpsrc and
2466         rtpbin elements that will help with the EMEv3 development.
2467
2468         * wpe/jhbuild.modules:
2469         * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Removed.
2470         * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Removed.
2471         * wpe/patches/gst-plugins-good-0003-rtpbin-receive-bundle-support.patch: Added.
2472         * wpe/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch: Added.
2473         * wpe/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch: Added.
2474         * wpe/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch: Added.
2475         * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Removed.
2476         * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Removed.
2477         * wpe/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch: Added.
2478
2479 2017-07-10  John Wilander  <wilander@apple.com>
2480
2481         Resource Load Statistics: Prune statistics in orders of importance
2482         https://bugs.webkit.org/show_bug.cgi?id=174215
2483         <rdar://problem/33164403>
2484
2485         Reviewed by Chris Dumez.
2486
2487         Nest infrastructure. Adds these functions:
2488         1. testRunner.setStatisticsLastSeen()
2489         2. setStatisticsMaxStatisticsEntries()
2490         3. setStatisticsPruneEntriesDownTo()
2491
2492         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2493         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2494         (WTR::TestRunner::setStatisticsLastSeen):
2495         (WTR::TestRunner::setStatisticsMaxStatisticsEntries):
2496         (WTR::TestRunner::setStatisticsPruneEntriesDownTo):
2497         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2498         * WebKitTestRunner/TestController.cpp:
2499         (WTR::TestController::setStatisticsLastSeen):
2500         (WTR::TestController::setMaxStatisticsEntries):
2501         (WTR::TestController::setPruneEntriesDownTo):
2502         * WebKitTestRunner/TestController.h:
2503         * WebKitTestRunner/TestInvocation.cpp:
2504         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2505         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2506         (WTR::TestController::setStatisticsLastSeen):
2507         (WTR::TestController::setStatisticsMaxStatisticsEntries):
2508         (WTR::TestController::setStatisticsPruneEntriesDownTo):
2509
2510 2017-07-03  Brian Burg  <bburg@apple.com>
2511
2512         Web Replay: remove some unused code
2513         https://bugs.webkit.org/show_bug.cgi?id=173903
2514
2515         Rubber-stamped by Joseph Pecoraro.
2516
2517         * Scripts/run-input-generator-tests: Removed.
2518         * Scripts/webkitpy/replay/__init__.py: Removed.
2519         * Scripts/webkitpy/replay/main.py: Removed.
2520
2521 2017-07-10  Zan Dobersek  <zdobersek@igalia.com>
2522
2523         [WPE] Fix layout test baseline and TestExpectations hierarchy
2524         https://bugs.webkit.org/show_bug.cgi?id=174092
2525
2526         Reviewed by Michael Catanzaro.
2527
2528         Like for the GTK+ port, override the default_baseline_search_path() and
2529         _port_specific_expectations_files() methods in the webkitpy.port.WPEPort class.
2530         Both methods operate on a short list of search paths that defaults to 'wpe' and
2531         'wk2', along with any other user-specified platform directory.
2532
2533         The test_expectations_file_position() method is overridden for testing purposes,
2534         and relevant unit tests are added.
2535
2536         * Scripts/webkitpy/port/wpe.py:
2537         (WPEPort._search_paths):
2538         (WPEPort):
2539         (WPEPort.default_baseline_search_path):
2540         (WPEPort._port_specific_expectations_files):
2541         (WPEPort.test_expectations_file_position):
2542         * Scripts/webkitpy/port/wpe_unittest.py:
2543         (WPEPortTest.test_default_baseline_search_path):
2544         (WPEPortTest):
2545         (WPEPortTest.test_port_specific_expectations_files):
2546
2547 2017-07-10  Chris Dumez  <cdumez@apple.com>
2548
2549         Further WebResourceLoadStatisticsStore / ResourceLoadStatisticsStore clean up
2550         https://bugs.webkit.org/show_bug.cgi?id=174301
2551
2552         Reviewed by Brent Fulgham.
2553
2554         Rename some of the testRunner API for clarity and to better match what it calls
2555         internally.
2556
2557         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2558         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2559         (WTR::TestRunner::statisticsUpdateCookiePartitioning):
2560         (WTR::TestRunner::statisticsSetShouldPartitionCookiesForHost):
2561         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2562         * WebKitTestRunner/TestController.cpp:
2563         (WTR::TestController::statisticsUpdateCookiePartitioning):
2564         (WTR::TestController::statisticsSetShouldPartitionCookiesForHost):
2565         * WebKitTestRunner/TestController.h:
2566         * WebKitTestRunner/TestInvocation.cpp:
2567         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2568         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2569         (WTR::TestController::statisticsUpdateCookiePartitioning):
2570         (WTR::TestController::statisticsSetShouldPartitionCookiesForHost):
2571
2572 2017-07-10  Charlie Turner  <cturner@igalia.com>
2573
2574         [GStreamer] Live twitch.tv videos do not play
2575         https://bugs.webkit.org/show_bug.cgi?id=174222
2576
2577         Reviewed by Michael Catanzaro.
2578
2579         Upgrade GStreamer to 1.10.5. It contains a change to typefind that
2580         fixes videos not playing on twitch.tv.
2581
2582         * gtk/jhbuild.modules:
2583
2584 2017-07-09  Zan Dobersek  <zdobersek@igalia.com>
2585
2586         Add WebGL2 configuration option to build-webkit
2587         https://bugs.webkit.org/show_bug.cgi?id=174251
2588
2589         Reviewed by Michael Catanzaro.
2590
2591         * Scripts/webkitperl/FeatureList.pm: Add the 'webgl2' option, making it possible
2592         to enable the ENABLE_WEBGL2 flag through the build-webkit script. The feature
2593         is marked as enabled for the Apple Cocoa ports.
2594
2595 2017-07-08  Chris Dumez  <cdumez@apple.com>
2596
2597         Simplify WebResourceLoadStatisticsStore / ResourceLoadStatisticsStore
2598         https://bugs.webkit.org/show_bug.cgi?id=174290
2599
2600         Reviewed by Brent Fulgham.
2601
2602         Rename testRunner API to match the new internal API names.
2603
2604         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2605         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2606         (WTR::TestRunner::statisticsProcessStatisticsAndDataRecords):
2607         (WTR::TestRunner::statisticsSubmitTelemetry):
2608         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2609         * WebKitTestRunner/TestController.cpp:
2610         (WTR::TestController::statisticsProcessStatisticsAndDataRecords):
2611         (WTR::TestController::statisticsSubmitTelemetry):
2612         * WebKitTestRunner/TestController.h:
2613         * WebKitTestRunner/TestInvocation.cpp:
2614         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2615         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2616         (WTR::TestController::statisticsProcessStatisticsAndDataRecords):
2617         (WTR::TestController::statisticsSubmitTelemetry):
2618
2619 2017-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
2620
2621         Drop NOSNIFF compile flag
2622         https://bugs.webkit.org/show_bug.cgi?id=174289
2623
2624         Reviewed by Michael Catanzaro.
2625
2626         * Scripts/webkitperl/FeatureList.pm:
2627         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2628
2629 2017-07-07  Wenson Hsieh  <wenson_hsieh@apple.com>
2630
2631         [iOS DnD] For cross-app drags, 'drop' event handlers are never invoked if dataTransfer.dropEffect is not set while dragging
2632         https://bugs.webkit.org/show_bug.cgi?id=174219
2633         <rdar://problem/32083177>
2634
2635         Reviewed by Ryosuke Niwa.
2636
2637         Add plumbing and support to mock the value of -allowsMoveOperation on the simulated UIDragDropSession objects.
2638         Setting the DataInteractionSimulator's shouldAllowMoveOperation property to NO simulates a drag operation coming
2639         in from another app out-of-process, for which move operations won't cause a drop to be performed in the first
2640         place.
2641
2642         Also tweaks 2 existing unit tests regarding file uploads via JavaScript to simulate items coming in from a
2643         different application, and adds a new test to check that if a drop area specifically requests a MOVE operation,
2644         no action is taken when dropping.
2645
2646         * TestWebKitAPI/Tests/WebKit2Cocoa/file-uploading.html:
2647         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2648         (TestWebKitAPI::TEST):
2649         * TestWebKitAPI/ios/DataInteractionSimulator.h:
2650         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2651         (-[MockDragDropSession initWithItems:location:window:allowMove:]):
2652         (-[MockDragDropSession allowsMoveOperation]):
2653         (-[MockDataOperationSession initWithProviders:location:window:allowMove:]):
2654         (-[MockDataInteractionSession initWithWindow:allowMove:]):
2655         (-[DataInteractionSimulator initWithWebView:]):
2656         (-[DataInteractionSimulator runFrom:to:]):
2657         (-[DataInteractionSimulator _advanceProgress]):
2658         (-[MockDragDropSession initWithItems:location:window:]): Deleted.
2659         (-[MockDataOperationSession initWithProviders:location:window:]): Deleted.
2660         (-[MockDataInteractionSession initWithWindow:]): Deleted.
2661
2662 2017-07-07  Commit Queue  <commit-queue@webkit.org>
2663
2664         Unreviewed, rolling out r219238, r219239, and r219241.
2665         https://bugs.webkit.org/show_bug.cgi?id=174265
2666
2667         "fast/workers/dedicated-worker-lifecycle.html is flaky"
2668         (Requested by yusukesuzuki on #webkit).
2669
2670         Reverted changesets:
2671
2672         "[WTF] Implement WTF::ThreadGroup"
2673         https://bugs.webkit.org/show_bug.cgi?id=174081
2674         http://trac.webkit.org/changeset/219238
2675
2676         "Unreviewed, build fix after r219238"
2677         https://bugs.webkit.org/show_bug.cgi?id=174081
2678         http://trac.webkit.org/changeset/219239
2679
2680         "Unreviewed, CLoop build fix after r219238"
2681         https://bugs.webkit.org/show_bug.cgi?id=174081
2682         http://trac.webkit.org/changeset/219241
2683
2684 2017-07-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2685
2686         [GTK][WPE] Enable X-Content-Type-Options: nosniff
2687         https://bugs.webkit.org/show_bug.cgi?id=174250
2688
2689         Reviewed by Carlos Alberto Lopez Perez.
2690
2691         * Scripts/webkitperl/FeatureList.pm:
2692
2693 2017-07-07  Charlie Turner  <cturner@igalia.com>
2694         [GStreamer] vid.me videos do not play
2695         https://bugs.webkit.org/show_bug.cgi?id=172240
2696
2697         Reviewed by Xabier Rodriguez-Calvar.
2698
2699         Build httpsoupsrc again for use in adaptive streaming pipelines, and
2700         have the existing libsoup build against GNOME to avoid header drift
2701         against GStreamer's linked Soup library.
2702
2703         * gtk/jhbuild.modules:
2704
2705 2017-07-06  Lucas Forschler  <lforschler@apple.com>
2706
2707         Write a support script to enable buildbot to upload to S3
2708         https://bugs.webkit.org/show_bug.cgi?id=174196
2709         
2710         Reviewed by Stephanie Lewis.
2711
2712         * BuildSlaveSupport/build.webkit.org-config/transfer-archive-to-s3: Added.
2713         (uploadToS3):
2714         (archiveExists):
2715
2716 2017-07-06  Lucas Forschler  <lforschler@apple.com>
2717
2718         Enabling uploading archives to S3.
2719         https://bugs.webkit.org/show_bug.cgi?id=174198
2720         
2721         Reviewed by Stephanie Lewis.
2722
2723         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2724         (ArchiveMinifiedBuiltProduct): Create a minified archive from a full archive
2725         (UploadMinifiedBuiltProduct): Upload minified archive to build master
2726         (TransferToS3): Transfer full and minified archives to S3
2727
2728 2017-07-05  Yusuke Suzuki  <utatane.tea@gmail.com>
2729
2730         [WTF] Implement WTF::ThreadGroup
2731         https://bugs.webkit.org/show_bug.cgi?id=174081
2732
2733         Reviewed by Mark Lam.
2734
2735         Add WTF::ThreadGroup tests.
2736
2737         * TestWebKitAPI/CMakeLists.txt:
2738         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2739         * TestWebKitAPI/Tests/WTF/ThreadGroup.cpp: Added.
2740         (TestWebKitAPI::TEST):
2741
2742 2017-07-06  Yusuke Suzuki  <utatane.tea@gmail.com>
2743
2744         [WTF] Clean up StringStatics.cpp by using LazyNeverDestroyed<> for Atoms
2745         https://bugs.webkit.org/show_bug.cgi?id=174150
2746
2747         Reviewed by Mark Lam.
2748
2749         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
2750         (TestWebKitAPI::TEST):
2751         * TestWebKitAPI/TestsController.cpp:
2752         (TestWebKitAPI::TestsController::TestsController):
2753
2754 2017-07-06  Lucas Forschler  <lforschler@apple.com>
2755
2756         Enabling uploading archives to S3.
2757         https://bugs.webkit.org/show_bug.cgi?id=174198
2758         
2759         Reviewed by Lucas Forschler.
2760
2761         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
2762         (ArchiveMinifiedBuiltProduct): Create a minified archive from a full archive
2763         (UploadMinifiedBuiltProduct): Upload minified archive to build master
2764         (TransferToS3): Transfer full and minified archives to S3
2765
2766 2017-07-06  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2767
2768         [GTK][WPE] kill-old-process should kill more webkit related process
2769         https://bugs.webkit.org/show_bug.cgi?id=174220
2770
2771         Reviewed by Michael Catanzaro.
2772
2773         Generate list of possible webkit-related process names and add
2774         them to the list of process to kill.
2775         Also update the possible system related process for GTK+/WPE.
2776
2777         * BuildSlaveSupport/kill-old-processes:
2778         (listAllWebKitPrograms):
2779         (main):
2780
2781 2017-07-06  Chris Dumez  <cdumez@apple.com>
2782
2783         FileMonitor should not be ref counted
2784         https://bugs.webkit.org/show_bug.cgi?id=174166
2785
2786         Reviewed by Brent Fulgham.
2787
2788         Update the API tests to reflect the API change.
2789
2790         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp:
2791         (TestWebKitAPI::TEST_F):
2792
2793 2017-07-06  Commit Queue  <commit-queue@webkit.org>
2794
2795         Unreviewed, rolling out r219194.
2796         https://bugs.webkit.org/show_bug.cgi?id=174207
2797
2798         it broke some layout tests (Requested by clopez on #webkit).
2799
2800         Reverted changeset:
2801
2802         "[GStreamer] vid.me videos do not play"
2803         https://bugs.webkit.org/show_bug.cgi?id=172240
2804         http://trac.webkit.org/changeset/219194
2805
2806 2017-07-06  Matt Lewis  <jlewis3@apple.com>
2807
2808         Unreviewed, rolling out r219178.
2809
2810         This caused a consistent failure with the API test
2811         StringBuilderTest.ToAtomicStringOnEmpty on all Debug testers.
2812
2813         Reverted changeset:
2814
2815         "[WTF] Clean up StringStatics.cpp by using
2816         LazyNeverDestroyed<> for Atoms"
2817         https://bugs.webkit.org/show_bug.cgi?id=174150
2818         http://trac.webkit.org/changeset/219178
2819
2820 2017-07-06  Alicia Boya García  <aboya@igalia.com>
2821
2822         Add CWD to Perl library path (no longer the default since 5.26.0)
2823         https://bugs.webkit.org/show_bug.cgi?id=174200
2824
2825         Reviewed by Michael Catanzaro.
2826
2827         * Scripts/webkitpy/tool/commands/setupgitclone.py:
2828         (SetupGitClone._get_username_and_email):
2829
2830 2017-07-06  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2831
2832         Unreviewed, update my email address.
2833
2834         * Scripts/webkitpy/common/config/contributors.json:
2835
2836 2017-07-06  Charlie Turner  <cturner@igalia.com>
2837         [GStreamer] vid.me videos do not play
2838         https://bugs.webkit.org/show_bug.cgi?id=172240
2839
2840         Reviewed by Xabier Rodriguez-Calvar.
2841
2842         Build httpsoupsrc again for use in adaptive streaming pipelines, and
2843         have the existing libsoup build against GNOME to avoid header drift
2844         against GStreamer's linked Soup library.
2845
2846         * gtk/jhbuild.modules:
2847
2848 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
2849
2850         [WTF] Move SoftLinking.h into WTF
2851         https://bugs.webkit.org/show_bug.cgi?id=174000
2852
2853         Reviewed by Alex Christensen.
2854
2855         * DumpRenderTree/mac/TestRunnerMac.mm:
2856         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
2857         (test_primary_header):
2858         (ErrorCollector.__init__): Deleted.
2859         (ErrorCollector.__call__): Deleted.
2860         (ErrorCollector.results): Deleted.
2861         (ErrorCollector.result_list): Deleted.
2862         (ErrorCollector.verify_all_categories_are_seen): Deleted.
2863         (MockIo.open): Deleted.
2864         (CppFunctionsTest.test_convert_to_lower_with_underscores): Deleted.
2865         (CppFunctionsTest.test_create_acronym): Deleted.
2866         (CppFunctionsTest.test_is_c_or_objective_c): Deleted.
2867         (CppFunctionsTest.test_parameter): Deleted.
2868         (CppFunctionsTest.test_single_line_view): Deleted.
2869         (CppFunctionsTest.test_create_skeleton_parameters): Deleted.
2870         (CppFunctionsTest.test_find_parameter_name_index): Deleted.
2871         (CppFunctionsTest.test_parameter_list): Deleted.
2872         (CppFunctionsTest.test_check_parameter_against_text): Deleted.
2873         (CppStyleTestBase.process_file_data): Deleted.
2874         (CppStyleTestBase.perform_lint): Deleted.
2875         (CppStyleTestBase.perform_single_line_lint): Deleted.
2876         (CppStyleTestBase.perform_multi_line_lint): Deleted.
2877         (CppStyleTestBase.perform_language_rules_check): Deleted.
2878         (CppStyleTestBase.perform_function_lengths_check): Deleted.
2879         (CppStyleTestBase.perform_pass_ptr_check): Deleted.
2880         (CppStyleTestBase.perform_leaky_pattern_check): Deleted.
2881         (CppStyleTestBase.perform_include_what_you_use): Deleted.
2882         (CppStyleTestBase.perform_header_guard_check): Deleted.
2883         (CppStyleTestBase.assert_lint): Deleted.
2884         (CppStyleTestBase.assert_lint_one_of_many_errors_re): Deleted.
2885         (CppStyleTestBase.assert_multi_line_lint): Deleted.
2886         (CppStyleTestBase.assert_multi_line_lint_re): Deleted.
2887         (CppStyleTestBase.assert_language_rules_check): Deleted.
2888         (CppStyleTestBase.assert_include_what_you_use): Deleted.
2889         (CppStyleTestBase.assert_header_guard): Deleted.
2890         (CppStyleTestBase.assert_blank_lines_check): Deleted.
2891         (CppStyleTestBase.assert_positions_equal): Deleted.
2892         (FunctionDetectionTest.test_basic_function_detection): Deleted.
2893         (FunctionDetectionTest.test_function_declaration_detection): Deleted.
2894         (FunctionDetectionTest.test_pure_function_detection): Deleted.
2895         (FunctionDetectionTest.test_override_and_final_function_detection): Deleted.
2896         (FunctionDetectionTest.test_ignore_macros): Deleted.
2897         (FunctionDetectionTest.test_non_functions): Deleted.
2898         (FunctionDetectionTest.test_non_functions.Stuff): Deleted.
2899         (FunctionDetectionTest.test_parameter_list): Deleted.
2900         (Cpp11StyleTest.test_rvaule_reference_in_parameter_pack): Deleted.
2901         (CppStyleTest.test_asm_lines_ignored): Deleted.
2902         (CppStyleTest.test_get_line_width): Deleted.
2903         (CppStyleTest.test_find_next_multi_line_comment_start): Deleted.
2904         (CppStyleTest.test_find_next_multi_line_comment_end): Deleted.
2905         (CppStyleTest.test_remove_multi_line_comments_from_range): Deleted.
2906         (CppStyleTest.test_position): Deleted.
2907         (CppStyleTest.test_rfind_in_lines): Deleted.
2908         (CppStyleTest.test_close_expression): Deleted.
2909         (CppStyleTest.test_spaces_at_end_of_line): Deleted.
2910         (CppStyleTest.test_cstyle_cast): Deleted.
2911         (CppStyleTest.test_runtime_casting): Deleted.
2912         (CppStyleTest.test_runtime_selfinit): Deleted.
2913         (CppStyleTest.test_runtime_rtti): Deleted.
2914         (CppStyleTest.test_static_cast_readability): Deleted.
2915         (CppStyleTest.test_check_for_unnamed_params): Deleted.
2916         (CppStyleTest.void): Deleted.
2917         (CppStyleTest.test_deprecated_cast): Deleted.
2918         (CppStyleTest.test_mock_method): Deleted.
2919         (CppStyleTest.test_sizeof_type): Deleted.
2920         (CppStyleTest.cases): Deleted.
2921         (CppStyleTest.for): Deleted.
2922         (CppStyleTest.test_typedef_for_pointer_to_function): Deleted.
2923         (CppStyleTest.test_typedef_for_pointer_to_function.void): Deleted.
2924         (CppStyleTest.test_include_what_you_use_no_implementation_files): Deleted.
2925         (CppStyleTest.test_include_what_you_use): Deleted.
2926         (CppStyleTest.test_files_belong_to_same_module): Deleted.
2927         (CppStyleTest.test_cleanse_line): Deleted.
2928         (CppStyleTest.test_multi_line_comments): Deleted.
2929         (CppStyleTest.test_multi_line_comments.Foo): Deleted.
2930         (CppStyleTest.test_multiline_strings): Deleted.
2931         (CppStyleTest.test_platformh_comments): Deleted.
2932         (CppStyleTest.test_explicit_single_argument_constructors): Deleted.
2933         (CppStyleTest.test_explicit_single_argument_constructors.Foo): Deleted.
2934         (CppStyleTest.test_explicit_single_argument_constructors.Qualifier): Deleted.
2935         (CppStyleTest.test_explicit_single_argument_constructors.definition): Deleted.
2936         (CppStyleTest.test_slash_star_comment_on_single_line): Deleted.
2937         (CppStyleTest.test_suspicious_usage_of_if): Deleted.
2938         (CppStyleTest.test_suspicious_usage_of_memset): Deleted.
2939         (CppStyleTest.test_check_posix_threading): Deleted.
2940         (CppStyleTest.test_insecure_string_operations): Deleted.
2941         (CppStyleTest.test_format_strings): Deleted.
2942         (CppStyleTest.test_insecure_temp_file): Deleted.
2943         (CppStyleTest.test_variable_length_array_detection): Deleted.
2944         (CppStyleTest.test_braces): Deleted.
2945         (CppStyleTest.test_check_check): Deleted.
2946         (CppStyleTest.test_brace_at_begin_of_line): Deleted.
2947         (CppStyleTest.test_mismatching_spaces_in_parens): Deleted.
2948         (CppStyleTest.test_spacing_for_fncall): Deleted.
2949         (CppStyleTest.test_spacing_for_fncall.foo): Deleted.
2950         (CppStyleTest.test_spacing_before_braces): Deleted.
2951         (CppStyleTest.test_spacing_between_braces): Deleted.
2952         (CppStyleTest.test_spacing_before_brackets): Deleted.
2953         (CppStyleTest.test_cpp_lambda_functions): Deleted.
2954         (CppStyleTest.test_objective_c_block): Deleted.
2955         (CppStyleTest.test_objective_c_block_as_argument): Deleted.
2956         (CppStyleTest.test_spacing_around_else): Deleted.
2957         (CppStyleTest.test_spacing_for_binary_ops): Deleted.
2958         (CppStyleTest.test_spacing_for_binary_ops.hash_map): Deleted.
2959         (CppStyleTest.test_operator_methods): Deleted.
2960         (CppStyleTest.test_spacing_in_objective_c_properties): Deleted.
2961         (CppStyleTest.test_spacing_before_last_semicolon): Deleted.
2962         (CppStyleTest.test_static_or_global_stlstrings): Deleted.
2963         (CppStyleTest.test_no_spaces_in_function_calls): Deleted.
2964         (CppStyleTest.test_one_spaces_between_code_and_comments): Deleted.
2965         (CppStyleTest.test_one_spaces_after_punctuation_in_comments): Deleted.
2966         (CppStyleTest.test_space_after_comment_marker): Deleted.
2967         (CppStyleTest.test_newline_at_eof): Deleted.
2968         (CppStyleTest.test_newline_at_eof.do_test): Deleted.
2969         (CppStyleTest.test_extra_newlines_at_eof): Deleted.
2970         (CppStyleTest.test_extra_newlines_at_eof.do_test): Deleted.
2971         (CppStyleTest.test_invalid_utf8): Deleted.
2972         (CppStyleTest.test_invalid_utf8.do_test): Deleted.
2973         (CppStyleTest.test_is_blank_line): Deleted.
2974         (CppStyleTest.test_blank_lines_check): Deleted.
2975         (CppStyleTest.test_allow_blank_line_before_closing_namespace): Deleted.
2976         (CppStyleTest.test_allow_blank_line_before_if_else_chain): Deleted.
2977         (CppStyleTest.test_else_on_same_line_as_closing_braces): Deleted.
2978         (CppStyleTest.test_else_clause_not_on_same_line_as_else): Deleted.
2979         (CppStyleTest.test_comma): Deleted.
2980         (CppStyleTest.test_declaration): Deleted.
2981         (CppStyleTest.test_pointer_reference_marker_location): Deleted.
2982         (CppStyleTest.test_indent): Deleted.
2983         (CppStyleTest.test_indent.Foo): Deleted.
2984         (CppStyleTest.test_not_alabel): Deleted.
2985         (CppStyleTest.test_tab): Deleted.
2986         (CppStyleTest.test_unnamed_namespaces_in_headers): Deleted.
2987         (CppStyleTest.test_build_class): Deleted.
2988         (CppStyleTest.test_build_class.definitions): Deleted.
2989         (CppStyleTest.test_build_class.Foo): Deleted.
2990         (CppStyleTest.test_build_class.DERIVE_FROM_GOO): Deleted.
2991         (CppStyleTest.test_build_end_comment): Deleted.
2992         (CppStyleTest.test_build_forward_decl): Deleted.
2993         (CppStyleTest.test_build_forward_decl.Foo): Deleted.
2994         (CppStyleTest.test_build_header_guard): Deleted.
2995         (CppStyleTest.test_build_header_guard.Foo_h): Deleted.
2996         (CppStyleTest.test_build_header_guard.Foo_h.for): Deleted.
2997         (CppStyleTest.test_build_printf_format): Deleted.
2998         (CppStyleTest.test_runtime_printf_format): Deleted.
2999         (CppStyleTest.assert_lintLogCodeOnError): Deleted.
3000         (CppStyleTest.test_build_storage_class): Deleted.
3001         (CppStyleTest.test_build_storage_class.unsignedLongLong): Deleted.
3002         (CppStyleTest.test_build_storage_class.declaration): Deleted.
3003         (CppStyleTest.test_build_storage_class.after): Deleted.
3004         (CppStyleTest.test_build_storage_class.is): Deleted.
3005         (CppStyleTest.test_legal_copyright): Deleted.
3006         (CppStyleTest.test_invalid_increment): Deleted.
3007         (CppStyleTest.test_enum_bitfields): Deleted.
3008         (CppStyleTest.test_plain_integral_bitfields): Deleted.
3009         (CleansedLinesTest.test_init_empty): Deleted.
3010         (CleansedLinesTest.test_collapse_strings): Deleted.
3011         (OrderOfIncludesTest.tearDown): Deleted.
3012         (OrderOfIncludesTest.test_check_next_include_order__no_config): Deleted.
3013         (OrderOfIncludesTest.test_check_next_include_order__no_self): Deleted.
3014         (OrderOfIncludesTest.test_check_next_include_order__likely_then_config): Deleted.
3015         (OrderOfIncludesTest.test_check_next_include_order__other_then_config): Deleted.
3016         (OrderOfIncludesTest.test_check_next_include_order__config_then_other_then_likely): Deleted.
3017         (OrderOfIncludesTest.test_check_alphabetical_include_order): Deleted.
3018         (OrderOfIncludesTest.test_check_alphabetical_include_order_errors_reported_for_both_lines): Deleted.
3019         (OrderOfIncludesTest.test_check_line_break_after_own_header): Deleted.
3020         (OrderOfIncludesTest.test_check_line_break_before_own_header): Deleted.
3021         (OrderOfIncludesTest.test_check_preprocessor_in_include_section): Deleted.
3022         (OrderOfIncludesTest.test_check_preprocessor_in_include_section.BAZ): Deleted.
3023         (OrderOfIncludesTest.test_check_preprocessor_in_include_section.FOOBAR): Deleted.
3024         (OrderOfIncludesTest.test_primary_header): Deleted.
3025         (OrderOfIncludesTest.test_public_primary_header): Deleted.
3026         (OrderOfIncludesTest.test_check_wtf_includes): Deleted.
3027         (OrderOfIncludesTest.test_classify_include): Deleted.
3028         (OrderOfIncludesTest.test_try_drop_common_suffixes): Deleted.
3029         (CheckForFunctionLengthsTest.tearDown): Deleted.
3030         (CheckForFunctionLengthsTest.set_min_confidence): Deleted.
3031         (CheckForFunctionLengthsTest.assert_function_lengths_check): Deleted.
3032         (CheckForFunctionLengthsTest.trigger_lines): Deleted.
3033         (CheckForFunctionLengthsTest.trigger_test_lines): Deleted.
3034         (CheckForFunctionLengthsTest.assert_function_length_check_definition): Deleted.
3035         (CheckForFunctionLengthsTest.assert_function_length_check_definition_ok): Deleted.
3036         (CheckForFunctionLengthsTest.assert_function_length_check_at_error_level): Deleted.
3037         (CheckForFunctionLengthsTest.assert_function_length_check_below_error_level): Deleted.
3038         (CheckForFunctionLengthsTest.assert_function_length_check_above_error_level): Deleted.
3039         (CheckForFunctionLengthsTest.function_body): Deleted.
3040         (CheckForFunctionLengthsTest.function_body_with_blank_lines): Deleted.
3041         (CheckForFunctionLengthsTest.function_body_with_no_lints): Deleted.
3042         (CheckForFunctionLengthsTest.test_function_length_check_declaration): Deleted.
3043         (CheckForFunctionLengthsTest.test_function_length_check_declaration_with_block_following): Deleted.
3044         (CheckForFunctionLengthsTest.test_function_length_check_class_definition): Deleted.
3045         (CheckForFunctionLengthsTest.test_function_length_check_class_definition.Test): Deleted.
3046         (CheckForFunctionLengthsTest.test_function_length_check_trivial): Deleted.
3047         (CheckForFunctionLengthsTest.test_function_length_check_empty): Deleted.
3048         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity0): Deleted.
3049         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity0): Deleted.
3050         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity0): Deleted.
3051         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity1v0): Deleted.
3052         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity1v0): Deleted.
3053         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity1): Deleted.
3054         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity1): Deleted.
3055         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity1): Deleted.
3056         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_plus_indented): Deleted.
3057         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_plus_blanks): Deleted.
3058         (CheckForFunctionLengthsTest.test_function_length_check_complex_definition_severity1): Deleted.
3059         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_test): Deleted.
3060         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_split_line_test): Deleted.
3061         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Deleted.
3062         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_with_embedded_no_lints): Deleted.
3063         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_with_no_lint): Deleted.
3064         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity2): Deleted.
3065         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity2): Deleted.
3066         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity2): Deleted.
3067         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity3): Deleted.
3068         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity3): Deleted.
3069         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity3): Deleted.
3070         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity4): Deleted.
3071         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity4): Deleted.
3072         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity4): Deleted.
3073         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity5): Deleted.
3074         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity5): Deleted.
3075         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity5): Deleted.
3076         (CheckForFunctionLengthsTest.test_function_length_check_definition_huge_lines): Deleted.
3077         (CheckForFunctionLengthsTest.test_function_length_not_determinable): Deleted.
3078         (NoNonVirtualDestructorsTest.test_no_error): Deleted.
3079         (NoNonVirtualDestructorsTest.test_no_error.Foo): Deleted.
3080         (NoNonVirtualDestructorsTest.test_no_error.MyClass): Deleted.
3081         (NoNonVirtualDestructorsTest.test_no_error.Qualified): Deleted.
3082         (NoNonVirtualDestructorsTest.test_no_destructor_when_virtual_needed): Deleted.
3083         (NoNonVirtualDestructorsTest.test_no_destructor_when_virtual_needed.Foo): Deleted.
3084         (NoNonVirtualDestructorsTest.test_enum_casing): Deleted.
3085         (NoNonVirtualDestructorsTest.test_enum_casing.Foo): Deleted.
3086         (NoNonVirtualDestructorsTest.test_enum_casing.Enum123): Deleted.
3087         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon): Deleted.
3088         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon.CPP11EnumClass): Deleted.
3089         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon.MyEnum): Deleted.
3090         (NoNonVirtualDestructorsTest.test_destructor_non_virtual_when_virtual_needed): Deleted.
3091         (NoNonVirtualDestructorsTest.test_destructor_non_virtual_when_virtual_needed.Foo): Deleted.
3092         (NoNonVirtualDestructorsTest.test_no_warn_when_derived): Deleted.
3093         (NoNonVirtualDestructorsTest.test_no_warn_when_derived.Foo): Deleted.
3094         (NoNonVirtualDestructorsTest.test_internal_braces): Deleted.
3095         (NoNonVirtualDestructorsTest.test_internal_braces.Foo): Deleted.
3096         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor): Deleted.
3097         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Foo): Deleted.
3098         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Foo.Goo): Deleted.
3099         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Goo): Deleted.
3100         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor): Deleted.
3101         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor.Foo): Deleted.
3102         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor.Foo.Goo): Deleted.
3103         (NoNonVirtualDestructorsTest.test_qualified_class_needs_virtual_destructor): Deleted.
3104         (NoNonVirtualDestructorsTest.test_qualified_class_needs_virtual_destructor.Qualified): Deleted.
3105         (NoNonVirtualDestructorsTest.test_multi_line_declaration_no_error): Deleted.
3106         (NoNonVirtualDestructorsTest.test_multi_line_declaration_no_error.Foo): Deleted.
3107         (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error): Deleted.
3108         (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error.Foo): Deleted.
3109         (LeakyPatternTest.assert_leaky_pattern_check): Deleted.
3110         (LeakyPatternTest.test_get_dc): Deleted.
3111         (LeakyPatternTest.test_get_dc.HWndDC): Deleted.
3112         (LeakyPatternTest.test_own_get_dc): Deleted.
3113         (LeakyPatternTest.test_create_dc): Deleted.
3114         (LeakyPatternTest.test_create_compatible_dc): Deleted.
3115         (WebKitStyleTest.test_indentation): Deleted.
3116         (WebKitStyleTest.test_indentation.Foo): Deleted.
3117         (WebKitStyleTest.test_indentation.Document): Deleted.
3118         (WebKitStyleTest.test_spacing): Deleted.
3119         (WebKitStyleTest.test_line_breaking): Deleted.
3120         (WebKitStyleTest.test_braces): Deleted.
3121         (WebKitStyleTest.test_braces.MyClass): Deleted.
3122         (WebKitStyleTest.test_braces.NS_ENUM): Deleted.
3123         (WebKitStyleTest.test_braces.CPP11EnumClass): Deleted.
3124         (WebKitStyleTest.test_braces.SOMETHING): Deleted.
3125         (WebKitStyleTest.test_null_false_zero): Deleted.
3126         (WebKitStyleTest.test_directive_indentation): Deleted.
3127         (WebKitStyleTest.test_using_std): Deleted.
3128         (WebKitStyleTest.test_using_namespace): Deleted.
3129         (WebKitStyleTest.test_max_macro): Deleted.
3130         (WebKitStyleTest.test_min_macro): Deleted.
3131         (WebKitStyleTest.test_wtf_move): Deleted.
3132         (WebKitStyleTest.test_ctype_fucntion): Deleted.
3133         (WebKitStyleTest.test_names): Deleted.
3134         (WebKitStyleTest.test_names.HTMLDocument): Deleted.
3135         (WebKitStyleTest.test_names.WebWindowFadeAnimation): Deleted.
3136         (WebKitStyleTest.test_names.declarations): Deleted.
3137         (WebKitStyleTest.test_names.struct): Deleted.
3138         (WebKitStyleTest.test_names.VectorType): Deleted.
3139         (WebKitStyleTest.test_parameter_names): Deleted.
3140         (WebKitStyleTest.test_comments): Deleted.
3141         (WebKitStyleTest.test_webkit_export_check): Deleted.
3142         (WebKitStyleTest.test_member_initialization_list): Deleted.
3143         (WebKitStyleTest.test_member_initialization_list.MyClass): Deleted.
3144         (WebKitStyleTest.test_other): Deleted.
3145         (CppCheckerTest.mock_handle_style_error): Deleted.
3146         (CppCheckerTest._checker): Deleted.
3147         (CppCheckerTest.test_init): Deleted.
3148         (CppCheckerTest.test_eq): Deleted.
3149         (CppCheckerTest.test_eq.mock_handle_style_error2): Deleted.
3150         (CppCheckerTest.test_ne): Deleted.
3151         * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:
3152         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
3153         * TestWebKitAPI/cocoa/TestWKWebView.mm:
3154         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
3155         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
3156         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3157
3158 2017-07-05  Saam Barati  <sbarati@apple.com>
3159
3160         NewArray in FTLLowerDFGToB3 does not handle speculating on doubles when having a bad time
3161         https://bugs.webkit.org/show_bug.cgi?id=174188
3162         <rdar://problem/30581423>
3163
3164         Reviewed by Mark Lam.
3165
3166         * Scripts/run-jsc-stress-tests:
3167
3168 2017-07-05  Yusuke Suzuki  <utatane.tea@gmail.com>
3169
3170         [WTF] Clean up StringStatics.cpp by using LazyNeverDestroyed<> for Atoms
3171         https://bugs.webkit.org/show_bug.cgi?id=174150
3172
3173         Reviewed by Mark Lam.
3174
3175         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
3176         (TestWebKitAPI::TEST):
3177
3178 2017-07-03  Myles C. Maxfield  <mmaxfield@apple.com>
3179
3180         Remove copy of ICU headers from WebKit
3181         https://bugs.webkit.org/show_bug.cgi?id=116407
3182
3183         Reviewed by Alex Christensen.
3184
3185         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3186         * TestWebKitAPI/Configurations/Base.xcconfig:
3187         * WebKitTestRunner/Configurations/Base.xcconfig:
3188
3189 2017-07-05  Chris Dumez  <cdumez@apple.com>
3190
3191         Regression(r218821): Bad cast to WebKit::DiagnosticLoggingClient in WKWebView's _setDiagnosticLoggingDelegate
3192         https://bugs.webkit.org/show_bug.cgi?id=174163
3193         <rdar://problem/33067518>
3194
3195         Reviewed by Alex Christensen.
3196
3197         Add API test coverage.
3198
3199         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3200         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDiagnosticLogging.mm: Added.
3201         (TEST):
3202
3203 2017-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
3204
3205         When dragging a selection, clearing the selection in dragstart should not crash the web process
3206         https://bugs.webkit.org/show_bug.cgi?id=174142
3207         <rdar://problem/33067501>
3208
3209         Reviewed by Tim Horton.
3210
3211         Adds a unit test checking that the web process does not crash when the selection is cleared while a selection
3212         drag is starting up.
3213
3214         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3215         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-clear-selection.html: Added.
3216         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3217         (TestWebKitAPI::TEST):
3218
3219 2017-07-05  Daniel Bates  <dabates@apple.com>
3220
3221         Do not pass API::FrameInfo for source frame or clear out page of target frame on
3222         API navigation
3223         https://bugs.webkit.org/show_bug.cgi?id=174170
3224         <rdar://problem/33140328>
3225
3226         Reviewed by Brady Eidson.
3227
3228         Update tests as needed for the behavior change.
3229
3230         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm:
3231         (TEST):
3232
3233 2017-07-05  Jonathan Bedard  <jbedard@apple.com>
3234
3235         Add WebKitPrivateFrameworkStubs for iOS 11
3236         https://bugs.webkit.org/show_bug.cgi?id=173988
3237
3238         Reviewed by David Kilzer.
3239
3240         * DumpRenderTree/mac/Configurations/Base.xcconfig: iphoneos and iphonesimulator
3241         should use the same directory for private framework stubs.
3242         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
3243
3244 2017-07-05  Eric Carlson  <eric.carlson@apple.com>
3245
3246         [MediaStream] Protect request and web view during gUM client callback
3247         https://bugs.webkit.org/show_bug.cgi?id=174096
3248         <rdar://problem/32833102>
3249
3250         Reviewed by Youenn Fablet.
3251
3252         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3253         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: New test.
3254
3255 2017-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
3256
3257         Unreviewed, guard iOS 11-dependent UIPasteboardTests to be iOS 11+ only
3258
3259         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
3260
3261 2017-07-05  Matt Lewis  <jlewis3@apple.com>
3262
3263         Unreviewed, rolling out r219128.
3264
3265         Spoke with engineer who originally submitted, Patch for APi
3266         test to follow.
3267
3268         Reverted changeset:
3269
3270         "Unreviewed, rolling out r219070."
3271         https://bugs.webkit.org/show_bug.cgi?id=174082
3272         http://trac.webkit.org/changeset/219128
3273
3274 2017-07-05  Matt Lewis  <jlewis3@apple.com>
3275
3276         Unreviewed, rolling out r219070.
3277
3278         This revision caused consistent failures of the API test
3279         UIPasteboardTests.DoNotPastePlainTextAsURL on iOS.
3280
3281         Reverted changeset:
3282
3283         "Pasting single words copied to UIPasteboard inserts URLs in
3284         editable areas"
3285         https://bugs.webkit.org/show_bug.cgi?id=174082
3286         http://trac.webkit.org/changeset/219070
3287
3288 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
3289
3290         Remove unused EFL logo from bot watcher dashboard
3291         https://bugs.webkit.org/show_bug.cgi?id=174136
3292
3293         Reviewed by Alexey Proskuryakov.
3294
3295         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/EFL.png: Removed.
3296         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/EFL@2x.png: Removed.
3297
3298 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
3299
3300         [GTK] Add more GTK bots to dashboard
3301         https://bugs.webkit.org/show_bug.cgi?id=174129
3302
3303         Reviewed by Carlos Alberto Lopez Perez.
3304
3305         We have a bunch of GTK bots that I never look at because they're not on the dashboard. Add
3306         them.
3307
3308         This also changes the sort order to put WPE above GTK so that it's not buried under all the
3309         less-essential GTK bots.
3310
3311         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3312         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3313         (WebKitBuildbot):
3314
3315 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
3316
3317         [WPE] Add WPE to bot watcher dashboard
3318         https://bugs.webkit.org/show_bug.cgi?id=174119
3319
3320         Reviewed by Alexey Proskuryakov.
3321
3322         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/CREDIT: Added.
3323         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WPE.png: Added.
3324         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WPE@2x.png: Added.
3325         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3326         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3327         (WebKitBuildbot):
3328         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3329         (table.queue-grid tr.platform.linux-wpe img.logo):
3330
3331 2017-07-03  Lucas Forschler  <lforschler@apple.com>
3332
3333         https://bugs.webkit.org/show_bug.cgi?id=174105
3334         
3335         Reviewed by Stephanie Lewis.
3336
3337         * BuildSlaveSupport/built-product-archive:
3338         (main): Add a -minify parser option
3339         (createZip): Pass along the optional Minify argument if requested
3340         (minifySource): This will trim down archives, logic limited to Mac platform.
3341
3342 2017-07-03  Matt Rajca  <mrajca@apple.com>
3343
3344         Add/remove appropriate media element behavior restrictions when updateWebsitePolicies is called
3345         https://bugs.webkit.org/show_bug.cgi?id=174103
3346
3347         Reviewed by Alex Christensen.
3348
3349         Added an API test.
3350
3351         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Expose a pause method.
3352         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
3353         (TEST): Added test.
3354         * TestWebKitAPI/cocoa/TestWKWebView.h:
3355         * TestWebKitAPI/cocoa/TestWKWebView.mm:
3356         (-[TestWKWebView stringByEvaluatingJavaScript:]): Don't simulate a user gesture when invoking the script.
3357
3358 2017-07-03  Matt Lewis  <jlewis3@apple.com>
3359
3360         Unreviewed, rolling out r219103.
3361
3362         Caused multiple build failures.
3363
3364         Reverted changeset:
3365
3366         "Remove copy of ICU headers from WebKit"
3367         https://bugs.webkit.org/show_bug.cgi?id=116407
3368         http://trac.webkit.org/changeset/219103
3369
3370 2017-07-03  Myles C. Maxfield  <mmaxfield@apple.com>
3371
3372         Remove copy of ICU headers from WebKit
3373         https://bugs.webkit.org/show_bug.cgi?id=116407
3374
3375         Reviewed by Alex Christensen.
3376
3377         Use WTF's copy of ICU headers.
3378
3379         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3380         * TestWebKitAPI/Configurations/Base.xcconfig:
3381         * WebKitTestRunner/Configurations/Base.xcconfig:
3382
3383 2017-07-03  Brady Eidson  <beidson@apple.com>
3384
3385         Switch all WebKit API related to favicons from WebIconDatabase over to new WebCore::IconLoader mechanism.
3386         https://bugs.webkit.org/show_bug.cgi?id=174073
3387
3388         Reviewed by Andy Estes.
3389
3390         * DumpRenderTree/mac/TestRunnerMac.mm:
3391         (TestRunner::setIconDatabaseEnabled): Call new SPI for this setting instead of WebIconDatabase stuff.
3392
3393         * TestWebKitAPI/Tests/mac/WebViewIconLoading.mm:
3394         (-[MainFrameIconKVO observeValueForKeyPath:ofObject:change:context:]):
3395
3396 2017-07-03  Matt Lewis  <jlewis3@apple.com>
3397
3398         Unreviewed, rolling out r219083.
3399
3400         The revision caused an API failure on all testing platforms.
3401
3402         Reverted changeset:
3403
3404         "[MediaStream] Protect request and web view during gUM client
3405         callback"
3406         https://bugs.webkit.org/show_bug.cgi?id=174096
3407         http://trac.webkit.org/changeset/219083
3408
3409 2017-07-03  Jonathan Bedard  <jbedard@apple.com>
3410
3411         webkitpy: Properly number duplicated crashlogs
3412         https://bugs.webkit.org/show_bug.cgi?id=172002
3413
3414         Reviewed by Aakash Jain.
3415
3416         * Scripts/webkitpy/common/system/crashlogs.py:
3417         (CrashLogs._find_all_logs_darwin): Number multiple crash logs for a single process with
3418         an increasing integer.
3419         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
3420         (CrashLogsTest.create_crash_logs_darwin): Create duplicated crashlog for testing.
3421         (CrashLogsTest.test_find_all_log_darwin): Now 7 Darwin logs instead of 5.
3422         (CrashLogsTest.test_duplicate_log_darwin): Test that duplicated logs are correctly numbered.
3423
3424 2017-07-03  Ryosuke Niwa  <rniwa@webkit.org>
3425
3426         WebContent processes crash when the network process crashes with pending connection requests
3427         https://bugs.webkit.org/show_bug.cgi?id=174065
3428         <rdar://problem/30359835>
3429
3430         Reviewed by Tim Horton.
3431
3432         Add a API to ensure UI process tries to relaunch a new network process when the network process
3433         crashes with pending network connection requests.
3434
3435         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3436         * TestWebKitAPI/Tests/WebKit2/NetworkProcessCrashWithPendingConnection.mm: Added.
3437         * TestWebKitAPI/cocoa/TestNavigationDelegate.h:
3438         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm:
3439         (-[TestNavigationDelegate webViewWebContentProcessDidTerminate:]): Added.
3440
3441 2017-07-03  Eric Carlson  <eric.carlson@apple.com>
3442
3443         [MediaStream] Protect request and web view during gUM client callback
3444         https://bugs.webkit.org/show_bug.cgi?id=174096
3445         <rdar://problem/32833102>
3446
3447         Reviewed by Youenn Fablet.
3448
3449         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3450         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: New test.
3451
3452 2017-07-03  Andy Estes  <aestes@apple.com>
3453
3454         [Xcode] Add an experimental setting to build with ccache
3455         https://bugs.webkit.org/show_bug.cgi?id=173875
3456
3457         Reviewed by Tim Horton.
3458
3459         On systems that already have ccache(1) installed, this patch adds experimental support for
3460         it to Xcode builds. It can be enabled with the WK_USE_CCACHE build setting.
3461
3462         When ccache is enabled, CC is overridden to invoke Tools/ccache/ccache-clang. This script
3463         finds the "-isysroot" argument to determine the active SDK, uses xcrun(1) and the SDK to
3464         find the toolchain from which to run clang, and then invokes ccache with the required
3465         arguments.
3466
3467         ccache is invoked with CCACHE_SLOPPINESS="pch_defines,time_macros", which is required for
3468         precompiled headers to work properly [1].
3469
3470         LDPLUSPLUS is overridden to invoke Tools/ccache/ccache-clang++. It behaves the same as
3471         ccache-clang, except it tells ccache to execute clang++ instead of clang. This is important
3472         during linking.
3473         
3474         [1] https://ccache.samba.org/manual.html#_precompiled_headers
3475
3476         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
3477         * MiniBrowser/Configurations/DebugRelease.xcconfig: Ditto.
3478         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig: Ditto.
3479         * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Ditto.
3480         * WebKitTestRunner/Configurations/DebugRelease.xcconfig: Ditto.
3481         * ccache/README.md: Added.
3482         * ccache/ccache-clang: Added.
3483         * ccache/ccache-clang++: Added.
3484         * ccache/ccache.xcconfig: Added. Overrides CC and LDPLUSPLUS when WK_USE_CACHE=YES.
3485
3486 2017-07-03  Alex Christensen  <achristensen@webkit.org>
3487
3488         REGRESSION(r215096) Queries of URLs with non-special schemes should not percent-encode single quotes
3489         https://bugs.webkit.org/show_bug.cgi?id=174051
3490
3491         Reviewed by Tim Horton.
3492
3493         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
3494         (TestWebKitAPI::TEST_F):
3495
3496 2017-07-03  Matt Lewis  <jlewis3@apple.com>
3497
3498         Unreviewed, rolling out r219024.
3499
3500         This patch cause 3 didferent test to fail.
3501
3502         Reverted changeset:
3503
3504         "REGRESSION(r215096) Queries of URLs with non-special schemes
3505         should not percent-encode single quotes"
3506         https://bugs.webkit.org/show_bug.cgi?id=174051
3507         http://trac.webkit.org/changeset/219024
3508
3509 2017-07-03  Chris Dumez  <cdumez@apple.com>
3510
3511         Drop ResourceLoadStatisticsStore's statisticsLock
3512         https://bugs.webkit.org/show_bug.cgi?id=174080
3513
3514         Reviewed by Brent Fulgham.
3515
3516         Port WebKitTestRunner to new Asynchronous Cocoa SPI.
3517
3518         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3519         (WTR::TestController::isStatisticsPrevalentResource):
3520         (WTR::TestController::isStatisticsHasHadUserInteraction):
3521         (WTR::TestController::isStatisticsGrandfathered):
3522
3523 2017-07-03  Wenson Hsieh  <wenson_hsieh@apple.com>
3524
3525         Pasting single words copied to UIPasteboard inserts URLs in editable areas
3526         https://bugs.webkit.org/show_bug.cgi?id=174082
3527         <rdar://problem/33046992>
3528
3529         Reviewed by Tim Horton.
3530
3531         Adds 3 new unit tests to UIPasteboardTests to test cases of pasting plain text and URLs.
3532
3533         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
3534         (TestWebKitAPI::setUpWebViewForPasteboardTests):
3535         (TestWebKitAPI::TEST):
3536
3537 2017-07-02  Brady Eidson  <beidson@apple.com>
3538
3539         Add API test for all parts of WebKit1 API related to favicons.
3540         https://bugs.webkit.org/show_bug.cgi?id=174069
3541
3542         Reviewed by Andy Estes.
3543
3544         These two API tests cover all WebKit1 API related to icons.
3545         
3546         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3547         * TestWebKitAPI/Tests/mac/WebViewIconLoading.mm: Added.
3548         (mainResourceData):
3549         (defaultFaviconData):
3550         (customFaviconData):
3551         (imageFromData):
3552         (+[IconLoadingProtocol canInitWithRequest:]):
3553         (+[IconLoadingProtocol canonicalRequestForRequest:]):
3554         (-[IconLoadingProtocol startLoading]):
3555         (-[IconLoadingProtocol stopLoading]):
3556         (-[IconLoadingFrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3557         (-[MainFrameIconKVO observeValueForKeyPath:ofObject:change:context:]):
3558         (TestWebKitAPI::TEST):
3559
3560 2017-07-01  Dan Bernstein  <mitz@apple.com>
3561
3562         [iOS] Remove code only needed when building for iOS 9.x
3563         https://bugs.webkit.org/show_bug.cgi?id=174068
3564
3565         Reviewed by Tim Horton.
3566
3567         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3568         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
3569         (WTR::initializeWebViewConfiguration):
3570         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3571         (-[HIDEventGenerator _createIOHIDEventType:]):
3572
3573 2017-07-01  Brady Eidson  <beidson@apple.com>
3574
3575         When setting a custom cookie storage location on a WKWebsiteDataStore, cookies aren't actually removed.
3576         <rdar://problem/32410662> and https://bugs.webkit.org/show_bug.cgi?id=174035
3577
3578         Reviewed by Alex Christensen.
3579
3580         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
3581
3582 2017-07-01  Dan Bernstein  <mitz@apple.com>
3583
3584         [macOS] Remove code only needed when building for OS X Yosemite
3585         https://bugs.webkit.org/show_bug.cgi?id=174067
3586
3587         Reviewed by Tim Horton.
3588
3589         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3590         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3591         * DumpRenderTree/mac/DumpRenderTree.mm:
3592         (setDefaultsToConsistentValuesForTesting):
3593         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
3594         (-[DumpRenderTreeDraggingInfo resetSpringLoading]):
3595         * MiniBrowser/Configurations/Base.xcconfig:
3596         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3597         * TestWebKitAPI/Configurations/Base.xcconfig:
3598         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3599         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
3600         * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp:
3601         (TestWebKitA