REGRESSION (r237331): DismissingActionSheetShouldNotDismissPresentingViewController...
[WebKit-https.git] / Tools / ChangeLog
1 2018-10-24  Tim Horton  <timothy_horton@apple.com>
2
3         REGRESSION (r237331): DismissingActionSheetShouldNotDismissPresentingViewController times out
4         https://bugs.webkit.org/show_bug.cgi?id=190897
5
6         * TestWebKitAPI/Tests/ios/ActionSheetTests.mm:
7         (TestWebKitAPI::TEST):
8         Disable the test for now.
9
10 2018-10-24  Alexey Proskuryakov  <ap@apple.com>
11
12         Clean up some obsolete macOS version guards
13         https://bugs.webkit.org/show_bug.cgi?id=190887
14
15         Reviewed by Dan Bernstein.
16
17         * TestWebKitAPI/cocoa/TestWKWebView.mm:
18         (__simulated_forceClickAssociatedEventsMask):
19         (-[TestWKWebViewHostWindow _mouseDownAtPoint:simulatePressure:clickCount:]):
20         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
21         (WTR::initializeWebViewConfiguration):
22         * WebKitTestRunner/mac/EventSenderProxy.mm:
23         (-[EventSenderSyntheticEvent initPressureEventAtLocation:globalLocation:stage:pressure:stageTransition:phase:time:eventNumber:window:]):
24
25 2018-10-24  Megan Gardner  <megan_gardner@apple.com>
26
27         Turn on Conic Gradients
28         https://bugs.webkit.org/show_bug.cgi?id=190810
29
30         Reviewed by Tim Horton.
31
32         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
33
34 2018-10-24  Pablo Saavedra  <psaavedra@igalia.com>
35
36         [WPE] Fix CMake rules in for TestWebKitAPIBase library building in developer mode
37         https://bugs.webkit.org/show_bug.cgi?id=190328
38
39         Reviewed by Michael Catanzaro.
40
41         * TestWebKitAPI/CMakeLists.txt:
42         * TestWebKitAPI/PlatformWPE.cmake:
43
44 2018-10-24  Chris Dumez  <cdumez@apple.com>
45
46         [PSON] When navigating back and forth, 'about:blank' shows up in the back/forward list
47         https://bugs.webkit.org/show_bug.cgi?id=190846
48         <rdar://problem/45058938>
49
50         Reviewed by Antti Koivisto.
51
52         Add API test coverage.
53
54         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
55
56 2018-10-24  Claudio Saavedra  <csaavedra@igalia.com>
57
58         [GTK] TestSSL failing because of missing libsoup patch
59         https://bugs.webkit.org/show_bug.cgi?id=190869
60
61         Reviewed by Michael Catanzaro.
62
63         * gtk/jhbuild.modules: Add the patch below to fix the API test TestSSL
64         * gtk/patches/libsoup-soup-socket-fix-critical-warning-when-the-peer-certi.patch: Added.
65
66 2018-10-23  Justin Fan  <justin_fan@apple.com>
67
68         [WebGPU] Rename old GPU* implementation files to GPULegacy* for WebMetal
69         https://bugs.webkit.org/show_bug.cgi?id=190817
70
71         Reviewed by Dean Jackson.
72
73         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
74         * TestWebKitAPI/Tests/WebCore/mac/GPULegacyBuffer.mm: Renamed from Tools/TestWebKitAPI/Tests/WebCore/mac/GPUBuffer.mm.
75         (TestWebKitAPI::TEST_F):
76         * TestWebKitAPI/Tests/WebCore/mac/GPULegacyCommandQueue.mm: Copied from Tools/TestWebKitAPI/Tests/WebCore/mac/GPUFunction.mm.
77         (TestWebKitAPI::TEST_F):
78         * TestWebKitAPI/Tests/WebCore/mac/GPULegacyDevice.mm: Renamed from Tools/TestWebKitAPI/Tests/WebCore/mac/GPUDevice.mm.
79         (TestWebKitAPI::TEST_F):
80         * TestWebKitAPI/Tests/WebCore/mac/GPULegacyFunction.mm: Renamed from Tools/TestWebKitAPI/Tests/WebCore/mac/GPUFunction.mm.
81         (TestWebKitAPI::TEST_F):
82         * TestWebKitAPI/Tests/WebCore/mac/GPULegacyLibrary.mm: Renamed from Tools/TestWebKitAPI/Tests/WebCore/mac/GPULibrary.mm.
83         (TestWebKitAPI::TEST_F):
84         * TestWebKitAPI/Tests/WebCore/mac/GPULegacyTest.h: Renamed from Tools/TestWebKitAPI/Tests/WebCore/mac/GPUTest.h.
85
86 2018-10-23  Chris Dumez  <cdumez@apple.com>
87
88         [PSON] Add support for cross-site client-side redirects
89         https://bugs.webkit.org/show_bug.cgi?id=190806
90         <rdar://problem/45047344>
91
92         Reviewed by Geoffrey Garen.
93
94         Add API test coverage.
95
96         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
97         (-[PSONNavigationDelegate _webView:willPerformClientRedirectToURL:delay:]):
98         (-[PSONNavigationDelegate _webView:didPerformClientRedirectFromURL:toURL:]):
99
100 2018-10-23  Claudio Saavedra  <csaavedra@igalia.com>
101
102         [WPE][GTK] Pass full certificate chain in CertificateInfo coder
103         https://bugs.webkit.org/show_bug.cgi?id=190789
104
105         Reviewed by Michael Catanzaro.
106
107         When the network process serializes certificate data to other
108         processes through the argument coders, the certificate chain, if
109         present, is lost. In practice this means that applications using
110         the public API to process certificate info have no details on the
111         certificate chain, other than the very basics included in the
112         certificate. Serialize the entire chain if available in the
113         certificate.
114
115         * TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp:
116         (testSSL): Test that the self-signed certificate has no bogus
117         issuer certificate.
118
119 2018-10-22  Tim Horton  <timothy_horton@apple.com>
120
121         REGRESSION (r237331): InteractionDeadlockAfterCrash API test fails
122         https://bugs.webkit.org/show_bug.cgi?id=190801
123         <rdar://problem/43674361>
124
125         * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm:
126         (TEST):
127         Use a parented WKWebView for this test, otherwise none of the assertions
128         about gesture recognizers work anymore.
129
130 2018-10-22  Ryan Haddad  <ryanhaddad@apple.com>
131
132         REGRESSION (r234081): TestWebKitAPI.VideoControlsManager.VideoControlsManagerAudioElementFollowingUserInteraction is a flaky timeout
133         https://bugs.webkit.org/show_bug.cgi?id=187972
134
135         Unreviewed test gardening.
136
137         * TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm:
138         (TestWebKitAPI::TEST): Disable the flaky test.
139
140 2018-10-22  Wenson Hsieh  <wenson_hsieh@apple.com>
141
142         [iOS] [Datalist] fast/forms/datalist/datalist-show-hide.html fails
143         https://bugs.webkit.org/show_bug.cgi?id=190777
144
145         Reviewed by Tim Horton.
146
147         Implement isShowingDataListSuggestions on iOS. See below for more details.
148
149         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
150         (WTR::UIScriptController::isShowingDataListSuggestions const):
151
152         Add a stub implementation for DumpRenderTree.
153
154         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
155         (WTR::UIScriptController::isShowingDataListSuggestions const):
156
157         Move this stub implementation to !PLATFORM(COCOA).
158
159         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
160         (WTR::forEachViewInHierarchy):
161
162         Add a helper function to apply a given function to a UIView and each of its subviews, recursively.
163
164         (WTR::UIScriptController::isShowingDataListSuggestions const):
165
166         For iOS, return whether the UIRemoteKeyboardWindow contains a subview of type WKDataListSuggestionsPickerView.
167
168 2018-10-19  Dan Bernstein  <mitz@apple.com>
169
170         [macOS] MiniBrowser has an unused injected bundle
171         https://bugs.webkit.org/show_bug.cgi?id=190770
172
173         Reviewed by Tim Horton.
174
175         * MiniBrowser/Configurations/MiniBrowserBundle.xcconfig: Removed.
176         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Removed the MiniBrowserBundle target,
177           the Copy Bundle build phase in the MiniBrowser target, and references to removed files.
178         * MiniBrowser/MiniBrowserWebProcessPlugIn.h: Removed.
179         * MiniBrowser/MiniBrowserWebProcessPlugIn.m: Removed.
180         * MiniBrowser/mac/Bundle: Removed.
181
182 2018-10-19  Wenson Hsieh  <wenson_hsieh@apple.com>
183
184         [iOS] [Datalist] Can't pick datalist suggestions in a stock WKWebView
185         https://bugs.webkit.org/show_bug.cgi?id=190621
186         <rdar://problem/45310649>
187
188         Reviewed by Tim Horton.
189
190         Add a UIScriptController hook to resign first responder on WKWebView. See LayoutTests/ChangeLog for more detail.
191
192         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
193         (WTR::UIScriptController::resignFirstResponder):
194         * DumpRenderTree/mac/UIScriptControllerMac.mm:
195         (WTR::UIScriptController::resignFirstResponder):
196         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
197         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
198         (WTR::UIScriptController::resignFirstResponder):
199         * TestRunnerShared/UIScriptContext/UIScriptController.h:
200         * WebKitTestRunner/UIScriptControllerCocoa.mm:
201         (WTR::UIScriptController::resignFirstResponder):
202         * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
203         (WTR::PlatformWebView::makeWebViewFirstResponder):
204
205         Implement this method stub on iOS, to ensure that TestController::resetStateToConsistentValues restores first
206         responder on the WKWebView when running iOS layout tests.
207
208         * WebKitTestRunner/ios/TestControllerIOS.mm:
209         (WTR::TestController::platformResetStateToConsistentValues):
210
211         After resigning first responder to dismiss any on-screen keyboard, ensure that we restore first responder.
212
213 2018-10-19  Dean Jackson  <dino@apple.com>
214
215         ASSERTION FAILED: !frame().animation().hasAnimations() in WebCore::FrameView::didDestroyRenderTree()
216         https://bugs.webkit.org/show_bug.cgi?id=186946
217         <rdar://problem/41724248>
218
219         Reviewed by Antoine Quint.
220
221         If the incoming test has different enableWebAnimationsCSSIntegration options,
222         then we need to create a new WebView.
223
224         * DumpRenderTree/TestOptions.cpp:
225         (TestOptions::webViewIsCompatibleWithOptions const):
226
227 2018-10-19  Charlie Turner  <cturner@igalia.com>
228
229         [EME] Fix crash during tracing in  gst_qtdemux_request_protection_context
230         https://bugs.webkit.org/show_bug.cgi?id=190738
231
232         Reviewed by Xabier Rodriguez-Calvar.
233
234         Add a GStreamer patch to avoid crashing when the run-time logging
235         level is TRACE. There was a missing null check which caused many
236         tests to crash.
237
238         * gstreamer/patches/gst-plugins-good-0013-Avoid-warning-when-reporting-about-decryptors.patch: Added.
239
240 2018-10-18  Alicia Boya García  <aboya@igalia.com>
241
242         [Media] Use nanoseconds as MaximumTimeScale
243         https://bugs.webkit.org/show_bug.cgi?id=190631
244
245         Rebased MediaTime tests covering timescales over the maximum.
246
247         Reviewed by Jer Noble.
248
249         * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
250         (TestWebKitAPI::TEST):
251
252 2018-10-18  Dean Johnson  <dean_johnson@apple.com>
253
254         clean-webkit pulls in many unnecessary dependencies in webkitpy
255         https://bugs.webkit.org/show_bug.cgi?id=190732
256
257         Reviewed by Alexey Proskuryakov.
258
259         * Scripts/webkitpy/common/host.py:
260         (Host.__init__): Split out 'bugs', 'bugzilla', and 'web' to only be created when used.
261         (Host):
262         (Host.bugs):
263         (Host.bugzilla):
264         (Host.web):
265
266 2018-10-18  Chris Dumez  <cdumez@apple.com>
267
268         [PSON] SuspendedPages do not report meaningful domains in Activity Monitor
269         https://bugs.webkit.org/show_bug.cgi?id=190721
270         <rdar://problem/45059699>
271
272         Reviewed by Alex Christensen.
273
274         Add API test coverage.
275
276         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
277
278 2018-10-18  Alexey Proskuryakov  <ap@apple.com>
279
280         Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY)
281         https://bugs.webkit.org/show_bug.cgi?id=190729
282
283         Reviewed by Tim Horton.
284
285         * DumpRenderTree/AccessibilityController.h:
286         * DumpRenderTree/AccessibilityTextMarker.h:
287         * DumpRenderTree/AccessibilityUIElement.cpp:
288         (AccessibilityUIElement::getJSClass):
289         * DumpRenderTree/AccessibilityUIElement.h:
290         * DumpRenderTree/DumpRenderTreeFileDraggingSource.h:
291         * DumpRenderTree/TestRunner.cpp:
292         (getSecureEventInputIsEnabledCallback):
293         (TestRunner::staticFunctions):
294         (TestRunner::callUIScriptCallback):
295         * DumpRenderTree/TestRunner.h:
296         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
297         * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm:
298         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
299         * DumpRenderTree/ios/DumpRenderTreeAppMain.mm:
300         * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm:
301         * DumpRenderTree/ios/TextInputControllerIOS.m:
302         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
303         * DumpRenderTree/mac/AppleScriptController.m:
304         * DumpRenderTree/mac/DumpRenderTree.mm:
305         (createWebViewAndOffscreenWindow):
306         (destroyWebViewAndOffscreenWindow):
307         (resetWebPreferencesToConsistentValues):
308         (setDefaultsToConsistentValuesForTesting):
309         (allocateGlobalControllers):
310         (releaseGlobalControllers):
311         (addTestPluginsToPluginSearchPath):
312         (prepareConsistentTestingEnvironment):
313         (dumpRenderTree):
314         (DumpRenderTreeMain):
315         (dumpFrameAsPDF):
316         (dumpBackForwardListForAllWindows):
317         (updateDisplay):
318         (dump):
319         (resetWebViewToConsistentStateBeforeTesting):
320         (runTest):
321         (displayWebView):
322         (displayAndTrackRepaintsWebView):
323         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h:
324         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
325         * DumpRenderTree/mac/DumpRenderTreeMac.h:
326         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
327         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
328         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
329         (-[DumpRenderTreeWindow close]):
330         (-[DumpRenderTreeWindow webView]):
331         (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]):
332         * DumpRenderTree/mac/EventSendingController.h:
333         * DumpRenderTree/mac/EventSendingController.mm:
334         (+[EventSendingController isSelectorExcludedFromWebScript:]):
335         (+[EventSendingController webScriptNameForSelector:]):
336         (-[EventSendingController dealloc]):
337         (-[EventSendingController currentEventTime]):
338         (-[EventSendingController clearKillRing]):
339         (modifierFlags):
340         (-[EventSendingController mouseDown:withModifiers:]):
341         (-[EventSendingController scalePageBy:atX:andY:]):
342         (-[EventSendingController mouseUp:withModifiers:]):
343         (-[EventSendingController mouseMoveToX:Y:]):
344         (-[EventSendingController mouseScrollByX:andY:continuously:]):
345         (-[EventSendingController keyDown:withModifiers:withLocation:]):
346         * DumpRenderTree/mac/FrameLoadDelegate.mm:
347         (-[FrameLoadDelegate init]):
348         (-[FrameLoadDelegate dealloc]):
349         (-[FrameLoadDelegate processWork:]):
350         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
351         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
352         (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
353         * DumpRenderTree/mac/LayoutTestHelper.m:
354         * DumpRenderTree/mac/MockGeolocationProvider.mm:
355         (-[MockGeolocationProvider timerFired]):
356         * DumpRenderTree/mac/TestRunnerMac.mm:
357         (TestRunner::setMainFrameIsFirstResponder):
358         (TestRunner::setAutomaticLinkDetectionEnabled):
359         (TestRunner::setUseDashboardCompatibilityMode):
360         (TestRunner::isCommandEnabled):
361         (TestRunner::inspectorTestStubURL):
362         (TestRunner::apiTestNewWindowDataLoadBaseURL):
363         (TestRunner::abortModal):
364         (TestRunner::setTextDirection):
365         (TestRunner::addChromeInputField):
366         (TestRunner::removeChromeInputField):
367         (TestRunner::focusWebView):
368         (TestRunner::setBackingScaleFactor):
369         (TestRunner::imageCountInGeneralPasteboard const):
370         * DumpRenderTree/mac/UIDelegate.h:
371         * DumpRenderTree/mac/UIDelegate.mm:
372         (-[UIDelegate modalWindowWillClose:]):
373         (-[UIDelegate webViewRunModal:]):
374         (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]):
375         (-[UIDelegate dealloc]):
376         * Scripts/check-for-inappropriate-objc-class-names:
377         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
378         * TestRunnerShared/spi/UIKitTestSPI.h:
379         * TestWebKitAPI/Tests/WTF/darwin/WeakLinking.cpp:
380         * TestWebKitAPI/Tests/WebCore/MarkedText.cpp:
381         (WebCore::operator<<):
382         * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm:
383         (TestWebKitAPI::TEST):
384         * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm:
385         (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp):
386         * TestWebKitAPI/Tests/WebCore/ios/PreviewLoader.cpp:
387         * TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm:
388         (TestWebKitAPI::TEST):
389         * TestWebKitAPI/Tests/WebKit/WKPreferences.cpp:
390         (TestWebKitAPI::TEST):
391         * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLs.mm:
392         * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm:
393         * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm:
394         (TEST):
395         * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandle.mm:
396         (TEST):
397         * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandlePlugIn.mm:
398         (-[BundleRangeHandlePlugIn webProcessPlugInBrowserContextController:didFinishDocumentLoadForFrame:]):
399         * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm:
400         (TEST):
401         * TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm:
402         * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm:
403         (createWebViewWithCustomPasteboardDataEnabled):
404         * TestWebKitAPI/Tests/WebKitCocoa/Copying.mm:
405         (TEST):
406         * TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm:
407         * TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm:
408         * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm:
409         * TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm:
410         * TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm:
411         * TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm:
412         * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm:
413         * TestWebKitAPI/Tests/WebKitCocoa/Geolocation.mm:
414         * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm:
415         * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageClear.mm:
416         (defaultWebsiteCacheDirectory):
417         (defaultApplicationCacheDirectory):
418         (TEST):
419         * TestWebKitAPI/Tests/WebKitCocoa/NSFileManagerExtras.mm:
420         * TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm:
421         * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm:
422         * TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm:
423         * TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm:
424         * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm:
425         (TestWebKitAPI::TEST):
426         * TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm:
427         * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm:
428         * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptions.mm:
429         (runTestWithWidth):
430         * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptionsPlugIn.mm:
431         (-[RenderedImageWithOptionsPlugIn renderImageWithWidth:completionHandler:]):
432         * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
433         * TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm:
434         * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm:
435         * TestWebKitAPI/Tests/WebKitCocoa/VisibleContentRect.mm:
436         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
437         (platformCopyRichTextWithMultipleAttachments):
438         (platformCopyRichTextWithImage):
439         (platformCopyPNG):
440         * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm:
441         * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewTargetForAction.mm:
442         * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm:
443         * TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewStablePresentationUpdateCallback.mm:
444         * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm:
445         * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-leaks.mm:
446         * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm:
447         (TEST):
448         * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
449         (TEST):
450         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
451         (TEST):
452         * TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm:
453         * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm:
454         * TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:
455         * TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm:
456         * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm:
457         * TestWebKitAPI/Tests/ios/ActionSheetTests.mm:
458         * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
459         * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm:
460         * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:
461         * TestWebKitAPI/Tests/ios/RenderingProgressTests.mm:
462         * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm:
463         * TestWebKitAPI/Tests/ios/SetTimeoutFunction.mm:
464         * TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm:
465         * TestWebKitAPI/Tests/ios/TestInputDelegate.h:
466         * TestWebKitAPI/Tests/ios/TestInputDelegate.mm:
467         * TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm:
468         * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
469         * TestWebKitAPI/Tests/ios/WKScrollViewDelegate.mm:
470         * TestWebKitAPI/Tests/ios/WKScrollViewTests.mm:
471         * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm:
472         * TestWebKitAPI/Tests/ios/WKWebViewEditActions.mm:
473         * TestWebKitAPI/cocoa/DragAndDropSimulator.h:
474         * TestWebKitAPI/cocoa/TestNavigationDelegate.mm:
475         (-[WKWebView _test_waitForDidFinishNavigation]):
476         * TestWebKitAPI/cocoa/TestWKWebView.h:
477         * TestWebKitAPI/cocoa/TestWKWebView.mm:
478         * TestWebKitAPI/config.h:
479         * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm:
480         * TestWebKitAPI/ios/TestWKWebViewController.h:
481         * TestWebKitAPI/ios/TestWKWebViewController.mm:
482         * TestWebKitAPI/ios/UIKitSPI.h:
483         * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
484         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
485         (WTR::InjectedBundle::beginTesting):
486         * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
487         (WTR::TestRunner::inspectorTestStubURL):
488         * WebKitTestRunner/TestController.cpp:
489         (WTR::TestController::webProcessName):
490         (WTR::TestController::networkProcessName):
491         * WebKitTestRunner/TestInvocation.cpp:
492         (WTR::TestInvocation::invoke):
493         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
494         * WebKitTestRunner/cg/TestInvocationCG.cpp:
495         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
496         (WTR::initializeWebViewConfiguration):
497         (WTR::TestController::platformCreateWebView):
498         (WTR::TestController::imageCountInGeneralPasteboard const):
499         (WTR::TestController::addTestKeyToKeychain):
500         (WTR::TestController::cleanUpKeychain):
501         (WTR::TestController::keyExistsInKeychain):
502         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
503         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
504         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
505
506 2018-10-18  Chris Dumez  <cdumez@apple.com>
507
508         [PSON] Cap number of SuspendedPageProxy objects and allow a WebPageProxy to have more than one
509         https://bugs.webkit.org/show_bug.cgi?id=190688
510         <rdar://problem/45354095>
511
512         Reviewed by Antti Koivisto.
513
514         Extended API test coverage to confirm that:
515         - We do not accumulate more than 3 suspended processes.
516         - We can navigate back 3 times and use the page cache for each of these loads.
517
518         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
519
520 2018-10-17  Wenson Hsieh  <wenson_hsieh@apple.com>
521
522         Enable the datalist element by default on iOS and macOS
523         https://bugs.webkit.org/show_bug.cgi?id=190594
524         <rdar://problem/45281159>
525
526         Reviewed by Ryosuke Niwa and Tim Horton.
527
528         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
529
530 2018-10-17  Chris Fleizach  <cfleizach@apple.com>
531
532         AX: Certain tags should identify their context to iOS API
533         https://bugs.webkit.org/show_bug.cgi?id=190622
534         <rdar://problem/45308194>
535
536         Reviewed by Zalan Bujtas.
537
538         * DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
539         (AccessibilityUIElement::stringAttributeValue):
540         * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm:
541         (WTR::AccessibilityUIElement::stringAttributeValue):
542
543 2018-10-16  Sihui Liu  <sihui_liu@apple.com>
544
545         Add a switch for Web SQL
546         https://bugs.webkit.org/show_bug.cgi?id=190271
547
548         Reviewed by Ryosuke Niwa.
549
550         * WebKitTestRunner/TestController.cpp:
551         (WTR::TestController::resetPreferencesToConsistentValues):
552
553 2018-10-16  Alex Christensen  <achristensen@webkit.org>
554
555         Remove InjectedBundleBackForwardList
556         https://bugs.webkit.org/show_bug.cgi?id=190640
557
558         Reviewed by Chris Dumez.
559
560         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
561         (WTR::InjectedBundle::dumpBackForwardListsForAllPages):
562         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
563         (WTR::InjectedBundlePage::prepare):
564         (WTR::InjectedBundlePage::dumpHistory):
565         (WTR::hasPrefix): Deleted.
566         (WTR::compareByTargetName): Deleted.
567         (WTR::dumpBackForwardListItem): Deleted.
568         (WTR::InjectedBundlePage::dumpBackForwardList): Deleted.
569         * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
570         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
571         (WTR::TestRunner::clearBackForwardList):
572
573 2018-10-16  Dominik Infuehr  <dinfuehr@igalia.com>
574
575         Unreviewed, added myself to contributors.json.
576
577         * Scripts/webkitpy/common/config/contributors.json:
578
579 2018-10-16  Justin Michaud  <justin_michaud@apple.com>
580
581         Implement feature flag and bindings for CSS Painting API
582         https://bugs.webkit.org/show_bug.cgi?id=190237
583
584         Reviewed by Ryosuke Niwa.
585
586         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
587
588 2018-10-16  Philippe Normand  <pnormand@igalia.com>
589
590         Unreviewed, GTK Ubuntu LTS Jhbuild prospective build fix
591
592         * gstreamer/jhbuild.modules:
593
594 2018-10-16  Philippe Normand  <pnormand@igalia.com>
595
596         [GTK][JHBuild] Disable libmount support in glib
597
598         Rubber-stamped by Alejandro G. Castro.
599
600         This feature doesn't seem required for our setup.
601
602         * gtk/jhbuild.modules:
603
604 2018-10-15  Justin Fan  <justin_fan@apple.com>
605
606         Add WebGPU 2018 feature flag and experimental feature flag
607         https://bugs.webkit.org/show_bug.cgi?id=190509
608
609         Reviewed by Dean Jackson.
610
611         Re-add ENABLE_WEBGPU, an experimental feature flag, and a RuntimeEnabledFeature
612         for the 2018 WebGPU prototype.
613
614         * DumpRenderTree/TestOptions.cpp:
615         (TestOptions::TestOptions):
616         * DumpRenderTree/TestOptions.h:
617         * DumpRenderTree/mac/DumpRenderTree.mm:
618         (setWebPreferencesForTestOptions):
619         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
620
621 2018-10-15  Ryan Haddad  <ryanhaddad@apple.com>
622
623         Update bot configuration for Sierra archive queues
624         https://bugs.webkit.org/show_bug.cgi?id=190605
625
626         Reviewed by Aakash Jain.
627
628         * BuildSlaveSupport/build.webkit.org-config/config.json:
629
630 2018-10-15  Timothy Hatcher  <timothy@apple.com>
631
632         Add support for prefers-color-scheme media query
633         https://bugs.webkit.org/show_bug.cgi?id=190499
634         rdar://problem/45212025
635
636         Reviewed by Dean Jackson.
637
638         * Scripts/webkitperl/FeatureList.pm: Added ENABLE_DARK_MODE_CSS as dark-mode-css.
639         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig: Added ENABLE_DARK_MODE_CSS.
640
641 2018-10-15  Patrick Griffis  <pgriffis@igalia.com>
642
643         [JHBuild] Add xdg-dbus-proxy module
644         https://bugs.webkit.org/show_bug.cgi?id=190589
645
646         Reviewed by Michael Catanzaro.
647
648         * gtk/jhbuild.modules:
649
650 2018-10-15  Patrick Griffis  <pgriffis@igalia.com>
651
652         [GTK] Add new sandboxing dependencies to install-dependencies
653         https://bugs.webkit.org/show_bug.cgi?id=190588
654
655         Reviewed by Michael Catanzaro.
656
657         * gtk/install-dependencies:
658
659 2018-10-15  Chris Dumez  <cdumez@apple.com>
660
661         Experiment: target=_blank on anchors should imply rel=noopener
662         https://bugs.webkit.org/show_bug.cgi?id=190481
663
664         Reviewed by Alex Christensen.
665
666         Add API test coverage to make sure we can now swap process when target=_blank
667         is specified on an anchor but rel=noopener is not.
668
669         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
670
671 2018-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
672
673         [iOS] Can't select text after dismissing the keyboard when changing focus
674         https://bugs.webkit.org/show_bug.cgi?id=190563
675         <rdar://problem/44613559>
676
677         Reviewed by Tim Horton.
678
679         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
680         (WTR::UIScriptController::isShowingKeyboard const):
681
682         Add a new UIScriptController method that returns whether the keyboard is shown. See `ui-helper.js` for more
683         details.
684
685         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
686         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
687         (WTR::UIScriptController::isShowingKeyboard const):
688         * TestRunnerShared/UIScriptContext/UIScriptController.h:
689         * WebKitTestRunner/cocoa/TestRunnerWKWebView.h:
690         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
691
692         Also rename the `isShowingKeyboard` Objective-C property to the more canonical `showingKeyboard`, with
693         `isShowingKeyboard` as the getter method.
694
695         (-[TestRunnerWKWebView _invokeShowKeyboardCallbackIfNecessary]):
696         (-[TestRunnerWKWebView _invokeHideKeyboardCallbackIfNecessary]):
697         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
698         (WTR::UIScriptController::isShowingKeyboard const):
699
700 2018-10-15  Ryan Haddad  <ryanhaddad@apple.com>
701
702         Unreviewed, fix JSC tests after WebGPUShadingLanguageRI directory was removed in r237115.
703
704         * Scripts/run-javascriptcore-tests:
705         (runJSCStressTests): Remove wsl-tests.yaml.
706
707 2018-10-15  Christopher Reid  <chris.reid@sony.com>
708
709         [Curl][WinCairo] Add Public Suffix support to WinCairo
710         https://bugs.webkit.org/show_bug.cgi?id=183060
711
712         Reviewed by Alex Christensen.
713
714         Share mac's PublicSuffix tests with all ports.
715
716         * TestWebKitAPI/PlatformWin.cmake:
717         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
718         * TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp:
719         * TestWebKitAPI/Tests/mac/PublicSuffix.mm: Removed.
720
721 2018-10-15  Myles C. Maxfield  <mmaxfield@apple.com>
722
723         [WHLSL] Migrated WebGPUShadingLanguageRI to the W3C
724         https://bugs.webkit.org/show_bug.cgi?id=190555
725
726         Unreviewed.
727
728         Migrated to https://github.com/gpuweb/WHLSL/tree/master/Source
729
730         * WebGPUShadingLanguageRI/AddressSpace.js: Removed.
731         * WebGPUShadingLanguageRI/All.js: Removed.
732         * WebGPUShadingLanguageRI/AllocateAtEntryPoints.js: Removed.
733         * WebGPUShadingLanguageRI/AnonymousVariable.js: Removed.
734         * WebGPUShadingLanguageRI/ArrayRefType.js: Removed.
735         * WebGPUShadingLanguageRI/ArrayType.js: Removed.
736         * WebGPUShadingLanguageRI/Assignment.js: Removed.
737         * WebGPUShadingLanguageRI/AutoWrapper.js: Removed.
738         * WebGPUShadingLanguageRI/Block.js: Removed.
739         * WebGPUShadingLanguageRI/BoolLiteral.js: Removed.
740         * WebGPUShadingLanguageRI/Break.js: Removed.
741         * WebGPUShadingLanguageRI/BuiltInSemantic.js: Removed.
742         * WebGPUShadingLanguageRI/BuiltinMatrixGetter.js: Removed.
743         * WebGPUShadingLanguageRI/BuiltinMatrixSetter.js: Removed.
744         * WebGPUShadingLanguageRI/BuiltinVectorGetter.js: Removed.
745         * WebGPUShadingLanguageRI/BuiltinVectorSetter.js: Removed.
746         * WebGPUShadingLanguageRI/CallExpression.js: Removed.
747         * WebGPUShadingLanguageRI/CallFunction.js: Removed.
748         * WebGPUShadingLanguageRI/Casts.js: Removed.
749         * WebGPUShadingLanguageRI/Check.js: Removed.
750         * WebGPUShadingLanguageRI/CheckLiteralTypes.js: Removed.
751         * WebGPUShadingLanguageRI/CheckLoops.js: Removed.
752         * WebGPUShadingLanguageRI/CheckNativeFuncStages.js: Removed.
753         * WebGPUShadingLanguageRI/CheckRecursion.js: Removed.
754         * WebGPUShadingLanguageRI/CheckRecursiveTypes.js: Removed.
755         * WebGPUShadingLanguageRI/CheckReturns.js: Removed.
756         * WebGPUShadingLanguageRI/CheckTypesWithArguments.js: Removed.
757         * WebGPUShadingLanguageRI/CheckUnreachableCode.js: Removed.
758         * WebGPUShadingLanguageRI/CheckWrapped.js: Removed.
759         * WebGPUShadingLanguageRI/Checker.js: Removed.
760         * WebGPUShadingLanguageRI/CloneProgram.js: Removed.
761         * WebGPUShadingLanguageRI/CommaExpression.js: Removed.
762         * WebGPUShadingLanguageRI/ConstexprFolder.js: Removed.
763         * WebGPUShadingLanguageRI/Continue.js: Removed.
764         * WebGPUShadingLanguageRI/ConvertPtrToArrayRefExpression.js: Removed.
765         * WebGPUShadingLanguageRI/CreateLiteral.js: Removed.
766         * WebGPUShadingLanguageRI/CreateLiteralType.js: Removed.
767         * WebGPUShadingLanguageRI/DereferenceExpression.js: Removed.
768         * WebGPUShadingLanguageRI/DoWhileLoop.js: Removed.
769         * WebGPUShadingLanguageRI/DotExpression.js: Removed.
770         * WebGPUShadingLanguageRI/EArrayRef.js: Removed.
771         * WebGPUShadingLanguageRI/EBuffer.js: Removed.
772         * WebGPUShadingLanguageRI/EBufferBuilder.js: Removed.
773         * WebGPUShadingLanguageRI/EPtr.js: Removed.
774         * WebGPUShadingLanguageRI/EnumLiteral.js: Removed.
775         * WebGPUShadingLanguageRI/EnumMember.js: Removed.
776         * WebGPUShadingLanguageRI/EnumType.js: Removed.
777         * WebGPUShadingLanguageRI/EvaluationCommon.js: Removed.
778         * WebGPUShadingLanguageRI/Evaluator.js: Removed.
779         * WebGPUShadingLanguageRI/Expression.js: Removed.
780         * WebGPUShadingLanguageRI/ExpressionFinder.js: Removed.
781         * WebGPUShadingLanguageRI/ExternalOrigin.js: Removed.
782         * WebGPUShadingLanguageRI/Field.js: Removed.
783         * WebGPUShadingLanguageRI/FindHighZombies.js: Removed.
784         * WebGPUShadingLanguageRI/FlattenedStructOffsetGatherer.js: Removed.
785         * WebGPUShadingLanguageRI/FloatLiteral.js: Removed.
786         * WebGPUShadingLanguageRI/FloatLiteralType.js: Removed.
787         * WebGPUShadingLanguageRI/FoldConstexprs.js: Removed.
788         * WebGPUShadingLanguageRI/ForLoop.js: Removed.
789         * WebGPUShadingLanguageRI/Func.js: Removed.
790         * WebGPUShadingLanguageRI/FuncAttribute.js: Removed.
791         * WebGPUShadingLanguageRI/FuncDef.js: Removed.
792         * WebGPUShadingLanguageRI/FuncNumThreadsAttribute.js: Removed.
793         * WebGPUShadingLanguageRI/FuncParameter.js: Removed.
794         * WebGPUShadingLanguageRI/FunctionLikeBlock.js: Removed.
795         * WebGPUShadingLanguageRI/HighZombieFinder.js: Removed.
796         * WebGPUShadingLanguageRI/IdentityExpression.js: Removed.
797         * WebGPUShadingLanguageRI/IfStatement.js: Removed.
798         * WebGPUShadingLanguageRI/IndexExpression.js: Removed.
799         * WebGPUShadingLanguageRI/InferTypesForCall.js: Removed.
800         * WebGPUShadingLanguageRI/Inline.js: Removed.
801         * WebGPUShadingLanguageRI/Inliner.js: Removed.
802         * WebGPUShadingLanguageRI/IntLiteral.js: Removed.
803         * WebGPUShadingLanguageRI/IntLiteralType.js: Removed.
804         * WebGPUShadingLanguageRI/Intrinsics.js: Removed.
805         * WebGPUShadingLanguageRI/LayoutBuffers.js: Removed.
806         * WebGPUShadingLanguageRI/Lexer.js: Removed.
807         * WebGPUShadingLanguageRI/LexerToken.js: Removed.
808         * WebGPUShadingLanguageRI/LiteralTypeChecker.js: Removed.
809         * WebGPUShadingLanguageRI/LogicalExpression.js: Removed.
810         * WebGPUShadingLanguageRI/LogicalNot.js: Removed.
811         * WebGPUShadingLanguageRI/LoopChecker.js: Removed.
812         * WebGPUShadingLanguageRI/MakeArrayRefExpression.js: Removed.
813         * WebGPUShadingLanguageRI/MakePtrExpression.js: Removed.
814         * WebGPUShadingLanguageRI/MatrixType.js: Removed.
815         * WebGPUShadingLanguageRI/Metal/MSLBackend.js: Removed.
816         * WebGPUShadingLanguageRI/Metal/MSLCodegenAll.js: Removed.
817         * WebGPUShadingLanguageRI/Metal/MSLCompileResult.js: Removed.
818         * WebGPUShadingLanguageRI/Metal/MSLConstexprEmitter.js: Removed.
819         * WebGPUShadingLanguageRI/Metal/MSLFunctionDeclaration.js: Removed.
820         * WebGPUShadingLanguageRI/Metal/MSLFunctionDefinition.js: Removed.
821         * WebGPUShadingLanguageRI/Metal/MSLFunctionForwardDeclaration.js: Removed.
822         * WebGPUShadingLanguageRI/Metal/MSLInsertTrapParameter.js: Removed.
823         * WebGPUShadingLanguageRI/Metal/MSLNameMangler.js: Removed.
824         * WebGPUShadingLanguageRI/Metal/MSLNativeFunctionCall.js: Removed.
825         * WebGPUShadingLanguageRI/Metal/MSLStatementEmitter.js: Removed.
826         * WebGPUShadingLanguageRI/Metal/MSLTypeAttributes.js: Removed.
827         * WebGPUShadingLanguageRI/Metal/MSLTypeAttributesMap.js: Removed.
828         * WebGPUShadingLanguageRI/Metal/MSLTypeUnifier.js: Removed.
829         * WebGPUShadingLanguageRI/Metal/TypeOf.js: Removed.
830         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/.gitignore: Removed.
831         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/AppDelegate.h: Removed.
832         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/AppDelegate.m: Removed.
833         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Assets.xcassets/AppIcon.appiconset/Contents.json: Removed.
834         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Assets.xcassets/Contents.json: Removed.
835         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Base.lproj/Main.storyboard: Removed.
836         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CompileResult.h: Removed.
837         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CompileResult.m: Removed.
838         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Compiler.h: Removed.
839         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Compiler.m: Removed.
840         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CustomMetalView.h: Removed.
841         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CustomMetalView.m: Removed.
842         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Default.whlsl: Removed.
843         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Julia.whlsl: Removed.
844         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Mandelbrot.whlsl: Removed.
845         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Info.plist: Removed.
846         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OffscreenRenderer.h: Removed.
847         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OffscreenRenderer.m: Removed.
848         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OnscreenRenderer.h: Removed.
849         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OnscreenRenderer.m: Removed.
850         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/Renderer.h: Removed.
851         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/Renderer.m: Removed.
852         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestCallArgument.h: Removed.
853         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestCallArgument.m: Removed.
854         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestDescription.h: Removed.
855         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestDescription.m: Removed.
856         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamily.h: Removed.
857         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamily.m: Removed.
858         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamilyRunner.h: Removed.
859         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamilyRunner.m: Removed.
860         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/ViewController.h: Removed.
861         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/ViewController.m: Removed.
862         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/WHLSL.entitlements: Removed.
863         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/_SharedMetal.txt: Removed.
864         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/main.m: Removed.
865         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL Tests.xcodeproj/project.pbxproj: Removed.
866         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL ToyTests/Info.plist: Removed.
867         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL ToyTests/WHLSL_ToyTests.m: Removed.
868         * WebGPUShadingLanguageRI/Metal/WhlslToMsl.html: Removed.
869         * WebGPUShadingLanguageRI/Metal/WhlslToMsl.js: Removed.
870         * WebGPUShadingLanguageRI/NameContext.js: Removed.
871         * WebGPUShadingLanguageRI/NameFinder.js: Removed.
872         * WebGPUShadingLanguageRI/NameResolver.js: Removed.
873         * WebGPUShadingLanguageRI/NativeFunc.js: Removed.
874         * WebGPUShadingLanguageRI/NativeType.js: Removed.
875         * WebGPUShadingLanguageRI/Node.js: Removed.
876         * WebGPUShadingLanguageRI/NormalUsePropertyResolver.js: Removed.
877         * WebGPUShadingLanguageRI/NullLiteral.js: Removed.
878         * WebGPUShadingLanguageRI/NullType.js: Removed.
879         * WebGPUShadingLanguageRI/OperatorAnderIndexer.js: Removed.
880         * WebGPUShadingLanguageRI/OperatorArrayRefLength.js: Removed.
881         * WebGPUShadingLanguageRI/OriginKind.js: Removed.
882         * WebGPUShadingLanguageRI/OverloadResolutionFailure.js: Removed.
883         * WebGPUShadingLanguageRI/Parse.js: Removed.
884         * WebGPUShadingLanguageRI/Prepare.js: Removed.
885         * WebGPUShadingLanguageRI/Program.js: Removed.
886         * WebGPUShadingLanguageRI/ProgramWithUnnecessaryThingsRemoved.js: Removed.
887         * WebGPUShadingLanguageRI/PropertyAccessExpression.js: Removed.
888         * WebGPUShadingLanguageRI/PropertyResolver.js: Removed.
889         * WebGPUShadingLanguageRI/PtrType.js: Removed.
890         * WebGPUShadingLanguageRI/ReadModifyWriteExpression.js: Removed.
891         * WebGPUShadingLanguageRI/RecursionChecker.js: Removed.
892         * WebGPUShadingLanguageRI/RecursiveTypeChecker.js: Removed.
893         * WebGPUShadingLanguageRI/ReferenceType.js: Removed.
894         * WebGPUShadingLanguageRI/ResolveNames.js: Removed.
895         * WebGPUShadingLanguageRI/ResolveOverloadImpl.js: Removed.
896         * WebGPUShadingLanguageRI/ResolveProperties.js: Removed.
897         * WebGPUShadingLanguageRI/ResolveTypeDefs.js: Removed.
898         * WebGPUShadingLanguageRI/ResourceSemantic.js: Removed.
899         * WebGPUShadingLanguageRI/Return.js: Removed.
900         * WebGPUShadingLanguageRI/ReturnChecker.js: Removed.
901         * WebGPUShadingLanguageRI/ReturnException.js: Removed.
902         * WebGPUShadingLanguageRI/Rewriter.js: Removed.
903         * WebGPUShadingLanguageRI/SPIR-V.js: Removed.
904         * WebGPUShadingLanguageRI/SPIRV.html: Removed.
905         * WebGPUShadingLanguageRI/SPIRVCodegen.js: Removed.
906         * WebGPUShadingLanguageRI/SPIRVTypeAnalyzer.js: Removed.
907         * WebGPUShadingLanguageRI/SPIRVVariableAnalyzer.js: Removed.
908         * WebGPUShadingLanguageRI/Sampler.js: Removed.
909         * WebGPUShadingLanguageRI/Semantic.js: Removed.
910         * WebGPUShadingLanguageRI/SpecializationConstantSemantic.js: Removed.
911         * WebGPUShadingLanguageRI/StageInOutSemantic.js: Removed.
912         * WebGPUShadingLanguageRI/StandardLibrary.js: Removed.
913         * WebGPUShadingLanguageRI/StatementCloner.js: Removed.
914         * WebGPUShadingLanguageRI/StructLayoutBuilder.js: Removed.
915         * WebGPUShadingLanguageRI/StructType.js: Removed.
916         * WebGPUShadingLanguageRI/SwitchCase.js: Removed.
917         * WebGPUShadingLanguageRI/SwitchStatement.js: Removed.
918         * WebGPUShadingLanguageRI/SynthesizeArrayOperatorLength.js: Removed.
919         * WebGPUShadingLanguageRI/SynthesizeCopyConstructorOperator.js: Removed.
920         * WebGPUShadingLanguageRI/SynthesizeDefaultConstructorOperator.js: Removed.
921         * WebGPUShadingLanguageRI/SynthesizeEnumFunctions.js: Removed.
922         * WebGPUShadingLanguageRI/SynthesizeStructAccessors.js: Removed.
923         * WebGPUShadingLanguageRI/TernaryExpression.js: Removed.
924         * WebGPUShadingLanguageRI/Test.html: Removed.
925         * WebGPUShadingLanguageRI/Test.js: Removed.
926         * WebGPUShadingLanguageRI/Texture.js: Removed.
927         * WebGPUShadingLanguageRI/TextureOperations.js: Removed.
928         * WebGPUShadingLanguageRI/TrapStatement.js: Removed.
929         * WebGPUShadingLanguageRI/Type.js: Removed.
930         * WebGPUShadingLanguageRI/TypeDef.js: Removed.
931         * WebGPUShadingLanguageRI/TypeDefResolver.js: Removed.
932         * WebGPUShadingLanguageRI/TypeOverloadResolutionFailure.js: Removed.
933         * WebGPUShadingLanguageRI/TypeRef.js: Removed.
934         * WebGPUShadingLanguageRI/TypedValue.js: Removed.
935         * WebGPUShadingLanguageRI/UintLiteral.js: Removed.
936         * WebGPUShadingLanguageRI/UintLiteralType.js: Removed.
937         * WebGPUShadingLanguageRI/UnificationContext.js: Removed.
938         * WebGPUShadingLanguageRI/UnreachableCodeChecker.js: Removed.
939         * WebGPUShadingLanguageRI/Value.js: Removed.
940         * WebGPUShadingLanguageRI/VariableDecl.js: Removed.
941         * WebGPUShadingLanguageRI/VariableRef.js: Removed.
942         * WebGPUShadingLanguageRI/VectorType.js: Removed.
943         * WebGPUShadingLanguageRI/VisitingSet.js: Removed.
944         * WebGPUShadingLanguageRI/Visitor.js: Removed.
945         * WebGPUShadingLanguageRI/WLexicalError.js: Removed.
946         * WebGPUShadingLanguageRI/WSyntaxError.js: Removed.
947         * WebGPUShadingLanguageRI/WTrapError.js: Removed.
948         * WebGPUShadingLanguageRI/WTypeError.js: Removed.
949         * WebGPUShadingLanguageRI/WhileLoop.js: Removed.
950         * WebGPUShadingLanguageRI/WrapChecker.js: Removed.
951         * WebGPUShadingLanguageRI/index.html: Removed.
952         * WebGPUShadingLanguageRI/spirv.core.grammar.json: Removed.
953         * WebGPUShadingLanguageRI/wsl-tests.yaml: Removed.
954
955 2018-10-15  Philippe Normand  <pnormand@igalia.com>
956
957         [GTK] Disable MSE build support on Debian and Ubuntu LTS bots
958         https://bugs.webkit.org/show_bug.cgi?id=190581
959
960         Reviewed by Michael Catanzaro.
961
962         These bots don't use JHBuild and their host GStreamer version is
963         too old for the GStreamer MSE backend. Version 1.14 is needed at least.
964
965         * BuildSlaveSupport/build.webkit.org-config/config.json:
966
967 2018-10-15  Alex Christensen  <achristensen@webkit.org>
968
969         Use pragma once in WTF
970         https://bugs.webkit.org/show_bug.cgi?id=190527
971
972         Reviewed by Chris Dumez.
973
974         Put WorkQueue in namespace DRT so it does not conflict with WTF::WorkQueue.
975
976         * DumpRenderTree/TestRunner.cpp:
977         (TestRunner::queueLoadHTMLString):
978         (TestRunner::queueLoadAlternateHTMLString):
979         (TestRunner::queueBackNavigation):
980         (TestRunner::queueForwardNavigation):
981         (TestRunner::queueLoadingScript):
982         (TestRunner::queueNonLoadingScript):
983         (TestRunner::queueReload):
984         * DumpRenderTree/WorkQueue.cpp:
985         (WorkQueue::singleton): Deleted.
986         (WorkQueue::WorkQueue): Deleted.
987         (WorkQueue::queue): Deleted.
988         (WorkQueue::dequeue): Deleted.
989         (WorkQueue::count): Deleted.
990         (WorkQueue::clear): Deleted.
991         (WorkQueue::processWork): Deleted.
992         * DumpRenderTree/WorkQueue.h:
993         (WorkQueue::setFrozen): Deleted.
994         * DumpRenderTree/WorkQueueItem.h:
995         * DumpRenderTree/mac/DumpRenderTree.mm:
996         (runTest):
997         * DumpRenderTree/mac/FrameLoadDelegate.mm:
998         (-[FrameLoadDelegate processWork:]):
999         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1000         * DumpRenderTree/mac/TestRunnerMac.mm:
1001         (TestRunner::notifyDone):
1002         (TestRunner::forceImmediateCompletion):
1003         (TestRunner::queueLoad):
1004         * DumpRenderTree/win/DumpRenderTree.cpp:
1005         (runTest):
1006         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1007         (FrameLoadDelegate::processWork):
1008         (FrameLoadDelegate::locationChangeDone):
1009         * DumpRenderTree/win/TestRunnerWin.cpp:
1010         (TestRunner::notifyDone):
1011         (TestRunner::forceImmediateCompletion):
1012         (TestRunner::queueLoad):
1013
1014 2018-10-14  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
1015
1016         [JSC] Remove Option::useAsyncIterator
1017         https://bugs.webkit.org/show_bug.cgi?id=190567
1018
1019         Reviewed by Saam Barati.
1020
1021         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1022
1023 2018-10-15  Claudio Saavedra  <csaavedra@igalia.com>
1024
1025         [WPE] Silence a unused-parameter warning
1026
1027         Unreviewed.
1028         * MiniBrowser/wpe/main.cpp:
1029         (decidePermissionRequest):
1030
1031 2018-10-12  Guillaume Emont  <guijemont@igalia.com>
1032
1033         [Tools][webkitpy] fix handling of JSCTESTS_OPTIONS
1034         https://bugs.webkit.org/show_bug.cgi?id=190537
1035
1036         Reviewed by Alexey Proskuryakov.
1037
1038         In DeprecatedPort.run_javascriptcore_tests_command() JSCTESTS_OPTIONS
1039         needs to be split before adding it to the command since it is treated
1040         as a list of args.
1041
1042         * Scripts/webkitpy/common/config/ports.py:
1043         (DeprecatedPort.run_javascriptcore_tests_command):
1044
1045 2018-10-12  Wenson Hsieh  <wenson_hsieh@apple.com>
1046
1047         [iOS] Allow SPI clients to lay out at arbitrarily scaled sizes and scale to fit the view
1048         https://bugs.webkit.org/show_bug.cgi?id=190504
1049         <rdar://problem/45117760>
1050
1051         Reviewed by Tim Horton.
1052
1053         Teach UIScriptController to set WKWebView's view scale via a new `setViewScale` method, supported in WebKit2 on
1054         macOS and iOS.
1055
1056         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
1057         (WTR::UIScriptController::setViewScale):
1058         * DumpRenderTree/mac/UIScriptControllerMac.mm:
1059         (WTR::UIScriptController::setViewScale):
1060         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
1061         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
1062         (WTR::UIScriptController::setViewScale):
1063         * TestRunnerShared/UIScriptContext/UIScriptController.h:
1064         * WebKitTestRunner/UIScriptControllerCocoa.mm: Added.
1065
1066         Add a new file for UIScriptController methods on Cocoa platforms.
1067
1068         (WTR::UIScriptController::setViewScale):
1069         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
1070         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
1071         (WTR::TestController::cocoaResetStateToConsistentValues):
1072
1073         Ensure that _viewScale is reset to 1 after running a layout test.
1074
1075 2018-10-12  Aakash Jain  <aakash_jain@apple.com>
1076
1077         [ews-build] Rename iOS-11-Simulator-Tests-EWS to iOS-11-Simulator-WK2-Tests-EWS
1078         https://bugs.webkit.org/show_bug.cgi?id=190536
1079
1080         Reviewed by Alexey Proskuryakov.
1081
1082         * BuildSlaveSupport/ews-build/config.json: Renamed iOS-11-Simulator-Tests-EWS to iOS-11-Simulator-WK2-Tests-EWS.
1083
1084 2018-10-11  Youenn Fablet  <youenn@apple.com>
1085
1086         IOS 12 - Service worker cache not shared when added to homescreen
1087         https://bugs.webkit.org/show_bug.cgi?id=190269
1088         <rdar://problem/45009961>
1089
1090         Reviewed by Alex Christensen.
1091
1092         * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
1093         Add test to ensure that CacheStorage use the default website data store parameters.
1094
1095 2018-10-11  Tim Horton  <timothy_horton@apple.com>
1096
1097         Clicking on bookmarklet crashes at NavigationState::willRecordNavigationSnapshot
1098         https://bugs.webkit.org/show_bug.cgi?id=190476
1099         <rdar://problem/32757191>
1100
1101         Reviewed by Megan Gardner.
1102
1103         * TestWebKitAPI/Tests/WebKitCocoa/SnapshotStore.mm:
1104         (TEST):
1105         Add a test that we don't crash.
1106
1107 2018-10-11  Tim Horton  <timothy_horton@apple.com>
1108
1109         REGRESSION (r237037): Cannot use webkit-patch upload, always fails with unknown 'cc_radar'
1110
1111         * Scripts/webkitpy/tool/steps/options.py:
1112         (Options):
1113         Fix the name of the variable that the --cc-radar option writes into.
1114
1115 2018-10-10  Dean Jackson  <dino@apple.com>
1116
1117         Add --cc-radar option to webkit-patch bug creation
1118         https://bugs.webkit.org/show_bug.cgi?id=190451
1119         <rdar://problem/45176671>
1120
1121         Reviewed by Antoine Quint.
1122
1123         Add a new command line option to automatically
1124         CC radar to new or updated bugs.
1125
1126         * Scripts/webkitpy/tool/commands/commandtest.py:
1127         (CommandsTest.assert_execute_outputs):
1128         * Scripts/webkitpy/tool/commands/upload.py:
1129         (CreateBug.__init__):
1130         (CreateBug.execute):
1131         * Scripts/webkitpy/tool/commands/upload_unittest.py:
1132         (test_prepare_with_cc):
1133         (test_prepare_with_radar):
1134         (test_prepare_with_cc_and_radar):
1135         * Scripts/webkitpy/tool/steps/createbug.py:
1136         (CreateBug.options):
1137         (CreateBug.run):
1138         * Scripts/webkitpy/tool/steps/options.py:
1139         (Options):
1140
1141 2018-10-11  Claudio Saavedra  <csaavedra@igalia.com>
1142
1143         [GStreamer] Do not build gstgtk plugins
1144         https://bugs.webkit.org/show_bug.cgi?id=190463
1145
1146         Reviewed by Xabier Rodriguez-Calvar.
1147
1148         These plugins pull a GTK+ dependency that, at least in WPE,
1149         is unnecessary. The GTK+ port doesn't need it either, as far
1150         as I can tell.
1151
1152         * gstreamer/jhbuild.modules: Disable gstgtk plugins
1153
1154 2018-10-11  Alejandro G. Castro  <alex@igalia.com>
1155
1156         [GTK][WPE] Add mediaDevices.enumerateDevices support
1157         https://bugs.webkit.org/show_bug.cgi?id=185761
1158
1159         Reviewed by Youenn Fablet.
1160
1161         Added new API test for the mediaDevices.enumerateDevices:
1162         usermedia-enumeratedevices-permission-check. And a new API test
1163         for the WebsiteDataStore: testWebsiteDataDeviceIdHashSalt.
1164
1165         * MiniBrowser/gtk/main.c:
1166         (gotWebsiteDataCallback): Added a new section to the about:data
1167         webpage to include the information about the hash salt.
1168         * TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:
1169         (testWebViewUserMediaEnumerateDevicesPermissionCheck): Added the
1170         new test checking the enumerateDevices API when permission is
1171         denied and when permission is allowed for the origin.
1172         (beforeAll): Defined the new test.
1173         * TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp:
1174         (serverCallback): Register a new URI for the enumerateDevices.
1175         (testWebsiteDataConfiguration): Remove the hash salts from the
1176         directories.
1177         (testWebsiteDataDeviceIdHashSalt): New test cheking the
1178         enumerateDevices API.
1179         (beforeAll): Added the new test testWebsiteDataDeviceIdHashSalt to
1180         the init structure.
1181         * TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp:
1182         (WebViewTest::initializeWebView): Make sure the media-stream is
1183         activated in the webView.
1184
1185 2018-10-10  Fujii Hironori  <Hironori.Fujii@sony.com>
1186
1187         Add WinCairo to the flakiness dashboard
1188         https://bugs.webkit.org/show_bug.cgi?id=188345
1189
1190         Reviewed by Lucas Forschler.
1191
1192         * TestResultServer/static-dashboards/builders.jsonp: Regenerated by generate_builders_json.py.
1193         * TestResultServer/static-dashboards/flakiness_dashboard.js: Added a new platform 'WINCAIRO'.
1194
1195 2018-10-10  Dean Jackson  <dino@apple.com>
1196
1197         [WHSL -> MSL] Annotate semantics correctly in generated MSL
1198         https://bugs.webkit.org/show_bug.cgi?id=190452
1199         <rdar://problem/45178272>
1200
1201         Reviewed by Myles Maxfield.
1202
1203         Correctly label the appropriate semantics as [[position]]
1204         and [[color(N)]].
1205
1206         * WebGPUShadingLanguageRI/Metal/MSLBackend.js: Identify position
1207         and color attributes. Also use the semantic's index rather than
1208         a counter.
1209         * WebGPUShadingLanguageRI/Metal/WhlslToMsl.html: Use a <pre> for
1210         output, and only include the actual shader code.
1211
1212 2018-10-10  Ross Kirsling  <ross.kirsling@sony.com>
1213
1214         build-webkit --inspector-frontend shouldn't have a nonzero exit code
1215         https://bugs.webkit.org/show_bug.cgi?id=190430
1216
1217         Reviewed by Brian Burg.
1218
1219         * Scripts/webkitdirs.pm:
1220         (argumentsForConfiguration):
1221         --inspector-frontend should only be popped off of argv by determineIsInspectorFrontend;
1222         it shouldn't be re-inserted as a CLI option by argumentsForConfiguration.
1223
1224 2018-10-10  Tim Horton  <timothy_horton@apple.com>
1225
1226         Share more WKShareSheet code between macOS and iOS, and fix a few bugs
1227         https://bugs.webkit.org/show_bug.cgi?id=190420
1228
1229         Reviewed by Simon Fraser.
1230
1231         * DumpRenderTree/ios/UIScriptControllerIOS.mm:
1232         (WTR::UIScriptController::setShareSheetCompletesImmediatelyWithResolution):
1233         (WTR::UIScriptController::invokeShareSheetWithResolution): Deleted.
1234         * DumpRenderTree/mac/UIScriptControllerMac.mm:
1235         (WTR::UIScriptController::setShareSheetCompletesImmediatelyWithResolution):
1236         * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
1237         * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
1238         (WTR::UIScriptController::setShareSheetCompletesImmediatelyWithResolution):
1239         (WTR::UIScriptController::invokeShareSheetWithResolution): Deleted.
1240         * TestRunnerShared/UIScriptContext/UIScriptController.h:
1241         * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
1242         (WTR::UIScriptController::setShareSheetCompletesImmediatelyWithResolution):
1243         (WTR::UIScriptController::invokeShareSheetWithResolution): Deleted.
1244         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
1245         (WTR::UIScriptController::setShareSheetCompletesImmediatelyWithResolution):
1246         Change the testing mechanism for the share sheet such that we up-front
1247         set that it should immediately return with a particular state, instead
1248         of programmatically dismissing the sheet.
1249
1250         Otherwise, running the tests on macOS doesn't work, because we pop
1251         a context menu, which spins the runloop and prevents dismissal from
1252         going through.
1253
1254 2018-10-10  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
1255
1256         [JSC] Rename createXXX to tryCreateXXX if it can return RefPtr
1257         https://bugs.webkit.org/show_bug.cgi?id=190429
1258
1259         Reviewed by Saam Barati.
1260
1261         * TestWebKitAPI/Tests/WebCore/mac/GPUBuffer.mm:
1262         (TestWebKitAPI::TEST_F):
1263
1264 2018-10-10  Chris Dumez  <cdumez@apple.com>
1265
1266         Regression(PSON): Assertion hit under WebPageProxy::didNavigateWithNavigationData()
1267         https://bugs.webkit.org/show_bug.cgi?id=190418
1268         <rdar://problem/45059769>
1269
1270         Reviewed by Geoffrey Garen.
1271
1272         Add API test coverage.
1273
1274         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
1275
1276 2018-10-10  Guillaume Emont  <guijemont@igalia.com>
1277
1278         [JSCOnly Add an armv7 JSCOnly EWS that runs tests
1279         https://bugs.webkit.org/show_bug.cgi?id=190191
1280
1281         Reviewed by Michael Catanzaro.
1282
1283         * QueueStatusServer/config/queues.py:
1284         * Scripts/webkitpy/common/config/ews.json:
1285         * Scripts/webkitpy/common/config/ports.py:
1286         (DeprecatedPort.run_javascriptcore_tests_command):
1287         Add the possibility to pass arguments to run-javascriptcore-tests with
1288         the JSCTESTS_OPTIONS environment variable
1289         * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
1290         (test_ews_name):
1291
1292
1293 2018-10-09  Guillaume Emont  <guijemont@igalia.com>
1294
1295         Allow run-javascriptcore-tests to distribute tests between devices
1296         https://bugs.webkit.org/show_bug.cgi?id=190190
1297
1298         Reviewed by Michael Catanzaro.
1299
1300         * Scripts/run-jsc-stress-tests:
1301         * Scripts/webkitruby/jsc-stress-test-writer-default.rb:
1302         * Scripts/webkitruby/jsc-stress-test-writer-ruby.rb:
1303
1304 2018-10-09  Dean Jackson  <dino@apple.com>
1305
1306         Update WHLSL to Metal tester with semantics
1307         https://bugs.webkit.org/show_bug.cgi?id=190416
1308         <rdar://problem/45145139>
1309
1310         Reviewed by Myles Maxfield.
1311
1312         A few small changes to the WHLSL to Metal tools:
1313         - Make it compile by adding some missing JS files :)
1314         - Add semantics to the default shader
1315         - Add FIXMEs to the other shaders
1316         - Create an in-browser test for the WHLSLToMetal codepath
1317         - Fix typos in the semantics checker
1318
1319         * WebGPUShadingLanguageRI/Checker.js:
1320         (Checker.prototype._checkSemantics.checkSemanticTypes):
1321         (Checker.prototype._checkSemantics.checkSemanticForShaderType):
1322         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Compiler.m:
1323         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Default.whlsl:
1324         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Julia.whlsl:
1325         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Mandelbrot.whlsl:
1326         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL Tests.xcodeproj/project.pbxproj:
1327         * WebGPUShadingLanguageRI/Metal/WhlslToMsl.html: Added.
1328
1329 2018-10-09  Jer Noble  <jer.noble@apple.com>
1330
1331         Crash when closing WKWebView during enter fullscreen animation
1332         https://bugs.webkit.org/show_bug.cgi?id=190412
1333
1334         Reviewed by Brian Burg.
1335
1336         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1337         * TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewDuringEnterFullscreen.mm: Added.
1338         (-[CloseWebViewDuringEnterFullscreenUIDelegate _webViewWillEnterFullscreen:]):
1339         (-[CloseWebViewDuringEnterFullscreenUIDelegate _webViewWillExitFullscreen:]):
1340         (TestWebKitAPI::TEST):
1341
1342 2018-10-09  Chris Dumez  <cdumez@apple.com>
1343
1344         Anchor target should be ignored on activation when the download attribute is set
1345         https://bugs.webkit.org/show_bug.cgi?id=190408
1346
1347         Reviewed by Geoffrey Garen.
1348
1349         Update WebKitTestRunner to block popups by default and add support for testRunner.setCanOpenWindows()
1350         for tests that need popups. This aligns WebKitTestRunner with DumpRenderTree and allows testing
1351         popup blocking.
1352
1353         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
1354         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1355         (WTR::TestRunner::setCanOpenWindows):
1356         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1357         * WebKitTestRunner/TestController.cpp:
1358         (WTR::TestController::createOtherPage):
1359         * WebKitTestRunner/TestController.h:
1360         * WebKitTestRunner/TestInvocation.cpp:
1361         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
1362         * WebKitTestRunner/TestInvocation.h:
1363
1364 2018-10-09  Jer Noble  <jer.noble@apple.com>
1365
1366         WebDriver: thrown ObjC exception under -[WKFullScreenWindowController windowDidFailToEnterFullScreen:] when session is terminated
1367         https://bugs.webkit.org/show_bug.cgi?id=190098
1368         <rdar://problem/42822671>
1369
1370         Reviewed by Brian Burg.
1371
1372         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1373         * TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewAfterEnterFullscreen.mm: Added.
1374         (-[CloseWebViewAfterEnterFullscreenUIDelegate _webViewDidEnterFullscreen:]):
1375         (-[CloseWebViewAfterEnterFullscreenUIDelegate _webViewDidExitFullscreen:]):
1376         (TestWebKitAPI::TEST):
1377
1378 2018-10-09  Jiewen Tan  <jiewen_tan@apple.com>
1379
1380         [WebAuthN] Import CTAP HID message and packet structure from Chromium
1381         https://bugs.webkit.org/show_bug.cgi?id=189289
1382         <rdar://problem/44120310>
1383
1384         Reviewed by Brent Fulgham.
1385
1386         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1387         * TestWebKitAPI/Tests/WebCore/FidoHidMessageTest.cpp: Added.
1388         (TestWebKitAPI::TEST):
1389
1390 2018-10-09  Chris Dumez  <cdumez@apple.com>
1391
1392         PSON: Doing a cross-site navigation via the URL bar does not swap process on iOS
1393         https://bugs.webkit.org/show_bug.cgi?id=190378
1394         <rdar://problem/45059466>
1395
1396         Reviewed by Geoffrey Garen.
1397
1398         Add API test coverage.
1399
1400         * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
1401
1402 2018-10-09  Jer Noble  <jer.noble@apple.com>
1403
1404         ISOTrackEncryptionBox returns incorrect defaultKeyID
1405         https://bugs.webkit.org/show_bug.cgi?id=190368
1406
1407         Reviewed by Eric Carlson.
1408
1409         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1410         * TestWebKitAPI/Tests/WebCore/ISOBox.cpp: Added.
1411         (TestWebKitAPI::TEST):
1412
1413 2018-10-09  Philippe Normand  <pnormand@igalia.com>
1414
1415         [JHBuild] Update to GStreamer 1.14.4
1416         https://bugs.webkit.org/show_bug.cgi?id=190395
1417
1418         Reviewed by Xabier Rodriguez-Calvar.
1419
1420         * gstreamer/jhbuild.modules: Remove patches merged in 1.14.4 and bump version of GStreamer modules.
1421         * gstreamer/patches/gst-plugins-good-0007-matroskademux-Allow-Matroska-headers-to-be-read-more.patch: Removed.
1422         * gstreamer/patches/gst-plugins-good-0008-matroskademux-Refactor-track-parsing-out-from-adding.patch: Removed.
1423         * gstreamer/patches/gst-plugins-good-0009-matroskademux-Parse-successive-Tracks-elements.patch: Removed.
1424         * gstreamer/patches/gst-plugins-good-0010-matroskademux-Emit-no-more-pads-after-parsing-Tracks.patch: Removed.
1425
1426 2018-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
1427
1428         [macOS] API test DragAndDropTests.DropColor is failing on macOS 10.12
1429         https://bugs.webkit.org/show_bug.cgi?id=190386
1430
1431         Reviewed by Ryosuke Niwa.
1432
1433         Unlike macOS 10.13 and 10.14, -[NSColor redColor] is not equivalent to a fully red color in sRGB on macOS 10.12.
1434         Fix the test by dragging and dropping an NSColor that is equivalent to rgb(255, 0, 0) on all relevant versions
1435         of macOS.
1436
1437         * TestWebKitAPI/Tests/mac/DragAndDropTestsMac.mm:
1438         (TEST):
1439
1440 2018-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
1441
1442         [Cocoa] [WK2] Add support for text alignment and text lists in font attributes
1443         https://bugs.webkit.org/show_bug.cgi?id=190342
1444         <rdar://problem/44767118>
1445
1446         Reviewed by Tim Horton.
1447
1448         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1449         * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm:
1450
1451         Add a new API test to check that the font attributes dictionary contains the correct NSParagraphStyles when
1452         moving the selection around text inside nested list elements.
1453
1454         (TestWebKitAPI::checkParagraphStyles):
1455
1456         Add a new helper to check an NSParagraphStyle against expected results.
1457
1458         (TestWebKitAPI::webViewForTestingFontAttributes):
1459
1460         Allow each test to pass in the name of the test page to load.
1461
1462         (TestWebKitAPI::TEST):
1463         * TestWebKitAPI/Tests/WebKitCocoa/nested-lists.html: Added.
1464
1465         Add a new test page that contains text enclosed in multiple levels of unordered and ordered lists.
1466
1467         * TestWebKitAPI/Tests/WebKitCocoa/rich-text-attributes.html:
1468
1469         Remove `text-align: left` from one of these elements, to test for NSTextAlignmentNatural.
1470
1471 2018-10-08  Justin Fan  <justin_fan@apple.com>
1472
1473         WebGPU: Rename old WebGPU prototype to WebMetal
1474         https://bugs.webkit.org/show_bug.cgi?id=190325
1475         <rdar://problem/44990443>
1476
1477         Reviewed by Dean Jackson.
1478
1479         Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
1480
1481         * DumpRenderTree/mac/DumpRenderTree.mm:
1482         (enableExperimentalFeatures):
1483         (resetWebPreferencesToConsistentValues):
1484         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1485         * TestWebKitAPI/Tests/WebCore/mac/GPUBuffer.mm:
1486         * TestWebKitAPI/Tests/WebCore/mac/GPUCommandQueue.mm:
1487         * TestWebKitAPI/Tests/WebCore/mac/GPUDevice.mm:
1488         * TestWebKitAPI/Tests/WebCore/mac/GPUFunction.mm:
1489         * TestWebKitAPI/Tests/WebCore/mac/GPULibrary.mm:
1490         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
1491         (WTR::InjectedBundle::beginTesting):
1492         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1493         (WTR::TestRunner::setWebMetalEnabled):
1494         (WTR::TestRunner::setWebGPUEnabled): Deleted.
1495         * WebKitTestRunner/InjectedBundle/TestRunner.h:
1496
1497 2018-10-08  Commit Queue  <commit-queue@webkit.org>
1498
1499         Unreviewed, rolling out r236941.
1500         https://bugs.webkit.org/show_bug.cgi?id=190374
1501
1502         Causing API test failures in new test (Requested by jernoble
1503         on #webkit).
1504
1505         Reverted changeset:
1506
1507         "ISOTrackEncryptionBox returns incorrect defaultKeyID"
1508         https://bugs.webkit.org/show_bug.cgi?id=190368
1509         https://trac.webkit.org/changeset/236941
1510
1511 2018-10-08  Aditya Keerthi  <akeerthi@apple.com>
1512
1513         Make <input type=color> a runtime enabled (on-by-default) feature
1514         https://bugs.webkit.org/show_bug.cgi?id=189162
1515
1516         Reviewed by Wenson Hsieh and Tim Horton.
1517
1518         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
1519
1520 2018-10-08  Jer Noble  <jer.noble@apple.com>
1521
1522         ISOTrackEncryptionBox returns incorrect defaultKeyID
1523         https://bugs.webkit.org/show_bug.cgi?id=190368
1524
1525         Reviewed by Eric Carlson.
1526
1527         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1528         * TestWebKitAPI/Tests/WebCore/ISOBox.cpp: Added.
1529         (TestWebKitAPI::TEST):
1530
1531 2018-10-08  Alex Christensen  <achristensen@webkit.org>
1532
1533         Remove WKBundleFileHandleRef
1534         https://bugs.webkit.org/show_bug.cgi?id=190360
1535
1536         Reviewed by Tim Horton.
1537
1538         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1539         * TestWebKitAPI/Tests/WebKit/WKBundleFileHandle.cpp: Removed.
1540         * TestWebKitAPI/Tests/WebKit/WKBundleFileHandle_Bundle.cpp: Removed.
1541
1542 2018-10-08  Dan Bernstein  <mitz@apple.com>
1543
1544         Tools part of [Xcode] Update some build settings as recommended by Xcode 10
1545         https://bugs.webkit.org/show_bug.cgi?id=190250
1546
1547         Reviewed by Anders Carlsson.
1548
1549         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
1550
1551         * DumpRenderTree/mac/Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA,
1552           CLANG_WARN_STRICT_PROTOTYPES, CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS,
1553           CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF, and CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED.
1554
1555         * DumpRenderTree/mac/DumpRenderTreeMac.h: Addressed the strict prototype warning.
1556
1557         * DumpRenderTree/mac/EditingDelegate.mm: Suppressed the deprecated implementations warning
1558           around deprecated methods or categories on deprecated classes.
1559         * DumpRenderTree/mac/FrameLoadDelegate.mm: Ditto.
1560         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1561         * DumpRenderTree/mac/TestRunnerMac.mm: Ditto.
1562         (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]):
1563
1564         * MiniBrowser/Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA,
1565           CLANG_WARN_STRICT_PROTOTYPES, CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS,
1566           CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF, and CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED.
1567
1568         * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
1569
1570         * MiniBrowser/mac/AppDelegate.h: Addressed the strict prototypes warning.
1571         * MiniBrowser/mac/WK2BrowserWindowController.m: Removed an unused #import to avoid having to
1572           address the fact that many of the WebKit C SPI headers trigger the strict prototypes warning.
1573
1574         * MobileMiniBrowser/Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA,
1575           CLANG_WARN_STRICT_PROTOTYPES, CLANG_WARN_SUSPICIOUS_MOVE (by fixing a typo),
1576           CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS, and CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF.
1577
1578         * MobileMiniBrowser/MobileMiniBrowser.xcodeproj/project.pbxproj: Let Xcode update
1579           LastUpgradeCheck and remove the .xcconfig files from the Copy Bundle Resources build phase.
1580
1581         * TestWebKitAPI/Configurations/Base.xcconfig: Enabled CLANG_WARN_COMMA,
1582           CLANG_WARN_STRICT_PROTOTYPES, CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS,
1583           CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF, and CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED.
1584           Made the WebKit headers be treated as system headers to avoid dealing with the fact that
1585           many C SPI headers trigger the strict prototypes warning.
1586
1587         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
1588
1589         * TestWebKitAPI/Tests/WebKitCocoa/Download.mm:
1590         (-[DownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
1591         (-[BlobDownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
1592         (-[UIDownloadAsFileTestDelegate _webView:contextMenu:forElement:]):
1593         (-[RedirectedDownloadDelegate _download:decideDestinationWithSuggestedFilename:allowOverwrite:]):
1594         * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
1595         (-[CustomHeaderFieldsDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
1596         (-[WebsitePoliciesWebsiteDataStoreDelegate _webView:decidePolicyForNavigationAction:decisionHandler:]):
1597         * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm:
1598         (-[AudioSessionCategoryUIWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:]):
1599         * TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:
1600         (-[RenderInContextWebViewDelegate webViewDidFinishLoad:]):
1601         (-[RenderInContextWebViewDelegate webView:didFailLoadWithError:]):
1602         * TestWebKitAPI/Tests/ios/SetTimeoutFunction.mm:
1603         (-[SetTimeoutFunctionWebViewDelegate webViewDidFinishLoad:]):
1604         (-[SetTimeoutFunctionWebViewDelegate webView:didFailLoadWithError:]):
1605         (-[SetTimeoutFunctionWebViewDelegate webView:shouldStartLoadWithRequest:navigationType:]):
1606         * TestWebKitAPI/Tests/mac/LegacyDragAndDropTests.mm:
1607         (-[DragInfo namesOfPromisedFilesDroppedAtDestination:]):
1608         * TestWebKitAPI/mac/DragAndDropSimulatorMac.mm:
1609         (-[DragAndDropTestWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]):
1610         * TestWebKitAPI/mac/SyntheticBackingScaleFactorWindow.m:
1611         (-[SyntheticBackingScaleFactorWindow IGNORE_WARNINGS_END]):
1612         (-[SyntheticBackingScaleFactorWindow userSpaceScaleFactor]): Deleted.
1613         * TestWebKitAPI/mac/TestDraggingInfo.mm:
1614         (-[TestDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1615
1616         In all of the above, suppressed the deprecated implementations warning where needed.
1617
1618         * WebKitTestRunner/Configurations/Base.xcconfig: Enabled ENABLE_STRICT_OBJC_MSGSEND,
1619           CLANG_WARN_BOOL_CONVERSION, CLANG_WARN_COMMA, CLANG_WARN_CONSTANT_CONVERSION,
1620           CLANG_WARN_EMPTY_BODY, CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION,
1621           CLANG_WARN_STRICT_PROTOTYPES, CLANG_WARN_UNREACHABLE_CODE, CLANG_WARN__DUPLICATE_METHOD_MATCH,
1622           GCC_WARN_UNDECLARED_SELECTOR, CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF,
1623           CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED, CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS,
1624           and GCC_NO_COMMON_BLOCKS.
1625
1626         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
1627
1628         * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm:
1629         (-[TestRunnerWKWebView dragImage:at:offset:event:pasteboard:source:slideBack:]): Suppressed
1630           the deprecated implementations warning.
1631
1632         * WebKitTestRunner/mac/UIScriptControllerMac.mm:
1633         (WTR::UIScriptController::replaceTextAtRange): Addressed an int-conversion warning.
1634
1635 2018-10-07  Yacine Bandou  <yacine.bandou@softathome.com>
1636
1637         [GStreamer][EME][webm] Add the WebM encrypted content support in matroskademux
1638         https://bugs.webkit.org/show_bug.cgi?id=189238
1639
1640         Reviewed by Xabier Rodriguez-Calvar.
1641
1642         Modifications on GStreamer, tracked in GStreamer bugzilla:
1643         https://bugzilla.gnome.org/show_bug.cgi?id=797231
1644         https://bugzilla.gnome.org/show_bug.cgi?id=765275
1645
1646         * gstreamer/jhbuild.modules: Add new patches.
1647         * gstreamer/patches/gstreamer-0001-protection-Add-a-new-definition-for-unspecified-syst.patch: Added.
1648         * gstreamer/patches/gstreamer-0002-protection-Fix-the-string-to-define-unspecified-syst.patch: Added.
1649         * gstreamer/patches/gst-plugins-good-0011-matroska-Add-the-WebM-encrypted-content-support-in-m.patch: Added.
1650         * gstreamer/patches/gst-plugins-good-0012-matroskdemux-do-not-use-MapInfo.data-after-unmapping.patch: Added.
1651
1652 2018-10-06  Dan Bernstein  <mitz@apple.com>
1653
1654         [Xcode] Never build yasm with ASAN
1655         https://bugs.webkit.org/show_bug.cgi?id=190327
1656
1657         Reviewed by Youenn Fablet.
1658
1659         * asan/asan.xcconfig: Allow targets to opt out of building with ASAN by setting
1660           the WK_ASAN_DISALLOWED build setting to YES (or, actually, anything other than NO or unset).
1661
1662 2018-10-05  Chris Dumez  <cdumez@apple.com>
1663
1664         Regression(r236862): Crash under DOMWindowExtension::willDetachGlobalObjectFromFrame()
1665         https://bugs.webkit.org/show_bug.cgi?id=190320
1666         <rdar://problem/45044814>
1667
1668         Reviewed by Geoffrey Garen.
1669
1670         Add API test coverage.
1671
1672         * TestWebKitAPI/Tests/WebKit/DOMWindowExtensionBasic.cpp:
1673         (TestWebKitAPI::TEST):
1674         * TestWebKitAPI/Tests/WebKit/DOMWindowExtensionBasic_Bundle.cpp:
1675         (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyGlobalObjectForDOMWindowExtension):
1676
1677 2018-10-03  Jer Noble  <jer.noble@apple.com>
1678
1679         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
1680         https://bugs.webkit.org/show_bug.cgi?id=190266
1681
1682         Reviewed by Eric Carlson.
1683
1684         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1685         * TestWebKitAPI/Tests/WebKitCocoa/VideoQualityDisplayCompositing.mm: Added.
1686         (TestWebKitAPI::TEST):
1687
1688 2018-10-05  Ryan Haddad  <ryanhaddad@apple.com>
1689
1690         Unreviewed, rolling out r236866.
1691
1692         Breaks internal builds.
1693
1694         Reverted changeset:
1695
1696         "Add support for reporting "display composited video frames"
1697         through the VideoPlaybackQuality object."
1698         https://bugs.webkit.org/show_bug.cgi?id=190266
1699         https://trac.webkit.org/changeset/236866
1700
1701 2018-10-05  Carlos Eduardo Ramalho  <cadubentzen@gmail.com>
1702
1703         [WPE][JSC] Use Unified Sources for Platform-specific sources
1704         https://bugs.webkit.org/show_bug.cgi?id=190300
1705
1706         Reviewed by Yusuke Suzuki.
1707
1708         Currently the GTK port already used Unified Sources with the same source files.
1709         As WPE has conditional code using gmodule, we need to add GLIB_GMODULE_LIBRARIES
1710         to the list of libraries to link with.
1711
1712         * TestWebKitAPI/PlatformWPE.cmake:
1713
1714 2018-10-05  Zach Li  <zachli@apple.com>
1715
1716         Expose whether WKWebProcessPlugInNodeHandle is a select element to clients
1717         https://bugs.webkit.org/show_bug.cgi?id=190302
1718         <rdar://problem/45031469>
1719
1720         Reviewed by Tim Horton.
1721
1722         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1723         * TestWebKitAPI/Tests/WebKitCocoa/InjectedBundleNodeHandleIsSelectElement.mm: Added.
1724         (-[InjectedBundleNodeHandleIsSelectElement verifySelectElementForHTMLElementTag:document:jsContext:expectedResult:failedElementTags:]):
1725         (-[InjectedBundleNodeHandleIsSelectElement webProcessPlugIn:didCreateBrowserContextController:]):
1726         * TestWebKitAPI/Tests/WebKitCocoa/UIDelegate.mm:
1727         (-[InjectedBundleNodeHandleIsSelectElementDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]):
1728         (TEST):
1729
1730 2018-10-04  Wenson Hsieh  <wenson_hsieh@apple.com>
1731
1732         [iOS] [WK2] Expose some more editing SPI on WKWebView
1733         https://bugs.webkit.org/show_bug.cgi?id=190232
1734         <rdar://problem/44963368>
1735
1736         Reviewed by Tim Horton.
1737
1738         Adds new API tests to exercise the new SPIs.
1739
1740         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1741         * TestWebKitAPI/Tests/ios/WKWebViewEditActions.mm: Added.
1742         (-[TestWKWebView querySelectorExists:]):
1743         (TestWebKitAPI::webViewForEditActionTesting):
1744         (TestWebKitAPI::TEST):
1745         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
1746         (-[TestWKWebView collapseToStart]): Deleted.
1747         (-[TestWKWebView collapseToEnd]): Deleted.
1748         (-[TestWKWebView stylePropertyAtSelectionStart:]): Deleted.
1749         (-[TestWKWebView stylePropertyAtSelectionEnd:]): Deleted.
1750         * TestWebKitAPI/cocoa/TestWKWebView.h:
1751         * TestWebKitAPI/cocoa/TestWKWebView.mm:
1752         (-[TestWKWebView stylePropertyAtSelectionStart:]):
1753         (-[TestWKWebView stylePropertyAtSelectionEnd:]):
1754         (-[TestWKWebView collapseToStart]):
1755         (-[TestWKWebView collapseToEnd]):
1756
1757         Pull some common testing helpers out of NSFontManager and into TestWKWebView.
1758
1759 2018-10-04  Jer Noble  <jer.noble@apple.com>
1760
1761         Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
1762         https://bugs.webkit.org/show_bug.cgi?id=190266
1763
1764         Reviewed by Eric Carlson.
1765
1766         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1767         * TestWebKitAPI/Tests/WebKitCocoa/VideoQualityDisplayCompositing.mm: Added.
1768         (TestWebKitAPI::TEST):
1769
1770 2018-10-04  Wenson Hsieh  <wenson_hsieh@apple.com>
1771
1772         [Cocoa] Add SPI to expose typing attributes at the current selection on WKWebView
1773         https://bugs.webkit.org/show_bug.cgi?id=190119
1774         <rdar://problem/44767062>
1775
1776         Reviewed by Tim Horton.
1777
1778         Add a new API test that loads a document containing various rich text styles. This test moves the selection
1779         around the document and checks the last set of font attributes received via the new UI delegate hook.
1780
1781         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1782         * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm: Added.
1783         (-[FontAttributesListener _webView:didChangeFontAttributes:]):
1784         (-[FontAttributesListener lastFontAttributes]):
1785         (-[TestWKWebView selectElementWithIdentifier:]):
1786         (-[TestWKWebView fontAttributesAfterNextPresentationUpdate]):
1787         (ColorExpectation::ColorExpectation):
1788         (ShadowExpectation::ShadowExpectation):
1789         (checkColor):
1790         (checkShadow):
1791         (checkFont):
1792         (webViewForTestingFontAttributes):
1793         * TestWebKitAPI/Tests/WebKitCocoa/rich-text-attributes.html: Added.
1794
1795 2018-10-04  Alan Coon  <alancoon@apple.com>
1796
1797         Unreviewed, add self as contributor.
1798
1799         * Scripts/webkitpy/common/config/contributors.json:
1800
1801 2018-10-04  Wenson Hsieh  <wenson_hsieh@apple.com>
1802
1803         [macOS] Fix some font attribute conversion bugs in preparation for "Font > Styles…" support in WebKit2
1804         https://bugs.webkit.org/show_bug.cgi?id=190289
1805         <rdar://problem/45020806>
1806
1807         Reviewed by Ryosuke Niwa.
1808
1809         Add new API tests to exercise two corner cases when using NSFontOptions ("Font > Styles…") to change font
1810         attributes at the current selection.
1811
1812         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
1813         * TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:
1814         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
1815         (webViewForFontManagerTesting):
1816         (TestWebKitAPI::TEST):
1817         * TestWebKitAPI/mac/TestFontOptions.h: Copied from Source/WebCore/editing/cocoa/FontAttributesCocoa.mm.
1818         * TestWebKitAPI/mac/TestFontOptions.mm: Added.
1819
1820         Introduce TestFontOptions, which wraps the shared NSFontOptions and swizzles `-sharedFontOptions` to return a
1821         global instance of itself. TestFontOptions supports several testing helpers to add or remove font shadows,
1822         foreground colors, and background colors.
1823
1824         (sharedFontOptionsForTesting):
1825         (+[TestFontOptions sharedInstance]):
1826         (-[TestFontOptions initWithFontOptions:]):
1827         (-[TestFontOptions selectedAttributes]):
1828         (-[TestFontOptions fontOptions]):
1829         (-[TestFontOptions shadowWidth]):
1830         (-[TestFontOptions setShadowWidth:]):
1831         (-[TestFontOptions shadowHeight]):
1832         (-[TestFontOptions setShadowHeight:]):
1833         (-[TestFontOptions setShadowBlurRadius:]):
1834         (-[TestFontOptions setHasShadow:]):
1835         (-[TestFontOptions foregroundColor]):
1836         (-[TestFontOptions setForegroundColor:]):
1837         (-[TestFontOptions backgroundColor]):
1838         (-[TestFontOptions setBackgroundColor:]):
1839         (-[TestFontOptions _dispatchFontAttributeChanges]):
1840         (-[TestFontOptions convertAttributes:]):
1841         (-[TestFontOptions setSelectedAttributes:isMultiple:]):
1842         (-[TestFontOptions forwardInvocation:]):
1843
1844 2018-10-04  Jiewen Tan  <jiewen_tan@apple.com>
1845
1846         [WebAuthN] Move time out control from WebProcess to UIProcess
1847         https://bugs.webkit.org/show_bug.cgi?id=189642
1848         <rdar://problem/44476765>
1849
1850         Reviewed by Chris Dumez.
1851
1852         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
1853         (WTR::TestRunner::setWebAuthenticationMockConfiguration):
1854
1855 2018-10-04  YUHAN WU  <yuhan_wu@apple.com>
1856
1857         Runtime flag and IDL for MediaRecorder
1858         https://bugs.webkit.org/show_bug.cgi?id=190018
1859
1860         Reviewed by Youenn Fablet and Chris Dumez.
1861
1862         * DumpRenderTree/mac/DumpRenderTree.mm:
1863         (enableExperimentalFeatures):
1864
1865 2018-10-04  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1866
1867         [LayoutTests][Win] Stop wpt server correctly.
1868         https://bugs.webkit.org/show_bug.cgi?id=190248
1869
1870         Reviewed by Fujii Hironori.
1871
1872         Use signal.CTRL_C_EVENT instead of signal.SIGINT for Windows.
1873         Also refactoring the detection of Windows and cygwin environment check.
1874
1875         * Scripts/webkitpy/common/system/executive.py:
1876         (Executive.__init__): Check environment once.
1877         (Executive._should_close_fds):
1878         (Executive.kill_process):
1879         (Executive.check_running_pid):
1880         (Executive.running_pids):
1881         (Executive.interrupt): Use signal.CTRL_C_EVENT for Windows.
1882         (Executive.kill_all):
1883         (Executive._child_process_encoding):
1884         (Executive._should_encode_child_process_arguments):
1885         (Executive.popen):
1886         (Executive.run_in_parallel):
1887
1888 2018-10-04  Michael Catanzaro  <mcatanzaro@igalia.com>
1889
1890         Convert tests to use navigation client
1891         https://bugs.webkit.org/show_bug.cgi?id=190153
1892
1893         Reviewed by Alex Christensen.
1894
1895         Convert these tests from PagePolicyClient and PageLoaderClient to PageNavigationClient.
1896
1897         * TestWebKitAPI/Tests/WebKit/DownloadDecideDestinationCrash.cpp:
1898         (TestWebKitAPI::decidePolicyForNavigationAction):
1899         (TestWebKitAPI::setPagePolicyClient):
1900         * TestWebKitAPI/Tests/WebKit/ProvisionalURLAfterWillSendRequestCallback.cpp:
1901         (TestWebKitAPI::didCommitNavigationCallback):
1902         (TestWebKitAPI::TEST):
1903         (TestWebKitAPI::didCommitLoadForFrame): Deleted.
1904
1905 2018-10-03  Dan Bernstein  <mitz@apple.com>
1906
1907         [Cocoa] Let clients specify an NSFileWrapper subclassed to be used for _WKAttachment
1908         https://bugs.webkit.org/show_bug.cgi?id=190270
1909
1910         Reviewed by Wenson Hsieh.
1911
1912         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
1913         (TestWebKitAPI::TEST):
1914
1915 2018-10-03  Ryosuke Niwa  <rniwa@webkit.org>
1916
1917         Enable selectionAcrossShadowBoundariesEnabled by default in WebKitLegacy
1918         https://bugs.webkit.org/show_bug.cgi?id=190238
1919
1920         Reviewed by Antti Koivisto.
1921
1922         * DumpRenderTree/TestOptions.h:
1923         * DumpRenderTree/mac/DumpRenderTree.mm:
1924         (resetWebPreferencesToConsistentValues):
1925
1926 2018-10-02  Wenson Hsieh  <wenson_hsieh@apple.com>
1927
1928         [WebKit2] Format > Bold and Format > Italic don't toggle between bold and italic style
1929         https://bugs.webkit.org/show_bug.cgi?id=179787
1930         <rdar://problem/35593389>
1931
1932         Reviewed by Tim Horton.
1933
1934         Add a test to verify that NSFontManager's selected font is updated when applying italic and bold styles using
1935         menu items.
1936
1937         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
1938         (webViewForFontManagerTesting):
1939         (menuItemCellForFontAction):
1940         (TestWebKitAPI::TEST):
1941
1942 2018-10-02  Chris Dumez  <cdumez@apple.com>
1943
1944         REGRESSION: TestWebKitAPI.WKWebView.ProvisionalURLNotChange API test is failing
1945         https://bugs.webkit.org/show_bug.cgi?id=190176
1946         <rdar://problem/44925871>
1947
1948         Reviewed by Alex Christensen.
1949
1950         Use a URL that is truly recognized as invalid by WebCore's URL parser.
1951
1952         * TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm:
1953         (TEST):
1954
1955 2018-10-02  Alex Christensen  <achristensen@webkit.org>
1956
1957         Remove ParsedURLString
1958         https://bugs.webkit.org/show_bug.cgi?id=190154
1959
1960         Reviewed by Chris Dumez.
1961
1962         * TestWebKitAPI/Tests/WebCore/URL.cpp:
1963         (TestWebKitAPI::TEST_F):
1964         * TestWebKitAPI/Tests/WebCore/UserAgentQuirks.cpp:
1965         (TestWebKitAPI::assertUserAgentForURLHasChromeBrowserQuirk):
1966         (TestWebKitAPI::assertUserAgentForURLHasLinuxPlatformQuirk):
1967         (TestWebKitAPI::assertUserAgentForURLHasMacPlatformQuirk):
1968         (TestWebKitAPI::TEST):
1969
1970 2018-10-02  Daniel Bates  <dabates@apple.com>
1971
1972         Fix iOS TestWebKitAPI failures following <https://trac.webkit.org/changeset/236619>
1973         (https://bugs.webkit.org/show_bug.cgi?id=190017)
1974
1975         For now swizzle +[UIKeyboard isInHardwareKeyboardMode] to return NO in the following tests:
1976             WKWebViewAutofillTests.AutofillRequiresInputSession
1977             DragAndDropTests.ExternalSourceJPEGOnly
1978             DragAndDropTests.ExternalSourceUTF8PlainTextOnly
1979
1980         so that the presence of a hardware keyboad does not effect their results. In <https://bugs.webkit.org/show_bug.cgi?id=190211>
1981         we will look to swizzle this method for all test by default.
1982
1983         * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
1984         (TestWebKitAPI::overrideIsInHardwareKeyboardMode):
1985         (TestWebKitAPI::TEST):
1986         * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm:
1987         (TestWebKitAPI::overrideIsInHardwareKeyboardMode):
1988         (TestWebKitAPI::TEST):
1989         * TestWebKitAPI/ios/UIKitSPI.h:
1990
1991 2018-10-02  Dawei Fenton  <realdawei@apple.com>
1992
1993         Unreviewed, rolling out r236751.
1994
1995         broke the iOS Build
1996
1997         Reverted changeset:
1998
1999         "Fix iOS TestWebKitAPI failures following
2000         <https://trac.webkit.org/changeset/236619>"
2001         https://bugs.webkit.org/show_bug.cgi?id=190017
2002         https://trac.webkit.org/changeset/236751
2003
2004 2018-10-02  Daniel Bates  <dabates@apple.com>
2005
2006         Fix iOS TestWebKitAPI failures following <https://trac.webkit.org/changeset/236619>
2007         (https://bugs.webkit.org/show_bug.cgi?id=190017)
2008
2009         For now swizzle +[UIKeyboard isInHardwareKeyboardMode] to return NO in the following tests:
2010             WKWebViewAutofillTests.AutofillRequiresInputSession
2011             DragAndDropTests.ExternalSourceJPEGOnly
2012             DragAndDropTests.ExternalSourceUTF8PlainTextOnly
2013
2014         so that the presence of a hardware keyboad does not effect their results. In <https://bugs.webkit.org/show_bug.cgi?id=190211>
2015         we will look to swizzle this method for all test by default.
2016
2017         * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
2018         (TestWebKitAPI::overrideIsInHardwareKeyboardMode):
2019         (TestWebKitAPI::TEST):
2020         * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm:
2021         (TestWebKitAPI::overrideIsInHardwareKeyboardMode):
2022         (TestWebKitAPI::TEST):
2023         * TestWebKitAPI/ios/UIKitSPI.h:
2024
2025 2018-10-01  Dean Jackson  <dino@apple.com>
2026
2027         Remove CSS Animation Triggers
2028         https://bugs.webkit.org/show_bug.cgi?id=190175
2029         <rdar://problem/44925626>
2030
2031         Reviewed by Simon Fraser.
2032
2033         * TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
2034
2035 2018-10-02  Thibault Saunier  <tsaunier@igalia.com>
2036
2037         [Flatpak] Use our own check of flatpak repos
2038         https://bugs.webkit.org/show_bug.cgi?id=190194
2039
2040         Allowing us to not mess up with user installation
2041         and "--assumeyes" everywhere.
2042
2043         Reviewed by Michael Catanzaro.
2044
2045         * flatpak/flatpakutils.py:
2046         (FlatpakPackage.__init__):
2047         (FlatpakPackage.install):
2048         (FlatpakPackage.update):
2049         (WebkitFlatpak.load_from_args):
2050         (WebkitFlatpak.__init__):
2051         (WebkitFlatpak.clean_args):
2052
2053 2018-10-02  Wenson Hsieh  <wenson_hsieh@apple.com>
2054
2055         [macOS] Implement a way for the UI process to request typing attributes at the current selection
2056         https://bugs.webkit.org/show_bug.cgi?id=189983
2057         <rdar://problem/44648705>
2058
2059         Reviewed by Ryosuke Niwa.
2060
2061         Adds new FontManagerTests that exercise -typingAttributesWithCompletionHandler:. See below for more detail.
2062
2063         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2064         * TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:
2065         * TestWebKitAPI/Tests/mac/FontManagerTests.mm:
2066
2067         Add a new test that exercises font attribute modification via inspector bar. Also, add a new test that checks
2068         typing attributes when using subscript/superscript/unscript. Lastly, augment an existing NSFontPanel test to
2069         additionally check that shadowed text and strike-through are reflected in typing attributes.
2070
2071         (-[FontManagerTestWKWebView inspectorBarItemIdentifiers]):
2072         (-[TestWKWebView typingAttributes]):
2073
2074         Add a synchronous wrapper around `-typingAttributesWithCompletionHandler:` by spinning the runloop.
2075
2076         (-[TestWKWebView collapseToStart]):
2077         (webViewForFontManagerTesting):
2078         (TestWebKitAPI::TEST):
2079         * TestWebKitAPI/cocoa/TestWKWebView.h:
2080         * TestWebKitAPI/mac/TestInspectorBar.h: Copied from Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h.
2081         * TestWebKitAPI/mac/TestInspectorBar.mm: Added.
2082
2083         Introduce subclasses of `__InspectorBarItemController` and `NSInspectorBar` for testing inspector bar interaction.
2084
2085         (-[TestInspectorBarItemController initWithInspectorBar:]):
2086         (-[TestInspectorBarItemController inspectorBar]):
2087         (-[TestInspectorBarItemController updateSelectedAttributes]):
2088         (-[TestInspectorBar initWithWebView:]):
2089         (+[TestInspectorBar standardItemControllerClass]):
2090         (+[TestInspectorBar standardTextItemIdentifiers]):
2091         (-[TestInspectorBar _setStyleControlSelected:atIndex:]):
2092         (-[TestInspectorBar chooseFontSize:]):
2093         (-[TestInspectorBar chooseFontFamily:]):
2094         (-[TestInspectorBar _chooseColor:inColorWell:]):
2095         (-[TestInspectorBar chooseForegroundColor:]):
2096         (-[TestInspectorBar chooseBackgroundColor:]):
2097         (-[TestInspectorBar formatBold:]):
2098         (-[TestInspectorBar formatItalic:]):
2099         (-[TestInspectorBar formatUnderline:]):
2100
2101         Add helper methods to TestInspectorBar to simulate interacting with various controls (e.g. color wells and font
2102         styling controls).
2103
2104         (-[TestInspectorBar itemController]):
2105         (-[TestInspectorBar setItemController:]):
2106
2107 2018-10-02  Thibault Saunier  <tsaunier@igalia.com>
2108
2109         [Flatpak] Implement icecream and ccache support
2110         https://bugs.webkit.org/show_bug.cgi?id=190146
2111
2112         Reviewed by Alejandro G. Castro.
2113
2114         * flatpak/flatpakutils.py:
2115         (WebkitFlatpak.load_from_args):
2116         (WebkitFlatpak.__init__):
2117         (WebkitFlatpak.clean_args):
2118         (WebkitFlatpak.run_in_sandbox):
2119         (WebkitFlatpak.save_config):
2120         (WebkitFlatpak):
2121         (WebkitFlatpak.setup_ccache):
2122         (WebkitFlatpak.setup_icecc):
2123         (WebkitFlatpak.setup_dev_env):
2124         * flatpak/org.webkit.WebKit.yaml:
2125
2126 2018-10-02  Michael Catanzaro  <mcatanzaro@igalia.com>
2127
2128         Unreviewed, fix missing return value in TestController::keyExistsInKeychain
2129
2130         * WebKitTestRunner/TestController.cpp:
2131         (WTR::TestController::keyExistsInKeychain):
2132
2133 2018-10-02  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2134
2135         [WinCairo] Enable WPT tests environment.
2136         https://bugs.webkit.org/show_bug.cgi?id=190128
2137
2138         Reviewed by Youenn Fablet.
2139
2140         Escaping backslash of the path not to confuse the JSON parser.
2141
2142         * Scripts/webkitpy/layout_tests/servers/web_platform_test_server.py:
2143         (WebPlatformTestServer._prepare_config):
2144
2145 2018-10-01  Ross Kirsling  <ross.kirsling@sony.com>
2146
2147         [Win][DRT] Actually set "experimental:WebAnimationsCSSIntegrationEnabled" when requested
2148         https://bugs.webkit.org/show_bug.cgi?id=190150
2149
2150         Reviewed by Fujii Hironori.
2151
2152         * DumpRenderTree/win/DumpRenderTree.cpp:
2153         (setWebPreferencesForTestOptions):
2154         DRT has been recognizing this field, but not propagating its value to WebPreferences.
2155
2156 2018-10-01  Alex Christensen  <achristensen@webkit.org>
2157
2158         Unreviewed, rolling out r236551.
2159
2160         Fails URL validating too aggressively
2161
2162         Reverted changeset:
2163
2164         "URLWithUserTypedString should return nil for URLs deemed to
2165         be invalid by WebCore::URL"
2166         https://bugs.webkit.org/show_bug.cgi?id=189979
2167         https://trac.webkit.org/changeset/236551
2168
2169 2018-10-01  Wenson Hsieh  <wenson_hsieh@apple.com>
2170
2171         [iOS] Add SPI to customize the input accessory view when focusing an element
2172         https://bugs.webkit.org/show_bug.cgi?id=190152
2173         <rdar://problem/42754975>
2174
2175         Reviewed by Dan Bernstein.
2176
2177         Add an API test to verify that setting a custom input accessory view and custom input view on the form input
2178         session when focusing an element overrides the first responder's (i.e. WKContentView's) `-inputView` and
2179         `-inputAccessoryView`.
2180
2181         * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:
2182         (webViewWithAutofocusedInput):
2183         (TestWebKitAPI::TEST):
2184         * TestWebKitAPI/Tests/ios/TestInputDelegate.h:
2185         * TestWebKitAPI/Tests/ios/TestInputDelegate.mm:
2186         (-[TestInputDelegate setWillStartInputSessionHandler:]):
2187         (-[TestInputDelegate willStartInputSessionHandler]):
2188         (-[TestInputDelegate _webView:willStartInputSession:]):
2189
2190 2018-10-01  Sihui Liu  <sihui_liu@apple.com>
2191
2192         Remove StorageProcess
2193         https://bugs.webkit.org/show_bug.cgi?id=189975
2194
2195         Reviewed by Geoffrey Garen.
2196
2197         * TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
2198         (TEST):
2199         * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
2200         * TestWebKitAPI/Tests/WebKitCocoa/WebProcessKillIDBCleanup.mm:
2201         (TEST):
2202         * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm:
2203         (TEST):
2204         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2205         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2206         (WTR::TestRunner::terminateStorageProcess): Deleted.
2207         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2208         * WebKitTestRunner/TestController.cpp:
2209         (WTR::TestController::generatePageConfiguration):
2210         (WTR::TestController::databaseProcessName): Deleted.
2211         (WTR::TestController::databaseProcessDidCrash): Deleted.
2212         (WTR::TestController::terminateStorageProcess): Deleted.
2213         * WebKitTestRunner/TestController.h:
2214         * WebKitTestRunner/TestInvocation.cpp:
2215         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2216
2217 2018-10-01  Jiewen Tan  <jiewen_tan@apple.com>
2218
2219         [WebAuthN] Import a JS CBOR coder
2220         https://bugs.webkit.org/show_bug.cgi?id=189877
2221         <rdar://problem/44701124>
2222
2223         Reviewed by Chris Dumez.
2224
2225         Add logic to only process privateKeyBase64, userCertificateBase64 and intermediateCACertificateBase64
2226         only if acceptAttestation is true.
2227
2228         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2229         (WTR::TestRunner::setWebAuthenticationMockConfiguration):
2230
2231 2018-10-01  Chris Dumez  <cdumez@apple.com>
2232
2233         Regression(r236512): http/tests/navigation/keyboard-events-during-provisional-navigation.html is flaky
2234         https://bugs.webkit.org/show_bug.cgi?id=190052
2235
2236         Reviewed by Ryosuke Niwa.
2237
2238         The test relies on EventSender to send events to the page synchronously to the page and then uses console.log
2239         to log those events. It also uses console.log() before sending those events to indicate what the test is about
2240         to do. Note that console.log() normally causes the WebKitTestRunner to send an asynchronous IPC to the UIProcess
2241         so that it can log the message.
2242         The issue is that EventSender uses IPC::SendOption::UseFullySynchronousModeForTesting when sending the
2243         sync IPC to the UIProcess. This option causes follow-up *asynchronous* IPC sent from the synchronous IPC reply
2244         handler to be transformed into synchronous IPC.
2245         As a result, some of the console.log IPC ended up being asynchronous and some other ended up being synchronous.
2246         Because synchronous and asynchronous IPC is not necessarily processed in-order by the UIProcess, the logged
2247         messages may end up being out of order, leading to flakiness.
2248
2249         To address the issue, we now make sure that InjectedBundle::outputText() uses a new IPC::SendOption indicated
2250         that the IPC should always be sent asynchronously, even if the connection is in fully synchronous mode. As a
2251         result, all text outputing IPC to the UIProcess will be asynchronous, and thus in order.
2252
2253         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2254         (WTR::InjectedBundle::outputText):
2255
2256 2018-10-01  Daniel Bates  <dabates@apple.com>
2257
2258         [iOS] Special keys are misidentified in DOM keyboard events
2259         https://bugs.webkit.org/show_bug.cgi?id=189974
2260
2261         Reviewed by Wenson Hsieh.
2262
2263         Add support for testing keys Forward Delete and Num Lock / Clear.
2264
2265         * WebKitTestRunner/ios/HIDEventGenerator.mm:
2266         (hidUsageCodeForCharacter):
2267
2268 2018-10-01  Alex Christensen  <achristensen@webkit.org>
2269
2270         URL should not use TextEncoding internally
2271         https://bugs.webkit.org/show_bug.cgi?id=190111
2272
2273         Reviewed by Andy Estes.
2274
2275         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2276         (TestWebKitAPI::testUserPass):
2277         (TestWebKitAPI::TEST_F):
2278
2279 2018-10-01  Daniel Bates  <dabates@apple.com>
2280
2281         LLDB tests may use wrong configuration of lldbWebKitTester
2282         https://bugs.webkit.org/show_bug.cgi?id=189011
2283
2284         Reviewed by Dean Jackson.
2285
2286         Fixes an issue where the LLDB unit tests may use the wrong configuration of lldbWebKitTester.
2287         Additionally, add back the unit tests originally added in r235376 (https://bugs.webkit.org/show_bug.cgi?id=188936).
2288
2289         Currently the unit tests pick the LLDBWebKitTester binary based on the configuration set by
2290         script set-webkit-configuration. This may not be the same configuration specified to test-webkitpy.
2291         So, the unit tests may use the wrong binary. Instead we have test-webkitpy store the path
2292         to the correct lldbWebKitTester binary that the unit tests should use in an environment variable,
2293         called LLDB_WEBKIT_TESTER_EXECUTABLE. (We use an environment variable because the test driver,
2294         test-webkitpy, and the unit tests cannot talk to each other directly due the limitations of
2295         the Python unittest module, the Python multiprocessing module, and the general principle of unit
2296         tests - to test code in isolation). The unit tests make use of the value of this environment
2297         variable to launch lldbWebKitTester binary.
2298
2299         * Scripts/build-lldbwebkittester: We only support building lldbWebKitTester on Mac for now. Error
2300         out if this script is invoked for a non-Mac platform.
2301         * Scripts/webkitpy/test/main.py:
2302         (Tester._run_tests): Build lldbWebKitTester and store the path to it in the environment variable
2303         LLDB_WEBKIT_TESTER_EXECUTABLE.
2304         (_build_lldb_webkit_tester): Deleted.
2305         * lldb/dump_class_layout_unittest.py:
2306         (TestDumpClassLayout.shouldSkip): Use SystemHost() here and remove the _host global variable as
2307         this is the only call site that needs the Host object now.
2308         (TestDumpClassLayout.setUpClass): Take the path to the lldbWebKitTester binary from the value of
2309         the environment variable LLDB_WEBKIT_TESTER_EXECUTABLE.
2310         * lldb/lldbWebKitTester/main.cpp:
2311         (testSummaryProviders): Add back unit test support infrastructure originally added in r235376 (https://bugs.webkit.org/show_bug.cgi?id=188936).
2312         * lldb/lldb_webkit_unittest.py:
2313         (LLDBDebugSession.setup): Take the path to the lldbWebKitTester binary from the value of the environment
2314         variable LLDB_WEBKIT_TESTER_EXECUTABLE.
2315         (TestSummaryProviders):
2316         (TestSummaryProviders.shouldSkip): Skip the tests on non-Mac platforms.
2317         (TestSummaryProviders.serial_test_WTFHashSet_tablesize_and_size):
2318         (TestSummaryProviders.serial_test_WTFOptionSet_SummaryProvider_empty):
2319         (TestSummaryProviders.serial_test_WTFOptionSet_SummaryProvider_simple):
2320         (TestSummaryProviders.serial_test_WTFOptionSetProvider_empty):
2321         (TestSummaryProviders.serial_test_WTFOptionSetProvider_simple):
2322         Add back the unit tests originally added in r235376 (https://bugs.webkit.org/show_bug.cgi?id=188936).
2323
2324 2018-10-01  Olivier Blin  <olivier.blin@softathome.com>
2325
2326         [WPE] Update install-dependencies
2327         https://bugs.webkit.org/show_bug.cgi?id=190127
2328
2329         Reviewed by Michael Catanzaro.
2330
2331         * wpe/install-dependencies:
2332         libxrandr-dev is needed for gstreamer-vaapi in jhbuild
2333         It is used by gstvaapidisplay_x11.c.
2334         Add it only for Apt, already ok for Pacman and DNF.
2335
2336         Install libevent-dev for WebRTC (like GTK)
2337
2338         Install libasound2-dev for WebRTC.
2339         Add it only for Apt, already ok for Pacam and DNF.
2340
2341         Install libgbm-dev for HeadlessViewBackend, which uses gbm.h
2342
2343 2018-10-01  Thibault Saunier  <tsaunier@igalia.com>
2344
2345         [Flatpak] Add libunwind in the sandbox
2346         https://bugs.webkit.org/show_bug.cgi?id=190123
2347
2348         Allowing us to get proper traces in GStreamer trace grabing
2349         debug functions.
2350
2351         Reviewed by Philippe Normand.
2352
2353         * flatpak/org.webkit.WebKit.yaml:
2354
2355 2018-09-29  Commit Queue  <commit-queue@webkit.org>
2356
2357         Unreviewed, rolling out r236631.
2358         https://bugs.webkit.org/show_bug.cgi?id=190112
2359
2360         Caused various eventSender tests, including fast/css/pseudo-
2361         active-style-sharing*, to fail (Requested by smfr on #webkit).
2362
2363         Reverted changeset:
2364
2365         "Regression(r236512): http/tests/navigation/keyboard-events-
2366         during-provisional-navigation.html is flaky"
2367         https://bugs.webkit.org/show_bug.cgi?id=190052
2368         https://trac.webkit.org/changeset/236631
2369
2370 2018-09-28  Myles C. Maxfield  <mmaxfield@apple.com>
2371
2372         [WHLSL] Fix build after r236635
2373         https://bugs.webkit.org/show_bug.cgi?id=189210
2374
2375         Unreviewed.
2376
2377         * WebGPUShadingLanguageRI/Intrinsics.js:
2378         (Intrinsics.):
2379         * WebGPUShadingLanguageRI/Test.js:
2380         (tests.atomicsNull):
2381         (tests.numThreads):
2382         (tests.textureDimensionsNull):
2383
2384 2018-09-28  Myles C. Maxfield  <mmaxfield@apple.com>
2385
2386         [WHLSL] Allow uniform buffers to be used in the interpreter
2387         https://bugs.webkit.org/show_bug.cgi?id=189210
2388
2389         Reviewed by Filip Pizlo.
2390
2391         Every lvalue is associated with an address space, and the propagation of these address spaces
2392         matches the propagation of lvalues. Luckily, there was already the infrastructure to do most
2393         of this, so this patch just goes the last few yards. It also updates the standard library to
2394         allow for writing into all writable address spaces for out-params.
2395
2396         * WebGPUShadingLanguageRI/Checker.js:
2397         (Checker.prototype.visitAssignment):
2398         (Checker.prototype._finishVisitingPropertyAccess):
2399         * WebGPUShadingLanguageRI/Intrinsics.js:
2400         (Intrinsics.):
2401         (Intrinsics.checkFalse):
2402         (Intrinsics):
2403         * WebGPUShadingLanguageRI/StandardLibrary.js:
2404         (let.standardLibrary):
2405         * WebGPUShadingLanguageRI/Test.js:
2406         (tests.threadArrayRefLoad):
2407         (tests.threadArrayRefLoadIntLiteral):
2408         (tests.deviceArrayRefLoad):
2409         (tests.threadArrayRefStore):
2410         (tests.deviceArrayRefStore):
2411         (tests.deviceArrayRefStoreIntLiteral):
2412         (tests.threadPointerLoad):
2413         (tests.threadPointerStore):
2414         (tests.devicePointerLoad):
2415         (tests.devicePointerStore):
2416         (tests.arrayLoad):
2417         (tests.constantAddressSpace):
2418         (tests.standardLibraryDevicePointers):
2419         (tests.threadArrayLoad): Deleted.
2420         (tests.threadArrayLoadIntLiteral): Deleted.
2421         (tests.deviceArrayLoad): Deleted.
2422         (tests.threadArrayStore): Deleted.
2423         (tests.deviceArrayStore): Deleted.
2424         (tests.deviceArrayStoreIntLiteral): Deleted.
2425
2426 2018-09-28  Wenson Hsieh  <wenson_hsieh@apple.com>
2427
2428         No DOM API to instantiate an attachment for an img element
2429         https://bugs.webkit.org/show_bug.cgi?id=189934
2430         <rdar://problem/44743222>
2431
2432         Reviewed by Ryosuke Niwa.
2433
2434         Adds 3 new API tests in WKAttachmentTests:
2435
2436         `AddAttachmentToConnectedImageElement` verifies that an image element that's already in the document can gain an
2437         attachment element via `HTMLAttachmentElement.getAttachmentIdentifier`.
2438
2439         `ChangeFileWrapperForPastedImage` verifies that an image that has been pasted produces a _WKAttachment in the UI
2440         process, and changing the file wrapper of that _WKAttachment changes the pasted image.
2441
2442         `ConnectImageWithAttachmentToDocument` verifies that script can create an image element, ensure that it has an
2443         attachment, and set a file wrapper for the generated _WKAttachment. Connecting the image to the document should
2444         then result in an image element with the contents of the _WKAttachment's file wrapper.
2445
2446         * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm:
2447         (-[TestWKWebView imageElementSize]):
2448         (-[TestWKWebView waitForImageElementSizeToBecome:]):
2449         (TestWebKitAPI::TEST):
2450         (-[TestWKWebView waitForAttachmentElementSizeToBecome:]): Deleted.
2451
2452 2018-09-28  Chris Dumez  <cdumez@apple.com>
2453
2454         Regression(r236512): http/tests/navigation/keyboard-events-during-provisional-navigation.html is flaky
2455         https://bugs.webkit.org/show_bug.cgi?id=190052
2456
2457         Reviewed by Ryosuke Niwa.
2458
2459         The test relies on EventSender to send events to the page synchronously to the page and then uses console.log
2460         to log those events. It also uses console.log() before sending those events to indicate what the test is about
2461         to do. Note that console.log() normally causes the WebKitTestRunner to send an asynchronous IPC to the UIProcess
2462         so that it can log the message.
2463         The issue is that EventSender uses IPC::SendOption::UseFullySynchronousModeForTesting when sending the
2464         sync IPC to the UIProcess. This option causes follow-up *asynchronous* IPC sent from the synchronous IPC reply
2465         handler to be transformed into synchronous IPC.
2466         As a result, some of the console.log IPC ended up being asynchronous and some other ended up being synchronous.
2467         Because synchronous and asynchronous IPC is not necessarily processed in-order by the UIProcess, the logged
2468         messages may end up being out of order, leading to flakiness.
2469
2470         To address the issue, we now make sure that InjectedBundle::outputText() uses a new IPC::SendOption indicating
2471         that the IPC should always be sent asynchronously, even if the connection is in fully synchronous mode. As a
2472         result, all text outputing IPC to the UIProcess will be asynchronous, and thus in order.
2473
2474         * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
2475         (WTR::InjectedBundle::outputText):
2476
2477 2018-09-28  Myles C. Maxfield  <mmaxfield@apple.com>
2478
2479         [WHLSL] Pointers should have automatically-generated equality checks
2480         https://bugs.webkit.org/show_bug.cgi?id=189986
2481
2482         Reviewed by Filip Pizlo.
2483
2484         C allows for pointer equality, and we need it so people can do null checks.
2485         This is generated the same way all our other NativeFuncs are generated - by Checker
2486         creating NativeFuncs inside CallExpression.resolve().
2487
2488         This patch also does some general cleanup.
2489
2490         * WebGPUShadingLanguageRI/All.js: Everything the late checker does is no longer necessary.
2491         The last thing it was doing was making sure that only primitive types are in resources, but
2492         it's totally reasonable to put structs and arrays in resources, so I removed this pass. We
2493         still have to add a check to make sure resources can't live within resources, but I expect
2494         that will be done in the same place that semantics are checked.
2495         * WebGPUShadingLanguageRI/AllocateAtEntryPoints.js:
2496         (allocateAtEntryPoints.updateFunction.UpdateFunctions.prototype._addVariableDeclaration):
2497         Name the global struct for debugging purposes.
2498         * WebGPUShadingLanguageRI/CallExpression.js: 
2499         (CallExpression.prototype._resolveByInstantiation): Cleanup
2500         (CallExpression.prototype._resolveWithOperatorAnderIndexer): Ditto
2501         (CallExpression.prototype._resolveWithOperatorLength): Ditto
2502         (CallExpression.prototype._resolveWithReferenceComparator): Add support to automatically
2503         generate pointer equality NativeFuncs.
2504         * WebGPUShadingLanguageRI/EPtr.js: Implement pointer equality in the interpreter.
2505         * WebGPUShadingLanguageRI/LateChecker.js: Removed.
2506         * WebGPUShadingLanguageRI/LayoutBuffers.js: Renamed from Tools/WebGPUShadingLanguageRI/LateCheckAndLayoutBuffers.js.
2507         (layoutBuffers):
2508         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL Tests.xcodeproj/project.pbxproj:
2509         * WebGPUShadingLanguageRI/NativeFunc.js:
2510         * WebGPUShadingLanguageRI/OperatorArrayRefLength.js:
2511         (OperatorArrayRefLength.prototype.instantiateImplementation):
2512         (OperatorArrayRefLength):
2513         * WebGPUShadingLanguageRI/Prepare.js:
2514         (let.prepare):
2515         * WebGPUShadingLanguageRI/SPIRV.html:
2516         * WebGPUShadingLanguageRI/Test.html:
2517         * WebGPUShadingLanguageRI/Test.js:
2518         (tests.ternaryExpression):
2519         (tests.break): Speed up testing time
2520         (tests.doWhile): Ditto
2521         (tests.forLoop): Ditto
2522         (tests.atomics): Ditto
2523         (tests.atomicsNull): Ditto
2524         (tests.pointerEquality): Test pointer equality
2525         (tests.standardLibraryDevicePointers):
2526         (tests.devicePtrPtr): Deleted.
2527         (tests.threadgroupPtrPtr): Deleted.
2528         (tests.constantPtrPtr): Deleted.
2529         * WebGPUShadingLanguageRI/index.html:
2530
2531 2018-09-28  Jiewen Tan  <jiewen_tan@apple.com>
2532
2533         [WebAuthN] Polish WebAuthN auto-test environment
2534         https://bugs.webkit.org/show_bug.cgi?id=189283
2535         <rdar://problem/44117828>
2536
2537         Reviewed by Chris Dumez.
2538
2539         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2540         (WTR::TestRunner::setWebAuthenticationMockConfiguration):
2541
2542 2018-09-28  Chris Dumez  <cdumez@apple.com>
2543
2544         Drop support for cross-origin-window-policy header
2545         https://bugs.webkit.org/show_bug.cgi?id=190081
2546
2547         Reviewed by Ryosuke Niwa.
2548
2549         190081_DropCrossOriginWindowPolicy
2550
2551         * DumpRenderTree/mac/DumpRenderTree.mm:
2552         (enableExperimentalFeatures):
2553         * DumpRenderTree/win/DumpRenderTree.cpp:
2554         (enableExperimentalFeatures):
2555         * WebKitTestRunner/TestController.cpp:
2556         (WTR::TestController::resetPreferencesToConsistentValues):
2557
2558 2018-09-28  Koby Boyango  <koby.b@mce.systems>
2559
2560         [WTF] Add ExternalStringImpl, a StringImpl for user controlled buffers
2561         https://bugs.webkit.org/show_bug.cgi?id=189991
2562
2563         Reviewed by Yusuke Suzuki.
2564
2565         * TestWebKitAPI/Tests/WTF/StringImpl.cpp:
2566
2567 2018-09-27  Ryan Haddad  <ryanhaddad@apple.com>
2568
2569         Update flakiness dashboard configuration for Mojave queues
2570         https://bugs.webkit.org/show_bug.cgi?id=190068
2571
2572         Reviewed by Alexey Proskuryakov.
2573
2574         * TestResultServer/static-dashboards/builders.jsonp:
2575
2576 2018-09-27  Ryan Haddad  <ryanhaddad@apple.com>
2577
2578         Bring up queues for Mojave
2579         https://bugs.webkit.org/show_bug.cgi?id=189935
2580
2581         Unreviewed infrastructure fix.
2582
2583         * BuildSlaveSupport/build.webkit.org-config/config.json: Remove trigger, update bot assignment.
2584
2585 2018-09-24  Ryan Haddad  <ryanhaddad@apple.com>
2586
2587         Bring up queues for Mojave
2588         https://bugs.webkit.org/show_bug.cgi?id=189935
2589
2590         Reviewed by Alexey Proskuryakov.
2591
2592         * BuildSlaveSupport/build.webkit.org-config/config.json:
2593         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
2594         (WebKitBuildbot):
2595         * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
2596
2597 2018-09-27  Ryan Haddad  <ryanhaddad@apple.com>
2598
2599         Increase the timeout for iOS Simulator data migration
2600         https://bugs.webkit.org/show_bug.cgi?id=190059
2601
2602         Reviewed by Aakash Jain.
2603
2604         3 minutes isn't always enough time for the data migrator to complete
2605         when booting up multiple iOS Simulators. Change the timeout to 10 minutes.
2606
2607         * Scripts/webkitpy/xcode/simulated_device.py:
2608         (SimulatedDeviceManager): Create a constant for the default timeout.
2609         (SimulatedDeviceManager.initialize_devices): Use new constant.
2610         (SimulatedDeviceManager.swap): Ditto.
2611         (SimulatedDeviceManager.wait_until_data_migration_is_done): Ditto.
2612
2613 2018-09-27  Alex Christensen  <achristensen@webkit.org>
2614
2615         URLParser should use TextEncoding through an abstract class
2616         https://bugs.webkit.org/show_bug.cgi?id=190027
2617
2618         Reviewed by Andy Estes.
2619
2620         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2621         (TestWebKitAPI::checkURL):
2622         (TestWebKitAPI::TEST_F):
2623
2624 2018-09-27  Ryan Haddad  <ryanhaddad@apple.com>
2625
2626         iOS Simulator bots should pass '--dedicated-simulators' to run-webkit-tests
2627         https://bugs.webkit.org/show_bug.cgi?id=190042
2628
2629         Reviewed by Aakash Jain.
2630
2631         To make iOS Simulator bots resilient to issues that can arise from reusing
2632         existing simulators, ensure that dedicated simulators are created for each test run.
2633
2634         * Scripts/webkitpy/common/config/ports.py:
2635         (IOSSimulatorWK2Port.run_webkit_tests_command):
2636
2637 2018-09-27  Alex Christensen  <achristensen@webkit.org>
2638
2639         URLWithUserTypedString should return nil for URLs deemed to be invalid by WebCore::URL
2640         https://bugs.webkit.org/show_bug.cgi?id=189979
2641
2642         Reviewed by Youenn Fablet.
2643
2644         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
2645         (TestWebKitAPI::originalDataAsString):
2646         (TestWebKitAPI::TEST):
2647
2648 2018-09-27  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2649
2650         [Win][WebKit] Implement authentication dialog on MiniBrowser.
2651         https://bugs.webkit.org/show_bug.cgi?id=189846
2652
2653         Reviewed by Fujii Hironori.
2654
2655         It was implemented for WebKitLegacy, but not for WebKit.
2656         Also added text field to display Realm information.
2657
2658         * MiniBrowser/win/Common.cpp:
2659         (authDialogProc):
2660         (askCredential):
2661         (displayAuthDialog): Deleted.
2662         * MiniBrowser/win/Common.h:
2663         * MiniBrowser/win/MiniBrowserLib.rc:
2664         * MiniBrowser/win/MiniBrowserLibResource.h:
2665         * MiniBrowser/win/ResourceLoadDelegate.cpp:
2666         (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
2667         * MiniBrowser/win/WebKitBrowserWindow.cpp:
2668         (createString):
2669         (createUTF8String):
2670         (createWKString):
2671         (createWKURL):
2672         (WebKitBrowserWindow::WebKitBrowserWindow):
2673         (WebKitBrowserWindow::didReceiveAuthenticationChallenge):
2674         (toNullTerminatedUTF8): Deleted.
2675         * MiniBrowser/win/WebKitBrowserWindow.h:
2676
2677 2018-09-27  Youenn Fablet  <youenn@apple.com>
2678
2679         Enable getUserMedia in mini browser
2680         https://bugs.webkit.org/show_bug.cgi?id=190012
2681
2682         Reviewed by Eric Carlson.
2683
2684         Enable MediaDevices and mock capture devices.
2685         Grant mock devices access to any getUserMedia call.
2686         Covered by manual testing.
2687
2688         * MiniBrowser/mac/AppDelegate.m:
2689         (defaultConfiguration):
2690         * MiniBrowser/mac/WK2BrowserWindowController.m:
2691         (-[WK2BrowserWindowController _webView:requestUserMediaAuthorizationForDevices:url:mainFrameURL:decisionHandler:]):
2692         (-[WK2BrowserWindowController _webView:checkUserMediaPermissionForURL:mainFrameURL:frameIdentifier:decisionHandler:]):
2693
2694 2018-09-27  Antoine Quint  <graouts@apple.com>
2695
2696         [Web Animations] Turn Web Animations with CSS integration on
2697         https://bugs.webkit.org/show_bug.cgi?id=184819
2698         <rdar://problem/39597337>
2699
2700         Reviewed by Dean Jackson.
2701
2702         * DumpRenderTree/TestOptions.h:
2703
2704 2018-09-26  Alex Christensen  <achristensen@webkit.org>
2705
2706         Unreviewed, rolling out r236524.
2707
2708         Broke API tests
2709
2710         Reverted changeset:
2711
2712         "URLWithUserTypedString should return nil for URLs deemed to
2713         be invalid by WebCore::URL"
2714         https://bugs.webkit.org/show_bug.cgi?id=189979
2715         https://trac.webkit.org/changeset/236524
2716
2717 2018-09-26  James Savage  <james.savage@apple.com>
2718
2719         Allow override of viewport configuration.
2720         https://bugs.webkit.org/show_bug.cgi?id=188772.
2721         <rdar://problem/43538892>.
2722
2723         Reviewed by Simon Fraser.
2724
2725         * WebKitTestRunner/TestController.cpp:
2726         (WTR::updateTestOptionsFromTestHeader): Parse new test option key from comments.
2727         * WebKitTestRunner/TestOptions.h:
2728         * WebKitTestRunner/ios/TestControllerIOS.mm:
2729         (WTR::TestController::platformConfigureViewForTest): Handle new test option by
2730         modifying the web view's preferences accordingly.
2731
2732 2018-09-26  Alex Christensen  <achristensen@webkit.org>
2733
2734         URLs with mismatched surrogate pairs in the host should fail to parse
2735         https://bugs.webkit.org/show_bug.cgi?id=190005
2736
2737         Reviewed by Chris Dumez.
2738
2739         * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
2740         (TestWebKitAPI::TEST_F):
2741
2742 2018-09-26  Alex Christensen  <achristensen@webkit.org>
2743
2744         URLWithUserTypedString should return nil for URLs deemed to be invalid by WebCore::URL
2745         https://bugs.webkit.org/show_bug.cgi?id=189979
2746         <rdar://problem/44119696>
2747
2748         Reviewed by Chris Dumez.
2749
2750         * TestWebKitAPI/Tests/WebCore/cocoa/URLExtras.mm:
2751         (TestWebKitAPI::TEST):
2752
2753 2018-09-26  Ryosuke Niwa  <rniwa@webkit.org>
2754
2755         Selection should work across shadow boundary when initiated by a mouse drag
2756         https://bugs.webkit.org/show_bug.cgi?id=151380
2757         <rdar://problem/24363872>
2758
2759         Reviewed by Wenson Hsieh.
2760
2761         Added the support for internal:selectionAcrossShadowBoundariesEnabled test option.
2762
2763         * DumpRenderTree/TestOptions.cpp:
2764         (TestOptions::TestOptions):
2765         * DumpRenderTree/TestOptions.h:
2766         * DumpRenderTree/mac/DumpRenderTree.mm:
2767         (resetWebPreferencesToConsistentValues):
2768         (setWebPreferencesForTestOptions):
2769
2770 2018-09-26  Ryosuke Niwa  <rniwa@webkit.org>
2771
2772         MiniBrowser doesn't respect default enabled-ness of experimental and internal debug features
2773         https://bugs.webkit.org/show_bug.cgi?id=189989
2774
2775         Reviewed by Simon Fraser.
2776
2777         When the preference isn't found in user defaults, use the default value of each feature's enabledness.
2778
2779         * MiniBrowser/mac/AppDelegate.m:
2780         (defaultConfiguration):
2781
2782 2018-09-26  Philippe Normand  <pnormand@igalia.com>
2783
2784         [Flatpak] Bump to apr 1.6.5
2785
2786         Version 1.6.3 is no longer available on Apache's website.
2787
2788         Rubber-stamped by Michael Catanzaro.
2789
2790         * flatpak/org.webkit.WebKit.yaml:
2791
2792 2018-09-25  Jiewen Tan  <jiewen_tan@apple.com>
2793
2794         [WebAuthN] Make AuthenticatorManager
2795         https://bugs.webkit.org/show_bug.cgi?id=189279
2796         <rdar://problem/44116792>
2797
2798         Reviewed by Chris Dumez.
2799
2800         Besides the functionality to set the WebAuthenticationMockConfiguration. Three operations are
2801         added to manipulate Keychain: addTestKeyToKeychain, cleanUpKeychain and keyExistedInKeychain.
2802
2803         * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
2804         * TestWebKitAPI/Tests/ios/LocalAuthenticator.mm: Removed.
2805         * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
2806         * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
2807         (WTR::TestRunner::setWebAuthenticationMockConfiguration):
2808         (WTR::TestRunner::addTestKeyToKeychain):
2809         (WTR::TestRunner::cleanUpKeychain):
2810         (WTR::TestRunner::isKeyExisted):
2811         * WebKitTestRunner/InjectedBundle/TestRunner.h:
2812         * WebKitTestRunner/TestController.cpp:
2813         (WTR::TestController::addTestKeyToKeychain):
2814         (WTR::TestController::cleanUpKeychain):
2815         (WTR::TestController::isKeyExisted):
2816         (WTR::TestController::setWebAuthenticationMockConfiguration):
2817         * WebKitTestRunner/TestController.h:
2818         * WebKitTestRunner/TestInvocation.cpp:
2819         (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
2820         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
2821         * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
2822         (WTR::TestController::addTestKeyToKeychain):
2823         (WTR::TestController::cleanUpKeychain):
2824         (WTR::TestController::keyExistedInKeychain):
2825
2826 2018-09-25  Sihui Liu  <sihui_liu@apple.com>
2827
2828         Move Service Worker Management from Storage Process to Network Process
2829         https://bugs.webkit.org/show_bug.cgi?id=189422
2830
2831         Reviewed by Youenn Fablet.
2832
2833         Change a check in ServiceWorkers.HasServiceWorkerRegistrationBit as storage process is not
2834         launched during service worker operations now.
2835
2836         * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:
2837
2838 2018-09-25  Eric Carlson  <eric.carlson@apple.com>
2839
2840         [MediaStream] Update constraints supported by getDisplayMedia
2841         https://bugs.webkit.org/show_bug.cgi?id=189930
2842         <rdar://problem/44740305>
2843
2844         Unreviewed, fix test broken by r236465.
2845
2846         * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:
2847         (TestWebKitAPI::TEST_F):
2848
2849 2018-09-25  Myles C. Maxfield  <mmaxfield@apple.com>
2850
2851         [WHSL] Implement semantics
2852         https://bugs.webkit.org/show_bug.cgi?id=189134
2853
2854         Reviewed by Filip Pizlo.
2855
2856         This patch adds parsing support and adds the checks required to support HLSL-style semantics.
2857
2858         There are 3 places where semantics are allowed:
2859
2860         1. In a field in a struct. E.g.
2861
2862         struct R {
2863             float4 position : SV_Position;
2864         }
2865         vertex R foo() {
2866             ...
2867         }
2868
2869         2. In a parameter of a function. If the function is not an entry point, the semantic is ignored.
2870
2871         compute void foo(device float[] data : buffer(u0)) {
2872             ...
2873         }
2874
2875         3. On a function. This is so you don't have to create structs for the return types of simple vertex shaders.
2876
2877         vertex float4 foo() : SV_Position {
2878             ...
2879         }
2880
2881         The semantics are partitioned into 4 types:
2882
2883         1. Built-in variables. For example, : SV_Position.
2884         2. Resources. For example, : register(u0).
2885         3. Stage-in / stage-out variables. For example, : attribute(0).
2886         4. Specialization constants. For example, : specialized.
2887
2888         The semantics are validated according to a collection of rules:
2889
2890         - The same entry point can't list the same semantic twice
2891         - Each built-in type has an appropriate type that is listed in the spec. 
2892         - Each built-in is appropriate as either an input or an output of a particular shader stage
2893         - Resource semantics have to have the appropriate type (e.g. can't use register(s0) on a buffer)
2894         - Resources can't be output from entry points
2895         - The resource semantic mode must match the address space of the resource
2896         - Stage-in and stage-out variables have to be POD
2897         - Specialization constants can't be output from entry points, and have to be numbers
2898
2899         * WebGPUShadingLanguageRI/All.js:
2900         * WebGPUShadingLanguageRI/BuiltInSemantic.js: Added.
2901         (BuiltInSemantic):
2902         (BuiltInSemantic.prototype.get name):
2903         (BuiltInSemantic.prototype.get extraArguments):
2904         (BuiltInSemantic.prototype.isAcceptableType):
2905         (BuiltInSemantic.prototype.isAcceptableForShaderType):
2906         (BuiltInSemantic.prototype.toString):
2907         * WebGPUShadingLanguageRI/CallExpression.js:
2908         (CallExpression.prototype._resolveWithOperatorAnderIndexer):
2909         (CallExpression.prototype._resolveWithOperatorLength):
2910         * WebGPUShadingLanguageRI/Checker.js:
2911         (Checker):
2912         (Checker.prototype.visitProgram):
2913         (Checker.prototype._checkSemantics.Item):
2914         (Checker.prototype._checkSemantics.Item.prototype.get type):
2915         (Checker.prototype._checkSemantics.Item.prototype.get semantic):
2916         (Checker.prototype._checkSemantics.Gatherer):
2917         (Checker.prototype._checkSemantics.Gatherer.prototype.reset):
2918         (Checker.prototype._checkSemantics.Gatherer.prototype.set currentSemantic):
2919         (Checker.prototype._checkSemantics.Gatherer.prototype.get currentSemantic):
2920         (Checker.prototype._checkSemantics.Gatherer.prototype.get result):
2921         (Checker.prototype._checkSemantics.Gatherer.prototype.visitEnumType):
2922         (Checker.prototype._checkSemantics.Gatherer.prototype.visitVectorType):
2923         (Checker.prototype._checkSemantics.Gatherer.prototype.visitMatrixType):
2924         (Checker.prototype._checkSemantics.Gatherer.prototype.visitNativeType):
2925         (Checker.prototype._checkSemantics.Gatherer.prototype.visitStructType):
2926         (Checker.prototype._checkSemantics.Gatherer.prototype.visitTypeRef):
2927         (Checker.prototype._checkSemantics.Gatherer.prototype.visitPtrType):
2928         (Checker.prototype._checkSemantics.Gatherer.prototype.visitArrayRefType):
2929         (Checker.prototype._checkSemantics.Gatherer.prototype.visitArrayType):
2930         (Checker.prototype._checkSemantics.Gatherer.prototype.visitFuncParameter):
2931         (Checker.prototype._checkSemantics.checkDuplicateSemantics):
2932         (Checker.prototype._checkSemantics.checkSemanticTypes):
2933         (Checker.prototype._checkSemantics.checkSemanticForShaderType):
2934         (Checker.prototype._checkSemantics.PODChecker.prototype.visitEnumType):
2935         (Checker.prototype._checkSemantics.PODChecker.prototype.visitArrayType):
2936         (Checker.prototype._checkSemantics.PODChecker.prototype.visitVectorType):
2937         (Checker.prototype._checkSemantics.PODChecker.prototype.visitMatrixType):
2938         (Checker.prototype._checkSemantics.PODChecker.prototype.visitNativeType):
2939         (Checker.prototype._checkSemantics.PODChecker.prototype.visitPtrType):
2940         (Checker.prototype._checkSemantics.PODChecker.prototype.visitArrayRefType):
2941         (Checker.prototype._checkSemantics.PODChecker.prototype.visitStructType):
2942         (Checker.prototype._checkSemantics.PODChecker.prototype.visitTypeRef):
2943         (Checker.prototype._checkSemantics.PODChecker):
2944         (Checker.prototype._checkSemantics.checkPODData):
2945         (Checker.prototype._checkSemantics):
2946         (Checker.prototype._checkShaderType):
2947         (Checker.prototype._checkOperatorOverload):
2948         (Checker.prototype.visitFuncDef):
2949         (Checker.prototype.visitEnumType):
2950         (Checker.prototype.visitArrayType):
2951         (Checker.prototype.visitMakePtrExpression):
2952         (Checker.prototype.visitMakeArrayRefExpression):
2953         (Checker.prototype._finishVisitingPropertyAccess):
2954         (Checker.prototype.visitIndexExpression):
2955         (Checker.prototype.visitReturn):
2956         (Checker.prototype.visitSwitchStatement):
2957         (Checker.prototype.visitTernaryExpression):
2958         (Checker.prototype.visitCallExpression):
2959         * WebGPUShadingLanguageRI/Field.js:
2960         (Field):
2961         (Field.prototype.get semantic):
2962         (Field.prototype.toString):
2963         * WebGPUShadingLanguageRI/Func.js:
2964         (Func):
2965         (Func.prototype.get semantic):
2966         (Func.prototype.toDeclString):
2967         * WebGPUShadingLanguageRI/FuncDef.js:
2968         (FuncDef):
2969         * WebGPUShadingLanguageRI/FuncParameter.js:
2970         (FuncParameter):
2971         (FuncParameter.prototype.get semantic):
2972         (FuncParameter.prototype.toString):
2973         * WebGPUShadingLanguageRI/Intrinsics.js:
2974         * WebGPUShadingLanguageRI/LateChecker.js:
2975         (LateChecker.prototype.visitReferenceType):
2976         (LateChecker):
2977         (LateChecker.prototype._checkShaderType): Deleted.
2978         (LateChecker.prototype.visitFuncDef): Deleted.
2979         * WebGPUShadingLanguageRI/NativeFunc.js:
2980         (NativeFunc):
2981         * WebGPUShadingLanguageRI/Parse.js:
2982         (parseParameter):
2983         (parseFuncDecl):
2984         (parseFuncDef):
2985         (parseStageInOutSemantic):
2986         (parseResourceSemantic):
2987         (parseSpecializationConstantSemantic):
2988         (parseBuiltInSemantic):
2989         (parseField):
2990         (parseNativeFunc):
2991         * WebGPUShadingLanguageRI/ProgramWithUnnecessaryThingsRemoved.js:
2992         (programWithUnnecessaryThingsRemoved):
2993         * WebGPUShadingLanguageRI/ResourceSemantic.js: Added.
2994         (ResourceSemantic):
2995         (ResourceSemantic.prototype.get resourceMode):
2996         (ResourceSemantic.prototype.get index):
2997         (ResourceSemantic.prototype.get space):
2998         (ResourceSemantic.prototype.isAcceptableType):
2999         (ResourceSemantic.prototype.isAcceptableForShaderType):
3000         (ResourceSemantic.prototype.toString):
3001         * WebGPUShadingLanguageRI/Rewriter.js:
3002         (Rewriter.prototype.visitFuncParameter):
3003         (Rewriter.prototype.visitField):
3004         (Rewriter.prototype.visitBuiltInSemantic):
3005         (Rewriter.prototype.visitResourceSemantic):
3006         (Rewriter.prototype.visitStageInOutSemantic):
3007         (Rewriter.prototype.visitSpecializationConstantSemantic):
3008         (Rewriter):
3009         * WebGPUShadingLanguageRI/SPIRV.html:
3010         * WebGPUShadingLanguageRI/Semantic.js: Added.
3011         (Semantic):
3012         (Semantic.prototype.get origin):
3013         (Semantic.prototype.equalToOtherSemantic.Comparer.prototype.visitBuiltInSemantic):
3014         (Semantic.prototype.equalToOtherSemantic.Comparer.prototype.visitResourceSemantic):
3015         (Semantic.prototype.equalToOtherSemantic.Comparer.prototype.visitStageInOutSemantic):
3016         (Semantic.prototype.equalToOtherSemantic.Comparer.prototype.visitSpecializationConstantSemantic):
3017         (Semantic.prototype.equalToOtherSemantic.Comparer):
3018         (Semantic.prototype.equalToOtherSemantic):
3019         * WebGPUShadingLanguageRI/SpecializationConstantSemantic.js: Copied from Tools/WebGPUShadingLanguageRI/Field.js.
3020         (SpecializationConstantSemantic):
3021         (SpecializationConstantSemantic.prototype.isAcceptableType):
3022         (SpecializationConstantSemantic.prototype.isAcceptableForShaderType):
3023         (SpecializationConstantSemantic.prototype.toString):
3024         * WebGPUShadingLanguageRI/StageInOutSemantic.js: Copied from Tools/WebGPUShadingLanguageRI/FuncDef.js.
3025         (StageInOutSemantic):
3026         (StageInOutSemantic.prototype.get index):
3027         (StageInOutSemantic.prototype.isAcceptableType):
3028         (StageInOutSemantic.prototype.isAcceptableForShaderType):
3029         (StageInOutSemantic.prototype.toString):
3030         * WebGPUShadingLanguageRI/StatementCloner.js:
3031         (StatementCloner.prototype.visitNativeFunc):
3032         * WebGPUShadingLanguageRI/SynthesizeArrayOperatorLength.js:
3033         (synthesizeArrayOperatorLength):
3034         * WebGPUShadingLanguageRI/SynthesizeCopyConstructorOperator.js:
3035         (synthesizeCopyConstructorOperator):
3036         * WebGPUShadingLanguageRI/SynthesizeDefaultConstructorOperator.js:
3037         (synthesizeDefaultConstructorOperator):
3038         * WebGPUShadingLanguageRI/SynthesizeEnumFunctions.js:
3039         (synthesizeEnumFunctions):
3040         * WebGPUShadingLanguageRI/SynthesizeStructAccessors.js:
3041         (setupAnder):
3042         (synthesizeStructAccessorsForStructType):
3043         * WebGPUShadingLanguageRI/Test.html:
3044         * WebGPUShadingLanguageRI/Test.js:
3045         (tests.shaderTypes):
3046         * WebGPUShadingLanguageRI/Visitor.js:
3047         (Visitor.prototype.visitFunc):
3048         (Visitor.prototype.visitFuncParameter):
3049         (Visitor.prototype.visitField):
3050         (Visitor.prototype.visitBuiltInSemantic):
3051         (Visitor.prototype.visitResourceSemantic):
3052         (Visitor.prototype.visitStageInOutSemantic):
3053         (Visitor.prototype.visitSpecializationConstantSemantic):
3054         (Visitor):
3055         * WebGPUShadingLanguageRI/index.html:
3056
3057 2018-09-25  Thomas Denney  <tdenney@apple.com>
3058
3059         [WHLSL] Test suite for Metal code generation
3060         https://bugs.webkit.org/show_bug.cgi?id=187738
3061
3062         Reviewed by Myles C. Maxfield.
3063
3064         This patch adds an Xcode project that contains a Cocoa app that can be
3065         used for running WHLSL shaders on the GPU. It also contains an Xcode
3066         test suite that runs all of the tests in Test.js on the GPU.
3067
3068         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/.gitignore: Added.
3069         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/AppDelegate.h: Added.
3070         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/AppDelegate.m: Added.
3071         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Assets.xcassets/AppIcon.appiconset/Contents.json: Added.
3072         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Assets.xcassets/Contents.json: Added.
3073         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Base.lproj/Main.storyboard: Added.
3074         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CompileResult.h: Added.
3075         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CompileResult.m: Added.
3076         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Compiler.h: Added.
3077         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Compiler.m: Added.
3078         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CustomMetalView.h: Added.
3079         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/CustomMetalView.m: Added.
3080         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Default.whlsl: Added.
3081         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Julia.whlsl: Added.
3082         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Demo shaders/Mandelbrot.whlsl: Added.
3083         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Info.plist: Added.
3084         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OffscreenRenderer.h: Added.
3085         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OffscreenRenderer.m: Added.
3086         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OnscreenRenderer.h: Added.
3087         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/OnscreenRenderer.m: Added.
3088         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/Renderer.h: Added.
3089         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/Renderer/Renderer.m: Added.
3090         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestCallArgument.h: Added.
3091         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestCallArgument.m: Added.
3092         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestDescription.h: Added.
3093         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestDescription.m: Added.
3094         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamily.h: Added.
3095         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamily.m: Added.
3096         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamilyRunner.h: Added.
3097         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/TestFamilyRunner.m: Added.
3098         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/ViewController.h: Added.
3099         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/ViewController.m: Added.
3100         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/WHLSL.entitlements: Added.
3101         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/_SharedMetal.txt: Added.
3102         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/Core/main.m: Added.
3103         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL Tests.xcodeproj/project.pbxproj: Added.
3104         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL ToyTests/Info.plist: Added.
3105         * WebGPUShadingLanguageRI/Metal/WHLSL Tests/WHLSL ToyTests/WHLSL_ToyTests.m: Added.
3106         * WebGPUShadingLanguageRI/Test.js:
3107         (tests.lotsOfLocalVariables):
3108
3109 2018-09-25  Myles C. Maxfield  <mmaxfield@apple.com>
3110
3111         Unreviewed build fix after r236455
3112         https://bugs.webkit.org/show_bug.cgi?id=189121
3113
3114         * WebGPUShadingLanguageRI/Test.js:
3115         (tests.shaderStages):
3116
3117 2018-09-24  Myles C. Maxfield  <mmaxfield@apple.com>
3118
3119         [WHLSL] Not all functions should be able to run in all shader stages
3120         https://bugs.webkit.org/show_bug.cgi?id=189121
3121
3122         Reviewed by Filip Pizlo.
3123
3124         ddx() and ddy() can only run in fragment shaders, and the barrier functions can only run in compute shaders.
3125         ddx_coarse() & friends are currently implemented as just calling ddx(), so we only need to modify those functions
3126         if/when we make them native.
3127
3128         The texture sampling functions that use implicit derivatives can run in any shader stage - they just use a LOD of
3129         0. Therefore, those functions are unchanged.
3130
3131         * WebGPUShadingLanguageRI/All.js:
3132         * WebGPUShadingLanguageRI/Intrinsics.js:
3133         * WebGPUShadingLanguageRI/LateChecker.js:
3134         (LateChecker.prototype._checkShaderType):
3135         * WebGPUShadingLanguageRI/NativeFunc.js:
3136         (NativeFunc):
3137         (NativeFunc.prototype.get stage):
3138         (NativeFunc.prototype.toDeclString):
3139         * WebGPUShadingLanguageRI/Parse.js:
3140         (parseFuncDecl):
3141         (parseNativeFunc):
3142         (parseNative):
3143         * WebGPUShadingLanguageRI/Prepare.js:
3144         (let.prepare):
3145         * WebGPUShadingLanguageRI/SPIRV.html:
3146         * WebGPUShadingLanguageRI/StandardLibrary.js:
3147         (let.standardLibrary):
3148         * WebGPUShadingLanguageRI/StatementCloner.js:
3149         (StatementCloner.prototype.visitNativeFunc):
3150         * WebGPUShadingLanguageRI/Test.html:
3151         * WebGPUShadingLanguageRI/Test.js:
3152         (tests.shaderStages):
3153         * WebGPUShadingLanguageRI/WSyntaxError.js:
3154         (WSyntaxError.prototype.toString):
3155         (WSyntaxError):
3156         * WebGPUShadingLanguageRI/index.html:
3157
3158 2018-09-24  Thomas Denney  <tdenney@apple.com>
3159
3160         [WHLSL] Implement trap statements in Metal code generation
3161         https://bugs.webkit.org/show_bug.cgi?id=189615
3162
3163         Reviewed by Myles C. Maxfield.
3164
3165         Each function called by an entry point now receives an additional
3166         boolean pointer parameter, which is set to false if the function traps.
3167         After each function call (to a non-native function) this trap parameter
3168         is checked. The behavior of the interpreter has also been updated so
3169         that a function entry point catches the trap and instead returns zero,
3170         matching the behavior of compiled code.
3171
3172         * WebGPUShadingLanguageRI/Evaluator.js: Adds a new flag to allow the
3173         test suite to check for traps and also returns zero from entry points
3174         whose invocation trapped.
3175         * WebGPUShadingLanguageRI/Metal/MSLBackend.js: Pass program to function
3176         declarations.
3177         * WebGPUShadingLanguageRI/Metal/MSLCodegenAll.js: Update dependencies.
3178         * WebGPUShadingLanguageRI/Metal/MSLFunctionDeclaration.js: Add program
3179         property.
3180         * WebGPUShadingLanguageRI/Metal/MSLFunctionDefinition.js: Ditto.
3181         * WebGPUShadingLanguageRI/Metal/MSLInsertTrapParameter.js: Added.
3182         * WebGPUShadingLanguageRI/Metal/MSLStatementEmitter.js: Conforms to the
3183         new trapping behavior.
3184         * WebGPUShadingLanguageRI/Test.js: Update tests that trap.
3185
3186 2018-09-24  Thomas Denney  <tdenney@apple.com>
3187
3188         [WHLSL] It shouldn’t be possible to use ternary expressions as l-values
3189         https://bugs.webkit.org/show_bug.cgi?id=189290
3190
3191         Reviewed by Myles C. Maxfield.
3192
3193         It is no longer possible for a ternary expression to be treated as an
3194         l-value. This patch adds several test cases to verify that this is the
3195         case.
3196
3197         * WebGPUShadingLanguageRI/Checker.js:
3198         (Checker.prototype.visitTernaryExpression): No longer check isLValue.
3199         * WebGPUShadingLanguageRI/NormalUsePropertyResolver:
3200         (NormalUsePropertyResolver.visitTernaryExpression): Deleted.
3201         * WebGPUShadingLanguageRI/Rewriter.js:
3202         (Rewriter.prototype.visitTernaryExpression): No longer copy isLValue.
3203         * WebGPUShadingLanguageRI/TernaryExpression.js:
3204         (TernaryExpression):
3205         (TernaryExpression.prototype.get elseExpression):
3206         (TernaryExpression.prototype.get isLValue): Deleted.
3207         (TernaryExpression.prototype.set isLValue): Deleted.
3208         * WebGPUShadingLanguageRI/Test.js:
3209         (tests.ternaryExpression): Add checks for failure if a failure is used
3210         as an l-value.
3211         (ternaryExpressionIsLValue.node.TernaryExpressionVisitor.prototype.visitTernaryExpression): Deleted.
3212         (ternaryExpressionIsLValue.node.TernaryExpressionVisitor): Deleted.
3213         (tests.ternaryExpressionIsLValue): Deleted.
3214
3215 2018-09-24  Jer Noble  <jer.noble@apple.com>
3216
3217         SharedBuffer should have an equality test
3218         https://bugs.webkit.org/show_bug.cgi?id=189919
3219
3220         Reviewed by Alex Christensen.
3221
3222         * TestWebKitAPI/Tests/WebCore/SharedBuffer.cpp:
3223         (TestWebKitAPI::TEST_F):
3224
3225 2018-09-24  Alex Christensen  <achristensen@webkit.org>
3226
3227         Prepare to replace WKBundleFileHandleCreateWithPath with a version that takes a WKBundlePageRef
3228         https://bugs.webkit.org/show_bug.cgi?id=189929
3229
3230         Reviewed by Andy Estes.
3231
3232         * TestWebKitAPI/Tests/WebKit/WKBundleFileHandle_Bundle.cpp:
3233
3234 2018-09-24  Thomas Denney  <tdenney@apple.com>
3235
3236         [WHLSL] Casting user-created types to themselves should always work
3237         https://bugs.webkit.org/show_bug.cgi?id=189113
3238
3239         Reviewed by Myles C. Maxfield.
3240
3241         Casting user-defined types to themselves worked already, but we didn't
3242         test it anywhere.
3243
3244         * WebGPUShadingLanguageRI/Test.js:
3245         (tests.selfCasts):
3246
3247 2018-09-24  Zan Dobersek  <zdobersek@igalia.com>
3248
3249         Unreviewed build fix for Jhbuild-using ports.
3250
3251         * gstreamer/patches/gst-plugins-good-0010-matroskademux-Emit-no-more-pads-after-parsing-Tracks.patch:
3252         Adjust the patch so it applies cleanly on the 1.14.3 version of the
3253         gst-plugins-good package.
3254
3255 2018-09-24  Ryan Haddad  <ryanhaddad@apple.com>
3256
3257         Update flakiness dashboard configuration for iOS 12 queues
3258         https://bugs.webkit.org/show_bug.cgi?id=189688
3259
3260         Reviewed by Alexey Proskuryakov.
3261
3262         * TestResultServer/static-dashboards/builders.jsonp:
3263
3264 2018-09-24  Alicia Boya García  <aboya@igalia.com>
3265
3266         [GStreamer] Unreviewed build fix.
3267
3268         A GStreamer patch was not applying cleanly on 1.14.3.
3269
3270         * gstreamer/patches/gst-plugins-good-0008-matroskademux-Refactor-track-parsing-out-from-adding.patch:
3271
3272 2018-09-24  Alicia Boya García  <aboya@igalia.com>
3273
3274         [MSE][GStreamer] Use no-more-pads event for noticing initialization segments
3275         https://bugs.webkit.org/show_bug.cgi?id=189868
3276
3277         Reviewed by Xabier Rodriguez-Calvar.
3278
3279         Added patch from https://bugzilla.gnome.org/show_bug.cgi?id=797187
3280
3281         * gstreamer/jhbuild.modules:
3282         * gstreamer/patches/gst-plugins-good-0010-matroskademux-Emit-no-more-pads-after-parsing-Tracks.patch: Added.
3283
3284 2018-09-24  Alicia Boya García  <aboya@igalia.com>
3285         [MSE][GStreamer] Add patch to jhbuild: matroskademux: Allow Matroska headers to be read more than once
3286         https://bugs.webkit.org/show_bug.cgi?id=185731
3287
3288         Reviewed by Xabier Rodriguez-Calvar.
3289
3290         Upstream bug in GStreamer: https://bugzilla.gnome.org/show_bug.cgi?id=793333
3291
3292         This fixes YTTV 35. AppendMultipleInitOpusAudio (and any other use
3293         case where two WebM initialization segments are appended on a row).
3294
3295         * gstreamer/jhbuild.modules:
3296         * gstreamer/patches/gst-plugins-good-0007-matroskademux-Allow-Matroska-headers-to-be-read-more.patch: Added.
3297         * gstreamer/patches/gst-plugins-good-0008-matroskademux-Refactor-track-parsing-out-from-adding.patch: Added.
3298         * gstreamer/patches/gst-plugins-good-0009-matroskademux-Parse-successive-Tracks-elements.patch: Added.
3299
3300 2018-09-22  Myles C. Maxfield  <mmaxfield@apple.com>
3301
3302         [WHSL] Need grammar to specify kernel group size
3303         https://bugs.webkit.org/show_bug.cgi?id=189108
3304
3305         Reviewed by Dean Jackson.
3306
3307         In HLSL, compute functions are annotated with their workgroup size.
3308         For example,
3309
3310         [numthreads(3, 4, 5)] compute void foo(...) { ... }
3311
3312         * WebGPUShadingLanguageRI/All.js:
3313         * WebGPUShadingLanguageRI/Func.js:
3314         (Func):
3315         (Func.prototype.get attributeBlock):
3316         * WebGPUShadingLanguageRI/FuncAttribute.js: Copied from Tools/WebGPUShadingLanguageRI/FuncDef.js.
3317         (FuncAttribute):
3318         * WebGPUShadingLanguageRI/FuncDef.js:
3319         (FuncDef):
3320         * WebGPUShadingLanguageRI/FuncNumThreadsAttribute.js: Copied from Tools/WebGPUShadingLanguageRI/FuncDef.js.
3321         (FuncNumThreadsAttribute):
3322         (FuncNumThreadsAttribute.prototype.get x):
3323         (FuncNumThreadsAttribute.prototype.get y):
3324         (FuncNumThreadsAttribute.prototype.get z):
3325         * WebGPUShadingLanguageRI/LateChecker.js:
3326         (LateChecker.prototype._checkShaderType):
3327         * WebGPUShadingLanguageRI/Parse.js:
3328         (parseAttributeBlock):
3329         (parseFuncDecl):
3330         (parseFuncDef):
3331         (parseNativeFunc):
3332         * WebGPUShadingLanguageRI/SPIRV.html:
3333         * WebGPUShadingLanguageRI/StatementCloner.js:
3334         (StatementCloner.prototype.visitFuncDef):
3335         (StatementCloner.prototype.visitFuncNumThreadsAttribute):
3336         (StatementCloner):
3337         * WebGPUShadingLanguageRI/Test.html:
3338         * WebGPUShadingLanguageRI/Test.js:
3339         (tests.numThreads):
3340         * WebGPUShadingLanguageRI/Visitor.js:
3341         (Visitor.prototype.visitFunc):
3342         (Visitor.prototype.visitFuncNumThreadsAttribute):
3343         (Visitor):
3344         * WebGPUShadingLanguageRI/index.html:
3345
3346 2018-09-22  Myles C. Maxfield  <mmaxfield@apple.com>
3347
3348         Native functions which accept pointers need to do null checks
3349         https://bugs.webkit.org/show_bug.cgi?id=189883
3350
3351         Reviewed by Dean Jackson.
3352
3353         Simply guard all the places where we write through an author-provided pointer.
3354
3355         * WebGPUShadingLanguageRI/Intrinsics.js:
3356         (Intrinsics.):
3357         * WebGPUShadingLanguageRI/Test.js:
3358         (tests.textureDimensionsNull):
3359
3360 2018-09-22  Myles C. Maxfield  <mmaxfield@apple.com>
3361
3362         [WHLSL] Implement atomic operations and barriers
3363         https://bugs.webkit.org/show_bug.cgi?id=189025
3364
3365         Reviewed by Dean Jackson.
3366
3367         In the interpreter, atomic operations don't need to be atomic.
3368
3369         * WebGPUShadingLanguageRI/Intrinsics.js:
3370         (Intrinsics.):
3371         * WebGPUShadingLanguageRI/StandardLibrary.js:
3372         (let.standardLibrary):
3373         * WebGPUShadingLanguageRI/Test.js:
3374         (tests.atomics):
3375
3376 2018-09-22  Thibault Saunier  <tsaunier@igalia.com>
3377
3378         [WPE] Be very permissive in the MiniBrowser.
3379         https://bugs.webkit.org/show_bug.cgi?id=189800
3380
3381         This is just a test tool and we should make
3382         it just work, security and privacy is not really
3383         a primary focus here.
3384
3385         Reviewed by Žan Doberšek.
3386
3387         * MiniBrowser/wpe/main.cpp:
3388         (decidePermissionRequest):
3389         (main):
3390
3391 2018-09-21  Thomas Denney  <tdenney@apple.com>
3392
3393         [WHLSL] Local variables should be statically allocated
3394         https://bugs.webkit.org/show_bug.cgi?id=188402
3395
3396         Reviewed by Myles C. Maxfield.
3397
3398         An additional preparation stage is now performed so that all local
3399         variables and function parameters are allocated in a single struct at
3400         entry points. A pointer to this struct is then passed for function
3401         calls.
3402
3403         * WebGPUShadingLanguageRI/All.js: Update dependencies.
3404         * WebGPUShadingLanguageRI/AllocateAtEntryPoints.js: Added new stage.
3405         * WebGPUShadingLanguageRI/CallExpression.js:
3406         (CallExpression.prototype.set argumentList): Add setter because
3407         allocateAtEntryPoints needs to change this.
3408         * WebGPUShadingLanguageRI/EBufferBuilder.js: Remove a redundant
3409         constructor that wasn't used anywhere.
3410         * WebGPUShadingLanguageRI/Func.js:
3411         (Func.prototype.set parameters): Add setter.
3412         * WebGPUShadingLanguageRI/FuncDef.js:
3413         (FuncDef.prototype.set body): Ditto.
3414         * WebGPUShadingLanguageRI/Prepare.js:
3415         (let.prepare): Add call to allocateAtEntryPoints. This call cannot
3416         happen any earlier because it depends on having types for call
3417         arguments.
3418         * WebGPUShadingLanguageRI/Rewriter.js:
3419         (Rewriter.prototype.visitReturn): Resolve issue where the return
3420         statement's function wasn't copied. A null check is required as the
3421         Rewriter might be used before this property is set.
3422         * WebGPUShadingLanguageRI/SPIRV.html: Update dependencies.
3423         * WebGPUShadingLanguageRI/SynthesizeStructAccessors.js: Abstracted logic
3424         into a separate function so that allocateAtEntryPoints can create the
3425         accessors for the struct type it introduces.
3426         * WebGPUShadingLanguageRI/Test.html: Update dependencies.
3427         * WebGPUShadingLanguageRI/Test.js: Add new tests to verify the static
3428         allocation transform works safely.
3429         * WebGPUShadingLanguageRI/index.html: Update dependencies.
3430
3431 2018-09-21  Jonathan Bedard  <jbedard@apple.com>
3432
3433         Bring up queues for iOS 12 (Build fix)
3434         https://bugs.webkit.org/show_bug.cgi?id=189683
3435
3436         Unreviewed build fix.
3437
3438         We should not build ImageDiff as x86 by default since 32 bit projects are
3439         deprecated in Xcode. ImageDiff should only be built once.
3440
3441         * Scripts/build-webkit:
3442         * Scripts/webkitdirs.pm:
3443         (argumentsForConfiguration):
3444
3445 2018-09-21  Adrian Perez de Castro  <aperez@igalia.com>
3446
3447         [WPE] Built RPM of WPE webkit fails to install with "nothing provides libWPEToolingBackends.so()"
3448         https://bugs.webkit.org/show_bug.cgi?id=189797
3449
3450         Reviewed by Žan Doberšek.
3451
3452         * wpe/backends/CMakeLists.txt: Make libWPEToolingBackends a static library to avoid
3453         the need for installing it. This works fine because the library only contains utility
3454         code intended to be reused from other various components (MiniBrowser, WebKitTestRunner).
3455
3456 2018-09-20  Daniel Bates  <dabates@apple.com>
3457
3458         Move IOKitSPI.h from TestRunnerShared to PAL
3459         https://bugs.webkit.org/show_bug.cgi?id=189804
3460
3461         Reviewed by Wenson Hsieh.
3462
3463         Towards fixing <https://bugs.webkit.org/show_bug.cgi?id=189604> move the IOKit SPI forward
3464         declarations to PAL so that they can be shared by WebKit, DumpRenderTree and WebKitTestRunner.
3465
3466         No functionality changed. So, no new tests.
3467
3468         * TestRunnerShared/EventSerialization/mac/EventSerializerMac.mm:
3469         * TestRunnerShared/spi/UIKitTestSPI.h:
3470         * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
3471         * WebKitTestRunner/ios/HIDEventGenerator.mm:
3472
3473 2018-09-20  Thomas Denney  <tdenney@apple.com>
3474
3475         [WHLSL] Metal code generation
3476         https://bugs.webkit.org/show_bug.cgi?id=187735
3477
3478         Reviewed by Myles C. Maxfield.
3479
3480         Adds support for generating Metal Shading Language from WHLSL. Clients
3481         should include the file MetalCodegenAll.js and then call whlslToMsl
3482         with their program source code to compile to Metal.
3483
3484         * WebGPUShadingLanguageRI/ArrayType.js:
3485         (ArrayType.prototype.get arrayRefType): Adds the arrayRefType method to
3486         all types to find the type of that expression when it is used in a
3487         MakeArrayRefExpression.
3488         * WebGPUShadingLanguageRI/MakeArrayRefExpression.js:
3489         (MakeArrayRefExpression):
3490         (MakeArrayRefExpression.prototype.get type): Uses the new arrayRefType
3491         getter on all types to find the type of the expression.
3492         * WebGPUShadingLanguageRI/Metal/MSLBackend.js: Added.
3493         * WebGPUShadingLanguageRI/Metal/MSLCodegenAll.js: Added.
3494         * WebGPUShadingLanguageRI/Metal/MSLCompileResult.js: Added.
3495         * WebGPUShadingLanguageRI/Metal/MSLConstexprEmitter.js: Added.
3496         * WebGPUShadingLanguageRI/Metal/MSLFunctionDeclaration.js: Added.
3497         * WebGPUShadingLanguageRI/Metal/MSLFunctionDefinition.js: Added.
3498         * WebGPUShadingLanguageRI/Metal/MSLFunctionForwardDeclaration.js: Added.
3499         * WebGPUShadingLanguageRI/Metal/MSLNameMangler.js: Added.
3500         * WebGPUShadingLanguageRI/Metal/MSLNativeFunctionCall.js: Added.
3501         * WebGPUShadingLanguageRI/Metal/MSLStatementEmitter.js: Added.
3502         * WebGPUShadingLanguageRI/Metal/MSLTypeAttributes.js: Added.
3503         * WebGPUShadingLanguageRI/Metal/MSLTypeAttributesMap.js: Added.
3504         * WebGPUShadingLanguageRI/Metal/MSLTypeUnifier.js: Added.
3505         * WebGPUShadingLanguageRI/Metal/TypeOf.js: Added.
3506         * WebGPUShadingLanguageRI/Metal/WhlslToMsl.js: Added.
3507         * WebGPUShadingLanguageRI/PropertyResolver.js:
3508         * WebGPUShadingLanguageRI/SynthesizeStructAccessors.js:
3509         * WebGPUShadingLanguageRI/Test.js: Added awkward tests for the compiler
3510         to generate code for.
3511         (tests.incrementAndDecrement):
3512         (tests.returnIntLiteralUint):
3513         (tests.returnIntLiteralFloat):
3514         (tests.nestedSubscriptWithArraysInStructs):
3515         (tests.nestedSubscript):
3516         (tests.lotsOfLocalVariables):
3517         * WebGPUShadingLanguageRI/Type.js:
3518         (Type.prototype.get arrayRefType): See above.
3519
3520 2018-09-20  Ryan Haddad  <ryanhaddad@apple.com>
3521
3522         Bring up queues for iOS 12
3523         https://bugs.webkit.org/show_bug.cgi?id=189683
3524
3525         Unreviewed infrastructure fix.
3526
3527         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS12@2x.png: Renamed from Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/iOS12@2x.png.
3528         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BubbleQueueServer.js:
3529         (BubbleQueueServer): Move EWS bubbles to the iOS 12 section of the dashboard.
3530
3531 2018-09-20  Ryan Haddad  <ryanhaddad@apple.com>
3532
3533         Bring up queues for iOS 12
3534         https://bugs.webkit.org/show_bug.cgi?id=189683
3535
3536         Reviewed by Aakash Jain.
3537
3538         * BuildSlaveSupport/build.webkit.org-config/config.json:
3539         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS12.png: Added.
3540         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS12Simulator.png: Added.
3541         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/IOS12Simulator@2x.png: Added.
3542         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/iOS12@2x.png: Added.
3543         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Dashboard.js:
3544         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js:
3545         (WebKitBuildbot):
3546         * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css:
3547         (table.queue-grid tr.platform.ios-simulator-12 img.logo):
3548         (table.queue-grid tr.platform.ios-12 img.logo):
3549         (table.queue-grid tr.platform.ios-simulator-11 img.logo): Deleted.
3550         (table.queue-grid tr.platform.ios-11 img.logo): Deleted.
3551         * BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
3552         * BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
3553         (_should_file_trigger_build):
3554         * BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
3555         (ShouldBuildTest):
3556         (ShouldBuildTest.test_should_build):
3557
3558 2018-09-20  Basuke Suzuki  <Basuke.Suzuki@sony.com>
3559
3560         [Win] TestRunner::queueLoad() fails to generate correct url for some urls.
3561         https://bugs.webkit.org/show_bug.cgi?id=189679
3562
3563         Reviewed by Fujii Hironori.
3564
3565         Replace the implementation with correct API call.
3566
3567         * DumpRenderTree/win/TestRunnerWin.cpp:
3568         (TestRunner::queueLoad): Call UrlCombineW.
3569
3570 2018-09-20  Michael Catanzaro  <mcatanzaro@igalia.com>
3571
3572         [WPE] fails to build on ARM arches complaining about undefined reference to `epoxy_eglMakeCurrent'
3573         https://bugs.webkit.org/show_bug.cgi?id=189556
3574
3575         Reviewed by Konstantin Tokarev.
3576
3577         This is only a speculative build fix as I didn't attempt to reproduce. Explicitly link to
3578         libepoxy.
3579
3580         * wpe/backends/CMakeLists.txt:
3581
3582 2018-09-20  Daniel Bates  <dabates@apple.com>
3583
3584         [iOS] Support testing more hardware special keys
3585         https://bugs.webkit.org/show_bug.cgi?id=189793
3586
3587         Reviewed by Simon Fraser.
3588