wpt/css/css-images/gradient/color-stops-parsing.html fails
[WebKit-https.git] / Source / WebKitLegacy / mac / ChangeLog
1 2019-10-23  Andy Estes  <aestes@apple.com>
2
3         [Quick Look] Rename PreviewLoader{,Client} to LegacyPreviewLoader{,Client}
4         https://bugs.webkit.org/show_bug.cgi?id=203306
5
6         Reviewed by Tim Horton.
7
8         * WebCoreSupport/WebFrameLoaderClient.h:
9         * WebCoreSupport/WebFrameLoaderClient.mm:
10         (WebFrameLoaderClient::createPreviewLoaderClient):
11         * WebView/WebDataSource.mm:
12         (-[WebDataSource _quickLookPreviewLoaderClient]):
13         (-[WebDataSource _setQuickLookPreviewLoaderClient:]):
14         * WebView/WebDataSourceInternal.h:
15
16 2019-10-22  Alex Christensen  <achristensen@webkit.org>
17
18         Re-enable legacy TLS by default, keep runtime switch
19         https://bugs.webkit.org/show_bug.cgi?id=203253
20
21         Reviewed by Geoffrey Garen.
22
23         * WebView/WebView.mm:
24         (-[WebView _commonInitializationWithFrameName:groupName:]):
25
26 2019-10-21  Yusuke Suzuki  <ysuzuki@apple.com>
27
28         [JSC] Thread JSGlobalObject* instead of ExecState*
29         https://bugs.webkit.org/show_bug.cgi?id=202392
30
31         Reviewed by Geoffrey Garen.
32
33         * DOM/DOMInternal.mm:
34         (-[WebScriptObject _initializeScriptDOMNodeImp]):
35         * DOM/WebDOMOperations.mm:
36         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
37         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
38         (WebKit::NetscapePluginInstanceProxy::evaluate):
39         (WebKit::NetscapePluginInstanceProxy::invoke):
40         (WebKit::NetscapePluginInstanceProxy::invokeDefault):
41         (WebKit::NetscapePluginInstanceProxy::construct):
42         (WebKit::NetscapePluginInstanceProxy::getProperty):
43         (WebKit::NetscapePluginInstanceProxy::setProperty):
44         (WebKit::NetscapePluginInstanceProxy::removeProperty):
45         (WebKit::NetscapePluginInstanceProxy::hasProperty):
46         (WebKit::NetscapePluginInstanceProxy::hasMethod):
47         (WebKit::NetscapePluginInstanceProxy::enumerate):
48         (WebKit::NetscapePluginInstanceProxy::addValueToArray):
49         (WebKit::NetscapePluginInstanceProxy::marshalValue):
50         (WebKit::NetscapePluginInstanceProxy::marshalValues):
51         (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):
52         (WebKit::NetscapePluginInstanceProxy::demarshalValue):
53         (WebKit::NetscapePluginInstanceProxy::demarshalValues):
54         (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState):
55         * Plugins/Hosted/ProxyInstance.h:
56         * Plugins/Hosted/ProxyInstance.mm:
57         (WebKit::ProxyField::valueFromInstance const):
58         (WebKit::ProxyField::setValueToInstance const):
59         (WebKit::ProxyInstance::newRuntimeObject):
60         (WebKit::ProxyInstance::invoke):
61         (WebKit::ProxyRuntimeMethod::create):
62         (WebKit::ProxyInstance::getMethod):
63         (WebKit::ProxyInstance::invokeMethod):
64         (WebKit::ProxyInstance::invokeDefaultMethod):
65         (WebKit::ProxyInstance::invokeConstruct):
66         (WebKit::ProxyInstance::defaultValue const):
67         (WebKit::ProxyInstance::stringValue const):
68         (WebKit::ProxyInstance::numberValue const):
69         (WebKit::ProxyInstance::valueOf const):
70         (WebKit::ProxyInstance::getPropertyNames):
71         (WebKit::ProxyInstance::fieldValue const):
72         (WebKit::ProxyInstance::setFieldValue const):
73         * WebView/WebFrame.mm:
74         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
75         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
76         (-[WebFrame _globalContextForScriptWorld:]):
77         (-[WebFrame jsWrapperForNode:inScriptWorld:]):
78         (-[WebFrame globalContext]):
79         * WebView/WebScriptDebugger.h:
80         * WebView/WebScriptDebugger.mm:
81         (WebScriptDebugger::sourceParsed):
82         * WebView/WebView.mm:
83         (+[WebView _reportException:inContext:]):
84         (aeDescFromJSValue):
85         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
86
87 2019-10-22  Wenson Hsieh  <wenson_hsieh@apple.com>
88
89         imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https.html is flaky
90         https://bugs.webkit.org/show_bug.cgi?id=203181
91
92         Reviewed by Ryosuke Niwa.
93
94         Add a changeCount argument to informationForItemAtIndex and allPasteboardItemInfo, and also make then return
95         optional values. See WebCore ChangeLog for more details.
96
97         * WebCoreSupport/WebPlatformStrategies.h:
98         * WebCoreSupport/WebPlatformStrategies.mm:
99         (WebPlatformStrategies::changeCount):
100         (WebPlatformStrategies::addTypes):
101         (WebPlatformStrategies::setTypes):
102         (WebPlatformStrategies::setBufferForType):
103         (WebPlatformStrategies::setURL):
104         (WebPlatformStrategies::setColor):
105         (WebPlatformStrategies::setStringForType):
106         (WebPlatformStrategies::writeCustomData):
107         (WebPlatformStrategies::informationForItemAtIndex):
108         (WebPlatformStrategies::allPasteboardItemInfo):
109
110 2019-10-17  Devin Rousso  <drousso@apple.com>
111
112         Web Inspector: rework frontend agent construction to allow commands/events to be controlled by the related target's type
113         https://bugs.webkit.org/show_bug.cgi?id=200384
114         <rdar://problem/53850352>
115
116         Reviewed by Joseph Pecoraro.
117
118         * WebCoreSupport/WebInspectorClient.h:
119         (WebInspectorFrontendClient::debuggableType const): Added.
120         Split the `Web` debuggable type into `Page` (WebCore::Page) and `WebPage` (WebKit::WebPageProxy).
121
122 2019-10-16  Chris Dumez  <cdumez@apple.com>
123
124         Unreviewed, fix iOS Debug build after r251220.
125
126         * WebView/WebView.mm:
127         (-[WebView _preferencesChanged:]):
128
129 2019-10-16  Chris Dumez  <cdumez@apple.com>
130
131         Rename PageCache to BackForwardCache
132         https://bugs.webkit.org/show_bug.cgi?id=203048
133
134         Reviewed by Alex Christensen.
135
136         Rename PageCache to BackForwardCache for clarity and consistency with the UIProcess's WebBackForwardCache.
137
138         * History/BackForwardList.mm:
139         (BackForwardList::addItem):
140         (BackForwardList::setCapacity):
141         * History/WebBackForwardList.mm:
142         (-[WebBackForwardList pageCacheSize]):
143         * History/WebHistoryItem.mm:
144         * History/WebHistoryItemPrivate.h:
145         * Misc/WebCache.mm:
146         * Misc/WebCoreStatistics.mm:
147         (+[WebCoreStatistics cachedPageCount]):
148         (+[WebCoreStatistics cachedFrameCount]):
149         * WebCoreSupport/WebFrameLoaderClient.h:
150         * WebCoreSupport/WebFrameLoaderClient.mm:
151         (WebFrameLoaderClient::forceLayoutOnRestoreFromBackForwardCache):
152         (WebFrameLoaderClient::didRestoreFromBackForwardCache):
153         * WebCoreSupport/WebVisitedLinkStore.mm:
154         * WebView/WebHTMLView.mm:
155         (-[WebHTMLView layoutToMinimumPageWidth:height:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustingViewSize:]):
156         (-[WebHTMLView setNeedsLayout:]):
157         (-[WebHTMLView setNeedsToApplyStyles:]):
158         * WebView/WebView.mm:
159         (-[WebView _close]):
160         (-[WebView _preferencesChanged:]):
161         (+[WebView _setCacheModel:]):
162
163 2019-10-16  Chris Dumez  <cdumez@apple.com>
164
165         [WK2] Move back/forward cache entry expiration from the WebProcess to the UIProcess
166         https://bugs.webkit.org/show_bug.cgi?id=203034
167         <rdar://problem/56332453>
168
169         Reviewed by Antti Koivisto.
170
171         * WebView/WebView.mm:
172         (-[WebView _preferencesChanged:]):
173
174 2019-10-15  Chris Dumez  <cdumez@apple.com>
175
176         [macOS] Simplify main thread initialization
177         https://bugs.webkit.org/show_bug.cgi?id=203001
178
179         Reviewed by Geoff Garen.
180
181         * History/WebBackForwardList.mm:
182         (+[WebBackForwardList initialize]):
183         * History/WebHistoryItem.mm:
184         (+[WebHistoryItem initialize]):
185         * Misc/WebCache.mm:
186         (+[WebCache initialize]):
187         * Misc/WebElementDictionary.mm:
188         (+[WebElementDictionary initialize]):
189         * Misc/WebIconDatabase.mm:
190         * Misc/WebStringTruncator.mm:
191         (+[WebStringTruncator initialize]):
192         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
193         (+[WebHostedNetscapePluginView initialize]):
194         * Plugins/WebBaseNetscapePluginView.mm:
195         * Plugins/WebBasePluginPackage.mm:
196         (+[WebBasePluginPackage initialize]):
197         * Plugins/WebNetscapePluginView.mm:
198         (+[WebNetscapePluginView initialize]):
199         * WebCoreSupport/WebEditorClient.mm:
200         (+[WebUndoStep initialize]):
201         * WebCoreSupport/WebFrameLoaderClient.mm:
202         (+[WebFramePolicyListener initialize]):
203         * WebView/WebArchive.mm:
204         (+[WebArchivePrivate initialize]):
205         * WebView/WebDataSource.mm:
206         (+[WebDataSource initialize]):
207         * WebView/WebHTMLView.mm:
208         (+[WebHTMLViewPrivate initialize]):
209         (+[WebHTMLView initialize]):
210         * WebView/WebPreferences.mm:
211         (+[WebPreferences initialize]):
212         * WebView/WebResource.mm:
213         (+[WebResourcePrivate initialize]):
214         * WebView/WebTextIterator.mm:
215         (+[WebTextIteratorPrivate initialize]):
216         * WebView/WebView.mm:
217         (+[WebView initialize]):
218         * WebView/WebViewData.mm:
219         (+[WebViewPrivate initialize]):
220
221 2019-10-15  Peng Liu  <peng.liu6@apple.com>
222
223         [Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture()
224         https://bugs.webkit.org/show_bug.cgi?id=201024
225
226         Reviewed by Eric Carlson.
227
228         Add configurations for Picture-in-Picture API and also a preference option for it.
229
230         * Configurations/FeatureDefines.xcconfig:
231         * WebView/WebPreferenceKeysPrivate.h:
232         * WebView/WebPreferences.mm:
233         (+[WebPreferences initialize]):
234         (-[WebPreferences pictureInPictureAPIEnabled]):
235         (-[WebPreferences setPictureInPictureAPIEnabled:]):
236         * WebView/WebPreferencesPrivate.h:
237         * WebView/WebView.mm:
238         (-[WebView _preferencesChanged:]):
239
240 2019-10-14  Chris Dumez  <cdumez@apple.com>
241
242         [WK2] Have WebBackForwardCache class coordinate page caching in all WebProcesses
243         https://bugs.webkit.org/show_bug.cgi?id=202929
244         <rdar://problem/56250421>
245
246         Reviewed by Alex Christensen.
247
248         * WebCoreSupport/WebFrameLoaderClient.h:
249         * WebCoreSupport/WebFrameLoaderClient.mm:
250
251 2019-10-14  Wenson Hsieh  <wenson_hsieh@apple.com>
252
253         [Clipboard API] Refactor custom pasteboard writing codepaths to handle multiple items
254         https://bugs.webkit.org/show_bug.cgi?id=202916
255
256         Reviewed by Tim Horton.
257
258         Adjust some method signatures.
259
260         * WebCoreSupport/WebPlatformStrategies.h:
261         * WebCoreSupport/WebPlatformStrategies.mm:
262         (WebPlatformStrategies::writeCustomData):
263
264 2019-10-14  David Quesada  <david_quesada@apple.com>
265
266         Remove WebCore::IOSApplication::isWebApp()
267         https://bugs.webkit.org/show_bug.cgi?id=181259
268
269         Reviewed by Alex Christensen.
270
271         * WebCoreSupport/WebApplicationCache.mm:
272         (applicationCacheBundleIdentifier):
273
274 2019-10-14  Wenson Hsieh  <wenson_hsieh@apple.com>
275
276         [Clipboard API] Support writing multiple PasteboardCustomData with SharedBuffers to the pasteboard
277         https://bugs.webkit.org/show_bug.cgi?id=202851
278
279         Reviewed by Darin Adler.
280
281         See WebCore ChangeLog for more details.
282
283         * WebCoreSupport/WebPlatformStrategies.h:
284
285 2019-10-09  Wenson Hsieh  <wenson_hsieh@apple.com>
286
287         [Clipboard API] Refactor Pasteboard item reading functions to work on both iOS and macOS
288         https://bugs.webkit.org/show_bug.cgi?id=202647
289
290         Reviewed by Tim Horton.
291
292         Refactor iOS-specific pasteboard functions to be platform-agnostic. See WebCore ChangeLog for more details.
293
294         * WebCoreSupport/WebPlatformStrategies.h:
295         * WebCoreSupport/WebPlatformStrategies.mm:
296         (WebPlatformStrategies::informationForItemAtIndex):
297         (WebPlatformStrategies::allPasteboardItemInfo):
298         (WebPlatformStrategies::getPasteboardItemsCount):
299         (WebPlatformStrategies::readBufferFromPasteboard):
300         (WebPlatformStrategies::readURLFromPasteboard):
301         (WebPlatformStrategies::readStringFromPasteboard):
302         (WebPlatformStrategies::writeToPasteboard):
303         (WebPlatformStrategies::updateSupportedTypeIdentifiers):
304
305 2019-10-08  Antti Koivisto  <antti@apple.com>
306
307         [CSS Shadow Parts] Enable by default
308         https://bugs.webkit.org/show_bug.cgi?id=202644
309
310         Reviewed by Ryosuke Niwa.
311
312         * WebView/WebPreferences.mm:
313         (+[WebPreferences initialize]):
314
315 2019-10-07  Ryosuke Niwa  <rniwa@webkit.org>
316
317         Add IDL for requestIdleCallback
318         https://bugs.webkit.org/show_bug.cgi?id=202653
319
320         Reviewed by Geoffrey Garen.
321
322         * WebView/WebPreferenceKeysPrivate.h:
323         * WebView/WebPreferences.mm:
324         (+[WebPreferences initialize]):
325         * WebView/WebPreferencesPrivate.h:
326         * WebView/WebView.mm:
327         (-[WebView _preferencesChanged:]):
328
329 2019-10-07  Yusuke Suzuki  <ysuzuki@apple.com>
330
331         [JSC] Change signature of HostFunction to (JSGlobalObject*, CallFrame*)
332         https://bugs.webkit.org/show_bug.cgi?id=202569
333
334         Reviewed by Saam Barati.
335
336         * WebView/WebScriptDebugger.h:
337
338 2019-10-04  Alex Christensen  <achristensen@webkit.org>
339
340         Rename SchemeRegistry to LegacySchemeRegistry
341         https://bugs.webkit.org/show_bug.cgi?id=202586
342
343         Reviewed by Tim Horton.
344
345         * WebView/WebView.mm:
346         (+[WebView _setDomainRelaxationForbidden:forURLScheme:]):
347         (+[WebView _registerURLSchemeAsSecure:]):
348         (+[WebView _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:]):
349         (+[WebView registerURLSchemeAsLocal:]):
350
351 2019-10-04  Alex Christensen  <achristensen@webkit.org>
352
353         Simplify sandbox enabling macros
354         https://bugs.webkit.org/show_bug.cgi?id=202536
355
356         Reviewed by Brent Fulgham.
357
358         * Configurations/FeatureDefines.xcconfig:
359
360 2019-10-02  Tim Horton  <timothy_horton@apple.com>
361
362         Provide TAPI the full target triple instead of just the arch
363         https://bugs.webkit.org/show_bug.cgi?id=202486
364
365         Reviewed by Simon Fraser.
366
367         * MigrateHeaders.make:
368         For accuracy and consistency's sake, pass the whole target identifier
369         instead of just one piece.
370
371 2019-10-01  Tim Horton  <timothy_horton@apple.com>
372
373         Clean up some includes to make the build a bit faster
374         https://bugs.webkit.org/show_bug.cgi?id=202444
375
376         Reviewed by Geoff Garen.
377
378         * WebView/WebFrame.mm:
379         * WebView/WebView.mm:
380
381 2019-10-01  Antti Koivisto  <antti@apple.com>
382
383         [CSS Shadow Parts] Parse 'part' attribute
384         https://bugs.webkit.org/show_bug.cgi?id=202409
385
386         Reviewed by Ryosuke Niwa.
387
388         * WebView/WebPreferenceKeysPrivate.h:
389         * WebView/WebPreferences.mm:
390         (+[WebPreferences initialize]):
391         (-[WebPreferences cssShadowPartsEnabled]):
392         (-[WebPreferences setCSSShadowPartsEnabled:]):
393         * WebView/WebPreferencesPrivate.h:
394         * WebView/WebView.mm:
395         (-[WebView _preferencesChanged:]):
396
397 2019-10-01  Alex Christensen  <achristensen@webkit.org>
398
399         Progress towards successful CMake build on Mac
400         https://bugs.webkit.org/show_bug.cgi?id=202426
401
402         Rubber-stamped by Tim Horton.
403
404         * WebView/WebDataSource.mm:
405
406 2019-10-01  Alex Christensen  <achristensen@webkit.org>
407
408         Unify more WebKitLegacy sources
409         https://bugs.webkit.org/show_bug.cgi?id=202410
410
411         Reviewed by Tim Horton.
412
413         * DOM/DOMHTML.mm:
414         (-[DOMHTMLElement scrollXOffset]):
415         (-[DOMHTMLElement scrollYOffset]):
416         (-[DOMHTMLElement setScrollXOffset:scrollYOffset:adjustForIOSCaret:]):
417         (-[DOMHTMLElement absolutePosition::::]):
418         (-[DOMHTMLInputElement setValueWithChangeEvent:]):
419         (-[DOMHTMLInputElement setValueAsNumberWithChangeEvent:]):
420         * DOM/DOMHTMLTextAreaElement.mm:
421         (unwrap):
422         (core):
423         (kit):
424         (-[DOMHTMLTextAreaElement autofocus]):
425         (-[DOMHTMLTextAreaElement setAutofocus:]):
426         (-[DOMHTMLTextAreaElement dirName]):
427         (-[DOMHTMLTextAreaElement setDirName:]):
428         (-[DOMHTMLTextAreaElement disabled]):
429         (-[DOMHTMLTextAreaElement setDisabled:]):
430         (-[DOMHTMLTextAreaElement form]):
431         (-[DOMHTMLTextAreaElement maxLength]):
432         (-[DOMHTMLTextAreaElement setMaxLength:]):
433         (-[DOMHTMLTextAreaElement name]):
434         (-[DOMHTMLTextAreaElement setName:]):
435         (-[DOMHTMLTextAreaElement placeholder]):
436         (-[DOMHTMLTextAreaElement setPlaceholder:]):
437         (-[DOMHTMLTextAreaElement readOnly]):
438         (-[DOMHTMLTextAreaElement setReadOnly:]):
439         (-[DOMHTMLTextAreaElement required]):
440         (-[DOMHTMLTextAreaElement setRequired:]):
441         (-[DOMHTMLTextAreaElement rows]):
442         (-[DOMHTMLTextAreaElement setRows:]):
443         (-[DOMHTMLTextAreaElement cols]):
444         (-[DOMHTMLTextAreaElement setCols:]):
445         (-[DOMHTMLTextAreaElement wrap]):
446         (-[DOMHTMLTextAreaElement setWrap:]):
447         (-[DOMHTMLTextAreaElement type]):
448         (-[DOMHTMLTextAreaElement defaultValue]):
449         (-[DOMHTMLTextAreaElement setDefaultValue:]):
450         (-[DOMHTMLTextAreaElement value]):
451         (-[DOMHTMLTextAreaElement setValue:]):
452         (-[DOMHTMLTextAreaElement textLength]):
453         (-[DOMHTMLTextAreaElement willValidate]):
454         (-[DOMHTMLTextAreaElement labels]):
455         (-[DOMHTMLTextAreaElement selectionStart]):
456         (-[DOMHTMLTextAreaElement setSelectionStart:]):
457         (-[DOMHTMLTextAreaElement selectionEnd]):
458         (-[DOMHTMLTextAreaElement setSelectionEnd:]):
459         (-[DOMHTMLTextAreaElement selectionDirection]):
460         (-[DOMHTMLTextAreaElement setSelectionDirection:]):
461         (-[DOMHTMLTextAreaElement accessKey]):
462         (-[DOMHTMLTextAreaElement setAccessKey:]):
463         (-[DOMHTMLTextAreaElement autocomplete]):
464         (-[DOMHTMLTextAreaElement setAutocomplete:]):
465         (-[DOMHTMLTextAreaElement select]):
466         (-[DOMHTMLTextAreaElement setRangeText:]):
467         (-[DOMHTMLTextAreaElement setRangeText:start:end:selectionMode:]):
468         (-[DOMHTMLTextAreaElement setSelectionRange:end:]):
469         * DOM/DOMUIKitExtensions.mm:
470         (-[DOMRange move:inDirection:]):
471         (-[DOMRange extend:inDirection:]):
472         (-[DOMNode borderRadii]):
473         (-[DOMNode isSelectableBlock]):
474         (-[DOMNode findExplodedTextNodeAtPoint:]):
475         (-[DOMHTMLElement structuralComplexityContribution]):
476         * WebCoreSupport/WebFrameLoaderClient.h:
477         * WebCoreSupport/WebFrameLoaderClient.mm:
478         (dataSource):
479         * WebView/WebDataSource.mm:
480         (addTypesFromClass):
481
482 2019-10-01  Alex Christensen  <achristensen@webkit.org>
483
484         Fix internal build after r250549
485         https://bugs.webkit.org/show_bug.cgi?id=202390
486
487         Remove some more "using namespace WebCore"
488
489         * History/WebBackForwardList.mm:
490         (-[WebBackForwardList dictionaryRepresentation]):
491         (vectorToNSArray):
492         (-[WebBackForwardList backListWithLimit:]):
493         (-[WebBackForwardList forwardListWithLimit:]):
494         (-[WebBackForwardList description]):
495         (-[WebBackForwardList pageCacheSize]):
496         * Misc/WebSharingServicePickerController.mm:
497         (WebSharingServicePickerClient::pageForSharingServicePicker):
498         (WebSharingServicePickerClient::screenRectForCurrentSharingServicePickerItem):
499         (-[WebSharingServicePickerController didShareImageData:confirmDataIsValidTIFFData:]):
500         (-[WebSharingServicePickerController sharingService:didShareItems:]):
501         * Plugins/WebBasePluginPackage.mm:
502         (-[WebBasePluginPackage getPluginInfoFromPLists]):
503         (-[WebBasePluginPackage pluginInfo]):
504         * Plugins/WebPluginContainerCheck.mm:
505         (-[WebPluginContainerCheck _continueWithPolicy:]):
506         (-[WebPluginContainerCheck _isForbiddenFileLoad]):
507         * Plugins/WebPluginController.mm:
508         (initializeAudioSession):
509         (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
510         (-[WebPluginController superlayerForPluginView:]):
511         (-[WebPluginController stopOnePlugin:]):
512         (-[WebPluginController stopOnePluginForPageCache:]):
513         (-[WebPluginController destroyOnePlugin:]):
514         (-[WebPluginController startAllPlugins]):
515         (-[WebPluginController addPlugin:]):
516         (-[WebPluginController destroyPlugin:]):
517         (-[WebPluginController destroyAllPlugins]):
518         (-[WebPluginController processingUserGesture]):
519         (-[WebPluginController webPlugInContainerLoadRequest:inFrame:]):
520         (-[WebPluginController webPlugInContainerSelectionColor]):
521         * Plugins/WebPluginDatabase.mm:
522         (-[WebPluginDatabase refresh]):
523         (-[WebPluginDatabase _removePlugin:]):
524         * WebCoreSupport/WebApplicationCache.mm:
525         (+[WebApplicationCache initializeWithBundleIdentifier:]):
526         (webApplicationCacheStorage):
527         * WebCoreSupport/WebApplicationCacheQuotaManager.mm:
528
529 2019-09-30  Alex Christensen  <achristensen@webkit.org>
530
531         Resurrect Mac CMake build
532         https://bugs.webkit.org/show_bug.cgi?id=202384
533
534         Rubber-stamped by Tim Horton.
535
536         * DefaultDelegates/WebDefaultPolicyDelegate.m:
537         (-[WebDefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
538
539 2019-09-30  Alex Christensen  <achristensen@webkit.org>
540
541         Unify more WebKitLegacy sources
542         https://bugs.webkit.org/show_bug.cgi?id=202390
543
544         Reviewed by Tim Horton.
545
546         * WebCoreSupport/WebFrameLoaderClient.mm:
547         (dataSource):
548         (WebFrameLoaderClient::pageID const):
549         (WebFrameLoaderClient::frameID const):
550         (WebFrameLoaderClient::makeRepresentation):
551         (WebFrameLoaderClient::forceLayoutOnRestoreFromPageCache):
552         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
553         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
554         (WebFrameLoaderClient::assignIdentifierToInitialRequest):
555         (WebFrameLoaderClient::dispatchWillSendRequest):
556         (WebFrameLoaderClient::shouldUseCredentialStorage):
557         (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
558         (WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace):
559         (WebFrameLoaderClient::connectionProperties):
560         (WebFrameLoaderClient::dispatchDidReceiveResponse):
561         (WebFrameLoaderClient::willCacheResponse const):
562         (WebFrameLoaderClient::dispatchDidReceiveContentLength):
563         (WebFrameLoaderClient::dispatchDidFinishLoading):
564         (WebFrameLoaderClient::dispatchDidFailLoading):
565         (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
566         (WebFrameLoaderClient::dispatchDidReceiveTitle):
567         (WebFrameLoaderClient::dispatchDidCommitLoad):
568         (WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
569         (WebFrameLoaderClient::dispatchDidFailLoad):
570         (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
571         (WebFrameLoaderClient::dispatchCreatePage):
572         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
573         (shouldTryAppLink):
574         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
575         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
576         (WebFrameLoaderClient::dispatchUnableToImplementPolicy):
577         (makeFormFieldValuesDictionary):
578         (WebFrameLoaderClient::dispatchWillSubmitForm):
579         (WebFrameLoaderClient::revertToProvisionalState):
580         (WebFrameLoaderClient::setMainDocumentError):
581         (WebFrameLoaderClient::startDownload):
582         (WebFrameLoaderClient::willChangeTitle):
583         (WebFrameLoaderClient::didChangeTitle):
584         (WebFrameLoaderClient::didReplaceMultipartContent):
585         (WebFrameLoaderClient::committedLoad):
586         (WebFrameLoaderClient::finishedLoading):
587         (WebFrameLoaderClient::updateGlobalHistory):
588         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
589         (WebFrameLoaderClient::shouldGoToHistoryItem const):
590         (WebFrameLoaderClient::didDisplayInsecureContent):
591         (WebFrameLoaderClient::didRunInsecureContent):
592         (WebFrameLoaderClient::cancelledError):
593         (WebFrameLoaderClient::blockedError):
594         (WebFrameLoaderClient::blockedByContentBlockerError):
595         (WebFrameLoaderClient::cannotShowURLError):
596         (WebFrameLoaderClient::interruptedForPolicyChangeError):
597         (WebFrameLoaderClient::blockedByContentFilterError):
598         (WebFrameLoaderClient::cannotShowMIMETypeError):
599         (WebFrameLoaderClient::fileDoesNotExistError):
600         (WebFrameLoaderClient::pluginWillHandleLoadError):
601         (WebFrameLoaderClient::shouldFallBack):
602         (WebFrameLoaderClient::canHandleRequest const):
603         (WebFrameLoaderClient::saveViewStateToItem):
604         (WebFrameLoaderClient::restoreViewState):
605         (WebFrameLoaderClient::createDocumentLoader):
606         (WebFrameLoaderClient::setTitle):
607         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
608         (WebFrameLoaderClient::transitionToCommittedFromCachedFrame):
609         (WebFrameLoaderClient::transitionToCommittedForNewPage):
610         (WebFrameLoaderClient::setUpPolicyListener):
611         (WebFrameLoaderClient::actionDictionary const):
612         (WebFrameLoaderClient::canCachePage const):
613         (WebFrameLoaderClient::createFrame):
614         (WebFrameLoaderClient::objectContentType):
615         (PluginWidget::PluginWidget):
616         (PluginWidget::invalidateRect):
617         (NetscapePluginWidget::handleEvent):
618         (NetscapePluginWidget::notifyWidget):
619         (shouldBlockPlugin):
620         (WebFrameLoaderClient::createPlugin):
621         (WebFrameLoaderClient::redirectDataToPlugin):
622         (WebFrameLoaderClient::createJavaAppletWidget):
623         (shouldBlockWebGL):
624         (WebFrameLoaderClient::webGLPolicyForURL const):
625         (WebFrameLoaderClient::resolveWebGLPolicyForURL const):
626         (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
627         (WebFrameLoaderClient::createNetworkingContext):
628         (WebFrameLoaderClient::createPreviewLoaderClient):
629         (WebFrameLoaderClient::getLoadDecisionForIcons):
630         (webGetNSImage):
631         (WebFrameLoaderClient::finishedLoadingIcon):
632         (-[WebFramePolicyListener initWithFrame:identifier:policyFunction:defaultPolicy:]):
633         (-[WebFramePolicyListener initWithFrame:identifier:policyFunction:defaultPolicy:appLinkURL:]):
634         (-[WebFramePolicyListener invalidate]):
635         (-[WebFramePolicyListener receivedPolicyDecision:]):
636         (-[WebFramePolicyListener ignore]):
637         (-[WebFramePolicyListener download]):
638         (-[WebFramePolicyListener use]):
639         (-[WebFramePolicyListener continue]):
640         * WebInspector/WebInspector.mm:
641         (-[WebInspector showWindow]):
642         (-[WebInspector evaluateInFrontend:script:]):
643         * WebView/WebClipView.mm:
644         (-[WebClipView visibleRect]):
645         (-[WebClipView _immediateScrollToPoint:]):
646         * WebView/WebDataSource.mm:
647         (-[WebDataSource _documentFragmentWithArchive:]):
648         (-[WebDataSource _documentLoader]):
649         (-[WebDataSource initWithRequest:]):
650         (-[WebDataSource dealloc]):
651         (-[WebDataSource data]):
652         (-[WebDataSource webFrame]):
653         (-[WebDataSource initialRequest]):
654         (-[WebDataSource request]):
655         (-[WebDataSource webArchive]):
656         * WebView/WebFrame.mm:
657         (core):
658         (kit):
659         (getWebView):
660         (+[WebFrame _createFrameWithPage:frameName:frameView:ownerElement:]):
661         (+[WebFrame _createMainFrameWithPage:frameName:frameView:]):
662         (+[WebFrame _createSubframeWithOwnerElement:frameName:frameView:]):
663         (+[WebFrame _createMainFrameWithSimpleHTMLDocumentWithPage:frameView:style:]):
664         (-[WebFrame _attachScriptDebugger]):
665         (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]):
666         (-[WebFrame _unmarkAllBadGrammar]):
667         (-[WebFrame _unmarkAllMisspellings]):
668         (-[WebFrame _hasSelection]):
669         (-[WebFrame _atMostOneFrameHasSelection]):
670         (-[WebFrame _findFrameWithSelection]):
671         (-[WebFrame _nodesFromList:]):
672         (-[WebFrame _stringForRange:]):
673         (-[WebFrame _paintBehaviorForDestinationContext:]):
674         (-[WebFrame _drawRect:contentsOnly:]):
675         (-[WebFrame _getVisibleRect:]):
676         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
677         (-[WebFrame _caretRectAtPosition:affinity:]):
678         (-[WebFrame _scrollDOMRangeToVisible:]):
679         (-[WebFrame _scrollDOMRangeToVisible:withInset:]):
680         (-[WebFrame _rangeByAlteringCurrentSelection:direction:granularity:]):
681         (-[WebFrame _selectionGranularity]):
682         (-[WebFrame _convertToNSRange:]):
683         (-[WebFrame _convertToDOMRange:]):
684         (-[WebFrame _convertToDOMRange:rangeIsRelativeTo:]):
685         (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]):
686         (-[WebFrame _documentFragmentWithNodesAsParagraphs:]):
687         (-[WebFrame _visiblePositionForPoint:]):
688         (-[WebFrame _characterRangeAtPoint:]):
689         (-[WebFrame _typingStyle]):
690         (-[WebFrame _setTypingStyle:withUndoAction:]):
691         (-[WebFrame _dragSourceEndedAt:operation:]):
692         (-[WebFrame _canProvideDocumentSource]):
693         (-[WebFrame _commitData:]):
694         (-[WebFrame _isDescendantOfFrame:]):
695         (-[WebFrame _bodyBackgroundColor]):
696         (-[WebFrame _isFrameSet]):
697         (-[WebFrame _isVisuallyNonEmpty]):
698         (toWebFrameLoadType):
699         (-[WebFrame _rectsForRange:]):
700         (-[WebFrame _selectionRangeForFirstPoint:secondPoint:]):
701         (-[WebFrame _selectionRangeForPoint:]):
702         (-[WebFrame _selectNSRange:]):
703         (-[WebFrame _isDisplayingStandaloneImage]):
704         (-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
705         (-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
706         (-[WebFrame setTimeoutsPaused:]):
707         (-[WebFrame prepareForPause]):
708         (-[WebFrame resumeFromPause]):
709         (-[WebFrame selectWithoutClosingTypingNSRange:]):
710         (-[WebFrame _saveViewState]):
711         (-[WebFrame deviceOrientationChanged]):
712         (-[WebFrame renderedSizeOfNode:constrainedToWidth:]):
713         (-[WebFrame deepestNodeAtViewportLocation:]):
714         (-[WebFrame scrollableNodeAtViewportLocation:]):
715         (-[WebFrame approximateNodeAtViewportLocation:]):
716         (-[WebFrame revealSelectionAtExtent:]):
717         (-[WebFrame setCaretColor:]):
718         (-[WebFrame isTelephoneNumberParsingAllowed]):
719         (-[WebFrame isTelephoneNumberParsingEnabled]):
720         (-[WebFrame setSelectedDOMRange:affinity:closeTyping:]):
721         (-[WebFrame selectNSRange:onElement:]):
722         (-[WebFrame setMarkedText:selectedRange:]):
723         (-[WebFrame setMarkedText:forCandidates:]):
724         (-[WebFrame getDictationResultRanges:andMetadatas:]):
725         (-[WebFrame dictationResultMetadataForRange:]):
726         (+[WebFrame stringWithData:textEncodingName:]):
727         (-[WebFrame fontForSelection:]):
728         (-[WebFrame _userScrolled]):
729         (-[WebFrame _replaceSelectionWithText:selectReplacement:smartReplace:matchStyle:]):
730         (-[WebFrame resetTextAutosizingBeforeLayout]):
731         (-[WebFrame _setTextAutosizingWidth:]):
732         (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
733         (-[WebFrame _replaceSelectionWithText:selectReplacement:smartReplace:]):
734         (-[WebFrame _smartInsertForString:replacingRange:beforeString:afterString:]):
735         (-[WebFrame _cacheabilityDictionary]):
736         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
737         (-[WebFrame _globalContextForScriptWorld:]):
738         (-[WebFrame setAccessibleName:]):
739         (-[WebFrame enhancedAccessibilityEnabled]):
740         (-[WebFrame setEnhancedAccessibility:]):
741         (-[WebFrame _layerTreeAsText]):
742         (-[WebFrame accessibilityRoot]):
743         (-[WebFrame _clearOpener]):
744         (-[WebFrame _computePageRectsWithPrintScaleFactor:pageSize:]):
745         (-[WebFrame focusedNodeHasContent]):
746         (-[WebFrame _dispatchDidReceiveTitle:]):
747         (-[WebFrame jsWrapperForNode:inScriptWorld:]):
748         (-[WebFrame elementAtPoint:]):
749         (-[WebFrame name]):
750         (needsMicrosoftMessengerDOMDocumentWorkaround):
751         (-[WebFrame DOMDocument]):
752         (-[WebFrame frameElement]):
753         (-[WebFrame provisionalDataSource]):
754         (-[WebFrame dataSource]):
755         (-[WebFrame loadRequest:]):
756         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
757         (-[WebFrame findFrameNamed:]):
758         (-[WebFrame parentFrame]):
759         (-[WebFrame childFrames]):
760         (-[WebFrame windowObject]):
761         (-[WebFrame globalContext]):
762         (-[WebFrame javaScriptContext]):
763         (dataSource): Deleted.
764         * WebView/WebFrameView.mm:
765         (-[WebFrameView _web_frame]):
766         (-[WebFrameView _setDocumentView:]):
767         (-[WebFrameView _verticalPageScrollDistance]):
768         (-[WebFrameView _install]):
769         (-[WebFrameView _frameSizeChanged]):
770         (-[WebFrameView initWithFrame:]):
771         (-[WebFrameView drawRect:]):
772         (-[WebFrameView _scrollOverflowInDirection:granularity:]):
773         (-[WebFrameView _isVerticalDocument]):
774         (-[WebFrameView _isFlippedDocument]):
775         (-[WebFrameView _scrollToBeginningOfDocument]):
776         (-[WebFrameView _scrollToEndOfDocument]):
777         (-[WebFrameView _horizontalPageScrollDistance]):
778         (-[WebFrameView _pageVertically:]):
779         (-[WebFrameView _pageHorizontally:]):
780         (-[WebFrameView _scrollLineVertically:]):
781         (-[WebFrameView _scrollLineHorizontally:]):
782         (-[WebFrameView keyDown:keyDown:]):
783         (addTypesFromClass): Deleted.
784         * WebView/WebFullScreenController.mm:
785         (screenRectOfContents):
786         (-[WebFullScreenController element]):
787         (-[WebFullScreenController setElement:]):
788         (-[WebFullScreenController _document]):
789         (-[WebFullScreenController _manager]):
790         * WebView/WebHTMLView.mm:
791         (toAction):
792         (toTag):
793         (-[NSView _web_setNeedsDisplayInRect:]):
794         (promisedDataClient):
795         (+[WebHTMLView _excludedElementsForAttributedStringConversion]):
796         (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]):
797         (-[WebHTMLView _plainTextFromPasteboard:]):
798         (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
799         (-[WebHTMLView readSelectionFromPasteboard:]):
800         (-[WebHTMLView _selectedRange]):
801         (-[WebHTMLView _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:]):
802         (-[WebHTMLView _frameOrBoundsChanged]):
803         (-[WebHTMLView _updateMouseoverWithEvent:]):
804         (+[WebHTMLView _insertablePasteboardTypes]):
805         (+[WebHTMLView _selectionPasteboardTypes]):
806         (-[WebHTMLView pasteboard:provideDataForType:]):
807         (-[WebHTMLView setScale:]):
808         (-[WebHTMLView _canEdit]):
809         (-[WebHTMLView _canEditRichly]):
810         (-[WebHTMLView _hasSelection]):
811         (-[WebHTMLView _hasSelectionOrInsertionPoint]):
812         (-[WebHTMLView _hasInsertionPoint]):
813         (-[WebHTMLView _isEditable]):
814         (-[WebHTMLView _selectionDraggingImage]):
815         (-[WebHTMLView _insertOrderedList]):
816         (-[WebHTMLView _insertUnorderedList]):
817         (-[WebHTMLView _canIncreaseSelectionListLevel]):
818         (-[WebHTMLView _canDecreaseSelectionListLevel]):
819         (-[WebHTMLView _increaseSelectionListLevel]):
820         (-[WebHTMLView _increaseSelectionListLevelOrdered]):
821         (-[WebHTMLView _increaseSelectionListLevelUnordered]):
822         (-[WebHTMLView _decreaseSelectionListLevel]):
823         (-[WebHTMLView _writeSelectionToPasteboard:]):
824         (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]):
825         (-[WebHTMLView _beginPrintModeWithMinimumPageWidth:height:maximumPageWidth:]):
826         (-[WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]):
827         (-[WebHTMLView _beginScreenPaginationModeWithPageSize:shrinkToFit:]):
828         (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
829         (-[WebHTMLView coreCommandBySelector:]):
830         (-[WebHTMLView coreCommandByName:]):
831         (-[WebHTMLView validRequestorForSendType:returnType:]):
832         (-[WebHTMLView jumpToSelection:]):
833         (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
834         (-[WebHTMLView maintainsInactiveSelection]):
835         (-[WebHTMLView reapplyStyles]):
836         (-[WebHTMLView layoutToMinimumPageWidth:height:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustingViewSize:]):
837         (-[WebHTMLView rightMouseUp:]):
838         (fixMenusReceivedFromOldClients):
839         (createShareMenuItem):
840         (createMenuItem):
841         (createMenuItems):
842         (customMenuFromDefaultItems):
843         (-[WebHTMLView menuForEvent:]):
844         (-[WebHTMLView clearFocus]):
845         (-[WebHTMLView setLayer:]):
846         (-[WebHTMLView setNeedsLayout:]):
847         (-[WebHTMLView setNeedsToApplyStyles:]):
848         (-[WebHTMLView _invalidateGStatesForTree]):
849         (-[WebHTMLView scrollWheel:]):
850         (-[WebHTMLView acceptsFirstMouse:]):
851         (-[WebHTMLView shouldDelayWindowOrderingForEvent:]):
852         (-[WebHTMLView mouseDown:]):
853         (-[WebHTMLView touch:]):
854         (-[WebHTMLView mouseDragged:]):
855         (-[WebHTMLView draggingSourceOperationMaskForLocal:]):
856         (-[WebHTMLView draggedImage:endedAt:operation:]):
857         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
858         (-[WebHTMLView draggingSession:sourceOperationMaskForDraggingContext:]):
859         (-[WebHTMLView draggingSession:endedAtPoint:operation:]):
860         (-[WebHTMLView mouseUp:]):
861         (-[WebHTMLView pressureChangeWithEvent:]):
862         (isTextInput):
863         (isInPasswordField):
864         (currentKeyboardEvent):
865         (-[WebHTMLView becomeFirstResponder]):
866         (-[WebHTMLView resignFirstResponder]):
867         (-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustViewSize:paginateScreenContent:]):
868         (-[WebHTMLView _scaleFactorForPrintOperation:]):
869         (-[WebHTMLView keyDown:]):
870         (-[WebHTMLView keyUp:]):
871         (-[WebHTMLView flagsChanged:]):
872         (-[WebHTMLView centerSelectionInVisibleArea:]):
873         (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
874         (-[WebHTMLView _fontAttributesFromFontPasteboard]):
875         (-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
876         (-[WebHTMLView _applyEditingStyleToSelection:withUndoAction:]):
877         (-[WebHTMLView performKeyEquivalent:]):
878         (-[WebHTMLView copyFont:]):
879         (-[WebHTMLView pasteFont:]):
880         (-[WebHTMLView changeFont:]):
881         (-[WebHTMLView changeAttributes:]):
882         (-[WebHTMLView _undoActionFromColorPanelWithSelector:]):
883         (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
884         (-[WebHTMLView changeColor:]):
885         (-[WebHTMLView checkSpelling:]):
886         (-[WebHTMLView showGuessPanel:]):
887         (-[WebHTMLView toggleBaseWritingDirection:]):
888         (-[WebHTMLView changeBaseWritingDirection:]):
889         (-[WebHTMLView _changeBaseWritingDirectionTo:]):
890         (-[WebHTMLView _updateControlTints]):
891         (-[WebHTMLView _selectionChanged]):
892         (-[WebHTMLView _updateFontPanel]):
893         (-[WebHTMLView _canSmartCopyOrDelete]):
894         (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
895         (-[WebHTMLView quickLookWithEvent:]):
896         (-[WebHTMLView _executeSavedKeypressCommands]):
897         (-[WebHTMLView _interpretKeyEvent:savingCommands:]):
898         (-[WebHTMLView _handleEditingKeyEvent:]):
899         (-[WebHTMLView _web_updateLayoutAndStyleIfNeededRecursive]):
900         (-[WebHTMLView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
901         (-[WebHTMLView attributedSubstringFromRange:]):
902         (-[WebHTMLView hasMarkedText]):
903         (extractUnderlines):
904         (-[WebHTMLView setMarkedText:selectedRange:]):
905         (-[WebHTMLView doCommandBySelector:]):
906         (-[WebHTMLView insertText:]):
907         (-[WebHTMLView _updateSecureInputState]):
908         (-[WebHTMLView _updateSelectionForInputManager]):
909         (-[WebHTMLView selectionTextRects]):
910         (imageFromRect):
911         (selectionImage):
912         (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]):
913         (-[WebHTMLView selectAll]):
914         (-[WebHTMLView deselectAll]):
915         (-[WebHTMLView _legacyAttributedStringFrom:offset:to:offset:]):
916         (-[WebHTMLView attributedString]):
917         (-[WebHTMLView selectedAttributedString]):
918         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
919         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
920         (-[WebHTMLView setMarkedTextMatchesAreHighlighted:]):
921         (-[WebHTMLView markedTextMatchesAreHighlighted]):
922         (-[WebHTMLView unmarkAllTextMatches]):
923         (-[WebHTMLView rectsForTextMatches]):
924         (-[WebHTMLView _findString:options:]):
925         * WebView/WebImmediateActionController.mm:
926         (-[WebImmediateActionController webView:didHandleScrollWheel:]):
927         (-[WebImmediateActionController _cancelImmediateAction]):
928         (-[WebImmediateActionController performHitTestAtPoint:]):
929         (-[WebImmediateActionController immediateActionRecognizerDidUpdateAnimation:]):
930         (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
931         (-[WebImmediateActionController immediateActionRecognizerDidCompleteAnimation:]):
932         (-[WebImmediateActionController _defaultAnimationController]):
933         (-[WebImmediateActionController _updateImmediateActionItem]):
934         (-[WebImmediateActionController menuItemDidClose:]):
935         (elementBoundingBoxInWindowCoordinatesFromNode):
936         (-[WebImmediateActionController menuItem:itemFrameForPoint:]):
937         (-[WebImmediateActionController menuItem:maxSizeForPoint:]):
938         (-[WebImmediateActionController _animationControllerForDataDetectedText]):
939         (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
940         (+[WebImmediateActionController _dictionaryPopupInfoForRange:inFrame:withLookupOptions:indicatorOptions:transition:]):
941         (-[WebImmediateActionController _animationControllerForText]):
942         * WebView/WebPDFView.mm:
943         (isFrameInRange):
944         (-[WebPDFView pasteboardTypesForSelection]):
945         (-[WebPDFView writeSelectionWithPasteboardTypes:toPasteboard:]):
946         (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
947         * WebView/WebScriptDebugDelegate.mm:
948         (-[WebScriptCallFrame _convertValueToObjcValue:]):
949         * WebView/WebScriptDebugger.mm:
950         (toNSString):
951         (toWebFrame):
952         (WebScriptDebugger::WebScriptDebugger):
953         (WebScriptDebugger::sourceParsed):
954         (WebScriptDebugger::handlePause):
955         * WebView/WebScriptWorld.mm:
956         (-[WebScriptWorld initWithWorld:]):
957         (-[WebScriptWorld init]):
958         (+[WebScriptWorld standardWorld]):
959         (+[WebScriptWorld scriptWorldForGlobalContext:]):
960         (core):
961         (+[WebScriptWorld findOrCreateWorld:]):
962         * WebView/WebView.mm:
963         (coreOptions):
964         (coreLayoutMilestones):
965         (kitLayoutMilestones):
966         (kit):
967         (WebKit::DeferredPageDestructor::createDeferredPageDestructor):
968         (WebKit::DeferredPageDestructor::DeferredPageDestructor):
969         (-[WebUITextIndicatorData initWithImage:textIndicatorData:scale:]):
970         (+[WebView _standardUserAgentWithApplicationName:]):
971         (+[WebView _reportException:inContext:]):
972         (shouldEnableLoadDeferring):
973         (shouldRestrictWindowFocus):
974         (needsOutlookQuirksScript):
975         (-[WebView _injectOutlookQuirksScript]):
976         (shouldUseLegacyBackgroundSizeShorthandBehavior):
977         (shouldAllowWindowOpenWithoutUserGesture):
978         (WebKitInitializeGamepadProviderIfNecessary):
979         (-[WebView _commonInitializationWithFrameName:groupName:]):
980         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
981         (-[WebView _replaceCurrentHistoryItem:]):
982         (-[WebView updateLayoutIgnorePendingStyleSheets]):
983         (-[WebView _requestStartDataInteraction:globalPosition:]):
984         (-[WebView _startDrag:]):
985         (-[WebView dragDataForSession:client:global:operation:]):
986         (-[WebView _didConcludeEditDrag]):
987         (+[WebView _setAlwaysUsesComplexTextCodePath:]):
988         (+[WebView canCloseAllWebViews]):
989         (+[WebView closeAllWebViews]):
990         (-[WebView _dispatchUnloadEvent]):
991         (-[WebView styleAtSelectionStart]):
992         (-[WebView _didFinishScrollingOrZooming]):
993         (-[WebView _close]):
994         (-[WebView _isProcessingUserGesture]):
995         (+[WebView _enableRemoteInspector]):
996         (+[WebView _disableRemoteInspector]):
997         (+[WebView _disableAutoStartRemoteInspector]):
998         (+[WebView _isRemoteInspectorEnabled]):
999         (+[WebView _hasRemoteInspectorSession]):
1000         (-[WebView _setHostApplicationProcessIdentifier:auditToken:]):
1001         (-[WebView _loadBackForwardListFromOtherView:]):
1002         (-[WebView _needsKeyboardEventDisambiguationQuirks]):
1003         (needsSelfRetainWhileLoadingQuirk):
1004         (-[WebView _needsPreHTML5ParserQuirks]):
1005         (-[WebView _preferencesChanged:]):
1006         (-[WebView _cacheFrameLoadDelegateImplementations]):
1007         (+[WebView _unregisterViewClassAndRepresentationClassForMIMEType:]):
1008         (+[WebView _registerViewClass:representationClass:forURLScheme:]):
1009         (+[WebView _decodeData:]):
1010         (-[WebView _didStartProvisionalLoadForFrame:]):
1011         (-[WebView _checkDidPerformFirstNavigation]):
1012         (-[WebView _cachedResponseForURL:]):
1013         (+[WebView _setShouldUseFontSmoothing:]):
1014         (+[WebView _shouldUseFontSmoothing]):
1015         (+[WebView _setUsesTestModeFocusRingColor:]):
1016         (+[WebView _usesTestModeFocusRingColor]):
1017         (-[WebView setAlwaysShowVerticalScroller:]):
1018         (-[WebView alwaysShowVerticalScroller]):
1019         (-[WebView setAlwaysShowHorizontalScroller:]):
1020         (-[WebView setProhibitsMainFrameScrolling:]):
1021         (-[WebView alwaysShowHorizontalScroller]):
1022         (-[WebView _setMediaLayer:forPluginView:]):
1023         (-[WebView _attachScriptDebuggerToAllFrames]):
1024         (-[WebView _detachScriptDebuggerFromAllFrames]):
1025         (+[WebView _productivityDocumentMIMETypes]):
1026         (-[WebView _setFixedLayoutSize:]):
1027         (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
1028         (-[WebView _viewGeometryDidChange]):
1029         (-[WebView _overflowScrollPositionChangedTo:forNode:isUserScroll:]):
1030         (+[WebView _doNotStartObservingNetworkReachability]):
1031         (-[WebView _touchEventRegions]):
1032         (-[WebView textIteratorForRect:]):
1033         (-[WebView _executeCoreCommandByName:value:]):
1034         (-[WebView _isUsingAcceleratedCompositing]):
1035         (-[WebView _isSoftwareRenderable]):
1036         (-[WebView setTracksRepaints:]):
1037         (-[WebView isTrackingRepaints]):
1038         (-[WebView resetTrackedRepaints]):
1039         (-[WebView trackedRepaintRects]):
1040         (+[WebView _addOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:]):
1041         (+[WebView _removeOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:]):
1042         (+[WebView _resetOriginAccessWhitelists]):
1043         (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
1044         (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
1045         (-[WebView allowsNewCSSAnimationsWhileSuspended]):
1046         (-[WebView setAllowsNewCSSAnimationsWhileSuspended:]):
1047         (-[WebView cssAnimationsSuspended]):
1048         (-[WebView setCSSAnimationsSuspended:]):
1049         (+[WebView _setDomainRelaxationForbidden:forURLScheme:]):
1050         (+[WebView _registerURLSchemeAsSecure:]):
1051         (+[WebView _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:]):
1052         (-[WebView _scaleWebView:atOrigin:]):
1053         (-[WebView _setUseFixedLayout:]):
1054         (-[WebView _useFixedLayout]):
1055         (-[WebView _fixedLayoutSize]):
1056         (-[WebView _setPaginationMode:]):
1057         (-[WebView _paginationMode]):
1058         (-[WebView _listenForLayoutMilestones:]):
1059         (-[WebView _layoutMilestones]):
1060         (-[WebView _setPaginationBehavesLikeColumns:]):
1061         (-[WebView _paginationBehavesLikeColumns]):
1062         (-[WebView _setPageLength:]):
1063         (-[WebView _pageLength]):
1064         (-[WebView _setGapBetweenPages:]):
1065         (-[WebView _gapBetweenPages]):
1066         (-[WebView _setPaginationLineGridEnabled:]):
1067         (-[WebView _paginationLineGridEnabled]):
1068         (-[WebView _pageCount]):
1069         (+[WebView _HTTPPipeliningEnabled]):
1070         (+[WebView _setHTTPPipeliningEnabled:]):
1071         (-[WebView shouldRequestCandidates]):
1072         (-[WebView removePluginInstanceViewsFor:]):
1073         (+[WebView registerURLSchemeAsLocal:]):
1074         (-[WebView doWindowDidChangeScreen]):
1075         (-[WebView _updateScreenScaleFromWindow]):
1076         (-[WebView goToBackForwardItem:]):
1077         (-[WebView _setZoomMultiplier:isTextOnly:]):
1078         (-[WebView setCustomTextEncodingName:]):
1079         (-[WebView windowScriptObject]):
1080         (-[WebView setHostWindow:]):
1081         (-[WebView applicationFlags:]):
1082         (-[WebView actionMaskForDraggingInfo:]):
1083         (-[WebView draggingEntered:]):
1084         (-[WebView draggingUpdated:]):
1085         (-[WebView draggingExited:]):
1086         (-[WebView performDragOperation:]):
1087         (incrementFrame):
1088         (+[WebView registerViewClass:representationClass:forMIMEType:]):
1089         (-[WebView moveDragCaretToPoint:]):
1090         (-[WebView removeDragCaret]):
1091         (-[WebView mainFrameIconURL]):
1092         (coreTextCheckingType):
1093         (textCheckingResultFromNSTextCheckingResult):
1094         (-[WebView candidateListTouchBarItem:endSelectingCandidateAtIndex:]):
1095         (-[WebView candidateListTouchBarItem:changedCandidateListVisibility:]):
1096         (-[WebView shouldClose]):
1097         (aeDescFromJSValue):
1098         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
1099         (-[WebView editableDOMRangeForPoint:]):
1100         (-[WebView setSelectedDOMRange:affinity:]):
1101         (-[WebView selectedDOMRange]):
1102         (-[WebView selectionAffinity]):
1103         (-[WebView setEditable:]):
1104         (-[WebView setTypingStyle:]):
1105         (-[WebView deleteSelection]):
1106         (-[WebView applyStyle:]):
1107         (-[WebView insertDictationPhrases:metadata:]):
1108         (-[WebView _selectionIsCaret]):
1109         (-[WebView _selectionIsAll]):
1110         (-[WebView _simplifyMarkup:endNode:]):
1111         (+[WebView _setCacheModel:]):
1112         (-[WebView _searchWithGoogleFromMenu:]):
1113         (-[WebView _retrieveKeyboardUIModeFromPreferences:]):
1114         (-[WebView _keyboardUIMode]):
1115         (-[WebView _mainCoreFrame]):
1116         (-[WebView _clearCredentials]):
1117         (-[WebView _flushCompositingChanges]):
1118         (-[WebView _scheduleLayerFlushForPendingTileCacheRepaint]):
1119         (-[WebView _hasActiveVideoForControlsInterface]):
1120         (-[WebView _setUpPlaybackControlsManagerForMediaElement:]):
1121         (-[WebView handleAcceptedAlternativeText:]):
1122         (-[WebView _getWebCoreDictationAlternatives:fromTextAlternatives:]):
1123         (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
1124         (-[WebView _setTextIndicator:]):
1125         (-[WebView _setTextIndicator:withLifetime:]):
1126         (-[WebView _clearTextIndicatorWithAnimation:]):
1127         (-[WebView _showDictionaryLookupPopup:]):
1128         (-[WebView _dictionaryLookupPopoverWillClose:]):
1129         (-[WebView showFormValidationMessage:withAnchorRect:]):
1130         (-[WebView textTouchBar]):
1131         (nsTextAlignmentFromRenderStyle):
1132         (-[WebView updateTextTouchBar]):
1133         (-[WebView updateTouchBar]):
1134         (-[WebView candidateList]):
1135         (-[WebView _geolocationDidFailWithMessage:]):
1136         (-[WebView _resetAllGeolocationPermission]):
1137         (-[WebView _notificationIDForTesting:]):
1138
1139 2019-09-25  Megan Gardner  <megan_gardner@apple.com>
1140
1141         Update selections after scrolling for iframes and hide selections while iframes and overflow scrolls are scrolling.
1142         https://bugs.webkit.org/show_bug.cgi?id=202125
1143
1144         Reviewed by Tim Horton.
1145
1146         Filling out unused functions needed for new fix.
1147
1148         * WebCoreSupport/WebEditorClient.h:
1149
1150 2019-09-24  Alex Christensen  <achristensen@webkit.org>
1151
1152         Remove SchemeRegistry's list of URL schemes allowing local storage in private browsing, which is unused
1153         https://bugs.webkit.org/show_bug.cgi?id=202181
1154
1155         Reviewed by Geoffrey Garen.
1156
1157         * WebView/WebView.mm:
1158         (+[WebView _registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing:]):
1159
1160 2019-09-21  Chris Dumez  <cdumez@apple.com>
1161
1162         Reduce use of SessionID::defaultSessionID() in WebKit
1163         https://bugs.webkit.org/show_bug.cgi?id=202080
1164
1165         Reviewed by Alex Christensen.
1166
1167         * WebCoreSupport/WebFrameLoaderClient.h:
1168         * WebCoreSupport/WebFrameLoaderClient.mm:
1169         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
1170
1171 2019-09-20  Keith Rollin  <krollin@apple.com>
1172
1173         Remove some support for < iOS 13
1174         https://bugs.webkit.org/show_bug.cgi?id=202032
1175         <rdar://problem/55548468>
1176
1177         Reviewed by Alex Christensen.
1178
1179         Remove some support for iOS versions less than 13.0.
1180
1181         Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
1182         and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
1183         values >= 130000. This means that expressions like
1184         "__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
1185         "__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
1186
1187         This removal is part of a series of patches effecting the removal of
1188         dead code for old versions of iOS. This particular pass involves
1189         changes in which Dan Bates was involved. These changes are isolated
1190         from other similar changes in order to facilitate the reviewing
1191         process.
1192
1193         * WebView/WebHTMLView.mm:
1194         (-[WebHTMLView _handleEditingKeyEvent:]):
1195
1196 2019-09-18  Jer Noble  <jer.noble@apple.com>
1197
1198         Add -suspend and -resumeAllMediaPlayback to WebView
1199         https://bugs.webkit.org/show_bug.cgi?id=201951
1200
1201         Reviewed by Eric Carlson.
1202
1203         * WebView/WebView.mm:
1204         (-[WebView suspendAllMediaPlayback]):
1205         (-[WebView resumeAllMediaPlayback]):
1206         * WebView/WebViewPrivate.h:
1207
1208 2019-09-18  Chris Dumez  <cdumez@apple.com>
1209
1210         BlobRegistry no longer needs SessionIDs
1211         https://bugs.webkit.org/show_bug.cgi?id=201936
1212
1213         Reviewed by Geoffrey Garen.
1214
1215         BlobRegistry no longer needs SessionIDs, now that we have a single session per WebProcess.
1216
1217         * WebCoreSupport/WebPlatformStrategies.mm:
1218
1219 2019-09-18  Chris Dumez  <cdumez@apple.com>
1220
1221         CacheStorageProvider::createCacheStorageConnection() does not need to take in a SessionID
1222         https://bugs.webkit.org/show_bug.cgi?id=201920
1223
1224         Reviewed by Geoffrey Garen.
1225
1226         CacheStorageProvider::createCacheStorageConnection() does not need to take in a SessionID.
1227         This sessionID is no longer used now that we have a session per WebProcess.
1228
1229         * WebCoreSupport/WebPlatformStrategies.mm:
1230
1231 2019-09-18  Chris Dumez  <cdumez@apple.com>
1232
1233         Drop FrameLoaderClient::sessionID()
1234         https://bugs.webkit.org/show_bug.cgi?id=201916
1235
1236         Reviewed by Geoffrey Garen.
1237
1238         Drop FrameLoaderClient::sessionID(). The Frame can get the sessionID from its page (Which is
1239         what the FrameLoaderClient::sessionID() ended up doing) and other call sites at WebKit2 layer
1240         can get the sessionID from the WebProcess singleton.
1241
1242         * WebCoreSupport/WebFrameLoaderClient.h:
1243         * WebCoreSupport/WebFrameLoaderClient.mm:
1244
1245 2019-09-17  Chris Dumez  <cdumez@apple.com>
1246
1247         Stop calling Page::setSessionID() from WebKit2
1248         https://bugs.webkit.org/show_bug.cgi?id=201888
1249
1250         Reviewed by Alex Christensen.
1251
1252         Stop calling Page::setSessionID() from WebKit2 since Page's sessionID can never change when
1253         using WebKit2 (We process-swap and create a new Page in a new process when changing data
1254         store). Instead, we now pass the sessionID ID when constructing the Page, as part of the
1255         PageConfiguration structure.
1256
1257         * WebView/WebView.mm:
1258         (-[WebView _commonInitializationWithFrameName:groupName:]):
1259
1260 2019-09-09  Alex Christensen  <achristensen@webkit.org>
1261
1262         Disable TLS 1.0 and 1.1 in WebSockets
1263         https://bugs.webkit.org/show_bug.cgi?id=201573
1264
1265         Reviewed by Youenn Fablet.
1266
1267         * WebView/WebView.mm:
1268         (-[WebView _commonInitializationWithFrameName:groupName:]):
1269
1270 2019-09-06  Alex Christensen  <achristensen@webkit.org>
1271
1272         When disabling legacy private browsing for testing, change the SessionID back to what it was, not the defaultSessionID
1273         https://bugs.webkit.org/show_bug.cgi?id=201480
1274
1275         Reviewed by Youenn Fablet.
1276
1277         * WebView/WebView.mm:
1278         (-[WebView _preferencesChanged:]):
1279
1280 2019-09-06  Rob Buis  <rbuis@igalia.com>
1281
1282         Add runtime flag for lazy image loading
1283         https://bugs.webkit.org/show_bug.cgi?id=199794
1284
1285         Reviewed by Frédéric Wang.
1286
1287         Remove parts of r248409 that were meant for WK1 since
1288         lazy image loading is WK2 only.
1289
1290         * WebView/WebPreferenceKeysPrivate.h:
1291         * WebView/WebPreferences.mm:
1292         (+[WebPreferences initialize]):
1293         (-[WebPreferences lazyImageLoadingEnabled]): Deleted.
1294         (-[WebPreferences setLazyImageLoadingEnabled:]): Deleted.
1295         * WebView/WebPreferencesPrivate.h:
1296         * WebView/WebView.mm:
1297         (-[WebView _preferencesChanged:]):
1298
1299 2019-09-04  Alex Christensen  <achristensen@webkit.org>
1300
1301         Remove unused SPI that accesses MemoryCache directly
1302         https://bugs.webkit.org/show_bug.cgi?id=201468
1303
1304         Reviewed by Tim Horton.
1305
1306         * Misc/WebCache.h:
1307         * Misc/WebCache.mm:
1308         (+[WebCache addImageToCache:forURL:]): Deleted.
1309         (+[WebCache addImageToCache:forURL:forFrame:]): Deleted.
1310         (+[WebCache removeImageFromCacheForURL:]): Deleted.
1311         (+[WebCache removeImageFromCacheForURL:forFrame:]): Deleted.
1312
1313 2019-08-30  Keith Rollin  <krollin@apple.com>
1314
1315         Remove AppKitCompatibilityDeclarations.h
1316         https://bugs.webkit.org/show_bug.cgi?id=201283
1317         <rdar://problem/54822042>
1318
1319         Reviewed by Alexey Proskuryakov.
1320
1321         The two copies of these files -- on in WTF, one in MiniBrowser -- are
1322         empty and can be removed.
1323
1324         * Misc/WebNSEventExtras.m:
1325         * Misc/WebNSViewExtras.m:
1326         * WebKitPrefix.h:
1327
1328 2019-08-30  Keith Rollin  <krollin@apple.com>
1329
1330         Remove extra braces
1331         https://bugs.webkit.org/show_bug.cgi?id=201285
1332
1333         Reviewed by Alexey Proskuryakov.
1334
1335         Some code evolved such that there was only a single statement under an
1336         'if' statement. The braces surrounding the single-line block can now
1337         be removed.
1338
1339         * WebView/WebView.mm:
1340         (-[WebView updateMediaTouchBar]):
1341
1342 2019-08-29  Keith Rollin  <krollin@apple.com>
1343
1344         Update .xcconfig symbols to reflect the current set of past and future product versions.
1345         https://bugs.webkit.org/show_bug.cgi?id=200720
1346         <rdar://problem/54305032>
1347
1348         Reviewed by Alex Christensen.
1349
1350         Remove version symbols related to old OS's we no longer support,
1351         ensure that version symbols are defined for OS's we do support.
1352
1353         * Configurations/Base.xcconfig:
1354         * Configurations/DebugRelease.xcconfig:
1355         * Configurations/Version.xcconfig:
1356
1357 2019-08-29  Keith Rollin  <krollin@apple.com>
1358
1359         Remove support for macOS < 10.13 (part 3)
1360         https://bugs.webkit.org/show_bug.cgi?id=201224
1361         <rdar://problem/54795934>
1362
1363         Reviewed by Darin Adler.
1364
1365         Remove symbols in WebKitTargetConditionals.xcconfig related to macOS
1366         10.13, including WK_MACOS_1013 and WK_MACOS_BEFORE_1013, and suffixes
1367         like _MACOS_SINCE_1013.
1368
1369         * Configurations/WebKitTargetConditionals.xcconfig:
1370
1371 2019-08-29  Dean Jackson  <dino@apple.com>
1372
1373         GenerateTAPI WebKitLegacy.tbd fails on internal iOS Simulator builds
1374         https://bugs.webkit.org/show_bug.cgi?id=201200
1375
1376         Reverting r249211 after Dan Bernstein pointed out it will cause
1377         an error with the public iOS 13 SDK.
1378
1379         * Misc/WebDownload.h:
1380
1381 2019-08-28  Dean Jackson  <dino@apple.com>
1382
1383         GenerateTAPI WebKitLegacy.tbd fails on internal iOS Simulator builds
1384         https://bugs.webkit.org/show_bug.cgi?id=201200
1385
1386         Reviewed by Simon Fraser.
1387
1388         We want to include Foundation/NSURLDownload.h if we're on
1389         a newer iOS.
1390
1391         * Misc/WebDownload.h:
1392
1393 2019-08-28  Keith Rollin  <krollin@apple.com>
1394
1395         Remove support for macOS < 10.13 (part 2)
1396         https://bugs.webkit.org/show_bug.cgi?id=201197
1397         <rdar://problem/54759985>
1398
1399         Reviewed by Darin Adler.
1400
1401         Update conditionals that reference WK_MACOS_1013 and suffixes like
1402         _MACOS_SINCE_1013, assuming that we're always building on 10.13 or
1403         later and that these conditionals are always True or False.
1404
1405         See Bug 200694 for earlier changes in this area.
1406
1407         * Configurations/FeatureDefines.xcconfig:
1408
1409 2019-08-27  Mark Lam  <mark.lam@apple.com>
1410
1411         Refactor to use VM& instead of VM* at as many places as possible.
1412         https://bugs.webkit.org/show_bug.cgi?id=201172
1413
1414         Reviewed by Yusuke Suzuki.
1415
1416         * DOM/DOM.mm:
1417         (+[DOMNode _nodeFromJSWrapper:]):
1418         * DOM/DOMUtility.mm:
1419         (createDOMWrapper):
1420         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1421         (identifierFromIdentifierRep):
1422         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1423         (WebKit::NetscapePluginInstanceProxy::enumerate):
1424         (WebKit::getObjectID):
1425         (WebKit::NetscapePluginInstanceProxy::addValueToArray):
1426         (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):
1427         (WebKit::NetscapePluginInstanceProxy::retainLocalObject):
1428         (WebKit::NetscapePluginInstanceProxy::releaseLocalObject):
1429         * Plugins/Hosted/ProxyInstance.mm:
1430         (WebKit::ProxyInstance::stringValue const):
1431         (WebKit::ProxyInstance::getPropertyNames):
1432         * WebView/WebFrame.mm:
1433         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
1434
1435 2019-08-23  Chris Dumez  <cdumez@apple.com>
1436
1437         [geolocation] Rename interfaces and remove [NoInterfaceObject]
1438         https://bugs.webkit.org/show_bug.cgi?id=200885
1439
1440         Reviewed by Alex Christensen.
1441
1442         * WebCoreSupport/WebGeolocationClient.h:
1443         * WebCoreSupport/WebGeolocationClient.mm:
1444         (WebGeolocationClient::lastPosition):
1445         * WebView/WebGeolocationPosition.mm:
1446         (-[WebGeolocationPositionInternal initWithCoreGeolocationPosition:]):
1447         (core):
1448         (-[WebGeolocationPosition initWithTimestamp:latitude:longitude:accuracy:]):
1449         (-[WebGeolocationPosition initWithGeolocationPosition:]):
1450         * WebView/WebGeolocationPositionInternal.h:
1451
1452 2019-08-22  Andy Estes  <aestes@apple.com>
1453
1454         [watchOS] Disable Content Filtering in the simulator build
1455         https://bugs.webkit.org/show_bug.cgi?id=201047
1456
1457         Reviewed by Tim Horton.
1458
1459         * Configurations/FeatureDefines.xcconfig:
1460
1461 2019-08-21  Tim Horton  <timothy_horton@apple.com>
1462
1463         [Mail] Tapping top of message scrolls back to copied text instead of top of the message
1464         https://bugs.webkit.org/show_bug.cgi?id=200999
1465         <rdar://problem/54564878>
1466
1467         Reviewed by Wenson Hsieh.
1468
1469         * WebCoreSupport/WebEditorClient.h:
1470         * WebCoreSupport/WebEditorClient.mm:
1471         (WebEditorClient::shouldAllowSingleClickToChangeSelection const):
1472         Copy the existing behavior from EventHandler.
1473         We do not fix the bug in WebKitLegacy for a multitude of reasons, primarily
1474         because we do not know of any user impact.
1475
1476 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
1477
1478         Put keygen element behind a runtime flag and disable it by default
1479         https://bugs.webkit.org/show_bug.cgi?id=200850
1480
1481         Reviewed by Antti Koivisto.
1482
1483         * WebView/WebPreferenceKeysPrivate.h:
1484         * WebView/WebPreferences.mm:
1485         (-[WebPreferences keygenElementEnabled]):
1486         (-[WebPreferences setKeygenElementEnabled:]):
1487         * WebView/WebPreferencesPrivate.h:
1488         * WebView/WebView.mm:
1489         (-[WebView _preferencesChanged:]):
1490
1491 2019-08-19  Sihui Liu  <sihui_liu@apple.com>
1492
1493         Remove IDB-specific quota
1494         https://bugs.webkit.org/show_bug.cgi?id=196545
1495         <rdar://problem/54201783>
1496
1497         Reviewed by Youenn Fablet.
1498
1499         * Storage/WebDatabaseManager.mm:
1500         (-[WebDatabaseManager setIDBPerOriginQuota:]): Deleted.
1501         * Storage/WebDatabaseManagerPrivate.h:
1502
1503 2019-08-18  Yusuke Suzuki  <ysuzuki@apple.com>
1504
1505         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
1506         https://bugs.webkit.org/show_bug.cgi?id=200620
1507
1508         Reviewed by Geoffrey Garen.
1509
1510         * History/WebHistory.mm:
1511         (-[WebHistoryPrivate init]):
1512         * History/WebHistoryItem.mm:
1513         (-[WebHistoryItem initFromDictionaryRepresentation:]):
1514         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1515         (WKPCGetScriptableNPObjectReply):
1516         (WKPCBooleanReply):
1517         (WKPCBooleanAndDataReply):
1518         (WKPCInstantiatePluginReply):
1519         * Plugins/Hosted/ProxyInstance.mm:
1520         (WebKit::ProxyInstance::methodNamed):
1521         (WebKit::ProxyInstance::fieldNamed):
1522         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
1523         (-[WebHostedNetscapePluginView createPlugin]):
1524         * Plugins/WebNetscapePluginEventHandler.mm:
1525         (WebNetscapePluginEventHandler::create):
1526         * Plugins/WebNetscapePluginView.mm:
1527         (-[WebNetscapePluginView scheduleTimerWithInterval:repeat:timerFunc:]):
1528         * Storage/WebDatabaseManagerClient.mm:
1529         (DidModifyOriginData::dispatchToMainThread):
1530         * WebCoreSupport/WebFrameLoaderClient.mm:
1531         (addRedirectURL):
1532         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
1533         * WebCoreSupport/WebInspectorClient.mm:
1534         (WebInspectorClient::openLocalFrontend):
1535         * WebView/WebDeviceOrientationProviderMock.mm:
1536         * WebView/WebFrame.mm:
1537         (-[WebFrame _attachScriptDebugger]):
1538         * WebView/WebMediaPlaybackTargetPicker.mm:
1539         (WebMediaPlaybackTargetPicker::create):
1540         * WebView/WebTextIterator.mm:
1541         (-[WebTextIterator initWithRange:]):
1542         * WebView/WebView.mm:
1543         (-[WebView _injectOutlookQuirksScript]):
1544         (-[WebView _commonInitializationWithFrameName:groupName:]):
1545         (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
1546         (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
1547         (-[WebView _selectionServiceController]):
1548         (-[WebView _setTextIndicator:withLifetime:]):
1549         * WebView/WebViewData.mm:
1550         (WebViewLayerFlushScheduler::WebViewLayerFlushScheduler):
1551         (-[WebViewPrivate init]):
1552
1553 2019-08-17  Darin Adler  <darin@apple.com>
1554
1555         Tidy up checks to see if a character is in the Latin-1 range by using isLatin1 consistently
1556         https://bugs.webkit.org/show_bug.cgi?id=200861
1557
1558         Reviewed by Ross Kirsling.
1559
1560         * Misc/WebKitNSStringExtras.mm:
1561         (canUseFastRenderer): Use isLatin1.
1562
1563 2019-08-16  Chris Dumez  <cdumez@apple.com>
1564
1565         LocalStorageDatabaseTracker does not need to subclass ThreadSafeRefCounted
1566         https://bugs.webkit.org/show_bug.cgi?id=200825
1567
1568         Reviewed by Alex Christensen.
1569
1570         * Misc/WebKitVersionChecks.h:
1571         * Storage/WebStorageManager.mm:
1572         (WebKitInitializeStorageIfNecessary):
1573
1574 2019-08-16  Ryosuke Niwa  <rniwa@webkit.org>
1575
1576         Split tabIndex computation for DOM and the rest of WebCore
1577         https://bugs.webkit.org/show_bug.cgi?id=200806
1578
1579         Reviewed by Chris Dumez.
1580
1581         * DOM/DOMHTMLElement.mm:
1582         (-[DOMHTMLElement tabIndex]):
1583         (-[DOMHTMLElement setTabIndex:]):
1584
1585 2019-08-15  Yusuke Suzuki  <ysuzuki@apple.com>
1586
1587         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, WTF_MAKE_FAST_ALLOCATED annotation part
1588         https://bugs.webkit.org/show_bug.cgi?id=200620
1589
1590         Reviewed by Geoffrey Garen.
1591
1592         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
1593         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
1594         * Plugins/WebNetscapePluginEventHandlerCocoa.h:
1595         * Storage/WebDatabaseManagerClient.mm:
1596         * WebCoreSupport/WebAlternativeTextClient.h:
1597         * WebCoreSupport/WebCachedFramePlatformData.h:
1598         * WebCoreSupport/WebChromeClient.h:
1599         * WebCoreSupport/WebContextMenuClient.h:
1600         * WebCoreSupport/WebDragClient.h:
1601         * WebCoreSupport/WebEditorClient.h:
1602         * WebCoreSupport/WebGeolocationClient.h:
1603         * WebCoreSupport/WebInspectorClient.h:
1604         * WebCoreSupport/WebNotificationClient.h:
1605         * WebCoreSupport/WebSelectionServiceController.h:
1606         * WebView/WebMediaPlaybackTargetPicker.h:
1607
1608 2019-08-15  Tim Horton  <timothy_horton@apple.com>
1609
1610         Yellow Lookup highlight gets stuck over Mail messages
1611         https://bugs.webkit.org/show_bug.cgi?id=200778
1612         <rdar://problem/53868514>
1613
1614         Reviewed by Wenson Hsieh.
1615
1616         * WebView/WebView.mm:
1617         (-[WebView _showDictionaryLookupPopup:]):
1618         Add a dismissal callback so that when Reveal hides the panel, it also
1619         dismisses the yellow indicator. This matches the behavior in modern WebKit.
1620
1621 2019-08-15  Sihui Liu  <sihui_liu@apple.com>
1622
1623         Some improvements on web storage
1624         https://bugs.webkit.org/show_bug.cgi?id=200373
1625
1626         Reviewed by Geoffrey Garen.
1627
1628         * WebView/WebView.mm:
1629         (-[WebView _preferencesChanged:]): notify storageNamespaceProvider about session change.
1630
1631 2019-08-15  Youenn Fablet  <youenn@apple.com>
1632
1633         Always create a Document with a valid SessionID
1634         https://bugs.webkit.org/show_bug.cgi?id=200727
1635
1636         Reviewed by Alex Christensen.
1637
1638         Implement WebKit1 sessionID getter like done for WebKit2.
1639         Either the loader client has a page in which case the page session ID is used
1640         or the client has no page, in which case the default session ID is used.
1641         This is the same behavior as CachedResourceLoader.
1642
1643         * WebCoreSupport/WebFrameLoaderClient.mm:
1644         (WebFrameLoaderClient::sessionID const):
1645
1646 2019-08-15  Simon Fraser  <simon.fraser@apple.com>
1647
1648         Use ObjectIdentifier<FrameIdentifierType> for frameIDs
1649         https://bugs.webkit.org/show_bug.cgi?id=199986
1650
1651         Reviewed by Ryosuke Niwa.
1652
1653         Use the strongly-typed FrameIdentifier instead of uint64_t as frame identifiers everywhere.
1654
1655         * WebCoreSupport/WebFrameLoaderClient.h:
1656         * WebCoreSupport/WebFrameLoaderClient.mm:
1657         (WebFrameLoaderClient::frameID const):
1658
1659 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
1660
1661         Unreviewed, rolling out r248526.
1662
1663         Caused two IndexedDB perf tests to fail
1664
1665         Reverted changeset:
1666
1667         "Remove IDB-specific quota"
1668         https://bugs.webkit.org/show_bug.cgi?id=196545
1669         https://trac.webkit.org/changeset/248526
1670
1671 2019-08-14  Keith Rollin  <krollin@apple.com>
1672
1673         Remove support for macOS < 10.13
1674         https://bugs.webkit.org/show_bug.cgi?id=200694
1675         <rdar://problem/54278851>
1676
1677         Reviewed by Youenn Fablet.
1678
1679         Update conditionals that reference __MAC_OS_X_VERSION_MIN_REQUIRED and
1680         __MAC_OS_X_VERSION_MAX_ALLOWED, assuming that they both have values >=
1681         101300. This means that expressions like
1682         "__MAC_OS_X_VERSION_MIN_REQUIRED < 101300" are always False and
1683         "__MAC_OS_X_VERSION_MIN_REQUIRED >= 101300" are always True.
1684
1685         * WebCoreSupport/WebEditorClient.mm:
1686         * WebView/PDFViewSPI.h:
1687         * WebView/WebHTMLView.mm:
1688         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:]):
1689         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:]):
1690         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inContext:topView:]): Deleted.
1691         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]): Deleted.
1692         * WebView/WebPreferences.mm:
1693         (+[WebPreferences initialize]):
1694         * WebView/WebView.mm:
1695         (-[WebView performDragOperation:]):
1696         (LayerFlushController::flushLayers):
1697         (-[WebView updateMediaTouchBar]):
1698         * WebView/WebViewData.h:
1699
1700 2019-08-14  Youenn Fablet  <youenn@apple.com>
1701
1702         ThreadableBlobRegistry::blobSize should take a SessionID as parameter
1703         https://bugs.webkit.org/show_bug.cgi?id=200671
1704
1705         Reviewed by ALex Christensen.
1706
1707         * WebCoreSupport/WebPlatformStrategies.mm:
1708
1709 2019-08-13  Youenn Fablet  <youenn@apple.com>
1710
1711         Blob registries should be keyed by session IDs
1712         https://bugs.webkit.org/show_bug.cgi?id=200567
1713
1714         Reviewed by Alex Christensen.
1715
1716         * WebCoreSupport/WebPlatformStrategies.mm:
1717         (WebPlatformStrategies::createBlobRegistry):
1718         Ignore sessionID parameter for WK1.
1719
1720 2019-08-12  Chris Dumez  <cdumez@apple.com>
1721
1722         Add threading assertions to RefCounted
1723         https://bugs.webkit.org/show_bug.cgi?id=200507
1724
1725         Reviewed by Ryosuke Niwa.
1726
1727         * WebView/WebView.mm:
1728         (+[WebView initialize]):
1729         Enable new RefCounted threading assertions for WebKitLegacy.
1730
1731 2019-08-12  Chris Dumez  <cdumez@apple.com>
1732
1733         Unreviewed, rolling out r248525.
1734
1735         Revert new threading assertions while I work on fixing the
1736         issues they exposed
1737
1738         Reverted changeset:
1739
1740         "Add threading assertions to RefCounted"
1741         https://bugs.webkit.org/show_bug.cgi?id=200507
1742         https://trac.webkit.org/changeset/248525
1743
1744 2019-08-12  Youenn Fablet  <youenn@apple.com>
1745
1746         Remove IDB-specific quota
1747         https://bugs.webkit.org/show_bug.cgi?id=196545
1748
1749         Reviewed by Alex Christensen.
1750
1751         * Storage/WebDatabaseManager.mm:
1752         (-[WebDatabaseManager setIDBPerOriginQuota:]): Deleted.
1753         * Storage/WebDatabaseManagerPrivate.h:
1754
1755 2019-08-11  Chris Dumez  <cdumez@apple.com>
1756
1757         Add threading assertions to RefCounted
1758         https://bugs.webkit.org/show_bug.cgi?id=200507
1759
1760         Reviewed by Ryosuke Niwa.
1761
1762         * WebView/WebView.mm:
1763         (+[WebView initialize]):
1764         Enable new RefCounted threading assertions for WebKitLegacy.
1765
1766 2019-08-10  Tim Horton  <timothy_horton@apple.com>
1767
1768         Remove some more unused 32-bit code
1769         https://bugs.webkit.org/show_bug.cgi?id=200607
1770
1771         Reviewed by Alexey Proskuryakov.
1772
1773         * Configurations/WebKitLegacy.xcconfig:
1774         * Misc/WebSharingServicePickerController.mm:
1775         (-[WebSharingServicePickerController initWithItems:includeEditorServices:client:style:]):
1776         (-[WebSharingServicePickerController initWithSharingServicePicker:client:]):
1777         (-[WebSharingServicePickerController sharingService:didShareItems:]):
1778         * Plugins/WebNetscapePluginEventHandler.mm:
1779         * Plugins/WebNetscapePluginEventHandlerCarbon.h: Removed.
1780         * Plugins/WebNetscapePluginEventHandlerCarbon.mm: Removed.
1781         * Plugins/WebNetscapePluginEventHandlerCocoa.h:
1782         (WebNetscapePluginEventHandlerCocoa::installKeyEventHandler): Deleted.
1783         (WebNetscapePluginEventHandlerCocoa::removeKeyEventHandler): Deleted.
1784         * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
1785         (WebNetscapePluginEventHandlerCocoa::WebNetscapePluginEventHandlerCocoa):
1786         (WebNetscapePluginEventHandlerCocoa::keyDown):
1787         (WebNetscapePluginEventHandlerCocoa::focusChanged):
1788         (WebNetscapePluginEventHandlerCocoa::installKeyEventHandler): Deleted.
1789         (WebNetscapePluginEventHandlerCocoa::removeKeyEventHandler): Deleted.
1790         (WebNetscapePluginEventHandlerCocoa::TSMEventHandler): Deleted.
1791         (WebNetscapePluginEventHandlerCocoa::handleTSMEvent): Deleted.
1792         * WebCoreSupport/WebContextMenuClient.mm:
1793         (WebContextMenuClient::contextMenuForEvent):
1794         * WebView/WebHTMLView.mm:
1795         (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
1796         (-[WebHTMLView pressureChangeWithEvent:]):
1797         * WebView/WebView.mm:
1798         (LayerFlushController::flushLayers):
1799
1800 2019-08-08  Rob Buis  <rbuis@igalia.com>
1801
1802         Add runtime flag for lazy image loading
1803         https://bugs.webkit.org/show_bug.cgi?id=199794
1804
1805         Reviewed by Darin Adler.
1806
1807         Set lazyImageLoading runtime flag if preference is set.
1808
1809         * WebView/WebPreferenceKeysPrivate.h:
1810         * WebView/WebPreferences.mm:
1811         (+[WebPreferences initialize]):
1812         (-[WebPreferences lazyImageLoadingEnabled]):
1813         (-[WebPreferences setLazyImageLoadingEnabled:]):
1814         * WebView/WebPreferencesPrivate.h:
1815         * WebView/WebView.mm:
1816         (-[WebView _preferencesChanged:]):
1817
1818 2019-08-07  Priyanka Agarwal  <pagarwal999@apple.com>
1819
1820         Allow clients to toggle a text input field between being viewable and having characters hidden while maintaining 
1821         a yellow auto-filled appearance
1822         https://bugs.webkit.org/show_bug.cgi?id=200037
1823         rdar://problem/51900961
1824
1825         Reviewed by Daniel Bates.
1826
1827         * DOM/WebDOMOperations.mm:
1828         (-[DOMHTMLInputElement _isAutoFilledAndViewable]):
1829         (-[DOMHTMLInputElement _setAutoFilledAndViewable:]):
1830         * DOM/WebDOMOperationsPrivate.h:
1831
1832 2019-08-02  Keith Rollin  <krollin@apple.com>
1833
1834         Consistently use Obj-C boolean literals
1835         https://bugs.webkit.org/show_bug.cgi?id=200405
1836         <rdar://problem/53880043>
1837
1838         Reviewed by Simon Fraser, Joseph Pecoraro.
1839
1840         There are places where we use equivalent but different expressions for
1841         Obj-C boolean objects. For example, we use both [NSNumber
1842         numberWithBool:YES] and @YES. There are places where both are used in
1843         the same function, such as -[WebPreferences initialize]. The boolean
1844         literal is in greater use and is more succinct, so standardize on
1845         that. Also, change @(YES/NO) to @YES/NO.
1846
1847         * History/WebHistoryItem.mm:
1848         * WebView/WebFrame.mm:
1849         (-[WebFrame _cacheabilityDictionary]):
1850         * WebView/WebPreferences.mm:
1851         (+[WebPreferences initialize]):
1852
1853 2019-08-01  Alex Christensen  <achristensen@webkit.org>
1854
1855         Move FormData zip file generation to NetworkProcess and enable it for all WebKit clients for uploading directories
1856         https://bugs.webkit.org/show_bug.cgi?id=200102
1857         <rdar://problem/53275114>
1858
1859         Reviewed by Darin Adler.
1860
1861         * DefaultDelegates/WebDefaultUIDelegate.mm:
1862         (-[WebDefaultUIDelegate webView:shouldReplaceUploadFile:usingGeneratedFilename:]): Deleted.
1863         (-[WebDefaultUIDelegate webView:generateReplacementFile:]): Deleted.
1864         * WebCoreSupport/WebChromeClient.h:
1865         * WebCoreSupport/WebChromeClient.mm:
1866         (WebChromeClient::shouldReplaceWithGeneratedFileForUpload): Deleted.
1867         (WebChromeClient::generateReplacementFile): Deleted.
1868         * WebView/WebUIDelegatePrivate.h:
1869
1870 2019-07-25  Dean Jackson  <dino@apple.com>
1871
1872         Add helper for ignoring deprecated implementation warnings
1873         https://bugs.webkit.org/show_bug.cgi?id=200135
1874
1875         Reviewed by Wenson Hsieh.
1876
1877         Add ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN/END macro which
1878         is IGNORE_WARNINGS_BEGIN("deprecated-implementations")
1879
1880         * Misc/WebDownload.mm:
1881         (-[WebDownload initWithRequest:delegate:]):
1882         * Misc/WebIconDatabase.mm:
1883         * Plugins/WebBaseNetscapePluginView.mm:
1884         (-[WebBaseNetscapePluginView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
1885         (-[WebBaseNetscapePluginView IGNORE_WARNINGS_END]): Deleted.
1886         * WebView/WebDynamicScrollBarsView.mm:
1887         (-[WebDynamicScrollBarsView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
1888         (-[WebDynamicScrollBarsView IGNORE_WARNINGS_END]): Deleted.
1889         * WebView/WebHTMLView.mm:
1890         (-[WebHTMLView draggingSourceOperationMaskForLocal:]):
1891         (-[WebHTMLView draggedImage:endedAt:operation:]):
1892         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1893         (-[WebHTMLView accessibilityAttributeValue:]):
1894         (-[WebHTMLView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
1895         (-[WebHTMLView characterIndexForPoint:]):
1896         (-[WebHTMLView firstRectForCharacterRange:]):
1897         (-[WebHTMLView attributedSubstringFromRange:]):
1898         (-[WebHTMLView setMarkedText:selectedRange:]):
1899         (-[WebHTMLView doCommandBySelector:]):
1900         (-[WebHTMLView insertText:]):
1901         (-[WebHTMLView IGNORE_WARNINGS_END]): Deleted.
1902
1903 2019-07-23  Wenson Hsieh  <wenson_hsieh@apple.com>
1904
1905         [macOS 10.15] Web process crashes when attempting to show the font panel via Font > Show Fonts
1906         https://bugs.webkit.org/show_bug.cgi?id=200021
1907         <rdar://problem/53301325>
1908
1909         Reviewed by Ryosuke Niwa.
1910
1911         Implement a new editing client hook. In WebKit1, this always returns true on macOS and false on iOS.
1912
1913         * WebCoreSupport/WebEditorClient.h:
1914
1915 2019-07-22  Simon Fraser  <simon.fraser@apple.com>
1916
1917         Fix WebView iframe rendering in macOS Catalina
1918         https://bugs.webkit.org/show_bug.cgi?id=200022
1919         rdar://problem/49102040
1920
1921         Reviewed by Darin Adler.
1922
1923         Adapt to internal NSView method renames in Catalina.
1924
1925         * WebView/WebHTMLView.mm:
1926         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inContext:topView:]):
1927         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inContext:topView:]): Deleted.
1928
1929 2019-07-22  Simon Fraser  <simon.fraser@apple.com>
1930
1931         Enable CSSOMViewScrollingAPIEnabled in WebKit1
1932         https://bugs.webkit.org/show_bug.cgi?id=200008
1933         rdar://problem/53409062
1934
1935         Reviewed by Tim Horton.
1936
1937         Default WebKitCSSOMViewScrollingAPIEnabledPreferenceKey to YES, so that 
1938         CSSOMViewScrollingAPIEnabled is on for both WebKit1 and WebKit2.
1939
1940         DumpRenderTree already turns this preference on, so this change is not
1941         detected by tests.
1942
1943         * WebView/WebPreferences.mm:
1944         (+[WebPreferences initialize]):
1945
1946 2019-07-22  Youenn Fablet  <youenn@apple.com>
1947
1948         Disable MediaRecorder for legacy WebKit
1949         https://bugs.webkit.org/show_bug.cgi?id=200001
1950         <rdar://problem/53400030>
1951
1952         Reviewed by Eric Carlson.
1953
1954         Disable MediaRecorder by default in legacy WebKit.
1955         Add SPI to set/get this preference.
1956
1957         * WebView/WebPreferences.mm:
1958         (+[WebPreferences initialize]):
1959         (-[WebPreferences _mediaRecorderEnabled]):
1960         (-[WebPreferences _setMediaRecorderEnabled:]):
1961         * WebView/WebPreferencesPrivate.h:
1962
1963 2019-07-18  Alex Christensen  <achristensen@webkit.org>
1964
1965         Unify builds in WebKitLegacy/mac/DOM
1966         https://bugs.webkit.org/show_bug.cgi?id=199771
1967
1968         Reviewed by Geoffrey Garen.
1969
1970         * DOM/DOMAbstractView.mm:
1971         * DOM/DOMAttr.mm:
1972         * DOM/DOMBlob.mm:
1973         * DOM/DOMCDATASection.mm:
1974         * DOM/DOMCSSFontFaceRule.mm:
1975         * DOM/DOMCSSImportRule.mm:
1976         * DOM/DOMCSSMediaRule.mm:
1977         * DOM/DOMCSSPageRule.mm:
1978         * DOM/DOMCSSPrimitiveValue.mm:
1979         * DOM/DOMCSSRule.mm:
1980         * DOM/DOMCSSRuleList.mm:
1981         * DOM/DOMCSSStyleDeclaration.mm:
1982         * DOM/DOMCSSStyleRule.mm:
1983         * DOM/DOMCSSStyleSheet.mm:
1984         * DOM/DOMCSSUnknownRule.mm:
1985         * DOM/DOMCSSValue.mm:
1986         * DOM/DOMCSSValueList.mm:
1987         * DOM/DOMCharacterData.mm:
1988         * DOM/DOMComment.mm:
1989         * DOM/DOMCounter.mm:
1990         * DOM/DOMDocument.mm:
1991         * DOM/DOMDocumentFragment.mm:
1992         * DOM/DOMDocumentType.mm:
1993         * DOM/DOMEvent.mm:
1994         * DOM/DOMFile.mm:
1995         * DOM/DOMFileList.mm:
1996         * DOM/DOMHTMLAnchorElement.mm:
1997         * DOM/DOMHTMLAppletElement.mm:
1998         * DOM/DOMHTMLAreaElement.mm:
1999         * DOM/DOMHTMLBRElement.mm:
2000         * DOM/DOMHTMLBaseElement.mm:
2001         * DOM/DOMHTMLBaseFontElement.mm:
2002         * DOM/DOMHTMLBodyElement.mm:
2003         * DOM/DOMHTMLButtonElement.mm:
2004         * DOM/DOMHTMLCanvasElement.mm:
2005         * DOM/DOMHTMLCollection.mm:
2006         * DOM/DOMHTMLDListElement.mm:
2007         * DOM/DOMHTMLDirectoryElement.mm:
2008         * DOM/DOMHTMLDivElement.mm:
2009         * DOM/DOMHTMLDocument.mm:
2010         * DOM/DOMHTMLElement.mm:
2011         * DOM/DOMHTMLEmbedElement.mm:
2012         * DOM/DOMHTMLFieldSetElement.mm:
2013         * DOM/DOMHTMLFontElement.mm:
2014         * DOM/DOMHTMLFormElement.mm:
2015         * DOM/DOMHTMLFrameElement.mm:
2016         * DOM/DOMHTMLFrameSetElement.mm:
2017         * DOM/DOMHTMLHRElement.mm:
2018         * DOM/DOMHTMLHeadElement.mm:
2019         * DOM/DOMHTMLHeadingElement.mm:
2020         * DOM/DOMHTMLHtmlElement.mm:
2021         * DOM/DOMHTMLIFrameElement.mm:
2022         * DOM/DOMHTMLImageElement.mm:
2023         * DOM/DOMHTMLInputElement.mm:
2024         * DOM/DOMHTMLLIElement.mm:
2025         * DOM/DOMHTMLLabelElement.mm:
2026         * DOM/DOMHTMLLegendElement.mm:
2027         * DOM/DOMHTMLLinkElement.mm:
2028         * DOM/DOMHTMLMapElement.mm:
2029         * DOM/DOMHTMLMarqueeElement.mm:
2030         * DOM/DOMHTMLMediaElement.mm:
2031         * DOM/DOMHTMLMenuElement.mm:
2032         * DOM/DOMHTMLMetaElement.mm:
2033         * DOM/DOMHTMLModElement.mm:
2034         * DOM/DOMHTMLOListElement.mm:
2035         * DOM/DOMHTMLObjectElement.mm:
2036         * DOM/DOMHTMLOptGroupElement.mm:
2037         * DOM/DOMHTMLOptionElement.mm:
2038         * DOM/DOMHTMLOptionsCollection.mm:
2039         * DOM/DOMHTMLParagraphElement.mm:
2040         * DOM/DOMHTMLParamElement.mm:
2041         * DOM/DOMHTMLPreElement.mm:
2042         * DOM/DOMHTMLQuoteElement.mm:
2043         * DOM/DOMHTMLScriptElement.mm:
2044         * DOM/DOMHTMLSelectElement.mm:
2045         * DOM/DOMHTMLStyleElement.mm:
2046         * DOM/DOMHTMLTableCaptionElement.mm:
2047         * DOM/DOMHTMLTableCellElement.mm:
2048         * DOM/DOMHTMLTableColElement.mm:
2049         * DOM/DOMHTMLTableElement.mm:
2050         * DOM/DOMHTMLTableRowElement.mm:
2051         * DOM/DOMHTMLTableSectionElement.mm:
2052         * DOM/DOMHTMLTitleElement.mm:
2053         * DOM/DOMHTMLUListElement.mm:
2054         * DOM/DOMHTMLVideoElement.mm:
2055         * DOM/DOMKeyboardEvent.mm:
2056         * DOM/DOMMediaError.mm:
2057         * DOM/DOMMediaList.mm:
2058         * DOM/DOMMouseEvent.mm:
2059         * DOM/DOMMutationEvent.mm:
2060         * DOM/DOMNamedNodeMap.mm:
2061         * DOM/DOMNodeIterator.mm:
2062         * DOM/DOMNodeList.mm:
2063         * DOM/DOMOverflowEvent.mm:
2064         * DOM/DOMProcessingInstruction.mm:
2065         * DOM/DOMProgressEvent.mm:
2066         * DOM/DOMRGBColor.mm:
2067         * DOM/DOMRange.mm:
2068         * DOM/DOMRect.mm:
2069         * DOM/DOMStyleSheet.mm:
2070         * DOM/DOMStyleSheetList.mm:
2071         * DOM/DOMText.mm:
2072         * DOM/DOMTextEvent.mm:
2073         * DOM/DOMTimeRanges.mm:
2074         * DOM/DOMTokenList.mm:
2075         * DOM/DOMTreeWalker.mm:
2076         * DOM/DOMUIEvent.mm:
2077         * DOM/DOMWheelEvent.mm:
2078         * DOM/DOMXPath.mm:
2079         * DOM/DOMXPathExpression.mm:
2080         * DOM/DOMXPathResult.mm:
2081
2082 2019-07-17  Antoine Quint  <graouts@apple.com>
2083
2084         Disable Pointer Events prior to watchOS 6
2085         https://bugs.webkit.org/show_bug.cgi?id=199890
2086         <rdar://problem/53206113>
2087
2088         Reviewed by Dean Jackson.
2089
2090         * Configurations/FeatureDefines.xcconfig:
2091
2092 2019-07-17  Zalan Bujtas  <zalan@apple.com>
2093
2094         Unable to tap buttons at top of Wells Fargo app’s Payees screen
2095         https://bugs.webkit.org/show_bug.cgi?id=199846
2096         <rdar://problem/48112220>
2097
2098         Reviewed by Simon Fraser.
2099
2100         * WebView/WebFrame.mm:
2101         (-[WebFrame approximateNodeAtViewportLocation:]):
2102
2103 2019-07-17  Alex Christensen  <achristensen@webkit.org>
2104
2105         Add a runtime-disabled dialog element skeleton
2106         https://bugs.webkit.org/show_bug.cgi?id=199839
2107
2108         Reviewed by Ryosuke Niwa.
2109
2110         * WebView/WebPreferenceKeysPrivate.h:
2111         * WebView/WebPreferences.mm:
2112         (+[WebPreferences initialize]):
2113         (-[WebPreferences dialogElementEnabled]):
2114         (-[WebPreferences setDialogElementEnabled:]):
2115         * WebView/WebPreferencesPrivate.h:
2116         * WebView/WebView.mm:
2117         (-[WebView _preferencesChanged:]):
2118         Add SPI to enable the dialog element for tests.
2119
2120 2019-07-15  Dean Jackson  <dino@apple.com>
2121
2122         [WebGL] Remove software rendering and simplify context creation on macOS
2123         https://bugs.webkit.org/show_bug.cgi?id=199789
2124
2125         Reviewed by Sam Weinig.
2126
2127         Remove force software WebGL setting.
2128
2129         * WebView/WebPreferenceKeysPrivate.h:
2130         * WebView/WebPreferences.mm:
2131         (+[WebPreferences initialize]):
2132         (-[WebPreferences forceSoftwareWebGLRendering]): Deleted.
2133         (-[WebPreferences setForceSoftwareWebGLRendering:]): Deleted.
2134         * WebView/WebPreferencesPrivate.h:
2135         * WebView/WebView.mm:
2136         (-[WebView _preferencesChanged:]):
2137
2138 2019-07-13  Zalan Bujtas  <zalan@apple.com>
2139
2140         Cannot bring up custom media controls at all on v.youku.com
2141         https://bugs.webkit.org/show_bug.cgi?id=199699
2142         <rdar://problem/51835327>
2143
2144         Reviewed by Simon Fraser.
2145
2146         * WebCoreSupport/WebFrameLoaderClient.mm:
2147         (WebFrameLoaderClient::actionDictionary const):
2148         * WebView/WebFrame.mm:
2149         (-[WebFrame elementAtPoint:]):
2150         * WebView/WebHTMLView.mm:
2151         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
2152         * WebView/WebImmediateActionController.mm:
2153         (-[WebImmediateActionController performHitTestAtPoint:]):
2154
2155 2019-07-12  Alex Christensen  <achristensen@webkit.org>
2156
2157         Begin unifying WebKitLegacy sources
2158         https://bugs.webkit.org/show_bug.cgi?id=199730
2159
2160         Reviewed by Keith Miller.
2161
2162         * Configurations/WebKitLegacy.xcconfig:
2163
2164 2019-07-11  Pablo Saavedra  <psaavedra@igalia.com>
2165
2166         [WPE][GTK] Build failure with ENABLE_ACCESSIBILITY=OFF
2167         https://bugs.webkit.org/show_bug.cgi?id=199625
2168
2169         Added ENABLE(ACCESSIBILITY) and replaced HAVE(ACCESSIBILITY)
2170         with ENABLE(ACCESSIBILITY) in the code.
2171
2172         Additionally, the TestRunner code generator now honors the
2173         Conditional IDL format.
2174
2175         Reviewed by Konstantin Tokarev.
2176
2177         * WebView/WebFrame.mm:
2178         (-[WebFrame setAccessibleName:]):
2179         (-[WebFrame enhancedAccessibilityEnabled]):
2180         (-[WebFrame setEnhancedAccessibility:]):
2181         (-[WebFrame accessibilityRoot]):
2182
2183 2019-07-08  Antoine Quint  <graouts@apple.com>
2184
2185         [Pointer Events] Enable only on the most recent version of the supported iOS family
2186         https://bugs.webkit.org/show_bug.cgi?id=199562
2187         <rdar://problem/52766511>
2188
2189         Reviewed by Dean Jackson.
2190
2191         * Configurations/FeatureDefines.xcconfig:
2192
2193 2019-07-03  Sam Weinig  <weinig@apple.com>
2194
2195         Adopt simple structured bindings in more places
2196         https://bugs.webkit.org/show_bug.cgi?id=199247
2197
2198         Reviewed by Alex Christensen.
2199
2200         Replaces simple uses of std::tie() with structured bindings. Does not touch
2201         uses of std::tie() that are not initial declarations, use std::ignore or in
2202         case where the binding is captured by a lambda, as structured bindings don't
2203         work for those cases yet.
2204
2205         * WebView/WebImmediateActionController.mm:
2206         (-[WebImmediateActionController _animationControllerForText]):
2207
2208 2019-07-02  Devin Rousso  <drousso@apple.com>
2209
2210         Web Inspector: Debug: "Reset Web Inspector" should also clear the saved window size and attachment side
2211         https://bugs.webkit.org/show_bug.cgi?id=198956
2212
2213         Reviewed by Matt Baker.
2214
2215         * WebCoreSupport/WebInspectorClient.h:
2216         * WebCoreSupport/WebInspectorClient.mm:
2217         (WebInspectorFrontendClient::resetWindowState): Added.
2218
2219 2019-06-28  Timothy Hatcher  <timothy@apple.com>
2220
2221         Rename effectiveAppearanceIsInactive and useInactiveAppearance to better match UIUserInterfaceLevel.
2222         https://bugs.webkit.org/show_bug.cgi?id=199336
2223         rdar://problem/52348938
2224
2225         Reviewed by Tim Horton.
2226
2227         * WebView/WebView.mm:
2228         (-[WebView _commonInitializationWithFrameName:groupName:]):
2229         (-[WebView _setUseDarkAppearance:]):
2230         (-[WebView _useElevatedUserInterfaceLevel]):
2231         (-[WebView _setUseElevatedUserInterfaceLevel:]):
2232         (-[WebView _setUseDarkAppearance:useInactiveAppearance:]):
2233         (-[WebView _setUseDarkAppearance:useElevatedUserInterfaceLevel:]):
2234         (-[WebView _effectiveUserInterfaceLevelIsElevated]):
2235         (-[WebView viewDidChangeEffectiveAppearance]):
2236         (-[WebView _useInactiveAppearance]): Deleted.
2237         (-[WebView _setUseInactiveAppearance:]): Deleted.
2238         (-[WebView _effectiveAppearanceIsInactive]): Deleted.
2239         * WebView/WebViewPrivate.h:
2240
2241 2019-06-28  Konstantin Tokarev  <annulen@yandex.ru>
2242
2243         Remove traces of ENABLE_ICONDATABASE remaining after its removal in 219733
2244         https://bugs.webkit.org/show_bug.cgi?id=199317
2245
2246         Reviewed by Michael Catanzaro.
2247
2248         While IconDatabase and all code using it was removed,
2249         ENABLE_ICONDATABASE still exists as build option and C++ macro.
2250
2251         * Configurations/FeatureDefines.xcconfig:
2252         * WebView/WebView.mm:
2253         (-[WebView _cacheFrameLoadDelegateImplementations]): Use PLATFORM(MAC)
2254         guard instead of ENABLE_ICONDATABASE, because ENABLE_ICONDATABASE was
2255         enabled for macOS only.
2256
2257 2019-06-27  Timothy Hatcher  <timothy@apple.com>
2258
2259         Move WebKitLegacy off of a couple AppKit ivars.
2260         https://bugs.webkit.org/show_bug.cgi?id=199279
2261         rdar://problem/34983438
2262
2263         Reviewed by Tim Horton.
2264
2265         * WebView/WebHTMLView.mm:
2266         (-[NSView _setSubviewsIvar:]): Added. Implement on older systems.
2267         (-[NSView _subviewsIvar]): Added. Ditto.
2268         (needsCursorRectsSupportAtPoint): Use _borderView property.
2269         (-[WebHTMLView _setAsideSubviews]): Use _subviewsIvar property.
2270         (-[NSWindow _web_borderView]): Deleted.
2271
2272 2019-06-27  Beth Dakin  <bdakin@apple.com>
2273
2274         Upstream use of MACCATALYST
2275         https://bugs.webkit.org/show_bug.cgi?id=199245
2276         rdar://problem/51687723
2277
2278         Reviewed by Tim Horton.
2279
2280         * Configurations/Base.xcconfig:
2281         * Configurations/FeatureDefines.xcconfig:
2282         * Configurations/SDKVariant.xcconfig:
2283
2284 2019-06-27  Saam Barati  <sbarati@apple.com>
2285
2286         Make WEBGPU enabled only on Mojave and later.
2287
2288         Rubber-stamped by Myles C. Maxfield.
2289
2290         * Configurations/FeatureDefines.xcconfig:
2291
2292 2019-06-16  Darin Adler  <darin@apple.com>
2293
2294         Rename AtomicString to AtomString
2295         https://bugs.webkit.org/show_bug.cgi?id=195276
2296
2297         Reviewed by Michael Catanzaro.
2298
2299         * many files: Let do-webcore-rename do the renaming.
2300
2301 2019-06-14  Megan Gardner  <megan_gardner@apple.com>
2302
2303         Move Synthetic Editing Commands to behind an experimental feature flag
2304         https://bugs.webkit.org/show_bug.cgi?id=198842
2305         <rdar://problem/50594700>
2306
2307         Reviewed by Simon Fraser.
2308
2309         Add plumbing for synthetic editing command feature flag.
2310
2311         * WebView/WebPreferenceKeysPrivate.h:
2312         * WebView/WebPreferences.mm:
2313         (+[WebPreferences initialize]):
2314         (-[WebPreferences syntheticEditingCommandsEnabled]):
2315         (-[WebPreferences setSyntheticEditingCommandsEnabled:]):
2316         * WebView/WebPreferencesPrivate.h:
2317         * WebView/WebView.mm:
2318         (-[WebView _preferencesChanged:]):
2319
2320 2019-06-13  Antoine Quint  <graouts@apple.com>
2321
2322         REGRESSION (r246103) [ Mojave+ WK1 ] Layout Test scrollbars/scrollbar-iframe-click-does-not-blur-content.html is timing out
2323         https://bugs.webkit.org/show_bug.cgi?id=198800
2324         <rdar://problem/51679634>
2325
2326         Reviewed by Tim Horton.
2327
2328         Expose a private method that we need to use from DumpRenderTree.
2329
2330         * WebView/WebHTMLView.mm:
2331         (-[WebHTMLView _hitViewForEvent:]):
2332         * WebView/WebHTMLViewPrivate.h:
2333
2334 2019-06-10  Sam Weinig  <weinig@apple.com>
2335
2336         Remove Dashboard support
2337         https://bugs.webkit.org/show_bug.cgi?id=198615
2338
2339         Reviewed by Ryosuke Niwa.
2340
2341         Removes implementation, but keeps privatly exported interfaces and enums
2342         around until we can confirm there are no more users of them. 
2343
2344         * Configurations/FeatureDefines.xcconfig:
2345         * Plugins/WebBaseNetscapePluginView.mm:
2346         (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:]):
2347         * WebCoreSupport/WebChromeClient.h:
2348         * WebCoreSupport/WebChromeClient.mm:
2349         (WebChromeClient::annotatedRegionsChanged): Deleted.
2350         * WebView/WebClipView.mm:
2351         (-[WebClipView _focusRingVisibleRect]):
2352         (-[WebClipView scrollWheel:]):
2353         * WebView/WebDashboardRegion.h:
2354         * WebView/WebDashboardRegion.mm:
2355         * WebView/WebHTMLView.mm:
2356         (-[WebHTMLView _updateMouseoverWithEvent:]):
2357         (-[WebHTMLView acceptsFirstMouse:]):
2358         (-[WebHTMLView setDataSource:]):
2359         * WebView/WebPreferences.mm:
2360         (cacheModelForMainBundle):
2361         * WebView/WebUIDelegatePrivate.h:
2362         * WebView/WebView.mm:
2363         (-[WebView _needsPreHTML5ParserQuirks]):
2364         (-[WebView _preferencesChanged:]):
2365         (-[WebView _addScrollerDashboardRegions:]):
2366         (-[WebView _dashboardRegions]):
2367         (-[WebView _setDashboardBehavior:to:]):
2368         (-[WebView _dashboardBehavior:]):
2369         (-[WebView _addControlRect:clip:fromView:toDashboardRegions:]): Deleted.
2370         (-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]): Deleted.
2371         (-[WebView _addScrollerDashboardRegions:from:]): Deleted.
2372         * WebView/WebViewData.h:
2373         * WebView/WebViewData.mm:
2374         (-[WebViewPrivate init]):
2375         * WebView/WebViewPrivate.h:
2376
2377 2019-06-10  Timothy Hatcher  <timothy@apple.com>
2378
2379         Integrate dark mode support for iOS.
2380         https://bugs.webkit.org/show_bug.cgi?id=198687
2381         rdar://problem/51545643
2382
2383         Reviewed by Tim Horton.
2384
2385         * Configurations/FeatureDefines.xcconfig:
2386
2387 2019-06-07  Said Abou-Hallawa  <sabouhallawa@apple.com>
2388
2389         REGRESSION (r244182) [WK1]: Page updates should always scheduleCompositingLayerFlush() immediately
2390         https://bugs.webkit.org/show_bug.cgi?id=198664
2391
2392         Reviewed by Simon Fraser.
2393
2394         WK1 has to skip using DisplayRefreshMonitor when layers need to be updated.
2395
2396         * WebCoreSupport/WebChromeClient.h:
2397         (WebChromeClient::needsImmediateScheduleCompositingLayerFlush):
2398
2399 == Rolled over to ChangeLog-2019-06-05 ==