31d82240b198091a5ec2fda9fee600a6c9c77cb7
[WebKit-https.git] / Source / WebKitLegacy / mac / ChangeLog
1 2020-01-09  Tim Horton  <timothy_horton@apple.com>
2
3         Adopt TARGET_OS_MACCATALYST in more places
4         https://bugs.webkit.org/show_bug.cgi?id=206040
5         <rdar://problem/57127108>
6
7         Reviewed by Simon Fraser.
8
9         * Misc/WebDownload.h:
10
11 2020-01-08  Yusuke Suzuki  <ysuzuki@apple.com>
12
13         Reduce binary size by purging C++ type information in Objective-C fields and parameters
14         https://bugs.webkit.org/show_bug.cgi?id=205905
15
16         Reviewed by Saam Barati.
17
18         * Plugins/WebBaseNetscapePluginView.h:
19         * Plugins/WebBaseNetscapePluginView.mm:
20         (-[WebBaseNetscapePluginView element]):
21         * WebCoreSupport/WebEditorClient.mm:
22         (_WebCreateFragment):
23         * WebCoreSupport/WebFrameLoaderClient.mm:
24         (WebFrameLoaderClient::transitionToCommittedForNewPage):
25         (-[WebFramePolicyListener initWithFrame:identifier:policyFunction:defaultPolicy:]):
26         (-[WebFramePolicyListener initWithFrame:identifier:policyFunction:defaultPolicy:appLinkURL:]):
27         * WebCoreSupport/WebGeolocationClient.mm:
28         (-[WebGeolocationPolicyListener initWithGeolocation:]):
29         (-[WebGeolocationPolicyListener initWithGeolocation:forWebView:]):
30         (-[WebGeolocationProviderInitializationListener initWithGeolocation:]):
31         * WebCoreSupport/WebInspectorClient.mm:
32         (WebInspectorFrontendClient::resetState):
33         (-[WebInspectorWindowController setFrontendClient:]):
34         (-[WebInspectorWindowController setInspectorClient:]):
35         (-[WebInspectorWindowController inspectorClient]):
36         * WebInspector/WebInspectorFrontend.h:
37         * WebInspector/WebInspectorFrontend.mm:
38         * WebInspector/WebNodeHighlight.h:
39         * WebInspector/WebNodeHighlight.mm:
40         (-[WebNodeHighlight initWithTargetView:inspectorController:]):
41         * WebView/WebArchive.mm:
42         (-[WebArchive initWithMainResource:subresources:subframeArchives:]):
43         * WebView/WebDataSource.mm:
44         (-[WebDataSource _documentLoader]):
45         (-[WebDataSource addSubresource:]):
46         * WebView/WebDataSourceInternal.h:
47         * WebView/WebFrame.mm:
48         (getWebView):
49         (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]):
50         (-[WebFrame _unmarkAllBadGrammar]):
51         (-[WebFrame _unmarkAllMisspellings]):
52         (-[WebFrame _hasSelection]):
53         (-[WebFrame _atMostOneFrameHasSelection]):
54         (-[WebFrame _findFrameWithSelection]):
55         (-[WebFrame _scrollDOMRangeToVisible:withInset:]):
56         (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]):
57         (-[WebFrame _documentFragmentWithNodesAsParagraphs:]):
58         (-[WebFrame _canProvideDocumentSource]):
59         (-[WebFrame _isDescendantOfFrame:]):
60         (-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
61         (-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
62         (-[WebFrame setTimeoutsPaused:]):
63         (-[WebFrame prepareForPause]):
64         (-[WebFrame resumeFromPause]):
65         (-[WebFrame resetTextAutosizingBeforeLayout]):
66         (-[WebFrame _globalContextForScriptWorld:]):
67         (-[WebFrame _layerTreeAsText]):
68         (-[WebFrame _clearOpener]):
69         (-[WebFrame focusedNodeHasContent]):
70         (-[WebFrame _dispatchDidReceiveTitle:]):
71         (-[WebFrame jsWrapperForNode:inScriptWorld:]):
72         (-[WebFrame elementAtPoint:]):
73         (-[WebFrame name]):
74         (-[WebFrame DOMDocument]):
75         (-[WebFrame frameElement]):
76         (-[WebFrame provisionalDataSource]):
77         (-[WebFrame dataSource]):
78         (-[WebFrame loadRequest:]):
79         (-[WebFrame findFrameNamed:]):
80         (-[WebFrame parentFrame]):
81         (-[WebFrame childFrames]):
82         (-[WebFrame windowObject]):
83         (-[WebFrame globalContext]):
84         (-[WebFrame javaScriptContext]):
85         * WebView/WebFrameInternal.h:
86         * WebView/WebFrameView.mm:
87         (-[WebFrameView _web_frame]):
88         (-[WebFrameView _frameSizeChanged]):
89         (-[WebFrameView _isVerticalDocument]):
90         (-[WebFrameView _isFlippedDocument]):
91         (-[WebFrameView keyDown:keyDown:]):
92         * WebView/WebFullScreenController.mm:
93         (-[WebFullScreenController _document]):
94         * WebView/WebHTMLView.mm:
95         (-[WebMenuTarget menuController]):
96         (-[WebMenuTarget setMenuController:]):
97         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
98         (-[WebHTMLView _interpretKeyEvent:savingCommands:]):
99         (-[WebHTMLView setPromisedDragTIFFDataSource:]):
100         * WebView/WebHTMLViewInternal.h:
101         * WebView/WebNotification.mm:
102         (-[WebNotification initWithCoreNotification:notificationID:]):
103         * WebView/WebNotificationInternal.h:
104         * WebView/WebResource.mm:
105         (-[WebResource _coreResource]):
106         * WebView/WebResourceInternal.h:
107         * WebView/WebVideoFullscreenController.h:
108         * WebView/WebVideoFullscreenController.mm:
109         (-[WebVideoFullscreenController videoElement]):
110         (-[WebVideoFullscreenController setVideoElement:]):
111         * WebView/WebVideoFullscreenHUDWindowController.h:
112         * WebView/WebView.mm:
113         (-[WebView page]):
114         (-[WebView _enterVideoFullscreenForVideoElement:mode:]):
115         (-[WebView _setUpPlaybackControlsManagerForMediaElement:]):
116         (-[WebView _supportsFullScreenForElement:withKeyboard:]):
117         (-[WebView _enterFullScreenForElement:]):
118         (-[WebView _exitFullScreenForElement:]):
119         * WebView/WebViewInternal.h:
120
121 2020-01-08  youenn fablet  <youenn@apple.com>
122
123         Implement MediaRecorder backend in GPUProcess
124         https://bugs.webkit.org/show_bug.cgi?id=205802
125
126         Reviewed by Eric Carlson.
127
128         * WebView/WebView.mm:
129         (-[WebView _commonInitializationWithFrameName:groupName:]):
130         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
131
132 2020-01-07  Said Abou-Hallawa  <sabouhallawa@apple.com>
133
134         Implement css3-images image-orientation
135         https://bugs.webkit.org/show_bug.cgi?id=89052
136
137         Reviewed by Simon Fraser.
138
139         Remove the ENABLE_CSS_IMAGE_ORIENTATION feature flag.
140
141         * Configurations/FeatureDefines.xcconfig:
142
143 2020-01-07  Chris Dumez  <cdumez@apple.com>
144
145         Remove document.origin
146         https://bugs.webkit.org/show_bug.cgi?id=205681
147
148         Reviewed by Geoffrey Garen.
149
150         * DOM/DOMDocument.mm:
151         (-[DOMDocument origin]):
152
153 2020-01-07  Commit Queue  <commit-queue@webkit.org>
154
155         Unreviewed, rolling out r254132.
156         https://bugs.webkit.org/show_bug.cgi?id=205868
157
158         It is breaking WinCairo build and internal builds. (Requested
159         by youenn on #webkit).
160
161         Reverted changeset:
162
163         "Implement MediaRecorder backend in GPUProcess"
164         https://bugs.webkit.org/show_bug.cgi?id=205802
165         https://trac.webkit.org/changeset/254132
166
167 2020-01-07  youenn fablet  <youenn@apple.com>
168
169         Implement MediaRecorder backend in GPUProcess
170         https://bugs.webkit.org/show_bug.cgi?id=205802
171
172         Reviewed by Eric Carlson.
173
174         * WebView/WebView.mm:
175         (-[WebView _commonInitializationWithFrameName:groupName:]):
176         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
177
178 2020-01-07  Carlos Garcia Campos  <cgarcia@igalia.com>
179
180         [GTK][WPE] Add API to set purpose and hints of active editable element to input methods
181         https://bugs.webkit.org/show_bug.cgi?id=205605
182
183         Reviewed by Žan Doberšek.
184
185         * DOM/DOMHTMLElement.mm: Use ENABLE(AUTOCORRECT) and ENABLE(AUTOCAPITALIZE).
186         * WebCoreSupport/WebEditorClient.h: Update tom the new API to WebEditorClient::setInputMethodState.
187         * WebCoreSupport/WebEditorClient.mm:
188         (WebEditorClient::setInputMethodState): Ditto.
189
190 2020-01-07  Chris Fleizach  <cfleizach@apple.com>
191
192         AX: Enable ACCESSIBILITY_ISOLATED_TREE
193         https://bugs.webkit.org/show_bug.cgi?id=205535
194         <rdar://problem/58131075>
195
196         Reviewed by Zalan Bujtas.
197
198         * Configurations/FeatureDefines.xcconfig:
199
200 2020-01-06  Mark Lam  <mark.lam@apple.com>
201
202         Convert ASSERT_DISABLED to ASSERT_ENABLED, and fix some tests of NDEBUG that should actually test for ASSERT_ENABLED.
203         https://bugs.webkit.org/show_bug.cgi?id=205776
204
205         Reviewed by Saam Barati.
206
207         * History/WebHistory.mm:
208         (-[WebHistoryPrivate removeItemForURLString:]):
209         * WebView/WebFrame.mm:
210
211 2020-01-06  Antoine Quint  <graouts@apple.com>
212
213         [Web Animations] Enable CSS Animations via Web Animations for WebKitLegacy
214         https://bugs.webkit.org/show_bug.cgi?id=205791
215
216         Reviewed by Dean Jackson.
217
218         It was an oversight that it had not been done along with the WebKit change.
219
220         * WebView/WebPreferences.mm:
221         (+[WebPreferences initialize]):
222
223 2020-01-05  Simon Fraser  <simon.fraser@apple.com>
224
225         Fix a souce of WebKit1 test flakiness
226         https://bugs.webkit.org/show_bug.cgi?id=205761
227
228         Reviewed by Darin Adler.
229
230         Some animation tests (and possibly many others) are flakey or broken in WK1 because
231         there was no code to guarantee that Page::updateRendering() was called at notifyDone()
232         time.
233         
234         WK2 calls DrawingArea::forceRepaint(), which does updateRendering(), flushes layers,
235         and flushes a CATransaction.
236
237         In WK1, we historically relied in AppKit to call -viewWillDraw on WebView and/or WebHTMLView,
238         and just called [webView display] to make this happen. However, with layer backing, AppKit behavior
239         changes, and WebCore changes that make more things happen with HTML event loop timing, this
240         approach no longer works. The fix is to add WebView SPI, _forceRepaintForTesting, which emulates what
241         WK2 is doing.
242
243         * WebView/WebView.mm:
244         (-[WebView _forceRepaintForTesting]):
245         * WebView/WebViewPrivate.h:
246
247 2020-01-03  Chris Dumez  <cdumez@apple.com>
248
249         Add support for DragEvent
250         https://bugs.webkit.org/show_bug.cgi?id=205758
251
252         Reviewed by Darin Adler.
253
254         * WebView/WebPDFView.mm:
255         (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
256
257 2020-01-03  Yusuke Suzuki  <ysuzuki@apple.com>
258
259         Put more WebCore/WebKit JS objects into IsoSubspace
260         https://bugs.webkit.org/show_bug.cgi?id=205711
261
262         Reviewed by Keith Miller.
263
264         * Plugins/Hosted/ProxyInstance.mm:
265         (WebKit::ProxyInstance::getMethod):
266         (WebKit::ProxyRuntimeMethod::create): Deleted.
267         (WebKit::ProxyRuntimeMethod::createStructure): Deleted.
268         (WebKit::ProxyRuntimeMethod::ProxyRuntimeMethod): Deleted.
269         (WebKit::ProxyRuntimeMethod::finishCreation): Deleted.
270         * Plugins/Hosted/ProxyRuntimeObject.h:
271         (WebKit::ProxyRuntimeObject::create): Deleted.
272         (WebKit::ProxyRuntimeObject::createStructure): Deleted.
273
274 2020-01-03  Chris Dumez  <cdumez@apple.com>
275
276         Align XPathEvaluator.createNSResolver() / XPathResult.snapshotItem() with the specification
277         https://bugs.webkit.org/show_bug.cgi?id=205699
278
279         Reviewed by Alex Christensen.
280
281         * DOM/DOMDocument.mm:
282         (-[DOMDocument createNSResolver:]):
283
284 2019-12-22  Jeff Miller  <jeffm@apple.com>
285
286         Update user-visible copyright strings to include 2020
287         https://bugs.webkit.org/show_bug.cgi?id=205552
288
289         Reviewed by Darin Adler.
290
291         * Info.plist:
292
293 2019-12-20  Brian Burg  <bburg@apple.com>
294
295         Web Inspector: convert some InspectorFrontendHost methods to getters
296         https://bugs.webkit.org/show_bug.cgi?id=205475
297
298         Reviewed by Devin Rousso.
299
300         * WebCoreSupport/WebInspectorClient.h:
301         * WebCoreSupport/WebInspectorClient.mm:
302         (WebInspectorFrontendClient::localizedStringsURL const):
303         (WebInspectorFrontendClient::localizedStringsURL): Deleted.
304
305 2019-12-20  Alex Christensen  <achristensen@webkit.org>
306
307         Allow a managed configuration to re-enable TLS 1.0 and 1.1
308         https://bugs.webkit.org/show_bug.cgi?id=205479
309         <rdar://problem/54493516>
310
311         Reviewed by Geoffrey Garen.
312
313         * WebView/WebView.mm:
314         (-[WebView _commonInitializationWithFrameName:groupName:]):
315
316 2019-12-17  Kate Cheney  <katherine_cheney@apple.com>
317
318         Add run-time flag for in-app browser privacy
319         https://bugs.webkit.org/show_bug.cgi?id=205288
320         <rdar://problem/57569206>
321
322         Reviewed by John Wilander.
323
324         * WebView/WebPreferenceKeysPrivate.h:
325         * WebView/WebPreferences.mm:
326         (+[WebPreferences initialize]):
327         (-[WebPreferences isInAppBrowserPrivacyEnabled]):
328         (-[WebPreferences setInAppBrowserPrivacyEnabled:]):
329         * WebView/WebPreferencesPrivate.h:
330         * WebView/WebView.mm:
331         (-[WebView _preferencesChanged:]):
332
333 2019-12-16  Simon Fraser  <simon.fraser@apple.com>
334
335         Change 'delegatesPageScaling' from a Setting to a flag on ScrollView
336         https://bugs.webkit.org/show_bug.cgi?id=205319
337
338         Reviewed by Tim Horton.
339
340         delegatesPageScaling() is never toggled at runtime (even by tests), and it should
341         be a flag on FrameView just like delegatesScrolling (maybe in future the flags can merge).
342
343         So remove the Setting, and have DrawingArea control whether page scaling is delegated.
344         
345         In WebKit1, WebFrameLoaderClient::transitionToCommittedForNewPage() turns on delegated
346         page scaling for iOS.
347
348         * WebCoreSupport/WebFrameLoaderClient.mm:
349         (WebFrameLoaderClient::transitionToCommittedForNewPage):
350         * WebView/WebView.mm:
351         (-[WebView _preferencesChanged:]):
352
353 2019-12-16  Antti Koivisto  <antti@apple.com>
354
355         Remove display:contents feature flag
356         https://bugs.webkit.org/show_bug.cgi?id=205276
357
358         Reviewed by Ryosuke Niwa.
359
360         * WebView/WebPreferenceKeysPrivate.h:
361         * WebView/WebPreferences.mm:
362         (+[WebPreferences initialize]):
363         (-[WebPreferences displayContentsEnabled]): Deleted.
364         (-[WebPreferences setDisplayContentsEnabled:]): Deleted.
365         * WebView/WebPreferencesPrivate.h:
366         * WebView/WebView.mm:
367         (-[WebView _preferencesChanged:]):
368
369 2019-12-14  David Kilzer  <ddkilzer@apple.com>
370
371         Add release assert for selectedIndex in WebKit::WebPopupMenu::show()
372         <https://webkit.org/b/205223>
373         <rdar://problem/57929078>
374
375         Reviewed by Wenson Hsieh.
376
377         * WebCoreSupport/PopupMenuMac.h:
378         (PopupMenuMac::show):
379         - Rename `index` parameter to `selectedIndex`.
380         * WebCoreSupport/PopupMenuMac.mm:
381         (PopupMenuMac::show):
382         - Rename `index` parameter to `selectedIndex`.
383
384 2019-12-13  Brady Eidson  <beidson@apple.com>
385
386         Refactor ScriptController's proliferation of ExceptionDetails*.
387         https://bugs.webkit.org/show_bug.cgi?id=205151
388
389         Reviewed by Alex Christensen.
390
391         * WebCoreSupport/WebInspectorClient.mm:
392         (WebInspectorFrontendClient::save):
393         (WebInspectorFrontendClient::append):
394         
395         * WebView/WebFrame.mm:
396         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
397         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
398
399         * WebView/WebView.mm:
400         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
401
402 2019-12-12  David Kilzer  <ddkilzer@apple.com>
403
404         REGRESSION (r229930, r231063): WebKitLegacy.xcconfig overwrites OTHER_CFLAGS, OTHER_CPLUSPLUSFLAGS and OTHER_LDFLAGS from Base.xcconfig
405         <https://webkit.org/b/205144>
406
407         Reviewed by Alexey Proskuryakov.
408
409         * Configurations/WebKitLegacy.xcconfig:
410         (OTHER_CFLAGS): Add back $(inherited) to fix the bug.
411         (OTHER_CFLAGS_COCOA_TOUCH): Add variable to hold value.
412         (OTHER_CFLAGS_COCOA_TOUCH_YES): Remove unused $(inherited).
413         (OTHER_CFLAGS_COCOA_TOUCH_NO): Ditto.
414         (OTHER_CPLUSPLUSFLAGS): Add back $(inherited) to fix the
415         bug, and don't assume $(OTHER_CFLAGS) is identical to this.
416         (OTHER_LDFLAGS): Add back $(inherited) to fix the bug.
417
418 2019-12-09  Eric Carlson  <eric.carlson@apple.com>
419
420         Rename media in the GPU process preference
421         https://bugs.webkit.org/show_bug.cgi?id=205013
422         <rdar://problem/57755319>
423
424         Reviewed by Tim Horton.
425
426         * WebView/WebPreferenceKeysPrivate.h:
427         * WebView/WebPreferences.mm:
428         (+[WebPreferences initialize]):
429         (-[WebPreferences useGPUProcessForMedia]):
430         (-[WebPreferences setUseGPUProcessForMedia:]):
431         (-[WebPreferences outOfProcessMediaEnabled]): Deleted.
432         (-[WebPreferences setOutOfProcessMediaEnabled:]): Deleted.
433         * WebView/WebPreferencesPrivate.h:
434         * WebView/WebView.mm:
435         (-[WebView _preferencesChanged:]):
436
437 2019-12-09  Alex Christensen  <achristensen@webkit.org>
438
439         Re-disable TLS1.0 and TLS1.1 by default
440         https://bugs.webkit.org/show_bug.cgi?id=204922
441         <rdar://problem/57677752>
442
443         Reviewed by Youenn Fablet.
444
445         * WebView/WebView.mm:
446         (-[WebView _commonInitializationWithFrameName:groupName:]):
447
448 2019-12-07  Tim Horton  <timothy_horton@apple.com>
449
450         Implement encoding for DrawImage and DrawRoundedRect display list items
451         https://bugs.webkit.org/show_bug.cgi?id=204881
452
453         Reviewed by Simon Fraser.
454
455         * WebView/WebPreferences.mm:
456         (+[WebPreferences initialize]):
457
458 2019-12-06  Commit Queue  <commit-queue@webkit.org>
459
460         Unreviewed, rolling out r253218.
461         https://bugs.webkit.org/show_bug.cgi?id=204968
462
463         Broke the build (Requested by ap on #webkit).
464
465         Reverted changeset:
466
467         "Remove various .order files."
468         https://bugs.webkit.org/show_bug.cgi?id=204959
469         https://trac.webkit.org/changeset/253218
470
471 2019-12-06  Keith Miller  <keith_miller@apple.com>
472
473         Remove various .order files.
474         https://bugs.webkit.org/show_bug.cgi?id=204959
475
476         Reviewed by Yusuke Suzuki.
477
478         These files are all super out of date and likely don't do anything anymore.
479         The signatures of the functions have changed thus the mangled name has changed.
480
481         * WebKit.order: Removed.
482
483 2019-12-05  Chris Dumez  <cdumez@apple.com>
484
485         PageConfiguration::dragClient should use a smart pointer
486         https://bugs.webkit.org/show_bug.cgi?id=204816
487
488         Reviewed by Alex Christensen.
489
490         * WebView/WebView.mm:
491         (-[WebView _commonInitializationWithFrameName:groupName:]):
492         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
493
494 2019-12-04  Chris Dumez  <cdumez@apple.com>
495
496         PageConfiguration::progressTrackerClient should use a smart pointer
497         https://bugs.webkit.org/show_bug.cgi?id=204854
498
499         Reviewed by Alex Christensen.
500
501         * WebCoreSupport/WebProgressTrackerClient.h:
502         * WebCoreSupport/WebProgressTrackerClient.mm:
503         (WebProgressTrackerClient::progressTrackerDestroyed): Deleted.
504         * WebView/WebView.mm:
505         (-[WebView _commonInitializationWithFrameName:groupName:]):
506         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
507
508 2019-12-04  Tim Horton  <timothy_horton@apple.com>
509
510         Introduce a GPU process
511         https://bugs.webkit.org/show_bug.cgi?id=204343
512
513         Reviewed by Simon Fraser.
514
515         * Configurations/FeatureDefines.xcconfig:
516
517 2019-12-03  Megan Gardner  <megan_gardner@apple.com>
518
519         Add disabled highlight API skeleton
520         https://bugs.webkit.org/show_bug.cgi?id=204809
521
522         Reviewed by Ryosuke Niwa.
523
524         * WebView/WebPreferenceKeysPrivate.h:
525         * WebView/WebPreferences.mm:
526         (+[WebPreferences initialize]):
527         (-[WebPreferences highlightAPIEnabled]):
528         (-[WebPreferences setHighlightAPIEnabled:]):
529         * WebView/WebPreferencesPrivate.h:
530         * WebView/WebView.mm:
531         (-[WebView _preferencesChanged:]):
532
533 2019-12-03  Eric Carlson  <eric.carlson@apple.com>
534
535         Add a runtime setting for media in the GPU process
536         https://bugs.webkit.org/show_bug.cgi?id=204801
537         <rdar://problem/57596199>
538
539         Reviewed by Jer Noble.
540
541         * WebView/WebPreferenceKeysPrivate.h:
542         * WebView/WebPreferences.mm:
543         (+[WebPreferences initialize]):
544         (-[WebPreferences outOfProcessMediaEnabled]):
545         (-[WebPreferences setOutOfProcessMediaEnabled:]):
546         * WebView/WebPreferencesPrivate.h:
547         * WebView/WebView.mm:
548         (-[WebView _preferencesChanged:]):
549
550 2019-12-03  Antoine Quint  <graouts@apple.com>
551
552         [Web Animations] Add a runtime flag for Web Animations composite operations
553         https://bugs.webkit.org/show_bug.cgi?id=204718
554
555         Reviewed by Dean Jackson.
556
557         * WebView/WebPreferenceKeysPrivate.h:
558         * WebView/WebPreferences.mm:
559         (-[WebPreferences webAnimationsCompositeOperationsEnabled]):
560         (-[WebPreferences setWebAnimationsCompositeOperationsEnabled:]):
561         * WebView/WebPreferencesPrivate.h:
562         * WebView/WebView.mm:
563         (-[WebView _preferencesChanged:]):
564
565 2019-12-03  Chris Dumez  <cdumez@apple.com>
566
567         PageConfiguration::alternativeTextClient should use a smart pointer
568         https://bugs.webkit.org/show_bug.cgi?id=204777
569
570         Reviewed by Anders Carlsson.
571
572         * WebCoreSupport/WebAlternativeTextClient.h:
573         * WebCoreSupport/WebAlternativeTextClient.mm:
574         (WebAlternativeTextClient::pageDestroyed): Deleted.
575         * WebView/WebView.mm:
576         (-[WebView _commonInitializationWithFrameName:groupName:]):
577
578 2019-12-03  Carlos Garcia Campos  <cgarcia@igalia.com>
579
580         [PSON] Tooltips from previous page shown on new page
581         https://bugs.webkit.org/show_bug.cgi?id=204735
582
583         Reviewed by Chris Dumez.
584
585         Update to the new ChromeClient API.
586
587         * WebCoreSupport/WebChromeClient.h:
588         * WebCoreSupport/WebChromeClient.mm:
589         (WebChromeClient::mouseDidMoveOverElement):
590         (WebChromeClient::setToolTip):
591
592 2019-11-28  Fujii Hironori  <Hironori.Fujii@sony.com>
593
594         Remove ENABLE_KEYBOARD_CODE_ATTRIBUTE and ENABLE_KEYBOARD_KEY_ATTRIBUTE macros
595         https://bugs.webkit.org/show_bug.cgi?id=204666
596
597         Reviewed by Ross Kirsling and Don Olmstead.
598
599         * Configurations/FeatureDefines.xcconfig:
600
601 2019-11-26  Chris Dumez  <cdumez@apple.com>
602
603         Drop ActiveDOMObject::shouldPreventEnteringBackForwardCache_DEPRECATED()
604         https://bugs.webkit.org/show_bug.cgi?id=204626
605
606         Reviewed by Ryosuke Niwa.
607
608         * WebView/WebFrame.mm:
609         (-[WebFrame _cacheabilityDictionary]):
610
611 2019-11-21  Daniel Bates  <dabates@apple.com>
612
613         Remove unneeded code that annotated DOMHTMLElement as conforming to UITextInputTraits protocol
614         https://bugs.webkit.org/show_bug.cgi?id=204464
615
616         Reviewed by Wenson Hsieh.
617
618         DOMHTMLElement never really conformed to the UITextInputTraits protocol. It was annotated as doing so
619         in order to register with the runtime as part of advertising that it implemented two UITextInputTraits_Private
620         messages in r222487: -acceptsAutofilledLoginCredentials and -representingPageURL. These messages were
621         subsequently removed in r222991 (over years ago). So, we do not need to continue advertising UITextInputTraits
622         conformance.
623
624         * DOM/DOMHTMLInputElement.h:
625
626 2019-11-15  Eric Carlson  <eric.carlson@apple.com>
627
628         Don't use AVCapture on watchOS and tvOS
629         https://bugs.webkit.org/show_bug.cgi?id=204254
630         <rdar://problem/45508044>
631
632         Reviewed by Youenn Fablet.
633
634         * Configurations/FeatureDefines.xcconfig:
635
636 2019-11-15  Myles C. Maxfield  <mmaxfield@apple.com>
637
638         [Apple] Enable variation fonts on all Apple platforms
639         https://bugs.webkit.org/show_bug.cgi?id=198100
640
641         Reviewed by Simon Fraser.
642
643         * Configurations/FeatureDefines.xcconfig:
644
645 2019-11-13  Myles C. Maxfield  <mmaxfield@apple.com>
646
647         [Mac] Fix build
648         https://bugs.webkit.org/show_bug.cgi?id=204136
649
650         Reviewed by Alex Christensen.
651
652         Remove deprecation warnings.
653
654         * Plugins/WebPluginController.mm:
655         (-[WebPluginController webPlugInContainerSelectionColor]):
656         * WebCoreSupport/WebFrameLoaderClient.mm:
657         (WebFrameLoaderClient::setCopiesOnScroll):
658         * WebView/WebHTMLView.mm:
659         (-[WebHTMLView view:stringForToolTip:point:userData:]):
660         (-[WebHTMLView pasteboardChangedOwner:]):
661         (-[WebHTMLView pasteboard:provideDataForType:]):
662         (-[WebHTMLView changeFont:]):
663         (-[WebHTMLView changeColor:]):
664         * WebView/WebPDFView.mm:
665         (-[WebPDFView _openWithFinder:]):
666
667 2019-11-08  Daniel Bates  <dabates@apple.com>
668
669         Add WebKit Legacy SPI to retrieve editable elements in rect
670         https://bugs.webkit.org/show_bug.cgi?id=204006
671         <rdar://problem/57024093>
672
673         Reviewed by Wenson Hsieh.
674
675         Add SPI to retrieve all the editable elements in a rect.
676
677         * WebView/WebView.mm:
678         (-[WebView _editableElementsInRect:]): Added.
679         * WebView/WebViewPrivate.h:
680
681 2019-11-04  Alex Christensen  <achristensen@webkit.org>
682
683         REGRESSION(r243947) Epson software updater fails to install new version
684         https://bugs.webkit.org/show_bug.cgi?id=203809
685         <rdar://problem/56002179>
686
687         Reviewed by Brady Eidson.
688
689         * Misc/WebDownload.mm:
690         (shouldCallOnNetworkThread):
691         (callOnDelegateThread):
692         (isDelegateThread):
693         (-[WebDownloadInternal downloadDidBegin:]):
694         (-[WebDownloadInternal download:willSendRequest:redirectResponse:]):
695         (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]):
696         (-[WebDownloadInternal download:didReceiveResponse:]):
697         (-[WebDownloadInternal download:didReceiveDataOfLength:]):
698         (-[WebDownloadInternal download:shouldDecodeSourceDataOfMIMEType:]):
699         (-[WebDownloadInternal download:decideDestinationWithSuggestedFilename:]):
700         (-[WebDownloadInternal download:didCreateDestination:]):
701         (-[WebDownloadInternal downloadDidFinish:]):
702         (-[WebDownloadInternal download:didFailWithError:]):
703
704 2019-11-02  Devin Rousso  <drousso@apple.com>
705
706         Web Inspector: Add diagnostic logging for frontend feature usage
707         https://bugs.webkit.org/show_bug.cgi?id=203579
708         <rdar://problem/56717410>
709
710         Reviewed by Brian Burg.
711
712         Original patch by Matt Baker <mattbaker@apple.com>.
713
714         * WebCoreSupport/WebInspectorClient.h:
715         * WebCoreSupport/WebInspectorClient.mm:
716         (WebInspectorFrontendClient::supportsDiagnosticLogging): Added.
717         (WebInspectorFrontendClient::logDiagnosticEvent): Added.
718
719         * Configurations/FeatureDefines.xcconfig:
720         Add `ENABLE_INSPECTOR_TELEMETRY`, which is only enabled for macOS.
721
722 2019-10-30  Peng Liu  <peng.liu6@apple.com>
723
724         [Picture-in-Picture Web API] Enable the support for iOS
725         https://bugs.webkit.org/show_bug.cgi?id=202618
726
727         Reviewed by Jer Noble.
728
729         Enable the Picture-in-Picture API support for iOS (iPad only).
730
731         * Configurations/FeatureDefines.xcconfig:
732
733 2019-10-29  Andy Estes  <aestes@apple.com>
734
735         [Quick Look] Clean up LegacyPreviewLoaderClients
736         https://bugs.webkit.org/show_bug.cgi?id=203472
737
738         Reviewed by Brady Eidson.
739
740         * WebCoreSupport/WebFrameLoaderClient.mm:
741         (WebFrameLoaderClient::createPreviewLoaderClient):
742
743 2019-10-26  Chris Lord  <clord@igalia.com>
744
745         Put OffscreenCanvas behind a build flag
746         https://bugs.webkit.org/show_bug.cgi?id=203146
747
748         Reviewed by Ryosuke Niwa.
749
750         * Configurations/FeatureDefines.xcconfig:
751
752 2019-10-23  Andy Estes  <aestes@apple.com>
753
754         [Quick Look] Rename PreviewLoader{,Client} to LegacyPreviewLoader{,Client}
755         https://bugs.webkit.org/show_bug.cgi?id=203306
756
757         Reviewed by Tim Horton.
758
759         * WebCoreSupport/WebFrameLoaderClient.h:
760         * WebCoreSupport/WebFrameLoaderClient.mm:
761         (WebFrameLoaderClient::createPreviewLoaderClient):
762         * WebView/WebDataSource.mm:
763         (-[WebDataSource _quickLookPreviewLoaderClient]):
764         (-[WebDataSource _setQuickLookPreviewLoaderClient:]):
765         * WebView/WebDataSourceInternal.h:
766
767 2019-10-22  Alex Christensen  <achristensen@webkit.org>
768
769         Re-enable legacy TLS by default, keep runtime switch
770         https://bugs.webkit.org/show_bug.cgi?id=203253
771
772         Reviewed by Geoffrey Garen.
773
774         * WebView/WebView.mm:
775         (-[WebView _commonInitializationWithFrameName:groupName:]):
776
777 2019-10-21  Yusuke Suzuki  <ysuzuki@apple.com>
778
779         [JSC] Thread JSGlobalObject* instead of ExecState*
780         https://bugs.webkit.org/show_bug.cgi?id=202392
781
782         Reviewed by Geoffrey Garen.
783
784         * DOM/DOMInternal.mm:
785         (-[WebScriptObject _initializeScriptDOMNodeImp]):
786         * DOM/WebDOMOperations.mm:
787         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
788         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
789         (WebKit::NetscapePluginInstanceProxy::evaluate):
790         (WebKit::NetscapePluginInstanceProxy::invoke):
791         (WebKit::NetscapePluginInstanceProxy::invokeDefault):
792         (WebKit::NetscapePluginInstanceProxy::construct):
793         (WebKit::NetscapePluginInstanceProxy::getProperty):
794         (WebKit::NetscapePluginInstanceProxy::setProperty):
795         (WebKit::NetscapePluginInstanceProxy::removeProperty):
796         (WebKit::NetscapePluginInstanceProxy::hasProperty):
797         (WebKit::NetscapePluginInstanceProxy::hasMethod):
798         (WebKit::NetscapePluginInstanceProxy::enumerate):
799         (WebKit::NetscapePluginInstanceProxy::addValueToArray):
800         (WebKit::NetscapePluginInstanceProxy::marshalValue):
801         (WebKit::NetscapePluginInstanceProxy::marshalValues):
802         (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):
803         (WebKit::NetscapePluginInstanceProxy::demarshalValue):
804         (WebKit::NetscapePluginInstanceProxy::demarshalValues):
805         (WebKit::NetscapePluginInstanceProxy::moveGlobalExceptionToExecState):
806         * Plugins/Hosted/ProxyInstance.h:
807         * Plugins/Hosted/ProxyInstance.mm:
808         (WebKit::ProxyField::valueFromInstance const):
809         (WebKit::ProxyField::setValueToInstance const):
810         (WebKit::ProxyInstance::newRuntimeObject):
811         (WebKit::ProxyInstance::invoke):
812         (WebKit::ProxyRuntimeMethod::create):
813         (WebKit::ProxyInstance::getMethod):
814         (WebKit::ProxyInstance::invokeMethod):
815         (WebKit::ProxyInstance::invokeDefaultMethod):
816         (WebKit::ProxyInstance::invokeConstruct):
817         (WebKit::ProxyInstance::defaultValue const):
818         (WebKit::ProxyInstance::stringValue const):
819         (WebKit::ProxyInstance::numberValue const):
820         (WebKit::ProxyInstance::valueOf const):
821         (WebKit::ProxyInstance::getPropertyNames):
822         (WebKit::ProxyInstance::fieldValue const):
823         (WebKit::ProxyInstance::setFieldValue const):
824         * WebView/WebFrame.mm:
825         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
826         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
827         (-[WebFrame _globalContextForScriptWorld:]):
828         (-[WebFrame jsWrapperForNode:inScriptWorld:]):
829         (-[WebFrame globalContext]):
830         * WebView/WebScriptDebugger.h:
831         * WebView/WebScriptDebugger.mm:
832         (WebScriptDebugger::sourceParsed):
833         * WebView/WebView.mm:
834         (+[WebView _reportException:inContext:]):
835         (aeDescFromJSValue):
836         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
837
838 2019-10-22  Wenson Hsieh  <wenson_hsieh@apple.com>
839
840         imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https.html is flaky
841         https://bugs.webkit.org/show_bug.cgi?id=203181
842
843         Reviewed by Ryosuke Niwa.
844
845         Add a changeCount argument to informationForItemAtIndex and allPasteboardItemInfo, and also make then return
846         optional values. See WebCore ChangeLog for more details.
847
848         * WebCoreSupport/WebPlatformStrategies.h:
849         * WebCoreSupport/WebPlatformStrategies.mm:
850         (WebPlatformStrategies::changeCount):
851         (WebPlatformStrategies::addTypes):
852         (WebPlatformStrategies::setTypes):
853         (WebPlatformStrategies::setBufferForType):
854         (WebPlatformStrategies::setURL):
855         (WebPlatformStrategies::setColor):
856         (WebPlatformStrategies::setStringForType):
857         (WebPlatformStrategies::writeCustomData):
858         (WebPlatformStrategies::informationForItemAtIndex):
859         (WebPlatformStrategies::allPasteboardItemInfo):
860
861 2019-10-17  Devin Rousso  <drousso@apple.com>
862
863         Web Inspector: rework frontend agent construction to allow commands/events to be controlled by the related target's type
864         https://bugs.webkit.org/show_bug.cgi?id=200384
865         <rdar://problem/53850352>
866
867         Reviewed by Joseph Pecoraro.
868
869         * WebCoreSupport/WebInspectorClient.h:
870         (WebInspectorFrontendClient::debuggableType const): Added.
871         Split the `Web` debuggable type into `Page` (WebCore::Page) and `WebPage` (WebKit::WebPageProxy).
872
873 2019-10-16  Chris Dumez  <cdumez@apple.com>
874
875         Unreviewed, fix iOS Debug build after r251220.
876
877         * WebView/WebView.mm:
878         (-[WebView _preferencesChanged:]):
879
880 2019-10-16  Chris Dumez  <cdumez@apple.com>
881
882         Rename PageCache to BackForwardCache
883         https://bugs.webkit.org/show_bug.cgi?id=203048
884
885         Reviewed by Alex Christensen.
886
887         Rename PageCache to BackForwardCache for clarity and consistency with the UIProcess's WebBackForwardCache.
888
889         * History/BackForwardList.mm:
890         (BackForwardList::addItem):
891         (BackForwardList::setCapacity):
892         * History/WebBackForwardList.mm:
893         (-[WebBackForwardList pageCacheSize]):
894         * History/WebHistoryItem.mm:
895         * History/WebHistoryItemPrivate.h:
896         * Misc/WebCache.mm:
897         * Misc/WebCoreStatistics.mm:
898         (+[WebCoreStatistics cachedPageCount]):
899         (+[WebCoreStatistics cachedFrameCount]):
900         * WebCoreSupport/WebFrameLoaderClient.h:
901         * WebCoreSupport/WebFrameLoaderClient.mm:
902         (WebFrameLoaderClient::forceLayoutOnRestoreFromBackForwardCache):
903         (WebFrameLoaderClient::didRestoreFromBackForwardCache):
904         * WebCoreSupport/WebVisitedLinkStore.mm:
905         * WebView/WebHTMLView.mm:
906         (-[WebHTMLView layoutToMinimumPageWidth:height:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustingViewSize:]):
907         (-[WebHTMLView setNeedsLayout:]):
908         (-[WebHTMLView setNeedsToApplyStyles:]):
909         * WebView/WebView.mm:
910         (-[WebView _close]):
911         (-[WebView _preferencesChanged:]):
912         (+[WebView _setCacheModel:]):
913
914 2019-10-16  Chris Dumez  <cdumez@apple.com>
915
916         [WK2] Move back/forward cache entry expiration from the WebProcess to the UIProcess
917         https://bugs.webkit.org/show_bug.cgi?id=203034
918         <rdar://problem/56332453>
919
920         Reviewed by Antti Koivisto.
921
922         * WebView/WebView.mm:
923         (-[WebView _preferencesChanged:]):
924
925 2019-10-15  Chris Dumez  <cdumez@apple.com>
926
927         [macOS] Simplify main thread initialization
928         https://bugs.webkit.org/show_bug.cgi?id=203001
929
930         Reviewed by Geoff Garen.
931
932         * History/WebBackForwardList.mm:
933         (+[WebBackForwardList initialize]):
934         * History/WebHistoryItem.mm:
935         (+[WebHistoryItem initialize]):
936         * Misc/WebCache.mm:
937         (+[WebCache initialize]):
938         * Misc/WebElementDictionary.mm:
939         (+[WebElementDictionary initialize]):
940         * Misc/WebIconDatabase.mm:
941         * Misc/WebStringTruncator.mm:
942         (+[WebStringTruncator initialize]):
943         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
944         (+[WebHostedNetscapePluginView initialize]):
945         * Plugins/WebBaseNetscapePluginView.mm:
946         * Plugins/WebBasePluginPackage.mm:
947         (+[WebBasePluginPackage initialize]):
948         * Plugins/WebNetscapePluginView.mm:
949         (+[WebNetscapePluginView initialize]):
950         * WebCoreSupport/WebEditorClient.mm:
951         (+[WebUndoStep initialize]):
952         * WebCoreSupport/WebFrameLoaderClient.mm:
953         (+[WebFramePolicyListener initialize]):
954         * WebView/WebArchive.mm:
955         (+[WebArchivePrivate initialize]):
956         * WebView/WebDataSource.mm:
957         (+[WebDataSource initialize]):
958         * WebView/WebHTMLView.mm:
959         (+[WebHTMLViewPrivate initialize]):
960         (+[WebHTMLView initialize]):
961         * WebView/WebPreferences.mm:
962         (+[WebPreferences initialize]):
963         * WebView/WebResource.mm:
964         (+[WebResourcePrivate initialize]):
965         * WebView/WebTextIterator.mm:
966         (+[WebTextIteratorPrivate initialize]):
967         * WebView/WebView.mm:
968         (+[WebView initialize]):
969         * WebView/WebViewData.mm:
970         (+[WebViewPrivate initialize]):
971
972 2019-10-15  Peng Liu  <peng.liu6@apple.com>
973
974         [Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture()
975         https://bugs.webkit.org/show_bug.cgi?id=201024
976
977         Reviewed by Eric Carlson.
978
979         Add configurations for Picture-in-Picture API and also a preference option for it.
980
981         * Configurations/FeatureDefines.xcconfig:
982         * WebView/WebPreferenceKeysPrivate.h:
983         * WebView/WebPreferences.mm:
984         (+[WebPreferences initialize]):
985         (-[WebPreferences pictureInPictureAPIEnabled]):
986         (-[WebPreferences setPictureInPictureAPIEnabled:]):
987         * WebView/WebPreferencesPrivate.h:
988         * WebView/WebView.mm:
989         (-[WebView _preferencesChanged:]):
990
991 2019-10-14  Chris Dumez  <cdumez@apple.com>
992
993         [WK2] Have WebBackForwardCache class coordinate page caching in all WebProcesses
994         https://bugs.webkit.org/show_bug.cgi?id=202929
995         <rdar://problem/56250421>
996
997         Reviewed by Alex Christensen.
998
999         * WebCoreSupport/WebFrameLoaderClient.h:
1000         * WebCoreSupport/WebFrameLoaderClient.mm:
1001
1002 2019-10-14  Wenson Hsieh  <wenson_hsieh@apple.com>
1003
1004         [Clipboard API] Refactor custom pasteboard writing codepaths to handle multiple items
1005         https://bugs.webkit.org/show_bug.cgi?id=202916
1006
1007         Reviewed by Tim Horton.
1008
1009         Adjust some method signatures.
1010
1011         * WebCoreSupport/WebPlatformStrategies.h:
1012         * WebCoreSupport/WebPlatformStrategies.mm:
1013         (WebPlatformStrategies::writeCustomData):
1014
1015 2019-10-14  David Quesada  <david_quesada@apple.com>
1016
1017         Remove WebCore::IOSApplication::isWebApp()
1018         https://bugs.webkit.org/show_bug.cgi?id=181259
1019
1020         Reviewed by Alex Christensen.
1021
1022         * WebCoreSupport/WebApplicationCache.mm:
1023         (applicationCacheBundleIdentifier):
1024
1025 2019-10-14  Wenson Hsieh  <wenson_hsieh@apple.com>
1026
1027         [Clipboard API] Support writing multiple PasteboardCustomData with SharedBuffers to the pasteboard
1028         https://bugs.webkit.org/show_bug.cgi?id=202851
1029
1030         Reviewed by Darin Adler.
1031
1032         See WebCore ChangeLog for more details.
1033
1034         * WebCoreSupport/WebPlatformStrategies.h:
1035
1036 2019-10-09  Wenson Hsieh  <wenson_hsieh@apple.com>
1037
1038         [Clipboard API] Refactor Pasteboard item reading functions to work on both iOS and macOS
1039         https://bugs.webkit.org/show_bug.cgi?id=202647
1040
1041         Reviewed by Tim Horton.
1042
1043         Refactor iOS-specific pasteboard functions to be platform-agnostic. See WebCore ChangeLog for more details.
1044
1045         * WebCoreSupport/WebPlatformStrategies.h:
1046         * WebCoreSupport/WebPlatformStrategies.mm:
1047         (WebPlatformStrategies::informationForItemAtIndex):
1048         (WebPlatformStrategies::allPasteboardItemInfo):
1049         (WebPlatformStrategies::getPasteboardItemsCount):
1050         (WebPlatformStrategies::readBufferFromPasteboard):
1051         (WebPlatformStrategies::readURLFromPasteboard):
1052         (WebPlatformStrategies::readStringFromPasteboard):
1053         (WebPlatformStrategies::writeToPasteboard):
1054         (WebPlatformStrategies::updateSupportedTypeIdentifiers):
1055
1056 2019-10-08  Antti Koivisto  <antti@apple.com>
1057
1058         [CSS Shadow Parts] Enable by default
1059         https://bugs.webkit.org/show_bug.cgi?id=202644
1060
1061         Reviewed by Ryosuke Niwa.
1062
1063         * WebView/WebPreferences.mm:
1064         (+[WebPreferences initialize]):
1065
1066 2019-10-07  Ryosuke Niwa  <rniwa@webkit.org>
1067
1068         Add IDL for requestIdleCallback
1069         https://bugs.webkit.org/show_bug.cgi?id=202653
1070
1071         Reviewed by Geoffrey Garen.
1072
1073         * WebView/WebPreferenceKeysPrivate.h:
1074         * WebView/WebPreferences.mm:
1075         (+[WebPreferences initialize]):
1076         * WebView/WebPreferencesPrivate.h:
1077         * WebView/WebView.mm:
1078         (-[WebView _preferencesChanged:]):
1079
1080 2019-10-07  Yusuke Suzuki  <ysuzuki@apple.com>
1081
1082         [JSC] Change signature of HostFunction to (JSGlobalObject*, CallFrame*)
1083         https://bugs.webkit.org/show_bug.cgi?id=202569
1084
1085         Reviewed by Saam Barati.
1086
1087         * WebView/WebScriptDebugger.h:
1088
1089 2019-10-04  Alex Christensen  <achristensen@webkit.org>
1090
1091         Rename SchemeRegistry to LegacySchemeRegistry
1092         https://bugs.webkit.org/show_bug.cgi?id=202586
1093
1094         Reviewed by Tim Horton.
1095
1096         * WebView/WebView.mm:
1097         (+[WebView _setDomainRelaxationForbidden:forURLScheme:]):
1098         (+[WebView _registerURLSchemeAsSecure:]):
1099         (+[WebView _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:]):
1100         (+[WebView registerURLSchemeAsLocal:]):
1101
1102 2019-10-04  Alex Christensen  <achristensen@webkit.org>
1103
1104         Simplify sandbox enabling macros
1105         https://bugs.webkit.org/show_bug.cgi?id=202536
1106
1107         Reviewed by Brent Fulgham.
1108
1109         * Configurations/FeatureDefines.xcconfig:
1110
1111 2019-10-02  Tim Horton  <timothy_horton@apple.com>
1112
1113         Provide TAPI the full target triple instead of just the arch
1114         https://bugs.webkit.org/show_bug.cgi?id=202486
1115
1116         Reviewed by Simon Fraser.
1117
1118         * MigrateHeaders.make:
1119         For accuracy and consistency's sake, pass the whole target identifier
1120         instead of just one piece.
1121
1122 2019-10-01  Tim Horton  <timothy_horton@apple.com>
1123
1124         Clean up some includes to make the build a bit faster
1125         https://bugs.webkit.org/show_bug.cgi?id=202444
1126
1127         Reviewed by Geoff Garen.
1128
1129         * WebView/WebFrame.mm:
1130         * WebView/WebView.mm:
1131
1132 2019-10-01  Antti Koivisto  <antti@apple.com>
1133
1134         [CSS Shadow Parts] Parse 'part' attribute
1135         https://bugs.webkit.org/show_bug.cgi?id=202409
1136
1137         Reviewed by Ryosuke Niwa.
1138
1139         * WebView/WebPreferenceKeysPrivate.h:
1140         * WebView/WebPreferences.mm:
1141         (+[WebPreferences initialize]):
1142         (-[WebPreferences cssShadowPartsEnabled]):
1143         (-[WebPreferences setCSSShadowPartsEnabled:]):
1144         * WebView/WebPreferencesPrivate.h:
1145         * WebView/WebView.mm:
1146         (-[WebView _preferencesChanged:]):
1147
1148 2019-10-01  Alex Christensen  <achristensen@webkit.org>
1149
1150         Progress towards successful CMake build on Mac
1151         https://bugs.webkit.org/show_bug.cgi?id=202426
1152
1153         Rubber-stamped by Tim Horton.
1154
1155         * WebView/WebDataSource.mm:
1156
1157 2019-10-01  Alex Christensen  <achristensen@webkit.org>
1158
1159         Unify more WebKitLegacy sources
1160         https://bugs.webkit.org/show_bug.cgi?id=202410
1161
1162         Reviewed by Tim Horton.
1163
1164         * DOM/DOMHTML.mm:
1165         (-[DOMHTMLElement scrollXOffset]):
1166         (-[DOMHTMLElement scrollYOffset]):
1167         (-[DOMHTMLElement setScrollXOffset:scrollYOffset:adjustForIOSCaret:]):
1168         (-[DOMHTMLElement absolutePosition::::]):
1169         (-[DOMHTMLInputElement setValueWithChangeEvent:]):
1170         (-[DOMHTMLInputElement setValueAsNumberWithChangeEvent:]):
1171         * DOM/DOMHTMLTextAreaElement.mm:
1172         (unwrap):
1173         (core):
1174         (kit):
1175         (-[DOMHTMLTextAreaElement autofocus]):
1176         (-[DOMHTMLTextAreaElement setAutofocus:]):
1177         (-[DOMHTMLTextAreaElement dirName]):
1178         (-[DOMHTMLTextAreaElement setDirName:]):
1179         (-[DOMHTMLTextAreaElement disabled]):
1180         (-[DOMHTMLTextAreaElement setDisabled:]):
1181         (-[DOMHTMLTextAreaElement form]):
1182         (-[DOMHTMLTextAreaElement maxLength]):
1183         (-[DOMHTMLTextAreaElement setMaxLength:]):
1184         (-[DOMHTMLTextAreaElement name]):
1185         (-[DOMHTMLTextAreaElement setName:]):
1186         (-[DOMHTMLTextAreaElement placeholder]):
1187         (-[DOMHTMLTextAreaElement setPlaceholder:]):
1188         (-[DOMHTMLTextAreaElement readOnly]):
1189         (-[DOMHTMLTextAreaElement setReadOnly:]):
1190         (-[DOMHTMLTextAreaElement required]):
1191         (-[DOMHTMLTextAreaElement setRequired:]):
1192         (-[DOMHTMLTextAreaElement rows]):
1193         (-[DOMHTMLTextAreaElement setRows:]):
1194         (-[DOMHTMLTextAreaElement cols]):
1195         (-[DOMHTMLTextAreaElement setCols:]):
1196         (-[DOMHTMLTextAreaElement wrap]):
1197         (-[DOMHTMLTextAreaElement setWrap:]):
1198         (-[DOMHTMLTextAreaElement type]):
1199         (-[DOMHTMLTextAreaElement defaultValue]):
1200         (-[DOMHTMLTextAreaElement setDefaultValue:]):
1201         (-[DOMHTMLTextAreaElement value]):
1202         (-[DOMHTMLTextAreaElement setValue:]):
1203         (-[DOMHTMLTextAreaElement textLength]):
1204         (-[DOMHTMLTextAreaElement willValidate]):
1205         (-[DOMHTMLTextAreaElement labels]):
1206         (-[DOMHTMLTextAreaElement selectionStart]):
1207         (-[DOMHTMLTextAreaElement setSelectionStart:]):
1208         (-[DOMHTMLTextAreaElement selectionEnd]):
1209         (-[DOMHTMLTextAreaElement setSelectionEnd:]):
1210         (-[DOMHTMLTextAreaElement selectionDirection]):
1211         (-[DOMHTMLTextAreaElement setSelectionDirection:]):
1212         (-[DOMHTMLTextAreaElement accessKey]):
1213         (-[DOMHTMLTextAreaElement setAccessKey:]):
1214         (-[DOMHTMLTextAreaElement autocomplete]):
1215         (-[DOMHTMLTextAreaElement setAutocomplete:]):
1216         (-[DOMHTMLTextAreaElement select]):
1217         (-[DOMHTMLTextAreaElement setRangeText:]):
1218         (-[DOMHTMLTextAreaElement setRangeText:start:end:selectionMode:]):
1219         (-[DOMHTMLTextAreaElement setSelectionRange:end:]):
1220         * DOM/DOMUIKitExtensions.mm:
1221         (-[DOMRange move:inDirection:]):
1222         (-[DOMRange extend:inDirection:]):
1223         (-[DOMNode borderRadii]):
1224         (-[DOMNode isSelectableBlock]):
1225         (-[DOMNode findExplodedTextNodeAtPoint:]):
1226         (-[DOMHTMLElement structuralComplexityContribution]):
1227         * WebCoreSupport/WebFrameLoaderClient.h:
1228         * WebCoreSupport/WebFrameLoaderClient.mm:
1229         (dataSource):
1230         * WebView/WebDataSource.mm:
1231         (addTypesFromClass):
1232
1233 2019-10-01  Alex Christensen  <achristensen@webkit.org>
1234
1235         Fix internal build after r250549
1236         https://bugs.webkit.org/show_bug.cgi?id=202390
1237
1238         Remove some more "using namespace WebCore"
1239
1240         * History/WebBackForwardList.mm:
1241         (-[WebBackForwardList dictionaryRepresentation]):
1242         (vectorToNSArray):
1243         (-[WebBackForwardList backListWithLimit:]):
1244         (-[WebBackForwardList forwardListWithLimit:]):
1245         (-[WebBackForwardList description]):
1246         (-[WebBackForwardList pageCacheSize]):
1247         * Misc/WebSharingServicePickerController.mm:
1248         (WebSharingServicePickerClient::pageForSharingServicePicker):
1249         (WebSharingServicePickerClient::screenRectForCurrentSharingServicePickerItem):
1250         (-[WebSharingServicePickerController didShareImageData:confirmDataIsValidTIFFData:]):
1251         (-[WebSharingServicePickerController sharingService:didShareItems:]):
1252         * Plugins/WebBasePluginPackage.mm:
1253         (-[WebBasePluginPackage getPluginInfoFromPLists]):
1254         (-[WebBasePluginPackage pluginInfo]):
1255         * Plugins/WebPluginContainerCheck.mm:
1256         (-[WebPluginContainerCheck _continueWithPolicy:]):
1257         (-[WebPluginContainerCheck _isForbiddenFileLoad]):
1258         * Plugins/WebPluginController.mm:
1259         (initializeAudioSession):
1260         (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
1261         (-[WebPluginController superlayerForPluginView:]):
1262         (-[WebPluginController stopOnePlugin:]):
1263         (-[WebPluginController stopOnePluginForPageCache:]):
1264         (-[WebPluginController destroyOnePlugin:]):
1265         (-[WebPluginController startAllPlugins]):
1266         (-[WebPluginController addPlugin:]):
1267         (-[WebPluginController destroyPlugin:]):
1268         (-[WebPluginController destroyAllPlugins]):
1269         (-[WebPluginController processingUserGesture]):
1270         (-[WebPluginController webPlugInContainerLoadRequest:inFrame:]):
1271         (-[WebPluginController webPlugInContainerSelectionColor]):
1272         * Plugins/WebPluginDatabase.mm:
1273         (-[WebPluginDatabase refresh]):
1274         (-[WebPluginDatabase _removePlugin:]):
1275         * WebCoreSupport/WebApplicationCache.mm:
1276         (+[WebApplicationCache initializeWithBundleIdentifier:]):
1277         (webApplicationCacheStorage):
1278         * WebCoreSupport/WebApplicationCacheQuotaManager.mm:
1279
1280 2019-09-30  Alex Christensen  <achristensen@webkit.org>
1281
1282         Resurrect Mac CMake build
1283         https://bugs.webkit.org/show_bug.cgi?id=202384
1284
1285         Rubber-stamped by Tim Horton.
1286
1287         * DefaultDelegates/WebDefaultPolicyDelegate.m:
1288         (-[WebDefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1289
1290 2019-09-30  Alex Christensen  <achristensen@webkit.org>
1291
1292         Unify more WebKitLegacy sources
1293         https://bugs.webkit.org/show_bug.cgi?id=202390
1294
1295         Reviewed by Tim Horton.
1296
1297         * WebCoreSupport/WebFrameLoaderClient.mm:
1298         (dataSource):
1299         (WebFrameLoaderClient::pageID const):
1300         (WebFrameLoaderClient::frameID const):
1301         (WebFrameLoaderClient::makeRepresentation):
1302         (WebFrameLoaderClient::forceLayoutOnRestoreFromPageCache):
1303         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
1304         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1305         (WebFrameLoaderClient::assignIdentifierToInitialRequest):
1306         (WebFrameLoaderClient::dispatchWillSendRequest):
1307         (WebFrameLoaderClient::shouldUseCredentialStorage):
1308         (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1309         (WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace):
1310         (WebFrameLoaderClient::connectionProperties):
1311         (WebFrameLoaderClient::dispatchDidReceiveResponse):
1312         (WebFrameLoaderClient::willCacheResponse const):
1313         (WebFrameLoaderClient::dispatchDidReceiveContentLength):
1314         (WebFrameLoaderClient::dispatchDidFinishLoading):
1315         (WebFrameLoaderClient::dispatchDidFailLoading):
1316         (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
1317         (WebFrameLoaderClient::dispatchDidReceiveTitle):
1318         (WebFrameLoaderClient::dispatchDidCommitLoad):
1319         (WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
1320         (WebFrameLoaderClient::dispatchDidFailLoad):
1321         (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
1322         (WebFrameLoaderClient::dispatchCreatePage):
1323         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
1324         (shouldTryAppLink):
1325         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1326         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1327         (WebFrameLoaderClient::dispatchUnableToImplementPolicy):
1328         (makeFormFieldValuesDictionary):
1329         (WebFrameLoaderClient::dispatchWillSubmitForm):
1330         (WebFrameLoaderClient::revertToProvisionalState):
1331         (WebFrameLoaderClient::setMainDocumentError):
1332         (WebFrameLoaderClient::startDownload):
1333         (WebFrameLoaderClient::willChangeTitle):
1334         (WebFrameLoaderClient::didChangeTitle):
1335         (WebFrameLoaderClient::didReplaceMultipartContent):
1336         (WebFrameLoaderClient::committedLoad):
1337         (WebFrameLoaderClient::finishedLoading):
1338         (WebFrameLoaderClient::updateGlobalHistory):
1339         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
1340         (WebFrameLoaderClient::shouldGoToHistoryItem const):
1341         (WebFrameLoaderClient::didDisplayInsecureContent):
1342         (WebFrameLoaderClient::didRunInsecureContent):
1343         (WebFrameLoaderClient::cancelledError):
1344         (WebFrameLoaderClient::blockedError):
1345         (WebFrameLoaderClient::blockedByContentBlockerError):
1346         (WebFrameLoaderClient::cannotShowURLError):
1347         (WebFrameLoaderClient::interruptedForPolicyChangeError):
1348         (WebFrameLoaderClient::blockedByContentFilterError):
1349         (WebFrameLoaderClient::cannotShowMIMETypeError):
1350         (WebFrameLoaderClient::fileDoesNotExistError):
1351         (WebFrameLoaderClient::pluginWillHandleLoadError):
1352         (WebFrameLoaderClient::shouldFallBack):
1353         (WebFrameLoaderClient::canHandleRequest const):
1354         (WebFrameLoaderClient::saveViewStateToItem):
1355         (WebFrameLoaderClient::restoreViewState):
1356         (WebFrameLoaderClient::createDocumentLoader):
1357         (WebFrameLoaderClient::setTitle):
1358         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
1359         (WebFrameLoaderClient::transitionToCommittedFromCachedFrame):
1360         (WebFrameLoaderClient::transitionToCommittedForNewPage):
1361         (WebFrameLoaderClient::setUpPolicyListener):
1362         (WebFrameLoaderClient::actionDictionary const):
1363         (WebFrameLoaderClient::canCachePage const):
1364         (WebFrameLoaderClient::createFrame):
1365         (WebFrameLoaderClient::objectContentType):
1366         (PluginWidget::PluginWidget):
1367         (PluginWidget::invalidateRect):
1368         (NetscapePluginWidget::handleEvent):
1369         (NetscapePluginWidget::notifyWidget):
1370         (shouldBlockPlugin):
1371         (WebFrameLoaderClient::createPlugin):
1372         (WebFrameLoaderClient::redirectDataToPlugin):
1373         (WebFrameLoaderClient::createJavaAppletWidget):
1374         (shouldBlockWebGL):
1375         (WebFrameLoaderClient::webGLPolicyForURL const):
1376         (WebFrameLoaderClient::resolveWebGLPolicyForURL const):
1377         (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
1378         (WebFrameLoaderClient::createNetworkingContext):
1379         (WebFrameLoaderClient::createPreviewLoaderClient):
1380         (WebFrameLoaderClient::getLoadDecisionForIcons):
1381         (webGetNSImage):
1382         (WebFrameLoaderClient::finishedLoadingIcon):
1383         (-[WebFramePolicyListener initWithFrame:identifier:policyFunction:defaultPolicy:]):
1384         (-[WebFramePolicyListener initWithFrame:identifier:policyFunction:defaultPolicy:appLinkURL:]):
1385         (-[WebFramePolicyListener invalidate]):
1386         (-[WebFramePolicyListener receivedPolicyDecision:]):
1387         (-[WebFramePolicyListener ignore]):
1388         (-[WebFramePolicyListener download]):
1389         (-[WebFramePolicyListener use]):
1390         (-[WebFramePolicyListener continue]):
1391         * WebInspector/WebInspector.mm:
1392         (-[WebInspector showWindow]):
1393         (-[WebInspector evaluateInFrontend:script:]):
1394         * WebView/WebClipView.mm:
1395         (-[WebClipView visibleRect]):
1396         (-[WebClipView _immediateScrollToPoint:]):
1397         * WebView/WebDataSource.mm:
1398         (-[WebDataSource _documentFragmentWithArchive:]):
1399         (-[WebDataSource _documentLoader]):
1400         (-[WebDataSource initWithRequest:]):
1401         (-[WebDataSource dealloc]):
1402         (-[WebDataSource data]):
1403         (-[WebDataSource webFrame]):
1404         (-[WebDataSource initialRequest]):
1405         (-[WebDataSource request]):
1406         (-[WebDataSource webArchive]):
1407         * WebView/WebFrame.mm:
1408         (core):
1409         (kit):
1410         (getWebView):
1411         (+[WebFrame _createFrameWithPage:frameName:frameView:ownerElement:]):
1412         (+[WebFrame _createMainFrameWithPage:frameName:frameView:]):
1413         (+[WebFrame _createSubframeWithOwnerElement:frameName:frameView:]):
1414         (+[WebFrame _createMainFrameWithSimpleHTMLDocumentWithPage:frameView:style:]):
1415         (-[WebFrame _attachScriptDebugger]):
1416         (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]):
1417         (-[WebFrame _unmarkAllBadGrammar]):
1418         (-[WebFrame _unmarkAllMisspellings]):
1419         (-[WebFrame _hasSelection]):
1420         (-[WebFrame _atMostOneFrameHasSelection]):
1421         (-[WebFrame _findFrameWithSelection]):
1422         (-[WebFrame _nodesFromList:]):
1423         (-[WebFrame _stringForRange:]):
1424         (-[WebFrame _paintBehaviorForDestinationContext:]):
1425         (-[WebFrame _drawRect:contentsOnly:]):
1426         (-[WebFrame _getVisibleRect:]):
1427         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
1428         (-[WebFrame _caretRectAtPosition:affinity:]):
1429         (-[WebFrame _scrollDOMRangeToVisible:]):
1430         (-[WebFrame _scrollDOMRangeToVisible:withInset:]):
1431         (-[WebFrame _rangeByAlteringCurrentSelection:direction:granularity:]):
1432         (-[WebFrame _selectionGranularity]):
1433         (-[WebFrame _convertToNSRange:]):
1434         (-[WebFrame _convertToDOMRange:]):
1435         (-[WebFrame _convertToDOMRange:rangeIsRelativeTo:]):
1436         (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]):
1437         (-[WebFrame _documentFragmentWithNodesAsParagraphs:]):
1438         (-[WebFrame _visiblePositionForPoint:]):
1439         (-[WebFrame _characterRangeAtPoint:]):
1440         (-[WebFrame _typingStyle]):
1441         (-[WebFrame _setTypingStyle:withUndoAction:]):
1442         (-[WebFrame _dragSourceEndedAt:operation:]):
1443         (-[WebFrame _canProvideDocumentSource]):
1444         (-[WebFrame _commitData:]):
1445         (-[WebFrame _isDescendantOfFrame:]):
1446         (-[WebFrame _bodyBackgroundColor]):
1447         (-[WebFrame _isFrameSet]):
1448         (-[WebFrame _isVisuallyNonEmpty]):
1449         (toWebFrameLoadType):
1450         (-[WebFrame _rectsForRange:]):
1451         (-[WebFrame _selectionRangeForFirstPoint:secondPoint:]):
1452         (-[WebFrame _selectionRangeForPoint:]):
1453         (-[WebFrame _selectNSRange:]):
1454         (-[WebFrame _isDisplayingStandaloneImage]):
1455         (-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
1456         (-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
1457         (-[WebFrame setTimeoutsPaused:]):
1458         (-[WebFrame prepareForPause]):
1459         (-[WebFrame resumeFromPause]):
1460         (-[WebFrame selectWithoutClosingTypingNSRange:]):
1461         (-[WebFrame _saveViewState]):
1462         (-[WebFrame deviceOrientationChanged]):
1463         (-[WebFrame renderedSizeOfNode:constrainedToWidth:]):
1464         (-[WebFrame deepestNodeAtViewportLocation:]):
1465         (-[WebFrame scrollableNodeAtViewportLocation:]):
1466         (-[WebFrame approximateNodeAtViewportLocation:]):
1467         (-[WebFrame revealSelectionAtExtent:]):
1468         (-[WebFrame setCaretColor:]):
1469         (-[WebFrame isTelephoneNumberParsingAllowed]):
1470         (-[WebFrame isTelephoneNumberParsingEnabled]):
1471         (-[WebFrame setSelectedDOMRange:affinity:closeTyping:]):
1472         (-[WebFrame selectNSRange:onElement:]):
1473         (-[WebFrame setMarkedText:selectedRange:]):
1474         (-[WebFrame setMarkedText:forCandidates:]):
1475         (-[WebFrame getDictationResultRanges:andMetadatas:]):
1476         (-[WebFrame dictationResultMetadataForRange:]):
1477         (+[WebFrame stringWithData:textEncodingName:]):
1478         (-[WebFrame fontForSelection:]):
1479         (-[WebFrame _userScrolled]):
1480         (-[WebFrame _replaceSelectionWithText:selectReplacement:smartReplace:matchStyle:]):
1481         (-[WebFrame resetTextAutosizingBeforeLayout]):
1482         (-[WebFrame _setTextAutosizingWidth:]):
1483         (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
1484         (-[WebFrame _replaceSelectionWithText:selectReplacement:smartReplace:]):
1485         (-[WebFrame _smartInsertForString:replacingRange:beforeString:afterString:]):
1486         (-[WebFrame _cacheabilityDictionary]):
1487         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
1488         (-[WebFrame _globalContextForScriptWorld:]):
1489         (-[WebFrame setAccessibleName:]):
1490         (-[WebFrame enhancedAccessibilityEnabled]):
1491         (-[WebFrame setEnhancedAccessibility:]):
1492         (-[WebFrame _layerTreeAsText]):
1493         (-[WebFrame accessibilityRoot]):
1494         (-[WebFrame _clearOpener]):
1495         (-[WebFrame _computePageRectsWithPrintScaleFactor:pageSize:]):
1496         (-[WebFrame focusedNodeHasContent]):
1497         (-[WebFrame _dispatchDidReceiveTitle:]):
1498         (-[WebFrame jsWrapperForNode:inScriptWorld:]):
1499         (-[WebFrame elementAtPoint:]):
1500         (-[WebFrame name]):
1501         (needsMicrosoftMessengerDOMDocumentWorkaround):
1502         (-[WebFrame DOMDocument]):
1503         (-[WebFrame frameElement]):
1504         (-[WebFrame provisionalDataSource]):
1505         (-[WebFrame dataSource]):
1506         (-[WebFrame loadRequest:]):
1507         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1508         (-[WebFrame findFrameNamed:]):
1509         (-[WebFrame parentFrame]):
1510         (-[WebFrame childFrames]):
1511         (-[WebFrame windowObject]):
1512         (-[WebFrame globalContext]):
1513         (-[WebFrame javaScriptContext]):
1514         (dataSource): Deleted.
1515         * WebView/WebFrameView.mm:
1516         (-[WebFrameView _web_frame]):
1517         (-[WebFrameView _setDocumentView:]):
1518         (-[WebFrameView _verticalPageScrollDistance]):
1519         (-[WebFrameView _install]):
1520         (-[WebFrameView _frameSizeChanged]):
1521         (-[WebFrameView initWithFrame:]):
1522         (-[WebFrameView drawRect:]):
1523         (-[WebFrameView _scrollOverflowInDirection:granularity:]):
1524         (-[WebFrameView _isVerticalDocument]):
1525         (-[WebFrameView _isFlippedDocument]):
1526         (-[WebFrameView _scrollToBeginningOfDocument]):
1527         (-[WebFrameView _scrollToEndOfDocument]):
1528         (-[WebFrameView _horizontalPageScrollDistance]):
1529         (-[WebFrameView _pageVertically:]):
1530         (-[WebFrameView _pageHorizontally:]):
1531         (-[WebFrameView _scrollLineVertically:]):
1532         (-[WebFrameView _scrollLineHorizontally:]):
1533         (-[WebFrameView keyDown:keyDown:]):
1534         (addTypesFromClass): Deleted.
1535         * WebView/WebFullScreenController.mm:
1536         (screenRectOfContents):
1537         (-[WebFullScreenController element]):
1538         (-[WebFullScreenController setElement:]):
1539         (-[WebFullScreenController _document]):
1540         (-[WebFullScreenController _manager]):
1541         * WebView/WebHTMLView.mm:
1542         (toAction):
1543         (toTag):
1544         (-[NSView _web_setNeedsDisplayInRect:]):
1545         (promisedDataClient):
1546         (+[WebHTMLView _excludedElementsForAttributedStringConversion]):
1547         (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]):
1548         (-[WebHTMLView _plainTextFromPasteboard:]):
1549         (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
1550         (-[WebHTMLView readSelectionFromPasteboard:]):
1551         (-[WebHTMLView _selectedRange]):
1552         (-[WebHTMLView _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:]):
1553         (-[WebHTMLView _frameOrBoundsChanged]):
1554         (-[WebHTMLView _updateMouseoverWithEvent:]):
1555         (+[WebHTMLView _insertablePasteboardTypes]):
1556         (+[WebHTMLView _selectionPasteboardTypes]):
1557         (-[WebHTMLView pasteboard:provideDataForType:]):
1558         (-[WebHTMLView setScale:]):
1559         (-[WebHTMLView _canEdit]):
1560         (-[WebHTMLView _canEditRichly]):
1561         (-[WebHTMLView _hasSelection]):
1562         (-[WebHTMLView _hasSelectionOrInsertionPoint]):
1563         (-[WebHTMLView _hasInsertionPoint]):
1564         (-[WebHTMLView _isEditable]):
1565         (-[WebHTMLView _selectionDraggingImage]):
1566         (-[WebHTMLView _insertOrderedList]):
1567         (-[WebHTMLView _insertUnorderedList]):
1568         (-[WebHTMLView _canIncreaseSelectionListLevel]):
1569         (-[WebHTMLView _canDecreaseSelectionListLevel]):
1570         (-[WebHTMLView _increaseSelectionListLevel]):
1571         (-[WebHTMLView _increaseSelectionListLevelOrdered]):
1572         (-[WebHTMLView _increaseSelectionListLevelUnordered]):
1573         (-[WebHTMLView _decreaseSelectionListLevel]):
1574         (-[WebHTMLView _writeSelectionToPasteboard:]):
1575         (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]):
1576         (-[WebHTMLView _beginPrintModeWithMinimumPageWidth:height:maximumPageWidth:]):
1577         (-[WebHTMLView _beginPrintModeWithPageWidth:height:shrinkToFit:]):
1578         (-[WebHTMLView _beginScreenPaginationModeWithPageSize:shrinkToFit:]):
1579         (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
1580         (-[WebHTMLView coreCommandBySelector:]):
1581         (-[WebHTMLView coreCommandByName:]):
1582         (-[WebHTMLView validRequestorForSendType:returnType:]):
1583         (-[WebHTMLView jumpToSelection:]):
1584         (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
1585         (-[WebHTMLView maintainsInactiveSelection]):
1586         (-[WebHTMLView reapplyStyles]):
1587         (-[WebHTMLView layoutToMinimumPageWidth:height:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustingViewSize:]):
1588         (-[WebHTMLView rightMouseUp:]):
1589         (fixMenusReceivedFromOldClients):
1590         (createShareMenuItem):
1591         (createMenuItem):
1592         (createMenuItems):
1593         (customMenuFromDefaultItems):
1594         (-[WebHTMLView menuForEvent:]):
1595         (-[WebHTMLView clearFocus]):
1596         (-[WebHTMLView setLayer:]):
1597         (-[WebHTMLView setNeedsLayout:]):
1598         (-[WebHTMLView setNeedsToApplyStyles:]):
1599         (-[WebHTMLView _invalidateGStatesForTree]):
1600         (-[WebHTMLView scrollWheel:]):
1601         (-[WebHTMLView acceptsFirstMouse:]):
1602         (-[WebHTMLView shouldDelayWindowOrderingForEvent:]):
1603         (-[WebHTMLView mouseDown:]):
1604         (-[WebHTMLView touch:]):
1605         (-[WebHTMLView mouseDragged:]):
1606         (-[WebHTMLView draggingSourceOperationMaskForLocal:]):
1607         (-[WebHTMLView draggedImage:endedAt:operation:]):
1608         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1609         (-[WebHTMLView draggingSession:sourceOperationMaskForDraggingContext:]):
1610         (-[WebHTMLView draggingSession:endedAtPoint:operation:]):
1611         (-[WebHTMLView mouseUp:]):
1612         (-[WebHTMLView pressureChangeWithEvent:]):
1613         (isTextInput):
1614         (isInPasswordField):
1615         (currentKeyboardEvent):
1616         (-[WebHTMLView becomeFirstResponder]):
1617         (-[WebHTMLView resignFirstResponder]):
1618         (-[WebHTMLView _setPrinting:minimumPageLogicalWidth:logicalHeight:originalPageWidth:originalPageHeight:maximumShrinkRatio:adjustViewSize:paginateScreenContent:]):
1619         (-[WebHTMLView _scaleFactorForPrintOperation:]):
1620         (-[WebHTMLView keyDown:]):
1621         (-[WebHTMLView keyUp:]):
1622         (-[WebHTMLView flagsChanged:]):
1623         (-[WebHTMLView centerSelectionInVisibleArea:]):
1624         (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
1625         (-[WebHTMLView _fontAttributesFromFontPasteboard]):
1626         (-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
1627         (-[WebHTMLView _applyEditingStyleToSelection:withUndoAction:]):
1628         (-[WebHTMLView performKeyEquivalent:]):
1629         (-[WebHTMLView copyFont:]):
1630         (-[WebHTMLView pasteFont:]):
1631         (-[WebHTMLView changeFont:]):
1632         (-[WebHTMLView changeAttributes:]):
1633         (-[WebHTMLView _undoActionFromColorPanelWithSelector:]):
1634         (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
1635         (-[WebHTMLView changeColor:]):
1636         (-[WebHTMLView checkSpelling:]):
1637         (-[WebHTMLView showGuessPanel:]):
1638         (-[WebHTMLView toggleBaseWritingDirection:]):
1639         (-[WebHTMLView changeBaseWritingDirection:]):
1640         (-[WebHTMLView _changeBaseWritingDirectionTo:]):
1641         (-[WebHTMLView _updateControlTints]):
1642         (-[WebHTMLView _selectionChanged]):
1643         (-[WebHTMLView _updateFontPanel]):
1644         (-[WebHTMLView _canSmartCopyOrDelete]):
1645         (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
1646         (-[WebHTMLView quickLookWithEvent:]):
1647         (-[WebHTMLView _executeSavedKeypressCommands]):
1648         (-[WebHTMLView _interpretKeyEvent:savingCommands:]):
1649         (-[WebHTMLView _handleEditingKeyEvent:]):
1650         (-[WebHTMLView _web_updateLayoutAndStyleIfNeededRecursive]):
1651         (-[WebHTMLView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
1652         (-[WebHTMLView attributedSubstringFromRange:]):
1653         (-[WebHTMLView hasMarkedText]):
1654         (extractUnderlines):
1655         (-[WebHTMLView setMarkedText:selectedRange:]):
1656         (-[WebHTMLView doCommandBySelector:]):
1657         (-[WebHTMLView insertText:]):
1658         (-[WebHTMLView _updateSecureInputState]):
1659         (-[WebHTMLView _updateSelectionForInputManager]):
1660         (-[WebHTMLView selectionTextRects]):
1661         (imageFromRect):
1662         (selectionImage):
1663         (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]):
1664         (-[WebHTMLView selectAll]):
1665         (-[WebHTMLView deselectAll]):
1666         (-[WebHTMLView _legacyAttributedStringFrom:offset:to:offset:]):
1667         (-[WebHTMLView attributedString]):
1668         (-[WebHTMLView selectedAttributedString]):
1669         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
1670         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
1671         (-[WebHTMLView setMarkedTextMatchesAreHighlighted:]):
1672         (-[WebHTMLView markedTextMatchesAreHighlighted]):
1673         (-[WebHTMLView unmarkAllTextMatches]):
1674         (-[WebHTMLView rectsForTextMatches]):
1675         (-[WebHTMLView _findString:options:]):
1676         * WebView/WebImmediateActionController.mm:
1677         (-[WebImmediateActionController webView:didHandleScrollWheel:]):
1678         (-[WebImmediateActionController _cancelImmediateAction]):
1679         (-[WebImmediateActionController performHitTestAtPoint:]):
1680         (-[WebImmediateActionController immediateActionRecognizerDidUpdateAnimation:]):
1681         (-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
1682         (-[WebImmediateActionController immediateActionRecognizerDidCompleteAnimation:]):
1683         (-[WebImmediateActionController _defaultAnimationController]):
1684         (-[WebImmediateActionController _updateImmediateActionItem]):
1685         (-[WebImmediateActionController menuItemDidClose:]):
1686         (elementBoundingBoxInWindowCoordinatesFromNode):
1687         (-[WebImmediateActionController menuItem:itemFrameForPoint:]):
1688         (-[WebImmediateActionController menuItem:maxSizeForPoint:]):
1689         (-[WebImmediateActionController _animationControllerForDataDetectedText]):
1690         (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
1691         (+[WebImmediateActionController _dictionaryPopupInfoForRange:inFrame:withLookupOptions:indicatorOptions:transition:]):
1692         (-[WebImmediateActionController _animationControllerForText]):
1693         * WebView/WebPDFView.mm:
1694         (isFrameInRange):
1695         (-[WebPDFView pasteboardTypesForSelection]):
1696         (-[WebPDFView writeSelectionWithPasteboardTypes:toPasteboard:]):
1697         (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
1698         * WebView/WebScriptDebugDelegate.mm:
1699         (-[WebScriptCallFrame _convertValueToObjcValue:]):
1700         * WebView/WebScriptDebugger.mm:
1701         (toNSString):
1702         (toWebFrame):
1703         (WebScriptDebugger::WebScriptDebugger):
1704         (WebScriptDebugger::sourceParsed):
1705         (WebScriptDebugger::handlePause):
1706         * WebView/WebScriptWorld.mm:
1707         (-[WebScriptWorld initWithWorld:]):
1708         (-[WebScriptWorld init]):
1709         (+[WebScriptWorld standardWorld]):
1710         (+[WebScriptWorld scriptWorldForGlobalContext:]):
1711         (core):
1712         (+[WebScriptWorld findOrCreateWorld:]):
1713         * WebView/WebView.mm:
1714         (coreOptions):
1715         (coreLayoutMilestones):
1716         (kitLayoutMilestones):
1717         (kit):
1718         (WebKit::DeferredPageDestructor::createDeferredPageDestructor):
1719         (WebKit::DeferredPageDestructor::DeferredPageDestructor):
1720         (-[WebUITextIndicatorData initWithImage:textIndicatorData:scale:]):
1721         (+[WebView _standardUserAgentWithApplicationName:]):
1722         (+[WebView _reportException:inContext:]):
1723         (shouldEnableLoadDeferring):
1724         (shouldRestrictWindowFocus):
1725         (needsOutlookQuirksScript):
1726         (-[WebView _injectOutlookQuirksScript]):
1727         (shouldUseLegacyBackgroundSizeShorthandBehavior):
1728         (shouldAllowWindowOpenWithoutUserGesture):
1729         (WebKitInitializeGamepadProviderIfNecessary):
1730         (-[WebView _commonInitializationWithFrameName:groupName:]):
1731         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1732         (-[WebView _replaceCurrentHistoryItem:]):
1733         (-[WebView updateLayoutIgnorePendingStyleSheets]):
1734         (-[WebView _requestStartDataInteraction:globalPosition:]):
1735         (-[WebView _startDrag:]):
1736         (-[WebView dragDataForSession:client:global:operation:]):
1737         (-[WebView _didConcludeEditDrag]):
1738         (+[WebView _setAlwaysUsesComplexTextCodePath:]):
1739         (+[WebView canCloseAllWebViews]):
1740         (+[WebView closeAllWebViews]):
1741         (-[WebView _dispatchUnloadEvent]):
1742         (-[WebView styleAtSelectionStart]):
1743         (-[WebView _didFinishScrollingOrZooming]):
1744         (-[WebView _close]):
1745         (-[WebView _isProcessingUserGesture]):
1746         (+[WebView _enableRemoteInspector]):
1747         (+[WebView _disableRemoteInspector]):
1748         (+[WebView _disableAutoStartRemoteInspector]):
1749         (+[WebView _isRemoteInspectorEnabled]):
1750         (+[WebView _hasRemoteInspectorSession]):
1751         (-[WebView _setHostApplicationProcessIdentifier:auditToken:]):
1752         (-[WebView _loadBackForwardListFromOtherView:]):
1753         (-[WebView _needsKeyboardEventDisambiguationQuirks]):
1754         (needsSelfRetainWhileLoadingQuirk):
1755         (-[WebView _needsPreHTML5ParserQuirks]):
1756         (-[WebView _preferencesChanged:]):
1757         (-[WebView _cacheFrameLoadDelegateImplementations]):
1758         (+[WebView _unregisterViewClassAndRepresentationClassForMIMEType:]):
1759         (+[WebView _registerViewClass:representationClass:forURLScheme:]):
1760         (+[WebView _decodeData:]):
1761         (-[WebView _didStartProvisionalLoadForFrame:]):
1762         (-[WebView _checkDidPerformFirstNavigation]):
1763         (-[WebView _cachedResponseForURL:]):
1764         (+[WebView _setShouldUseFontSmoothing:]):
1765         (+[WebView _shouldUseFontSmoothing]):
1766         (+[WebView _setUsesTestModeFocusRingColor:]):
1767         (+[WebView _usesTestModeFocusRingColor]):
1768         (-[WebView setAlwaysShowVerticalScroller:]):
1769         (-[WebView alwaysShowVerticalScroller]):
1770         (-[WebView setAlwaysShowHorizontalScroller:]):
1771         (-[WebView setProhibitsMainFrameScrolling:]):
1772         (-[WebView alwaysShowHorizontalScroller]):
1773         (-[WebView _setMediaLayer:forPluginView:]):
1774         (-[WebView _attachScriptDebuggerToAllFrames]):
1775         (-[WebView _detachScriptDebuggerFromAllFrames]):
1776         (+[WebView _productivityDocumentMIMETypes]):
1777         (-[WebView _setFixedLayoutSize:]):
1778         (-[WebView _synchronizeCustomFixedPositionLayoutRect]):
1779         (-[WebView _viewGeometryDidChange]):
1780         (-[WebView _overflowScrollPositionChangedTo:forNode:isUserScroll:]):
1781         (+[WebView _doNotStartObservingNetworkReachability]):
1782         (-[WebView _touchEventRegions]):
1783         (-[WebView textIteratorForRect:]):
1784         (-[WebView _executeCoreCommandByName:value:]):
1785         (-[WebView _isUsingAcceleratedCompositing]):
1786         (-[WebView _isSoftwareRenderable]):
1787         (-[WebView setTracksRepaints:]):
1788         (-[WebView isTrackingRepaints]):
1789         (-[WebView resetTrackedRepaints]):
1790         (-[WebView trackedRepaintRects]):
1791         (+[WebView _addOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:]):
1792         (+[WebView _removeOriginAccessWhitelistEntryWithSourceOrigin:destinationProtocol:destinationHost:allowDestinationSubdomains:]):
1793         (+[WebView _resetOriginAccessWhitelists]):
1794         (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
1795         (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
1796         (-[WebView allowsNewCSSAnimationsWhileSuspended]):
1797         (-[WebView setAllowsNewCSSAnimationsWhileSuspended:]):
1798         (-[WebView cssAnimationsSuspended]):
1799         (-[WebView setCSSAnimationsSuspended:]):
1800         (+[WebView _setDomainRelaxationForbidden:forURLScheme:]):
1801         (+[WebView _registerURLSchemeAsSecure:]):
1802         (+[WebView _registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing:]):
1803         (-[WebView _scaleWebView:atOrigin:]):
1804         (-[WebView _setUseFixedLayout:]):
1805         (-[WebView _useFixedLayout]):
1806         (-[WebView _fixedLayoutSize]):
1807         (-[WebView _setPaginationMode:]):
1808         (-[WebView _paginationMode]):
1809         (-[WebView _listenForLayoutMilestones:]):
1810         (-[WebView _layoutMilestones]):
1811         (-[WebView _setPaginationBehavesLikeColumns:]):
1812         (-[WebView _paginationBehavesLikeColumns]):
1813         (-[WebView _setPageLength:]):
1814         (-[WebView _pageLength]):
1815         (-[WebView _setGapBetweenPages:]):
1816         (-[WebView _gapBetweenPages]):
1817         (-[WebView _setPaginationLineGridEnabled:]):
1818         (-[WebView _paginationLineGridEnabled]):
1819         (-[WebView _pageCount]):
1820         (+[WebView _HTTPPipeliningEnabled]):
1821         (+[WebView _setHTTPPipeliningEnabled:]):
1822         (-[WebView shouldRequestCandidates]):
1823         (-[WebView removePluginInstanceViewsFor:]):
1824         (+[WebView registerURLSchemeAsLocal:]):
1825         (-[WebView doWindowDidChangeScreen]):
1826         (-[WebView _updateScreenScaleFromWindow]):
1827         (-[WebView goToBackForwardItem:]):
1828         (-[WebView _setZoomMultiplier:isTextOnly:]):
1829         (-[WebView setCustomTextEncodingName:]):
1830         (-[WebView windowScriptObject]):
1831         (-[WebView setHostWindow:]):
1832         (-[WebView applicationFlags:]):
1833         (-[WebView actionMaskForDraggingInfo:]):
1834         (-[WebView draggingEntered:]):
1835         (-[WebView draggingUpdated:]):
1836         (-[WebView draggingExited:]):
1837         (-[WebView performDragOperation:]):
1838         (incrementFrame):
1839         (+[WebView registerViewClass:representationClass:forMIMEType:]):
1840         (-[WebView moveDragCaretToPoint:]):
1841         (-[WebView removeDragCaret]):
1842         (-[WebView mainFrameIconURL]):
1843         (coreTextCheckingType):
1844         (textCheckingResultFromNSTextCheckingResult):
1845         (-[WebView candidateListTouchBarItem:endSelectingCandidateAtIndex:]):
1846         (-[WebView candidateListTouchBarItem:changedCandidateListVisibility:]):
1847         (-[WebView shouldClose]):
1848         (aeDescFromJSValue):
1849         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
1850         (-[WebView editableDOMRangeForPoint:]):
1851         (-[WebView setSelectedDOMRange:affinity:]):
1852         (-[WebView selectedDOMRange]):
1853         (-[WebView selectionAffinity]):
1854         (-[WebView setEditable:]):
1855         (-[WebView setTypingStyle:]):
1856         (-[WebView deleteSelection]):
1857         (-[WebView applyStyle:]):
1858         (-[WebView insertDictationPhrases:metadata:]):
1859         (-[WebView _selectionIsCaret]):
1860         (-[WebView _selectionIsAll]):
1861         (-[WebView _simplifyMarkup:endNode:]):
1862         (+[WebView _setCacheModel:]):
1863         (-[WebView _searchWithGoogleFromMenu:]):
1864         (-[WebView _retrieveKeyboardUIModeFromPreferences:]):
1865         (-[WebView _keyboardUIMode]):
1866         (-[WebView _mainCoreFrame]):
1867         (-[WebView _clearCredentials]):
1868         (-[WebView _flushCompositingChanges]):
1869         (-[WebView _scheduleLayerFlushForPendingTileCacheRepaint]):
1870         (-[WebView _hasActiveVideoForControlsInterface]):
1871         (-[WebView _setUpPlaybackControlsManagerForMediaElement:]):
1872         (-[WebView handleAcceptedAlternativeText:]):
1873         (-[WebView _getWebCoreDictationAlternatives:fromTextAlternatives:]):
1874         (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
1875         (-[WebView _setTextIndicator:]):
1876         (-[WebView _setTextIndicator:withLifetime:]):
1877         (-[WebView _clearTextIndicatorWithAnimation:]):
1878         (-[WebView _showDictionaryLookupPopup:]):
1879         (-[WebView _dictionaryLookupPopoverWillClose:]):
1880         (-[WebView showFormValidationMessage:withAnchorRect:]):
1881         (-[WebView textTouchBar]):
1882         (nsTextAlignmentFromRenderStyle):
1883         (-[WebView updateTextTouchBar]):
1884         (-[WebView updateTouchBar]):
1885         (-[WebView candidateList]):
1886         (-[WebView _geolocationDidFailWithMessage:]):
1887         (-[WebView _resetAllGeolocationPermission]):
1888         (-[WebView _notificationIDForTesting:]):
1889
1890 2019-09-25  Megan Gardner  <megan_gardner@apple.com>
1891
1892         Update selections after scrolling for iframes and hide selections while iframes and overflow scrolls are scrolling.
1893         https://bugs.webkit.org/show_bug.cgi?id=202125
1894
1895         Reviewed by Tim Horton.
1896
1897         Filling out unused functions needed for new fix.
1898
1899         * WebCoreSupport/WebEditorClient.h:
1900
1901 2019-09-24  Alex Christensen  <achristensen@webkit.org>
1902
1903         Remove SchemeRegistry's list of URL schemes allowing local storage in private browsing, which is unused
1904         https://bugs.webkit.org/show_bug.cgi?id=202181
1905
1906         Reviewed by Geoffrey Garen.
1907
1908         * WebView/WebView.mm:
1909         (+[WebView _registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing:]):
1910
1911 2019-09-21  Chris Dumez  <cdumez@apple.com>
1912
1913         Reduce use of SessionID::defaultSessionID() in WebKit
1914         https://bugs.webkit.org/show_bug.cgi?id=202080
1915
1916         Reviewed by Alex Christensen.
1917
1918         * WebCoreSupport/WebFrameLoaderClient.h:
1919         * WebCoreSupport/WebFrameLoaderClient.mm:
1920         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
1921
1922 2019-09-20  Keith Rollin  <krollin@apple.com>
1923
1924         Remove some support for < iOS 13
1925         https://bugs.webkit.org/show_bug.cgi?id=202032
1926         <rdar://problem/55548468>
1927
1928         Reviewed by Alex Christensen.
1929
1930         Remove some support for iOS versions less than 13.0.
1931
1932         Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
1933         and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
1934         values >= 130000. This means that expressions like
1935         "__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
1936         "__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
1937
1938         This removal is part of a series of patches effecting the removal of
1939         dead code for old versions of iOS. This particular pass involves
1940         changes in which Dan Bates was involved. These changes are isolated
1941         from other similar changes in order to facilitate the reviewing
1942         process.
1943
1944         * WebView/WebHTMLView.mm:
1945         (-[WebHTMLView _handleEditingKeyEvent:]):
1946
1947 2019-09-18  Jer Noble  <jer.noble@apple.com>
1948
1949         Add -suspend and -resumeAllMediaPlayback to WebView
1950         https://bugs.webkit.org/show_bug.cgi?id=201951
1951
1952         Reviewed by Eric Carlson.
1953
1954         * WebView/WebView.mm:
1955         (-[WebView suspendAllMediaPlayback]):
1956         (-[WebView resumeAllMediaPlayback]):
1957         * WebView/WebViewPrivate.h:
1958
1959 2019-09-18  Chris Dumez  <cdumez@apple.com>
1960
1961         BlobRegistry no longer needs SessionIDs
1962         https://bugs.webkit.org/show_bug.cgi?id=201936
1963
1964         Reviewed by Geoffrey Garen.
1965
1966         BlobRegistry no longer needs SessionIDs, now that we have a single session per WebProcess.
1967
1968         * WebCoreSupport/WebPlatformStrategies.mm:
1969
1970 2019-09-18  Chris Dumez  <cdumez@apple.com>
1971
1972         CacheStorageProvider::createCacheStorageConnection() does not need to take in a SessionID
1973         https://bugs.webkit.org/show_bug.cgi?id=201920
1974
1975         Reviewed by Geoffrey Garen.
1976
1977         CacheStorageProvider::createCacheStorageConnection() does not need to take in a SessionID.
1978         This sessionID is no longer used now that we have a session per WebProcess.
1979
1980         * WebCoreSupport/WebPlatformStrategies.mm:
1981
1982 2019-09-18  Chris Dumez  <cdumez@apple.com>
1983
1984         Drop FrameLoaderClient::sessionID()
1985         https://bugs.webkit.org/show_bug.cgi?id=201916
1986
1987         Reviewed by Geoffrey Garen.
1988
1989         Drop FrameLoaderClient::sessionID(). The Frame can get the sessionID from its page (Which is
1990         what the FrameLoaderClient::sessionID() ended up doing) and other call sites at WebKit2 layer
1991         can get the sessionID from the WebProcess singleton.
1992
1993         * WebCoreSupport/WebFrameLoaderClient.h:
1994         * WebCoreSupport/WebFrameLoaderClient.mm:
1995
1996 2019-09-17  Chris Dumez  <cdumez@apple.com>
1997
1998         Stop calling Page::setSessionID() from WebKit2
1999         https://bugs.webkit.org/show_bug.cgi?id=201888
2000
2001         Reviewed by Alex Christensen.
2002
2003         Stop calling Page::setSessionID() from WebKit2 since Page's sessionID can never change when
2004         using WebKit2 (We process-swap and create a new Page in a new process when changing data
2005         store). Instead, we now pass the sessionID ID when constructing the Page, as part of the
2006         PageConfiguration structure.
2007
2008         * WebView/WebView.mm:
2009         (-[WebView _commonInitializationWithFrameName:groupName:]):
2010
2011 2019-09-09  Alex Christensen  <achristensen@webkit.org>
2012
2013         Disable TLS 1.0 and 1.1 in WebSockets
2014         https://bugs.webkit.org/show_bug.cgi?id=201573
2015
2016         Reviewed by Youenn Fablet.
2017
2018         * WebView/WebView.mm:
2019         (-[WebView _commonInitializationWithFrameName:groupName:]):
2020
2021 2019-09-06  Alex Christensen  <achristensen@webkit.org>
2022
2023         When disabling legacy private browsing for testing, change the SessionID back to what it was, not the defaultSessionID
2024         https://bugs.webkit.org/show_bug.cgi?id=201480
2025
2026         Reviewed by Youenn Fablet.
2027
2028         * WebView/WebView.mm:
2029         (-[WebView _preferencesChanged:]):
2030
2031 2019-09-06  Rob Buis  <rbuis@igalia.com>
2032
2033         Add runtime flag for lazy image loading
2034         https://bugs.webkit.org/show_bug.cgi?id=199794
2035
2036         Reviewed by Frédéric Wang.
2037
2038         Remove parts of r248409 that were meant for WK1 since
2039         lazy image loading is WK2 only.
2040
2041         * WebView/WebPreferenceKeysPrivate.h:
2042         * WebView/WebPreferences.mm:
2043         (+[WebPreferences initialize]):
2044         (-[WebPreferences lazyImageLoadingEnabled]): Deleted.
2045         (-[WebPreferences setLazyImageLoadingEnabled:]): Deleted.
2046         * WebView/WebPreferencesPrivate.h:
2047         * WebView/WebView.mm:
2048         (-[WebView _preferencesChanged:]):
2049
2050 2019-09-04  Alex Christensen  <achristensen@webkit.org>
2051
2052         Remove unused SPI that accesses MemoryCache directly
2053         https://bugs.webkit.org/show_bug.cgi?id=201468
2054
2055         Reviewed by Tim Horton.
2056
2057         * Misc/WebCache.h:
2058         * Misc/WebCache.mm:
2059         (+[WebCache addImageToCache:forURL:]): Deleted.
2060         (+[WebCache addImageToCache:forURL:forFrame:]): Deleted.
2061         (+[WebCache removeImageFromCacheForURL:]): Deleted.
2062         (+[WebCache removeImageFromCacheForURL:forFrame:]): Deleted.
2063
2064 2019-08-30  Keith Rollin  <krollin@apple.com>
2065
2066         Remove AppKitCompatibilityDeclarations.h
2067         https://bugs.webkit.org/show_bug.cgi?id=201283
2068         <rdar://problem/54822042>
2069
2070         Reviewed by Alexey Proskuryakov.
2071
2072         The two copies of these files -- on in WTF, one in MiniBrowser -- are
2073         empty and can be removed.
2074
2075         * Misc/WebNSEventExtras.m:
2076         * Misc/WebNSViewExtras.m:
2077         * WebKitPrefix.h:
2078
2079 2019-08-30  Keith Rollin  <krollin@apple.com>
2080
2081         Remove extra braces
2082         https://bugs.webkit.org/show_bug.cgi?id=201285
2083
2084         Reviewed by Alexey Proskuryakov.
2085
2086         Some code evolved such that there was only a single statement under an
2087         'if' statement. The braces surrounding the single-line block can now
2088         be removed.
2089
2090         * WebView/WebView.mm:
2091         (-[WebView updateMediaTouchBar]):
2092
2093 2019-08-29  Keith Rollin  <krollin@apple.com>
2094
2095         Update .xcconfig symbols to reflect the current set of past and future product versions.
2096         https://bugs.webkit.org/show_bug.cgi?id=200720
2097         <rdar://problem/54305032>
2098
2099         Reviewed by Alex Christensen.
2100
2101         Remove version symbols related to old OS's we no longer support,
2102         ensure that version symbols are defined for OS's we do support.
2103
2104         * Configurations/Base.xcconfig:
2105         * Configurations/DebugRelease.xcconfig:
2106         * Configurations/Version.xcconfig:
2107
2108 2019-08-29  Keith Rollin  <krollin@apple.com>
2109
2110         Remove support for macOS < 10.13 (part 3)
2111         https://bugs.webkit.org/show_bug.cgi?id=201224
2112         <rdar://problem/54795934>
2113
2114         Reviewed by Darin Adler.
2115
2116         Remove symbols in WebKitTargetConditionals.xcconfig related to macOS
2117         10.13, including WK_MACOS_1013 and WK_MACOS_BEFORE_1013, and suffixes
2118         like _MACOS_SINCE_1013.
2119
2120         * Configurations/WebKitTargetConditionals.xcconfig:
2121
2122 2019-08-29  Dean Jackson  <dino@apple.com>
2123
2124         GenerateTAPI WebKitLegacy.tbd fails on internal iOS Simulator builds
2125         https://bugs.webkit.org/show_bug.cgi?id=201200
2126
2127         Reverting r249211 after Dan Bernstein pointed out it will cause
2128         an error with the public iOS 13 SDK.
2129
2130         * Misc/WebDownload.h:
2131
2132 2019-08-28  Dean Jackson  <dino@apple.com>
2133
2134         GenerateTAPI WebKitLegacy.tbd fails on internal iOS Simulator builds
2135         https://bugs.webkit.org/show_bug.cgi?id=201200
2136
2137         Reviewed by Simon Fraser.
2138
2139         We want to include Foundation/NSURLDownload.h if we're on
2140         a newer iOS.
2141
2142         * Misc/WebDownload.h:
2143
2144 2019-08-28  Keith Rollin  <krollin@apple.com>
2145
2146         Remove support for macOS < 10.13 (part 2)
2147         https://bugs.webkit.org/show_bug.cgi?id=201197
2148         <rdar://problem/54759985>
2149
2150         Reviewed by Darin Adler.
2151
2152         Update conditionals that reference WK_MACOS_1013 and suffixes like
2153         _MACOS_SINCE_1013, assuming that we're always building on 10.13 or
2154         later and that these conditionals are always True or False.
2155
2156         See Bug 200694 for earlier changes in this area.
2157
2158         * Configurations/FeatureDefines.xcconfig:
2159
2160 2019-08-27  Mark Lam  <mark.lam@apple.com>
2161
2162         Refactor to use VM& instead of VM* at as many places as possible.
2163         https://bugs.webkit.org/show_bug.cgi?id=201172
2164
2165         Reviewed by Yusuke Suzuki.
2166
2167         * DOM/DOM.mm:
2168         (+[DOMNode _nodeFromJSWrapper:]):
2169         * DOM/DOMUtility.mm:
2170         (createDOMWrapper):
2171         * Plugins/Hosted/NetscapePluginHostProxy.mm:
2172         (identifierFromIdentifierRep):
2173         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
2174         (WebKit::NetscapePluginInstanceProxy::enumerate):
2175         (WebKit::getObjectID):
2176         (WebKit::NetscapePluginInstanceProxy::addValueToArray):
2177         (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):
2178         (WebKit::NetscapePluginInstanceProxy::retainLocalObject):
2179         (WebKit::NetscapePluginInstanceProxy::releaseLocalObject):
2180         * Plugins/Hosted/ProxyInstance.mm:
2181         (WebKit::ProxyInstance::stringValue const):
2182         (WebKit::ProxyInstance::getPropertyNames):
2183         * WebView/WebFrame.mm:
2184         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
2185
2186 2019-08-23  Chris Dumez  <cdumez@apple.com>
2187
2188         [geolocation] Rename interfaces and remove [NoInterfaceObject]
2189         https://bugs.webkit.org/show_bug.cgi?id=200885
2190
2191         Reviewed by Alex Christensen.
2192
2193         * WebCoreSupport/WebGeolocationClient.h:
2194         * WebCoreSupport/WebGeolocationClient.mm:
2195         (WebGeolocationClient::lastPosition):
2196         * WebView/WebGeolocationPosition.mm:
2197         (-[WebGeolocationPositionInternal initWithCoreGeolocationPosition:]):
2198         (core):
2199         (-[WebGeolocationPosition initWithTimestamp:latitude:longitude:accuracy:]):
2200         (-[WebGeolocationPosition initWithGeolocationPosition:]):
2201         * WebView/WebGeolocationPositionInternal.h:
2202
2203 2019-08-22  Andy Estes  <aestes@apple.com>
2204
2205         [watchOS] Disable Content Filtering in the simulator build
2206         https://bugs.webkit.org/show_bug.cgi?id=201047
2207
2208         Reviewed by Tim Horton.
2209
2210         * Configurations/FeatureDefines.xcconfig:
2211
2212 2019-08-21  Tim Horton  <timothy_horton@apple.com>
2213
2214         [Mail] Tapping top of message scrolls back to copied text instead of top of the message
2215         https://bugs.webkit.org/show_bug.cgi?id=200999
2216         <rdar://problem/54564878>
2217
2218         Reviewed by Wenson Hsieh.
2219
2220         * WebCoreSupport/WebEditorClient.h:
2221         * WebCoreSupport/WebEditorClient.mm:
2222         (WebEditorClient::shouldAllowSingleClickToChangeSelection const):
2223         Copy the existing behavior from EventHandler.
2224         We do not fix the bug in WebKitLegacy for a multitude of reasons, primarily
2225         because we do not know of any user impact.
2226
2227 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
2228
2229         Put keygen element behind a runtime flag and disable it by default
2230         https://bugs.webkit.org/show_bug.cgi?id=200850
2231
2232         Reviewed by Antti Koivisto.
2233
2234         * WebView/WebPreferenceKeysPrivate.h:
2235         * WebView/WebPreferences.mm:
2236         (-[WebPreferences keygenElementEnabled]):
2237         (-[WebPreferences setKeygenElementEnabled:]):
2238         * WebView/WebPreferencesPrivate.h:
2239         * WebView/WebView.mm:
2240         (-[WebView _preferencesChanged:]):
2241
2242 2019-08-19  Sihui Liu  <sihui_liu@apple.com>
2243
2244         Remove IDB-specific quota
2245         https://bugs.webkit.org/show_bug.cgi?id=196545
2246         <rdar://problem/54201783>
2247
2248         Reviewed by Youenn Fablet.
2249
2250         * Storage/WebDatabaseManager.mm:
2251         (-[WebDatabaseManager setIDBPerOriginQuota:]): Deleted.
2252         * Storage/WebDatabaseManagerPrivate.h:
2253
2254 2019-08-18  Yusuke Suzuki  <ysuzuki@apple.com>
2255
2256         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, makeUnique / makeUniqueWithoutFastMallocCheck part
2257         https://bugs.webkit.org/show_bug.cgi?id=200620
2258
2259         Reviewed by Geoffrey Garen.
2260
2261         * History/WebHistory.mm:
2262         (-[WebHistoryPrivate init]):
2263         * History/WebHistoryItem.mm:
2264         (-[WebHistoryItem initFromDictionaryRepresentation:]):
2265         * Plugins/Hosted/NetscapePluginHostProxy.mm:
2266         (WKPCGetScriptableNPObjectReply):
2267         (WKPCBooleanReply):
2268         (WKPCBooleanAndDataReply):
2269         (WKPCInstantiatePluginReply):
2270         * Plugins/Hosted/ProxyInstance.mm:
2271         (WebKit::ProxyInstance::methodNamed):
2272         (WebKit::ProxyInstance::fieldNamed):
2273         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
2274         (-[WebHostedNetscapePluginView createPlugin]):
2275         * Plugins/WebNetscapePluginEventHandler.mm:
2276         (WebNetscapePluginEventHandler::create):
2277         * Plugins/WebNetscapePluginView.mm:
2278         (-[WebNetscapePluginView scheduleTimerWithInterval:repeat:timerFunc:]):
2279         * Storage/WebDatabaseManagerClient.mm:
2280         (DidModifyOriginData::dispatchToMainThread):
2281         * WebCoreSupport/WebFrameLoaderClient.mm:
2282         (addRedirectURL):
2283         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
2284         * WebCoreSupport/WebInspectorClient.mm:
2285         (WebInspectorClient::openLocalFrontend):
2286         * WebView/WebDeviceOrientationProviderMock.mm:
2287         * WebView/WebFrame.mm:
2288         (-[WebFrame _attachScriptDebugger]):
2289         * WebView/WebMediaPlaybackTargetPicker.mm:
2290         (WebMediaPlaybackTargetPicker::create):
2291         * WebView/WebTextIterator.mm:
2292         (-[WebTextIterator initWithRange:]):
2293         * WebView/WebView.mm:
2294         (-[WebView _injectOutlookQuirksScript]):
2295         (-[WebView _commonInitializationWithFrameName:groupName:]):
2296         (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
2297         (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
2298         (-[WebView _selectionServiceController]):
2299         (-[WebView _setTextIndicator:withLifetime:]):
2300         * WebView/WebViewData.mm:
2301         (WebViewLayerFlushScheduler::WebViewLayerFlushScheduler):
2302         (-[WebViewPrivate init]):
2303
2304 2019-08-17  Darin Adler  <darin@apple.com>
2305
2306         Tidy up checks to see if a character is in the Latin-1 range by using isLatin1 consistently
2307         https://bugs.webkit.org/show_bug.cgi?id=200861
2308
2309         Reviewed by Ross Kirsling.
2310
2311         * Misc/WebKitNSStringExtras.mm:
2312         (canUseFastRenderer): Use isLatin1.
2313
2314 2019-08-16  Chris Dumez  <cdumez@apple.com>
2315
2316         LocalStorageDatabaseTracker does not need to subclass ThreadSafeRefCounted
2317         https://bugs.webkit.org/show_bug.cgi?id=200825
2318
2319         Reviewed by Alex Christensen.
2320
2321         * Misc/WebKitVersionChecks.h:
2322         * Storage/WebStorageManager.mm:
2323         (WebKitInitializeStorageIfNecessary):
2324
2325 2019-08-16  Ryosuke Niwa  <rniwa@webkit.org>
2326
2327         Split tabIndex computation for DOM and the rest of WebCore
2328         https://bugs.webkit.org/show_bug.cgi?id=200806
2329
2330         Reviewed by Chris Dumez.
2331
2332         * DOM/DOMHTMLElement.mm:
2333         (-[DOMHTMLElement tabIndex]):
2334         (-[DOMHTMLElement setTabIndex:]):
2335
2336 2019-08-15  Yusuke Suzuki  <ysuzuki@apple.com>
2337
2338         [WTF] Add makeUnique<T>, which ensures T is fast-allocated, WTF_MAKE_FAST_ALLOCATED annotation part
2339         https://bugs.webkit.org/show_bug.cgi?id=200620
2340
2341         Reviewed by Geoffrey Garen.
2342
2343         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
2344         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
2345         * Plugins/WebNetscapePluginEventHandlerCocoa.h:
2346         * Storage/WebDatabaseManagerClient.mm:
2347         * WebCoreSupport/WebAlternativeTextClient.h:
2348         * WebCoreSupport/WebCachedFramePlatformData.h:
2349         * WebCoreSupport/WebChromeClient.h:
2350         * WebCoreSupport/WebContextMenuClient.h:
2351         * WebCoreSupport/WebDragClient.h:
2352         * WebCoreSupport/WebEditorClient.h:
2353         * WebCoreSupport/WebGeolocationClient.h:
2354         * WebCoreSupport/WebInspectorClient.h:
2355         * WebCoreSupport/WebNotificationClient.h:
2356         * WebCoreSupport/WebSelectionServiceController.h:
2357         * WebView/WebMediaPlaybackTargetPicker.h:
2358
2359 2019-08-15  Tim Horton  <timothy_horton@apple.com>
2360
2361         Yellow Lookup highlight gets stuck over Mail messages
2362         https://bugs.webkit.org/show_bug.cgi?id=200778
2363         <rdar://problem/53868514>
2364
2365         Reviewed by Wenson Hsieh.
2366
2367         * WebView/WebView.mm:
2368         (-[WebView _showDictionaryLookupPopup:]):
2369         Add a dismissal callback so that when Reveal hides the panel, it also
2370         dismisses the yellow indicator. This matches the behavior in modern WebKit.
2371
2372 2019-08-15  Sihui Liu  <sihui_liu@apple.com>
2373
2374         Some improvements on web storage
2375         https://bugs.webkit.org/show_bug.cgi?id=200373
2376
2377         Reviewed by Geoffrey Garen.
2378
2379         * WebView/WebView.mm:
2380         (-[WebView _preferencesChanged:]): notify storageNamespaceProvider about session change.
2381
2382 2019-08-15  Youenn Fablet  <youenn@apple.com>
2383
2384         Always create a Document with a valid SessionID
2385         https://bugs.webkit.org/show_bug.cgi?id=200727
2386
2387         Reviewed by Alex Christensen.
2388
2389         Implement WebKit1 sessionID getter like done for WebKit2.
2390         Either the loader client has a page in which case the page session ID is used
2391         or the client has no page, in which case the default session ID is used.
2392         This is the same behavior as CachedResourceLoader.
2393
2394         * WebCoreSupport/WebFrameLoaderClient.mm:
2395         (WebFrameLoaderClient::sessionID const):
2396
2397 2019-08-15  Simon Fraser  <simon.fraser@apple.com>
2398
2399         Use ObjectIdentifier<FrameIdentifierType> for frameIDs
2400         https://bugs.webkit.org/show_bug.cgi?id=199986
2401
2402         Reviewed by Ryosuke Niwa.
2403
2404         Use the strongly-typed FrameIdentifier instead of uint64_t as frame identifiers everywhere.
2405
2406         * WebCoreSupport/WebFrameLoaderClient.h:
2407         * WebCoreSupport/WebFrameLoaderClient.mm:
2408         (WebFrameLoaderClient::frameID const):
2409
2410 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
2411
2412         Unreviewed, rolling out r248526.
2413
2414         Caused two IndexedDB perf tests to fail
2415
2416         Reverted changeset:
2417
2418         "Remove IDB-specific quota"
2419         https://bugs.webkit.org/show_bug.cgi?id=196545
2420         https://trac.webkit.org/changeset/248526
2421
2422 2019-08-14  Keith Rollin  <krollin@apple.com>
2423
2424         Remove support for macOS < 10.13
2425         https://bugs.webkit.org/show_bug.cgi?id=200694
2426         <rdar://problem/54278851>
2427
2428         Reviewed by Youenn Fablet.
2429
2430         Update conditionals that reference __MAC_OS_X_VERSION_MIN_REQUIRED and
2431         __MAC_OS_X_VERSION_MAX_ALLOWED, assuming that they both have values >=
2432         101300. This means that expressions like
2433         "__MAC_OS_X_VERSION_MIN_REQUIRED < 101300" are always False and
2434         "__MAC_OS_X_VERSION_MIN_REQUIRED >= 101300" are always True.
2435
2436         * WebCoreSupport/WebEditorClient.mm:
2437         * WebView/PDFViewSPI.h:
2438         * WebView/WebHTMLView.mm:
2439         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:]):
2440         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:]):
2441         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inContext:topView:]): Deleted.
2442         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]): Deleted.
2443         * WebView/WebPreferences.mm:
2444         (+[WebPreferences initialize]):
2445         * WebView/WebView.mm:
2446         (-[WebView performDragOperation:]):
2447         (LayerFlushController::flushLayers):
2448         (-[WebView updateMediaTouchBar]):
2449         * WebView/WebViewData.h:
2450
2451 2019-08-14  Youenn Fablet  <youenn@apple.com>
2452
2453         ThreadableBlobRegistry::blobSize should take a SessionID as parameter
2454         https://bugs.webkit.org/show_bug.cgi?id=200671
2455
2456         Reviewed by ALex Christensen.
2457
2458         * WebCoreSupport/WebPlatformStrategies.mm:
2459
2460 2019-08-13  Youenn Fablet  <youenn@apple.com>
2461
2462         Blob registries should be keyed by session IDs
2463         https://bugs.webkit.org/show_bug.cgi?id=200567
2464
2465         Reviewed by Alex Christensen.
2466
2467         * WebCoreSupport/WebPlatformStrategies.mm:
2468         (WebPlatformStrategies::createBlobRegistry):
2469         Ignore sessionID parameter for WK1.
2470
2471 2019-08-12  Chris Dumez  <cdumez@apple.com>
2472
2473         Add threading assertions to RefCounted
2474         https://bugs.webkit.org/show_bug.cgi?id=200507
2475
2476         Reviewed by Ryosuke Niwa.
2477
2478         * WebView/WebView.mm:
2479         (+[WebView initialize]):
2480         Enable new RefCounted threading assertions for WebKitLegacy.
2481
2482 2019-08-12  Chris Dumez  <cdumez@apple.com>
2483
2484         Unreviewed, rolling out r248525.
2485
2486         Revert new threading assertions while I work on fixing the
2487         issues they exposed
2488
2489         Reverted changeset:
2490
2491         "Add threading assertions to RefCounted"
2492         https://bugs.webkit.org/show_bug.cgi?id=200507
2493         https://trac.webkit.org/changeset/248525
2494
2495 2019-08-12  Youenn Fablet  <youenn@apple.com>
2496
2497         Remove IDB-specific quota
2498         https://bugs.webkit.org/show_bug.cgi?id=196545
2499
2500         Reviewed by Alex Christensen.
2501
2502         * Storage/WebDatabaseManager.mm:
2503         (-[WebDatabaseManager setIDBPerOriginQuota:]): Deleted.
2504         * Storage/WebDatabaseManagerPrivate.h:
2505
2506 2019-08-11  Chris Dumez  <cdumez@apple.com>
2507
2508         Add threading assertions to RefCounted
2509         https://bugs.webkit.org/show_bug.cgi?id=200507
2510
2511         Reviewed by Ryosuke Niwa.
2512
2513         * WebView/WebView.mm:
2514         (+[WebView initialize]):
2515         Enable new RefCounted threading assertions for WebKitLegacy.
2516
2517 2019-08-10  Tim Horton  <timothy_horton@apple.com>
2518
2519         Remove some more unused 32-bit code
2520         https://bugs.webkit.org/show_bug.cgi?id=200607
2521
2522         Reviewed by Alexey Proskuryakov.
2523
2524         * Configurations/WebKitLegacy.xcconfig:
2525         * Misc/WebSharingServicePickerController.mm:
2526         (-[WebSharingServicePickerController initWithItems:includeEditorServices:client:style:]):
2527         (-[WebSharingServicePickerController initWithSharingServicePicker:client:]):
2528         (-[WebSharingServicePickerController sharingService:didShareItems:]):
2529         * Plugins/WebNetscapePluginEventHandler.mm:
2530         * Plugins/WebNetscapePluginEventHandlerCarbon.h: Removed.
2531         * Plugins/WebNetscapePluginEventHandlerCarbon.mm: Removed.
2532         * Plugins/WebNetscapePluginEventHandlerCocoa.h:
2533         (WebNetscapePluginEventHandlerCocoa::installKeyEventHandler): Deleted.
2534         (WebNetscapePluginEventHandlerCocoa::removeKeyEventHandler): Deleted.
2535         * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
2536         (WebNetscapePluginEventHandlerCocoa::WebNetscapePluginEventHandlerCocoa):
2537         (WebNetscapePluginEventHandlerCocoa::keyDown):
2538         (WebNetscapePluginEventHandlerCocoa::focusChanged):
2539         (WebNetscapePluginEventHandlerCocoa::installKeyEventHandler): Deleted.
2540         (WebNetscapePluginEventHandlerCocoa::removeKeyEventHandler): Deleted.
2541         (WebNetscapePluginEventHandlerCocoa::TSMEventHandler): Deleted.
2542         (WebNetscapePluginEventHandlerCocoa::handleTSMEvent): Deleted.
2543         * WebCoreSupport/WebContextMenuClient.mm:
2544         (WebContextMenuClient::contextMenuForEvent):
2545         * WebView/WebHTMLView.mm:
2546         (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
2547         (-[WebHTMLView pressureChangeWithEvent:]):
2548         * WebView/WebView.mm:
2549         (LayerFlushController::flushLayers):
2550
2551 2019-08-08  Rob Buis  <rbuis@igalia.com>
2552
2553         Add runtime flag for lazy image loading
2554         https://bugs.webkit.org/show_bug.cgi?id=199794
2555
2556         Reviewed by Darin Adler.
2557
2558         Set lazyImageLoading runtime flag if preference is set.
2559
2560         * WebView/WebPreferenceKeysPrivate.h:
2561         * WebView/WebPreferences.mm:
2562         (+[WebPreferences initialize]):
2563         (-[WebPreferences lazyImageLoadingEnabled]):
2564         (-[WebPreferences setLazyImageLoadingEnabled:]):
2565         * WebView/WebPreferencesPrivate.h:
2566         * WebView/WebView.mm:
2567         (-[WebView _preferencesChanged:]):
2568
2569 2019-08-07  Priyanka Agarwal  <pagarwal999@apple.com>
2570
2571         Allow clients to toggle a text input field between being viewable and having characters hidden while maintaining 
2572         a yellow auto-filled appearance
2573         https://bugs.webkit.org/show_bug.cgi?id=200037
2574         rdar://problem/51900961
2575
2576         Reviewed by Daniel Bates.
2577
2578         * DOM/WebDOMOperations.mm:
2579         (-[DOMHTMLInputElement _isAutoFilledAndViewable]):
2580         (-[DOMHTMLInputElement _setAutoFilledAndViewable:]):
2581         * DOM/WebDOMOperationsPrivate.h:
2582
2583 2019-08-02  Keith Rollin  <krollin@apple.com>
2584
2585         Consistently use Obj-C boolean literals
2586         https://bugs.webkit.org/show_bug.cgi?id=200405
2587         <rdar://problem/53880043>
2588
2589         Reviewed by Simon Fraser, Joseph Pecoraro.
2590
2591         There are places where we use equivalent but different expressions for
2592         Obj-C boolean objects. For example, we use both [NSNumber
2593         numberWithBool:YES] and @YES. There are places where both are used in
2594         the same function, such as -[WebPreferences initialize]. The boolean
2595         literal is in greater use and is more succinct, so standardize on
2596         that. Also, change @(YES/NO) to @YES/NO.
2597
2598         * History/WebHistoryItem.mm:
2599         * WebView/WebFrame.mm:
2600         (-[WebFrame _cacheabilityDictionary]):
2601         * WebView/WebPreferences.mm:
2602         (+[WebPreferences initialize]):
2603
2604 2019-08-01  Alex Christensen  <achristensen@webkit.org>
2605
2606         Move FormData zip file generation to NetworkProcess and enable it for all WebKit clients for uploading directories
2607         https://bugs.webkit.org/show_bug.cgi?id=200102
2608         <rdar://problem/53275114>
2609
2610         Reviewed by Darin Adler.
2611
2612         * DefaultDelegates/WebDefaultUIDelegate.mm:
2613         (-[WebDefaultUIDelegate webView:shouldReplaceUploadFile:usingGeneratedFilename:]): Deleted.
2614         (-[WebDefaultUIDelegate webView:generateReplacementFile:]): Deleted.
2615         * WebCoreSupport/WebChromeClient.h:
2616         * WebCoreSupport/WebChromeClient.mm:
2617         (WebChromeClient::shouldReplaceWithGeneratedFileForUpload): Deleted.
2618         (WebChromeClient::generateReplacementFile): Deleted.
2619         * WebView/WebUIDelegatePrivate.h:
2620
2621 2019-07-25  Dean Jackson  <dino@apple.com>
2622
2623         Add helper for ignoring deprecated implementation warnings
2624         https://bugs.webkit.org/show_bug.cgi?id=200135
2625
2626         Reviewed by Wenson Hsieh.
2627
2628         Add ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN/END macro which
2629         is IGNORE_WARNINGS_BEGIN("deprecated-implementations")
2630
2631         * Misc/WebDownload.mm:
2632         (-[WebDownload initWithRequest:delegate:]):
2633         * Misc/WebIconDatabase.mm:
2634         * Plugins/WebBaseNetscapePluginView.mm:
2635         (-[WebBaseNetscapePluginView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
2636         (-[WebBaseNetscapePluginView IGNORE_WARNINGS_END]): Deleted.
2637         * WebView/WebDynamicScrollBarsView.mm:
2638         (-[WebDynamicScrollBarsView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
2639         (-[WebDynamicScrollBarsView IGNORE_WARNINGS_END]): Deleted.
2640         * WebView/WebHTMLView.mm:
2641         (-[WebHTMLView draggingSourceOperationMaskForLocal:]):
2642         (-[WebHTMLView draggedImage:endedAt:operation:]):
2643         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
2644         (-[WebHTMLView accessibilityAttributeValue:]):
2645         (-[WebHTMLView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]):
2646         (-[WebHTMLView characterIndexForPoint:]):
2647         (-[WebHTMLView firstRectForCharacterRange:]):
2648         (-[WebHTMLView attributedSubstringFromRange:]):
2649         (-[WebHTMLView setMarkedText:selectedRange:]):
2650         (-[WebHTMLView doCommandBySelector:]):
2651         (-[WebHTMLView insertText:]):
2652         (-[WebHTMLView IGNORE_WARNINGS_END]): Deleted.
2653
2654 2019-07-23  Wenson Hsieh  <wenson_hsieh@apple.com>
2655
2656         [macOS 10.15] Web process crashes when attempting to show the font panel via Font > Show Fonts
2657         https://bugs.webkit.org/show_bug.cgi?id=200021
2658         <rdar://problem/53301325>
2659
2660         Reviewed by Ryosuke Niwa.
2661
2662         Implement a new editing client hook. In WebKit1, this always returns true on macOS and false on iOS.
2663
2664         * WebCoreSupport/WebEditorClient.h:
2665
2666 2019-07-22  Simon Fraser  <simon.fraser@apple.com>
2667
2668         Fix WebView iframe rendering in macOS Catalina
2669         https://bugs.webkit.org/show_bug.cgi?id=200022
2670         rdar://problem/49102040
2671
2672         Reviewed by Darin Adler.
2673
2674         Adapt to internal NSView method renames in Catalina.
2675
2676         * WebView/WebHTMLView.mm:
2677         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inContext:topView:]):
2678         (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:stopAtLayerBackedViews:_recursive:displayRectIgnoringOpacity:inContext:shouldChangeFontReferenceColor:_recursive:displayRectIgnoringOpacity:inContext:topView:]): Deleted.
2679
2680 2019-07-22  Simon Fraser  <simon.fraser@apple.com>
2681
2682         Enable CSSOMViewScrollingAPIEnabled in WebKit1
2683         https://bugs.webkit.org/show_bug.cgi?id=200008
2684         rdar://problem/53409062
2685
2686         Reviewed by Tim Horton.
2687
2688         Default WebKitCSSOMViewScrollingAPIEnabledPreferenceKey to YES, so that 
2689         CSSOMViewScrollingAPIEnabled is on for both WebKit1 and WebKit2.
2690
2691         DumpRenderTree already turns this preference on, so this change is not
2692         detected by tests.
2693
2694         * WebView/WebPreferences.mm:
2695         (+[WebPreferences initialize]):
2696
2697 2019-07-22  Youenn Fablet  <youenn@apple.com>
2698
2699         Disable MediaRecorder for legacy WebKit
2700         https://bugs.webkit.org/show_bug.cgi?id=200001
2701         <rdar://problem/53400030>
2702
2703         Reviewed by Eric Carlson.
2704
2705         Disable MediaRecorder by default in legacy WebKit.
2706         Add SPI to set/get this preference.
2707
2708         * WebView/WebPreferences.mm:
2709         (+[WebPreferences initialize]):
2710         (-[WebPreferences _mediaRecorderEnabled]):
2711         (-[WebPreferences _setMediaRecorderEnabled:]):
2712         * WebView/WebPreferencesPrivate.h:
2713
2714 2019-07-18  Alex Christensen  <achristensen@webkit.org>
2715
2716         Unify builds in WebKitLegacy/mac/DOM
2717         https://bugs.webkit.org/show_bug.cgi?id=199771
2718
2719         Reviewed by Geoffrey Garen.
2720
2721         * DOM/DOMAbstractView.mm:
2722         * DOM/DOMAttr.mm:
2723         * DOM/DOMBlob.mm:
2724         * DOM/DOMCDATASection.mm:
2725         * DOM/DOMCSSFontFaceRule.mm:
2726         * DOM/DOMCSSImportRule.mm:
2727         * DOM/DOMCSSMediaRule.mm:
2728         * DOM/DOMCSSPageRule.mm:
2729         * DOM/DOMCSSPrimitiveValue.mm:
2730         * DOM/DOMCSSRule.mm:
2731         * DOM/DOMCSSRuleList.mm:
2732         * DOM/DOMCSSStyleDeclaration.mm:
2733         * DOM/DOMCSSStyleRule.mm:
2734         * DOM/DOMCSSStyleSheet.mm:
2735         * DOM/DOMCSSUnknownRule.mm:
2736         * DOM/DOMCSSValue.mm:
2737         * DOM/DOMCSSValueList.mm:
2738         * DOM/DOMCharacterData.mm:
2739         * DOM/DOMComment.mm:
2740         * DOM/DOMCounter.mm:
2741         * DOM/DOMDocument.mm:
2742         * DOM/DOMDocumentFragment.mm:
2743         * DOM/DOMDocumentType.mm:
2744         * DOM/DOMEvent.mm:
2745         * DOM/DOMFile.mm:
2746         * DOM/DOMFileList.mm:
2747         * DOM/DOMHTMLAnchorElement.mm:
2748         * DOM/DOMHTMLAppletElement.mm:
2749         * DOM/DOMHTMLAreaElement.mm:
2750         * DOM/DOMHTMLBRElement.mm:
2751         * DOM/DOMHTMLBaseElement.mm:
2752         * DOM/DOMHTMLBaseFontElement.mm:
2753         * DOM/DOMHTMLBodyElement.mm:
2754         * DOM/DOMHTMLButtonElement.mm:
2755         * DOM/DOMHTMLCanvasElement.mm:
2756         * DOM/DOMHTMLCollection.mm:
2757         * DOM/DOMHTMLDListElement.mm:
2758         * DOM/DOMHTMLDirectoryElement.mm:
2759         * DOM/DOMHTMLDivElement.mm:
2760         * DOM/DOMHTMLDocument.mm:
2761         * DOM/DOMHTMLElement.mm:
2762         * DOM/DOMHTMLEmbedElement.mm:
2763         * DOM/DOMHTMLFieldSetElement.mm:
2764         * DOM/DOMHTMLFontElement.mm:
2765         * DOM/DOMHTMLFormElement.mm:
2766         * DOM/DOMHTMLFrameElement.mm:
2767         * DOM/DOMHTMLFrameSetElement.mm:
2768         * DOM/DOMHTMLHRElement.mm:
2769         * DOM/DOMHTMLHeadElement.mm:
2770         * DOM/DOMHTMLHeadingElement.mm:
2771         * DOM/DOMHTMLHtmlElement.mm:
2772         * DOM/DOMHTMLIFrameElement.mm:
2773         * DOM/DOMHTMLImageElement.mm:
2774         * DOM/DOMHTMLInputElement.mm:
2775         * DOM/DOMHTMLLIElement.mm:
2776         * DOM/DOMHTMLLabelElement.mm:
2777         * DOM/DOMHTMLLegendElement.mm:
2778         * DOM/DOMHTMLLinkElement.mm:
2779         * DOM/DOMHTMLMapElement.mm:
2780         * DOM/DOMHTMLMarqueeElement.mm:
2781         * DOM/DOMHTMLMediaElement.mm:
2782         * DOM/DOMHTMLMenuElement.mm:
2783         * DOM/DOMHTMLMetaElement.mm:
2784         * DOM/DOMHTMLModElement.mm:
2785         * DOM/DOMHTMLOListElement.mm:
2786         * DOM/DOMHTMLObjectElement.mm:
2787         * DOM/DOMHTMLOptGroupElement.mm:
2788         * DOM/DOMHTMLOptionElement.mm:
2789         * DOM/DOMHTMLOptionsCollection.mm:
2790         * DOM/DOMHTMLParagraphElement.mm:
2791         * DOM/DOMHTMLParamElement.mm:
2792         * DOM/DOMHTMLPreElement.mm:
2793         * DOM/DOMHTMLQuoteElement.mm:
2794         * DOM/DOMHTMLScriptElement.mm:
2795         * DOM/DOMHTMLSelectElement.mm:
2796         * DOM/DOMHTMLStyleElement.mm:
2797         * DOM/DOMHTMLTableCaptionElement.mm:
2798         * DOM/DOMHTMLTableCellElement.mm:
2799         * DOM/DOMHTMLTableColElement.mm:
2800         * DOM/DOMHTMLTableElement.mm:
2801         * DOM/DOMHTMLTableRowElement.mm:
2802         * DOM/DOMHTMLTableSectionElement.mm:
2803         * DOM/DOMHTMLTitleElement.mm:
2804         * DOM/DOMHTMLUListElement.mm:
2805         * DOM/DOMHTMLVideoElement.mm:
2806         * DOM/DOMKeyboardEvent.mm:
2807         * DOM/DOMMediaError.mm:
2808         * DOM/DOMMediaList.mm:
2809         * DOM/DOMMouseEvent.mm:
2810         * DOM/DOMMutationEvent.mm:
2811         * DOM/DOMNamedNodeMap.mm:
2812         * DOM/DOMNodeIterator.mm:
2813         * DOM/DOMNodeList.mm:
2814         * DOM/DOMOverflowEvent.mm:
2815         * DOM/DOMProcessingInstruction.mm:
2816         * DOM/DOMProgressEvent.mm:
2817         * DOM/DOMRGBColor.mm:
2818         * DOM/DOMRange.mm:
2819         * DOM/DOMRect.mm:
2820         * DOM/DOMStyleSheet.mm:
2821         * DOM/DOMStyleSheetList.mm:
2822         * DOM/DOMText.mm:
2823         * DOM/DOMTextEvent.mm:
2824         * DOM/DOMTimeRanges.mm:
2825         * DOM/DOMTokenList.mm:
2826         * DOM/DOMTreeWalker.mm:
2827         * DOM/DOMUIEvent.mm:
2828         * DOM/DOMWheelEvent.mm:
2829         * DOM/DOMXPath.mm:
2830         * DOM/DOMXPathExpression.mm:
2831         * DOM/DOMXPathResult.mm:
2832
2833 2019-07-17  Antoine Quint  <graouts@apple.com>
2834
2835         Disable Pointer Events prior to watchOS 6
2836         https://bugs.webkit.org/show_bug.cgi?id=199890
2837         <rdar://problem/53206113>
2838
2839         Reviewed by Dean Jackson.
2840
2841         * Configurations/FeatureDefines.xcconfig:
2842
2843 2019-07-17  Zalan Bujtas  <zalan@apple.com>
2844
2845         Unable to tap buttons at top of Wells Fargo app’s Payees screen
2846         https://bugs.webkit.org/show_bug.cgi?id=199846
2847         <rdar://problem/48112220>
2848
2849         Reviewed by Simon Fraser.
2850
2851         * WebView/WebFrame.mm:
2852         (-[WebFrame approximateNodeAtViewportLocation:]):
2853
2854 2019-07-17  Alex Christensen  <achristensen@webkit.org>
2855
2856         Add a runtime-disabled dialog element skeleton
2857         https://bugs.webkit.org/show_bug.cgi?id=199839
2858
2859         Reviewed by Ryosuke Niwa.
2860
2861         * WebView/WebPreferenceKeysPrivate.h:
2862         * WebView/WebPreferences.mm:
2863         (+[WebPreferences initialize]):
2864         (-[WebPreferences dialogElementEnabled]):
2865         (-[WebPreferences setDialogElementEnabled:]):
2866         * WebView/WebPreferencesPrivate.h:
2867         * WebView/WebView.mm:
2868         (-[WebView _preferencesChanged:]):
2869         Add SPI to enable the dialog element for tests.
2870
2871 2019-07-15  Dean Jackson  <dino@apple.com>
2872
2873         [WebGL] Remove software rendering and simplify context creation on macOS
2874         https://bugs.webkit.org/show_bug.cgi?id=199789
2875
2876         Reviewed by Sam Weinig.
2877
2878         Remove force software WebGL setting.
2879
2880         * WebView/WebPreferenceKeysPrivate.h:
2881         * WebView/WebPreferences.mm:
2882         (+[WebPreferences initialize]):
2883         (-[WebPreferences forceSoftwareWebGLRendering]): Deleted.
2884         (-[WebPreferences setForceSoftwareWebGLRendering:]): Deleted.
2885         * WebView/WebPreferencesPrivate.h:
2886         * WebView/WebView.mm:
2887         (-[WebView _preferencesChanged:]):
2888
2889 2019-07-13  Zalan Bujtas  <zalan@apple.com>
2890
2891         Cannot bring up custom media controls at all on v.youku.com
2892         https://bugs.webkit.org/show_bug.cgi?id=199699
2893         <rdar://problem/51835327>
2894
2895         Reviewed by Simon Fraser.
2896
2897         * WebCoreSupport/WebFrameLoaderClient.mm:
2898         (WebFrameLoaderClient::actionDictionary const):
2899         * WebView/WebFrame.mm:
2900         (-[WebFrame elementAtPoint:]):
2901         * WebView/WebHTMLView.mm:
2902         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
2903         * WebView/WebImmediateActionController.mm:
2904         (-[WebImmediateActionController performHitTestAtPoint:]):
2905
2906 2019-07-12  Alex Christensen  <achristensen@webkit.org>
2907
2908         Begin unifying WebKitLegacy sources
2909         https://bugs.webkit.org/show_bug.cgi?id=199730
2910
2911         Reviewed by Keith Miller.
2912
2913         * Configurations/WebKitLegacy.xcconfig:
2914
2915 2019-07-11  Pablo Saavedra  <psaavedra@igalia.com>
2916
2917         [WPE][GTK] Build failure with ENABLE_ACCESSIBILITY=OFF
2918         https://bugs.webkit.org/show_bug.cgi?id=199625
2919
2920         Added ENABLE(ACCESSIBILITY) and replaced HAVE(ACCESSIBILITY)
2921         with ENABLE(ACCESSIBILITY) in the code.
2922
2923         Additionally, the TestRunner code generator now honors the
2924         Conditional IDL format.
2925
2926         Reviewed by Konstantin Tokarev.
2927
2928         * WebView/WebFrame.mm:
2929         (-[WebFrame setAccessibleName:]):
2930         (-[WebFrame enhancedAccessibilityEnabled]):
2931         (-[WebFrame setEnhancedAccessibility:]):
2932         (-[WebFrame accessibilityRoot]):
2933
2934 2019-07-08  Antoine Quint  <graouts@apple.com>
2935
2936         [Pointer Events] Enable only on the most recent version of the supported iOS family
2937         https://bugs.webkit.org/show_bug.cgi?id=199562
2938         <rdar://problem/52766511>
2939
2940         Reviewed by Dean Jackson.
2941
2942         * Configurations/FeatureDefines.xcconfig:
2943
2944 2019-07-03  Sam Weinig  <weinig@apple.com>
2945
2946         Adopt simple structured bindings in more places
2947         https://bugs.webkit.org/show_bug.cgi?id=199247
2948
2949         Reviewed by Alex Christensen.
2950
2951         Replaces simple uses of std::tie() with structured bindings. Does not touch
2952         uses of std::tie() that are not initial declarations, use std::ignore or in
2953         case where the binding is captured by a lambda, as structured bindings don't
2954         work for those cases yet.
2955
2956         * WebView/WebImmediateActionController.mm:
2957         (-[WebImmediateActionController _animationControllerForText]):
2958
2959 2019-07-02  Devin Rousso  <drousso@apple.com>
2960
2961         Web Inspector: Debug: "Reset Web Inspector" should also clear the saved window size and attachment side
2962         https://bugs.webkit.org/show_bug.cgi?id=198956
2963
2964         Reviewed by Matt Baker.
2965
2966         * WebCoreSupport/WebInspectorClient.h:
2967         * WebCoreSupport/WebInspectorClient.mm:
2968         (WebInspectorFrontendClient::resetWindowState): Added.
2969
2970 2019-06-28  Timothy Hatcher  <timothy@apple.com>
2971
2972         Rename effectiveAppearanceIsInactive and useInactiveAppearance to better match UIUserInterfaceLevel.
2973         https://bugs.webkit.org/show_bug.cgi?id=199336
2974         rdar://problem/52348938
2975
2976         Reviewed by Tim Horton.
2977
2978         * WebView/WebView.mm:
2979         (-[WebView _commonInitializationWithFrameName:groupName:]):
2980         (-[WebView _setUseDarkAppearance:]):
2981         (-[WebView _useElevatedUserInterfaceLevel]):
2982         (-[WebView _setUseElevatedUserInterfaceLevel:]):
2983         (-[WebView _setUseDarkAppearance:useInactiveAppearance:]):
2984         (-[WebView _setUseDarkAppearance:useElevatedUserInterfaceLevel:]):
2985         (-[WebView _effectiveUserInterfaceLevelIsElevated]):
2986         (-[WebView viewDidChangeEffectiveAppearance]):
2987         (-[WebView _useInactiveAppearance]): Deleted.
2988         (-[WebView _setUseInactiveAppearance:]): Deleted.
2989         (-[WebView _effectiveAppearanceIsInactive]): Deleted.
2990         * WebView/WebViewPrivate.h:
2991
2992 2019-06-28  Konstantin Tokarev  <annulen@yandex.ru>
2993
2994         Remove traces of ENABLE_ICONDATABASE remaining after its removal in 219733
2995         https://bugs.webkit.org/show_bug.cgi?id=199317
2996
2997         Reviewed by Michael Catanzaro.
2998
2999         While IconDatabase and all code using it was removed,
3000         ENABLE_ICONDATABASE still exists as build option and C++ macro.
3001
3002         * Configurations/FeatureDefines.xcconfig:
3003         * WebView/WebView.mm:
3004         (-[WebView _cacheFrameLoadDelegateImplementations]): Use PLATFORM(MAC)
3005         guard instead of ENABLE_ICONDATABASE, because ENABLE_ICONDATABASE was
3006         enabled for macOS only.
3007
3008 2019-06-27  Timothy Hatcher  <timothy@apple.com>
3009
3010         Move WebKitLegacy off of a couple AppKit ivars.
3011         https://bugs.webkit.org/show_bug.cgi?id=199279
3012         rdar://problem/34983438
3013
3014         Reviewed by Tim Horton.
3015
3016         * WebView/WebHTMLView.mm:
3017         (-[NSView _setSubviewsIvar:]): Added. Implement on older systems.
3018         (-[NSView _subviewsIvar]): Added. Ditto.
3019         (needsCursorRectsSupportAtPoint): Use _borderView property.
3020         (-[WebHTMLView _setAsideSubviews]): Use _subviewsIvar property.
3021         (-[NSWindow _web_borderView]): Deleted.
3022
3023 2019-06-27  Beth Dakin  <bdakin@apple.com>
3024
3025         Upstream use of MACCATALYST
3026         https://bugs.webkit.org/show_bug.cgi?id=199245
3027         rdar://problem/51687723
3028
3029         Reviewed by Tim Horton.
3030
3031         * Configurations/Base.xcconfig:
3032         * Configurations/FeatureDefines.xcconfig:
3033         * Configurations/SDKVariant.xcconfig:
3034
3035 2019-06-27  Saam Barati  <sbarati@apple.com>
3036
3037         Make WEBGPU enabled only on Mojave and later.
3038
3039         Rubber-stamped by Myles C. Maxfield.
3040
3041         * Configurations/FeatureDefines.xcconfig:
3042
3043 2019-06-16  Darin Adler  <darin@apple.com>
3044
3045         Rename AtomicString to AtomString
3046         https://bugs.webkit.org/show_bug.cgi?id=195276
3047
3048         Reviewed by Michael Catanzaro.
3049
3050         * many files: Let do-webcore-rename do the renaming.
3051
3052 2019-06-14  Megan Gardner  <megan_gardner@apple.com>
3053
3054         Move Synthetic Editing Commands to behind an experimental feature flag
3055         https://bugs.webkit.org/show_bug.cgi?id=198842
3056         <rdar://problem/50594700>
3057
3058         Reviewed by Simon Fraser.
3059
3060         Add plumbing for synthetic editing command feature flag.
3061
3062         * WebView/WebPreferenceKeysPrivate.h:
3063         * WebView/WebPreferences.mm:
3064         (+[WebPreferences initialize]):
3065         (-[WebPreferences syntheticEditingCommandsEnabled]):
3066         (-[WebPreferences setSyntheticEditingCommandsEnabled:]):
3067         * WebView/WebPreferencesPrivate.h:
3068         * WebView/WebView.mm:
3069         (-[WebView _preferencesChanged:]):
3070
3071 2019-06-13  Antoine Quint  <graouts@apple.com>
3072
3073         REGRESSION (r246103) [ Mojave+ WK1 ] Layout Test scrollbars/scrollbar-iframe-click-does-not-blur-content.html is timing out
3074         https://bugs.webkit.org/show_bug.cgi?id=198800
3075         <rdar://problem/51679634>
3076
3077         Reviewed by Tim Horton.
3078
3079         Expose a private method that we need to use from DumpRenderTree.
3080
3081         * WebView/WebHTMLView.mm:
3082         (-[WebHTMLView _hitViewForEvent:]):
3083         * WebView/WebHTMLViewPrivate.h:
3084
3085 2019-06-10  Sam Weinig  <weinig@apple.com>
3086
3087         Remove Dashboard support
3088         https://bugs.webkit.org/show_bug.cgi?id=198615
3089
3090         Reviewed by Ryosuke Niwa.
3091
3092         Removes implementation, but keeps privatly exported interfaces and enums
3093         around until we can confirm there are no more users of them. 
3094
3095         * Configurations/FeatureDefines.xcconfig:
3096         * Plugins/WebBaseNetscapePluginView.mm:
3097         (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:]):
3098         * WebCoreSupport/WebChromeClient.h:
3099         * WebCoreSupport/WebChromeClient.mm:
3100         (WebChromeClient::annotatedRegionsChanged): Deleted.
3101         * WebView/WebClipView.mm:
3102         (-[WebClipView _focusRingVisibleRect]):
3103         (-[WebClipView scrollWheel:]):
3104         * WebView/WebDashboardRegion.h:
3105         * WebView/WebDashboardRegion.mm:
3106         * WebView/WebHTMLView.mm:
3107         (-[WebHTMLView _updateMouseoverWithEvent:]):
3108         (-[WebHTMLView acceptsFirstMouse:]):
3109         (-[WebHTMLView setDataSource:]):
3110         * WebView/WebPreferences.mm:
3111         (cacheModelForMainBundle):
3112         * WebView/WebUIDelegatePrivate.h:
3113         * WebView/WebView.mm:
3114         (-[WebView _needsPreHTML5ParserQuirks]):
3115         (-[WebView _preferencesChanged:]):
3116         (-[WebView _addScrollerDashboardRegions:]):
3117         (-[WebView _dashboardRegions]):
3118         (-[WebView _setDashboardBehavior:to:]):
3119         (-[WebView _dashboardBehavior:]):
3120         (-[WebView _addControlRect:clip:fromView:toDashboardRegions:]): Deleted.
3121         (-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]): Deleted.
3122         (-[WebView _addScrollerDashboardRegions:from:]): Deleted.
3123         * WebView/WebViewData.h:
3124         * WebView/WebViewData.mm:
3125         (-[WebViewPrivate init]):
3126         * WebView/WebViewPrivate.h:
3127
3128 2019-06-10  Timothy Hatcher  <timothy@apple.com>
3129
3130         Integrate dark mode support for iOS.
3131         https://bugs.webkit.org/show_bug.cgi?id=198687
3132         rdar://problem/51545643
3133
3134         Reviewed by Tim Horton.
3135
3136         * Configurations/FeatureDefines.xcconfig:
3137
3138 2019-06-07  Said Abou-Hallawa  <sabouhallawa@apple.com>
3139
3140         REGRESSION (r244182) [WK1]: Page updates should always scheduleCompositingLayerFlush() immediately
3141         https://bugs.webkit.org/show_bug.cgi?id=198664
3142
3143         Reviewed by Simon Fraser.
3144
3145         WK1 has to skip using DisplayRefreshMonitor when layers need to be updated.
3146
3147         * WebCoreSupport/WebChromeClient.h:
3148         (WebChromeClient::needsImmediateScheduleCompositingLayerFlush):
3149
3150 == Rolled over to ChangeLog-2019-06-05 ==