Make prepare-ChangeLog -g <commit> generate a more standard ChangeLog entry.
[WebKit.git] / Tools / ChangeLog
1 2017-07-12  Emilio Cobos Álvarez  <ecobos@igalia.com>
2
3         Make prepare-ChangeLog -g <commit> generate a more standard ChangeLog entry.
4         https://bugs.webkit.org/show_bug.cgi?id=174197
5
6         Reviewed by Darin Adler.
7
8         This bit me the first time I tried to submit a patch to WebKit, and still I have
9         to manually edit the ChangeLog every time I use the script.
10
11         This generates a more convenient and standard ChangeLog entry.
12
13         * Scripts/prepare-ChangeLog:
14         (generateNewChangeLogs):
15
16 2017-07-12  Matt Lewis  <jlewis3@apple.com>
17
18         Unreviewed, rolling out r219401.
19
20         This revision rolled out the previous patch, but after talking
21         with reviewer, a rebaseline is what was needed.Rolling back in
22         before rebaseline.
23
24         Reverted changeset:
25
26         "Unreviewed, rolling out r219379."
27         https://bugs.webkit.org/show_bug.cgi?id=174400
28         http://trac.webkit.org/changeset/219401
29
30 2017-07-12  Matt Lewis  <jlewis3@apple.com>
31
32         Unreviewed, rolling out r219379.
33
34         This revision caused a consistent failure in the test
35         fast/dom/Window/property-access-on-cached-window-after-frame-
36         removed.html.
37
38         Reverted changeset:
39
40         "Remove NAVIGATOR_HWCONCURRENCY"
41         https://bugs.webkit.org/show_bug.cgi?id=174400
42         http://trac.webkit.org/changeset/219379
43
44 2017-07-12  Zan Dobersek  <zdobersek@igalia.com>
45
46         [WPE] Use libepoxy
47         https://bugs.webkit.org/show_bug.cgi?id=172104
48
49         Reviewed by Michael Catanzaro.
50
51         * WebKitTestRunner/wpe/HeadlessViewBackend.h:
52         Include the <epoxy/egl.h> header, dropping the EGL and GLES2 inclusions.
53
54 2017-07-12  Zan Dobersek  <zdobersek@igalia.com>
55
56         [GTK][WPE] Align Jhbuild patches for GStreamer packages
57         https://bugs.webkit.org/show_bug.cgi?id=174363
58
59         Reviewed by Michael Catanzaro.
60
61         Align the patches we apply over Jhbuild-managed GStreamer dependency packages
62         between the GTK+ and WPE port. There's no reason for the two ports to apply
63         different patches over same versions of GStreamer releases.
64
65         This aligns the two ports on this specific issue. Next we'll look into
66         creating a single GStreamer-specific Jhbuild moduleset that will allow us
67         to keep these patches in a single place, avoiding duplicate files.
68
69         * gtk/jhbuild.modules:
70         * gtk/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch: Added.
71         * 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.
72         * gtk/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch: Added.
73         * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Removed.
74
75 2017-07-11  Dean Jackson  <dino@apple.com>
76
77         Remove NAVIGATOR_HWCONCURRENCY
78         https://bugs.webkit.org/show_bug.cgi?id=174400
79
80         Reviewed by Sam Weinig.
81
82         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
83
84 2017-07-11  Ansh Shukla  <ansh_shukla@apple.com>
85
86         WKWindowFeatures needs to expose scrollbar, fullscreen, and dialog configuration properties
87         https://bugs.webkit.org/show_bug.cgi?id=174239
88
89         Reviewed by Brady Eidson.
90
91         Create windows with specific features set and make sure those are properly reflected in the
92         WKWindowFeatures object.
93
94         * TestWebKitAPI/Tests/WebKit2Cocoa/OpenAndCloseWindow.mm:
95         (resetToConsistentState):
96         (-[CheckWindowFeaturesUIDelegate webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
97         (TEST):
98
99 2017-07-11  Jonathan Bedard  <jbedard@apple.com>
100
101         Do not duplicate files when deleting directories with svn 1.9
102         https://bugs.webkit.org/show_bug.cgi?id=174339
103         <rdar://problem/33226781>
104
105         Reviewed by David Kilzer.
106
107         * Scripts/svn-create-patch:
108         (diffOptionsForFile): No longer pass -N option, since this does not work in SVN 1.9.4.
109         (generateFileList): Determine which files are deleted because they are part of a
110         directory being deleted.
111
112 2017-07-11  Dean Jackson  <dino@apple.com>
113
114         Rolling out r219372.
115
116         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
117
118 2017-07-11  Dean Jackson  <dino@apple.com>
119
120         Remove NAVIGATOR_HWCONCURRENCY
121         https://bugs.webkit.org/show_bug.cgi?id=174400
122
123         Reviewed by Sam Weinig.
124
125         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
126
127 2017-07-11  Lucas Forschler  <lforschler@apple.com>
128
129         Teach build workers to fetch archives from S3.
130         https://bugs.webkit.org/show_bug.cgi?id=174384
131
132         Reviewed by Aakash Jain.
133
134         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
135         (DownloadBuiltProduct):
136
137 2017-07-11  Lucas Forschler  <lforschler@apple.com>
138
139         Configure buildbot to transfer all archives to S3.
140         Previously this was Mac only, but it's time to expand!
141         https://bugs.webkit.org/show_bug.cgi?id=174378
142         
143         Reviewed by Aakash Jain.
144
145         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
146         (BuildFactory.__init__):
147
148 2017-07-11  Zan Dobersek  <zdobersek@igalia.com>
149
150         [WPE] Bump GStreamer packages in jhbuild.modules to 1.10.5
151         https://bugs.webkit.org/show_bug.cgi?id=174350
152
153         Reviewed by Xabier Rodriguez-Calvar.
154
155         Bump the various GStreamer dependencies listed in WPE's Jhbuild modules file
156         to the 1.10.5 version. One gstreamer patch is added. The two gst-plugins-bad
157         patches are removed. The patches for gst-plugins-good are updated, removing
158         the stale ones and adding the additional changes to qtdemux, souphttpsrc and
159         rtpbin elements that will help with the EMEv3 development.
160
161         * wpe/jhbuild.modules:
162         * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Removed.
163         * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Removed.
164         * wpe/patches/gst-plugins-good-0003-rtpbin-receive-bundle-support.patch: Added.
165         * wpe/patches/gst-plugins-good-0005-souphttpsrc-cookie-jar-and-context-query-support.patch: Added.
166         * wpe/patches/gst-plugins-good-0006-qtdemux-add-context-for-a-preferred-protection.patch: Added.
167         * wpe/patches/gst-plugins-good-0008-qtdemux-also-push-buffers-without-encryption-info-in.patch: Added.
168         * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Removed.
169         * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Removed.
170         * wpe/patches/gstreamer-0001-protection-added-function-to-filter-system-ids.patch: Added.
171
172 2017-07-10  John Wilander  <wilander@apple.com>
173
174         Resource Load Statistics: Prune statistics in orders of importance
175         https://bugs.webkit.org/show_bug.cgi?id=174215
176         <rdar://problem/33164403>
177
178         Reviewed by Chris Dumez.
179
180         Nest infrastructure. Adds these functions:
181         1. testRunner.setStatisticsLastSeen()
182         2. setStatisticsMaxStatisticsEntries()
183         3. setStatisticsPruneEntriesDownTo()
184
185         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
186         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
187         (WTR::TestRunner::setStatisticsLastSeen):
188         (WTR::TestRunner::setStatisticsMaxStatisticsEntries):
189         (WTR::TestRunner::setStatisticsPruneEntriesDownTo):
190         * WebKitTestRunner/InjectedBundle/TestRunner.h:
191         * WebKitTestRunner/TestController.cpp:
192         (WTR::TestController::setStatisticsLastSeen):
193         (WTR::TestController::setMaxStatisticsEntries):
194         (WTR::TestController::setPruneEntriesDownTo):
195         * WebKitTestRunner/TestController.h:
196         * WebKitTestRunner/TestInvocation.cpp:
197         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
198         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
199         (WTR::TestController::setStatisticsLastSeen):
200         (WTR::TestController::setStatisticsMaxStatisticsEntries):
201         (WTR::TestController::setStatisticsPruneEntriesDownTo):
202
203 2017-07-03  Brian Burg  <bburg@apple.com>
204
205         Web Replay: remove some unused code
206         https://bugs.webkit.org/show_bug.cgi?id=173903
207
208         Rubber-stamped by Joseph Pecoraro.
209
210         * Scripts/run-input-generator-tests: Removed.
211         * Scripts/webkitpy/replay/__init__.py: Removed.
212         * Scripts/webkitpy/replay/main.py: Removed.
213
214 2017-07-10  Zan Dobersek  <zdobersek@igalia.com>
215
216         [WPE] Fix layout test baseline and TestExpectations hierarchy
217         https://bugs.webkit.org/show_bug.cgi?id=174092
218
219         Reviewed by Michael Catanzaro.
220
221         Like for the GTK+ port, override the default_baseline_search_path() and
222         _port_specific_expectations_files() methods in the webkitpy.port.WPEPort class.
223         Both methods operate on a short list of search paths that defaults to 'wpe' and
224         'wk2', along with any other user-specified platform directory.
225
226         The test_expectations_file_position() method is overridden for testing purposes,
227         and relevant unit tests are added.
228
229         * Scripts/webkitpy/port/wpe.py:
230         (WPEPort._search_paths):
231         (WPEPort):
232         (WPEPort.default_baseline_search_path):
233         (WPEPort._port_specific_expectations_files):
234         (WPEPort.test_expectations_file_position):
235         * Scripts/webkitpy/port/wpe_unittest.py:
236         (WPEPortTest.test_default_baseline_search_path):
237         (WPEPortTest):
238         (WPEPortTest.test_port_specific_expectations_files):
239
240 2017-07-10  Chris Dumez  <cdumez@apple.com>
241
242         Further WebResourceLoadStatisticsStore / ResourceLoadStatisticsStore clean up
243         https://bugs.webkit.org/show_bug.cgi?id=174301
244
245         Reviewed by Brent Fulgham.
246
247         Rename some of the testRunner API for clarity and to better match what it calls
248         internally.
249
250         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
251         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
252         (WTR::TestRunner::statisticsUpdateCookiePartitioning):
253         (WTR::TestRunner::statisticsSetShouldPartitionCookiesForHost):
254         * WebKitTestRunner/InjectedBundle/TestRunner.h:
255         * WebKitTestRunner/TestController.cpp:
256         (WTR::TestController::statisticsUpdateCookiePartitioning):
257         (WTR::TestController::statisticsSetShouldPartitionCookiesForHost):
258         * WebKitTestRunner/TestController.h:
259         * WebKitTestRunner/TestInvocation.cpp:
260         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
261         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
262         (WTR::TestController::statisticsUpdateCookiePartitioning):
263         (WTR::TestController::statisticsSetShouldPartitionCookiesForHost):
264
265 2017-07-10  Charlie Turner  <cturner@igalia.com>
266
267         [GStreamer] Live twitch.tv videos do not play
268         https://bugs.webkit.org/show_bug.cgi?id=174222
269
270         Reviewed by Michael Catanzaro.
271
272         Upgrade GStreamer to 1.10.5. It contains a change to typefind that
273         fixes videos not playing on twitch.tv.
274
275         * gtk/jhbuild.modules:
276
277 2017-07-09  Zan Dobersek  <zdobersek@igalia.com>
278
279         Add WebGL2 configuration option to build-webkit
280         https://bugs.webkit.org/show_bug.cgi?id=174251
281
282         Reviewed by Michael Catanzaro.
283
284         * Scripts/webkitperl/FeatureList.pm: Add the 'webgl2' option, making it possible
285         to enable the ENABLE_WEBGL2 flag through the build-webkit script. The feature
286         is marked as enabled for the Apple Cocoa ports.
287
288 2017-07-08  Chris Dumez  <cdumez@apple.com>
289
290         Simplify WebResourceLoadStatisticsStore / ResourceLoadStatisticsStore
291         https://bugs.webkit.org/show_bug.cgi?id=174290
292
293         Reviewed by Brent Fulgham.
294
295         Rename testRunner API to match the new internal API names.
296
297         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
298         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
299         (WTR::TestRunner::statisticsProcessStatisticsAndDataRecords):
300         (WTR::TestRunner::statisticsSubmitTelemetry):
301         * WebKitTestRunner/InjectedBundle/TestRunner.h:
302         * WebKitTestRunner/TestController.cpp:
303         (WTR::TestController::statisticsProcessStatisticsAndDataRecords):
304         (WTR::TestController::statisticsSubmitTelemetry):
305         * WebKitTestRunner/TestController.h:
306         * WebKitTestRunner/TestInvocation.cpp:
307         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
308         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
309         (WTR::TestController::statisticsProcessStatisticsAndDataRecords):
310         (WTR::TestController::statisticsSubmitTelemetry):
311
312 2017-07-08  Yusuke Suzuki  <utatane.tea@gmail.com>
313
314         Drop NOSNIFF compile flag
315         https://bugs.webkit.org/show_bug.cgi?id=174289
316
317         Reviewed by Michael Catanzaro.
318
319         * Scripts/webkitperl/FeatureList.pm:
320         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
321
322 2017-07-07  Wenson Hsieh  <wenson_hsieh@apple.com>
323
324         [iOS DnD] For cross-app drags, 'drop' event handlers are never invoked if dataTransfer.dropEffect is not set while dragging
325         https://bugs.webkit.org/show_bug.cgi?id=174219
326         <rdar://problem/32083177>
327
328         Reviewed by Ryosuke Niwa.
329
330         Add plumbing and support to mock the value of -allowsMoveOperation on the simulated UIDragDropSession objects.
331         Setting the DataInteractionSimulator's shouldAllowMoveOperation property to NO simulates a drag operation coming
332         in from another app out-of-process, for which move operations won't cause a drop to be performed in the first
333         place.
334
335         Also tweaks 2 existing unit tests regarding file uploads via JavaScript to simulate items coming in from a
336         different application, and adds a new test to check that if a drop area specifically requests a MOVE operation,
337         no action is taken when dropping.
338
339         * TestWebKitAPI/Tests/WebKit2Cocoa/file-uploading.html:
340         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
341         (TestWebKitAPI::TEST):
342         * TestWebKitAPI/ios/DataInteractionSimulator.h:
343         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
344         (-[MockDragDropSession initWithItems:location:window:allowMove:]):
345         (-[MockDragDropSession allowsMoveOperation]):
346         (-[MockDataOperationSession initWithProviders:location:window:allowMove:]):
347         (-[MockDataInteractionSession initWithWindow:allowMove:]):
348         (-[DataInteractionSimulator initWithWebView:]):
349         (-[DataInteractionSimulator runFrom:to:]):
350         (-[DataInteractionSimulator _advanceProgress]):
351         (-[MockDragDropSession initWithItems:location:window:]): Deleted.
352         (-[MockDataOperationSession initWithProviders:location:window:]): Deleted.
353         (-[MockDataInteractionSession initWithWindow:]): Deleted.
354
355 2017-07-07  Commit Queue  <commit-queue@webkit.org>
356
357         Unreviewed, rolling out r219238, r219239, and r219241.
358         https://bugs.webkit.org/show_bug.cgi?id=174265
359
360         "fast/workers/dedicated-worker-lifecycle.html is flaky"
361         (Requested by yusukesuzuki on #webkit).
362
363         Reverted changesets:
364
365         "[WTF] Implement WTF::ThreadGroup"
366         https://bugs.webkit.org/show_bug.cgi?id=174081
367         http://trac.webkit.org/changeset/219238
368
369         "Unreviewed, build fix after r219238"
370         https://bugs.webkit.org/show_bug.cgi?id=174081
371         http://trac.webkit.org/changeset/219239
372
373         "Unreviewed, CLoop build fix after r219238"
374         https://bugs.webkit.org/show_bug.cgi?id=174081
375         http://trac.webkit.org/changeset/219241
376
377 2017-07-07  Yusuke Suzuki  <utatane.tea@gmail.com>
378
379         [GTK][WPE] Enable X-Content-Type-Options: nosniff
380         https://bugs.webkit.org/show_bug.cgi?id=174250
381
382         Reviewed by Carlos Alberto Lopez Perez.
383
384         * Scripts/webkitperl/FeatureList.pm:
385
386 2017-07-07  Charlie Turner  <cturner@igalia.com>
387         [GStreamer] vid.me videos do not play
388         https://bugs.webkit.org/show_bug.cgi?id=172240
389
390         Reviewed by Xabier Rodriguez-Calvar.
391
392         Build httpsoupsrc again for use in adaptive streaming pipelines, and
393         have the existing libsoup build against GNOME to avoid header drift
394         against GStreamer's linked Soup library.
395
396         * gtk/jhbuild.modules:
397
398 2017-07-06  Lucas Forschler  <lforschler@apple.com>
399
400         Write a support script to enable buildbot to upload to S3
401         https://bugs.webkit.org/show_bug.cgi?id=174196
402         
403         Reviewed by Stephanie Lewis.
404
405         * BuildSlaveSupport/build.webkit.org-config/transfer-archive-to-s3: Added.
406         (uploadToS3):
407         (archiveExists):
408
409 2017-07-06  Lucas Forschler  <lforschler@apple.com>
410
411         Enabling uploading archives to S3.
412         https://bugs.webkit.org/show_bug.cgi?id=174198
413         
414         Reviewed by Stephanie Lewis.
415
416         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
417         (ArchiveMinifiedBuiltProduct): Create a minified archive from a full archive
418         (UploadMinifiedBuiltProduct): Upload minified archive to build master
419         (TransferToS3): Transfer full and minified archives to S3
420
421 2017-07-05  Yusuke Suzuki  <utatane.tea@gmail.com>
422
423         [WTF] Implement WTF::ThreadGroup
424         https://bugs.webkit.org/show_bug.cgi?id=174081
425
426         Reviewed by Mark Lam.
427
428         Add WTF::ThreadGroup tests.
429
430         * TestWebKitAPI/CMakeLists.txt:
431         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
432         * TestWebKitAPI/Tests/WTF/ThreadGroup.cpp: Added.
433         (TestWebKitAPI::TEST):
434
435 2017-07-06  Yusuke Suzuki  <utatane.tea@gmail.com>
436
437         [WTF] Clean up StringStatics.cpp by using LazyNeverDestroyed<> for Atoms
438         https://bugs.webkit.org/show_bug.cgi?id=174150
439
440         Reviewed by Mark Lam.
441
442         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
443         (TestWebKitAPI::TEST):
444         * TestWebKitAPI/TestsController.cpp:
445         (TestWebKitAPI::TestsController::TestsController):
446
447 2017-07-06  Lucas Forschler  <lforschler@apple.com>
448
449         Enabling uploading archives to S3.
450         https://bugs.webkit.org/show_bug.cgi?id=174198
451         
452         Reviewed by Lucas Forschler.
453
454         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
455         (ArchiveMinifiedBuiltProduct): Create a minified archive from a full archive
456         (UploadMinifiedBuiltProduct): Upload minified archive to build master
457         (TransferToS3): Transfer full and minified archives to S3
458
459 2017-07-06  Carlos Alberto Lopez Perez  <clopez@igalia.com>
460
461         [GTK][WPE] kill-old-process should kill more webkit related process
462         https://bugs.webkit.org/show_bug.cgi?id=174220
463
464         Reviewed by Michael Catanzaro.
465
466         Generate list of possible webkit-related process names and add
467         them to the list of process to kill.
468         Also update the possible system related process for GTK+/WPE.
469
470         * BuildSlaveSupport/kill-old-processes:
471         (listAllWebKitPrograms):
472         (main):
473
474 2017-07-06  Chris Dumez  <cdumez@apple.com>
475
476         FileMonitor should not be ref counted
477         https://bugs.webkit.org/show_bug.cgi?id=174166
478
479         Reviewed by Brent Fulgham.
480
481         Update the API tests to reflect the API change.
482
483         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp:
484         (TestWebKitAPI::TEST_F):
485
486 2017-07-06  Commit Queue  <commit-queue@webkit.org>
487
488         Unreviewed, rolling out r219194.
489         https://bugs.webkit.org/show_bug.cgi?id=174207
490
491         it broke some layout tests (Requested by clopez on #webkit).
492
493         Reverted changeset:
494
495         "[GStreamer] vid.me videos do not play"
496         https://bugs.webkit.org/show_bug.cgi?id=172240
497         http://trac.webkit.org/changeset/219194
498
499 2017-07-06  Matt Lewis  <jlewis3@apple.com>
500
501         Unreviewed, rolling out r219178.
502
503         This caused a consistent failure with the API test
504         StringBuilderTest.ToAtomicStringOnEmpty on all Debug testers.
505
506         Reverted changeset:
507
508         "[WTF] Clean up StringStatics.cpp by using
509         LazyNeverDestroyed<> for Atoms"
510         https://bugs.webkit.org/show_bug.cgi?id=174150
511         http://trac.webkit.org/changeset/219178
512
513 2017-07-06  Alicia Boya García  <aboya@igalia.com>
514
515         Add CWD to Perl library path (no longer the default since 5.26.0)
516         https://bugs.webkit.org/show_bug.cgi?id=174200
517
518         Reviewed by Michael Catanzaro.
519
520         * Scripts/webkitpy/tool/commands/setupgitclone.py:
521         (SetupGitClone._get_username_and_email):
522
523 2017-07-06  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
524
525         Unreviewed, update my email address.
526
527         * Scripts/webkitpy/common/config/contributors.json:
528
529 2017-07-06  Charlie Turner  <cturner@igalia.com>
530         [GStreamer] vid.me videos do not play
531         https://bugs.webkit.org/show_bug.cgi?id=172240
532
533         Reviewed by Xabier Rodriguez-Calvar.
534
535         Build httpsoupsrc again for use in adaptive streaming pipelines, and
536         have the existing libsoup build against GNOME to avoid header drift
537         against GStreamer's linked Soup library.
538
539         * gtk/jhbuild.modules:
540
541 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
542
543         [WTF] Move SoftLinking.h into WTF
544         https://bugs.webkit.org/show_bug.cgi?id=174000
545
546         Reviewed by Alex Christensen.
547
548         * DumpRenderTree/mac/TestRunnerMac.mm:
549         * Scripts/webkitpy/style/checkers/cpp_unittest.py:
550         (test_primary_header):
551         (ErrorCollector.__init__): Deleted.
552         (ErrorCollector.__call__): Deleted.
553         (ErrorCollector.results): Deleted.
554         (ErrorCollector.result_list): Deleted.
555         (ErrorCollector.verify_all_categories_are_seen): Deleted.
556         (MockIo.open): Deleted.
557         (CppFunctionsTest.test_convert_to_lower_with_underscores): Deleted.
558         (CppFunctionsTest.test_create_acronym): Deleted.
559         (CppFunctionsTest.test_is_c_or_objective_c): Deleted.
560         (CppFunctionsTest.test_parameter): Deleted.
561         (CppFunctionsTest.test_single_line_view): Deleted.
562         (CppFunctionsTest.test_create_skeleton_parameters): Deleted.
563         (CppFunctionsTest.test_find_parameter_name_index): Deleted.
564         (CppFunctionsTest.test_parameter_list): Deleted.
565         (CppFunctionsTest.test_check_parameter_against_text): Deleted.
566         (CppStyleTestBase.process_file_data): Deleted.
567         (CppStyleTestBase.perform_lint): Deleted.
568         (CppStyleTestBase.perform_single_line_lint): Deleted.
569         (CppStyleTestBase.perform_multi_line_lint): Deleted.
570         (CppStyleTestBase.perform_language_rules_check): Deleted.
571         (CppStyleTestBase.perform_function_lengths_check): Deleted.
572         (CppStyleTestBase.perform_pass_ptr_check): Deleted.
573         (CppStyleTestBase.perform_leaky_pattern_check): Deleted.
574         (CppStyleTestBase.perform_include_what_you_use): Deleted.
575         (CppStyleTestBase.perform_header_guard_check): Deleted.
576         (CppStyleTestBase.assert_lint): Deleted.
577         (CppStyleTestBase.assert_lint_one_of_many_errors_re): Deleted.
578         (CppStyleTestBase.assert_multi_line_lint): Deleted.
579         (CppStyleTestBase.assert_multi_line_lint_re): Deleted.
580         (CppStyleTestBase.assert_language_rules_check): Deleted.
581         (CppStyleTestBase.assert_include_what_you_use): Deleted.
582         (CppStyleTestBase.assert_header_guard): Deleted.
583         (CppStyleTestBase.assert_blank_lines_check): Deleted.
584         (CppStyleTestBase.assert_positions_equal): Deleted.
585         (FunctionDetectionTest.test_basic_function_detection): Deleted.
586         (FunctionDetectionTest.test_function_declaration_detection): Deleted.
587         (FunctionDetectionTest.test_pure_function_detection): Deleted.
588         (FunctionDetectionTest.test_override_and_final_function_detection): Deleted.
589         (FunctionDetectionTest.test_ignore_macros): Deleted.
590         (FunctionDetectionTest.test_non_functions): Deleted.
591         (FunctionDetectionTest.test_non_functions.Stuff): Deleted.
592         (FunctionDetectionTest.test_parameter_list): Deleted.
593         (Cpp11StyleTest.test_rvaule_reference_in_parameter_pack): Deleted.
594         (CppStyleTest.test_asm_lines_ignored): Deleted.
595         (CppStyleTest.test_get_line_width): Deleted.
596         (CppStyleTest.test_find_next_multi_line_comment_start): Deleted.
597         (CppStyleTest.test_find_next_multi_line_comment_end): Deleted.
598         (CppStyleTest.test_remove_multi_line_comments_from_range): Deleted.
599         (CppStyleTest.test_position): Deleted.
600         (CppStyleTest.test_rfind_in_lines): Deleted.
601         (CppStyleTest.test_close_expression): Deleted.
602         (CppStyleTest.test_spaces_at_end_of_line): Deleted.
603         (CppStyleTest.test_cstyle_cast): Deleted.
604         (CppStyleTest.test_runtime_casting): Deleted.
605         (CppStyleTest.test_runtime_selfinit): Deleted.
606         (CppStyleTest.test_runtime_rtti): Deleted.
607         (CppStyleTest.test_static_cast_readability): Deleted.
608         (CppStyleTest.test_check_for_unnamed_params): Deleted.
609         (CppStyleTest.void): Deleted.
610         (CppStyleTest.test_deprecated_cast): Deleted.
611         (CppStyleTest.test_mock_method): Deleted.
612         (CppStyleTest.test_sizeof_type): Deleted.
613         (CppStyleTest.cases): Deleted.
614         (CppStyleTest.for): Deleted.
615         (CppStyleTest.test_typedef_for_pointer_to_function): Deleted.
616         (CppStyleTest.test_typedef_for_pointer_to_function.void): Deleted.
617         (CppStyleTest.test_include_what_you_use_no_implementation_files): Deleted.
618         (CppStyleTest.test_include_what_you_use): Deleted.
619         (CppStyleTest.test_files_belong_to_same_module): Deleted.
620         (CppStyleTest.test_cleanse_line): Deleted.
621         (CppStyleTest.test_multi_line_comments): Deleted.
622         (CppStyleTest.test_multi_line_comments.Foo): Deleted.
623         (CppStyleTest.test_multiline_strings): Deleted.
624         (CppStyleTest.test_platformh_comments): Deleted.
625         (CppStyleTest.test_explicit_single_argument_constructors): Deleted.
626         (CppStyleTest.test_explicit_single_argument_constructors.Foo): Deleted.
627         (CppStyleTest.test_explicit_single_argument_constructors.Qualifier): Deleted.
628         (CppStyleTest.test_explicit_single_argument_constructors.definition): Deleted.
629         (CppStyleTest.test_slash_star_comment_on_single_line): Deleted.
630         (CppStyleTest.test_suspicious_usage_of_if): Deleted.
631         (CppStyleTest.test_suspicious_usage_of_memset): Deleted.
632         (CppStyleTest.test_check_posix_threading): Deleted.
633         (CppStyleTest.test_insecure_string_operations): Deleted.
634         (CppStyleTest.test_format_strings): Deleted.
635         (CppStyleTest.test_insecure_temp_file): Deleted.
636         (CppStyleTest.test_variable_length_array_detection): Deleted.
637         (CppStyleTest.test_braces): Deleted.
638         (CppStyleTest.test_check_check): Deleted.
639         (CppStyleTest.test_brace_at_begin_of_line): Deleted.
640         (CppStyleTest.test_mismatching_spaces_in_parens): Deleted.
641         (CppStyleTest.test_spacing_for_fncall): Deleted.
642         (CppStyleTest.test_spacing_for_fncall.foo): Deleted.
643         (CppStyleTest.test_spacing_before_braces): Deleted.
644         (CppStyleTest.test_spacing_between_braces): Deleted.
645         (CppStyleTest.test_spacing_before_brackets): Deleted.
646         (CppStyleTest.test_cpp_lambda_functions): Deleted.
647         (CppStyleTest.test_objective_c_block): Deleted.
648         (CppStyleTest.test_objective_c_block_as_argument): Deleted.
649         (CppStyleTest.test_spacing_around_else): Deleted.
650         (CppStyleTest.test_spacing_for_binary_ops): Deleted.
651         (CppStyleTest.test_spacing_for_binary_ops.hash_map): Deleted.
652         (CppStyleTest.test_operator_methods): Deleted.
653         (CppStyleTest.test_spacing_in_objective_c_properties): Deleted.
654         (CppStyleTest.test_spacing_before_last_semicolon): Deleted.
655         (CppStyleTest.test_static_or_global_stlstrings): Deleted.
656         (CppStyleTest.test_no_spaces_in_function_calls): Deleted.
657         (CppStyleTest.test_one_spaces_between_code_and_comments): Deleted.
658         (CppStyleTest.test_one_spaces_after_punctuation_in_comments): Deleted.
659         (CppStyleTest.test_space_after_comment_marker): Deleted.
660         (CppStyleTest.test_newline_at_eof): Deleted.
661         (CppStyleTest.test_newline_at_eof.do_test): Deleted.
662         (CppStyleTest.test_extra_newlines_at_eof): Deleted.
663         (CppStyleTest.test_extra_newlines_at_eof.do_test): Deleted.
664         (CppStyleTest.test_invalid_utf8): Deleted.
665         (CppStyleTest.test_invalid_utf8.do_test): Deleted.
666         (CppStyleTest.test_is_blank_line): Deleted.
667         (CppStyleTest.test_blank_lines_check): Deleted.
668         (CppStyleTest.test_allow_blank_line_before_closing_namespace): Deleted.
669         (CppStyleTest.test_allow_blank_line_before_if_else_chain): Deleted.
670         (CppStyleTest.test_else_on_same_line_as_closing_braces): Deleted.
671         (CppStyleTest.test_else_clause_not_on_same_line_as_else): Deleted.
672         (CppStyleTest.test_comma): Deleted.
673         (CppStyleTest.test_declaration): Deleted.
674         (CppStyleTest.test_pointer_reference_marker_location): Deleted.
675         (CppStyleTest.test_indent): Deleted.
676         (CppStyleTest.test_indent.Foo): Deleted.
677         (CppStyleTest.test_not_alabel): Deleted.
678         (CppStyleTest.test_tab): Deleted.
679         (CppStyleTest.test_unnamed_namespaces_in_headers): Deleted.
680         (CppStyleTest.test_build_class): Deleted.
681         (CppStyleTest.test_build_class.definitions): Deleted.
682         (CppStyleTest.test_build_class.Foo): Deleted.
683         (CppStyleTest.test_build_class.DERIVE_FROM_GOO): Deleted.
684         (CppStyleTest.test_build_end_comment): Deleted.
685         (CppStyleTest.test_build_forward_decl): Deleted.
686         (CppStyleTest.test_build_forward_decl.Foo): Deleted.
687         (CppStyleTest.test_build_header_guard): Deleted.
688         (CppStyleTest.test_build_header_guard.Foo_h): Deleted.
689         (CppStyleTest.test_build_header_guard.Foo_h.for): Deleted.
690         (CppStyleTest.test_build_printf_format): Deleted.
691         (CppStyleTest.test_runtime_printf_format): Deleted.
692         (CppStyleTest.assert_lintLogCodeOnError): Deleted.
693         (CppStyleTest.test_build_storage_class): Deleted.
694         (CppStyleTest.test_build_storage_class.unsignedLongLong): Deleted.
695         (CppStyleTest.test_build_storage_class.declaration): Deleted.
696         (CppStyleTest.test_build_storage_class.after): Deleted.
697         (CppStyleTest.test_build_storage_class.is): Deleted.
698         (CppStyleTest.test_legal_copyright): Deleted.
699         (CppStyleTest.test_invalid_increment): Deleted.
700         (CppStyleTest.test_enum_bitfields): Deleted.
701         (CppStyleTest.test_plain_integral_bitfields): Deleted.
702         (CleansedLinesTest.test_init_empty): Deleted.
703         (CleansedLinesTest.test_collapse_strings): Deleted.
704         (OrderOfIncludesTest.tearDown): Deleted.
705         (OrderOfIncludesTest.test_check_next_include_order__no_config): Deleted.
706         (OrderOfIncludesTest.test_check_next_include_order__no_self): Deleted.
707         (OrderOfIncludesTest.test_check_next_include_order__likely_then_config): Deleted.
708         (OrderOfIncludesTest.test_check_next_include_order__other_then_config): Deleted.
709         (OrderOfIncludesTest.test_check_next_include_order__config_then_other_then_likely): Deleted.
710         (OrderOfIncludesTest.test_check_alphabetical_include_order): Deleted.
711         (OrderOfIncludesTest.test_check_alphabetical_include_order_errors_reported_for_both_lines): Deleted.
712         (OrderOfIncludesTest.test_check_line_break_after_own_header): Deleted.
713         (OrderOfIncludesTest.test_check_line_break_before_own_header): Deleted.
714         (OrderOfIncludesTest.test_check_preprocessor_in_include_section): Deleted.
715         (OrderOfIncludesTest.test_check_preprocessor_in_include_section.BAZ): Deleted.
716         (OrderOfIncludesTest.test_check_preprocessor_in_include_section.FOOBAR): Deleted.
717         (OrderOfIncludesTest.test_primary_header): Deleted.
718         (OrderOfIncludesTest.test_public_primary_header): Deleted.
719         (OrderOfIncludesTest.test_check_wtf_includes): Deleted.
720         (OrderOfIncludesTest.test_classify_include): Deleted.
721         (OrderOfIncludesTest.test_try_drop_common_suffixes): Deleted.
722         (CheckForFunctionLengthsTest.tearDown): Deleted.
723         (CheckForFunctionLengthsTest.set_min_confidence): Deleted.
724         (CheckForFunctionLengthsTest.assert_function_lengths_check): Deleted.
725         (CheckForFunctionLengthsTest.trigger_lines): Deleted.
726         (CheckForFunctionLengthsTest.trigger_test_lines): Deleted.
727         (CheckForFunctionLengthsTest.assert_function_length_check_definition): Deleted.
728         (CheckForFunctionLengthsTest.assert_function_length_check_definition_ok): Deleted.
729         (CheckForFunctionLengthsTest.assert_function_length_check_at_error_level): Deleted.
730         (CheckForFunctionLengthsTest.assert_function_length_check_below_error_level): Deleted.
731         (CheckForFunctionLengthsTest.assert_function_length_check_above_error_level): Deleted.
732         (CheckForFunctionLengthsTest.function_body): Deleted.
733         (CheckForFunctionLengthsTest.function_body_with_blank_lines): Deleted.
734         (CheckForFunctionLengthsTest.function_body_with_no_lints): Deleted.
735         (CheckForFunctionLengthsTest.test_function_length_check_declaration): Deleted.
736         (CheckForFunctionLengthsTest.test_function_length_check_declaration_with_block_following): Deleted.
737         (CheckForFunctionLengthsTest.test_function_length_check_class_definition): Deleted.
738         (CheckForFunctionLengthsTest.test_function_length_check_class_definition.Test): Deleted.
739         (CheckForFunctionLengthsTest.test_function_length_check_trivial): Deleted.
740         (CheckForFunctionLengthsTest.test_function_length_check_empty): Deleted.
741         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity0): Deleted.
742         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity0): Deleted.
743         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity0): Deleted.
744         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity1v0): Deleted.
745         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity1v0): Deleted.
746         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity1): Deleted.
747         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity1): Deleted.
748         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity1): Deleted.
749         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_plus_indented): Deleted.
750         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_plus_blanks): Deleted.
751         (CheckForFunctionLengthsTest.test_function_length_check_complex_definition_severity1): Deleted.
752         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_test): Deleted.
753         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_split_line_test): Deleted.
754         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Deleted.
755         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_with_embedded_no_lints): Deleted.
756         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_with_no_lint): Deleted.
757         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity2): Deleted.
758         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity2): Deleted.
759         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity2): Deleted.
760         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity3): Deleted.
761         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity3): Deleted.
762         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity3): Deleted.
763         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity4): Deleted.
764         (CheckForFunctionLengthsTest.test_function_length_check_definition_severity4): Deleted.
765         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity4): Deleted.
766         (CheckForFunctionLengthsTest.test_function_length_check_definition_below_severity5): Deleted.
767         (CheckForFunctionLengthsTest.test_function_length_check_definition_at_severity5): Deleted.
768         (CheckForFunctionLengthsTest.test_function_length_check_definition_above_severity5): Deleted.
769         (CheckForFunctionLengthsTest.test_function_length_check_definition_huge_lines): Deleted.
770         (CheckForFunctionLengthsTest.test_function_length_not_determinable): Deleted.
771         (NoNonVirtualDestructorsTest.test_no_error): Deleted.
772         (NoNonVirtualDestructorsTest.test_no_error.Foo): Deleted.
773         (NoNonVirtualDestructorsTest.test_no_error.MyClass): Deleted.
774         (NoNonVirtualDestructorsTest.test_no_error.Qualified): Deleted.
775         (NoNonVirtualDestructorsTest.test_no_destructor_when_virtual_needed): Deleted.
776         (NoNonVirtualDestructorsTest.test_no_destructor_when_virtual_needed.Foo): Deleted.
777         (NoNonVirtualDestructorsTest.test_enum_casing): Deleted.
778         (NoNonVirtualDestructorsTest.test_enum_casing.Foo): Deleted.
779         (NoNonVirtualDestructorsTest.test_enum_casing.Enum123): Deleted.
780         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon): Deleted.
781         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon.CPP11EnumClass): Deleted.
782         (NoNonVirtualDestructorsTest.test_enum_trailing_semicolon.MyEnum): Deleted.
783         (NoNonVirtualDestructorsTest.test_destructor_non_virtual_when_virtual_needed): Deleted.
784         (NoNonVirtualDestructorsTest.test_destructor_non_virtual_when_virtual_needed.Foo): Deleted.
785         (NoNonVirtualDestructorsTest.test_no_warn_when_derived): Deleted.
786         (NoNonVirtualDestructorsTest.test_no_warn_when_derived.Foo): Deleted.
787         (NoNonVirtualDestructorsTest.test_internal_braces): Deleted.
788         (NoNonVirtualDestructorsTest.test_internal_braces.Foo): Deleted.
789         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor): Deleted.
790         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Foo): Deleted.
791         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Foo.Goo): Deleted.
792         (NoNonVirtualDestructorsTest.test_inner_class_needs_virtual_destructor.Goo): Deleted.
793         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor): Deleted.
794         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor.Foo): Deleted.
795         (NoNonVirtualDestructorsTest.test_outer_class_needs_virtual_destructor.Foo.Goo): Deleted.
796         (NoNonVirtualDestructorsTest.test_qualified_class_needs_virtual_destructor): Deleted.
797         (NoNonVirtualDestructorsTest.test_qualified_class_needs_virtual_destructor.Qualified): Deleted.
798         (NoNonVirtualDestructorsTest.test_multi_line_declaration_no_error): Deleted.
799         (NoNonVirtualDestructorsTest.test_multi_line_declaration_no_error.Foo): Deleted.
800         (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error): Deleted.
801         (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error.Foo): Deleted.
802         (LeakyPatternTest.assert_leaky_pattern_check): Deleted.
803         (LeakyPatternTest.test_get_dc): Deleted.
804         (LeakyPatternTest.test_get_dc.HWndDC): Deleted.
805         (LeakyPatternTest.test_own_get_dc): Deleted.
806         (LeakyPatternTest.test_create_dc): Deleted.
807         (LeakyPatternTest.test_create_compatible_dc): Deleted.
808         (WebKitStyleTest.test_indentation): Deleted.
809         (WebKitStyleTest.test_indentation.Foo): Deleted.
810         (WebKitStyleTest.test_indentation.Document): Deleted.
811         (WebKitStyleTest.test_spacing): Deleted.
812         (WebKitStyleTest.test_line_breaking): Deleted.
813         (WebKitStyleTest.test_braces): Deleted.
814         (WebKitStyleTest.test_braces.MyClass): Deleted.
815         (WebKitStyleTest.test_braces.NS_ENUM): Deleted.
816         (WebKitStyleTest.test_braces.CPP11EnumClass): Deleted.
817         (WebKitStyleTest.test_braces.SOMETHING): Deleted.
818         (WebKitStyleTest.test_null_false_zero): Deleted.
819         (WebKitStyleTest.test_directive_indentation): Deleted.
820         (WebKitStyleTest.test_using_std): Deleted.
821         (WebKitStyleTest.test_using_namespace): Deleted.
822         (WebKitStyleTest.test_max_macro): Deleted.
823         (WebKitStyleTest.test_min_macro): Deleted.
824         (WebKitStyleTest.test_wtf_move): Deleted.
825         (WebKitStyleTest.test_ctype_fucntion): Deleted.
826         (WebKitStyleTest.test_names): Deleted.
827         (WebKitStyleTest.test_names.HTMLDocument): Deleted.
828         (WebKitStyleTest.test_names.WebWindowFadeAnimation): Deleted.
829         (WebKitStyleTest.test_names.declarations): Deleted.
830         (WebKitStyleTest.test_names.struct): Deleted.
831         (WebKitStyleTest.test_names.VectorType): Deleted.
832         (WebKitStyleTest.test_parameter_names): Deleted.
833         (WebKitStyleTest.test_comments): Deleted.
834         (WebKitStyleTest.test_webkit_export_check): Deleted.
835         (WebKitStyleTest.test_member_initialization_list): Deleted.
836         (WebKitStyleTest.test_member_initialization_list.MyClass): Deleted.
837         (WebKitStyleTest.test_other): Deleted.
838         (CppCheckerTest.mock_handle_style_error): Deleted.
839         (CppCheckerTest._checker): Deleted.
840         (CppCheckerTest.test_init): Deleted.
841         (CppCheckerTest.test_eq): Deleted.
842         (CppCheckerTest.test_eq.mock_handle_style_error2): Deleted.
843         (CppCheckerTest.test_ne): Deleted.
844         * TestWebKitAPI/Tests/WebKit/ios/AudioSessionCategoryIOS.mm:
845         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
846         * TestWebKitAPI/cocoa/TestWKWebView.mm:
847         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
848         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
849         * WebKitTestRunner/ios/HIDEventGenerator.mm:
850
851 2017-07-05  Saam Barati  <sbarati@apple.com>
852
853         NewArray in FTLLowerDFGToB3 does not handle speculating on doubles when having a bad time
854         https://bugs.webkit.org/show_bug.cgi?id=174188
855         <rdar://problem/30581423>
856
857         Reviewed by Mark Lam.
858
859         * Scripts/run-jsc-stress-tests:
860
861 2017-07-05  Yusuke Suzuki  <utatane.tea@gmail.com>
862
863         [WTF] Clean up StringStatics.cpp by using LazyNeverDestroyed<> for Atoms
864         https://bugs.webkit.org/show_bug.cgi?id=174150
865
866         Reviewed by Mark Lam.
867
868         * TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
869         (TestWebKitAPI::TEST):
870
871 2017-07-03  Myles C. Maxfield  <mmaxfield@apple.com>
872
873         Remove copy of ICU headers from WebKit
874         https://bugs.webkit.org/show_bug.cgi?id=116407
875
876         Reviewed by Alex Christensen.
877
878         * DumpRenderTree/mac/Configurations/Base.xcconfig:
879         * TestWebKitAPI/Configurations/Base.xcconfig:
880         * WebKitTestRunner/Configurations/Base.xcconfig:
881
882 2017-07-05  Chris Dumez  <cdumez@apple.com>
883
884         Regression(r218821): Bad cast to WebKit::DiagnosticLoggingClient in WKWebView's _setDiagnosticLoggingDelegate
885         https://bugs.webkit.org/show_bug.cgi?id=174163
886         <rdar://problem/33067518>
887
888         Reviewed by Alex Christensen.
889
890         Add API test coverage.
891
892         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
893         * TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewDiagnosticLogging.mm: Added.
894         (TEST):
895
896 2017-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
897
898         When dragging a selection, clearing the selection in dragstart should not crash the web process
899         https://bugs.webkit.org/show_bug.cgi?id=174142
900         <rdar://problem/33067501>
901
902         Reviewed by Tim Horton.
903
904         Adds a unit test checking that the web process does not crash when the selection is cleared while a selection
905         drag is starting up.
906
907         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
908         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-clear-selection.html: Added.
909         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
910         (TestWebKitAPI::TEST):
911
912 2017-07-05  Daniel Bates  <dabates@apple.com>
913
914         Do not pass API::FrameInfo for source frame or clear out page of target frame on
915         API navigation
916         https://bugs.webkit.org/show_bug.cgi?id=174170
917         <rdar://problem/33140328>
918
919         Reviewed by Brady Eidson.
920
921         Update tests as needed for the behavior change.
922
923         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm:
924         (TEST):
925
926 2017-07-05  Jonathan Bedard  <jbedard@apple.com>
927
928         Add WebKitPrivateFrameworkStubs for iOS 11
929         https://bugs.webkit.org/show_bug.cgi?id=173988
930
931         Reviewed by David Kilzer.
932
933         * DumpRenderTree/mac/Configurations/Base.xcconfig: iphoneos and iphonesimulator
934         should use the same directory for private framework stubs.
935         * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
936
937 2017-07-05  Eric Carlson  <eric.carlson@apple.com>
938
939         [MediaStream] Protect request and web view during gUM client callback
940         https://bugs.webkit.org/show_bug.cgi?id=174096
941         <rdar://problem/32833102>
942
943         Reviewed by Youenn Fablet.
944
945         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
946         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: New test.
947
948 2017-07-05  Wenson Hsieh  <wenson_hsieh@apple.com>
949
950         Unreviewed, guard iOS 11-dependent UIPasteboardTests to be iOS 11+ only
951
952         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
953
954 2017-07-05  Matt Lewis  <jlewis3@apple.com>
955
956         Unreviewed, rolling out r219128.
957
958         Spoke with engineer who originally submitted, Patch for APi
959         test to follow.
960
961         Reverted changeset:
962
963         "Unreviewed, rolling out r219070."
964         https://bugs.webkit.org/show_bug.cgi?id=174082
965         http://trac.webkit.org/changeset/219128
966
967 2017-07-05  Matt Lewis  <jlewis3@apple.com>
968
969         Unreviewed, rolling out r219070.
970
971         This revision caused consistent failures of the API test
972         UIPasteboardTests.DoNotPastePlainTextAsURL on iOS.
973
974         Reverted changeset:
975
976         "Pasting single words copied to UIPasteboard inserts URLs in
977         editable areas"
978         https://bugs.webkit.org/show_bug.cgi?id=174082
979         http://trac.webkit.org/changeset/219070
980
981 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
982
983         Remove unused EFL logo from bot watcher dashboard
984         https://bugs.webkit.org/show_bug.cgi?id=174136
985
986         Reviewed by Alexey Proskuryakov.
987
988         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/EFL.png: Removed.
989         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/EFL@2x.png: Removed.
990
991 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
992
993         [GTK] Add more GTK bots to dashboard
994         https://bugs.webkit.org/show_bug.cgi?id=174129
995
996         Reviewed by Carlos Alberto Lopez Perez.
997
998         We have a bunch of GTK bots that I never look at because they're not on the dashboard. Add
999         them.
1000
1001         This also changes the sort order to put WPE above GTK so that it's not buried under all the
1002         less-essential GTK bots.
1003
1004         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
1005         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1006         (WebKitBuildbot):
1007
1008 2017-07-04  Michael Catanzaro  <mcatanzaro@igalia.com>
1009
1010         [WPE] Add WPE to bot watcher dashboard
1011         https://bugs.webkit.org/show_bug.cgi?id=174119
1012
1013         Reviewed by Alexey Proskuryakov.
1014
1015         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/CREDIT: Added.
1016         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WPE.png: Added.
1017         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WPE@2x.png: Added.
1018         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
1019         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
1020         (WebKitBuildbot):
1021         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
1022         (table.queue-grid tr.platform.linux-wpe img.logo):
1023
1024 2017-07-03  Lucas Forschler  <lforschler@apple.com>
1025
1026         https://bugs.webkit.org/show_bug.cgi?id=174105
1027         
1028         Reviewed by Stephanie Lewis.
1029
1030         * BuildSlaveSupport/built-product-archive:
1031         (main): Add a -minify parser option
1032         (createZip): Pass along the optional Minify argument if requested
1033         (minifySource): This will trim down archives, logic limited to Mac platform.
1034
1035 2017-07-03  Matt Rajca  <mrajca@apple.com>
1036
1037         Add/remove appropriate media element behavior restrictions when updateWebsitePolicies is called
1038         https://bugs.webkit.org/show_bug.cgi?id=174103
1039
1040         Reviewed by Alex Christensen.
1041
1042         Added an API test.
1043
1044         * TestWebKitAPI/Tests/WebKit2/autoplay-check.html: Expose a pause method.
1045         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
1046         (TEST): Added test.
1047         * TestWebKitAPI/cocoa/TestWKWebView.h:
1048         * TestWebKitAPI/cocoa/TestWKWebView.mm:
1049         (-[TestWKWebView stringByEvaluatingJavaScript:]): Don't simulate a user gesture when invoking the script.
1050
1051 2017-07-03  Matt Lewis  <jlewis3@apple.com>
1052
1053         Unreviewed, rolling out r219103.
1054
1055         Caused multiple build failures.
1056
1057         Reverted changeset:
1058
1059         "Remove copy of ICU headers from WebKit"
1060         https://bugs.webkit.org/show_bug.cgi?id=116407
1061         http://trac.webkit.org/changeset/219103
1062
1063 2017-07-03  Myles C. Maxfield  <mmaxfield@apple.com>
1064
1065         Remove copy of ICU headers from WebKit
1066         https://bugs.webkit.org/show_bug.cgi?id=116407
1067
1068         Reviewed by Alex Christensen.
1069
1070         Use WTF's copy of ICU headers.
1071
1072         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1073         * TestWebKitAPI/Configurations/Base.xcconfig:
1074         * WebKitTestRunner/Configurations/Base.xcconfig:
1075
1076 2017-07-03  Brady Eidson  <beidson@apple.com>
1077
1078         Switch all WebKit API related to favicons from WebIconDatabase over to new WebCore::IconLoader mechanism.
1079         https://bugs.webkit.org/show_bug.cgi?id=174073
1080
1081         Reviewed by Andy Estes.
1082
1083         * DumpRenderTree/mac/TestRunnerMac.mm:
1084         (TestRunner::setIconDatabaseEnabled): Call new SPI for this setting instead of WebIconDatabase stuff.
1085
1086         * TestWebKitAPI/Tests/mac/WebViewIconLoading.mm:
1087         (-[MainFrameIconKVO observeValueForKeyPath:ofObject:change:context:]):
1088
1089 2017-07-03  Matt Lewis  <jlewis3@apple.com>
1090
1091         Unreviewed, rolling out r219083.
1092
1093         The revision caused an API failure on all testing platforms.
1094
1095         Reverted changeset:
1096
1097         "[MediaStream] Protect request and web view during gUM client
1098         callback"
1099         https://bugs.webkit.org/show_bug.cgi?id=174096
1100         http://trac.webkit.org/changeset/219083
1101
1102 2017-07-03  Jonathan Bedard  <jbedard@apple.com>
1103
1104         webkitpy: Properly number duplicated crashlogs
1105         https://bugs.webkit.org/show_bug.cgi?id=172002
1106
1107         Reviewed by Aakash Jain.
1108
1109         * Scripts/webkitpy/common/system/crashlogs.py:
1110         (CrashLogs._find_all_logs_darwin): Number multiple crash logs for a single process with
1111         an increasing integer.
1112         * Scripts/webkitpy/common/system/crashlogs_unittest.py:
1113         (CrashLogsTest.create_crash_logs_darwin): Create duplicated crashlog for testing.
1114         (CrashLogsTest.test_find_all_log_darwin): Now 7 Darwin logs instead of 5.
1115         (CrashLogsTest.test_duplicate_log_darwin): Test that duplicated logs are correctly numbered.
1116
1117 2017-07-03  Ryosuke Niwa  <rniwa@webkit.org>
1118
1119         WebContent processes crash when the network process crashes with pending connection requests
1120         https://bugs.webkit.org/show_bug.cgi?id=174065
1121         <rdar://problem/30359835>
1122
1123         Reviewed by Tim Horton.
1124
1125         Add a API to ensure UI process tries to relaunch a new network process when the network process
1126         crashes with pending network connection requests.
1127
1128         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1129         * TestWebKitAPI/Tests/WebKit2/NetworkProcessCrashWithPendingConnection.mm: Added.
1130         * TestWebKitAPI/cocoa/TestNavigationDelegate.h:
1131         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm:
1132         (-[TestNavigationDelegate webViewWebContentProcessDidTerminate:]): Added.
1133
1134 2017-07-03  Eric Carlson  <eric.carlson@apple.com>
1135
1136         [MediaStream] Protect request and web view during gUM client callback
1137         https://bugs.webkit.org/show_bug.cgi?id=174096
1138         <rdar://problem/32833102>
1139
1140         Reviewed by Youenn Fablet.
1141
1142         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1143         * TestWebKitAPI/Tests/WebKit2/GetUserMediaNavigation.mm: New test.
1144
1145 2017-07-03  Andy Estes  <aestes@apple.com>
1146
1147         [Xcode] Add an experimental setting to build with ccache
1148         https://bugs.webkit.org/show_bug.cgi?id=173875
1149
1150         Reviewed by Tim Horton.
1151
1152         On systems that already have ccache(1) installed, this patch adds experimental support for
1153         it to Xcode builds. It can be enabled with the WK_USE_CCACHE build setting.
1154
1155         When ccache is enabled, CC is overridden to invoke Tools/ccache/ccache-clang. This script
1156         finds the "-isysroot" argument to determine the active SDK, uses xcrun(1) and the SDK to
1157         find the toolchain from which to run clang, and then invokes ccache with the required
1158         arguments.
1159
1160         ccache is invoked with CCACHE_SLOPPINESS="pch_defines,time_macros", which is required for
1161         precompiled headers to work properly [1].
1162
1163         LDPLUSPLUS is overridden to invoke Tools/ccache/ccache-clang++. It behaves the same as
1164         ccache-clang, except it tells ccache to execute clang++ instead of clang. This is important
1165         during linking.
1166         
1167         [1] https://ccache.samba.org/manual.html#_precompiled_headers
1168
1169         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Included ccache.xcconfig.
1170         * MiniBrowser/Configurations/DebugRelease.xcconfig: Ditto.
1171         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig: Ditto.
1172         * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Ditto.
1173         * WebKitTestRunner/Configurations/DebugRelease.xcconfig: Ditto.
1174         * ccache/README.md: Added.
1175         * ccache/ccache-clang: Added.
1176         * ccache/ccache-clang++: Added.
1177         * ccache/ccache.xcconfig: Added. Overrides CC and LDPLUSPLUS when WK_USE_CACHE=YES.
1178
1179 2017-07-03  Alex Christensen  <achristensen@webkit.org>
1180
1181         REGRESSION(r215096) Queries of URLs with non-special schemes should not percent-encode single quotes
1182         https://bugs.webkit.org/show_bug.cgi?id=174051
1183
1184         Reviewed by Tim Horton.
1185
1186         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1187         (TestWebKitAPI::TEST_F):
1188
1189 2017-07-03  Matt Lewis  <jlewis3@apple.com>
1190
1191         Unreviewed, rolling out r219024.
1192
1193         This patch cause 3 didferent test to fail.
1194
1195         Reverted changeset:
1196
1197         "REGRESSION(r215096) Queries of URLs with non-special schemes
1198         should not percent-encode single quotes"
1199         https://bugs.webkit.org/show_bug.cgi?id=174051
1200         http://trac.webkit.org/changeset/219024
1201
1202 2017-07-03  Chris Dumez  <cdumez@apple.com>
1203
1204         Drop ResourceLoadStatisticsStore's statisticsLock
1205         https://bugs.webkit.org/show_bug.cgi?id=174080
1206
1207         Reviewed by Brent Fulgham.
1208
1209         Port WebKitTestRunner to new Asynchronous Cocoa SPI.
1210
1211         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1212         (WTR::TestController::isStatisticsPrevalentResource):
1213         (WTR::TestController::isStatisticsHasHadUserInteraction):
1214         (WTR::TestController::isStatisticsGrandfathered):
1215
1216 2017-07-03  Wenson Hsieh  <wenson_hsieh@apple.com>
1217
1218         Pasting single words copied to UIPasteboard inserts URLs in editable areas
1219         https://bugs.webkit.org/show_bug.cgi?id=174082
1220         <rdar://problem/33046992>
1221
1222         Reviewed by Tim Horton.
1223
1224         Adds 3 new unit tests to UIPasteboardTests to test cases of pasting plain text and URLs.
1225
1226         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
1227         (TestWebKitAPI::setUpWebViewForPasteboardTests):
1228         (TestWebKitAPI::TEST):
1229
1230 2017-07-02  Brady Eidson  <beidson@apple.com>
1231
1232         Add API test for all parts of WebKit1 API related to favicons.
1233         https://bugs.webkit.org/show_bug.cgi?id=174069
1234
1235         Reviewed by Andy Estes.
1236
1237         These two API tests cover all WebKit1 API related to icons.
1238         
1239         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1240         * TestWebKitAPI/Tests/mac/WebViewIconLoading.mm: Added.
1241         (mainResourceData):
1242         (defaultFaviconData):
1243         (customFaviconData):
1244         (imageFromData):
1245         (+[IconLoadingProtocol canInitWithRequest:]):
1246         (+[IconLoadingProtocol canonicalRequestForRequest:]):
1247         (-[IconLoadingProtocol startLoading]):
1248         (-[IconLoadingProtocol stopLoading]):
1249         (-[IconLoadingFrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1250         (-[MainFrameIconKVO observeValueForKeyPath:ofObject:change:context:]):
1251         (TestWebKitAPI::TEST):
1252
1253 2017-07-01  Dan Bernstein  <mitz@apple.com>
1254
1255         [iOS] Remove code only needed when building for iOS 9.x
1256         https://bugs.webkit.org/show_bug.cgi?id=174068
1257
1258         Reviewed by Tim Horton.
1259
1260         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1261         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1262         (WTR::initializeWebViewConfiguration):
1263         * WebKitTestRunner/ios/HIDEventGenerator.mm:
1264         (-[HIDEventGenerator _createIOHIDEventType:]):
1265
1266 2017-07-01  Brady Eidson  <beidson@apple.com>
1267
1268         When setting a custom cookie storage location on a WKWebsiteDataStore, cookies aren't actually removed.
1269         <rdar://problem/32410662> and https://bugs.webkit.org/show_bug.cgi?id=174035
1270
1271         Reviewed by Alex Christensen.
1272
1273         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsiteDataStoreCustomPaths.mm:
1274
1275 2017-07-01  Dan Bernstein  <mitz@apple.com>
1276
1277         [macOS] Remove code only needed when building for OS X Yosemite
1278         https://bugs.webkit.org/show_bug.cgi?id=174067
1279
1280         Reviewed by Tim Horton.
1281
1282         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1283         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
1284         * DumpRenderTree/mac/DumpRenderTree.mm:
1285         (setDefaultsToConsistentValuesForTesting):
1286         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
1287         (-[DumpRenderTreeDraggingInfo resetSpringLoading]):
1288         * MiniBrowser/Configurations/Base.xcconfig:
1289         * MiniBrowser/Configurations/DebugRelease.xcconfig:
1290         * TestWebKitAPI/Configurations/Base.xcconfig:
1291         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
1292         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1293         * TestWebKitAPI/Tests/WebCore/ComplexTextController.cpp:
1294         (TestWebKitAPI::TEST_F):
1295         * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm:
1296         * TestWebKitAPI/Tests/mac/DragAndDropPasteboardTests.mm:
1297         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1298         (TestWebKitAPI::TEST_F):
1299         * TestWebKitAPI/Tests/mac/StringTruncator.mm:
1300         (TestWebKitAPI::TEST):
1301         * WebKitTestRunner/Configurations/Base.xcconfig:
1302         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
1303         * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:
1304         (WTR::InjectedBundle::platformInitialize):
1305         * WebKitTestRunner/mac/WebKitTestRunnerDraggingInfo.mm:
1306         (-[WebKitTestRunnerDraggingInfo resetSpringLoading]):
1307
1308 2017-07-01  Chris Dumez  <cdumez@apple.com>
1309
1310         Replace ResourceLoadStatisticsStore C API with Cocoa SPI
1311         https://bugs.webkit.org/show_bug.cgi?id=174060
1312
1313         Reviewed by Brent Fulgham.
1314
1315         Port WebKitTestRunner over to the new Cocoa SPI.
1316
1317         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1318         (WTR::TestRunner::setStatisticsNotifyPagesWhenDataRecordsWereScanned):
1319         (WTR::TestRunner::setStatisticsNotifyPagesWhenTelemetryWasCaptured):
1320         Drop calls to the WKResourceLoadStatisticsStore C API here. Those were
1321         no-ops since this code runs in the WebContent process, not the
1322         UIProcess.
1323
1324         * WebKitTestRunner/TestController.cpp:
1325         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1326
1327 2017-06-30  Megan Gardner  <megan_gardner@apple.com>
1328
1329         Unreviewed mac build fix.
1330
1331         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm:
1332         (TestWebKitAPI::TEST):
1333
1334 2017-06-30  Megan Gardner  <megan_gardner@apple.com>
1335
1336         Add API to get WKActivatedElementInfo
1337         https://bugs.webkit.org/show_bug.cgi?id=174001
1338         <rdar://problem/29165518>
1339         
1340         Tests for now SPI to get activatedElementInfo.
1341
1342         Reviewed by Tim Horton.
1343
1344         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1345         * TestWebKitAPI/Tests/WebKit2Cocoa/WKRequestActivatedElementInfo.mm: Added.
1346         (TestWebKitAPI::TEST):
1347
1348 2017-06-30  Chris Dumez  <cdumez@apple.com>
1349
1350         Move store logic from WebResourceLoadStatisticsManager to WebResourceLoadStatisticsStore
1351         https://bugs.webkit.org/show_bug.cgi?id=174038
1352
1353         Reviewed by Brent Fulgham.
1354
1355         Fix typo in API name.
1356
1357         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1358         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1359         (WTR::TestRunner::setStatisticsMinimumTimeBetweenDataRecordsRemoval):
1360         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1361         * WebKitTestRunner/TestController.cpp:
1362         (WTR::TestController::setStatisticsMinimumTimeBetweenDataRecordsRemoval):
1363         * WebKitTestRunner/TestController.h:
1364         * WebKitTestRunner/TestInvocation.cpp:
1365         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1366
1367 2017-06-30  Alex Christensen  <achristensen@webkit.org>
1368
1369         REGRESSION(r215096) Queries of URLs with non-special schemes should not percent-encode single quotes
1370         https://bugs.webkit.org/show_bug.cgi?id=174051
1371         <rdar://problem/33002846>
1372
1373         Reviewed by Tim Horton.
1374
1375         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
1376         (TestWebKitAPI::TEST_F):
1377
1378 2017-06-30  Daniel Bates  <dabates@apple.com>
1379
1380         API::FrameInfo should know the web page that contains the frame; add API property webView to WKFrameInfo
1381         https://bugs.webkit.org/show_bug.cgi?id=165160
1382         <rdar://problem/29451999>
1383
1384         Reviewed by Brady Eidson.
1385
1386         Add tests to ensure that -[WKFrameInfo webView] is computed correctly for the source and target frame
1387         for navigations and window creation.
1388
1389         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1390         * TestWebKitAPI/Tests/WebKit2Cocoa/DecidePolicyForNavigationAction.mm: Added. Derived from file ShouldOpenExternalURLsInNewWindowActions.mm.
1391         (-[DecidePolicyForNavigationActionController webView:decidePolicyForNavigationAction:decisionHandler:]):
1392         (-[DecidePolicyForNavigationActionController webView:didFinishNavigation:]):
1393         (-[DecidePolicyForNavigationActionController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):
1394         (TEST):
1395
1396 2017-06-29  Jer Noble  <jer.noble@apple.com>
1397
1398         Make Legacy EME API controlled by RuntimeEnabled setting.
1399         https://bugs.webkit.org/show_bug.cgi?id=173994
1400
1401         Reviewed by Sam Weinig.
1402
1403         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1404
1405 2017-06-30  Jonathan Bedard  <jbedard@apple.com>
1406
1407         Follow-up fix for r218996
1408
1409         Unreviewed infrastructure fix.
1410
1411         Repeated calls to 'ios_version' make the log noisy, memoize the function.
1412
1413         * Scripts/webkitpy/port/ios_simulator.py:
1414         (IOSSimulatorPort): Memoize ios_version().
1415
1416 2017-06-30  Wenson Hsieh  <wenson_hsieh@apple.com>
1417
1418         [iOS DnD] Drag caret rect is incorrectly computed when dropping in editable content in iframes
1419         https://bugs.webkit.org/show_bug.cgi?id=174017
1420         <rdar://problem/32959782>
1421
1422         Reviewed by Simon Fraser.
1423
1424         Add a new test verifying that the drag caret is visually contained within the bounds of an iframe. Before these
1425         changes, the caret would appear outside of the iframe.
1426
1427         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1428         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-in-iframe.html: Added.
1429         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1430         (checkDragCaretRectIsContainedInRect):
1431         (TestWebKitAPI::TEST):
1432         * TestWebKitAPI/ios/DataInteractionSimulator.h:
1433         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
1434         (-[DataInteractionSimulator _resetSimulatedState]):
1435         (-[DataInteractionSimulator _concludeDataInteractionAndPerformOperationIfNecessary]):
1436         (-[DataInteractionSimulator _advanceProgress]):
1437         (-[DataInteractionSimulator lastKnownDragCaretRect]):
1438
1439 2017-06-30  Jonathan Bedard  <jbedard@apple.com>
1440
1441         Add support for different versions of iOS when loading test expectations
1442         https://bugs.webkit.org/show_bug.cgi?id=173774
1443         <rdar://problem/32951132>
1444
1445         Rubber-stamped by Aakash Jain.
1446
1447         When running layout tests, we should support multiple version of iOS the same way we do Mac.
1448
1449         * Scripts/webkitpy/port/ios.py:
1450         (IOSPort.default_baseline_search_path): Add ios-<major version> test expectation.
1451         (IOSPort.test_expectations_file_position): Added new file expectations, increment expected file position.
1452         (IOSPort.ios_version): iOS ports must define a function to retrieve the iOS version.
1453         * Scripts/webkitpy/port/ios_device.py:
1454         (IOSDevicePort.ios_version): Ask connected devices for implementation.
1455         * Scripts/webkitpy/port/ios_device_unittest.py:
1456         (IOSDeviceTest.test_additional_platform_directory): Skip test until bug 173775 is finished.
1457         (IOSDeviceTest.test_baseline_searchpath): Ditto.
1458         (IOSDeviceTest.test_expectations_ordering): Ditto.
1459         * Scripts/webkitpy/port/ios_simulator.py:
1460         (IOSSimulatorPort.ios_version): If a runtime is specified, ask the runtime for the iOS version. Otherwise,
1461         ask the platform.
1462
1463 2017-06-30  Jacobo Aragunde Pérez  <jaragunde@igalia.com>
1464
1465         Fontconfig build breaks with glibc 2.15+
1466         https://bugs.webkit.org/show_bug.cgi?id=174019
1467
1468         Reviewed by Carlos Alberto Lopez Perez.
1469
1470         Apply patch by Khem Raj adapted to fontconfig 2.11.1.
1471
1472         * wpe/jhbuild.modules:
1473         * wpe/patches/fontconfig-avoid-conflicts-with-integer-width-macros-from-TS-18.patch: Added.
1474
1475 2017-06-29  Wenson Hsieh  <wenson_hsieh@apple.com>
1476
1477         [iOS DnD] Web content process crashes when the selection is moved far offscreen in dragstart
1478         https://bugs.webkit.org/show_bug.cgi?id=174010
1479         <rdar://problem/32597802>
1480
1481         Reviewed by Tim Horton.
1482
1483         Adds a new API test to ensure that we don't crash trying to dereference a null RefPtr when the TextIndicator
1484         snapshot fails for any reason.
1485
1486         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1487         * TestWebKitAPI/Tests/WebKit2Cocoa/dragstart-change-selection-offscreen.html: Added.
1488         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1489         (TestWebKitAPI::TEST):
1490
1491 2017-06-29  Chris Fleizach  <cfleizach@apple.com>
1492
1493         AX: Cannot call setValue() on contenteditable or ARIA text controls
1494         https://bugs.webkit.org/show_bug.cgi?id=173520
1495
1496         Reviewed by Ryosuke Niwa.
1497
1498         Add setValue() method to WKTR (already existed in DRT).
1499
1500         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1501         (WTR::AccessibilityUIElement::setValue):
1502         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1503         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1504         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1505         (WTR::AccessibilityUIElement::setValue):
1506
1507 2017-06-28  Simon Fraser  <simon.fraser@apple.com>
1508
1509         getBoundingClientRect returns wrong value for combination of page zoom and scroll
1510         https://bugs.webkit.org/show_bug.cgi?id=173841
1511         rdar://problem/32983841
1512
1513         Reviewed by Dean Jackson.
1514
1515         Make "Zoom In" and "Zoom Out" work correctly in the WebKit1 window. Previously they
1516         always did text zooming.
1517
1518         * MiniBrowser/mac/WK1BrowserWindowController.m:
1519         (-[WK1BrowserWindowController zoomIn:]):
1520         (-[WK1BrowserWindowController zoomOut:]):
1521         (-[WK1BrowserWindowController canResetZoom]):
1522         (-[WK1BrowserWindowController resetZoom:]):
1523
1524 2017-06-29  John Wilander  <wilander@apple.com>
1525
1526         Fix for intermittent Layout Test fail http/tests/loading/resourceLoadStatistics/telemetry-generation.html
1527         https://bugs.webkit.org/show_bug.cgi?id=173940
1528         <rdar://problem/33018125>
1529
1530         Reviewed by Brent Fulgham.
1531
1532         This change allows the TestController to turn off
1533         regular resource load statistics telemetry submission
1534         and to manually control when telemetry is calculated
1535         and submitted.
1536
1537         * WebKitTestRunner/TestController.cpp:
1538         (WTR::TestController::initialize):
1539             Turns off automatic resource load statistics telemetry submission.
1540
1541 2017-06-29  Commit Queue  <commit-queue@webkit.org>
1542
1543         Unreviewed, rolling out r218512.
1544         https://bugs.webkit.org/show_bug.cgi?id=173981
1545
1546         "It changes the behavior of the JS API's JSEvaluateScript
1547         which breaks TurboTax" (Requested by saamyjoon on #webkit).
1548
1549         Reverted changeset:
1550
1551         "test262: Completion values for control flow do not match the
1552         spec"
1553         https://bugs.webkit.org/show_bug.cgi?id=171265
1554         http://trac.webkit.org/changeset/218512
1555
1556 2017-06-29  Jonathan Bedard  <jbedard@apple.com>
1557
1558         Add WebKitSystemInterface for iOS 11
1559         https://bugs.webkit.org/show_bug.cgi?id=173936
1560
1561         Reviewed by Lucas Forschler.
1562
1563         * Scripts/copy-webkitlibraries-to-product-directory: Copy iOS 11 WebKitSystemInterface libraries. 
1564
1565 2017-06-28  Keith Miller  <keith_miller@apple.com>
1566
1567         VMTraps has some races
1568         https://bugs.webkit.org/show_bug.cgi?id=173941
1569
1570         Reviewed by Michael Saboff.
1571
1572         Add new testing mode for testing the Watchdog with our stress
1573         tests.
1574
1575         * Scripts/run-jsc-stress-tests:
1576
1577 2017-06-29  Carlos Garcia Campos  <cgarcia@igalia.com>
1578
1579         [GTK][WPE] Implement API::IconLoadingClient and rework WebKitFaviconDatabase to use IconDatabase directly
1580         https://bugs.webkit.org/show_bug.cgi?id=173877
1581
1582         Reviewed by Brady Eidson.
1583
1584         Update favicons unit test to ensure we wait until the database is updated in testGetFavicon() before starting
1585         the next tests.
1586
1587         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp:
1588         (testGetFavicon):
1589
1590 2017-06-28  Tim Horton  <timothy_horton@apple.com>
1591
1592         MobileSafari was constantly using 10-15% CPU viewing a PDF
1593         https://bugs.webkit.org/show_bug.cgi?id=173944
1594         <rdar://problem/33039910>
1595
1596         Reviewed by Simon Fraser.
1597
1598         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1599         * TestWebKitAPI/Tests/WebKit2Cocoa/WKPDFViewStablePresentationUpdateCallback.mm:
1600         Add a test that we ever call the stable presentation update callback
1601         when we have a WKPDFView up, instead of infinitely looping.
1602
1603 2017-06-28  Alex Christensen  <achristensen@webkit.org>
1604
1605         Prevent displaying URLs with small capital letters
1606         https://bugs.webkit.org/show_bug.cgi?id=173949
1607         <rdar://problem/32952058>
1608
1609         Reviewed by Brent Fulgham.
1610
1611         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
1612         (TestWebKitAPI::TEST):
1613
1614 2017-06-28  Brent Fulgham  <bfulgham@apple.com>
1615
1616         Unreviewed test fix.
1617
1618         Disable the file monitor tests on iOS because the 'system' API is unavailable on that platform.
1619
1620         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: 
1621
1622 2017-06-28  Brent Fulgham  <bfulgham@apple.com>
1623
1624         Teach ResourceLoadStatistics to recognize changes in the file system
1625         https://bugs.webkit.org/show_bug.cgi?id=173800
1626         <rdar://problem/32937842>
1627
1628         Reviewed by Chris Dumez.
1629
1630         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1631         * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: Added.
1632         (TestWebKitAPI::FileMonitorTest::tempFilePath):
1633         (TestWebKitAPI::handleFileModification):
1634         (TestWebKitAPI::handleFileDeletion):
1635         (TestWebKitAPI::resetTestState):
1636         (TestWebKitAPI::TEST_F):
1637
1638 2017-06-28  Brady Eidson  <beidson@apple.com>
1639
1640         DocumentLoader should always notify the client if there are pending icon loads when the load is stopped.
1641         https://bugs.webkit.org/show_bug.cgi?id=173874
1642
1643         Reviewed by Alex Christensen.
1644
1645         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm:
1646
1647 2017-06-28  Don Olmstead  <don.olmstead@sony.com>
1648
1649         Unreviewed, adding Don Olmstead to contributors.json
1650
1651         * Scripts/webkitpy/common/config/contributors.json:
1652
1653 2017-06-28  Alex Christensen  <achristensen@webkit.org>
1654
1655         WebsitePolicies given with navigation policy for redirects should apply to the provisional document
1656         https://bugs.webkit.org/show_bug.cgi?id=173886
1657         <rdar://problem/32543191>
1658
1659         Reviewed by Andy Estes.
1660
1661         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
1662         (ParsedRange::ParsedRange):
1663         (-[TestSchemeHandler initWithVideoData:]):
1664         (-[TestSchemeHandler webView:startURLSchemeTask:]):
1665         (-[TestSchemeHandler webView:stopURLSchemeTask:]):
1666         (TEST):
1667
1668 2017-06-27  JF Bastien  <jfbastien@apple.com>
1669
1670         WebAssembly: running out of executable memory should throw OoM
1671         https://bugs.webkit.org/show_bug.cgi?id=171537
1672         <rdar://problem/32963338>
1673
1674         Reviewed by Saam Barati.
1675
1676         * Scripts/run-jsc-stress-tests: add a configuration which runs the
1677         tests under limited executable memory and avoids non-WebAssembly
1678         code generation so that we more reliably run out of executable
1679         memory in WebAssembly.
1680
1681 2017-06-27  Wenson Hsieh  <wenson_hsieh@apple.com>
1682
1683         [iOS DnD] Support dragging out of contenteditable areas without a prior selection
1684         https://bugs.webkit.org/show_bug.cgi?id=173854
1685         <rdar://problem/32236827>
1686
1687         Reviewed by Ryosuke Niwa and Tim Horton.
1688
1689         Adds a new test to check that an image can be dragged out of a contenteditable and dropped.
1690
1691         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1692         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-target.html: Added.
1693         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
1694         (TestWebKitAPI::TEST):
1695
1696 2017-06-27  Don Olmstead  <don.olmstead@sony.com>
1697
1698         [PAL] Add symbol export macros for PAL
1699         https://bugs.webkit.org/show_bug.cgi?id=171519
1700
1701         Reviewed by Konstantin Tokarev.
1702
1703         * DumpRenderTree/config.h:
1704         * TestWebKitAPI/CMakeLists.txt:
1705         * TestWebKitAPI/config.h:
1706         * WebKitTestRunner/config.h:
1707
1708 2017-06-27  John Wilander  <wilander@apple.com>
1709
1710         Resource Load Statistics: Add telemetry
1711         https://bugs.webkit.org/show_bug.cgi?id=173499
1712         <rdar://problem/32826094>
1713
1714         Reviewed by Brent Fulgham.
1715
1716         Adds three new testRunner functions:
1717         - installStatisticsDidRunTelemetryCallback()
1718         - statisticsFireTelemetryHandler()
1719         - setStatisticsNotifyPagesWhenTelemetryWasCaptured()
1720
1721         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1722         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1723         (WTR::InjectedBundle::didReceiveMessageToPage):
1724         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1725         (WTR::TestRunner::installStatisticsDidRunTelemetryCallback):
1726         (WTR::TestRunner::statisticsDidRunTelemetryCallback):
1727         (WTR::TestRunner::statisticsFireTelemetryHandler):
1728         (WTR::TestRunner::setStatisticsNotifyPagesWhenTelemetryWasCaptured):
1729         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1730         * WebKitTestRunner/TestController.cpp:
1731         (WTR::TestController::resetStateToConsistentValues):
1732         (WTR::TestController::statisticsFireTelemetryHandler):
1733         (WTR::TestController::setStatisticsNotifyPagesWhenTelemetryWasCaptured):
1734         * WebKitTestRunner/TestController.h:
1735         * WebKitTestRunner/TestInvocation.cpp:
1736         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1737
1738 2017-06-27  Ting-Wei Lan  <lantw44@gmail.com>
1739
1740         Add missing includes to fix compilation error on FreeBSD
1741         https://bugs.webkit.org/show_bug.cgi?id=172919
1742
1743         Reviewed by Mark Lam.
1744
1745         * ImageDiff/cairo/PlatformImageCairo.cpp:
1746
1747 2017-06-26  Jonathan Bedard  <jbedard@apple.com>
1748
1749         Unreviewed, rolling out r218783.
1750
1751         Causing accessibility/mac/setting-attributes-is-
1752         asynchronous.html to crash consistently on mac-wk2 Debug
1753
1754         Reverted changeset:
1755
1756         "AX: Cannot call setValue() on contenteditable or ARIA text
1757         controls"
1758         https://bugs.webkit.org/show_bug.cgi?id=173520
1759         http://trac.webkit.org/changeset/218783
1760
1761 2017-06-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1762
1763         [WTF] Drop Thread::create(obsolete things) API since we can use lambda
1764         https://bugs.webkit.org/show_bug.cgi?id=173825
1765
1766         Reviewed by Saam Barati.
1767
1768         * DumpRenderTree/JavaScriptThreading.cpp:
1769         (runJavaScriptThread):
1770         (startJavaScriptThreads):
1771         * DumpRenderTree/mac/DumpRenderTree.mm:
1772         (runThread):
1773         (runPthread):
1774         (testThreadIdentifierMap):
1775
1776 2017-06-26  David Kilzer  <ddkilzer@apple.com>
1777
1778         [TestWebKitAPI] Fix false-positive bad release warnings found by clang static analyzer
1779         <https://webkit.org/b/173837>
1780
1781         Reviewed by Geoffrey Garen.
1782
1783         The clang static analyzer can't reason about objects that are
1784         assigned to a delegate as +1 retained, and then released
1785         later in a different method when the delegate is cleared.
1786
1787         Instead, use a common idiom where the object setting the
1788         delegate retains it as an instance variable on initialization.
1789         Then the same object clears the delegate and releases its
1790         instance variable during teardown.
1791
1792         Also add EXPECT_TRUE() tests to make sure the delegate objects
1793         match before teardown.
1794
1795         * TestWebKitAPI/Tests/mac/FullscreenZoomInitialFrame.mm:
1796         (TestWebKitAPI::FullscreenZoomInitialFrame::initializeView):
1797         (TestWebKitAPI::FullscreenZoomInitialFrame::teardownView):
1798         * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
1799         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::initializeView):
1800         (TestWebKitAPI::PageVisibilityStateWithWindowChanges::teardownView):
1801
1802 2017-06-26  David Kilzer  <ddkilzer@apple.com>
1803
1804         [TestWebKitAPI] REGRESSION (r218750): Fix leak of NSURLResponse in WKURLSchemeHandler-1.mm
1805         <https://webkit.org/b/173836>
1806
1807         Reviewed by Brady Eidson.
1808
1809         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
1810         (-[RedirectSchemeHandler webView:startURLSchemeTask:]): Use
1811         adoptNS() to fix the leak.  Also use auto/adoptNS() for other
1812         objects in this test.
1813
1814 2017-06-26  Joanmarie Diggs  <jdiggs@igalia.com>
1815
1816         [ATK] Add support for aria-details and aria-errormessage
1817         https://bugs.webkit.org/show_bug.cgi?id=172588
1818
1819         Reviewed by Chris Fleizach.
1820
1821         Add additional methods to test ARIA properties which are exposed via
1822         AtkRelation. Also bump minimum versions of at-spi2-core and at-spi2-atk
1823         to versions which support the details and error-message relation types.
1824
1825         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1826         (WTR::AccessibilityUIElement::ariaDetailsElementAtIndex):
1827         (WTR::AccessibilityUIElement::ariaDetailsReferencingElementAtIndex):
1828         (WTR::AccessibilityUIElement::ariaErrorMessageElementAtIndex):
1829         (WTR::AccessibilityUIElement::ariaErrorMessageReferencingElementAtIndex):
1830         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1831         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
1832         (WTR::AccessibilityUIElement::ariaDetailsElementAtIndex):
1833         (WTR::AccessibilityUIElement::ariaDetailsReferencingElementAtIndex):
1834         (WTR::AccessibilityUIElement::ariaErrorMessageElementAtIndex):
1835         (WTR::AccessibilityUIElement::ariaErrorMessageReferencingElementAtIndex):
1836         * gtk/jhbuild.modules:
1837
1838 2017-06-26  Carlos Garcia Campos  <cgarcia@igalia.com>
1839
1840         Unreviewed. Add libfii to GTK+ install dependencies script.
1841
1842         * gtk/install-dependencies:
1843
1844 2017-06-25  Michael Catanzaro  <mcatanzaro@igalia.com>
1845
1846         Unreviewed, rolling out r215190.
1847
1848         Broke product select element on GNOME Bugzilla
1849
1850         Reverted changeset:
1851
1852         "[GTK] Misplaced right click menu on web page due to
1853         deprecated gtk_menu_popup()"
1854         https://bugs.webkit.org/show_bug.cgi?id=170553
1855         http://trac.webkit.org/changeset/215190
1856
1857 2017-06-24  Joseph Pecoraro  <pecoraro@apple.com>
1858
1859         Remove Reflect.enumerate
1860         https://bugs.webkit.org/show_bug.cgi?id=173806
1861
1862         Reviewed by Yusuke Suzuki.
1863
1864         * Scripts/run-jsc-stress-tests:
1865
1866 2017-06-24  Chris Fleizach  <cfleizach@apple.com>
1867
1868         AX: Cannot call setValue() on contenteditable or ARIA text controls
1869         https://bugs.webkit.org/show_bug.cgi?id=173520
1870
1871         Reviewed by Ryosuke Niwa.
1872
1873         Add setValue() method to WKTR (already existed in DRT).
1874
1875         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
1876         (WTR::AccessibilityUIElement::setValue):
1877         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
1878         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
1879         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
1880         (WTR::AccessibilityUIElement::setValue):
1881
1882 2017-06-23  Keith Miller  <keith_miller@apple.com>
1883
1884         Switch VMTraps to use halt instructions rather than breakpoint instructions
1885         https://bugs.webkit.org/show_bug.cgi?id=173677
1886
1887         Reviewed by JF Bastien.
1888
1889         * TestWebKitAPI/Tests/WTF/ThreadMessages.cpp:
1890         (TEST):
1891
1892 2017-06-23  Youenn Fablet  <youenn@apple.com>
1893
1894         Set getUserMedia permission to true by default on WTR
1895         https://bugs.webkit.org/show_bug.cgi?id=173610
1896
1897         Reviewed by Alex Christensen.
1898
1899         Adding a way to reset the getUserMedia permission to pending.
1900
1901         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1902         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1903         (WTR::InjectedBundle::setUserMediaPermissionAsUnset):
1904         * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
1905         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1906         (WTR::TestRunner::setUserMediaPermissionAsUnset):
1907         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1908         * WebKitTestRunner/TestController.cpp:
1909         (WTR::TestController::resetStateToConsistentValues):
1910         (WTR::TestController::setUserMediaPermissionAsUnset):
1911         * WebKitTestRunner/TestController.h:
1912         * WebKitTestRunner/TestInvocation.cpp:
1913         (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
1914
1915 2017-06-23  Alex Christensen  <achristensen@webkit.org>
1916
1917         Add SPI to WKURLSchemeTask for redirection
1918         https://bugs.webkit.org/show_bug.cgi?id=173730
1919
1920         Reviewed by Brady Eidson.
1921
1922         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
1923         (-[SchemeHandler webView:startURLSchemeTask:]):
1924         (-[SchemeHandler webView:stopURLSchemeTask:]):
1925         (TEST):
1926         (-[RedirectSchemeHandler webView:startURLSchemeTask:]):
1927         (-[RedirectSchemeHandler webView:stopURLSchemeTask:]):
1928         (-[RedirectSchemeHandler webView:didReceiveServerRedirectForProvisionalNavigation:]):
1929         (-[RedirectSchemeHandler webView:decidePolicyForNavigationResponse:decisionHandler:]):
1930         (-[RedirectSchemeHandler userContentController:didReceiveScriptMessage:]):
1931
1932 2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1933
1934         [WPE] Use JSC API to send script messages from web extension in tests
1935         https://bugs.webkit.org/show_bug.cgi?id=173757
1936
1937         Reviewed by Žan Doberšek.
1938
1939         The GTK+ uses DOM bindings to send the messages. We can just build the message string and use JSEvaluateScript
1940         to run postMessage().
1941
1942         Fixes: /wpe/WebKitSecurityManager/file-xhr
1943                /wpe/WebKitConsoleMessage/console-api
1944                /wpe/WebKitConsoleMessage/js-exception
1945                /wpe/WebKitConsoleMessage/network-error
1946                /wpe/WebKitConsoleMessage/security-error
1947
1948         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:
1949         (testWebKitConsoleMessageSecurityError): Remove ifdefs.
1950         (beforeAll): Ditto.
1951         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:
1952         (testWebContextSecurityFileXHR): Ditto.
1953         (beforeAll): Ditto.
1954         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
1955         (consoleMessageSentCallback): Use JSEvaluateScript in WPE. We need to escape the '"' in the message string.
1956         (pageCreatedCallback): Remove ifdefs.
1957
1958 2017-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1959
1960         Unreviewed. Fix WPE /wpe/WebKitWebView/javascript-dialogs and /wpe/WebKitWebView/window-properties
1961
1962         Skip onbeforeunload dialog tests for now in WPE since we don't have a implemention for
1963         simulateUserInteraction(). And do not expect changes in "geometry" property of WebKitWindowProperties that
1964         doesn't exist yet in WPE.
1965
1966         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
1967         (testWebViewJavaScriptDialogs):
1968         (testWebViewWindowProperties):
1969
1970 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1971
1972         [GTK] Upgrade pixman and cairo in jhbuild
1973         https://bugs.webkit.org/show_bug.cgi?id=173710
1974
1975         Reviewed by Carlos Alberto Lopez Perez.
1976
1977         * gtk/jhbuild.modules:
1978
1979 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1980
1981         REGRESSION(r218686): [GTK] Several unit tests are failing after r218686 in the bots
1982         https://bugs.webkit.org/show_bug.cgi?id=173711
1983
1984         Reviewed by Carlos Alberto Lopez Perez.
1985
1986         I can't reproduce it locally, but it's complaining about a g_setenv() and I only added one in r218686 to recover
1987         the XDG_RUNTIME_DIR, because it's required by Wayland to work. So, I guess that env var is not set in the bots.
1988
1989         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.cpp:
1990         (WebKitTestBus::run): Ensure value is not nullptr before calling g_setenv().
1991
1992 2017-06-22  David Kilzer  <ddkilzer@apple.com>
1993
1994         REGRESSION (r218419): 7 leaks in PluginLoadClientPolicies.mm
1995         <https://webkit.org/b/173721>
1996
1997         Reviewed by Joseph Pecoraro.
1998
1999         Use RetainPtr<> to create NSMutableDictionary and NSNumber
2000         objects to fix leaks and to avoid the autoreleasepool.
2001
2002         * TestWebKitAPI/Tests/WebKit2Cocoa/PluginLoadClientPolicies.mm:
2003         (TEST):
2004
2005 2017-06-22  Matt Lewis  <jlewis3@apple.com>
2006
2007         Unreviewed, rolling out r218633.
2008
2009         The test is failing frequently on Sierra Debug and Windows
2010
2011         Reverted changeset:
2012
2013         "AX: Cannot call setValue() on contenteditable or ARIA text
2014         controls"
2015         https://bugs.webkit.org/show_bug.cgi?id=173520
2016         http://trac.webkit.org/changeset/218633
2017
2018 2017-06-22  David Kilzer  <ddkilzer@apple.com>
2019
2020         [TestWebKitAPI] Fix misuse of -[NSData dataWithBytesNoCopy:length:] with global variables
2021         <https://webkit.org/b/173690>
2022
2023         Reviewed by Chris Dumez.
2024
2025         Per documentation, -[NSData dataWithBytesNoCopy:length:] takes
2026         ownership of malloc()-ed memory, then frees it when it's
2027         released.  These tests were passing global variables into the
2028         method, which is not malloc()-ed memory, which violates the API
2029         contract.
2030
2031         The fix is to switch to use
2032         -[NSData dataWithBytesNoCopy:length:freeWhenDone:] and to pass
2033         NO for the last argument.
2034
2035         Caught by the clang static analyzer.
2036
2037         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm:
2038         (TEST):
2039         * TestWebKitAPI/Tests/WebKit2Cocoa/WKURLSchemeHandler-1.mm:
2040         (TEST):
2041
2042 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2043
2044         [GTK] Upgrade Harfbuzz to version 1.4.2
2045         https://bugs.webkit.org/show_bug.cgi?id=173592
2046
2047         Reviewed by Carlos Alberto Lopez Perez.
2048
2049         * gtk/jhbuild.modules:
2050
2051 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2052
2053         [WPE] Update WPEBackend-mesa
2054         https://bugs.webkit.org/show_bug.cgi?id=173705
2055
2056         Reviewed by Carlos Alberto Lopez Perez.
2057
2058         A crash has been fixed, needed for unit tests to work.
2059
2060         * wpe/jhbuild.modules:
2061
2062 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2063
2064         Remove unused coordinated graphics C API
2065         https://bugs.webkit.org/show_bug.cgi?id=173706
2066
2067         Reviewed by Žan Doberšek.
2068
2069         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive.cpp: Removed.
2070         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewIsActiveSetIsActive_Bundle.cpp: Removed.
2071         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewRestoreZoomAndScrollBackForward.cpp: Removed.
2072         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/WKViewUserViewportToContents.cpp: Removed.
2073         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward1.html: Removed.
2074         * TestWebKitAPI/Tests/WebKit2/CoordinatedGraphics/backforward2.html: Removed.
2075
2076 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2077
2078         [WPE] Build glib API tests
2079         https://bugs.webkit.org/show_bug.cgi?id=173702
2080
2081         Reviewed by Žan Doberšek.
2082
2083         Many of the tests pass without problems, others need to be investigated, and some others are known issues. The
2084         main difference between the GTK+ and WPE WebKitWebView is that in GTK+ it's a GtkWidget, so initially
2085         unowned. The tests assume that webkit_web_view_new methods return a floating reference. This patch adds
2086         Test::adoptView() method that returns a GRefPtr<WebKitWebView> with a different implementation in GTK+ and
2087         WPE. In the case of GTK+, it sinks the floating reference, while in WPE it simply adopts the reference. Another
2088         difference is that in GTK+ the web view is initially hidden and needs to be added to a window to make it
2089         visible. Also, some tests need the web view to be realized to work, and others need that the view is added to a
2090         toplevel window, instead of a popup window. All those things are not needed at all in WPE. I've added several
2091         #ifdefs with FIXME comments for the things that we know don't work in WPE yet, for example, because we haven't
2092         implemented the methods to send events to the web view. Those will be removed eventually when we fix the issues
2093         and implement the missing features.
2094
2095         * CMakeLists.txt:
2096         * TestWebKitAPI/Tests/WebKit2Gtk/EditorTest.cpp:
2097         * TestWebKitAPI/Tests/WebKitGLib/FrameTest.cpp:
2098         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:
2099         (testAutomationSessionRequestSession):
2100         * TestWebKitAPI/Tests/WebKitGLib/TestBackForwardList.cpp:
2101         (testWebKitWebViewSessionState):
2102         (testWebKitWebViewSessionStateWithFormData):
2103         (testWebKitWebViewNavigationAfterSessionRestore):
2104         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:
2105         (beforeAll):
2106         * TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp:
2107         (testCookieManagerEphemeral):
2108         * TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:
2109         (testBlobDownload):
2110         (beforeAll):
2111         * TestWebKitAPI/Tests/WebKitGLib/TestFrame.cpp:
2112         * TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp:
2113         * TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:
2114         (testProcessPerWebView):
2115         * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp:
2116         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
2117         (testWebViewCreateNavigationData):
2118         (testWebViewJavaScriptDialogs):
2119         (testWebViewWindowProperties):
2120         (testWebViewMouseTarget):
2121         (testWebViewGeolocationPermissionRequests):
2122         (testWebViewUserMediaPermissionRequests):
2123         (testWebViewAudioOnlyUserMediaPermissionRequests):
2124         (testWebViewFileChooserRequest):
2125         (beforeAll):
2126         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
2127         (beforeAll):
2128         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp:
2129         (testPrivateBrowsing):
2130         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFindController.cpp:
2131         (testFindControllerHide):
2132         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp:
2133         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
2134         (testWebKitSettings):
2135         (beforeAll):
2136         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitUserContentManager.cpp:
2137         (testWebViewNewWithUserContentManager):
2138         (beforeAll):
2139         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:
2140         (testWebContextEphemeral):
2141         (testWebContextProxySettings):
2142         (beforeAll):
2143         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp:
2144         (testWebViewWebContext):
2145         (testWebViewWebContextLifetime):
2146         (testWebViewEphemeral):
2147         (testWebViewSettings):
2148         (testWebViewCanShowMIMEType):
2149         (testWebViewPageVisibility):
2150         (testWebViewIsPlayingAudio):
2151         (beforeAll):
2152         * TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp:
2153         (testWebsiteDataEphemeral):
2154         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
2155         (documentLoadedCallback):
2156         (pageCreatedCallback):
2157         (methodCallCallback):
2158         * TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.h:
2159         * TestWebKitAPI/glib/CMakeLists.txt:
2160         * TestWebKitAPI/glib/PlatformGTK.cmake:
2161         * TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.cpp:
2162         * TestWebKitAPI/glib/WebKitGLib/TestMain.cpp:
2163         (main):
2164         * TestWebKitAPI/glib/WebKitGLib/TestMain.h:
2165         (Test::adoptView):
2166         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.cpp:
2167         (WebKitTestBus::run):
2168         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp:
2169         (WebViewTest::~WebViewTest):
2170         (WebViewTest::initializeWebView):
2171         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:
2172         * TestWebKitAPI/glib/WebKitGLib/gtk/WebViewTestGtk.cpp: Added.
2173         (WebViewTest::platformDestroy):
2174         (WebViewTest::platformInitializeWebView):
2175         (WebViewTest::quitMainLoopAfterProcessingPendingEvents):
2176         (WebViewTest::resizeView):
2177         (WebViewTest::hideView):
2178         (parentWindowMapped):
2179         (WebViewTest::showInWindow):
2180         (WebViewTest::showInWindowAndWaitUntilMapped):
2181         (WebViewTest::mouseMoveTo):
2182         (WebViewTest::clickMouseButton):
2183         (WebViewTest::emitPopupMenuSignal):
2184         (WebViewTest::keyStroke):
2185         (WebViewTest::doMouseButtonEvent):
2186         * TestWebKitAPI/glib/WebKitGLib/wpe/WebViewTestWPE.cpp: Copied from Tools/TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.h.
2187         (WebViewTest::platformDestroy):
2188         (WebViewTest::platformInitializeWebView):
2189         (WebViewTest::quitMainLoopAfterProcessingPendingEvents):
2190         (WebViewTest::resizeView):
2191         (WebViewTest::hideView):
2192         (WebViewTest::mouseMoveTo):
2193         (WebViewTest::clickMouseButton):
2194         (WebViewTest::keyStroke):
2195
2196 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2197
2198         [GTK] Move WebKit2 GLib API tests to glib directories
2199         https://bugs.webkit.org/show_bug.cgi?id=173642
2200
2201         Reviewed by Žan Doberšek.
2202
2203         * CMakeLists.txt:
2204         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: Removed.
2205         * TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Removed.
2206         * TestWebKitAPI/Tests/WebKitGLib/FrameTest.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/FrameTest.cpp.
2207         * TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestAuthentication.cpp.
2208         * TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestAutomationSession.cpp.
2209         * TestWebKitAPI/Tests/WebKitGLib/TestBackForwardList.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestBackForwardList.cpp.
2210         * TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestConsoleMessage.cpp.
2211         (testWebKitConsoleMessageNetworkError):
2212         * TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestCookieManager.cpp.
2213         * TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp.
2214         * TestWebKitAPI/Tests/WebKitGLib/TestFrame.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestFrame.cpp.
2215         * TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp.
2216         (testLoadFromGResource):
2217         * TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestMultiprocess.cpp.
2218         * TestWebKitAPI/Tests/WebKitGLib/TestResources.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestResources.cpp.
2219         * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestSSL.cpp.
2220         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp.
2221         * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebExtensions.cpp.
2222         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFaviconDatabase.cpp.
2223         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitFindController.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitFindController.cpp.
2224         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitPolicyClient.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitPolicyClient.cpp.
2225         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSecurityOrigin.cpp.
2226         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitSettings.cpp.
2227         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitUserContentManager.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitUserContentManager.cpp.
2228         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp.
2229         * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp.
2230         (testWebViewRunJavaScript):
2231         * TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebsiteData.cpp.
2232         * TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp.
2233         (registerGResource):
2234         * TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.cpp.
2235         * TestWebKitAPI/Tests/WebKitGLib/WebProcessTest.h: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h.
2236         * TestWebKitAPI/Tests/WebKitGLib/resources/blank.ico: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/blank.ico.
2237         * TestWebKitAPI/Tests/WebKitGLib/resources/boring.html: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html.
2238         * TestWebKitAPI/Tests/WebKitGLib/resources/link-title.js: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/link-title.js.
2239         * TestWebKitAPI/Tests/WebKitGLib/resources/silence.mpg: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/silence.mpg.
2240         * TestWebKitAPI/Tests/WebKitGLib/resources/simple.json: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/simple.json.
2241         * TestWebKitAPI/Tests/WebKitGLib/resources/test-cert.pem: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test-cert.pem.
2242         * TestWebKitAPI/Tests/WebKitGLib/resources/test-key.pem: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test-key.pem.
2243         * TestWebKitAPI/Tests/WebKitGLib/resources/test.pdf: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/test.pdf.
2244         * TestWebKitAPI/Tests/WebKitGLib/resources/track.ogg: Renamed from Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/track.ogg.
2245         * TestWebKitAPI/Tests/WebKitGLib/resources/webkitglib-tests.gresource.xml: Added.
2246         * TestWebKitAPI/glib/CMakeLists.txt: Added.
2247         * TestWebKitAPI/glib/PlatformGTK.cmake: Added.
2248         * TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.cpp.
2249         * TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/LoadTrackingTest.h.
2250         * TestWebKitAPI/glib/WebKitGLib/TestMain.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.cpp.
2251         (registerGResource):
2252         * TestWebKitAPI/glib/WebKitGLib/TestMain.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/TestMain.h.
2253         (Test::getResourcesDir):
2254         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.cpp.
2255         * TestWebKitAPI/glib/WebKitGLib/WebKitTestBus.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestBus.h.
2256         * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp.
2257         * TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.h.
2258         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp.
2259         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.h: Renamed from Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.h.
2260
2261 2017-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2262
2263         [WPE] Add initial web extensions API
2264         https://bugs.webkit.org/show_bug.cgi?id=173640
2265
2266         Reviewed by Žan Doberšek.
2267
2268         Add style checker exceptions for WPE web extensions API files.
2269
2270         * Scripts/webkitpy/style/checker.py:
2271
2272 2017-06-21  Wenson Hsieh  <wenson_hsieh@apple.com>
2273
2274         [iOS DnD] [WK2] Cancelling a drag interaction using the ObjC SPI causes subsequent dragging to fail
2275         https://bugs.webkit.org/show_bug.cgi?id=173659
2276         <rdar://problem/32879788>
2277
2278         Reviewed by Tim Horton.
2279
2280         Adds a new test to verify that a lift cancelled within the UI process does not cause subsequent dragging to fail.
2281
2282         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-target-div.html:
2283
2284         Augment this test page to log dragend and dragstart events on the drag source as well.
2285
2286         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2287         (checkStringArraysAreEqual):
2288         (TestWebKitAPI::TEST):
2289
2290 2017-06-21  Antoine Quint  <graouts@apple.com>
2291
2292         Ensure DRT always logs rAF suspension debugging code
2293         https://bugs.webkit.org/show_bug.cgi?id=173681
2294
2295         Reviewed by Tim "Mr. T" Horton.
2296
2297         * DumpRenderTree/mac/DumpRenderTree.mm:
2298         (resetWebPreferencesToConsistentValues):
2299
2300 2017-06-21  Chris Dumez  <cdumez@apple.com>
2301
2302         Allow constructing a WTF:Function from a function pointer
2303         https://bugs.webkit.org/show_bug.cgi?id=173660
2304
2305         Reviewed by Alex Christensen.
2306
2307         Add API test coverage.
2308
2309         * TestWebKitAPI/Tests/WTF/Function.cpp:
2310         (TestWebKitAPI::returnThree):
2311         (TestWebKitAPI::returnFour):
2312         (TestWebKitAPI::returnPassedValue):
2313         (TestWebKitAPI::TEST):
2314
2315 2017-06-21  Antoine Quint  <graouts@apple.com>
2316
2317         Add logging to identify when the Page suspends scripted animations
2318         https://bugs.webkit.org/show_bug.cgi?id=173626
2319
2320         Reviewed by Tim Horton.
2321
2322         Turn the new logging on for WK1/DRT since the issue we're trying to pinpoint only occurs on WK1 bots.
2323
2324         * DumpRenderTree/mac/DumpRenderTree.mm:
2325         (resetWebPreferencesToConsistentValues):
2326
2327 2017-06-21  Chris Fleizach  <cfleizach@apple.com>
2328
2329         AX: Cannot call setValue() on contenteditable or ARIA text controls
2330         https://bugs.webkit.org/show_bug.cgi?id=173520
2331
2332         Reviewed by Ryosuke Niwa.
2333
2334         Add setValue() method to WKTR (already existed in DRT).
2335
2336         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
2337         (WTR::AccessibilityUIElement::setValue):
2338         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
2339         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
2340         * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
2341         (WTR::AccessibilityUIElement::setValue):
2342
2343 2017-06-21  Zan Dobersek  <zdobersek@igalia.com>
2344
2345         List libtasn1 packages in GTK+ and WPE install-dependencies scripts
2346         as one of the dependencies required to build the product.
2347
2348         Rubber-stamped by Carlos Garcia Campos.
2349
2350         * gtk/install-dependencies:
2351         * wpe/install-dependencies:
2352
2353 2017-06-20  Myles C. Maxfield  <mmaxfield@apple.com>
2354
2355         Disable font variations on macOS Sierra and iOS 10
2356         https://bugs.webkit.org/show_bug.cgi?id=173618
2357         <rdar://problem/32879164>
2358
2359         Reviewed by Jon Lee.
2360
2361         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2362
2363 2017-06-20  Wenson Hsieh  <wenson_hsieh@apple.com>
2364
2365         [iOS DnD] [WK2] Remove custom logic for disambiguating long press action sheet gestures and drag lift
2366         https://bugs.webkit.org/show_bug.cgi?id=173578
2367         <rdar://problem/32825028>
2368
2369         Reviewed by Tim Horton.
2370
2371         Slight tweak to ensure that DataInteractionTests.CustomActionSheetPopover still passes and verifies that showing
2372         a custom popover does not cause dragging to fail when the popover is presented.
2373
2374         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2375         (-[DataInteractionSimulator _advanceProgress]):
2376
2377 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2378
2379         [WPE] Add initial implementation of glib API
2380         https://bugs.webkit.org/show_bug.cgi?id=173546
2381
2382         Reviewed by Žan Doberšek.
2383
2384         Disable geolocation because WPE doesn't implement any provider and update the style checker exceptions to
2385         include WPE glib API files.
2386
2387         * Scripts/webkitperl/FeatureList.pm:
2388         * Scripts/webkitpy/style/checker.py:
2389         * Scripts/webkitpy/style/checkers/cpp.py:
2390         (check_identifier_name_in_declaration):
2391
2392 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2393
2394         [GTK] Upgrade to ICU to version 57.1
2395         https://bugs.webkit.org/show_bug.cgi?id=173538
2396
2397         Reviewed by Žan Doberšek.
2398
2399         * gtk/jhbuild.modules:
2400
2401 2017-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2402
2403         [GTK] Remove unneeded modules from the jhbuild
2404         https://bugs.webkit.org/show_bug.cgi?id=170540
2405
2406         Reviewed by Michael Catanzaro.
2407
2408         We are building libxslt and libffi that we don't really need to build from sources.
2409
2410         * gtk/jhbuild.modules:
2411
2412 2017-06-19  Frederic Wang  <fwang@igalia.com>
2413
2414         [Mac] Add an experimental feature setting for async frame scrolling
2415         https://bugs.webkit.org/show_bug.cgi?id=173359
2416
2417         Reviewed by Simon Fraser.
2418
2419         * DumpRenderTree/mac/DumpRenderTree.mm:
2420         (enableExperimentalFeatures): Do not enable async frame scrolling for now.
2421         (resetWebPreferencesToConsistentValues): Disable async frame scrolling by default.
2422         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2423         (WTR::InjectedBundle::beginTesting): Initalize to async frame scrolling to false.
2424
2425 2017-06-19  Guillaume Emont  <guijemont@igalia.com>
2426
2427         Unreviewed, adding myself to contributors.json
2428
2429         * Scripts/webkitpy/common/config/contributors.json:
2430
2431 2017-06-19  Joseph Pecoraro  <pecoraro@apple.com>
2432
2433         test262: Completion values for control flow do not match the spec
2434         https://bugs.webkit.org/show_bug.cgi?id=171265
2435
2436         Reviewed by Saam Barati.
2437
2438         * Scripts/run-jsc-stress-tests:
2439         Include a :failDueToOutdatedOrBadTest to mark failures with justification.
2440
2441 2017-06-19  Zalan Bujtas  <zalan@apple.com>
2442
2443         Opening certain mails brings up a mail that grows indefinitely.
2444         https://bugs.webkit.org/show_bug.cgi?id=173562
2445         <rdar://problem/32766579>
2446
2447         Reviewed by Tim Horton.
2448
2449         * TestWebKitAPI/Tests/WebKit2Cocoa/AutoLayoutIntegration.mm:
2450         (TEST):
2451
2452 2017-06-19  Wenson Hsieh  <wenson_hsieh@apple.com>
2453
2454         [iOS DnD] Support .zip archives for file uploads via drag and drop
2455         https://bugs.webkit.org/show_bug.cgi?id=173511
2456         <rdar://problem/32521025>
2457
2458         Reviewed by Tim Horton.
2459
2460         Adds tests for dropping .zip archives into a JavaScript-based file upload area, as well as into a file input.
2461         Also verifies that URLs are not handled as file drops. See WebCore ChangeLog for more details.
2462
2463         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2464         * TestWebKitAPI/Tests/WebKit2Cocoa/compressed-files.zip: Added.
2465         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2466         (testZIPArchive):
2467         (TestWebKitAPI::TEST):
2468
2469 2017-06-18  Darin Adler  <darin@apple.com>
2470
2471         Fix Ref to deref before assignment, add tests for this to RefPtr, Ref, Function
2472         https://bugs.webkit.org/show_bug.cgi?id=173526
2473
2474         Reviewed by Sam Weinig.
2475
2476         * TestWebKitAPI/CMakeLists.txt: Added Function.cpp.
2477         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Ditto.
2478
2479         * TestWebKitAPI/Tests/WTF/Function.cpp: Added. Contains basic tests and some
2480         tests for assignment before destruction ones.
2481
2482         * TestWebKitAPI/Tests/WTF/MoveOnly.h: Added a () operator so this can be used
2483         as a function, so it can be used in WTF::Function tests.
2484
2485         * TestWebKitAPI/Tests/WTF/Ref.cpp: Use EXPECT macros insead of ASSERT.
2486         Added tests for swap and for assignment before deref.
2487
2488         * TestWebKitAPI/Tests/WTF/RefLogger.cpp: Stopped using inlining; no good reason
2489         to inline everything. Also removed the unnecessary clearing of the log every time
2490         the DerivedRefLogger constructor is called.
2491         * TestWebKitAPI/Tests/WTF/RefLogger.h: Ditto.
2492
2493         * TestWebKitAPI/Tests/WTF/RefPtr.cpp: Use EXPECT macros instead of ASSERT.
2494         Added tests for assignment before deref and similar for releaseNonNull.
2495
2496 2017-06-19  Sam Weinig  <sam@webkit.org>
2497
2498         [WebIDL] Properly model buffer source / typed arrays as their own IDL types
2499         https://bugs.webkit.org/show_bug.cgi?id=173513
2500
2501         Reviewed by Alex Christensen.
2502
2503         * DumpRenderTree/Bindings/CodeGeneratorDumpRenderTree.pm:
2504         * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
2505         Replace IsNonPointerType subroutine with IsPrimitiveType so we can remove IsNonPointerType.
2506
2507 2017-06-19  Per Arne Vollan  <pvollan@apple.com>
2508
2509         [Win] fast/dom/assign-to-window-status.html is flaky.
2510         https://bugs.webkit.org/show_bug.cgi?id=173512
2511
2512         Reviewed by Alex Christensen.
2513
2514         We should not dump status callbacks when test is done.
2515
2516         * DumpRenderTree/win/UIDelegate.cpp:
2517         (UIDelegate::setStatusText):
2518
2519 2017-06-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2520
2521         [WPE][JHBuild] Update WPEBackend-mesa
2522         https://bugs.webkit.org/show_bug.cgi?id=173433
2523
2524         Unreviewed.
2525
2526         Update WPEBackend-mesa back (like it was done originally in r218344)
2527         after fixing the issue with the DISPLAY environment variables that
2528         caused the crashes.
2529
2530         * wpe/jhbuild.modules:
2531
2532 2017-06-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2533
2534         Rename unit test file after r218482
2535         https://bugs.webkit.org/show_bug.cgi?id=173483
2536
2537         Unreviewed.
2538
2539         * Scripts/webkitpy/port/waylanddriver_unittest.py: Renamed from Tools/Scripts/webkitpy/port/wayland_unittest.py.
2540
2541 2017-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2542
2543         Unreviewed. Fix wrong style checker condition added in r218487.
2544
2545         * Scripts/webkitpy/style/checkers/cpp.py:
2546         (check_identifier_name_in_declaration):
2547
2548 2017-06-19  Adrian Perez de Castro  <aperez@igalia.com>
2549
2550         Missing <functional> includes make builds fail with GCC 7.x
2551         https://bugs.webkit.org/show_bug.cgi?id=173544
2552
2553         Unreviewed gardening.
2554
2555         Fix compilation with GCC 7.
2556
2557         * TestWebKitAPI/Tests/WTF/HashSet.cpp:
2558         * TestWebKitAPI/Tests/WebKit2Gtk/WebProcessTest.h:
2559
2560 2017-06-19  Carlos Garcia Campos  <cgarcia@igalia.com>
2561
2562         [GTK] Move GTK+ API files that could be shared to glib dirs
2563         https://bugs.webkit.org/show_bug.cgi?id=173545
2564
2565         Reviewed by Žan Doberšek.
2566
2567         Update paths of GTK+ API in watchlist and style checker.
2568
2569         * Scripts/webkitpy/common/config/watchlist:
2570         * Scripts/webkitpy/style/checker.py:
2571         * Scripts/webkitpy/style/checkers/cpp.py:
2572         (check_identifier_name_in_declaration):
2573
2574 2017-06-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2575
2576         Port setup_environ_for_server should not set environment variables related with the driver.
2577         https://bugs.webkit.org/show_bug.cgi?id=173483
2578
2579         Reviewed by Carlos Garcia Campos.
2580
2581         The port setup_environ_for_server() should not set environment variables
2582         that depend on the type of driver (like DISPLAY or GDK_BACKEND).
2583         This varibles should be only set on the driver setup_environ_for_test().
2584
2585         This causes that (for example) the variable DISPLAY or XAUTHORITY leaks
2586         into the test environment even when running the tests with a driver
2587         that is not the Xorg or Xvfb one.
2588
2589         * Scripts/webkitpy/port/base.py: Stop setting XAUTHORITY and DISPLAY here.
2590         (Port.to.setup_environ_for_server):
2591         * Scripts/webkitpy/port/driver.py: Remove unneded WEBKIT_OUTPUTDIR that is already set on base.py
2592         (Driver._setup_environ_for_driver):
2593         * Scripts/webkitpy/port/driver_unittest.py:
2594         (DriverTest.test_setup_environ_for_test):
2595         (DriverTest):
2596         (DriverTest.test_setup_environ_base_vars):
2597         * Scripts/webkitpy/port/gtk.py: Stop setting GDK_BACKEND here and do that on the driver (Xvfb).
2598         (GtkPort.setup_environ_for_server):
2599         * Scripts/webkitpy/port/wayland_unittest.py: Added.
2600         (WaylandDriverTest):
2601         (WaylandDriverTest.make_driver):
2602         (WaylandDriverTest.make_environment):
2603         (WaylandDriverTest.test_checkdriver):
2604         (WaylandDriverTest.test_environment_needed_variables):
2605         (WaylandDriverTest.test_environment_forbidden_variables):
2606         (WaylandDriverTest.test_environment_optional_variables):
2607         * Scripts/webkitpy/port/waylanddriver.py: Allow the driver to run also with WAYLAND_SOCKET.
2608         (WaylandDriver.check_driver):
2609         (WaylandDriver._setup_environ_for_test):
2610         * Scripts/webkitpy/port/xorgdriver.py:
2611         (XorgDriver.check_driver):
2612         (XorgDriver._setup_environ_for_test):
2613         * Scripts/webkitpy/port/xorgdriver_unittest.py: Added.
2614         (XorgDriverTest):
2615         (XorgDriverTest.make_driver):
2616         (XorgDriverTest.make_environment):
2617         (XorgDriverTest.test_checkdriver):
2618         (XorgDriverTest.test_environment_needed_variables):
2619         (XorgDriverTest.test_environment_forbidden_variables):
2620         (XorgDriverTest.test_environment_optional_variables):
2621         * Scripts/webkitpy/port/xvfbdriver.py:
2622         (XvfbDriver._setup_environ_for_test):
2623         * Scripts/webkitpy/port/xvfbdriver_unittest.py:
2624         (XvfbDriverTest.assertDriverStartSuccessful):
2625
2626
2627 2017-05-14 Frederic Wang  <fwang@igalia.com>
2628
2629         Add heuristic to avoid flattening "fullscreen" iframes
2630         https://bugs.webkit.org/show_bug.cgi?id=171914
2631
2632         Reviewed by Simon Fraser.
2633
2634         * DumpRenderTree/mac/DumpRenderTree.mm:
2635         (resetWebPreferencesToConsistentValues): Use WebKitFrameFlatteningDisabled.
2636
2637 2017-06-18  Chris Dumez  <cdumez@apple.com>
2638
2639         Crash when re-entering MediaDevicesEnumerationRequest::cancel()
2640         https://bugs.webkit.org/show_bug.cgi?id=173522
2641         <rdar://problem/31185739>
2642
2643         Reviewed by Darin Adler.
2644
2645         Add API test for re-entering Function's assignment operators.
2646
2647         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2648         * TestWebKitAPI/Tests/WTF/Function.cpp: Added.
2649         (TestWebKitAPI::TestObject::TestObject):
2650         (TestWebKitAPI::TestObject::~TestObject):
2651         (TestWebKitAPI::TestObject::operator()):
2652         (TestWebKitAPI::TEST):
2653
2654 2017-06-16  Dan Bernstein  <mitz@apple.com>
2655
2656         [Cocoa] Some declarations have missing or incorrect availability attributes
2657         https://bugs.webkit.org/show_bug.cgi?id=173508
2658
2659         Reviewed by Tim Horton.
2660
2661         * TestWebKitAPI/Tests/ios/PositionInformationTests.mm:
2662         (TestWebKitAPI::TEST): Updated for renames.
2663
2664 2017-06-16  Wenson Hsieh  <wenson_hsieh@apple.com>
2665
2666         [iOS DnD] Upstream iOS drag and drop implementation into OpenSource WebKit
2667         https://bugs.webkit.org/show_bug.cgi?id=173366
2668         <rdar://problem/32767014>
2669
2670         Reviewed by Tim Horton.
2671
2672         Move test pages and pieces of DataInteractionSimulator hidden behind WebKitAdditions into TestWebKitAPI. No
2673         change in behavior.
2674
2675         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2676         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2677         * TestWebKitAPI/Tests/WebKit2Cocoa/autofocus-contenteditable.html: Added.
2678         * TestWebKitAPI/Tests/WebKit2Cocoa/background-image-link-and-input.html: Added.
2679         * TestWebKitAPI/Tests/WebKit2Cocoa/contenteditable-and-textarea.html: Added.
2680         * TestWebKitAPI/Tests/WebKit2Cocoa/div-and-large-image.html: Added.
2681         * TestWebKitAPI/Tests/WebKit2Cocoa/file-uploading.html: Added.
2682         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-contenteditable.html: Added.
2683         * TestWebKitAPI/Tests/WebKit2Cocoa/image-and-textarea.html: Added.
2684         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-input.html: Added.
2685         * TestWebKitAPI/Tests/WebKit2Cocoa/link-and-target-div.html: Added.
2686         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-operation.html: Added.
2687         * TestWebKitAPI/Tests/WebKit2Cocoa/prevent-start.html: Added.
2688         * TestWebKitAPI/Tests/WebKit2Cocoa/textarea-to-input.html: Added.
2689         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2690         (-[MockDragDropSession initWithItems:location:window:]):
2691         (-[MockDragDropSession allowsMoveOperation]):
2692         (-[MockDragDropSession isRestrictedToDraggingApplication]):
2693         (-[MockDragDropSession hasItemsConformingToTypeIdentifiers:]):
2694         (-[MockDragDropSession canLoadObjectsOfClass:]):
2695         (-[MockDragDropSession canLoadObjectsOfClasses:]):
2696         (-[MockDragDropSession items]):
2697         (-[MockDragDropSession setItems:]):
2698         (-[MockDragDropSession locationInView:]):
2699         (-[MockDataOperationSession initWithProviders:location:window:]):
2700         (-[MockDataOperationSession session]):
2701         (-[MockDataOperationSession isLocal]):
2702         (-[MockDataOperationSession progress]):
2703         (-[MockDataOperationSession setProgressIndicatorStyle:]):
2704         (-[MockDataOperationSession progressIndicatorStyle]):
2705         (-[MockDataOperationSession operationMask]):
2706         (-[MockDataOperationSession localDragSession]):
2707         (-[MockDataOperationSession hasItemsConformingToTypeIdentifier:]):
2708         (-[MockDataOperationSession canCreateItemsOfClass:]):
2709         (-[MockDataOperationSession loadObjectsOfClass:completion:]):
2710         (-[MockDataInteractionSession initWithWindow:]):
2711         (-[MockDataInteractionSession localOperationMask]):
2712         (-[MockDataInteractionSession externalOperationMask]):
2713         (-[MockDataInteractionSession session]):
2714         (-[DataInteractionSimulator _advanceProgress]):
2715
2716 2017-06-16  Alex Christensen  <achristensen@webkit.org>
2717
2718         Show punycode to user if a URL has dotless i or j followed by diacritic dot
2719         https://bugs.webkit.org/show_bug.cgi?id=173431
2720
2721         Reviewed by Darin Adler.
2722
2723         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
2724         (TestWebKitAPI::TEST):
2725
2726 2017-06-16  Chris Dumez  <cdumez@apple.com>
2727
2728         [WK2] Add WKProcessPool SPI to efficiently reset all plugin load client policies
2729         https://bugs.webkit.org/show_bug.cgi?id=173472
2730         <rdar://problem/28858817>
2731
2732         Reviewed by Brady Eidson.
2733
2734         Add API test coverage.
2735
2736         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2737         * TestWebKitAPI/Tests/WebKit2Cocoa/PluginLoadClientPolicies.mm: Added.
2738         (TEST):
2739
2740 2017-06-16  Brady Eidson  <beidson@apple.com>
2741
2742         REGRESSION (r218015) IconLoaders for already-cached resources expect to be asynchronous, no longer are.
2743         <rdar://problem/32817519> and https://bugs.webkit.org/show_bug.cgi?id=173478
2744
2745         Reviewed by Daniel Bates.
2746
2747         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm:
2748
2749 2017-06-16  Chris Dumez  <cdumez@apple.com>
2750
2751         DRT fails to reset page visibility between tests
2752         https://bugs.webkit.org/show_bug.cgi?id=173485
2753
2754         Reviewed by Alexey Proskuryakov.
2755
2756         DRT fails to reset page visibility between tests and relies on tests calling testRunner.resetPageVisibility().
2757         Fix this to address flakiness.
2758
2759         I confirmed this by commenting out the call to testRunner.resetPageVisibility() in
2760         fast/events/page-visibility-onvisibilitychange.html and running the test in a loop.
2761         The test became flaky without the DRT change and was no longer flaky with the DRT
2762         change.
2763
2764         WebKitTestRunner already does this.
2765
2766         * DumpRenderTree/mac/DumpRenderTree.mm:
2767         (resetWebViewToConsistentStateBeforeTesting):
2768
2769 2017-06-16  Alex Christensen  <achristensen@webkit.org>
2770
2771         Implement basic authentication in MiniBrowser
2772         https://bugs.webkit.org/show_bug.cgi?id=173443
2773
2774         Reviewed by Tim Horton.
2775
2776         * MiniBrowser/mac/WK2BrowserWindowController.m:
2777         (-[WK2BrowserWindowController webView:didReceiveAuthenticationChallenge:completionHandler:]):
2778
2779 2017-06-16  Jer Noble  <jer.noble@apple.com>
2780
2781         [WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
2782         https://bugs.webkit.org/show_bug.cgi?id=173398
2783         <rdar://problem/32592961>
2784
2785         Reviewed by Eric Carlson.
2786
2787         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2788         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Added.
2789         (-[MediaStreamTrackDetachedUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2790         (-[MediaStreamTrackDetachedUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2791         (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]):
2792         (TestWebKitAPI::TEST):
2793         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Added.
2794
2795 2017-06-16  Matt Lewis  <jlewis3@apple.com>
2796
2797         Unreviewed, rolling out r218375.
2798
2799         The API test MediaStreamTrackDetached is still timing out
2800         after the patch
2801
2802         Reverted changeset:
2803
2804         "[WebRTC] Removing a MediaStreamTrack from a MediaStream
2805         reports no recording to WebKit clients"
2806         https://bugs.webkit.org/show_bug.cgi?id=173398
2807         http://trac.webkit.org/changeset/218375
2808
2809 2017-06-15  Jer Noble  <jer.noble@apple.com>
2810
2811         [WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
2812         https://bugs.webkit.org/show_bug.cgi?id=173398
2813         <rdar://problem/32592961>
2814
2815         Reviewed by Eric Carlson.
2816
2817         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2818         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Added.
2819         (-[MediaStreamTrackDetachedUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2820         (-[MediaStreamTrackDetachedUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2821         (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]):
2822         (TestWebKitAPI::TEST):
2823         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Added.
2824
2825 2017-06-15  Matt Lewis  <jlewis3@apple.com>
2826
2827         Unreviewed, rolling out r218365.
2828
2829         The revision caused API timeouts on all builds.
2830
2831         Reverted changeset:
2832
2833         "[WebRTC] Removing a MediaStreamTrack from a MediaStream
2834         reports no recording to WebKit clients"
2835         https://bugs.webkit.org/show_bug.cgi?id=173398
2836         http://trac.webkit.org/changeset/218365
2837
2838 2017-06-15  Jer Noble  <jer.noble@apple.com>
2839
2840         [WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
2841         https://bugs.webkit.org/show_bug.cgi?id=173398
2842         <rdar://problem/32592961>
2843
2844         Reviewed by Eric Carlson.
2845
2846         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2847         * TestWebKitAPI/Tests/WebKit2/MediaStreamTrackDetached.mm: Added.
2848         (-[MediaStreamTrackDetachedUIDelegate _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2849         (-[MediaStreamTrackDetachedUIDelegate _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2850         (-[MediaStreamTrackDetachedUIDelegate _webView:mediaCaptureStateDidChange:]):
2851         (TestWebKitAPI::TEST):
2852         * TestWebKitAPI/Tests/WebKit2/mediastreamtrack-detached.html: Added.
2853
2854 2017-06-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2855
2856         REGRESSION(r218344): [WPE] Thousands of layout test crashes
2857         https://bugs.webkit.org/show_bug.cgi?id=173433
2858
2859         Unreviewed.
2860
2861         * wpe/jhbuild.modules: Revert the update of WPEBackend-mesa.
2862
2863 2017-06-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2864
2865         [WPE] The run-minibrowser script should allow to execute also a WPE launcher
2866         https://bugs.webkit.org/show_bug.cgi?id=173061
2867
2868         Reviewed by Žan Doberšek.
2869
2870         Launch dyz <https://github.com/Igalia/dyz> with the script
2871         run-minibrowser for the wpe port. It is now built as part of the
2872         WPE dependencies with JHBuild.
2873
2874         * Scripts/run-minibrowser:
2875         * Scripts/webkitdirs.pm:
2876         (launcherPath):
2877         (launcherName):
2878         * wpe/install-dependencies: Luajit is needed for building dyz.
2879         * wpe/jhbuild.modules: Add dyz and update the revision for WPEBackend-mesa.
2880
2881 2017-06-15  Wenson Hsieh  <wenson_hsieh@apple.com>
2882
2883         Using -[WebItemProviderPasteboard setItemProviders:] to swap out item providers before a drop breaks item provider loading
2884         https://bugs.webkit.org/show_bug.cgi?id=173338
2885         <rdar://problem/32777720>
2886
2887         Reviewed by Tim Horton.
2888
2889         Adds new unit tests to ensure that -_webView:willPerformDropWithSession: can be used to filter out drag items
2890         used by WebKit when handling a drop. These tests ensure that WebItemProviderPasteboard is still able to handle
2891         these remaining items on drop.
2892
2893         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
2894         (TestWebKitAPI::TEST):
2895         * TestWebKitAPI/ios/DataInteractionSimulator.h:
2896         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
2897
2898         Add -overridePerformDropBlock, which can be set to provide custom handling of dropped items.
2899
2900         (-[DataInteractionSimulator _webView:willPerformDropWithSession:]):
2901
2902 2017-06-15  Per Arne Vollan  <pvollan@apple.com>
2903
2904         [Win] Crash in accessibility layout test.
2905         https://bugs.webkit.org/show_bug.cgi?id=173401
2906
2907         Reviewed by Brent Fulgham.
2908
2909         We should not manually release the punkVal IUnknown member in a _variant_t object, since the punkVal
2910         member will be automatically released when the _variant_t object goes out of scope if the vt member
2911         does not equal VT_UNKNOWN | VT_BYREF.
2912         See https://msdn.microsoft.com/en-us/library/windows/desktop/ms221165(v=vs.85).aspx. 
2913
2914         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2915         (AccessibilityUIElement::titleUIElement):
2916
2917 2017-06-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2918
2919         [GTK] Add API to allow overriding popup menus
2920         https://bugs.webkit.org/show_bug.cgi?id=172905
2921
2922         Reviewed by Michael Catanzaro.
2923
2924         Add a unit test to check the new API.
2925
2926         * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
2927         * TestWebKitAPI/Tests/WebKit2Gtk/TestOptionMenu.cpp: Added.
2928         (OptionMenuTest::OptionMenuTest):
2929         (OptionMenuTest::~OptionMenuTest):
2930         (OptionMenuTest::destroyMenu):
2931         (OptionMenuTest::showOptionMenuCallback):
2932         (OptionMenuTest::menuCloseCallback):
2933         (OptionMenuTest::showOptionMenu):
2934         (OptionMenuTest::clickAtPositionAndWaitUntilOptionMenuShown):
2935         (OptionMenuTest::close):
2936         (OptionMenuTest::activateItem):
2937         (OptionMenuTest::selectItem):
2938         (testOptionMenuSimple):
2939         (testOptionMenuGroups):
2940         (testOptionMenuActivate):
2941         (testOptionMenuSelect):
2942         (beforeAll):
2943         (afterAll):
2944
2945 2017-06-15  Fujii Hironori  <Hironori.Fujii@sony.com>
2946
2947         [WinCairo] DumpRenderTree.cpp: error C3861: 'CFURLCacheCreate': identifier not found
2948         https://bugs.webkit.org/show_bug.cgi?id=173399
2949
2950         Reviewed by Per Arne Vollan.
2951
2952         OpenCFLite doesn't have CFURLCacheCreate and CFURLCacheSetSharedURLCache.
2953         Curl port needs to do nothing because libcurl doesn't have disk cache.
2954
2955         * DumpRenderTree/win/DumpRenderTree.cpp:
2956         (prepareConsistentTestingEnvironment): Call CFURLCacheCreate() and
2957         CFURLCacheSetSharedURLCache() only if USE(CFURLCONNECTION).
2958
2959 2017-06-14  Tomas Popela  <tpopela@redhat.com>
2960
2961         [GTK] integer expression expected if running Tools/gtk/install-dependencies
2962         https://bugs.webkit.org/show_bug.cgi?id=173356
2963
2964         Reviewed by Michael Catanzaro.
2965
2966         Use the correct operator to compare the strings.
2967
2968         * gtk/install-dependencies:
2969
2970 2017-06-14  Commit Queue  <commit-queue@webkit.org>
2971
2972         Unreviewed, rolling out r218285.
2973         https://bugs.webkit.org/show_bug.cgi?id=173391
2974
2975         API test fails on iOS (Requested by alexchristensen on
2976         #webkit).
2977
2978         Reverted changeset:
2979
2980         "Add SPI for immediate injection of user scripts"
2981         https://bugs.webkit.org/show_bug.cgi?id=173342
2982         http://trac.webkit.org/changeset/218285
2983
2984 2017-06-14  Chris Dumez  <cdumez@apple.com>
2985
2986         WebKit falsely reports that a web process is unresponsive if you close a page shortly after stopping a load
2987         https://bugs.webkit.org/show_bug.cgi?id=173384
2988         <rdar://problem/32723779>
2989
2990         Reviewed by Dan Bernstein.
2991
2992         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2993         * TestWebKitAPI/Tests/WebKit2/ResponsivenessTimer.cpp: Added.
2994         Add API test coverage.
2995
2996         * TestWebKitAPI/cocoa/UtilitiesCocoa.mm:
2997         (TestWebKitAPI::Util::sleep):
2998         Update implementation of Util::sleep() so that we actually run the run loop.
2999         Otherwise, we don't process events while sleeping.
3000
3001 2017-06-14  Alex Christensen  <achristensen@webkit.org>
3002
3003         Add SPI for immediate injection of user scripts
3004         https://bugs.webkit.org/show_bug.cgi?id=173342
3005         <rdar://problem/29202285>
3006
3007         Reviewed by Brady Eidson.
3008
3009         * TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
3010         (waitForMessage):
3011         (TEST):
3012
3013 2017-06-14  Claudio Saavedra  <csaavedra@igalia.com>
3014
3015         Add WPE to the flakiness dashboard
3016         https://bugs.webkit.org/show_bug.cgi?id=173365
3017
3018         Reviewed by Carlos Alberto Lopez Perez.
3019
3020         * TestResultServer/static-dashboards/builders.jsonp:
3021         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3022         * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
3023         (resetGlobals):
3024         * TestResultServer/static-dashboards/loader_unittests.js:
3025
3026 2017-06-14  Brady Eidson  <beidson@apple.com>
3027
3028         WKIconLoadingDelegate never gets asked about the default favicon if touch/touch-precomposed icons are in the <head>
3029         <rdar://problem/32614328> and https://bugs.webkit.org/show_bug.cgi?id=173376
3030
3031         Reviewed by Alex Christensen.
3032
3033         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3034         * TestWebKitAPI/Tests/WebKit2Cocoa/IconLoadingDelegate.mm: Added.
3035         (-[IconLoadingDelegate webView:shouldLoadIconWithParameters:completionHandler:]):
3036         (-[IconLoadingSchemeHandler initWithData:mimeType:]):
3037         (-[IconLoadingSchemeHandler webView:startURLSchemeTask:]):
3038         (-[IconLoadingSchemeHandler webView:stopURLSchemeTask:]):
3039         (TEST):
3040
3041 2017-06-14  Tim Horton  <timothy_horton@apple.com>
3042
3043         WKContentViewEditingActions API test always fails
3044         https://bugs.webkit.org/show_bug.cgi?id=173374
3045
3046         Reviewed by Wenson Hsieh.
3047
3048         * TestWebKitAPI/Tests/WebKit2Cocoa/WKContentViewEditingActions.mm:
3049         (TEST):
3050         selectAll isn't working, because canPerformAction for selectAll returns NO
3051         if selectionIsNone (which is true in the non-contenteditable case).
3052         Instead, make use of r218180's test page, which knows how to select itself.
3053         Also, reset the pasteboard at the beginning of the test to reduce confusion
3054         (I landed the test broken because my simulator had the correct text
3055         stuck in its pasteboard).
3056
3057 2017-06-14  Jonathan Bedard  <jbedard@apple.com>
3058
3059         Configure screen scale for running layout tests on plus devices
3060         https://bugs.webkit.org/show_bug.cgi?id=173319
3061
3062         Reviewed by Tim Horton.
3063
3064         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Include UIKitTestSPI.h in project.
3065         * DumpRenderTree/mac/DumpRenderTree.mm:
3066         (dumpRenderTree): Set screen scale to 2.0.
3067         * TestRunnerShared/spi/UIKitTestSPI.h: Copied from Tools/WebKitTestRunner/ios/UIKitSPI.h,
3068         add _setScale for UIScreen.
3069         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Include UIKitTestSPI.h in project.
3070         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: Import UIKitTestSPI.h instead of UIKitSPI.h.
3071         * WebKitTestRunner/ios/HIDEventGenerator.h: Ditto.
3072         * WebKitTestRunner/ios/HIDEventGenerator.mm: Ditto.
3073         * WebKitTestRunner/ios/PlatformWebViewIOS.mm: Ditto.
3074         * WebKitTestRunner/ios/TestControllerIOS.mm: Ditto.
3075         (WTR::TestController::platformInitialize): Set screen scale to 2.0.
3076         * WebKitTestRunner/ios/UIKitSPI.h: Moved to TestRunnerShared/spi/UIKitTestSPI.h.
3077         * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Import UIKitTestSPI.h instead of UIKitSPI.h.
3078         * WebKitTestRunner/ios/mainIOS.mm: Ditto.
3079
3080 2017-06-14  Alexey Proskuryakov  <ap@apple.com>
3081
3082         Add iOS 11 support to the bot watcher's dashboard
3083         https://bugs.webkit.org/show_bug.cgi?id=173369
3084
3085         Reviewed by Lucas Forschler.
3086
3087         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11.png: Added.
3088         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11@2x.png: Added.
3089         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11Simulator.png: Added.
3090         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS11Simulator@2x.png: Added.
3091         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3092         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3093
3094 2017-06-14  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3095
3096         [GTK][WPE] Raise the timeout values for layout tests
3097         https://bugs.webkit.org/show_bug.cgi?id=173368
3098
3099         Reviewed by Carlos Garcia Campos.
3100
3101         Raise the values to 15 seconds in Release builds and 30 seconds (2x) in Debug builds.
3102         When running under valgrind a 10x multiplier is applied.
3103
3104         * Scripts/webkitpy/port/gtk.py:
3105         (GtkPort.default_timeout_ms):
3106         * Scripts/webkitpy/port/gtk_unittest.py:
3107         (GtkPortTest.test_default_timeout_ms):
3108         * Scripts/webkitpy/port/wpe.py:
3109         (WPEPort.default_timeout_ms):
3110         * Scripts/webkitpy/port/wpe_unittest.py: Copied from Tools/Scripts/webkitpy/port/gtk_unittest.py.
3111         (WPEPortTest):
3112         (WPEPortTest.make_port):
3113         (WPEPortTest.test_default_timeout_ms):
3114         (WPEPortTest.test_get_crash_log):
3115
3116 2017-06-14  Alex Christensen  <achristensen@webkit.org>
3117
3118         Test persistent WKHTTPCookieStorages on iOS.
3119         https://bugs.webkit.org/show_bug.cgi?id=173284
3120
3121         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
3122         (TEST):
3123         Make the bots green again for now. There's still a problem, and I'll investigate and fix.
3124
3125 2017-06-14  Per Arne Vollan  <pvollan@apple.com>
3126
3127         [Win] DRT should not use disk cache.
3128         https://bugs.webkit.org/show_bug.cgi?id=173361
3129
3130         Reviewed by Darin Adler.
3131
3132         Like on macOS/iOS, DRT on Windows should only use memory cache.
3133
3134         * DumpRenderTree/win/DumpRenderTree.cpp:
3135         (setDefaultsToConsistentValuesForTesting):
3136         (prepareConsistentTestingEnvironment):
3137
3138 2017-06-14  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
3139
3140         MediaSource duration attribute should not be equal to Infinity when set to a value greater than 2^64
3141         https://bugs.webkit.org/show_bug.cgi?id=171668
3142
3143         Reviewed by Jer Noble.
3144
3145         MediaSource duration attribute is a double represented in MediaSource by a MediaTime instance created with
3146         MediaTime::CreateWithDouble(). This method implements an overflow control mechanism which sets MediaTime to
3147         Infinity when the double value passed as argument is greater than 2^64.
3148
3149         This patch removes the overflow control mechanism when time value is represented as a double. This patch also
3150         modifies the behavior of mathematical operations between a double MediaTime and rational MediaTime: the rational
3151         MediaTime is converted to a double before applying the operation. Double MediaTime precision is the same as for
3152         double. Overflow mechanisms still apply to the conversion of a double MediaTime to rational with setTimescale()
3153         method. No behavior change for rational MediaTime.
3154
3155         * TestWebKitAPI/Tests/WTF/MediaTime.cpp: Add tests to check operation results between double and rational MediaTime.
3156         (TestWebKitAPI::TEST):
3157
3158 2017-06-13  Alex Christensen  <achristensen@webkit.org>
3159
3160         Test persistent WKHTTPCookieStorages on iOS
3161         https://bugs.webkit.org/show_bug.cgi?id=173284
3162         <rdar://problem/32260156>
3163
3164         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
3165         (TEST):
3166
3167 2017-06-13  Matt Rajca  <mrajca@apple.com>
3168
3169         WebsitePolicies: let clients select specific autoplay quirks
3170         https://bugs.webkit.org/show_bug.cgi?id=173343
3171
3172         Reviewed by Alex Christensen.
3173
3174         * TestWebKitAPI/Tests/WebKit2Cocoa/WebsitePolicies.mm:
3175         (-[AutoplayPoliciesDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
3176         (TEST): Updated tests.
3177
3178 2017-06-13  Daniel Bates  <dabates@apple.com>
3179
3180         Implement W3C Secure Contexts Draft Specification
3181         https://bugs.webkit.org/show_bug.cgi?id=158121
3182         <rdar://problem/26012994>
3183
3184         Reviewed by Brent Fulgham.
3185
3186         Part 4
3187
3188         Expose the isSecureContext attribute by default in DumpRenderTree and WebKitTestRunner.
3189         Teach DumpRenderTree for Mac and WebKitTestRunner to parse the test option enableIsSecureContextAttribute
3190         to toggle the runtime enabled feature flag isSecureContextAttributeEnabled.
3191
3192         * DumpRenderTree/TestOptions.h:
3193         * DumpRenderTree/TestOptions.mm:
3194         (TestOptions::TestOptions):
3195         * DumpRenderTree/mac/DumpRenderTree.mm:
3196         (setWebPreferencesForTestOptions):
3197         * DumpRenderTree/win/DumpRenderTree.cpp:
3198         (enableExperimentalFeatures):
3199         * WebKitTestRunner/TestController.cpp:
3200         (WTR::TestController::resetPreferencesToConsistentValues):
3201         (WTR::updateTestOptionsFromTestHeader):
3202         * WebKitTestRunner/TestOptions.h:
3203         (WTR::TestOptions::hasSameInitializationOptions):
3204
3205 2017-06-13  Alex Christensen  <achristensen@webkit.org>
3206
3207         Test persistent WKHTTPCookieStorages on iOS
3208         https://bugs.webkit.org/show_bug.cgi?id=173284
3209         <rdar://problem/32260156>
3210
3211         Reviewed by Alexey Proskuryakov.
3212
3213         * TestWebKitAPI/Tests/WebKit2Cocoa/WKHTTPCookieStore.mm:
3214         (TEST):
3215
3216 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
3217
3218         [GTK] Blob download doesn't work
3219         https://bugs.webkit.org/show_bug.cgi?id=172442
3220
3221         Reviewed by Carlos Alberto Lopez Perez.
3222
3223         Add a unit test to check blob downloads.
3224
3225         * TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:
3226         (testBlobDownload):
3227         (beforeAll):
3228
3229 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
3230
3231         [GTK] Do not include WTR, DumpRendererTree and ImageDiff in tarballs
3232         https://bugs.webkit.org/show_bug.cgi?id=173316
3233
3234         Reviewed by Alex Christensen.
3235
3236         It's not really possible to run layout tests from the tarball, so it's better not to include those files.
3237
3238         * gtk/manifest.txt.in:
3239
3240 2017-06-13  Carlos Garcia Campos  <cgarcia@igalia.com>
3241
3242         [WTR] Crash in WebGeolocationManagerProxy::~WebGeolocationManagerProxy() when running several tests
3243         https://bugs.webkit.org/show_bug.cgi?id=173315
3244
3245         Reviewed by Darin Adler.
3246
3247         This has started to happen after r218165, but I don't think it's a regression, but that r218165 revealed the bug
3248         somehow in WTR. The problem is that GeolocationProviderMock keeps a pointer to the WKGeolocationManagerRef
3249         returned by WKContextGetGeolocationManager. But in TestController::generatePageConfiguration() the context is
3250         freed before the GeolocationProviderMock. When the GeolocationProviderMock is then destroyed, it calls
3251         WKGeolocationManagerSetProvider(m_geolocationManager, 0); but the WKGeolocationManagerRef has already been
3252         destroyed. GeolocationProviderMock should keep a reference to the WKContext to ensure the
3253         WKGeolocationManagerRef is not destroyed.
3254
3255         * WebKitTestRunner/GeolocationProviderMock.cpp:
3256         (WTR::GeolocationProviderMock::GeolocationProviderMock):
3257         * WebKitTestRunner/GeolocationProviderMock.h:
3258
3259 2017-06-13  Wenson Hsieh  <wenson_hsieh@apple.com>
3260
3261         Unable to paste text that was copied from a page into the universal search field
3262         https://bugs.webkit.org/show_bug.cgi?id=173293
3263         <rdar://problem/32440918>
3264
3265         Reviewed by Ryosuke Niwa.
3266
3267         Adds 2 new unit tests for copying plain and rich selected web content.
3268         See WebCore and WebKit ChangeLogs for more detail.
3269
3270         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3271         * TestWebKitAPI/Tests/WebKit2Cocoa/rich-and-plain-text.html: Added.
3272         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: Added.
3273         (TestWebKitAPI::dataForPasteboardType):
3274         (TestWebKitAPI::setUpWebViewForPasteboardTests):
3275         (TestWebKitAPI::TEST):
3276
3277 2017-06-13  Joanmarie Diggs  <jdiggs@igalia.com>
3278
3279         AX: [ATK] Implement missing AtkRelation types
3280         https://bugs.webkit.org/show_bug.cgi?id=155494
3281
3282         Reviewed by Darin Adler.
3283
3284         Add additional methods to test ARIA properties which are exposed via
3285         AtkRelation. Implement ATK support for ariaOwnsElementAtIndex().
3286
3287         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:
3288         (WTR::AccessibilityUIElement::ariaLabelledByElementAtIndex):
3289         (WTR::AccessibilityUIElement::ariaDescribedByElementAtIndex):
3290         (WTR::AccessibilityUIElement::ariaOwnsReferencingElementAtIndex):
3291         (WTR::AccessibilityUIElement::ariaFlowToReferencingElementAtIndex):
3292         (WTR::AccessibilityUIElement::ariaControlsReferencingElementAtIndex):
3293         (WTR::AccessibilityUIElement::ariaLabelledByReferencingElementAtIndex):
3294         (WTR::AccessibilityUIElement::ariaDescribedByReferencingElementAtIndex):
3295         * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl:
3296         * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
3297         (WTR::AccessibilityUIElement::ariaOwnsElementAtIndex):
3298         (WTR::AccessibilityUIElement::ariaOwnsReferencingElementAtIndex):
3299         (WTR::AccessibilityUIElement::ariaFlowToReferencingElementAtIndex):
3300         (WTR::AccessibilityUIElement::ariaControlsReferencingElementAtIndex):
3301         (WTR::AccessibilityUIElement::ariaLabelledByElementAtIndex):
3302         (WTR::AccessibilityUIElement::ariaLabelledByReferencingElementAtIndex):
3303         (WTR::AccessibilityUIElement::ariaDescribedByElementAtIndex):
3304         (WTR::AccessibilityUIElement::ariaDescribedByReferencingElementAtIndex):
3305
3306 2017-06-12  Daniel Bates  <dabates@apple.com>
3307
3308         Add unit tests for SecurityOrigin::IsPotentiallyTrustworthy()
3309         https://bugs.webkit.org/show_bug.cgi?id=173286
3310         <rdar://problem/32726102>
3311
3312         Reviewed by Brent Fulgham.
3313
3314         * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp:
3315         (TestWebKitAPI::TEST_F):
3316
3317 2017-06-12  Lucas Forschler  <lforschler@apple.com>
3318
3319         <rdar://problem/32683422>
3320         Teach copy-webkitlibraries-to-product-directory script about updated libraries.
3321
3322         Reviewed by Conrad Schultz.
3323
3324         * Scripts/copy-webkitlibraries-to-product-directory:
3325
3326 2017-06-12  Tim Horton  <timothy_horton@apple.com>
3327
3328         [iOS] Cmd-C doesn't copy text from WKWebView
3329         https://bugs.webkit.org/show_bug.cgi?id=173277
3330         <rdar://problem/32396742>
3331
3332         Reviewed by Dan Bernstein.
3333
3334         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
3335         * Tests/WebKit2Cocoa/WKContentViewEditingActions.mm:
3336         Add a test ensuring that -copy on WKContentView will cause text to be copied.
3337
3338 2017-06-12  Jiewen Tan  <jiewen_tan@apple.com>
3339
3340         [WebCrypto] Remove experimental feature flag of SubtleCrypto
3341         https://bugs.webkit.org/show_bug.cgi?id=173197
3342         <rdar://problem/32688148>
3343
3344         Reviewed by Brent Fulgham.
3345
3346         * DumpRenderTree/mac/DumpRenderTree.mm:
3347         (enableExperimentalFeatures):
3348         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
3349         (WTR::InjectedBundle::beginTesting):
3350         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
3351         (WTR::TestRunner::setSubtleCryptoEnabled): Deleted.
3352         * WebKitTestRunner/InjectedBundle/TestRunner.h:
3353
3354 2017-06-12  Wenson Hsieh  <wenson_hsieh@apple.com>
3355
3356         [iOS DnD] Allow the injected bundle to add client data when writing an image to the pasteboard
3357         https://bugs.webkit.org/show_bug.cgi?id=173238
3358         <rdar://problem/31943370>
3359
3360         Reviewed by Ryosuke Niwa and Tim Horton.
3361
3362         Add a new unit test to verify that data inserted by the injected bundle when beginning a drag on an image
3363         element is plumbed across to the UI delegate. Also refactors injected bundle unit tests to use the new version
3364         of adjustedDataInteractionItemProvidersForItemProvider: that takes representing objects and additional data.
3365
3366         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3367         (TestWebKitAPI::TEST):
3368         * TestWebKitAPI/ios/DataInteractionSimulator.h:
3369         * TestWebKitAPI/ios/DataInteractionSimulator.mm:
3370         (-[DataInteractionSimulator _webView:adjustedDataInteractionItemProvidersForItemProvider:representingObjects:additionalData:]):
3371         (-[DataInteractionSimulator _webView:adjustedDataInteractionItemProviders:]): Deleted.
3372
3373 2017-06-12  Wenson Hsieh  <wenson_hsieh@apple.com>
3374
3375         WebItemProviderPasteboard should call its completion block immediately after a synchronous load
3376         https://bugs.webkit.org/show_bug.cgi?id=173225
3377         <rdar://problem/32713144>
3378
3379         Reviewed by Tim Horton.
3380
3381         Adds a new unit test to verify whether the completion block is called synchronously or asynchronously, in both
3382         cases where the synchronous timeout is very large, and the synchronous timeout is not used (0).
3383
3384         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3385         (TestWebKitAPI::TEST):
3386
3387 2017-06-12  Jonathan Bedard  <jbedard@apple.com>
3388
3389         Return correct process names for iOS on-device testing
3390         https://bugs.webkit.org/show_bug.cgi?id=173263
3391
3392         Reviewed by Alex Christensen.
3393
3394         When running tests on iOS devices, process names do not end with '.Development'
3395         as they do on Mac and iOS simulator.
3396
3397         * WebKitTestRunner/TestController.cpp:
3398         (WTR::TestController::webProcessName): Return correct process name without '.Development'
3399         for iOS on-device testing.
3400         (WTR::TestController::networkProcessName): Ditto.
3401         (WTR::TestController::databaseProcessName): Ditto.
3402
3403 2017-06-12  Chris Dumez  <cdumez@apple.com>
3404
3405         Regression(r217867): Legacy SessionHistoryEntryData format should not change
3406         https://bugs.webkit.org/show_bug.cgi?id=173267
3407         <rdar://problem/32701257>
3408
3409         Reviewed by Simon Fraser.
3410
3411         Restrict test to stop covering saving / restore of scrollRestoration via the legacy
3412         SessionHistoryEntryData. Maintain coverage for the default value of scrollRestoration
3413         though as this covers the crash that r217867 was fixing.
3414
3415         * TestWebKitAPI/Tests/WebKit2/RestoreSessionState.cpp:
3416         (TestWebKitAPI::createSessionStateData):
3417         (TestWebKitAPI::TEST):
3418         (TestWebKitAPI::createSessionStateDataContainingScrollRestoration): Deleted.
3419
3420 2017-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
3421
3422         [GTK] Stop dismissing menus attached to the web view for every injected event
3423         https://bugs.webkit.org/show_bug.cgi?id=172708
3424
3425         Reviewed by Alex Christensen.
3426
3427         It's a workaround we added in r184015 that has worked so far for the context menu, but doesn't really work now
3428         that we also attach popup menus to the web view. We really need to be able to show a popup menu, and then send
3429         events while the menu is open.
3430
3431         * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
3432         (WTR::EventSendingController::contextClick): Use WKBundlePageCopyContextMenuAtPointInWindow() also in GTK+ port.
3433         * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
3434         (WTR::EventSenderProxy::dispatchEvent): Stop calling PlatformWebView::dismissAllPopupMenus().
3435
3436 2017-06-12  Miguel Gomez  <magomez@igalia.com>
3437
3438         [GTK][WPE] Enable GStreamer GL on development builds
3439         https://bugs.webkit.org/show_bug.cgi?id=173248
3440
3441         Enable GStreamer GL for GTK and WPE.
3442
3443         Reviewed by Carlos Garcia Campos.
3444
3445         * Scripts/webkitperl/FeatureList.pm:
3446
3447 2017-06-12  Carlos Garcia Campos  <cgarcia@igalia.com>
3448
3449         Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/notification after r216641.
3450
3451         Notifications are no longer cleared on page navigation.
3452
3453         * TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebView.cpp:
3454         (testWebViewNotification):
3455
3456 2017-06-11  Carlos Garcia Campos  <cgarcia@igalia.com>
3457
3458         Unreviewed. Fix GTK+ test /webkit2/WebKitAutomationSession/request-session after r217831.
3459
3460         DBus interface and object path names were updated in r217831.
3461
3462         * TestWebKitAPI/Tests/WebKit2Gtk/TestAutomationSession.cpp:
3463
3464 2017-06-10  Dan Bernstein  <mitz@apple.com>
3465
3466         Reverted r218056 because it made the IDE reindex constantly.
3467
3468         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
3469         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3470         * ImageDiff/cg/Configurations/DebugRelease.xcconfig:
3471         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3472         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig:
3473         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3474         * WebEditingTester/Configurations/DebugRelease.xcconfig:
3475         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3476
3477 2017-06-10  Dan Bernstein  <mitz@apple.com>
3478
3479         [Xcode] With Xcode 9 developer beta, everything rebuilds when switching between command-line and IDE
3480         https://bugs.webkit.org/show_bug.cgi?id=173223
3481
3482         Reviewed by Sam Weinig.
3483
3484         The rebuilds were happening due to a difference in the compiler options that the IDE and
3485         xcodebuild were specifying. Only the IDE was passing the -index-store-path option. To make
3486         xcodebuild pass that option, too, set CLANG_INDEX_STORE_ENABLE to YES if it is unset, and
3487         specify an appropriate path in CLANG_INDEX_STORE_PATH.
3488
3489         * ContentExtensionTester/Configurations/DebugRelease.xcconfig:
3490         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
3491         * ImageDiff/cg/Configurations/DebugRelease.xcconfig:
3492         * MiniBrowser/Configurations/DebugRelease.xcconfig:
3493         * MobileMiniBrowser/Configurations/DebugRelease.xcconfig:
3494         * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
3495         * WebEditingTester/Configurations/DebugRelease.xcconfig:
3496         * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
3497
3498 2017-06-10  Jonathan Bedard  <jbedard@apple.com>
3499
3500         webkitpy: Reduce polling in ServerProcess
3501         https://bugs.webkit.org/show_bug.cgi?id=173116
3502
3503         Reviewed by Ryosuke Niwa.
3504
3505         We should be smarter about polling. We do not need to poll every time a line is read from
3506         stdout and stderr since lines are usually read from cached data. We should only poll
3507         when extracting that cached data from stdout and stderr.
3508
3509         * Scripts/webkitpy/port/driver.py:
3510         (Driver._read_block): Rely on output of the ServerProcess to detect a crash or a timeout
3511         and on ServerProcess to poll the process if not data is available in stdout and stderr.
3512         * Scripts/webkitpy/port/driver_unittest.py:
3513         (DriverTest.test_read_block_crashed_process): Test that the Driver will handle a crashing
3514         ServerProcess.
3515         * Scripts/webkitpy/port/server_process.py:
3516         (ServerProcess._read): Allow for data to be read from _output even if the process has
3517         crashed. Only poll the process if data needs to be extracted from stdout or stderr. 
3518         * Scripts/webkitpy/port/server_process_mock.py:
3519         (MockServerProcess): Add number_of_times_polled.
3520         (MockServerProcess.poll): Increment number_of_times_polled.
3521         (MockServerProcess.has_crashed): Poll before returning crash state.
3522         (MockServerProcess.read_stdout_line): MockServerProcess should return None if it has crashed,
3523         just like a ServerProcess would.
3524         (MockServerProcess.read_stdout): Ditto.
3525         * Scripts/webkitpy/port/server_process_unittest.py:
3526         (TestServerProcess.test_basic): Use stdin.readline() instead of time.sleep() to prevent the
3527         process from ending before stdout and stderr are read. This is the reason this test was flakey.
3528         (TestServerProcess):
3529         (TestServerProcess.test_process_crashing): Test that when a process crashes, data can be read until
3530         the processes is polled.
3531         (TestServerProcess.test_process_crashing_no_data): Test that when a process which has not output any
3532         data to stdout and stderr crashes, ServerProcess._read(...) polls the process to detect the crash.
3533
3534 2017-06-10  Andy Estes  <aestes@apple.com>
3535
3536         [QuickLook] PreviewLoader needs to check if its ResourceLoader has reached the terminal state before calling didReceiveResponse() and friends
3537         https://bugs.webkit.org/show_bug.cgi?id=173190
3538         <rdar://problem/31360659>
3539
3540         Reviewed by Brady Eidson.
3541         
3542         Added a release assert that tries to create a proper test failure if the web process crashes.
3543
3544         * TestWebKitAPI/Tests/WebKit2Cocoa/QuickLook.mm:
3545         (-[QuickLookDecidePolicyDelegate _webViewWebProcessDidCrash:]):
3546
3547 2017-06-09  Wenson Hsieh  <wenson_hsieh@apple.com>
3548
3549         [iOS DnD] Add a hook to perform two-step drops in editable content
3550         https://bugs.webkit.org/show_bug.cgi?id=172992
3551         <rdar://problem/32590174>
3552
3553         Reviewed by Tim Horton.
3554
3555         Adds 2 new API tests to cover using the injected editing bundle to override performTwoStepDrop.
3556         Tests:  DataInteractionTests.InjectedBundleOverridePerformTwoStepDrop
3557                 DataInteractionTests.InjectedBundleAllowPerformTwoStepDrop
3558
3559         * TestWebKitAPI/Tests/WebKit2Cocoa/BundleEditingDelegatePlugIn.mm:
3560         (-[BundleEditingDelegatePlugIn webProcessPlugIn:didCreateBrowserContextController:]):
3561         (-[BundleEditingDelegatePlugIn _webProcessPlugInBrowserContextController:performTwoStepDrop:atDestination:isMove:]):
3562
3563         Allow the BundleOverridePerformTwoStepDrop bundle parameter to determine whether or not two-step drops should
3564         be overridden. Currently, this is overridden to just return true.
3565
3566         * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
3567         (TestWebKitAPI::TEST):
3568         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
3569         (WTR::InjectedBundlePage::InjectedBundlePage):
3570
3571 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
3572
3573         [WPE] Enable ENCRYPTED_MEDIA for build-webkit builds
3574         https://bugs.webkit.org/show_bug.cgi?id=173103
3575
3576         Reviewed by Xabier Rodriguez-Calvar.
3577
3578         * Scripts/webkitperl/FeatureList.pm: Enable ENCRYPTED_MEDIA flag
3579         when building the WPE port through build-webkit.
3580
3581 2017-06-09  Zan Dobersek  <zdobersek@igalia.com>
3582
3583         [WPE] Enable MEDIA_SOURCE for build-webkit builds
3584         https://bugs.webkit.org/show_bug.cgi?id=173136
3585
3586         Reviewed by Xabier Rodriguez-Calvar.
3587
3588         * Scripts/webkitperl/FeatureList.pm: Enable the MEDIA_SOURCE feature for WPE.
3589
3590 2017-06-08  Carlos Garcia Campos  <cgarcia@igalia.com>
3591
3592         [GTK] Use API::FormClient instead of the C API in WebKitFormClient
3593         https://bugs.webkit.org/show_bug.cgi?id=173098
3594
3595         Reviewed by Žan Doberšek.
3596
3597         Fix memory leak and runtime warning when running /webkit2/WebKitWebView/submit-form. The web extension is
3598         assuming that all tests containing forms define ids for the form elements like
3599         /webkit2/WebKitWebExtension/form-controls-associated-signal does.
3600
3601         * TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
3602         (formControlsAssociatedCallback):
3603
3604 2017-06-08  Jonathan Bedard  <jbedard@apple.com>
3605
3606         webkitpy: Run sample/spindump on iOS devices
3607         https://bugs.webkit.org/show_bug.cgi?id=171881
3608         <rdar://problem/32084602>
3609
3610         Reviewed by Daniel Bates.
3611
3612         * Scripts/webkitpy/port/darwin.py:
3613         (DarwinPort.sample_process): Only add sudo prefix if the platform is Mac, which
3614         requires sudo to run spindump.
3615         * Scripts/webkitpy/port/ios_device.py:
3616         (IOSDevicePort.look_for_new_samples): Deleted.
3617         (IOSDevicePort.sample_process): Deleted.
3618         * Scripts/webkitpy/port/ios_device_unittest.py:
3619         (IOSDeviceTest): iOS devices use 'ios' and their os_name.
3620         (IOSDeviceTest.test_spindump):
3621         (IOSDeviceTest.test_sample_process):
3622         (IOSDeviceTest.test_sample_process_exception):
3623         * Scripts/webkitpy/port/ios_simulator_unittest.py:
3624         (IOSSimulatorTest): iOS Simulators run on Mac and use 'mac' as their os_name.
3625
3626 2017-06-08  Keith Miller  <keith_miller@apple.com>
3627
3628         WebAssembly: We should only create wrappers for functions that can be exported
3629         https://bugs.webkit.org/show_bug.cgi?id=173088
3630
3631         Reviewed by Saam Barati.
3632
3633         Add quick mode for wasm tests.
3634
3635         * Scripts/run-jsc-stress-tests:
3636
3637 2017-06-08  Darin Adler  <darin@apple.com>
3638
3639         WTF tests have incorrect RefLogger lifetimes making it impossible to test with Address Sanitizer
3640         https://bugs.webkit.org/show_bug.cgi?id=173106
3641
3642         Reviewed by Sam Weinig.
3643
3644         * TestWebKitAPI/Tests/WTF/HashCountedSet.cpp: Define RefLogger objects first, so they are
3645         destroyed last.
3646         * TestWebKitAPI/Tests/WTF/HashMap.cpp: Ditto.
3647         * TestWebKitAPI/Tests/WTF/HashSet.cpp: Ditto.
3648
3649 2017-06-07  Dan Bernstein  <mitz@apple.com>
3650
3651         [Cocoa] additionalReadAccessAllowedURLs doesn’t preserve non-Latin1 paths
3652         https://bugs.webkit.org/show_bug.cgi?id=173086
3653
3654         Reviewed by Andy Estes.
3655
3656         * TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm:
3657         (TEST):
3658
3659 2017-06-07  Alexey Proskuryakov  <ap@apple.com>
3660
3661         Add High Sierra support to WebKit tools
3662         https://bugs.webkit.org/show_bug.cgi?id=173080
3663
3664         Rubber-stamped by Daniel Bates.
3665
3666         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/HighSierra.png: Added.
3667         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/HighSierra@2x.png: Added.
3668         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3669         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3670         Added dashboard support.
3671
3672         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3673         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
3674         Trigger the right build queues on check-in.
3675
3676         * Scripts/webkitpy/common/system/platforminfo.py:
3677         * Scripts/webkitpy/common/system/platforminfo_unittest.py:
3678         * Scripts/webkitpy/layout_tests/models/test_expectations.py:
3679         * Scripts/webkitpy/port/mac.py:
3680         * Scripts/webkitpy/port/mac_unittest.py:
3681         * TestResultServer/static-dashboards/flakiness_dashboard.js:
3682         Added cases for Sierra, and updated tests for new baseline search paths.
3683
3684 2017-06-07  Ryan Haddad  <ryanhaddad@apple.com>
3685
3686         Unreviewed, rolling out r217902.
3687
3688         This change appears to have caused imported/w3c/web-platform-