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