Update build settings
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2016-03-20  Dan Bernstein  <mitz@apple.com>
2
3         Update build settings
4
5         Rubber-stamped by Andy Estes.
6
7         * Configurations/DebugRelease.xcconfig:
8         * Configurations/FeatureDefines.xcconfig:
9         * Configurations/Version.xcconfig:
10
11 2016-03-18  Darin Adler  <darin@apple.com>
12
13         Disable Caches in Safari's Develop menu does not disable caches.
14         https://bugs.webkit.org/show_bug.cgi?id=64483
15
16         Reviewed by Antti Koivisto.
17
18         * WebView/WebPreferenceKeysPrivate.h: Added ResourceCachingDisabled.
19         * WebView/WebPreferences.mm:
20         (-[WebPreferences isResourceCachingDisabled]): Added.
21         (-[WebPreferences setResourceCachingDisabled:]): Added.
22         * WebView/WebPreferencesPrivate.h: Added resourceCachingDisabled.
23         * WebView/WebView.mm:
24         (-[WebView _preferencesChanged:]): Push resourceCachingDisabled into WebCore.
25
26 2016-03-17  Csaba Osztrogonác  <ossy@webkit.org>
27
28         [cmake][Mac] Unreviewed speculative buildfix after r198088. Just for fun.
29
30         * WebView/WebView.mm:
31         (-[WebView _preferencesChanged:]):
32
33 2016-03-17  Andy Estes  <aestes@apple.com>
34
35         [Mac] Enable Content-Disposition: attachment sandbox
36         https://bugs.webkit.org/show_bug.cgi?id=155578
37         <rdar://problem/21886326>
38
39         Reviewed by Dan Bernstein.
40
41         Covered by the existing set of attachment sandbox tests, which have always been run on Mac.
42
43         * WebView/WebView.mm:
44         (-[WebView _commonInitializationWithFrameName:groupName:]):
45
46 2016-03-16  Beth Dakin  <bdakin@apple.com>
47
48         Provide NSSpellChecker spellChecking methods with the current insertion point
49         https://bugs.webkit.org/show_bug.cgi?id=155532
50         -and corresponding-
51         rdar://problem/24066952
52
53         Reviewed by Simon Fraser.
54
55         Extract the insertion point from the VisibleSelection that WebCore has 
56         passed. 
57         * WebCoreSupport/WebEditorClient.h:
58         (WebEditorClient::getGuessesForWord):
59         * WebCoreSupport/WebEditorClient.mm:
60         (WebEditorClient::checkTextOfParagraph):
61         (insertionPointFromCurrentSelection):
62         (WebEditorClient::getGuessesForWord):
63         (WebEditorClient::requestCheckingOfString):
64
65 2016-03-16  Chris Dumez  <cdumez@apple.com>
66
67         Unreviewed, rolling out r198235, r198240, r198241, and
68         r198252.
69
70         Causing crashes on ARM
71
72         Reverted changesets:
73
74         "Remove compile time define for SEPARATED_HEAP"
75         https://bugs.webkit.org/show_bug.cgi?id=155508
76         http://trac.webkit.org/changeset/198235
77
78         "Gardening: build fix after r198235."
79         http://trac.webkit.org/changeset/198240
80
81         "Build fix."
82         http://trac.webkit.org/changeset/198241
83
84         "Rename performJITMemcpy to something more inline with our
85         normal webkit function names"
86         https://bugs.webkit.org/show_bug.cgi?id=155525
87         http://trac.webkit.org/changeset/198252
88
89 2016-03-16  Jiewen Tan  <jiewen_tan@apple.com>
90
91         URL Parsing should signal failure for illegal IDN
92         https://bugs.webkit.org/show_bug.cgi?id=154945
93         <rdar://problem/8014795>
94
95         Reviewed by Brent Fulgham.
96
97         In this patch, we add new SPIs _webkit_URLWithUserTypedString, _webkit_decodeHostName and
98         _webkit_encodeHostName which will return nil while dealing with illegal IDN.
99
100         Old SPIs _web_URLWithUserTypedString, _web_decodeHostName and _web_encodeHostName are marked
101         deprecated as they ignore URL parsing failure.
102
103         * History/WebHistoryItem.mm:
104         (-[WebHistoryItem initFromDictionaryRepresentation:]):
105         * Misc/WebKitErrors.m:
106         (+[NSError _webKitErrorWithCode:failingURL:]):
107         * Misc/WebNSFileManagerExtras.mm:
108         (-[NSFileManager _webkit_setMetadataURL:referrer:atPath:]):
109         * Misc/WebNSPasteboardExtras.mm:
110         (-[NSPasteboard _web_bestURL]):
111         * Misc/WebNSURLExtras.h:
112         * Misc/WebNSURLExtras.mm:
113         (+[NSURL _web_URLWithUserTypedString:]):
114         (+[NSURL _webkit_URLWithUserTypedString:relativeToURL:]):
115         (+[NSURL _webkit_URLWithUserTypedString:]):
116         (-[NSString _web_decodeHostName]):
117         (-[NSString _web_encodeHostName]):
118         (-[NSString _webkit_decodeHostName]):
119         (-[NSString _webkit_encodeHostName]):
120         * Panels/WebAuthenticationPanel.m:
121         (-[WebAuthenticationPanel setUpForChallenge:]):
122         * WebCoreSupport/WebEditorClient.mm:
123         (WebEditorClient::canonicalizeURLString):
124
125 2016-03-15  Jer Noble  <jer.noble@apple.com>
126
127         [ios-sim debug] API test WebKit1.AudioSessionCategoryIOS timing out
128         https://bugs.webkit.org/show_bug.cgi?id=155275
129
130         Reviewed by Alexey Proskuryakov.
131
132         The videoPlaybackRequiresUserGesture and audioPlaybackRequiresUserGesture should both defalut to
133         NO, so that legacy clients of -[UIWebView setMediaPlaybackRequiresUserAction:] continue to work
134         as expected.
135
136         * WebView/WebPreferences.mm:
137         (+[WebPreferences initialize]):
138
139 2016-03-15  Oliver Hunt  <oliver@apple.com>
140
141         Remove compile time define for SEPARATED_HEAP
142         https://bugs.webkit.org/show_bug.cgi?id=155508
143
144         Reviewed by Mark Lam.
145
146         Remove the feature define.
147
148         * Configurations/FeatureDefines.xcconfig:
149
150 2016-03-15  Chris Dumez  <cdumez@apple.com>
151
152         Unreviewed, rolling out r198203.
153
154         Favorites view is no longer loading on iOS
155
156         Reverted changeset:
157
158         "URL Parsing should signal failure for illegal IDN"
159         https://bugs.webkit.org/show_bug.cgi?id=154945
160         http://trac.webkit.org/changeset/198203
161
162 2016-03-15  Jiewen Tan  <jiewen_tan@apple.com>
163
164         URL Parsing should signal failure for illegal IDN
165         https://bugs.webkit.org/show_bug.cgi?id=154945
166         <rdar://problem/8014795>
167
168         Reviewed by Brent Fulgham.
169
170         In this patch, we add new SPIs _webkit_URLWithUserTypedString, _webkit_decodeHostName and
171         _webkit_encodeHostName which will return nil while dealing with illegal IDN.
172
173         Old SPIs _web_URLWithUserTypedString, _web_decodeHostName and _web_encodeHostName are marked
174         deprecated as they ignore URL parsing failure.
175
176         * History/WebHistoryItem.mm:
177         (-[WebHistoryItem initFromDictionaryRepresentation:]):
178         * Misc/WebKitErrors.m:
179         (+[NSError _webKitErrorWithCode:failingURL:]):
180         * Misc/WebNSFileManagerExtras.mm:
181         (-[NSFileManager _webkit_setMetadataURL:referrer:atPath:]):
182         * Misc/WebNSPasteboardExtras.mm:
183         (-[NSPasteboard _web_bestURL]):
184         * Misc/WebNSURLExtras.h:
185         * Misc/WebNSURLExtras.mm:
186         (+[NSURL _web_URLWithUserTypedString:]):
187         (+[NSURL _webkit_URLWithUserTypedString:relativeToURL:]):
188         (+[NSURL _webkit_URLWithUserTypedString:]):
189         (-[NSString _web_decodeHostName]):
190         (-[NSString _web_encodeHostName]):
191         (-[NSString _webkit_decodeHostName]):
192         (-[NSString _webkit_encodeHostName]):
193         * Panels/WebAuthenticationPanel.m:
194         (-[WebAuthenticationPanel setUpForChallenge:]):
195         * WebCoreSupport/WebEditorClient.mm:
196         (WebEditorClient::canonicalizeURLString):
197
198 2016-03-14  Chris Dumez  <cdumez@apple.com>
199
200         Unreviewed, rolling out r197981.
201
202         Caused a massive PLT regression on Mac.
203
204         Reverted changeset:
205
206         "Font antialiasing (smoothing) changes when elements are
207         rendered into compositing layers"
208         https://bugs.webkit.org/show_bug.cgi?id=23364
209         http://trac.webkit.org/changeset/197981
210
211 2016-03-14  Sam Weinig  <sam@webkit.org>
212
213         Add a baseURL parameter to _WKUserStyleSheet
214         https://bugs.webkit.org/show_bug.cgi?id=155219
215
216         Reviewed by Tim Horton.
217
218         * WebView/WebView.mm:
219         (-[WebView _commonInitializationWithFrameName:groupName:]):
220         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
221         (-[WebView setGroupName:]):
222         Update to account for the name change from UserContentController -> UserContentProvider.
223
224 2016-03-14  Joonghun Park  <jh718.park@samsung.com>
225
226         Purge PassRefPtr from ArrayBuffer, ArchiveResource, Pasteboard, LegacyWebArchive and DataObjectGtk
227         https://bugs.webkit.org/show_bug.cgi?id=150497
228
229         Reviewed by Darin Adler.
230
231         * DOM/WebDOMOperations.mm:
232         (-[DOMNode webArchive]):
233         (-[DOMNode webArchiveByFilteringSubframes:]):
234         * WebCoreSupport/WebPlatformStrategies.h:
235         * WebCoreSupport/WebPlatformStrategies.mm:
236         (WebPlatformStrategies::bufferForType):
237         (WebPlatformStrategies::readBufferFromPasteboard):
238         * WebView/WebArchive.mm:
239         (-[WebArchive initWithData:]):
240         * WebView/WebDataSource.mm:
241         (-[WebDataSource webArchive]):
242         (-[WebDataSource addSubresource:]):
243         * WebView/WebResource.mm:
244         (-[WebResource encodeWithCoder:]):
245         (-[WebResource data]):
246         (-[WebResource _stringValue]):
247         (-[WebResource _initWithCoreResource:]): Deleted.
248
249 2016-03-14  Oliver Hunt  <oliver@apple.com>
250
251         Temporarily disable the separated heap.
252         https://bugs.webkit.org/show_bug.cgi?id=155472
253
254         Reviewed by Geoffrey Garen.
255
256         Temporarily disable this.
257
258         * Configurations/FeatureDefines.xcconfig:
259
260 2016-03-14  Anders Carlsson  <andersca@apple.com>
261
262         Fix build.
263
264         Ignore nullability warnings, create an empty PDF selection.
265
266         * WebView/WebPDFView.mm:
267         (-[WebPDFView centerSelectionInVisibleArea:]):
268         (-[WebPDFView searchFor:direction:caseSensitive:wrap:startInSelection:]):
269         (+[WebPDFView _PDFSelectionClass]):
270         (-[WebPDFView _nextMatchFor:direction:caseSensitive:wrap:fromSelection:startInSelection:]):
271
272 2016-03-13  Joseph Pecoraro  <pecoraro@apple.com>
273
274         Remove ENABLE(ES6_TEMPLATE_LITERAL_SYNTAX) guards
275         https://bugs.webkit.org/show_bug.cgi?id=155417
276
277         Reviewed by Yusuke Suzuki.
278
279         * Configurations/FeatureDefines.xcconfig:
280
281 2016-03-13  Dean Jackson  <dino@apple.com>
282
283         <attachment> should be a runtime-enabled feature
284         https://bugs.webkit.org/show_bug.cgi?id=155413
285         <rdar://problem/25120753>
286
287         Reviewed by Sam Weinig and Anders Carlsson.
288
289         Add an internal setting on WebPreferences
290         to enable the <attachment> element support.
291
292         * WebView/WebPreferenceKeysPrivate.h:
293         * WebView/WebPreferences.mm:
294         (+[WebPreferences initialize]):
295         (-[WebPreferences attachmentElementEnabled]):
296         (-[WebPreferences setAttachmentElementEnabled:]):
297         * WebView/WebPreferencesPrivate.h:
298         * WebView/WebView.mm:
299         (-[WebView _preferencesChanged:]):
300
301 2016-03-12  Sam Weinig  <sam@webkit.org>
302
303         WebKit can easily crash below NetworkSession::dataTaskForIdentifier() with NSURLSession enabled
304         <rdar://problem/25129946>
305         https://bugs.webkit.org/show_bug.cgi?id=155401
306
307         Reviewed by Alex Christensen.
308
309         * WebCoreSupport/WebFrameNetworkingContext.mm:
310         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
311         Pass a SessionID to NetworkStorageSession::createPrivateBrowsingSession().
312
313 2016-03-12  Myles C. Maxfield  <mmaxfield@apple.com>
314
315         Delete dead SVG Font code
316         https://bugs.webkit.org/show_bug.cgi?id=154718
317
318         Reviewed by Antti Koivisto.
319
320         * Configurations/FeatureDefines.xcconfig:
321
322 2016-03-11  Yusuke Suzuki  <utatane.tea@gmail.com>
323
324         [ES6] Implement Reflect.set without receiver support
325         https://bugs.webkit.org/show_bug.cgi?id=155024
326
327         Reviewed by Geoffrey Garen.
328
329         As the same to NPJSObject, we just propagate the returned value of NetscapePluginInstanceProxy::setProperty.
330
331         * Plugins/Hosted/ProxyInstance.h:
332         * Plugins/Hosted/ProxyInstance.mm:
333         (WebKit::ProxyField::setValueToInstance):
334         (WebKit::ProxyInstance::setFieldValue):
335
336 2016-03-10  Jeremy Jones  <jeremyj@apple.com>
337
338         Set AVURLAssetUsesNoPersistentCacheKey on AVAsset to match caching policy.
339         https://bugs.webkit.org/show_bug.cgi?id=155117
340         rdar://problem/6802240
341
342         Reviewed by Simon Fraser.
343
344         Implement mediaShouldUsePersistentCache to disable media caching when NSURLCache is disabled.
345
346         * WebCoreSupport/WebChromeClient.h:
347         * WebCoreSupport/WebChromeClient.mm:
348         (WebChromeClient::mediaShouldUsePersistentCache): Added.
349
350 2016-03-10  Simon Fraser  <simon.fraser@apple.com>
351
352         Font antialiasing (smoothing) changes when elements are rendered into compositing layers
353         https://bugs.webkit.org/show_bug.cgi?id=23364
354
355         Reviewed by Tim Horton.
356
357         Allow internal clients to turn off smoothed layer text, so that WebKitTestRunner
358         can disable it.
359
360         * WebView/WebView.mm:
361         (+[WebView _setSmoothedLayerTextEnabled:]):
362         (+[WebView _smoothedLayerTextEnabled]):
363         * WebView/WebViewPrivate.h:
364
365 2016-03-10  Jer Noble  <jer.noble@apple.com>
366
367         Add WebCore, WebKit, & WebKit2 preference/setting to enable Main Content heuristic.
368         https://bugs.webkit.org/show_bug.cgi?id=155326
369         <rdar://problem/25095408>
370
371         Reviewed by Beth Dakin.
372
373         Add SPI to get and set the new preference.
374
375         * WebView/WebPreferenceKeysPrivate.h:
376         * WebView/WebPreferences.mm:
377         (-[WebPreferences overrideUserGestureRequirementForMainContent]):
378         (-[WebPreferences setOverrideUserGestureRequirementForMainContent:]):
379         * WebView/WebPreferencesPrivate.h:
380         * WebView/WebView.mm:
381         (-[WebView _preferencesChanged:]):
382
383 2016-03-07  Jer Noble  <jer.noble@apple.com>
384
385         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
386         https://bugs.webkit.org/show_bug.cgi?id=155141
387
388         Reviewed by Beth Dakin.
389
390         Deprecate WebPreferences.mediaPlaybackRequiresUserGesture property in favor of .videoPlaybackRequiresUserGesture.
391
392         * WebView/WebPreferenceKeysPrivate.h:
393         * WebView/WebPreferences.mm:
394         (+[WebPreferences initialize]):
395         (-[WebPreferences mediaPlaybackRequiresUserGesture]):
396         (-[WebPreferences setMediaPlaybackRequiresUserGesture:]):
397         (-[WebPreferences videoPlaybackRequiresUserGesture]):
398         (-[WebPreferences setVideoPlaybackRequiresUserGesture:]):
399         * WebView/WebPreferencesPrivate.h:
400         * WebView/WebView.mm:
401         (-[WebView _preferencesChanged:]):
402
403 2016-03-10  Alexey Proskuryakov  <ap@apple.com>
404
405         Build fix for deprecated constant names.
406
407         * Carbon/CarbonWindowAdapter.mm:
408         (-[CarbonWindowAdapter initWithCarbonWindowRef:takingOwnership:disableOrdering:carbon:]):
409         (-[CarbonWindowAdapter sendSuperEvent:]):
410
411 2016-03-10  Commit Queue  <commit-queue@webkit.org>
412
413         Unreviewed, rolling out r197943.
414         https://bugs.webkit.org/show_bug.cgi?id=155317
415
416         This change broke Windows, WinCairo, GTK and EFL builds
417         (Requested by ryanhaddad on #webkit).
418
419         Reverted changeset:
420
421         "Add a baseURL parameter to _WKUserStyleSheet"
422         https://bugs.webkit.org/show_bug.cgi?id=155219
423         http://trac.webkit.org/changeset/197943
424
425 2016-03-08  Sam Weinig  <sam@webkit.org>
426
427         Add a baseURL parameter to _WKUserStyleSheet
428         https://bugs.webkit.org/show_bug.cgi?id=155219
429
430         Reviewed by Tim Horton.
431
432         * WebView/WebView.mm:
433         (-[WebView _commonInitializationWithFrameName:groupName:]):
434         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
435         (-[WebView setGroupName:]):
436         Update to account for the name change from UserContentController -> UserContentProvider.
437
438 2016-02-22  Jer Noble  <jer.noble@apple.com>
439
440         Enable AVFoundationNSURLSessionEnabled by default
441         https://bugs.webkit.org/show_bug.cgi?id=154469
442
443         Reviewed by Sam Weinig.
444
445         * WebView/WebPreferences.mm:
446         (+[WebPreferences initialize]):
447
448 2016-03-09  Ryosuke Niwa  <rniwa@webkit.org>
449
450         Add runtime flags for shadow DOM and custom elements
451         https://bugs.webkit.org/show_bug.cgi?id=155213
452
453         Reviewed by Dean Jackson.
454
455         Set the runtime flag based on preferences. Enable shadow DOM and disable custom elements by default.
456
457         * WebView/WebPreferenceKeysPrivate.h:
458         * WebView/WebPreferences.mm:
459         (+[WebPreferences initialize]):
460         (-[WebPreferences shadowDOMEnabled]):
461         (-[WebPreferences setShadowDOMEnabled:]):
462         (-[WebPreferences customElementsEnabled]):
463         (-[WebPreferences setCustomElementsEnabled:]):
464         * WebView/WebPreferencesPrivate.h:
465         * WebView/WebView.mm:
466         (-[WebView _preferencesChanged:]):
467
468 2016-03-09  David Kilzer  <ddkilzer@apple.com>
469
470         REGRESSION (r197149): Missing availability checks when soft-linking DataDetectors.framework
471         <http://webkit.org/b/155258>
472
473         Reviewed by Andy Estes.
474
475         * WebView/WebImmediateActionController.mm:
476         (-[WebImmediateActionController _clearImmediateActionState]):
477         (-[WebImmediateActionController immediateActionRecognizerWillBeginAnimation:]):
478         (-[WebImmediateActionController _animationControllerForDataDetectedText]):
479         (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
480         - Add check that returns early if DataDetectors.framework is not
481           available.
482
483 2016-03-08  Oliver Hunt  <oliver@apple.com>
484
485         Start moving to separated writable and executable mappings in the JIT
486         https://bugs.webkit.org/show_bug.cgi?id=155178
487
488         Reviewed by Fil Pizlo.
489
490         Update feature defines.
491
492         * Configurations/FeatureDefines.xcconfig:
493
494 2016-03-08  Commit Queue  <commit-queue@webkit.org>
495
496         Unreviewed, rolling out r197793 and r197799.
497         https://bugs.webkit.org/show_bug.cgi?id=155195
498
499         something weird happened while landing this and everything
500         broke (Requested by olliej on #webkit).
501
502         Reverted changesets:
503
504         "Start moving to separated writable and executable mappings in
505         the JIT"
506         https://bugs.webkit.org/show_bug.cgi?id=155178
507         http://trac.webkit.org/changeset/197793
508
509         "arm64 build fix after r197793."
510         http://trac.webkit.org/changeset/197799
511
512 2016-03-08  Oliver Hunt  <oliver@apple.com>
513
514         Start moving to separated writable and executable mappings in the JIT
515         https://bugs.webkit.org/show_bug.cgi?id=155178
516
517         Reviewed by Filip Pizlo.
518
519         Update feature defines.
520
521         * Configurations/FeatureDefines.xcconfig:
522
523 2016-03-08  Anders Carlsson  <andersca@apple.com>
524
525         Ignore deprecation warnings.
526
527         * Misc/WebNSEventExtras.m:
528         (-[NSEvent _web_isKeyEvent:]):
529         (-[NSEvent _web_isOptionTabKeyEvent]):
530         * Misc/WebNSViewExtras.m:
531         (-[NSView _web_dragShouldBeginFromMouseDown:withExpiration:xHysteresis:yHysteresis:]):
532         * Plugins/Hosted/NetscapePluginHostProxy.mm:
533         (WebKit::NetscapePluginHostProxy::beginModal):
534         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
535         (WebKit::NetscapePluginInstanceProxy::syntheticKeyDownWithCommandModifier):
536         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
537         (-[WebHostedNetscapePluginView drawRect:]):
538         * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
539         (WebNetscapePluginEventHandlerCocoa::syntheticKeyDownWithCommandModifier):
540         * WebCoreSupport/PopupMenuMac.mm:
541         (PopupMenuMac::populate):
542         (PopupMenuMac::show):
543         * WebCoreSupport/WebContextMenuClient.mm:
544         (WebContextMenuClient::showContextMenu):
545         * WebCoreSupport/WebFrameLoaderClient.mm:
546         (WebFrameLoaderClient::actionDictionary):
547         * WebCoreSupport/WebInspectorClient.mm:
548         (WebInspectorFrontendClient::canAttach):
549         (-[WebInspectorWindowController window]):
550         * WebInspector/WebNodeHighlight.mm:
551         (-[WebNodeHighlight initWithTargetView:inspectorController:]):
552         * WebView/WebFrameView.mm:
553         (-[WebFrameView keyDown:keyDown:]):
554         * WebView/WebFullScreenController.mm:
555         (-[WebFullScreenController init]):
556         (createBackgroundFullscreenWindow):
557         * WebView/WebHTMLView.mm:
558         (-[WebHTMLView _postFakeMouseMovedEventForFlagsChangedEvent:]):
559         (-[WebHTMLView _setMouseDownEvent:_setMouseDownEvent:]):
560         (isQuickLookEvent):
561         (-[WebHTMLView hitTest:]):
562         (-[WebHTMLView _sendToolTipMouseExited]):
563         (-[WebHTMLView _sendToolTipMouseEntered]):
564         (mouseEventIsPartOfClickOrDrag):
565         (-[WebHTMLView _updateMouseoverWithEvent:]):
566         (-[WebHTMLView acceptsFirstResponder]):
567         (-[WebHTMLView viewDidMoveToWindow]):
568         (currentKeyboardEvent):
569         (-[WebHTMLView _handleStyleKeyEquivalent:]):
570         (-[WebHTMLView _interpretKeyEvent:savingCommands:]):
571         * WebView/WebPDFView.mm:
572         (-[WebPDFView hitTest:]):
573         (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
574         (-[WebPDFView _fakeKeyEventWithFunctionKey:]):
575         * WebView/WebTextCompletionController.mm:
576         (-[WebTextCompletionController _buildUI]):
577         (-[WebTextCompletionController _placePopupWindow:]):
578         * WebView/WebView.mm:
579         (-[WebView applicationFlags:]):
580
581 2016-03-07  Brent Fulgham  <bfulgham@apple.com>
582
583         Reduce startup and shutdown cost of resource load statistics
584         https://bugs.webkit.org/show_bug.cgi?id=155120
585         <rdar://problem/25010167>
586
587         Reviewed by Andy Estes.
588
589         Remove the Resource Load Statistics stuff from WK1, now that it is up and
590         running in WK2.
591
592         * WebView/WebView.mm:
593         (-[WebView _preferencesChanged:]): Remove call to read resource load
594         statistics from disk.
595         (+[WebView _applicationWillTerminate]): Remove call to write resource load
596         statistics to disk.
597
598 2016-03-06  Andreas Kling  <akling@apple.com>
599
600         Reduce page cache capacity from 3 to 2.
601         <https://webkit.org/b/155087>
602
603         Reviewed by Antti Koivisto.
604
605         Trim WebKit1 page cache capacities consistently with WebKit2.
606
607         * WebView/WebView.mm:
608         (+[WebView _setCacheModel:]):
609
610 2016-03-05  Chris Dumez  <cdumez@apple.com>
611
612         Consolidate RuntimeApplicationChecks and RuntimeApplicationChecksIOS
613         https://bugs.webkit.org/show_bug.cgi?id=155035
614
615         Reviewed by Darin Adler.
616
617         Update runtime application checks.
618
619         * Plugins/WebPluginController.mm:
620         (initializeAudioSession):
621         * WebCoreSupport/WebFrameLoaderClient.mm:
622         * WebView/WebFrame.mm:
623         (needsMicrosoftMessengerDOMDocumentWorkaround):
624         * WebView/WebImmediateActionController.mm:
625         (-[WebImmediateActionController _updateImmediateActionItem]):
626         * WebView/WebView.mm:
627         (WebKitInitializeApplicationCachePathIfNecessary):
628         (shouldEnableLoadDeferring):
629         (shouldRestrictWindowFocus):
630         (needsOutlookQuirksScript):
631         (shouldTransformsAffectOverflow):
632         (shouldDispatchJavaScriptWindowOnErrorEvents):
633         (shouldUseLegacyBackgroundSizeShorthandBehavior):
634         (-[WebView _commonInitializationWithFrameName:groupName:]):
635         (+[WebView enableWebThread]):
636         (+[WebView registerForMemoryNotifications]):
637         (-[WebView _needsKeyboardEventDisambiguationQuirks]):
638         (needsSelfRetainWhileLoadingQuirk):
639         (-[WebView _needsPreHTML5ParserQuirks]):
640
641 2016-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
642
643         [ES6] Support Reflect.construct
644         https://bugs.webkit.org/show_bug.cgi?id=147330
645
646         Reviewed by Saam Barati.
647
648         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
649         (WebKit::NetscapePluginInstanceProxy::invoke):
650         (WebKit::NetscapePluginInstanceProxy::invokeDefault):
651         (WebKit::NetscapePluginInstanceProxy::construct):
652
653 2016-03-04  Brent Fulgham  <bfulgham@apple.com>
654
655         Unreviewed test fix for null global WebResourceLoadStatisticsStore.
656
657         * WebView/WebView.mm:
658         (-[WebView _preferencesChanged:]):
659         (+[WebView _applicationWillTerminate]):
660
661 2016-03-04  Brent Fulgham  <bfulgham@apple.com>
662
663         [WK2] Gather resource load statistics
664         https://bugs.webkit.org/show_bug.cgi?id=154278
665         <rdar://problem/24702892>
666
667         Reviewed by Andy Estes.
668
669         Switch to maintaining a global WebCore::ResourceLoadStatisticsStore in the WebKit process,
670         and hand it off to the WebCore layer to use during data gathering. The ResourceLoadStatisticsStore
671         is now responsible for reading/writing to disk, and tracking the collection of load data.
672
673         * WebView/WebView.mm:
674         (WebKitInitializeApplicationStatisticsStoragePathIfNecessary): Initialize singleton
675         ResourceLoadStatisticsStore object for tracking state.
676         (-[WebView _preferencesChanged:]): Revise for new singleton.
677         (+[WebView _applicationWillTerminate]): Ditto.
678
679 2016-02-29  Ada Chan  <adachan@apple.com>
680
681         Adopt the new version of AVOutputDeviceMenuController's showMenuForRect method.
682         https://bugs.webkit.org/show_bug.cgi?id=154823
683
684         Reviewed by Tim Horton.
685
686         * WebCoreSupport/WebChromeClient.h:
687         * WebCoreSupport/WebChromeClient.mm:
688         (WebChromeClient::showPlaybackTargetPicker):
689         * WebView/WebMediaPlaybackTargetPicker.h:
690         * WebView/WebMediaPlaybackTargetPicker.mm:
691         (WebMediaPlaybackTargetPicker::showPlaybackTargetPicker):
692         (WebMediaPlaybackTargetPicker::customPlaybackActionSelected):
693         * WebView/WebView.mm:
694         (-[WebView _showPlaybackTargetPicker:location:hasVideo:]):
695
696 2016-03-01  Tim Horton  <timothy_horton@apple.com>
697
698         Expose MediaElement and VideoElement to the Objective-C DOM bindings
699         https://bugs.webkit.org/show_bug.cgi?id=154830
700
701         Reviewed by Sam Weinig.
702
703         * MigrateHeaders.make:
704
705 2016-02-29  Simon Fraser  <simon.fraser@apple.com>
706
707         Remove the experimental feature of antialiased font dilation
708         https://bugs.webkit.org/show_bug.cgi?id=154843
709
710         Reviewed by Zalan Bujtas.
711
712         Remove the "antialiased font dilation" code path, and related prefs.
713
714         * WebView/WebPreferenceKeysPrivate.h:
715         * WebView/WebPreferences.mm:
716         (+[WebPreferences initialize]): Deleted.
717         (-[WebPreferences setAntialiasedFontDilationEnabled:]): Deleted.
718         (-[WebPreferences antialiasedFontDilationEnabled]): Deleted.
719         * WebView/WebPreferencesPrivate.h:
720         * WebView/WebView.mm:
721         (-[WebView _preferencesChanged:]): Deleted.
722
723 2016-02-26  Dan Bernstein  <mitz@apple.com>
724
725         Build fix for when WK_OVERRIDE_FRAMEWORKS_DIR contains spaces.
726
727         * Configurations/WebKitLegacy.xcconfig: Added quotes.
728
729 2016-02-25  Ada Chan  <adachan@apple.com>
730
731         Update the definition of ENABLE_VIDEO_PRESENTATION_MODE for Mac platform
732         https://bugs.webkit.org/show_bug.cgi?id=154702
733
734         Reviewed by Dan Bernstein.
735
736         * Configurations/FeatureDefines.xcconfig:
737
738 2016-02-25  Jiewen Tan  <jiewen_tan@apple.com>
739
740         Restrict information passed with navigation action which is triggered by untrusted event
741         https://bugs.webkit.org/show_bug.cgi?id=154571
742         <rdar://problem/15967937>
743
744         Reviewed by Andy Estes.
745
746         * WebCoreSupport/WebFrameLoaderClient.mm:
747         (WebFrameLoaderClient::actionDictionary):
748
749 2016-02-25  Eric Carlson  <eric.carlson@apple.com>
750
751         [MediaStream] MediaDeviceInfo deviceId and groupId must be unique to the page's origin
752         https://bugs.webkit.org/show_bug.cgi?id=153163
753         <rdar://problem/24334526>
754
755         Reviewed by Tim Horton.
756
757         * WebCoreSupport/WebUserMediaClient.mm:
758         (WebUserMediaClient::requestUserMediaAccess):
759         (WebUserMediaClient::checkUserMediaPermission):
760         (-[WebUserMediaPolicyCheckerListener allow]):
761         (-[WebUserMediaPolicyCheckerListener deny]):
762
763 2016-02-24  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
764
765         [web-animations] Add AnimationTimeline, DocumentTimeline and add extensions to Document interface
766         https://bugs.webkit.org/show_bug.cgi?id=151688
767
768         Reviewed by Dean Jackson.
769
770         Enables the WEB_ANIMATIONS compiler switch.
771
772         * Configurations/FeatureDefines.xcconfig:
773
774 2016-02-23  Dan Bernstein  <mitz@apple.com>
775
776         [Xcode] Linker errors display mangled names, but no longer should
777         https://bugs.webkit.org/show_bug.cgi?id=154632
778
779         Reviewed by Sam Weinig.
780
781         * Configurations/Base.xcconfig: Stop setting LINKER_DISPLAYS_MANGLED_NAMES to YES.
782
783 2016-02-23  Gavin Barraclough  <barraclough@apple.com>
784
785         Remove HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define
786         https://bugs.webkit.org/show_bug.cgi?id=112323
787
788         Reviewed by Chris Dumez.
789
790         This feature is controlled by a runtime switch, and defaults off.
791
792         * Configurations/FeatureDefines.xcconfig:
793         * WebView/WebView.mm:
794         (-[WebView _preferencesChanged:]):
795
796 2016-02-22  Commit Queue  <commit-queue@webkit.org>
797
798         Unreviewed, rolling out r196935.
799         https://bugs.webkit.org/show_bug.cgi?id=154557
800
801         This change causes timeouts and crashes in LayoutTests
802         (Requested by ryanhaddad on #webkit).
803
804         Reverted changeset:
805
806         "Enable AVFoundationNSURLSessionEnabled by default"
807         https://bugs.webkit.org/show_bug.cgi?id=154469
808         http://trac.webkit.org/changeset/196935
809
810 2016-02-22  Keith Rollin  <krollin@apple.com>
811
812         Add mechanism to disable memory pressure handling
813         https://bugs.webkit.org/show_bug.cgi?id=154254
814         <rdar://problem/24662616>
815
816         Reviewed by Chris Dumez.
817
818         Add a mechanism to disable WebKit's response to memory pressure
819         triggers. This was asked for by another group for testing purposes.
820
821         In order to disable WebKit's memory pressure handling, execute the
822         following from the command line:
823
824             defaults write com.apple.Safari WebKitSuppressMemoryPressureHandler -bool true
825
826         To revert to standard behavior, delete the key or set it to False.
827
828         This flag is used when a new sub-process is being spawned. The value
829         is read and stored in an initialization parameter block, which is then
830         sent to the new sub-process.
831
832         In actuality, only the UI, WebContent, and Network processes heed the
833         flag. The Plugin process isn't instrumented to heed this flag for
834         three reasons. First, the Plugin process installs its memory pressure
835         handler in initializeProcess, not initializePluginProcess. This is
836         contrary to when the other processes install their handlers, which is
837         in initialize<PluginType>Process, not initializeProcess. So in order
838         to accomodate the Plugin process, we'd need to modify
839         ChildProcessInitializationParameters. Doing this is awkward at best,
840         but also seems to be opposed to what's supposed to be done in
841         initializeProcess and conveyed in
842         ChildProcessInitializationParameters. And even if we did add a boolean
843         to this structure and added support for conveying it through the XPC
844         port, it would end up being a Plugin process-only boolean in a general
845         parameter block, which seems asymmetric with the other processes.
846         Second, there's no convenient Cocoa function called in the flow that
847         spawns the Plugin process, meaning that there's no convenient place to
848         call NSUserDefaults to get the flag's value. And third, the Plugin
849         process doesn't elegantly respond to the memory pressure trigger
850         anyway. It might terminate itself, but that's it. As for the Database
851         process, it doesn't seem to support responding to memory pressure at
852         all, so we don't send it a flag telling it to ignore it.
853
854         Internally, the memory pressure handler is suppressed by not calling
855         MemoryPressureHandler::install() if the flag is set. In the case of
856         the Network process, the flag is saved so that it can be checked later
857         in other places that manually kick off the memory pressure handling
858         procedure.
859
860         * WebView/WebView.mm:
861         (-[WebView _commonInitializationWithFrameName:groupName:]):
862         (WebInstallMemoryPressureHandler):
863
864 2016-02-22  Jer Noble  <jer.noble@apple.com>
865
866         Enable AVFoundationNSURLSessionEnabled by default
867         https://bugs.webkit.org/show_bug.cgi?id=154469
868
869         Reviewed by Sam Weinig.
870
871         * WebView/WebPreferences.mm:
872         (+[WebPreferences initialize]):
873
874 2016-02-15  Brent Fulgham  <bfulgham@apple.com>
875
876         [Mac] Gather some rudimentary statistics during resource load 
877         https://bugs.webkit.org/show_bug.cgi?id=153575
878         <rdar://problem/24075254>
879
880         Reviewed by Brady Eidson.
881
882         * Misc/WebKitNSStringExtras.h:
883         * Misc/WebKitNSStringExtras.mm:
884         (+[NSString _webkit_localStorageDirectoryWithBundleIdentifier:]): Added.
885         * WebView/WebPreferenceKeysPrivate.h:
886         * WebView/WebPreferences.mm:
887         (+[WebPreferences initialize]):
888         (-[WebPreferences resourceLoadStatisticsEnabled]): Added.
889         (-[WebPreferences setResourceLoadStatisticsEnabled:]): Added.
890         * WebView/WebPreferencesPrivate.h:
891         * WebView/WebView.mm:
892         (WebKitInitializeApplicationCachePathIfNecessary):
893         (WebKitInitializeApplicationStatisticsStoragePathIfNecessary): Added.
894         (-[WebView _commonInitializationWithFrameName:groupName:]): Add call to new
895         initialization method.
896         (-[WebView _preferencesChanged:]): Track changes in the user's desire to
897         monitor resource load statistics.
898         (+[WebView _applicationWillTerminate]): Write statistics to disk (if preferences
899         say to do so.)
900
901 2016-02-13  Mark Lam  <mark.lam@apple.com>
902
903         Add thread violation checks to WebView public APIs.
904         https://bugs.webkit.org/show_bug.cgi?id=154183
905
906         Reviewed by Timothy Hatcher.
907
908         Re-landing r196527 with a newly added WebCoreThreadViolationCheckRoundThree().
909         Previously was using WebCoreThreadViolationCheckRoundTwo().
910
911         * Misc/WebKitVersionChecks.h:
912         * WebView/WebFrameView.mm:
913         (-[WebFrameView initWithFrame:]):
914         * WebView/WebView.mm:
915         (-[WebView setCustomTextEncodingName:]):
916         (-[WebView stringByEvaluatingJavaScriptFromString:]):
917         (-[WebView windowScriptObject]):
918         (-[WebView setGroupName:]):
919         (-[WebView setMainFrameURL:]):
920         (-[WebView mainFrameTitle]):
921         (-[WebView mainFrameIcon]):
922         (-[WebView setDrawsBackground:]):
923         (-[WebView setShouldUpdateWhileOffscreen:]):
924
925 2016-02-12  Commit Queue  <commit-queue@webkit.org>
926
927         Unreviewed, rolling out r196527.
928         https://bugs.webkit.org/show_bug.cgi?id=154204
929
930         "Need to redo as WebCoreThreadViolationCheckRoundThree"
931         (Requested by mlam on #webkit).
932
933         Reverted changeset:
934
935         "Add thread violation checks to WebView public APIs."
936         https://bugs.webkit.org/show_bug.cgi?id=154183
937         http://trac.webkit.org/changeset/196527
938
939 2016-02-12  Mark Lam  <mark.lam@apple.com>
940
941         Add thread violation checks to WebView public APIs.
942         https://bugs.webkit.org/show_bug.cgi?id=154183
943
944         Reviewed by Geoffrey Garen.
945
946         This will help clients of the API detect the violations sooner rather than
947         having to debug mysterious crashes / failures later.
948
949         To that end, I've added thread violation checks to the following functions
950         because ...
951
952         * WebView/WebView.mm:
953         (-[WebView setCustomTextEncodingName:]):
954         - Uses the FrameLoader (which is for the main thread only).
955
956         (-[WebView stringByEvaluatingJavaScriptFromString:]):
957         - Invokes JavaScript (which is for the main thread only).
958
959         (-[WebView windowScriptObject]):
960         - Invokes ScriptController::windowScriptObject() which requires the JSLock.
961
962         (-[WebView setGroupName:]):
963         - Manipulates the PageGroup and Page (which is for the main thread only).
964
965         (-[WebView setMainFrameURL:]):
966         - Uses the FrameLoader (which is for the main thread only).
967
968         (-[WebView mainFrameTitle]):
969         - Uses the FrameLoader::documentLoader() (via [WebFrame _dataSource]) which
970           is RefPtr, and therefore not safe for other threads to access.
971
972         (-[WebView mainFrameIcon]):
973         - Uses the FrameLoader::documentLoader() (via [WebFrame _dataSource]) which
974           is RefPtr, and therefore not safe for other threads to access.
975         - Uses [WebIconDatabase sharedIconDatabase] which does a singleton
976           instantiation but is not protected by a lock.
977
978         (-[WebView setDrawsBackground:]):
979         - Potentially manipulates a RenderView (via FrameView::setBaseBackgroundColor,
980           via [WebFrame _updateBackgroundAndUpdatesWhileOffscreen]), and RenderView
981           is for main thread only use.
982
983         (-[WebView setShouldUpdateWhileOffscreen:]):
984         - Uses [WebFrame _updateBackgroundAndUpdatesWhileOffscreen].  Hence, for the
985           main thread only.
986
987 2016-02-12  Sukolsak Sakshuwong  <sukolsak@gmail.com>
988
989         Update ICU header files to version 52
990         https://bugs.webkit.org/show_bug.cgi?id=154160
991
992         Reviewed by Alex Christensen.
993
994         Update ICU header files to version 52 to allow the use of newer APIs.
995
996         * icu/unicode/localpointer.h:
997         * icu/unicode/platform.h:
998         * icu/unicode/ptypes.h:
999         * icu/unicode/putil.h:
1000         * icu/unicode/uchar.h:
1001         * icu/unicode/uconfig.h:
1002         * icu/unicode/uidna.h:
1003         * icu/unicode/uiter.h:
1004         * icu/unicode/umachine.h:
1005         * icu/unicode/unorm2.h:
1006         * icu/unicode/urename.h:
1007         * icu/unicode/uscript.h:
1008         * icu/unicode/ustring.h:
1009         * icu/unicode/utf.h:
1010         * icu/unicode/utf16.h:
1011         * icu/unicode/utf8.h:
1012         * icu/unicode/utf_old.h:
1013         * icu/unicode/utypes.h:
1014         * icu/unicode/uvernum.h:
1015         * icu/unicode/uversion.h:
1016
1017 2016-02-12  Beth Dakin  <bdakin@apple.com>
1018
1019         NSRangeIsRelativeTo should not have NS prefix
1020         https://bugs.webkit.org/show_bug.cgi?id=154174
1021
1022         Reviewed by Tim Horton.
1023
1024         NSRangeIsRelativeTo -> WebRangeIsRelativeTo
1025         * WebView/WebFrame.mm:
1026         (-[WebFrame _convertToDOMRange:]):
1027         (-[WebFrame _convertToDOMRange:rangeIsRelativeTo:]):
1028         * WebView/WebFrameInternal.h:
1029         * WebView/WebHTMLView.mm:
1030         (-[WebHTMLView insertText:]):
1031
1032 2016-02-11  Beth Dakin  <bdakin@apple.com>
1033
1034         EditingRangeIsRelativeTo::Document and NSRangeIsRelativeTo::Document should 
1035         be called EditableRoot instead
1036         https://bugs.webkit.org/show_bug.cgi?id=154138
1037
1038         Reviewed by Alexey Proskuryakov.
1039
1040         EditableRoot is much more accurate than Document.
1041         * WebView/WebFrame.mm:
1042         (-[WebFrame _convertToDOMRange:]):
1043         (-[WebFrame _convertToDOMRange:rangeIsRelativeTo:]):
1044         * WebView/WebFrameInternal.h:
1045         * WebView/WebHTMLView.mm:
1046         (-[WebHTMLView insertText:]):
1047
1048 2016-02-11  Beth Dakin  <bdakin@apple.com>
1049
1050         Soft spaces are often tracked in the wrong spot
1051         https://bugs.webkit.org/show_bug.cgi?id=154127
1052         -and corresponding-
1053         rdar://problem/24493140
1054
1055         Reviewed by Sam Weinig.
1056
1057         Soft spaces are in the wrong space now for two reasons. First of all, the 
1058         NSRange we get from the accepted candidate is relative to the paragraph 
1059         start, so without this patch, soft spaces are only ever right for the first 
1060         paragraph. Secondly, if focus changes for any reason other than text 
1061         insertion, soft spaces are also wrong because they need to be re-set.
1062
1063         New version of _convertToDOMRange takes a NSRangeIsRelativeTo so that it can 
1064         handle ranges relative to both the document and the paragraph. 
1065         * WebView/WebFrame.mm:
1066         (-[WebFrame _convertToDOMRange:rangeIsRelativeTo:]):
1067         (-[WebFrame _convertNSRangeToDOMRange:]):
1068
1069         New enum NSRangeIsRelativeTo.
1070         * WebView/WebFrameInternal.h:
1071
1072         Re-set the softSpaceRange on selection changes so long as the WebCore::Editor 
1073         is not currently handling an accepted candidate.
1074         * WebView/WebHTMLView.mm:
1075         (-[WebHTMLView _selectionChanged]):
1076
1077         If needToRemoveSoftSpace is true, then the replacementRange is 
1078         relative to the paragraph.
1079         (-[WebHTMLView insertText:]):
1080
1081 2016-02-10  Mark Lam  <mark.lam@apple.com>
1082
1083         WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture: should assert that it is being called from the "main" thread.
1084         https://bugs.webkit.org/show_bug.cgi?id=154059
1085
1086         Reviewed by Geoffrey Garen.
1087
1088         This makes it so that misbehaving clients which call it (indirectly) from another
1089         thread (not the main thread) will fail faster.  Otherwise, we get potential
1090         memory corruption that results in strange crashes elsewhere later.
1091
1092         * WebView/WebFrame.mm:
1093         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
1094
1095 2016-02-04  Jer Noble  <jer.noble@apple.com>
1096
1097         [Mac] Adopt NSURLSession properties in AVAssetResourceLoader
1098         https://bugs.webkit.org/show_bug.cgi?id=153873
1099
1100         Reviewed by Eric Carlson.
1101
1102         Add a WebKit preference to control the WebCore isAVFoundationNSURLSessionEnabled()
1103         setting.
1104
1105         * WebView/WebPreferenceKeysPrivate.h:
1106         * WebView/WebPreferences.mm:
1107         (+[WebPreferences initialize]):
1108         (-[WebPreferences setAVFoundationNSURLSessionEnabled:]):
1109         (-[WebPreferences isAVFoundationNSURLSessionEnabled]):
1110         * WebView/WebPreferencesPrivate.h:
1111         * WebView/WebView.mm:
1112         (-[WebView _preferencesChanged:]):
1113
1114 2016-02-09  Eric Carlson  <eric.carlson@apple.com>
1115
1116         checkValidity() sometimes asserts in WebUserMediaClient::pageDestroyed
1117         https://bugs.webkit.org/show_bug.cgi?id=154029
1118         <rdar://problem/24065022>
1119
1120         Reviewed by Alex Christensen.
1121
1122         * WebCoreSupport/WebUserMediaClient.mm:
1123         (WebUserMediaClient::pageDestroyed): Copy map keys to a vector and clear the map before
1124           enumerating the vector and canceling the requests. ASSERT that the map is not modified
1125           during cleanup. Clean up the permission check map.
1126         (WebUserMediaClient::requestUserMediaAccess): Add the request to the map before calling the
1127           UI delegate in case it works synchronously (as it does in DRT).
1128         (WebUserMediaClient::checkUserMediaPermission): Ditto.
1129         (WebUserMediaClient::cancelUserMediaPermissionCheck): White-space cleanup.
1130         (-[WebUserMediaPolicyListener allow]): Ditto.
1131
1132 2016-02-08  Anders Carlsson  <andersca@apple.com>
1133
1134         Crash when trying to chain to the old -[NSView setNeedsDisplayInRect:]
1135         https://bugs.webkit.org/show_bug.cgi?id=154001
1136         rdar://problem/24519975
1137
1138         Reviewed by Dan Bernstein.
1139
1140         If our replaced -[NSView setNeedsDisplayInRect:] is called before the old IMP has been initialized,
1141         we can end up trying to call a null pointer. 
1142         
1143         Fix this by using method_exchangeImplementations instead of method_setImplementation, since the former is done
1144         atomically.
1145
1146         * WebView/WebHTMLView.mm:
1147         (-[NSView _web_setNeedsDisplayInRect:]):
1148         (+[WebHTMLViewPrivate initialize]):
1149         (setNeedsDisplayInRect): Deleted.
1150
1151 2016-02-07  Dan Bernstein  <mitz@apple.com>
1152
1153         [Cocoa] Replace __has_include guards around inclusion of Apple-internal-SDK headers with USE(APPLE_INTERNAL_SDK)
1154         https://bugs.webkit.org/show_bug.cgi?id=153963
1155
1156         Reviewed by Sam Weinig.
1157
1158         * WebView/WebPDFView.mm:
1159
1160 2016-02-06  Darin Adler  <darin@apple.com>
1161
1162         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
1163         https://bugs.webkit.org/show_bug.cgi?id=153905
1164
1165         Reviewed by Sam Weinig.
1166
1167         * Plugins/WebBasePluginPackage.mm:
1168         (-[WebBasePluginPackage getPluginInfoFromPLists]): Use modern for loops.
1169         (-[WebBasePluginPackage supportsExtension:]): Use convertToASCIILowercase for extension assert.
1170         Also use modern for loop.
1171         (-[WebBasePluginPackage supportsMIMEType:]): Ditto.
1172         (-[WebBasePluginPackage MIMETypeForExtension:]): Ditto.
1173
1174 2016-02-03  Jessie Berlin  <jberlin@webkit.org>
1175
1176         Build fix.
1177
1178         [NSEvent context] has always returned nil. Replace uses with nullptr.
1179
1180         * WebView/WebHTMLView.mm:
1181         (-[WebHTMLView _postFakeMouseMovedEventForFlagsChangedEvent:]):
1182         (-[WebHTMLView _updateMouseoverWithFakeEvent]):
1183         (-[WebHTMLView _updateMouseoverWithEvent:]):
1184         (-[WebHTMLView _autoscroll]):
1185         (-[WebHTMLView draggedImage:endedAt:operation:]):
1186
1187 2016-02-01  Dave Hyatt  <hyatt@apple.com>
1188
1189         Add a line grid pagination SPI to WebKit.
1190         https://bugs.webkit.org/show_bug.cgi?id=153757
1191         <rdar://problem/23041598>
1192
1193         Reviewed by Anders Carlsson.
1194
1195         * WebView/WebView.mm:
1196         (-[WebView _setPaginationLineGridEnabled:]):
1197         (-[WebView _paginationLineGridEnabled]):
1198         * WebView/WebViewPrivate.h:
1199
1200 2016-02-01  Joseph Pecoraro  <pecoraro@apple.com>
1201
1202         Web Inspector: High Level Memory Overview Instrument
1203         https://bugs.webkit.org/show_bug.cgi?id=153516
1204         <rdar://problem/24356378>
1205
1206         Reviewed by Brian Burg.
1207
1208         * Configurations/FeatureDefines.xcconfig:
1209
1210 2016-01-31  Darin Adler  <darin@apple.com>
1211
1212         Cut down on calls to String::lower; mostly replace with convertToASCIILowercase
1213         https://bugs.webkit.org/show_bug.cgi?id=153732
1214
1215         Reviewed by Dean Jackson.
1216
1217         * WebView/WebHTMLRepresentation.mm:
1218         (newArrayWithStrings): Updated to use HashSet<String, ASCIICaseInsensitiveHash>
1219         and also to use a modern for loop.
1220
1221 2016-01-31  Dan Bernstein  <mitz@apple.com>
1222
1223         [Cocoa] Remove __has_include guards around use of WebKitAdditions
1224         https://bugs.webkit.org/show_bug.cgi?id=153728
1225
1226         Reviewed by Andy Estes.
1227
1228         Guard WebKitAdditions includes with #if USE(APPLE_INTERNAL_SDK) rather than with __has_include.
1229
1230         * WebKitAdditions.mm:
1231         * WebView/WebView.mm:
1232         (-[WebView _commonInitializationWithFrameName:groupName:]):
1233         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1234
1235 2016-01-29  Ada Chan  <adachan@apple.com>
1236
1237         Enable VIDEO_PRESENTATION_MODE only in Debug and Release builds on Mac
1238         https://bugs.webkit.org/show_bug.cgi?id=153665
1239
1240         Reviewed by Dan Bernstein.
1241
1242         * Configurations/FeatureDefines.xcconfig:
1243
1244 2016-01-28  Darin Adler  <darin@apple.com>
1245
1246         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
1247         https://bugs.webkit.org/show_bug.cgi?id=153411
1248
1249         Reviewed by Ryosuke Niwa.
1250
1251         * WebCoreSupport/WebFrameLoaderClient.mm:
1252         (parameterValue): Use equalIgnoringASCIICase. No behavior change because the
1253         only name we ever search for with this is "pluginspage".
1254
1255 2016-01-27  Enrica Casucci  <enrica@apple.com>
1256
1257         Cache results of data detection in the UI process when load completes.
1258         https://bugs.webkit.org/show_bug.cgi?id=153560
1259
1260         Reviewed by Tim Horton.
1261
1262         Adding empty implementation for WK1.
1263
1264         * WebCoreSupport/WebFrameLoaderClient.h:
1265         * WebCoreSupport/WebFrameLoaderClient.mm:
1266         (WebFrameLoaderClient::dispatchDidFinishDataDetection):
1267
1268 2016-01-27  Anders Carlsson  <andersca@apple.com>
1269
1270         Add WebKitAdditions extension points to WebCore, WebKit and WebKitLegacy
1271         https://bugs.webkit.org/show_bug.cgi?id=153550
1272
1273         Reviewed by Sam Weinig.
1274
1275         * Configurations/WebKitLegacy.xcconfig:
1276         Add WKA header search paths.
1277
1278         * WebKitAdditions.mm: Added.
1279         Add addition files.
1280
1281         * WebView/WebView.mm:
1282         (-[WebView _commonInitializationWithFrameName:groupName:]):
1283         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1284         Add extension points.
1285
1286 2016-01-27  Chris Dumez  <cdumez@apple.com>
1287
1288         window.atob() should ignore spaces in input
1289         https://bugs.webkit.org/show_bug.cgi?id=153522
1290         <rdar://problem/24357822>
1291
1292         Reviewed by Benjamin Poulain.
1293
1294         * WebCoreSupport/WebInspectorClient.mm:
1295         (WebInspectorFrontendClient::save):
1296
1297 2016-01-27  Alexey Proskuryakov  <ap@apple.com>
1298
1299         Remove ENABLE_CURRENTSRC
1300         https://bugs.webkit.org/show_bug.cgi?id=153545
1301
1302         Reviewed by Simon Fraser.
1303
1304         * Configurations/FeatureDefines.xcconfig:
1305
1306 2016-01-25  Beth Dakin  <bdakin@apple.com>
1307
1308         Build fix.
1309
1310         * WebView/WebHTMLView.mm:
1311         (-[WebHTMLView initWithFrame:]):
1312         (-[WebHTMLView insertText:]):
1313
1314 2016-01-25  Beth Dakin  <bdakin@apple.com>
1315
1316         WK1: Handle soft spaces after accepted candidates
1317         https://bugs.webkit.org/show_bug.cgi?id=153442
1318         -and corresponding-
1319         rdar://problem/23958418
1320
1321         Reviewed by Tim Horton.
1322
1323         The space at the end of candidates is a soft space. If that space exists, 
1324         cache the range of the space in m_softSpaceRange.
1325         * WebCoreSupport/WebEditorClient.mm:
1326         (WebEditorClient::handleAcceptedCandidate):
1327
1328         New ivar in WebHTMLViewPrivate softSpaceRange keeps track to the NSRange of a 
1329         soft space if the last text that was inserted has a soft space at the end.
1330         * WebView/WebHTMLView.mm:
1331         (-[WebHTMLView initWithFrame:]):
1332         (-[WebHTMLView _setSoftSpaceRange:]):
1333
1334         When new text is inserted, find out if it is being inserted right after a 
1335         soft space. If it is, then [NSSpellChecker deletesAutospaceBeforeString] will 
1336         tell us if the space needs to be removed. If that is the case, then set the 
1337         replacementString to the soft space.
1338         (-[WebHTMLView insertText:]):
1339         * WebView/WebHTMLViewInternal.h:
1340
1341 2016-01-17  Ada Chan  <adachan@apple.com>
1342
1343         Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
1344         https://bugs.webkit.org/show_bug.cgi?id=153220
1345
1346         Reviewed by Eric Carlson.
1347
1348         * WebCoreSupport/WebChromeClient.h:
1349         * WebCoreSupport/WebChromeClient.mm:
1350         (WebChromeClient::supportsVideoFullscreen):
1351
1352 2016-01-22  Darin Adler  <darin@apple.com>
1353
1354         Reduce use of equalIgnoringCase to just ignore ASCII case
1355         https://bugs.webkit.org/show_bug.cgi?id=153266
1356
1357         Reviewed by Ryosuke Niwa.
1358
1359         * WebCoreSupport/WebFrameLoaderClient.mm:
1360         (WebFrameLoaderClient::createPlugin): Use equalLettersIgnoringASCIICase.
1361
1362 2016-01-21  Brent Fulgham  <bfulgham@apple.com>
1363
1364         [Mac] Tooltips do not honor some types of obscuring windows
1365         https://bugs.webkit.org/show_bug.cgi?id=153263
1366         <rdar://problem/21423972>
1367
1368         Reviewed by Simon Fraser.
1369
1370         * WebView/WebHTMLView.mm:
1371         (-[WebHTMLView _updateMouseoverWithEvent:]): When the WebView is not the key window, don't
1372         display tooltips.
1373
1374 2016-01-19  Ada Chan  <adachan@apple.com>
1375
1376         Make it possible to enable VIDEO_PRESENTATION_MODE on other Cocoa platforms.
1377         https://bugs.webkit.org/show_bug.cgi?id=153218
1378
1379         Reviewed by Eric Carlson.
1380
1381         * Configurations/FeatureDefines.xcconfig:
1382
1383 2016-01-19  Beth Dakin  <bdakin@apple.com>
1384
1385         32-bit build fix.
1386
1387         * WebView/WebView.mm:
1388         (-[WebView updateWebViewAdditions]):
1389         (-[WebView showCandidates:forString:inRect:view:completionHandler:]):
1390         * WebView/WebViewInternal.h:
1391
1392 2016-01-19  Beth Dakin  <bdakin@apple.com>
1393
1394         Move away from NSSpellChecker's showCandidates method
1395         https://bugs.webkit.org/show_bug.cgi?id=153254
1396         -and corresponding-
1397         rdar://problem/24216292
1398
1399         Reviewed by Tim Horton.
1400
1401         * WebCoreSupport/WebEditorClient.mm:
1402         (WebEditorClient::handleRequestedCandidates):
1403         * WebView/WebView.mm:
1404         (-[WebView updateWebViewAdditions]):
1405         (-[WebView showCandidates:forString:inRect:view:completionHandler:]):
1406         * WebView/WebViewInternal.h:
1407
1408 2016-01-19  Enrica Casucci  <enrica@apple.com>
1409
1410         Add support for DataDetectors in WK (iOS).
1411         https://bugs.webkit.org/show_bug.cgi?id=152989
1412         rdar://problem/22855960
1413
1414         Reviewed by Tim Horton.
1415
1416         Adding feature definition for data detection.
1417
1418         * Configurations/FeatureDefines.xcconfig:
1419
1420 2016-01-19  Commit Queue  <commit-queue@webkit.org>
1421
1422         Unreviewed, rolling out r195300.
1423         https://bugs.webkit.org/show_bug.cgi?id=153244
1424
1425         enrica wants more time to fix Windows (Requested by thorton on
1426         #webkit).
1427
1428         Reverted changeset:
1429
1430         "Add support for DataDetectors in WK (iOS)."
1431         https://bugs.webkit.org/show_bug.cgi?id=152989
1432         http://trac.webkit.org/changeset/195300
1433
1434 2016-01-19  Enrica Casucci  <enrica@apple.com>
1435
1436         Add support for DataDetectors in WK (iOS).
1437         https://bugs.webkit.org/show_bug.cgi?id=152989
1438         rdar://problem/22855960
1439
1440         Reviewed by Tim Horton.
1441
1442         Adding feature definition for data detection.
1443
1444         * Configurations/FeatureDefines.xcconfig:
1445
1446 2016-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
1447
1448         Remove TextRun::allowsRoundingHacks()
1449         https://bugs.webkit.org/show_bug.cgi?id=153185
1450
1451         Reviewed by Simon Fraser.
1452
1453         * Misc/WebKitNSStringExtras.mm:
1454         (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]): Deleted.
1455         (-[NSString _web_widthWithFont:]): Deleted.
1456         * WebView/WebView.mm:
1457         (+[WebView _setAllowsRoundingHacks:]): Deleted.
1458         (+[WebView _allowsRoundingHacks]): Deleted.
1459         * WebView/WebViewPrivate.h:
1460
1461 2016-01-15  Tim Horton  <timothy_horton@apple.com>
1462
1463         Data detector yellow highlight location is vertically mirrored in WebKit1
1464         https://bugs.webkit.org/show_bug.cgi?id=152216
1465         <rdar://problem/23848003>
1466
1467         Reviewed by Beth Dakin.
1468
1469         * WebView/WebImmediateActionController.mm:
1470         (-[WebImmediateActionController _animationControllerForDataDetectedText]):
1471         (-[WebImmediateActionController _animationControllerForDataDetectedLink]):
1472         These assignments have no effect because they're operating on a copy, because
1473         TextIndicator::data() does not return a reference... so remove them.
1474
1475         * WebView/WebView.mm:
1476         (-[WebView _setTextIndicator:withLifetime:]):
1477         Convert textBoundingRectInRootViewCoordinates to WebView coordinates before
1478         converting to Window coordinates from WebView coordinates so we get flipping right.
1479
1480         (-[WebView _animationControllerForDictionaryLookupPopupInfo:]):
1481         (-[WebView _showDictionaryLookupPopup:]):
1482         Ditto for these, except in the aforementioned conversion callback.
1483
1484 2016-01-14  Brady Eidson  <beidson@apple.com>
1485
1486         Modern IDB: Support opening and deleting SQLite databases on disk.
1487         https://bugs.webkit.org/show_bug.cgi?id=153084
1488
1489         Reviewed by Alex Christensen, Sam Weinig and Andy Estes (oh my!).
1490
1491         * Storage/WebDatabaseProvider.mm: Copied from Source/WebKit/Storage/WebDatabaseProvider.cpp.
1492         (WebDatabaseProvider::indexedDatabaseDirectoryPath):
1493
1494 2016-01-14  Beth Dakin  <bdakin@apple.com>
1495
1496         WK1 and WK2 should share more candidate request code
1497         https://bugs.webkit.org/show_bug.cgi?id=153108
1498
1499         Reviewed by Simon Fraser.
1500
1501         requestCandidatesForSelection() does not need to be exposed as an 
1502         EditorClient function. WK1 can just call invoke this code from the existing 
1503         respondToChangedSelection EditorClient function, which is what WK2 does.
1504         * WebCoreSupport/WebEditorClient.h:
1505         * WebCoreSupport/WebEditorClient.mm:
1506         (WebEditorClient::respondToChangedSelection):
1507
1508         Cleanup — use some code that was moved to WebCore::Editor.
1509         (WebEditorClient::requestCandidatesForSelection):
1510         (WebEditorClient::handleRequestedCandidates):
1511         (textCheckingResultFromNSTextCheckingResult):
1512         (WebEditorClient::handleAcceptedCandidate):
1513         (candidateRangeForSelection): Deleted.
1514         (candidateWouldReplaceText): Deleted.
1515
1516 2016-01-13  Chris Dumez  <cdumez@apple.com>
1517
1518         Unreviewed, rolling out r194900.
1519
1520         Roll back in as this did not actually regress PLT
1521
1522         Reverted changeset:
1523
1524         "Unreviewed, rolling out r194826."
1525         https://bugs.webkit.org/show_bug.cgi?id=153020
1526         http://trac.webkit.org/changeset/194900
1527
1528 2016-01-12  Ryosuke Niwa  <rniwa@webkit.org>
1529
1530         Add a build flag for custom element
1531         https://bugs.webkit.org/show_bug.cgi?id=153005
1532
1533         Reviewed by Alex Christensen.
1534
1535         * Configurations/FeatureDefines.xcconfig:
1536
1537 2016-01-12  Commit Queue  <commit-queue@webkit.org>
1538
1539         Unreviewed, rolling out r194826.
1540         https://bugs.webkit.org/show_bug.cgi?id=153020
1541
1542         Appears to have regressed PLT (Requested by kling on #webkit).
1543
1544         Reverted changeset:
1545
1546         "Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL
1547         cont'd"
1548         https://bugs.webkit.org/show_bug.cgi?id=152902
1549         http://trac.webkit.org/changeset/194826
1550
1551 2016-01-11  Anders Carlsson  <andersca@apple.com>
1552
1553         Get rid of CFMakeCollectable, it is a no-op
1554         https://bugs.webkit.org/show_bug.cgi?id=152988
1555
1556         Reviewed by Sam Weinig.
1557
1558         * Misc/WebNSDataExtras.m:
1559         (-[NSString _web_capitalizeRFC822HeaderFieldName]):
1560         (-[NSData _webkit_parseRFC822HeaderFields]):
1561         * Plugins/WebPluginController.mm:
1562         (-[WebPluginController initWithDocumentView:]):
1563
1564 2016-01-10  Andreas Kling  <akling@apple.com>
1565
1566         Use NeverDestroyed instead of DEPRECATED_DEFINE_STATIC_LOCAL cont'd
1567         <https://webkit.org/b/152902>
1568
1569         Reviewed by Andy Estes.
1570
1571         Convert some more of the remaining clients to use NeverDestroyed.
1572
1573         * History/WebBackForwardList.mm:
1574         (backForwardLists):
1575         * History/WebHistoryItem.mm:
1576         (historyItemWrappers):
1577         * Misc/WebNSPasteboardExtras.mm:
1578         (+[NSPasteboard _web_writableTypesForURL]):
1579         (_writableTypesForImageWithoutArchive):
1580         (_writableTypesForImageWithArchive):
1581         * Plugins/Hosted/NetscapePluginHostManager.mm:
1582         (WebKit::NetscapePluginHostManager::singleton):
1583         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1584         (WebKit::pluginProxyMap):
1585         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1586         (WebKit::globalExceptionString):
1587         * Plugins/Hosted/ProxyInstance.mm:
1588         (WebKit::proxyClass):
1589         * Plugins/WebNetscapePluginStream.mm:
1590         (streams):
1591         * Storage/WebDatabaseManager.mm:
1592         (transactionBackgroundTaskIdentifierLock):
1593         * WebCoreSupport/WebUserMediaClient.mm:
1594         (userMediaCheckMap):
1595         * WebView/WebHTMLRepresentation.mm:
1596         (regExpForLabels):
1597         * WebView/WebView.mm:
1598         (aeDescFromJSValue):
1599
1600 2016-01-09  Dan Bernstein  <mitz@apple.com>
1601
1602         [Cocoa] Allow overriding the frameworks directory independently of using a staging install path
1603         https://bugs.webkit.org/show_bug.cgi?id=152926
1604
1605         Reviewed by Tim Horton.
1606
1607         Introduce a new build setting, WK_OVERRIDE_FRAMEWORKS_DIR. When not empty, it determines
1608         where the frameworks are installed. Setting USE_STAGING_INSTALL_PATH to YES sets
1609         WK_OVERRIDE_FRAMEWORKS_DIR to $(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari.
1610
1611         Account for the possibility of WK_OVERRIDE_FRAMEWORKS_DIR containing spaces.
1612
1613         * Configurations/WebKitLegacy.xcconfig:
1614         - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with
1615           WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces.
1616         - Define WEBKIT_LEGACY_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, and
1617           WEBCORE_PRIVATE_HEADERS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR.
1618
1619         * MigrateHeaders.make:
1620           Use a symlink under BUILT_PRODUCTS_DIR to the WebCore Private Headers. Use a
1621           BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in
1622           order to avoid spaces.
1623         * migrate-headers.sh:
1624           Make the symlink to WEBCORE_PRIVATE_HEADERS_DIR that the makefile now uses.
1625
1626 2016-01-07  Tim Horton  <timothy_horton@apple.com>
1627
1628         Can't play inline video in a stock WK1 WebView on Mac
1629         https://bugs.webkit.org/show_bug.cgi?id=152860
1630
1631         Rubber-stamped by Jer Noble.
1632
1633         * WebView/WebPreferences.mm:
1634         (+[WebPreferences initialize]):
1635         The default for this preference is supposed to be NO on Mac. It is in
1636         Settings.in, and in WebKit2, but this one place got it wrong.
1637
1638 2016-01-06  Simon Fraser  <simon.fraser@apple.com>
1639
1640         Add a setting and preferences to enable display-list drawing. Does nothing yet.
1641         https://bugs.webkit.org/show_bug.cgi?id=152807
1642
1643         Reviewed by Zalan Bujtas.
1644         
1645         WK1 pref for display-list drawing, defaults to off.
1646
1647         * WebView/WebPreferenceKeysPrivate.h:
1648         * WebView/WebPreferences.mm:
1649         (+[WebPreferences initialize]):
1650         (-[WebPreferences displayListDrawingEnabled]):
1651         (-[WebPreferences setDisplayListDrawingEnabled:]):
1652         * WebView/WebPreferencesPrivate.h:
1653         * WebView/WebView.mm:
1654         (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
1655         (-[WebView _preferencesChanged:]):
1656
1657 2016-01-06  Simon Fraser  <simon.fraser@apple.com>
1658
1659         [iOS] Revert overflow:hidden on the body affecting viewport scale (r186786)
1660         https://bugs.webkit.org/show_bug.cgi?id=152803
1661         rdar://problem/22242515
1662
1663         Reviewed by Tim Horton.
1664
1665         * WebView/WebView.mm:
1666         (-[WebView _contentsSizeRespectingOverflow]): Keep this function which is used
1667         by UIKit, but change the implementation to just return the document size.
1668
1669 2016-01-04  Tim Horton  <timothy_horton@apple.com>
1670
1671         Turn on gesture events when building for Yosemite
1672         https://bugs.webkit.org/show_bug.cgi?id=152704
1673         rdar://problem/24042472
1674
1675         Reviewed by Anders Carlsson.
1676
1677         * Configurations/FeatureDefines.xcconfig:
1678
1679 2015-12-31  Andy Estes  <aestes@apple.com>
1680
1681         Replace WTF::move with WTFMove
1682         https://bugs.webkit.org/show_bug.cgi?id=152601
1683
1684         Reviewed by Brady Eidson.
1685
1686         * History/WebHistoryItem.mm:
1687         (-[WebHistoryItem initFromDictionaryRepresentation:]):
1688         * Plugins/Hosted/HostedNetscapePluginStream.mm:
1689         (WebKit::HostedNetscapePluginStream::willSendRequest):
1690         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
1691         (WebKit::NetscapePluginInstanceProxy::setCurrentReply):
1692         * Plugins/WebNetscapePluginStream.mm:
1693         (WebNetscapePluginStream::willSendRequest):
1694         * Plugins/WebNetscapePluginView.mm:
1695         (-[WebNetscapePluginView scheduleTimerWithInterval:repeat:timerFunc:]):
1696         * WebCoreSupport/WebContextMenuClient.mm:
1697         (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
1698         * WebCoreSupport/WebFrameLoaderClient.mm:
1699         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
1700         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1701         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1702         (WebFrameLoaderClient::dispatchWillSubmitForm):
1703         (WebFrameLoaderClient::createDocumentLoader):
1704         * WebCoreSupport/WebInspectorClient.mm:
1705         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1706         * WebView/WebArchive.mm:
1707         (-[WebArchive initWithMainResource:subresources:subframeArchives:]):
1708         * WebView/WebFrame.mm:
1709         (-[WebFrame _documentFragmentWithNodesAsParagraphs:]):
1710         * WebView/WebHTMLView.mm:
1711         (-[WebHTMLView _applyEditingStyleToSelection:withUndoAction:]):
1712         * WebView/WebMediaPlaybackTargetPicker.mm:
1713         (WebMediaPlaybackTargetPicker::setPlaybackTarget):
1714         * WebView/WebView.mm:
1715         (-[WebView _loadBackForwardListFromOtherView:]):
1716         (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
1717         (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
1718
1719 2016-01-01  Simon Fraser  <simon.fraser@apple.com>
1720
1721         Fix the iOS and EFL builds, after an over-eager commit-queue commit.
1722
1723         * History/WebHistoryItem.mm:
1724         (-[WebHistoryItem initFromDictionaryRepresentation:]):
1725
1726 2016-01-01  Simon Fraser  <simon.fraser@apple.com>
1727
1728         Fix naming in HistoryItem to refer to scrollPositions
1729         https://bugs.webkit.org/show_bug.cgi?id=152646
1730
1731         Reviewed by Zalan Bujtas.
1732
1733         HistoryItem stores a scrollPosition, so call it that.
1734
1735         * History/WebHistoryItem.mm:
1736         (-[WebHistoryItem scrollPoint]):
1737
1738 2016-01-01  Jeff Miller  <jeffm@apple.com>
1739
1740         Update user-visible copyright strings to include 2016
1741         https://bugs.webkit.org/show_bug.cgi?id=152531
1742
1743         Reviewed by Alexey Proskuryakov.
1744
1745         * Info.plist:
1746
1747 2015-12-31  David Kilzer  <ddkilzer@apple.com>
1748
1749         Stop using USE(CFNETWORK) path on iOS
1750         https://bugs.webkit.org/show_bug.cgi?id=142540
1751
1752         Step 1/2: Do everything but turn off USE(CFNETWORK) internally.
1753
1754         Original patch by Antti Koivisto <antti@apple.com> on 2015-03-10
1755         Reviewed by Daniel Bates.
1756
1757         * Misc/WebDownload.h: Add header guard to make
1758         NSURLDownloadSPI.h work when pre-declaring NSURLDownload object.
1759         * Misc/WebKitVersionChecks.h: Define
1760         WEBKIT_FIRST_VERSION_WITH_LOADING_DURING_COMMON_RUNLOOP_MODES
1761         for iOS.
1762         * WebView/WebView.mm:
1763         (-[WebView _commonInitializationWithFrameName:groupName:]): Use
1764         the correct runloop on iOS.
1765         * WebView/WebViewPrivate.h:
1766         (-[WebView(WebPendingPublic) scheduleInRunLoop:forMode:]):
1767         (-[WebView(WebPendingPublic) unscheduleFromRunLoop:forMode:]):
1768         - These are available on iOS now.
1769
1770 2015-12-31  Simon Fraser  <simon.fraser@apple.com>
1771
1772         Clarify that scrollPositionChangedViaPlatformWidget takes offsets
1773         https://bugs.webkit.org/show_bug.cgi?id=152606
1774
1775         Reviewed by Zalan Bujtas.
1776
1777         scrollPositionChangedViaPlatformWidget actually gets scroll offsets, since the
1778         values we get from AppKit are zero-based, so rename to scrollOffsetChangedViaPlatformWidget().
1779         
1780         Change ScrollableArea's setScrollPosition() and requestScrollPositionUpdate() to take
1781         ScrollPositions.
1782         
1783         Add a FIXME noting that willRevealEdge events are probably broken in RTL documents.
1784
1785         * WebView/WebHTMLView.mm:
1786         (-[WebHTMLView _frameOrBoundsChanged]):
1787
1788 2015-12-22  Andy Estes  <aestes@apple.com>
1789
1790         [CF] Replace CFNetwork-related WebKitSystemInterface calls with SPI
1791         https://bugs.webkit.org/show_bug.cgi?id=152463
1792
1793         Reviewed by Alexey Proskuryakov.
1794
1795         Replaced WebkitSystemInterface calls that wrapped CFNetwork SPI with direct calls to SPI that is now forward
1796         declared in CFNetworkSPI.h.
1797
1798         * Plugins/Hosted/HostedNetscapePluginStream.mm:
1799         (WebKit::HostedNetscapePluginStream::didReceiveResponse):
1800         * Plugins/WebNetscapePluginStream.mm:
1801         (WebNetscapePluginStream::didReceiveResponse):
1802         * WebCoreSupport/WebSystemInterface.mm:
1803         (InitWebCoreSystemInterface): Deleted.
1804         * WebView/WebPreferences.mm:
1805         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1806
1807 2015-12-20  Dan Bernstein  <mitz@apple.com>
1808
1809         Remove unused setToolbarHeight
1810         https://bugs.webkit.org/show_bug.cgi?id=152466
1811
1812         Reviewed by Darin Adler.
1813
1814         * WebCoreSupport/WebInspectorClient.h:
1815         * WebCoreSupport/WebInspectorClient.mm::
1816         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
1817
1818 2015-12-19  Dan Bernstein  <mitz@apple.com>
1819
1820         [Mac] WebKit contains dead source code for OS X Mavericks and earlier
1821         https://bugs.webkit.org/show_bug.cgi?id=152462
1822
1823         Reviewed by Alexey Proskuryakov.
1824
1825         - Removed build setting definitions for OS X 10.9 and earlier, and simplified defintions
1826           that became uniform across all OS X versions as a result:
1827
1828         * Configurations/DebugRelease.xcconfig:
1829         * Configurations/FeatureDefines.xcconfig:
1830         * Configurations/Version.xcconfig:
1831         * Configurations/WebKitLegacy.xcconfig:
1832
1833         - Simplified expressions involving __MAC_OS_X_VERSION_MIN_REQUIRED and removed code that was
1834           never getting compiled:
1835
1836         * WebCoreSupport/WebInspectorClient.mm:
1837         * WebView/WebDynamicScrollBarsView.mm:
1838         * WebView/WebHTMLView.mm:
1839         * WebView/WebImmediateActionController.h:
1840         * WebView/WebImmediateActionController.mm:
1841         * WebView/WebView.mm:
1842         * WebView/WebViewData.h:
1843         * WebView/WebViewData.mm:
1844         * WebView/WebViewInternal.h:
1845
1846 2015-12-17  Tim Horton  <timothy_horton@apple.com>
1847
1848         Data detector yellow highlight location is vertically mirrored in WebKit1
1849         https://bugs.webkit.org/show_bug.cgi?id=152216
1850         <rdar://problem/23848003>
1851
1852         Reviewed by Darin Adler.
1853
1854         * WebView/WebImmediateActionController.mm:
1855         (-[WebImmediateActionController _animationControllerForDataDetectedText]):
1856         Match the conversion we do at every other WK1 TextIndicator construction.
1857
1858 2015-12-16  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1859
1860         [Fetch API] Add fetch API compile time flag
1861         https://bugs.webkit.org/show_bug.cgi?id=152254
1862
1863         Reviewed by Darin Adler.
1864
1865         * Configurations/FeatureDefines.xcconfig:
1866
1867 2015-12-13  Tim Horton  <timothy_horton@apple.com>
1868
1869         Adopt CGIOSurfaceContextCreateImageReference to avoid unnecessary readback
1870         https://bugs.webkit.org/show_bug.cgi?id=150988
1871         <rdar://problem/18993594>
1872
1873         Reviewed by Darin Adler.
1874
1875         * WebCoreSupport/WebContextMenuClient.mm:
1876         (WebContextMenuClient::imageForCurrentSharingServicePickerItem):
1877         Adopt sinkIntoImage and drawConsumingImageBuffer in a few places.
1878
1879 2015-12-11  Eric Carlson  <eric.carlson@apple.com>
1880
1881         [MediaStream] Add a setting to allow the mock media capture devices to be enabled and disabled
1882         https://bugs.webkit.org/show_bug.cgi?id=152197
1883
1884         Reviewed by Dean Jackson.
1885
1886         * WebView/WebPreferenceKeysPrivate.h:
1887         * WebView/WebPreferences.mm:
1888         (+[WebPreferences initialize]):
1889         (-[WebPreferences mockCaptureDevicesEnabled]):
1890         (-[WebPreferences setMockCaptureDevicesEnabled:]):
1891         * WebView/WebPreferencesPrivate.h:
1892         * WebView/WebView.mm:
1893         (-[WebView _preferencesChanged:]):
1894
1895 2015-12-11  Beth Dakin  <bdakin@apple.com>
1896
1897         _touchEventRegions should return regions in the view's coordinates
1898         https://bugs.webkit.org/show_bug.cgi?id=152189
1899         -and corresponding-
1900         rdar://problem/23188605
1901
1902         Reviewed by Dan Bernstein.
1903
1904         The comment here was actually out of date. It claimed that touch rectangles 
1905         are in the coordinate system of the document, but we had actually changed 
1906         them to be in the view’s coordinate system in order to fix issues with 
1907         handling touch events in UIWebView. But now we are going back to having the 
1908         touch rectangles be in the document’s coordinate system, so we should fix the 
1909         rtl bugs here by converting to view coordinates before handing the rects off 
1910         to iOS WK1 clients.
1911         * WebView/WebView.mm:
1912         (-[WebView _touchEventRegions]):
1913
1914 2015-12-10  Eric Carlson  <eric.carlson@apple.com>
1915
1916         [MediaStream] Expose media capture devices persistent permissions to WebCore
1917         https://bugs.webkit.org/show_bug.cgi?id=152087
1918
1919         Reviewed by Chris Dumez.
1920
1921         Add methods and helpers for WK1 permission checker interface.
1922         * WebCoreSupport/WebUserMediaClient.h:
1923         * WebCoreSupport/WebUserMediaClient.mm:
1924         (userMediaRequestsMap):
1925         (AddRequestToRequestMap):
1926         (RemoveRequestFromRequestMap):
1927         (userMediaCheckMap):
1928         (AddPermissionCheckToMap):
1929         (RemovePermissionCheckFromMap):
1930         (WebUserMediaClient::WebUserMediaClient):
1931         (WebUserMediaClient::requestUserMediaAccess):
1932         (WebUserMediaClient::cancelUserMediaAccessRequest):
1933         (WebUserMediaClient::checkUserMediaPermission):
1934         (WebUserMediaClient::cancelUserMediaPermissionCheck):
1935         (-[WebUserMediaPolicyListener allow]):
1936         (-[WebUserMediaPolicyListener deny]):
1937         (-[WebUserMediaPolicyCheckerListener initWithUserMediaPermissionCheck:]):
1938         (-[WebUserMediaPolicyCheckerListener cancelUserMediaPermissionCheck]):
1939         (-[WebUserMediaPolicyCheckerListener allow]):
1940         (-[WebUserMediaPolicyCheckerListener deny]):
1941         (-[WebUserMediaPolicyCheckerListener denyOnlyThisRequest]):
1942         (-[WebUserMediaPolicyCheckerListener shouldClearCache]):
1943         (AddRequestToMap): Deleted.
1944         (RemoveRequestFromMap): Deleted.
1945         * WebView/WebUIDelegatePrivate.h:
1946
1947 2015-12-08  Beth Dakin  <bdakin@apple.com>
1948
1949         Follow-up to:
1950         Add support for WebViewAdditions
1951         https://bugs.webkit.org/show_bug.cgi?id=151967
1952
1953         Rubber-stamped by Dan Bernstein.
1954
1955         We should use the Web prefix for all category names.
1956         * WebView/WebView.mm:
1957         (-[WebView updateWebViewAdditions]):
1958         * WebView/WebViewInternal.h:
1959
1960 2015-12-08  Eric Carlson  <eric.carlson@apple.com>
1961
1962         [MediaStream] Rename UserMediaClient and UserMediaController methods
1963         https://bugs.webkit.org/show_bug.cgi?id=152001
1964
1965         Reviewed by Brady Eidson.
1966
1967         * WebCoreSupport/WebUserMediaClient.h:
1968         * WebCoreSupport/WebUserMediaClient.mm:
1969         (WebUserMediaClient::pageDestroyed):
1970         (WebUserMediaClient::requestUserMediaAccess):
1971         (WebUserMediaClient::cancelUserMediaAccessRequest):
1972         (-[WebUserMediaPolicyListener initWithUserMediaRequest:]):
1973         (-[WebUserMediaPolicyListener cancelUserMediaAccessRequest]):
1974         (WebUserMediaClient::requestPermission): Deleted.
1975         (WebUserMediaClient::cancelRequest): Deleted.
1976         (-[WebUserMediaPolicyListener cancelRequest]): Deleted.
1977
1978 2015-12-07  Alex Christensen  <achristensen@webkit.org>
1979
1980         Build fix after r193675.
1981
1982         * WebView/WebViewData.h:
1983
1984 2015-12-07  Alex Christensen  <achristensen@webkit.org>
1985
1986         Build fix after r193661.
1987
1988         Reviewed by Beth Dakin.
1989
1990         * WebView/WebViewData.h:
1991
1992 2015-12-07  Beth Dakin  <bdakin@apple.com>
1993
1994         Add support for WebViewAdditions
1995         https://bugs.webkit.org/show_bug.cgi?id=151967
1996
1997         Reviewed by Sam Weinig.
1998
1999         * WebCoreSupport/WebEditorClient.mm:
2000         (WebEditorClient::respondToChangedSelection):
2001         * WebView/WebView.mm:
2002         (-[WebView _commonInitializationWithFrameName:groupName:]):
2003         (-[WebView updateWebViewAdditions]):
2004         * WebView/WebViewData.h:
2005         * WebView/WebViewInternal.h:
2006
2007 2015-12-07  Beth Dakin  <bdakin@apple.com>
2008
2009         Hook up request and show for typing candidates in WK1
2010         https://bugs.webkit.org/show_bug.cgi?id=151831
2011         -and corresponding-
2012         <rdar://problem/23751214>
2013
2014         Reviewed by Enrica Casucci.
2015
2016         Add member variables to WebEditorClient. One is a WeakPtrFactory for the 
2017         asynchronous handlers, and the other caches the VisibleSelection at the time 
2018         candidates were requested so that we can make sure the candidates are still 
2019         valid once we receive them.
2020         * WebCoreSupport/WebEditorClient.h:
2021         * WebCoreSupport/WebEditorClient.mm:
2022         (WebEditorClient::WebEditorClient):
2023
2024         Call [NSSpellChecker requestCandidatesForSelectedRange] with the appropriate 
2025         parameters.
2026         (WebEditorClient::requestCandidatesForSelection):
2027
2028         Two helpers to compute information that we need for both of the handlers 
2029         below.
2030         (candidateRangeForSelection):
2031         (candidateWouldReplaceText):
2032
2033         In this handler, we just need to call [NSSpellChecker showCandidates] with 
2034         the appropriate parameters.
2035         (WebEditorClient::handleRequestedCandidates):
2036
2037         Once a candidate is accepted, it should be inserted in the right way.
2038         (WebEditorClient::handleAcceptedCandidate):
2039
2040 2015-12-03  Jer Noble  <jer.noble@apple.com>
2041
2042         Expose WebCore's InvisibleAutoplayNotPermitted setting to WebKit & WebKit2
2043         https://bugs.webkit.org/show_bug.cgi?id=151830
2044
2045         Reviewed by Anders Carlsson.
2046
2047         Add a new WebPreferences property invisibleAutoplayNotPermitted.
2048
2049         * WebView/WebPreferenceKeysPrivate.h:
2050         * WebView/WebPreferences.mm:
2051         (-[WebPreferences invisibleAutoplayNotPermitted]):
2052         (-[WebPreferences setInvisibleAutoplayNotPermitted:]):
2053         * WebView/WebPreferencesPrivate.h:
2054         * WebView/WebView.mm:
2055         (-[WebView _preferencesChanged:]):
2056
2057 2015-12-03  Anders Carlsson  <andersca@apple.com>
2058
2059         Remove Objective-C GC support
2060         https://bugs.webkit.org/show_bug.cgi?id=151819
2061         rdar://problem/23746991
2062
2063         Reviewed by Dan Bernstein.
2064
2065         * Carbon/CarbonWindowAdapter.mm:
2066         (+[CarbonWindowAdapter initialize]): Deleted.
2067         (-[CarbonWindowAdapter finalize]): Deleted.
2068         * Configurations/Base.xcconfig:
2069         * History/WebBackForwardList.mm:
2070         (+[WebBackForwardList initialize]): Deleted.
2071         (-[WebBackForwardList finalize]): Deleted.
2072         * History/WebHistory.mm:
2073         (-[WebHistoryPrivate finalize]): Deleted.
2074         (-[WebHistory finalize]): Deleted.
2075         * History/WebHistoryItem.mm:
2076         (+[WebHistoryItem initialize]): Deleted.
2077         (-[WebHistoryItem finalize]): Deleted.
2078         * Misc/WebElementDictionary.mm:
2079         (+[WebElementDictionary initialize]): Deleted.
2080         (-[WebElementDictionary finalize]): Deleted.
2081         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
2082         (+[WebHostedNetscapePluginView initialize]): Deleted.
2083         * Plugins/WebBaseNetscapePluginView.mm:
2084         (-[WebBaseNetscapePluginView finalize]): Deleted.
2085         * Plugins/WebBasePluginPackage.mm:
2086         (-[WebBasePluginPackage finalize]): Deleted.
2087         * Plugins/WebNetscapePluginView.mm:
2088         (+[WebNetscapePluginView initialize]): Deleted.
2089         (-[WebNetscapePluginView finalize]): Deleted.
2090         * Plugins/WebPluginContainerCheck.mm:
2091         (-[WebPluginContainerCheck finalize]): Deleted.
2092         * WebCoreSupport/WebEditorClient.mm:
2093         (+[WebUndoStep initialize]): Deleted.
2094         (-[WebUndoStep finalize]): Deleted.
2095         * WebCoreSupport/WebFrameLoaderClient.mm:
2096         * WebCoreSupport/WebOpenPanelResultListener.mm:
2097         (-[WebOpenPanelResultListener finalize]): Deleted.
2098         * WebCoreSupport/WebSecurityOrigin.mm:
2099         (-[WebSecurityOrigin finalize]): Deleted.
2100         * WebView/WebArchive.mm:
2101         (+[WebArchivePrivate initialize]): Deleted.
2102         * WebView/WebDataSource.mm:
2103         (+[WebDataSource initialize]): Deleted.
2104         (-[WebDataSource finalize]): Deleted.
2105         * WebView/WebDynamicScrollBarsView.mm:
2106         (-[WebDynamicScrollBarsView finalize]): Deleted.
2107         * WebView/WebFrame.mm:
2108         (-[WebFramePrivate setWebFrameView:]):
2109         (-[WebFramePrivate finalize]): Deleted.
2110         (-[WebFrame finalize]): Deleted.
2111         * WebView/WebFrameView.mm:
2112         (-[WebFrameView finalize]): Deleted.
2113         * WebView/WebHTMLRepresentation.mm:
2114         (-[WebHTMLRepresentation finalize]): Deleted.
2115         * WebView/WebHTMLView.mm:
2116         (+[WebHTMLViewPrivate initialize]):
2117         (-[WebHTMLViewPrivate finalize]): Deleted.
2118         (+[WebHTMLView initialize]): Deleted.
2119         (-[WebHTMLView finalize]): Deleted.
2120         * WebView/WebResource.mm:
2121         (+[WebResourcePrivate initialize]): Deleted.
2122         (-[WebResourcePrivate finalize]): Deleted.
2123         * WebView/WebTextIterator.mm:
2124         (+[WebTextIteratorPrivate initialize]): Deleted.
2125         * WebView/WebView.mm:
2126         (-[WebView finalize]): Deleted.
2127         * WebView/WebViewData.mm:
2128         (+[WebViewPrivate initialize]): Deleted.
2129         (-[WebViewPrivate init]): Deleted.
2130         (-[WebViewPrivate finalize]): Deleted.
2131
2132 2015-12-02  Antti Koivisto  <antti@apple.com>
2133
2134         Move ResourceLoadScheduler to WebKit1
2135         https://bugs.webkit.org/show_bug.cgi?id=151743
2136
2137         Reviewed by Alex Christensen.
2138
2139         * Plugins/Hosted/HostedNetscapePluginStream.mm:
2140         (WebKit::HostedNetscapePluginStream::start):
2141         (WebKit::HostedNetscapePluginStream::stop):
2142         * Plugins/WebNetscapePluginStream.mm:
2143         (WebNetscapePluginStream::start):
2144         (WebNetscapePluginStream::stop):
2145         * WebCoreSupport/WebPlatformStrategies.h:
2146         * WebCoreSupport/WebPlatformStrategies.mm:
2147         (WebPlatformStrategies::createLoaderStrategy):
2148         (WebPlatformStrategies::createPasteboardStrategy):
2149         (WebPlatformStrategies::createPluginStrategy):
2150         (WebPlatformStrategies::createBlobRegistry):
2151         (WebPlatformStrategies::cookiesForDOM):
2152         * WebView/WebView.mm:
2153         (-[WebView _dispatchPendingLoadRequests]):
2154         (+[WebView _setLoadResourcesSerially:]):
2155         (+[WebView _HTTPPipeliningEnabled]):
2156
2157 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
2158
2159         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
2160         https://bugs.webkit.org/show_bug.cgi?id=150792
2161
2162         Reviewed by Saam Barati.
2163
2164         * Configurations/FeatureDefines.xcconfig:
2165
2166 2015-12-01  Commit Queue  <commit-queue@webkit.org>
2167
2168         Unreviewed, rolling out r192914.
2169         https://bugs.webkit.org/show_bug.cgi?id=151734
2170
2171         JSC tests for this change are failing on 32 and 64-bit bots
2172         (Requested by ryanhaddad on #webkit).
2173
2174         Reverted changeset:
2175
2176         "[ES6] Implement LLInt/Baseline Support for ES6 Generators and
2177         enable this feature"
2178         https://bugs.webkit.org/show_bug.cgi?id=150792
2179         http://trac.webkit.org/changeset/192914
2180
2181 2015-12-01  Yusuke Suzuki  <utatane.tea@gmail.com>
2182
2183         [ES6] Implement LLInt/Baseline Support for ES6 Generators and enable this feature
2184         https://bugs.webkit.org/show_bug.cgi?id=150792
2185
2186         Reviewed by Saam Barati.
2187
2188         * Configurations/FeatureDefines.xcconfig:
2189
2190 2015-11-30  Katlyn Graff  <kgraff@apple.com>
2191
2192         Rename ActiveDOMObject/DOMWindow PageCacheSuspension code to support more reasons for suspension
2193         https://bugs.webkit.org/show_bug.cgi?id=151677
2194
2195         Reviewed by Ryosuke Niwa.
2196
2197         * WebView/WebFrame.mm:
2198         (-[WebFrame _cacheabilityDictionary]):
2199
2200 2015-11-30  Jiewen Tan  <jiewen_tan@apple.com>
2201
2202         Null dereference loading Blink layout test http/tests/misc/detach-during-notifyDone.html
2203         https://bugs.webkit.org/show_bug.cgi?id=149309
2204         <rdar://problem/22748363>
2205
2206         Reviewed by Brent Fulgham.
2207
2208         * WebView/WebDataSource.mm:
2209         (WebDataSourcePrivate::~WebDataSourcePrivate):
2210         Refine the assertion to treat <rdar://problem/9673866>.
2211
2212 == Rolled over to ChangeLog-2015-11-21 ==