[Curl] Fix DRT crash related to private browsing.
[WebKit-https.git] / Source / WebKitLegacy / win / ChangeLog
1 2019-01-31  Takashi Komori  <Takashi.Komori@sony.com>
2
3         [Curl] Fix DRT crash related to private browsing.
4         https://bugs.webkit.org/show_bug.cgi?id=193816
5
6         Reviewed by Alex Christensen.
7
8         * WebCoreSupport/WebFrameNetworkingContext.cpp:
9         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
10
11 2019-01-28  Ross Kirsling  <ross.kirsling@sony.com>
12
13         Remove unnecessary `using namespace WTF`s (or at least restrict their scope).
14         https://bugs.webkit.org/show_bug.cgi?id=193941
15
16         Reviewed by Alex Christensen.
17
18         * Plugins/PluginMessageThrottlerWin.cpp:
19         * Plugins/PluginView.cpp:
20         * Plugins/PluginViewWin.cpp:
21
22 2019-01-24  Ross Kirsling  <ross.kirsling@sony.com>
23
24         Move FileSystem to WTF
25         https://bugs.webkit.org/show_bug.cgi?id=193602
26
27         Reviewed by Yusuke Suzuki.
28
29         * Plugins/PluginDatabase.cpp:
30         * Plugins/PluginPackage.h:
31         * Plugins/PluginStream.h:
32         * WebApplicationCache.cpp:
33         * WebDatabaseManager.cpp:
34         * WebDownloadCurl.cpp:
35         * WebPreferences.cpp:
36         * WebView.cpp:
37
38 2019-01-22  Alex Christensen  <achristensen@webkit.org>
39
40         Move NetworkStorageSession ownership to NetworkProcess
41         https://bugs.webkit.org/show_bug.cgi?id=193580
42
43         Reviewed by Geoff Garen.
44
45         * WebCoreSupport/WebFrameNetworkingContext.cpp:
46         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
47         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
48         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
49         (WebFrameNetworkingContext::storageSession const):
50         * WebDownloadCFNet.cpp:
51         (WebDownload::didReceiveAuthenticationChallenge):
52         * WebPreferences.cpp:
53         (WebPreferences::clearNetworkLoaderSession):
54         (WebPreferences::switchNetworkLoaderToNewTestingSession):
55
56 2019-01-15  Darin Adler  <darin@apple.com>
57
58         Use references rather than pointers for register/unregister functions, and more
59         https://bugs.webkit.org/show_bug.cgi?id=175028
60
61         Reviewed by Daniel Bates.
62
63         * Plugins/PluginView.cpp:
64         (WebCore::PluginView::startOrAddToUnstartedList): Pass a reference.
65         (WebCore::PluginView::~PluginView): Ditto.
66         * WebView.cpp:
67         (WebView::fullScreenClientWillEnterFullScreen): Ditto.
68         (WebView::fullScreenClientDidEnterFullScreen): Ditto.
69         (WebView::fullScreenClientDidExitFullScreen): Ditto.
70
71 2019-01-17  Per Arne Vollan  <pvollan@apple.com>
72
73         [Win][HighDPI] Repaint glitches when scrolling.
74         https://bugs.webkit.org/show_bug.cgi?id=173152
75         <rdar://problem/45269953>
76
77         Reviewed by Brent Fulgham.
78
79         Non-integral device scale factors are causing repaint glitches, because the computation of the scroll
80         delta in pixel coordinates from the scroll delta in logical coordinates will not always be correct.
81         Instead of blitting the scroll rectangle, repaint the entire region affected by scrolling.
82
83         * WebView.cpp:
84         (WebView::scrollBackingStore):
85
86 2019-01-17  Alex Christensen  <achristensen@webkit.org>
87
88         Stop using NetworkStorageSession::storageSession in WebCore
89         https://bugs.webkit.org/show_bug.cgi?id=193529
90
91         Reviewed by Tim Horton.
92
93         * WebView.cpp:
94         (WebView::initWithFrame):
95
96 2019-01-15  Alex Christensen  <achristensen@webkit.org>
97
98         Reduce use of NetworkStorageSession::defaultStorageSession in WebCore
99         https://bugs.webkit.org/show_bug.cgi?id=193368
100
101         Reviewed by Geoff Garen.
102
103         * WebDownloadCFNet.cpp:
104         (WebDownload::didReceiveAuthenticationChallenge):
105
106 2019-01-15  Alex Christensen  <achristensen@webkit.org>
107
108         Fix Windows build after r240014
109         https://bugs.webkit.org/show_bug.cgi?id=161106
110
111         * WebView.cpp:
112
113 2019-01-15  Alex Christensen  <achristensen@webkit.org>
114
115         Stop using CookiesStrategy
116         https://bugs.webkit.org/show_bug.cgi?id=161106
117
118         Reviewed by Don Olmstead and Antti Koivisto.
119
120         * Plugins/PluginView.cpp:
121         (WebCore::PluginView::getValueForURL):
122         (WebCore::PluginView::setValueForURL):
123         * WebCoreSupport/WebPlatformStrategies.cpp:
124         (WebPlatformStrategies::createBlobRegistry):
125         (WebPlatformStrategies::createCookiesStrategy): Deleted.
126         (WebPlatformStrategies::cookiesForDOM): Deleted.
127         (WebPlatformStrategies::setCookiesFromDOM): Deleted.
128         (WebPlatformStrategies::cookiesEnabled): Deleted.
129         (WebPlatformStrategies::cookieRequestHeaderFieldValue): Deleted.
130         (WebPlatformStrategies::getRawCookies): Deleted.
131         (WebPlatformStrategies::deleteCookie): Deleted.
132         * WebCoreSupport/WebPlatformStrategies.h:
133         * WebView.cpp:
134         (WebView::initWithFrame):
135
136 2019-01-08  Alex Christensen  <achristensen@webkit.org>
137
138         Stop using NetworkStorageSession in WebProcess
139         https://bugs.webkit.org/show_bug.cgi?id=193236
140
141         Reviewed by Don Olmstead.
142
143         * WebCoreSupport/WebFrameNetworkingContext.cpp:
144         (WebFrameNetworkingContext::storageSession const):
145         * WebCoreSupport/WebFrameNetworkingContext.h:
146         * WebCoreSupport/WebPlatformStrategies.cpp:
147         (WebPlatformStrategies::cookiesForDOM):
148         (WebPlatformStrategies::setCookiesFromDOM):
149         (WebPlatformStrategies::cookiesEnabled):
150         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
151         (WebPlatformStrategies::getRawCookies):
152         (WebPlatformStrategies::deleteCookie):
153         * WebCoreSupport/WebPlatformStrategies.h:
154
155 2019-01-08  Alex Christensen  <achristensen@webkit.org>
156
157         Unreviewed, rolling out r239727.
158
159         Broke API tests
160
161         Reverted changeset:
162
163         "Stop using NetworkStorageSession in WebProcess"
164         https://bugs.webkit.org/show_bug.cgi?id=193236
165         https://trac.webkit.org/changeset/239727
166
167 2018-12-24  Fujii Hironori  <Hironori.Fujii@sony.com>
168
169         Remove "using namespace std;"
170         https://bugs.webkit.org/show_bug.cgi?id=192973
171
172         Reviewed by Alex Christensen.
173
174         * FullscreenVideoController.cpp:
175         * WebFrame.cpp:
176         (WebFrame::drawFooter):
177         * WebHistory.cpp:
178         * WebKitQuartzCoreAdditions/CAD3DRenderer.cpp:
179         * WebKitQuartzCoreAdditions/CAView.cpp:
180         * WebView.cpp:
181         (PreferencesChangedOrRemovedObserver::notifyPreferencesChanged):
182         (PreferencesChangedOrRemovedObserver::notifyPreferencesRemoved):
183         (WebView::setCacheModel):
184         (WebView::maxCacheModelInAnyInstance):
185
186 2018-12-20  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
187
188         Use Ref<> as much as possible
189         https://bugs.webkit.org/show_bug.cgi?id=192808
190
191         Reviewed by Alex Christensen.
192
193         * Plugins/PluginDatabase.cpp:
194         (WebCore::PluginDatabase::refresh):
195         * Plugins/PluginView.cpp:
196         (WebCore::PluginView::mediaCanStart):
197         (WebCore::PluginView::performRequest):
198         (WebCore::PluginView::bindingInstance):
199         * Plugins/PluginView.h:
200         * WebCoreSupport/WebFrameLoaderClient.cpp:
201         (WebFrameLoaderClient::dispatchDidFailToStartPlugin const):
202         (WebFrameLoaderClient::createPlugin):
203         (WebFrameLoaderClient::createJavaAppletWidget):
204         * WebCoreSupport/WebFrameLoaderClient.h:
205         * WebFrame.cpp:
206         (WebFrame::loadData):
207         (WebFrame::loadPlainTextString):
208         (WebFrame::loadHTMLString):
209         * WebFrame.h:
210         * WebKitQuartzCoreAdditions/CAView.cpp:
211         (WKQCA::CAView::create):
212         * WebKitQuartzCoreAdditions/CAView.h:
213         * WebKitQuartzCoreAdditions/CVDisplayLink.cpp:
214         (WKQCA::CVDisplayLink::create):
215         * WebKitQuartzCoreAdditions/CVDisplayLink.h:
216         * WebKitQuartzCoreAdditions/ImageConversion.cpp:
217         (WKQCA::getImageCopy):
218         * WebView.cpp:
219         (WebView::addUserScriptToGroup):
220         (WebView::addUserStyleSheetToGroup):
221
222 2018-12-20  Chris Dumez  <cdumez@apple.com>
223
224         Use Optional::valueOr() instead of Optional::value_or()
225         https://bugs.webkit.org/show_bug.cgi?id=192933
226
227         Reviewed by Geoffrey Garen.
228
229         * WebSecurityOrigin.cpp:
230         (WebSecurityOrigin::port):
231
232 2018-12-19  Chris Dumez  <cdumez@apple.com>
233
234         wtf/Optional.h: move-constructor and move-assignment operator should disengage the value being moved from
235         https://bugs.webkit.org/show_bug.cgi?id=192728
236         <rdar://problem/46746779>
237
238         Reviewed by Geoff Garen.
239
240         * Plugins/*:
241         * WebCoreSupport/*:
242
243 2018-12-12  Fujii Hironori  <Hironori.Fujii@sony.com>
244
245         [Win][Clang][WebKitLegacy] warning: expected a qualified name after 'typename' of COMEnumVariant and COMPropertyBag
246         https://bugs.webkit.org/show_bug.cgi?id=192617
247
248         Reviewed by Alex Christensen.
249
250         * COMEnumVariant.h:
251         (COMEnumVariant<ContainerType>::adopt): Removed 'typename' from non dependent names.
252         (COMEnumVariant<ContainerType>::createInstance): Ditto.
253         (COMEnumVariant<ContainerType>::Next): Prepend 'typename' for dependent names.
254         * COMPropertyBag.h:
255         (HashType>::createInstance): Removed 'typename' from non dependent names.
256         (HashType>::adopt): Ditto.
257         (HashType>::Read): Replaced dependent name 'HashMapType::const_iterator' with 'auto'.
258         (HashType>::GetPropertyInfo): Ditto.
259
260 2018-12-12  Fujii Hironori  <Hironori.Fujii@sony.com>
261
262         [Win][Clang][WebKitLegacy] WebFrame.cpp: warning: delete called on non-final 'WebFrame' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
263         https://bugs.webkit.org/show_bug.cgi?id=192618
264
265         Reviewed by Alex Christensen.
266
267         Classes which implement COM interface usually doesn't need the
268         virtual destructor because it has Release() virtual method to
269         destruct itself.
270
271         Marked 'final' such classes to suppress clang-cl's compilation
272         warnings.
273
274         * COMEnumVariant.h:
275         * COMPropertyBag.h:
276         * DefaultDownloadDelegate.h:
277         * DefaultPolicyDelegate.h:
278         * MemoryStream.h:
279         * WebActionPropertyBag.h:
280         * WebApplicationCache.h:
281         * WebArchive.h:
282         * WebBackForwardList.h:
283         * WebCache.h:
284         * WebCoreStatistics.h:
285         * WebCoreSupport/WebEditorClient.cpp:
286         * WebCoreSupport/WebInspectorDelegate.h:
287         * WebDataSource.h:
288         * WebDatabaseManager.cpp:
289         * WebDatabaseManager.h:
290         * WebDownload.h:
291         * WebDropSource.h:
292         * WebElementPropertyBag.h:
293         * WebError.h:
294         * WebFrame.cpp:
295         * WebFrame.h:
296         * WebFramePolicyListener.h:
297         * WebGeolocationPolicyListener.h:
298         * WebGeolocationPosition.h:
299         * WebHTMLRepresentation.h:
300         * WebHistory.h:
301         * WebHistoryItem.h:
302         * WebInspector.h:
303         * WebJavaScriptCollector.h:
304         * WebKitClassFactory.h:
305         * WebKitMessageLoop.h:
306         * WebKitStatistics.h:
307         * WebMutableURLRequest.h:
308         * WebNavigationData.h:
309         * WebNotification.h:
310         * WebNotificationCenter.h:
311         * WebPreferences.h:
312         * WebResource.h:
313         * WebScriptWorld.h:
314         * WebSecurityOrigin.h:
315         * WebSerializedJSValue.h:
316         * WebTextRenderer.h:
317         * WebURLAuthenticationChallenge.h:
318         * WebURLAuthenticationChallengeSender.h:
319         * WebURLCredential.h:
320         * WebURLProtectionSpace.h:
321         * WebURLResponse.h:
322         * WebUserContentURLPattern.h:
323         * WebView.cpp:
324         * WebView.h:
325         * WebWorkersPrivate.h:
326
327 2018-12-11  Fujii Hironori  <Hironori.Fujii@sony.com>
328
329         [Win][Clang] Fix warning -Wmissing-field-initializers
330         https://bugs.webkit.org/show_bug.cgi?id=192584
331
332         Reviewed by Yusuke Suzuki.
333
334         Initialize a struct with '{ }' instead of '= {0}'.
335
336         * WebKitMessageLoop.cpp:
337         (WebKitMessageLoop::run):
338         * WebView.cpp:
339         (WebView::onMenuCommand):
340         (WebView::gesture):
341         (WebView::setShouldInvertColors):
342         (WebView::initializeToolTipWindow):
343         (WebView::setToolTip):
344         (WebView::fullScreenClientForceRepaint):
345
346 2018-12-05  Wenson Hsieh  <wenson_hsieh@apple.com>
347
348         Turn WritingDirection into an enum class
349         https://bugs.webkit.org/show_bug.cgi?id=192401
350         Work towards <rdar://problem/42075638>
351
352         Reviewed by Dan Bernstein.
353
354         Change WritingDirection from an enum to an enum class. No change in behavior.
355
356         * WebFrame.cpp:
357         (WebFrame::setTextDirection):
358
359 2018-12-03  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
360
361         Use WallTime for file time
362         https://bugs.webkit.org/show_bug.cgi?id=192287
363
364         Reviewed by Darin Adler.
365
366         * Plugins/PluginDatabase.cpp:
367         (WebCore::PluginDatabase::refresh):
368
369 2018-11-30  Alex Christensen  <achristensen@webkit.org>
370
371         Fix Windows build.
372
373         * WebView.cpp:
374
375 2018-11-30  Alex Christensen  <achristensen@webkit.org>
376
377         Fix Windows build.
378
379         * WebCoreSupport/WebFrameLoaderClient.h:
380
381 2018-11-30  Alex Christensen  <achristensen@webkit.org>
382
383         Fix Windows build.
384
385         * WebCoreSupport/WebFrameLoaderClient.h:
386
387 2018-11-30  Alex Christensen  <achristensen@webkit.org>
388
389         Move URL from WebCore to WTF
390         https://bugs.webkit.org/show_bug.cgi?id=190234
391
392         Reviewed by Keith Miller.
393
394         * MarshallingHelpers.cpp:
395         * MarshallingHelpers.h:
396         * Plugins/PluginDatabase.cpp:
397         * Plugins/PluginDatabase.h:
398         * Plugins/PluginDatabaseWin.cpp:
399         * Plugins/PluginStream.h:
400         * Plugins/PluginView.h:
401         * WebCoreSupport/WebContextMenuClient.h:
402         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
403         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
404         * WebCoreSupport/WebFrameLoaderClient.h:
405         * WebCoreSupport/WebPlatformStrategies.h:
406         * WebCoreSupport/WebPluginInfoProvider.cpp:
407         (WebPluginInfoProvider::webVisiblePluginInfo):
408         * WebCoreSupport/WebPluginInfoProvider.h:
409         * WebCoreSupport/WebVisitedLinkStore.h:
410         * WebDataSource.cpp:
411         * WebDownload.h:
412         * WebElementPropertyBag.cpp:
413         * WebFrame.h:
414         * WebHistory.cpp:
415         * WebHistory.h:
416         * WebHistoryItem.cpp:
417         * WebResource.cpp:
418         (WebResource::WebResource):
419         * WebResource.h:
420         * WebSecurityOrigin.cpp:
421         * WebURLResponse.cpp:
422         (WebURLResponse::createInstance):
423         * WebUserContentURLPattern.cpp:
424         * WebView.h:
425
426 2018-11-28  Alex Christensen  <achristensen@webkit.org>
427
428         Remove dead code from an earlier attempt at implementing safe browsing
429         https://bugs.webkit.org/show_bug.cgi?id=192067
430
431         Reviewed by Chris Dumez.
432
433         * WebCoreSupport/WebFrameLoaderClient.cpp:
434         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
435         * WebCoreSupport/WebFrameLoaderClient.h:
436
437 2018-11-26  Fujii Hironori  <Hironori.Fujii@sony.com>
438
439         [Clang][WebKitLegacy][Win] MarshallingHelpers.h(65,47): warning: extra qualification on member 'windowsEpochAbsoluteTime' [-Wmicrosoft-extra-qualification]
440         https://bugs.webkit.org/show_bug.cgi?id=191959
441
442         Reviewed by Alex Christensen.
443
444         * MarshallingHelpers.h: Removed extra "MarshallingHelpers::" of windowsEpochAbsoluteTime declaration.
445
446 2018-11-26  Brent Fulgham  <bfulgham@apple.com>
447
448         [Win] Reduce the use of WKSI library calls: CoreAnimation
449         https://bugs.webkit.org/show_bug.cgi?id=191777
450         <rdar://problem/46140542>
451
452         Reviewed by Zalan Bujtas.
453
454         Update the Windows build of WebKit to refer to the SPI headers, rather than WebKitSystemInterface.
455         Move a small amount of glue code from WKSI to WebCore, and remove any includes or link
456         directives for WebKitSystemInterface.lib.
457
458         * FullscreenVideoController.cpp:
459         * WebKitGraphics.cpp:
460         * WebPreferences.cpp:
461
462 2018-11-22  Wenson Hsieh  <wenson_hsieh@apple.com>
463
464         Address post-review feedback after r238438
465         https://bugs.webkit.org/show_bug.cgi?id=191913
466
467         Reviewed by Ryosuke Niwa.
468
469         * AccessibleTextImpl.cpp:
470         (AccessibleText::replaceText):
471
472 2018-11-19  Joseph Pecoraro  <pecoraro@apple.com>
473
474         Web Inspector: "Reload Web Inspector" button no longer partially works
475         https://bugs.webkit.org/show_bug.cgi?id=191773
476         <rdar://problem/46139932>
477
478         Reviewed by Devin Rousso.
479
480         * WebCoreSupport/WebInspectorClient.cpp:
481         (WebInspectorFrontendClient::reopen):
482         * WebCoreSupport/WebInspectorClient.h:
483
484 2018-11-17  Devin Rousso  <drousso@apple.com>
485
486         Web Inspector: Network: add button to show system certificate dialog
487         https://bugs.webkit.org/show_bug.cgi?id=191458
488         <rdar://problem/45977019>
489
490         Reviewed by Joseph Pecoraro.
491
492         * WebCoreSupport/WebInspectorClient.h:
493         * WebCoreSupport/WebInspectorClient.cpp:
494         (WebInspectorFrontendClient::showCertificate): Added.
495
496 2018-11-16  Brent Fulgham  <bfulgham@apple.com>
497
498         [Win] Reduce the use of WKSI library calls: CFNetwork
499         https://bugs.webkit.org/show_bug.cgi?id=191718
500         <rdar://problem/46108732>
501
502         Reviewed by Alex Christensen.
503
504         Remove custom WKSI CFNetwork calls, since the SPI is already documented in PAL. Just
505         make the same calls on Windows, like we did for iOS and macOS back in 2017.
506
507         * WebCache.cpp:
508         (WebCache::cacheFolder):
509         * WebCoreSupport/WebFrameNetworkingContext.cpp:
510         * WebCoreSupport/WebPlatformStrategies.cpp:
511         * WebError.cpp:
512         (WebError::localizedDescription):
513         (WebError::sslPeerCertificate):
514         * WebURLResponse.cpp:
515         (WebURLResponse::sslPeerCertificate):
516         (WebURLResponse::certificateDictionary const):
517         * WebView.cpp:
518         (WebView::setCacheModel):
519
520 2018-11-15  Brent Fulgham  <bfulgham@apple.com>
521
522         [Win] Reduce the use of WKSI library calls: Font Handling
523         https://bugs.webkit.org/show_bug.cgi?id=191701
524         <rdar://problem/46104809>
525
526         Reviewed by Myles C. Maxfield.
527
528         Update to use the old font handling routines moved from WKSI to FontCascade.
529
530         * WebPreferences.cpp:
531         (WebPreferences::setFontSmoothing):
532         (WebPreferences::setFontSmoothingContrast):
533         * WebView.cpp:
534         (systemParameterChanged):
535
536 2018-11-14  Timothy Hatcher  <timothy@apple.com>
537
538         Default the view background color and text color to different values when in dark mode.
539         https://bugs.webkit.org/show_bug.cgi?id=191607
540         rdar://problem/46045854
541
542         Reviewed by Dean Jackson.
543
544         * WebFrame.cpp:
545         (WebFrame::updateBackground): Drop backgroundColor.
546         * WebCoreSupport/WebFrameLoaderClient.cpp:
547         (WebFrameLoaderClient::transitionToCommittedForNewPage): Drop backgroundColor.
548
549 2018-11-14  Joseph Pecoraro  <pecoraro@apple.com>
550
551         Web Inspector: Pass Inspector::FrontendChannel as a reference connect/disconnect methods
552         https://bugs.webkit.org/show_bug.cgi?id=191612
553
554         Reviewed by Matt Baker.
555
556         * WebCoreSupport/WebInspectorClient.cpp:
557         (WebInspectorFrontendClient::destroyInspectorView):
558
559 2018-11-12  Don Olmstead  <don.olmstead@sony.com>
560
561         Shipped PNGs include bad profiles: iCCP: known incorrect sRGB profile
562         https://bugs.webkit.org/show_bug.cgi?id=189230
563         <rdar://problem/44050379>
564
565         Reviewed by Joseph Pecoraro.
566
567         Runs all png images through zopflipng. This results in a smaller file
568         size and takes care of this issue as a byproduct.
569
570         * WebKit.resources/deleteButton.png:
571         * WebKit.resources/deleteButtonPressed.png:
572         * WebKit.resources/fsVideoAudioVolumeHigh.png:
573         * WebKit.resources/fsVideoAudioVolumeLow.png:
574         * WebKit.resources/fsVideoExitFullscreen.png:
575         * WebKit.resources/fsVideoPause.png:
576         * WebKit.resources/fsVideoPlay.png:
577         * WebKit.resources/missingImage.png:
578         * WebKit.resources/nullplugin.png:
579         * WebKit.resources/panEastCursor.png:
580         * WebKit.resources/panIcon.png:
581         * WebKit.resources/panNorthCursor.png:
582         * WebKit.resources/panNorthEastCursor.png:
583         * WebKit.resources/panNorthWestCursor.png:
584         * WebKit.resources/panSouthCursor.png:
585         * WebKit.resources/panSouthEastCursor.png:
586         * WebKit.resources/panSouthWestCursor.png:
587         * WebKit.resources/panWestCursor.png:
588         * WebKit.resources/searchCancel.png:
589         * WebKit.resources/searchCancelPressed.png:
590         * WebKit.resources/searchMagnifier.png:
591         * WebKit.resources/searchMagnifierResults.png:
592         * WebKit.resources/textAreaResizeCorner.png:
593         * WebKit.resources/verticalTextCursor.png:
594         * WebKit.resources/zoomInCursor.png:
595         * WebKit.resources/zoomOutCursor.png:
596
597 2018-11-09  Ross Kirsling  <ross.kirsling@sony.com>
598
599         Unreviewed Windows build fix for r238049.
600
601         * WebView.cpp:
602         (WebView::initWithFrame):
603
604 2018-11-09  Ross Kirsling  <ross.kirsling@sony.com>
605
606         Unreviewed MSVC build fix after r238039 (and r238046).
607
608         * WebDocumentLoader.h:
609         * WebView.cpp:
610         (WebView::setShouldApplyMacFontAscentHack):
611
612 2018-11-09  Antti Koivisto  <antti@apple.com>
613
614         Use OptionSet for layout milestones
615         https://bugs.webkit.org/show_bug.cgi?id=191470
616
617         Reviewed by Dean Jackson.
618
619         * WebCoreSupport/WebFrameLoaderClient.cpp:
620         (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
621         * WebCoreSupport/WebFrameLoaderClient.h:
622
623 2018-11-09  Fujii Hironori  <Hironori.Fujii@sony.com>
624
625         WebHistory.h: warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
626         https://bugs.webkit.org/show_bug.cgi?id=191455
627
628         Reviewed by Brent Fulgham.
629
630         * WebHistory.h: Marked with 'override' and removed 'virtual'.
631
632 2018-11-01  Sihui Liu  <sihui_liu@apple.com>
633
634         Add a storage limit for IndexedDB
635         https://bugs.webkit.org/show_bug.cgi?id=190598
636         <rdar://problem/44654715>
637
638         Reviewed by Chris Dumez.
639
640         * Interfaces/IWebDatabaseManager.idl:
641         * WebDatabaseManager.cpp:
642         (WebDatabaseManager::setIDBPerOriginQuota):
643         * WebDatabaseManager.h:
644
645 2018-10-31  Fujii Hironori  <Hironori.Fujii@sony.com>
646
647         [Win][WKL] DOMHTMLDocument::setNodeValue does infinite recursion
648         https://bugs.webkit.org/show_bug.cgi?id=191105
649
650         Reviewed by Brent Fulgham.
651
652         * DOMHTMLClasses.h:
653         (DOMHTMLDocument::setNodeValue): Call DOMDocument::setNodeValue
654         instead of own setNodeValue.
655
656 2018-10-25  Antoine Quint  <graouts@apple.com>
657
658         [Web Animations] Turn Web Animations CSS Integration off by default
659         https://bugs.webkit.org/show_bug.cgi?id=190901
660
661         Reviewed by Dean Jackson.
662
663         * WebPreferences.cpp:
664         (WebPreferences::initializeDefaultSettings):
665
666 2018-10-21  Fujii Hironori  <Hironori.Fujii@sony.com>
667
668         [Win][Clang] WebView.h: warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
669         https://bugs.webkit.org/show_bug.cgi?id=190744
670
671         Reviewed by Alex Christensen.
672
673         clang-cl reports compilation warnings for inconsistent 'override'
674         keyword usage.
675
676         WebView::flushPendingGraphicsLayerChanges is used only if USE(CA).
677         This can't be marked 'override' if !USE(CA).
678
679         * WebView.cpp:
680         (WebView::flushPendingGraphicsLayerChanges): Define flushPendingGraphicsLayerChanges only if USE(CA).
681         * WebView.h: Marked all overriding member function declarations of WebView 'override'.
682         Declare flushPendingGraphicsLayerChanges only if USE(CA).
683
684 2018-10-18  Alex Christensen  <achristensen@webkit.org>
685
686         Clean up FrameLoader two-state enums
687         https://bugs.webkit.org/show_bug.cgi?id=190731
688
689         Reviewed by Chris Dumez.
690
691         * WebCoreSupport/WebFrameLoaderClient.cpp:
692         (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
693         * WebCoreSupport/WebFrameLoaderClient.h:
694
695 2018-10-17  Alex Christensen  <achristensen@webkit.org>
696
697         BackForwardClient needs to be able to support UIProcess-only back/forward lists
698         https://bugs.webkit.org/show_bug.cgi?id=190675
699
700         Reviewed by Chris Dumez.
701
702         * BackForwardList.cpp:
703         (BackForwardList::backItem):
704         (BackForwardList::currentItem):
705         (BackForwardList::forwardItem):
706         (BackForwardList::backListCount const):
707         (BackForwardList::forwardListCount const):
708         (BackForwardList::itemAtIndex):
709         * BackForwardList.h:
710
711 2018-10-16  Ryan Haddad  <ryanhaddad@apple.com>
712
713         Unreviewed attempt to fix the Windows build after r237112.
714
715         * Plugins/PluginView.cpp:
716         (WebCore::PluginView::performRequest):
717
718 2018-10-16  Alex Christensen  <achristensen@webkit.org>
719
720         Replace HistoryItem* with HistoryItem& where possible
721         https://bugs.webkit.org/show_bug.cgi?id=190617
722
723         Reviewed by Chris Dumez.
724
725         * BackForwardList.cpp:
726         (BackForwardList::goToItem):
727         * BackForwardList.h:
728         * WebBackForwardList.cpp:
729         (WebBackForwardList::goToItem):
730
731 2018-10-15  Alex Christensen  <achristensen@webkit.org>
732
733         Fix Windows build.
734
735         * WebView.cpp:
736         (WebView::loadBackForwardListFromOtherView):
737
738 2018-10-15  Alex Christensen  <achristensen@webkit.org>
739
740         Fix WinCairo build.
741
742         * WebView.cpp:
743         (WebView::backForwardList):
744
745 2018-10-15  Alex Christensen  <achristensen@webkit.org>
746
747         Modernize BackForwardClient.h
748         https://bugs.webkit.org/show_bug.cgi?id=190610
749
750         Reviewed by Chris Dumez.
751
752         * BackForwardList.cpp:
753         (BackForwardList::backListCount const):
754         (BackForwardList::forwardListCount const):
755         (BackForwardList::backListCount): Deleted.
756         (BackForwardList::forwardListCount): Deleted.
757         * BackForwardList.h:
758         * WebView.cpp:
759         (WebView::initWithFrame):
760         (WebView::backForwardList):
761
762 2018-10-15  Alex Christensen  <achristensen@webkit.org>
763
764         Remove unused WebView._globalHistoryItem
765         https://bugs.webkit.org/show_bug.cgi?id=190601
766
767         Reviewed by Chris Dumez.
768
769         * WebCoreSupport/WebFrameLoaderClient.cpp:
770         (WebFrameLoaderClient::updateGlobalHistoryItemForPage): Deleted.
771         * WebCoreSupport/WebFrameLoaderClient.h:
772         * WebView.cpp:
773         (WebView::globalHistoryItem):
774         (WebView::setGlobalHistoryItem): Deleted.
775         * WebView.h:
776
777 2018-10-15  Alex Christensen  <achristensen@webkit.org>
778
779         Remove unused parameters from FrameLoaderClient::createFrame
780         https://bugs.webkit.org/show_bug.cgi?id=190587
781
782         Reviewed by Chris Dumez.
783
784         * WebCoreSupport/WebFrameLoaderClient.cpp:
785         (WebFrameLoaderClient::createFrame):
786         * WebCoreSupport/WebFrameLoaderClient.h:
787
788 2018-10-15  Chris Dumez  <cdumez@apple.com>
789
790         Unreviewed Windows build fix after r237112.
791
792         * Plugins/PluginView.cpp:
793         (WebCore::PluginView::performRequest):
794         (WebCore::PluginView::load):
795
796 2018-10-15  Alex Christensen  <achristensen@webkit.org>
797
798         Remove InjectedBundle processing of back/forward lists
799         https://bugs.webkit.org/show_bug.cgi?id=190459
800
801         Reviewed by Chris Dumez.
802
803         * WebCoreSupport/WebFrameLoaderClient.cpp:
804         (WebFrameLoaderClient::shouldGoToHistoryItem const):
805         * WebCoreSupport/WebFrameLoaderClient.h:
806
807 2018-10-02  Alex Christensen  <achristensen@webkit.org>
808
809         Remove ParsedURLString
810         https://bugs.webkit.org/show_bug.cgi?id=190154
811
812         Reviewed by Chris Dumez.
813
814         * WebDownloadCurl.cpp:
815         (WebDownload::initWithRequest):
816         * WebURLResponse.cpp:
817         (WebURLResponse::createInstance):
818
819 2018-09-28  Chris Dumez  <cdumez@apple.com>
820
821         Drop support for cross-origin-window-policy header
822         https://bugs.webkit.org/show_bug.cgi?id=190081
823
824         Reviewed by Ryosuke Niwa.
825
826         * WebPreferenceKeysPrivate.h:
827         * WebPreferences.cpp:
828         (WebPreferences::initializeDefaultSettings):
829         (WebPreferences::crossOriginWindowPolicySupportEnabled):
830         (WebPreferences::setCrossOriginWindowPolicySupportEnabled):
831         * WebView.cpp:
832         (WebView::notifyPreferencesChanged):
833
834 2018-09-27  Antoine Quint  <graouts@apple.com>
835
836         [Web Animations] Turn Web Animations with CSS integration on
837         https://bugs.webkit.org/show_bug.cgi?id=184819
838         <rdar://problem/39597337>
839
840         Reviewed by Dean Jackson.
841
842         * WebPreferences.cpp:
843         (WebPreferences::initializeDefaultSettings):
844
845 2018-09-21  Alex Christensen  <achristensen@webkit.org>
846
847         Use a Variant for FormDataElement
848         https://bugs.webkit.org/show_bug.cgi?id=189777
849
850         Reviewed by Chris Dumez.
851
852         * WebMutableURLRequest.cpp:
853         (WebMutableURLRequest::setHTTPBody):
854
855 2018-09-17  Fujii Hironori  <Hironori.Fujii@sony.com>
856
857         [Win][Clang][WebKitLegacy] error: cannot pass object of non-trivial type through variadic function
858         https://bugs.webkit.org/show_bug.cgi?id=189612
859
860         Reviewed by Alex Christensen.
861
862         Non-trivial types can't be used as aruguments of LOG_ERROR and
863         ASSERT_WITH_MESSAGE.
864
865         * DefaultPolicyDelegate.cpp:
866         (DefaultPolicyDelegate::unableToImplementPolicyWithError): Apply
867         static_cast<BSTR> to convert BString.
868         * WebLocalizableStrings.cpp:
869         (copyLocalizedStringFromBundle): Convert 'key' from WTF::String to
870         char* by using 'key.utf8().data()'.
871
872 2018-09-13  Ryan Haddad  <ryanhaddad@apple.com>
873
874         Unreviewed, rolling out r235953.
875
876         Caused layout test crashes under GuardMalloc.
877
878         Reverted changeset:
879
880         "Make GraphicsLayers ref-counted, so their tree can persist
881         when disconnected from RenderLayerBackings"
882         https://bugs.webkit.org/show_bug.cgi?id=189521
883         https://trac.webkit.org/changeset/235953
884
885 2018-09-12  Fujii Hironori  <Hironori.Fujii@sony.com>
886
887         [Win][Clang][WebKitLegacy] Fix compilation errors and warnings of WebPreferences.cpp
888         https://bugs.webkit.org/show_bug.cgi?id=189538
889
890         Reviewed by Per Arne Vollan.
891
892         * WebPreferences.cpp:
893         Changed the type of CFNumberTraits::Type from unsigned int to CFNumberType.
894         (WebPreferences::migrateWebKitPreferencesToCFPreferences):
895         Apply static_cast to the result of OR-ed CFPropertyListFormat.
896         (WebPreferences::screenFontSubstitutionEnabled):
897         Assign false to the content of the out variable 'enabled', not assigning 0 to the variable.
898
899 2018-09-12  Fujii Hironori  <Hironori.Fujii@sony.com>
900
901         [Win][Clang][WebKitLegacy] error: 'static' is invalid in friend declarations
902         https://bugs.webkit.org/show_bug.cgi?id=189539
903
904         Reviewed by Alex Christensen.
905
906         * WebCoreSupport/WebInspectorClient.h: Removed 'static' of WebInspectorWndProc friend declaration.
907         * WebCoreSupport/WebInspectorClient.cpp:
908         (WebInspectorWndProc): Ditto.
909         * WebNodeHighlight.cpp: Added OverlayWndProc declaration to be called before the definition.
910         * WebNodeHighlight.h: Removed 'static` of OverlayWndProc friend declaration.
911
912 2018-09-06  Wenson Hsieh  <wenson_hsieh@apple.com>
913
914         Refactor WebCore::EditAction to be an 8-bit enum class
915         https://bugs.webkit.org/show_bug.cgi?id=189383
916
917         Reviewed by Dan Bernstein.
918
919         * WebCoreSupport/WebEditorClient.cpp:
920         (undoNameForEditAction):
921
922 2018-09-04  Frederic Wang  <fwang@igalia.com>
923
924         Add basic support for ScrollIntoViewOptions
925         https://bugs.webkit.org/show_bug.cgi?id=189258
926
927         Reviewed by Simon Fraser.
928
929         * DOMCoreClasses.cpp: Add ScrollIntoViewOptions header so that this file
930         can build despite the new scrollIntoView function.
931
932 2018-08-31  Chris Dumez  <cdumez@apple.com>
933
934         Unreviewed Windows build fix after r235562.
935
936         * WebCoreSupport/WebFrameLoaderClient.cpp:
937         (WebFrameLoaderClient::dispatchWillSubmitForm):
938
939 2018-08-31  Chris Dumez  <cdumez@apple.com>
940
941         Assertion hit in ~CompletionHandler() from ~WebFrame()
942         https://bugs.webkit.org/show_bug.cgi?id=189199
943         <rdar://problem/42657233>
944
945         Reviewed by Youenn Fablet.
946
947         * WebCoreSupport/WebFrameLoaderClient.cpp:
948         (WebFrameLoaderClient::dispatchWillSubmitForm):
949         * WebCoreSupport/WebFrameLoaderClient.h:
950
951 2018-08-31  Frederic Wang  <fwang@igalia.com>
952
953         Bug 182053 - [CSSOM View] Implement standard behavior for scrollingElement
954         https://bugs.webkit.org/show_bug.cgi?id=182053
955
956         Reviewed by Simon Fraser.
957
958         Add developer flag to use standard behavior for scrolling* attributes.
959
960         * Interfaces/IWebPreferencesPrivate.idl:
961         * WebPreferenceKeysPrivate.h:
962         * WebPreferences.cpp:
963         (WebPreferences::initializeDefaultSettings):
964         (WebPreferences::CSSOMViewScrollingAPIEnabled):
965         (WebPreferences::setCSSOMViewScrollingAPIEnabled):
966         * WebPreferences.h:
967         * WebView.cpp:
968         (WebView::notifyPreferencesChanged):
969
970 2018-08-30  Don Olmstead  <don.olmstead@sony.com>
971
972         [CMake] Replace AVFoundationSupport.py using CMake
973         https://bugs.webkit.org/show_bug.cgi?id=182891
974
975         Reviewed by Per Arne Vollan.
976
977         Remove references to the config.h contained in WebCore as it should
978         not be accessible from outside of WebCore.
979
980         * WebKitPrefix.h:
981
982 2018-08-21  Wenson Hsieh  <wenson_hsieh@apple.com>
983
984         [Attachment Support] Augment _WKAttachment SPI to handle NSFileWrappers in addition to NSData
985         https://bugs.webkit.org/show_bug.cgi?id=188496
986         <rdar://problem/43216836>
987
988         Reviewed by Tim Horton.
989
990         Adjust for changing PromisedAttachmentInfo.h to forward declare WebCore::SharedBuffer rather than include the
991         header directly.
992
993         * WebCoreSupport/WebDragClient.cpp:
994
995 2018-08-17  Alex Christensen  <achristensen@webkit.org>
996
997         Add some plumbing for safe browsing
998         https://bugs.webkit.org/show_bug.cgi?id=188709
999
1000         Reviewed by Tim Horton.
1001
1002         * WebCoreSupport/WebFrameLoaderClient.cpp:
1003         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1004         * WebCoreSupport/WebFrameLoaderClient.h:
1005
1006 2018-08-02  David Fenton  <david_fenton@apple.com>
1007
1008         Unreviewed, rolling out r234489.
1009
1010         Caused 50+ crashes and 60+ API failures on iOS
1011
1012         Reverted changeset:
1013
1014         "[WTF] Rename String::format to String::deprecatedFormat"
1015         https://bugs.webkit.org/show_bug.cgi?id=188191
1016         https://trac.webkit.org/changeset/234489
1017
1018 2018-08-01  Tomas Popela  <tpopela@redhat.com>
1019
1020         [WTF] Rename String::format to String::deprecatedFormat
1021         https://bugs.webkit.org/show_bug.cgi?id=188191
1022
1023         Reviewed by Darin Adler.
1024
1025         It should be replaced with string concatenation.
1026
1027         * FullscreenVideoController.cpp:
1028         (timeToString):
1029         * WebView.cpp:
1030         (webKitVersionString):
1031
1032 2018-07-30  Rob Buis  <rbuis@igalia.com>
1033
1034         https://bugs.webkit.org/show_bug.cgi?id=188137
1035         Merge PlatformCookieJar functions into NetworkStorageSession
1036
1037         Adapt callsites to use NetworkStorageSession instead of CookieJar functions.
1038
1039         Reviewed by Alex Christensen.
1040
1041         * WebCoreSupport/WebPlatformStrategies.cpp:
1042         (WebPlatformStrategies::cookiesForDOM):
1043         (WebPlatformStrategies::setCookiesFromDOM):
1044         (WebPlatformStrategies::cookiesEnabled):
1045         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1046         (WebPlatformStrategies::getRawCookies):
1047         (WebPlatformStrategies::deleteCookie):
1048         * WebPreferences.cpp:
1049         (WebPreferences::clearNetworkLoaderSession):
1050
1051 2018-07-26  Ross Kirsling  <ross.kirsling@sony.com>
1052
1053         String(View) should have a splitAllowingEmptyEntries function instead of a flag parameter
1054         https://bugs.webkit.org/show_bug.cgi?id=187963
1055
1056         Reviewed by Alex Christensen.
1057
1058         * Plugins/PluginPackageWin.cpp:
1059         (WebCore::PluginPackage::fetchInfo):
1060         Update split/splitAllowingEmptyEntries usage.
1061
1062 2018-07-18  Antoine Quint  <graouts@apple.com>
1063
1064         [Web Animations] Interpolation between font-styles with a keyword value should be discrete
1065         https://bugs.webkit.org/show_bug.cgi?id=187722
1066
1067         Reviewed by Myles Maxfield.
1068
1069         Use isItalic() since that function knows how to handle an std::optional<FontSelectionValue>.
1070
1071         * DOMCoreClasses.cpp:
1072         (DOMElement::font):
1073
1074 2018-07-10  Ryosuke Niwa  <rniwa@webkit.org>
1075
1076         Disable cross-origin-window-policy by default
1077         https://bugs.webkit.org/show_bug.cgi?id=187509
1078
1079         Reviewed by Chris Dumez.
1080
1081         * WebPreferences.cpp:
1082         (WebPreferences::initializeDefaultSettings):
1083
1084 2018-06-23  Yusuke Suzuki  <utatane.tea@gmail.com>
1085
1086         [WTF] Add user-defined literal for ASCIILiteral
1087         https://bugs.webkit.org/show_bug.cgi?id=186839
1088
1089         Reviewed by Darin Adler.
1090
1091         * Plugins/PluginStream.cpp:
1092         (WebCore::PluginStream::startStream):
1093         * WebCoreSupport/WebContextMenuClient.cpp:
1094         (WebContextMenuClient::searchWithGoogle):
1095
1096 2018-06-14  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1097
1098         [Win] Fix build break after r232815 (SupportedPluginIdentifier)
1099         https://bugs.webkit.org/show_bug.cgi?id=186623
1100
1101         Reviewed by Youenn Fablet.
1102
1103         * WebCoreSupport/WebPluginInfoProvider.cpp:
1104         (WebPluginInfoProvider::pluginInfo):
1105         (WebPluginInfoProvider::webVisiblePluginInfo):
1106         * WebCoreSupport/WebPluginInfoProvider.h:
1107
1108 2018-06-13  Chris Dumez  <cdumez@apple.com>
1109
1110         PSON: http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html ASSERTS with process swap enabled
1111         https://bugs.webkit.org/show_bug.cgi?id=186545
1112
1113         Reviewed by Brady Eidson.
1114
1115         Update client delegate now that parameter type has changed.
1116
1117         * WebCoreSupport/WebFrameLoaderClient.cpp:
1118         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1119         * WebCoreSupport/WebFrameLoaderClient.h:
1120
1121 2018-06-11  Chris Dumez  <cdumez@apple.com>
1122
1123         http/tests/security/cors-post-redirect-307.html fails with PSON enabled
1124         https://bugs.webkit.org/show_bug.cgi?id=186441
1125
1126         Reviewed by Brady Eidson.
1127
1128         Rename existing flag to something a bit more generic, now that it is used for
1129         more things than bypassing the navigation policy check.
1130
1131         * WebView.cpp:
1132         (WebView::goToBackForwardItem):
1133         (WebView::loadBackForwardListFromOtherView):
1134
1135 2018-06-04  Chris Dumez  <cdumez@apple.com>
1136
1137         Rename "Cross-Origin-Options" HTTP header to "Cross-Origin-Window-Policy"
1138         https://bugs.webkit.org/show_bug.cgi?id=186287
1139         <rdar://problem/40783352>
1140
1141         Reviewed by Youenn Fablet.
1142
1143         * Interfaces/IWebPreferencesPrivate.idl:
1144         * WebPreferenceKeysPrivate.h:
1145         * WebPreferences.cpp:
1146         (WebPreferences::initializeDefaultSettings):
1147         (WebPreferences::crossOriginWindowPolicySupportEnabled):
1148         (WebPreferences::setCrossOriginWindowPolicySupportEnabled):
1149         * WebPreferences.h:
1150         * WebView.cpp:
1151         (WebView::notifyPreferencesChanged):
1152
1153 2018-05-30  Yusuke Suzuki  <utatane.tea@gmail.com>
1154
1155         [JSC] Pass VM& parameter as much as possible
1156         https://bugs.webkit.org/show_bug.cgi?id=186085
1157
1158         Reviewed by Saam Barati.
1159
1160         * Plugins/PluginPackage.cpp:
1161         (WebCore::NPN_Invoke):
1162
1163 2018-05-30  Fujii Hironori  <Hironori.Fujii@sony.com>
1164
1165         REGRESSION(r232316) [Win] error C2039: 'event': is not a member of 'WebCore::NavigationAction'
1166         https://bugs.webkit.org/show_bug.cgi?id=186125
1167
1168         Unreviewed build fix
1169
1170         * WebActionPropertyBag.cpp:
1171         (WebActionPropertyBag::Read):
1172         (findMouseEvent): Deleted.
1173
1174 2018-05-27  Fujii Hironori  <Hironori.Fujii@sony.com>
1175
1176         REGRESSION(r232198) [WinCairo] cannot convert from 'WTF::StringView' to 'const WTF::String'
1177         https://bugs.webkit.org/show_bug.cgi?id=186027
1178
1179         Unreviewed build fix
1180
1181         * WebMutableURLRequest.cpp:
1182         (WebMutableURLRequest::setAllowsAnyHTTPSCertificate):
1183         (WebMutableURLRequest::setClientCertificate):
1184
1185 2018-05-25  Chris Dumez  <cdumez@apple.com>
1186
1187         Minor ApplicationCacheStorage clean up
1188         https://bugs.webkit.org/show_bug.cgi?id=185984
1189
1190         Reviewed by Youenn Fablet.
1191
1192         * WebApplicationCache.cpp:
1193         (WebApplicationCache::originsWithCache):
1194
1195 2018-05-24  Chris Dumez  <cdumez@apple.com>
1196
1197         Reduce copying of FontCascadeDescription objects by moving them around
1198         https://bugs.webkit.org/show_bug.cgi?id=185963
1199
1200         Reviewed by Simon Fraser.
1201
1202         Reduce copying of FontCascadeDescription objects by moving them around when possible.
1203
1204         * FullscreenVideoController.cpp:
1205         (FullscreenVideoController::draw):
1206
1207 2018-05-15  Antoine Quint  <graouts@apple.com>
1208
1209         [Web Animations] Expose Web Animations CSS integration as an experimental feature
1210         https://bugs.webkit.org/show_bug.cgi?id=185647
1211
1212         Reviewed by Dean Jackson.
1213
1214         Rename the Web Animations CSS integration flag.
1215
1216         * Interfaces/IWebPreferencesPrivate.idl:
1217         * WebPreferenceKeysPrivate.h:
1218         * WebPreferences.cpp:
1219         (WebPreferences::initializeDefaultSettings):
1220         (WebPreferences::webAnimationsCSSIntegrationEnabled):
1221         (WebPreferences::setWebAnimationsCSSIntegrationEnabled):
1222         (WebPreferences::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted.
1223         (WebPreferences::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted.
1224         * WebPreferences.h:
1225         * WebView.cpp:
1226         (WebView::notifyPreferencesChanged):
1227
1228 2018-05-10  Fujii Hironori  <Hironori.Fujii@sony.com>
1229
1230         REGRESSION(r231622) [Win] Crashes for null dereference of prefsPrivate in WebView::notifyPreferencesChanged
1231         https://bugs.webkit.org/show_bug.cgi?id=185505
1232
1233         Unreviewed serious crash fix
1234
1235         Windows port crashes soon since Bug 184996.
1236
1237         * WebPreferences.cpp:
1238         (WebPreferences::QueryInterface): Added IID_IWebPreferencesPrivate7.
1239         * WebPreferences.h: Inherit IWebPreferencesPrivate7 instead of IWebPreferencesPrivate6.
1240
1241 2018-05-07  Daniel Bates  <dabates@apple.com>
1242
1243         Substitute CrossOriginPreflightResultCache::clear() for CrossOriginPreflightResultCache::empty()
1244         https://bugs.webkit.org/show_bug.cgi?id=185170
1245
1246         Reviewed by Per Arne Vollan.
1247
1248         * WebCache.cpp:
1249         (WebCache::empty):
1250
1251 2018-04-27  Chris Dumez  <cdumez@apple.com>
1252
1253         Use WindowProxy instead of DOMWindow in our IDL
1254         https://bugs.webkit.org/show_bug.cgi?id=185022
1255
1256         Reviewed by Sam Weinig.
1257
1258         * DOMCoreClasses.cpp:
1259         (DOMDocument::getComputedStyle):
1260
1261 2018-04-23  Daniel Bates  <dabates@apple.com>
1262
1263         Implement Same-Site cookies
1264         https://bugs.webkit.org/show_bug.cgi?id=159464
1265         <rdar://problem/27196358>
1266
1267         Reviewed by Brent Fulgham.
1268
1269         Pass the Same-Site info through the strategy.
1270
1271         * WebCoreSupport/WebPlatformStrategies.cpp:
1272         (WebPlatformStrategies::cookiesForDOM):
1273         (WebPlatformStrategies::setCookiesFromDOM):
1274         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1275         (WebPlatformStrategies::getRawCookies):
1276         * WebCoreSupport/WebPlatformStrategies.h:
1277
1278 2018-04-23  Daniel Bates  <dabates@apple.com>
1279
1280         Implement Same-Site cookies
1281         https://bugs.webkit.org/show_bug.cgi?id=159464
1282         <rdar://problem/27196358>
1283
1284         Reviewed by Brent Fulgham.
1285
1286         Pass the Same-Site info through the strategy.
1287
1288         * WebCoreSupport/WebPlatformStrategies.cpp:
1289         (WebPlatformStrategies::cookiesForDOM):
1290         (WebPlatformStrategies::setCookiesFromDOM):
1291         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1292         (WebPlatformStrategies::getRawCookies):
1293         * WebCoreSupport/WebPlatformStrategies.h:
1294
1295 2018-04-20  Youenn Fablet  <youenn@apple.com>
1296
1297         Make PluginData cache its web visible plugins
1298         https://bugs.webkit.org/show_bug.cgi?id=184421
1299
1300         Reviewed by Chris Dumez.
1301
1302         * WebCoreSupport/WebPluginInfoProvider.cpp:
1303         (WebPluginInfoProvider::pluginInfo):
1304         (WebPluginInfoProvider::webVisiblePluginInfo):
1305         * WebCoreSupport/WebPluginInfoProvider.h:
1306
1307 2018-04-19  Chris Dumez  <cdumez@apple.com>
1308
1309         Rename JSDOMWindowProxy to JSWindowProxy
1310         https://bugs.webkit.org/show_bug.cgi?id=184797
1311
1312         Reviewed by Sam Weinig.
1313
1314         Rename JSDOMWindowProxy to JSWindowProxy for consistency with WindowProxy.
1315
1316         * WebFrame.cpp:
1317         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1318
1319 2018-04-17  Jonathan Bedard  <jbedard@apple.com>
1320
1321         Unreviewed rollout of r230632. Regression in memory usage.
1322
1323         That bug tracked in https://bugs.webkit.org/show_bug.cgi?id=184569.
1324
1325         * WebPreferences.cpp:
1326         (WebPreferences::initializeDefaultSettings):
1327
1328 2018-04-17  Chris Dumez  <cdumez@apple.com>
1329
1330         Unreviewed attempt to fix the Windows build after r230721
1331
1332         * WebCoreSupport/WebFrameLoaderClient.cpp:
1333         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1334
1335 2018-04-17  Chris Dumez  <cdumez@apple.com>
1336
1337         REGRESSION (r229831): CMD-clicking an iCloud web app link unexpectedly opens that link in a new tab and the current tab
1338         https://bugs.webkit.org/show_bug.cgi?id=184678
1339         <rdar://problem/39422122>
1340
1341         Reviewed by Alex Christensen.
1342
1343         Add new parameter to dispatchDecidePolicyForNavigationAction.
1344
1345         * WebCoreSupport/WebFrameLoaderClient.cpp:
1346         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1347         * WebCoreSupport/WebFrameLoaderClient.h:
1348
1349 2018-04-12  Antoine Quint  <graouts@apple.com>
1350
1351         [Web Animations] Turn CSS Animations and CSS Transitions as Web Animations on by default
1352         https://bugs.webkit.org/show_bug.cgi?id=184569
1353         <rdar://problem/38671301>
1354
1355         Reviewed by Jon Lee.
1356
1357         Make sure Web Animations and CSS Animations and CSS Transitions are enabled by default on Windows.
1358
1359         * WebPreferences.cpp:
1360
1361 2018-04-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1362
1363         [WTF] Remove StaticLock
1364         https://bugs.webkit.org/show_bug.cgi?id=184332
1365
1366         Reviewed by Mark Lam.
1367
1368         * WebKitQuartzCoreAdditions/CAView.cpp:
1369         (WKQCA::CAView::releaseAllD3DResources):
1370         * WebLocalizableStrings.cpp:
1371
1372 2018-04-03  Chris Dumez  <cdumez@apple.com>
1373
1374         Drop MainFrame class
1375         https://bugs.webkit.org/show_bug.cgi?id=184191
1376
1377         Reviewed by Darin Adler.
1378
1379         Drop MainFrame class and move contents into Page / Frame since there is a 1:1
1380         relationship between the Page and the MainFrame.
1381
1382         This is ground work for introducing LocalFrame / RemoteFrame concepts.
1383
1384         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1385         * WebCoreSupport/WebContextMenuClient.cpp:
1386         * WebCoreSupport/WebDragClient.cpp:
1387         * WebDropSource.cpp:
1388         * WebFrame.cpp:
1389         * WebView.cpp:
1390
1391 2018-03-26  Chris Dumez  <cdumez@apple.com>
1392
1393         Use SecurityOriginData more consistently in Service Worker code
1394         https://bugs.webkit.org/show_bug.cgi?id=183969
1395
1396         Reviewed by Darin Adler.
1397
1398         Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1399
1400         * WebDatabaseManager.cpp:
1401         (WebDatabaseManager::databasesWithOrigin):
1402         (WebDatabaseManager::deleteOrigin):
1403         (WebDatabaseManager::deleteDatabase):
1404         (WebDatabaseManager::setQuota):
1405         * WebSecurityOrigin.cpp:
1406         (WebSecurityOrigin::usage):
1407         (WebSecurityOrigin::quota):
1408         (WebSecurityOrigin::setQuota):
1409
1410 2018-03-26  Brent Fulgham  <bfulgham@apple.com>
1411
1412         Warn against cookie access in the WebContent process using ProcessPrivilege assertions
1413         https://bugs.webkit.org/show_bug.cgi?id=183911
1414         <rdar://problem/38762306>
1415
1416         Reviewed by Youenn Fablet.
1417
1418         Initialize the ProcessPrivilege and Cookie API access levels for single-process use.
1419
1420         * WebView.cpp:
1421         (WebView::WebView):
1422
1423 2018-03-25  Commit Queue  <commit-queue@webkit.org>
1424
1425         Unreviewed, rolling out r229954.
1426         https://bugs.webkit.org/show_bug.cgi?id=184000
1427
1428         Caused many layout tests to crash on Apple High Sierra,
1429         Sierra, iOS Simulator and GTK Linux Debug test bots (Requested
1430         by dydz on #webkit).
1431
1432         Reverted changeset:
1433
1434         "Use SecurityOriginData more consistently in Service Worker
1435         code"
1436         https://bugs.webkit.org/show_bug.cgi?id=183969
1437         https://trac.webkit.org/changeset/229954
1438
1439 2018-03-24  Chris Dumez  <cdumez@apple.com>
1440
1441         Use SecurityOriginData more consistently in Service Worker code
1442         https://bugs.webkit.org/show_bug.cgi?id=183969
1443
1444         Reviewed by Darin Adler.
1445
1446         Use SecurityOrigin::data() instead of SecurityOriginData::fromSecurityOrigin().
1447
1448         * WebDatabaseManager.cpp:
1449         (WebDatabaseManager::databasesWithOrigin):
1450         (WebDatabaseManager::deleteOrigin):
1451         (WebDatabaseManager::deleteDatabase):
1452         (WebDatabaseManager::setQuota):
1453         * WebSecurityOrigin.cpp:
1454         (WebSecurityOrigin::usage):
1455         (WebSecurityOrigin::quota):
1456         (WebSecurityOrigin::setQuota):
1457
1458 2018-03-23  Chris Dumez  <cdumez@apple.com>
1459
1460         Unreviewed attempt to fix Windows build after r229926.
1461
1462         * WebView.cpp:
1463
1464 2018-03-23  Brady Eidson  <beidson@apple.com>
1465
1466         Go to back/forward list items after a process-swapped navigation.
1467         <rdar://problem/38690544> and https://bugs.webkit.org/show_bug.cgi?id=183920
1468
1469         Reviewed by Andy Estes.
1470
1471         * WebView.cpp:
1472         (WebView::goToBackForwardItem):
1473         (WebView::loadBackForwardListFromOtherView):
1474
1475 2018-03-23  Miguel Gomez  <magomez@igalia.com>
1476
1477         [GTK][WPE] Avoid software color conversion inside BitmapTextureGL
1478         https://bugs.webkit.org/show_bug.cgi?id=183892
1479
1480         Remove the UpdateContentsFlag parameter as it's not used anymore.
1481
1482         Reviewed by Žan Doberšek.
1483
1484         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1485         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
1486
1487 2018-03-15  Yousuke Kimoto  <yousuke.kimoto@sony.com>
1488
1489         [WinCairo] Fix build errors when ENABLE_NETSCAPE_PLUGIN_API is turned off
1490         https://bugs.webkit.org/show_bug.cgi?id=183335
1491
1492         Reviewed by Alex Christensen.
1493
1494         * Plugins/PluginDatabaseWin.cpp:
1495         * Plugins/PluginMessageThrottlerWin.cpp:
1496         (WebCore::PluginMessageThrottlerWin::processQueuedMessage):
1497         * Plugins/PluginPackageWin.cpp:
1498         (WebCore::PluginPackage::load):
1499         * Plugins/PluginView.h:
1500         * Plugins/PluginViewWin.cpp:
1501         * Plugins/npapi.cpp:
1502         * WebCoreSupport/WebFrameLoaderClient.cpp:
1503         (WebFrameLoaderClient::createPlugin):
1504         (WebFrameLoaderClient::createJavaAppletWidget):
1505         * WebView.cpp:
1506         (WebView::WebViewWndProc):
1507
1508 2018-03-13  Ross Kirsling  <ross.kirsling@sony.com>
1509
1510         [Win] Layout Test fast/html/menuitem-element.html is failing.
1511         https://bugs.webkit.org/show_bug.cgi?id=179299
1512
1513         Reviewed by Per Arne Vollan.
1514
1515         * Interfaces/IWebPreferencesPrivate.idl:
1516         * WebPreferenceKeysPrivate.h:
1517         * WebPreferences.cpp:
1518         (WebPreferences::menuItemElementEnabled):
1519         (WebPreferences::setMenuItemElementEnabled):
1520         * WebPreferences.h:
1521         * WebView.cpp:
1522         (WebView::notifyPreferencesChanged):
1523         Add private web preference "menuItemElementEnabled".
1524
1525 2018-03-12  Antoine Quint  <graouts@apple.com>
1526
1527         [Web Animations] Implement CSS Animations and CSS Transitions as Web Animations
1528         https://bugs.webkit.org/show_bug.cgi?id=183504
1529         <rdar://problem/38372965>
1530
1531         Reviewed by Dean Jackson and Jon Lee.
1532
1533         Add the missing WebKitLegacy support the cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled flag
1534         which is required for the matching <!-- webkit-test-runner --> flag to work in DumpRenderTree.
1535
1536         * Interfaces/IWebPreferencesPrivate.idl:
1537         * WebPreferences.cpp:
1538         (WebPreferences::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled):
1539         (WebPreferences::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled):
1540         * WebPreferenceKeysPrivate.h
1541         * WebPreferences.h:
1542         * WebView.cpp:
1543         (WebView::notifyPreferencesChanged):
1544
1545 2018-03-08  Yusuke Suzuki  <utatane.tea@gmail.com>
1546
1547         [JSC] Add inherits<T>(VM&) leveraging JSCast fast path
1548         https://bugs.webkit.org/show_bug.cgi?id=183429
1549
1550         Reviewed by Mark Lam.
1551
1552         * WebFrame.cpp:
1553         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1554
1555 2018-03-08  Tim Horton  <timothy_horton@apple.com>
1556
1557         Stop linking ApplicationServices directly
1558         https://bugs.webkit.org/show_bug.cgi?id=182867
1559         <rdar://problem/38252142>
1560
1561         Reviewed by Alex Christensen.
1562
1563         The frameworks that we use that live inside ApplicationServices
1564         have mostly moved out, so import them directly.
1565
1566         * FullscreenVideoController.cpp:
1567
1568 2018-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1569
1570         Fix std::make_unique / new[] using system malloc
1571         https://bugs.webkit.org/show_bug.cgi?id=182975
1572
1573         Reviewed by JF Bastien.
1574
1575         Use Vector instead.
1576
1577         * MarshallingHelpers.cpp:
1578         (MarshallingHelpers::safeArrayToStringArray):
1579         (MarshallingHelpers::safeArrayToIntArray):
1580         * Plugins/PluginPackageWin.cpp:
1581         (WebCore::PluginPackage::fetchInfo):
1582         * WebPreferences.cpp:
1583         (WebPreferences::copyWebKitPreferencesToCFPreferences):
1584         * WebView.cpp:
1585         (WebView::onMenuCommand):
1586
1587 2018-03-04  Yusuke Suzuki  <utatane.tea@gmail.com>
1588
1589         [WTF] Move currentCPUTime and sleep(Seconds) to CPUTime.h and Seconds.h respectively
1590         https://bugs.webkit.org/show_bug.cgi?id=183312
1591
1592         Reviewed by Mark Lam.
1593
1594         Remove wtf/CurrentTime.h include pragma.
1595
1596         * WebDownload.cpp:
1597         * WebDownloadCFNet.cpp:
1598         * WebDropSource.cpp:
1599
1600 2018-03-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1601
1602         Remove monotonicallyIncreasingTime
1603         https://bugs.webkit.org/show_bug.cgi?id=182911
1604
1605         Reviewed by Michael Catanzaro.
1606
1607         * FullscreenVideoController.cpp:
1608         (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted):
1609         * Plugins/PluginMessageThrottlerWin.cpp:
1610         (WebCore::PluginMessageThrottlerWin::PluginMessageThrottlerWin):
1611         (WebCore::PluginMessageThrottlerWin::appendMessage):
1612         * Plugins/PluginMessageThrottlerWin.h:
1613         * WebView.cpp:
1614         (WebView::notifyAnimationStarted):
1615         * WebView.h:
1616
1617 2018-03-01  Ross Kirsling  <ross.kirsling@sony.com>
1618
1619         [Win][DRT] Implement setSpatialNavigationEnabled.
1620         https://bugs.webkit.org/show_bug.cgi?id=183166
1621
1622         Reviewed by Per Arne Vollan.
1623
1624         Create a non-dummy implementation of the private preference in Win WKL to support layout tests.
1625
1626         * Interfaces/IWebPreferencesPrivate.idl:
1627         * WebPreferenceKeysPrivate.h:
1628         * WebPreferences.cpp:
1629         (WebPreferences::initializeDefaultSettings):
1630         (WebPreferences::spatialNavigationEnabled):
1631         (WebPreferences::setSpatialNavigationEnabled):
1632         * WebPreferences.h:
1633         * WebView.cpp:
1634         (WebView::notifyPreferencesChanged):
1635
1636 2018-02-28  Alex Christensen  <achristensen@webkit.org>
1637
1638         Reduce use of NetworkingContext in WebKit
1639         https://bugs.webkit.org/show_bug.cgi?id=183213
1640
1641         Reviewed by Brady Eidson.
1642
1643         * Plugins/PluginView.cpp:
1644         (WebCore::PluginView::getValueForURL):
1645
1646 2018-02-26  Don Olmstead  <don.olmstead@sony.com>
1647
1648         Fix WebCore includes within WebKitLegacy
1649         https://bugs.webkit.org/show_bug.cgi?id=183147
1650
1651         Reviewed by Tim Horton.
1652
1653         * Plugins/PluginDatabase.cpp:
1654         * Plugins/PluginDatabaseWin.cpp:
1655         * Plugins/PluginDebug.cpp:
1656         * Plugins/PluginDebug.h:
1657         * Plugins/PluginMainThreadScheduler.cpp:
1658         * Plugins/PluginMessageThrottlerWin.cpp:
1659         * Plugins/PluginMessageThrottlerWin.h:
1660         * Plugins/PluginPackage.cpp:
1661         * Plugins/PluginPackage.h:
1662         * Plugins/PluginPackageWin.cpp:
1663         * Plugins/PluginStream.cpp:
1664         * Plugins/PluginStream.h:
1665         * Plugins/PluginView.cpp:
1666         * Plugins/PluginView.h:
1667         * Plugins/PluginViewWin.cpp:
1668         * Plugins/npapi.cpp:
1669         * WebCoreSupport/WebChromeClient.cpp:
1670         * WebCoreSupport/WebContextMenuClient.cpp:
1671         * WebCoreSupport/WebFrameLoaderClient.cpp:
1672         * WebCoreSupport/WebInspectorClient.cpp:
1673         * WebCoreSupport/WebPlatformStrategies.cpp:
1674         * WebFrame.cpp:
1675         * WebKitMessageLoop.cpp:
1676         * WebView.cpp:
1677         * storage/WebDatabaseProvider.cpp:
1678
1679 2018-02-22  Yusuke Suzuki  <utatane.tea@gmail.com>
1680
1681         Remove currentTime() / currentTimeMS()
1682         https://bugs.webkit.org/show_bug.cgi?id=183052
1683
1684         Reviewed by Mark Lam.
1685
1686         * WebCoreSupport/WebFrameLoaderClient.cpp:
1687         (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
1688         * WebCoreSupport/WebFrameLoaderClient.h:
1689         * WebDownload.h:
1690         * WebDownloadCFNet.cpp:
1691         (WebDownload::didStart):
1692         (WebDownload::didReceiveData):
1693         (WebDownload::didFinish):
1694
1695 2018-02-21  Don Olmstead  <don.olmstead@sony.com>
1696
1697         [CMake][Win] Use cmakeconfig.h rather than config.h and Platform.h
1698         https://bugs.webkit.org/show_bug.cgi?id=182883
1699
1700         Reviewed by Per Arne Vollan.
1701
1702         * WebKitPrefix.h:
1703
1704 2018-02-16  Dean Jackson  <dino@apple.com>
1705
1706         Use OPENGL macros to be more clear about which OpenGL/ES WebGL uses on Cocoa
1707         https://bugs.webkit.org/show_bug.cgi?id=182894
1708
1709         Reviewed by Tim Horton.
1710
1711         Rename OPENGL_ES_2 to OPENGL_ES.
1712
1713         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1714
1715 2018-02-16  Youenn Fablet  <youenn@apple.com>
1716
1717         Allow specifying which plug-ins are supported
1718         https://bugs.webkit.org/show_bug.cgi?id=182748
1719
1720         Reviewed by Chris Dumez.
1721
1722         * WebCoreSupport/WebPluginInfoProvider.cpp:
1723         (WebPluginInfoProvider::getPluginInfo):
1724         * WebCoreSupport/WebPluginInfoProvider.h:
1725
1726 2018-02-15  Don Olmstead  <don.olmstead@sony.com>
1727
1728         WebCore headers should not be included relatively within dependent projects
1729         https://bugs.webkit.org/show_bug.cgi?id=182805
1730
1731         Reviewed by Chris Dumez.
1732
1733         * FullscreenVideoController.h:
1734
1735 2018-02-13  Commit Queue  <commit-queue@webkit.org>
1736
1737         Unreviewed, rolling out r228431.
1738         https://bugs.webkit.org/show_bug.cgi?id=182766
1739
1740         Regressed CMake build stability (Requested by dolmstead on
1741         #webkit).
1742
1743         Reverted changeset:
1744
1745         "[CMake] Make WebCore headers copies"
1746         https://bugs.webkit.org/show_bug.cgi?id=182512
1747         https://trac.webkit.org/changeset/228431
1748
1749 2018-02-13  Don Olmstead  <don.olmstead@sony.com>
1750
1751         [CMake] Make WebCore headers copies
1752         https://bugs.webkit.org/show_bug.cgi?id=182512
1753
1754         Reviewed by Keith Miller.
1755
1756         * FullscreenVideoController.h:
1757         * Plugins/PluginDatabase.cpp:
1758         * Plugins/PluginDatabaseWin.cpp:
1759         * Plugins/PluginDebug.cpp:
1760         * Plugins/PluginMainThreadScheduler.cpp:
1761         * Plugins/PluginMessageThrottlerWin.cpp:
1762         * Plugins/PluginPackage.cpp:
1763         * Plugins/PluginPackageWin.cpp:
1764         * Plugins/PluginStream.cpp:
1765         * Plugins/PluginView.cpp:
1766         * Plugins/PluginViewWin.cpp:
1767         * Plugins/npapi.cpp:
1768         * WebKitMessageLoop.cpp:
1769         * WebKitPrefix.h:
1770         * storage/WebDatabaseProvider.cpp:
1771
1772 2018-01-13  Darin Adler  <darin@apple.com>
1773
1774         Event improvements
1775         https://bugs.webkit.org/show_bug.cgi?id=179591
1776
1777         Reviewed by Chris Dumez.
1778
1779         * Plugins/PluginView.cpp: Removed include of ScriptValue.h.
1780         * WebFrame.cpp: Ditto.
1781
1782         * WebScriptWorld.cpp:
1783         (WebScriptWorld::scriptWorldForGlobalContext): Pass reference to currentWorld.
1784
1785         * WebView.cpp: Removed include of ScriptValue.h.
1786         (WebView::handleEditingKeyboardEvent): Updated for name change from
1787         keyEvent to underlyingPlatformEvent.
1788
1789 2018-02-06  Don Olmstead  <don.olmstead@sony.com>
1790
1791         Remove WebCore/ForwardingHeaders directory
1792         https://bugs.webkit.org/show_bug.cgi?id=182347
1793
1794         Reviewed by Keith Miller.
1795
1796         * Plugins/PluginView.cpp:
1797         * Plugins/PluginViewWin.cpp:
1798         * WebCoreSupport/WebInspectorClient.cpp:
1799         * WebCoreSupport/WebInspectorClient.h:
1800         * WebFrame.cpp:
1801         * WebJavaScriptCollector.cpp:
1802         * WebView.cpp:
1803
1804 2018-01-24  Wenson Hsieh  <wenson_hsieh@apple.com>
1805
1806         Unreviewed, another attempt to fix the Windows build after r227479.
1807
1808         * WebFrame.cpp:
1809         (WebFrame::elementWithName):
1810
1811 2018-01-24  Wenson Hsieh  <wenson_hsieh@apple.com>
1812
1813         Unreviewed, try to fix the Windows build after r227479.
1814
1815         Tweak some Windows WebKitLegacy code to use updated HTMLFormElement methods.
1816
1817         * WebFrame.cpp:
1818         (WebFrame::elementWithName):
1819         (WebFrame::controlsInForm):
1820
1821 2018-01-19  Per Arne Vollan  <pvollan@apple.com>
1822
1823         [Win] Compile error: 'WebKitQuartzCoreAdditionsBase.h' not found.
1824         https://bugs.webkit.org/show_bug.cgi?id=181859
1825         <rdar://problem/36659886>
1826
1827         Reviewed by Alex Christensen.
1828         
1829         Use local include patch.
1830
1831         * WebKitQuartzCoreAdditions/API/WKCACFImage.h:
1832         * WebKitQuartzCoreAdditions/API/WKCACFView.h:
1833         * WebKitQuartzCoreAdditions/API/WKCACFViewPrivate.h:
1834
1835 2018-01-17  Youenn Fablet  <youenn@apple.com>
1836
1837         Put fetch Request.keepalive behind a runtime flag
1838         https://bugs.webkit.org/show_bug.cgi?id=181592
1839
1840         Reviewed by Chris Dumez.
1841
1842         * WebPreferences.cpp:
1843         (WebPreferences::fetchAPIKeepAliveEnabled):
1844         (WebPreferences::setFetchAPIKeepAliveEnabled):
1845         * WebPreferences.h:
1846         * WebView.cpp:
1847         (WebView::notifyPreferencesChanged):
1848
1849 2018-01-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1850
1851         Add injected bundle SPI to replace subresource URLs when dropping or pasting rich content
1852         https://bugs.webkit.org/show_bug.cgi?id=181637
1853         <rdar://problem/36508471>
1854
1855         Reviewed by Tim Horton.
1856
1857         Add a stub implementation of replacementURLForResource. See WebCore and WebKit ChangeLogs for more detail.
1858
1859         * WebCoreSupport/WebEditorClient.cpp:
1860         (WebEditorClient::replacementURLForResource):
1861         * WebCoreSupport/WebEditorClient.h:
1862
1863 2017-12-28  Yusuke Suzuki  <utatane.tea@gmail.com>
1864
1865         Remove std::chrono completely
1866         https://bugs.webkit.org/show_bug.cgi?id=181186
1867
1868         Reviewed by Alex Christensen.
1869
1870         * Plugins/PluginStream.cpp:
1871         (WebCore::lastModifiedDateMS):
1872
1873 2018-01-02  Fujii Hironori  <Hironori.Fujii@sony.com>
1874
1875         [Win] Web Inspector: Wrongly placed inspector highlight in HiDPI
1876         https://bugs.webkit.org/show_bug.cgi?id=181173
1877
1878         Reviewed by Alex Christensen.
1879
1880         * WebNodeHighlight.cpp:
1881         (WebNodeHighlight::update): Scale the GraphicsContext.
1882
1883 2017-12-26  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1884
1885         REGRESSION(r225769): Build error with constexpr std::max // std::min in libdstdc++4
1886         https://bugs.webkit.org/show_bug.cgi?id=181160
1887
1888         Reviewed by Myles C. Maxfield.
1889
1890         * Plugins/PluginView.cpp:
1891         (WebCore::PluginView::handlePost): Disambiguate usage of min (Use the version from stdlib).
1892
1893 2017-12-21  Jeremy Jones  <jeremyj@apple.com>
1894
1895         Enable picture-in-picture from inline element on suspend.
1896         https://bugs.webkit.org/show_bug.cgi?id=180942
1897         rdar://problem/34745234
1898
1899         Reviewed by Jer Noble.
1900
1901         Update signature of enterVideoFullscreenForVideoElement.
1902
1903         * WebCoreSupport/WebChromeClient.cpp:
1904         (WebChromeClient::enterVideoFullscreenForVideoElement):
1905         * WebCoreSupport/WebChromeClient.h:
1906
1907 2017-12-18  Fujii Hironori  <Hironori.Fujii@sony.com>
1908
1909         [Win] SHOULD NEVER BE REACHED in WebFrameLoaderClient::pageID
1910         https://bugs.webkit.org/show_bug.cgi?id=180926
1911
1912         Reviewed by Tim Horton.
1913
1914         Apply the same change of mac/WebCoreSupport/WebFrameLoaderClient.mm
1915         of r225934 to win/WebCoreSupport/WebFrameLoaderClient.cpp.
1916
1917         * WebCoreSupport/WebFrameLoaderClient.cpp:
1918         (WebFrameLoaderClient::frameID const): Removed RELEASE_ASSERT_NOT_REACHED.
1919         (WebFrameLoaderClient::pageID const): Ditto.
1920
1921 2017-12-16  Yusuke Suzuki  <utatane.tea@gmail.com>
1922
1923         Remove unnecessary boolean result of start() functions
1924         https://bugs.webkit.org/show_bug.cgi?id=180856
1925
1926         Reviewed by Darin Adler.
1927
1928         It always returns true.
1929
1930         * WebDownloadCurl.cpp:
1931         (WebDownload::start):
1932
1933 2017-12-14  John Wilander  <wilander@apple.com>
1934
1935         Storage Access API: Implement frame-specific access in the document.cookie layer
1936         https://bugs.webkit.org/show_bug.cgi?id=180682
1937         <rdar://problem/35982257>
1938
1939         Reviewed by Alex Christensen.
1940
1941         CookiesStrategy::cookiesForDOM(), CookiesStrategy::setCookiesFromDOM(),
1942         CookiesStrategy::cookieRequestHeaderFieldValue(), and
1943         CookiesStrategy::getRawCookies() now take optional parameters for
1944         frameID and pageID to allow frame-specific scoping of cookies.
1945
1946         This change makes the return values of FrameLoaderClient::frameID()
1947         and FrameLoaderClient::pageID() std::optional<uint64_t> so that
1948         WebCore can call those getters and get the right return values in
1949         WebKit and std:nullopt in WebKitLegacy.
1950
1951         * WebCoreSupport/WebFrameLoaderClient.cpp:
1952         (WebFrameLoaderClient::pageID const):
1953         (WebFrameLoaderClient::frameID const):
1954             Now return an optional.
1955         * WebCoreSupport/WebFrameLoaderClient.h:
1956         * WebCoreSupport/WebPlatformStrategies.cpp:
1957         (WebPlatformStrategies::cookiesForDOM):
1958         (WebPlatformStrategies::setCookiesFromDOM):
1959         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1960         (WebPlatformStrategies::getRawCookies):
1961         * WebCoreSupport/WebPlatformStrategies.h:
1962
1963 2017-12-12  Yusuke Suzuki  <utatane.tea@gmail.com>
1964
1965         [WTF] Thread::create should have Thread::tryCreate
1966         https://bugs.webkit.org/show_bug.cgi?id=180333
1967
1968         Reviewed by Darin Adler.
1969
1970         * WebKitQuartzCoreAdditions/CVDisplayLink.cpp:
1971         (WKQCA::CVDisplayLink::start):
1972
1973 2017-12-08  Yusuke Suzuki  <utatane.tea@gmail.com>
1974
1975         Use StaticLock and Lock instead of Mutex in Windows WebKitLegacy
1976         https://bugs.webkit.org/show_bug.cgi?id=180572
1977
1978         Reviewed by Mark Lam.
1979
1980         Use StaticLock and drop DEPRECATED_DEFINE_STATIC_LOCAL.
1981         Also we use Lock instead of Mutex.
1982
1983         * WebKitQuartzCoreAdditions/CAD3DRenderer.cpp:
1984         (WKQCA::CAD3DRenderer::swapChain):
1985         (WKQCA::CAD3DRenderer::renderAndPresent):
1986         (WKQCA::CAD3DRenderer::renderToImage):
1987         (WKQCA::CAD3DRenderer::setDeviceIsLost):
1988         (WKQCA::CAD3DRenderer::renderInternal):
1989         * WebKitQuartzCoreAdditions/CAD3DRenderer.h:
1990         * WebKitQuartzCoreAdditions/CAView.cpp:
1991         (WKQCA::CAView::Handle::create):
1992         Return Ref<Handle> instead of RefPtr<>.
1993
1994         (WKQCA::CAView::Handle::lock):
1995         (WKQCA::CAView::Handle::view const):
1996         (WKQCA::CAView::Handle::clear):
1997         (WKQCA::views):
1998         (WKQCA::viewsNeedingUpdate):
1999         (WKQCA::CAView::releaseAllD3DResources):
2000         (WKQCA::CAView::CAView):
2001         (WKQCA::CAView::~CAView):
2002         (WKQCA::CAView::setLayer):
2003         (WKQCA::CAView::update):
2004         (WKQCA::CAView::drawToWindow):
2005         (WKQCA::CAView::drawToWindowInternal):
2006         (WKQCA::CAView::drawToImage):
2007         (WKQCA::CAView::willDraw):
2008         (WKQCA::CAView::drawIntoDC):
2009         (WKQCA::CAView::setShouldInvertColors):
2010         (WKQCA::CAView::scheduleNextDraw):
2011         (WKQCA::CAView::displayLinkReachedCAMediaTime):
2012         (WKQCA::CAView::contextDidChange):
2013         (WKQCA::CAView::updateSoon):
2014         (WKQCA::CAView::updateViewsNow):
2015         (WKQCA::CAView::d3dDevice9):
2016         (WKQCA::CAView::Handle::mutex): Deleted.
2017         (WKQCA::globalStateMutex): Deleted.
2018         (): Deleted.
2019         * WebKitQuartzCoreAdditions/CAView.h:
2020
2021 2017-12-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2022
2023         Use StaticLock instead of NeverDestroyed<Lock>
2024         https://bugs.webkit.org/show_bug.cgi?id=180507
2025
2026         Reviewed by Saam Barati.
2027
2028         * WebLocalizableStrings.cpp:
2029         (findCachedString):
2030         (cacheString):
2031         (mainBundleLocStrings): Deleted.
2032         (frameworkLocStringsMutex): Deleted.
2033
2034 2017-12-05  Per Arne Vollan  <pvollan@apple.com>
2035
2036         [Win] Scrollbars are sometimes not rendered in accelerated compositing mode.
2037         https://bugs.webkit.org/show_bug.cgi?id=180431
2038         <rdar://problem/34531264>
2039
2040         Reviewed by Simon Fraser.
2041
2042         Fix the signatures of GraphicsLayerClient that should have been overridden, and use
2043         'override' to make sure this doesn't break in the future.
2044
2045         * WebView.cpp:
2046         (WebView::notifyAnimationStarted):
2047         (WebView::paintContents):
2048         * WebView.h:
2049
2050 2017-11-23  Darin Adler  <darin@apple.com>
2051
2052         Fix dictionary leak in lookup, convert FindOptions to OptionSet, tweak code style nearby
2053         https://bugs.webkit.org/show_bug.cgi?id=179981
2054
2055         Reviewed by Sam Weinig.
2056
2057         * WebView.cpp:
2058         (WebView::searchFor): Use |= instead of | to build FindOptions.
2059         (WebView::markAllMatchesForText): Create FindOptions with |= instead of |.
2060         (WebView::findString): Create FindOptions with |=; the old code just passed a
2061         WebKit FindOptions through without converting to WebCore::FindOptions.
2062
2063 2017-11-23  Darin Adler  <darin@apple.com>
2064
2065         Reduce WTF::String operations that do unnecessary Unicode operations instead of ASCII
2066         https://bugs.webkit.org/show_bug.cgi?id=179907
2067
2068         Reviewed by Sam Weinig.
2069
2070         * Plugins/PluginDatabaseWin.cpp:
2071         (WebCore::PluginDatabase::getPluginPathsInDirectories const): Use
2072         startsWithLettersIgnoringASCIICase and endsWithIgnoringASCIICase.
2073         * WebDownloadCFNet.cpp:
2074         (WebDownload::initToResumeWithBundle): Use endsWithIgnoringASCIICase.
2075
2076         * WebView.cpp:
2077         (WebView::markAllMatchesForText): Fix old code that was passing TextCaseSensitivity
2078         to a function that actually takes FindOptions. By luck, TextCaseSensitive happens to
2079         be 0, which is correct FindOptions for case sensitive matching, and TextCaseInsensitive
2080         happens to be 1, which is correct FindOptions for case insensitive matching, so fixing
2081         the code does not cause any change in behavior.
2082
2083 2017-11-22  Ali Juma  <ajuma@chromium.org>
2084
2085         Implement VisualViewport API attributes
2086         https://bugs.webkit.org/show_bug.cgi?id=179385
2087
2088         Reviewed by Frédéric Wang.
2089
2090         Add a VisualViewportAPI preference.
2091
2092         * Interfaces/IWebPreferencesPrivate.idl:
2093         * WebPreferenceKeysPrivate.h:
2094         * WebPreferences.cpp:
2095         (WebPreferences::initializeDefaultSettings):
2096         (WebPreferences::visualViewportAPIEnabled):
2097         (WebPreferences::setVisualViewportAPIEnabled):
2098         * WebPreferences.h:
2099         * WebView.cpp:
2100         (WebView::notifyPreferencesChanged):
2101
2102 2017-11-22  Commit Queue  <commit-queue@webkit.org>
2103
2104         Unreviewed, rolling out r225093.
2105         https://bugs.webkit.org/show_bug.cgi?id=179938
2106
2107         Compilation failed on WinCairo 64-bit Release (Requested by
2108         fredw on #webkit).
2109
2110         Reverted changeset:
2111
2112         "Implement VisualViewport API attributes"
2113         https://bugs.webkit.org/show_bug.cgi?id=179385
2114         https://trac.webkit.org/changeset/225093
2115
2116 2017-11-21  Ali Juma  <ajuma@chromium.org>
2117
2118         Implement VisualViewport API attributes
2119         https://bugs.webkit.org/show_bug.cgi?id=179385
2120
2121         Reviewed by Frédéric Wang.
2122
2123         Add a VisualViewportAPI preference.
2124
2125         * Interfaces/IWebPreferencesPrivate.idl:
2126         * WebPreferenceKeysPrivate.h:
2127         * WebPreferences.cpp:
2128         (WebPreferences::initializeDefaultSettings):
2129         (WebPreferences::visualViewportAPIEnabled):
2130         (WebPreferences::setVisualViewportAPIEnabled):
2131         * WebPreferences.h:
2132         * WebView.cpp:
2133         (WebView::notifyPreferencesChanged):
2134
2135 2017-11-14  Alex Christensen  <achristensen@webkit.org>
2136
2137         Clean up old URL parser remnants
2138         https://bugs.webkit.org/show_bug.cgi?id=179573
2139
2140         Reviewed by Darin Adler.
2141
2142         * WebCoreSupport/WebContextMenuClient.cpp:
2143         (WebContextMenuClient::searchWithGoogle):
2144         Use https if we do end up searching with google.
2145
2146 2017-11-12  Darin Adler  <darin@apple.com>
2147
2148         More is<> and downcast<>, less static_cast<>
2149         https://bugs.webkit.org/show_bug.cgi?id=179600
2150
2151         Reviewed by Chris Dumez.
2152
2153         * WebView.cpp:
2154         (WebView::handleEditingKeyboardEvent): Use downcast.
2155
2156 2017-11-09  Christopher Reid  <chris.reid@sony.com>
2157
2158         Use enum classes within FileSystem
2159         https://bugs.webkit.org/show_bug.cgi?id=175172
2160
2161         Reviewed by Darin Adler.
2162
2163         * Plugins/PluginDatabase.cpp:
2164
2165 2017-11-06  Per Arne Vollan  <pvollan@apple.com>
2166
2167         [Win] Add WebKitQuartzCoreAdditions library.
2168         https://bugs.webkit.org/show_bug.cgi?id=179331
2169
2170         Reviewed by Alex Christensen.
2171
2172         * WebKitQuartzCoreAdditions: Added.
2173         * WebKitQuartzCoreAdditions/API: Added.
2174         * WebKitQuartzCoreAdditions/API/WKCACFImage.cpp: Added.
2175         (toImage):
2176         (WKCACFImageGetWidth):
2177         (WKCACFImageGetHeight):
2178         (WKCACFImageCopyFileMapping):
2179         (WKCACFImageCreateWithImage):
2180         (WKCACFImageFinalize):
2181         (WKCACFImageCopyFormattingDescription):
2182         (WKCACFImageCopyDebugDescription):
2183         (WKCACFImageGetTypeID):
2184         * WebKitQuartzCoreAdditions/API/WKCACFImage.h: Added.
2185         * WebKitQuartzCoreAdditions/API/WKCACFImageInternal.h: Added.
2186         * WebKitQuartzCoreAdditions/API/WKCACFView.cpp: Added.
2187         (toView):
2188         (toImpl):
2189         (WKCACFViewCreate):
2190         (WKCACFViewSetLayer):
2191         (WKCACFViewUpdate):
2192         (WKCACFViewFlushContext):
2193         (WKCACFViewInvalidateRects):
2194         (WKCACFViewCanDraw):
2195         (WKCACFViewDraw):
2196         (WKCACFViewCopyDrawnImage):
2197         (WKCACFViewDrawIntoDC):
2198         (contextDidChangeCallback):
2199         (WKCACFViewSetContextDidChangeCallback):
2200         (WKCACFViewGetLastCommitTime):
2201         (WKCACFViewSetContextUserData):
2202         (WKCACFViewGetContext):
2203         (WKCACFViewFinalize):
2204         (WKCACFViewCopyFormattingDescription):
2205         (WKCACFViewCopyDebugDescription):
2206         (WKCACFViewGetTypeID):
2207         (WKCACFViewSetShouldInvertColors):
2208         (WKCACFViewGetD3DDevice9):
2209         * WebKitQuartzCoreAdditions/API/WKCACFView.h: Added.
2210         * WebKitQuartzCoreAdditions/API/WKCACFViewPrivate.h: Added.
2211         * WebKitQuartzCoreAdditions/API/WebKitQuartzCoreAdditions.cpp: Added.
2212         (WKQCA::dllInstance):
2213         (DllMain):
2214         (WKCACFShutDown):
2215         * WebKitQuartzCoreAdditions/API/WebKitQuartzCoreAdditionsBase.h: Added.
2216         * WebKitQuartzCoreAdditions/CAD3DRenderer.cpp: Added.
2217         (WKQCA::D3DPostProcessingContext::D3DPostProcessingContext):
2218         (WKQCA::d3d):
2219         (WKQCA::initialPresentationParameters):
2220         (WKQCA::CAD3DRenderer::shared):
2221         (WKQCA::CAD3DRenderer::CAD3DRenderer):
2222         (WKQCA::CAD3DRenderer::swapChain):
2223         (WKQCA::CAD3DRenderer::createD3DPostProcessingContext):
2224         (WKQCA::hardwareCapabilitiesIndicateCoreAnimationSupport):
2225         (WKQCA::CAD3DRenderer::initialize):
2226         (WKQCA::D3DMatrixOrthoOffCenterRH):
2227         (WKQCA::prepareDevice):
2228         (WKQCA::updateBounds):
2229         (WKQCA::CAD3DRenderer::renderAndPresent):
2230         (WKQCA::CAD3DRenderer::renderToImage):
2231         (WKQCA::CAD3DRenderer::setDeviceIsLost):
2232         (WKQCA::CAD3DRenderer::renderInternal):
2233         (WKQCA::CAD3DRenderer::postProcess):
2234         (WKQCA::CAD3DRenderer::resetD3DDevice):
2235         (WKQCA::CAD3DRenderer::createShaderIfNeeded):
2236         (WKQCA::CAD3DRenderer::release):
2237         * WebKitQuartzCoreAdditions/CAD3DRenderer.h: Added.
2238         (WKQCA::D3DPostProcessingContext::sceneTexture const):
2239         (WKQCA::D3DPostProcessingContext::overlayQuad const):
2240         (WKQCA::CAD3DRenderer::d3dDevice9 const):
2241         * WebKitQuartzCoreAdditions/CAView.cpp: Added.
2242         (WKQCA::CAView::Handle::create):
2243         (WKQCA::CAView::Handle::~Handle):
2244         (WKQCA::CAView::Handle::mutex):
2245         (WKQCA::CAView::Handle::view const):
2246         (WKQCA::CAView::Handle::clear):
2247         (WKQCA::CAView::Handle::Handle):
2248         (WKQCA::globalStateMutex):
2249         (WKQCA::registerMessageWindowClass):
2250         (WKQCA::createMessageWindow):
2251         (WKQCA::CAView::releaseAllD3DResources):
2252         (WKQCA::CAView::CAView):
2253         (WKQCA::CAView::~CAView):
2254         (WKQCA::CAView::create):
2255         (WKQCA::CAView::setContextDidChangeCallback):
2256         (WKQCA::CAView::setLayer):
2257         (WKQCA::CAView::update):
2258         (WKQCA::CAView::invalidateRects):
2259         (WKQCA::CAView::drawToWindow):
2260         (WKQCA::CAView::drawToWindowInternal):
2261         (WKQCA::CAView::drawToImage):
2262         (WKQCA::CAView::willDraw):
2263         (WKQCA::CAView::didDraw):
2264         (WKQCA::CAView::drawIntoDC):
2265         (WKQCA::CAView::setShouldInvertColors):
2266         (WKQCA::CAView::scheduleNextDraw):
2267         (WKQCA::CAView::displayLinkReachedCAMediaTime):
2268         (WKQCA::CAView::contextDidChangeCallback):
2269         (WKQCA::CAView::contextDidChange):
2270         (WKQCA::CAView::updateSoon):
2271         (WKQCA::CAView::updateViewsNow):
2272         (WKQCA::CAView::d3dDevice9):
2273         * WebKitQuartzCoreAdditions/CAView.h: Added.
2274         (WKQCA::CAView::context const):
2275         (WKQCA::CAView::canDraw const):
2276         (WKQCA::CAView::ContextDidChangeCallback::ContextDidChangeCallback):
2277         * WebKitQuartzCoreAdditions/CMakeLists.txt: Added.
2278         * WebKitQuartzCoreAdditions/CVDisplayLink.cpp: Added.
2279         (WKQCA::CVDisplayLink::CVDisplayLink):
2280         (WKQCA::CVDisplayLink::~CVDisplayLink):
2281         (WKQCA::CVDisplayLink::create):
2282         (WKQCA::CVDisplayLink::start):
2283         (WKQCA::CVDisplayLink::stop):
2284         (WKQCA::CVDisplayLink::setPaused):
2285         (WKQCA::CVDisplayLink::runIOThread):
2286         * WebKitQuartzCoreAdditions/CVDisplayLink.h: Added.
2287         * WebKitQuartzCoreAdditions/CVDisplayLinkClient.h: Added.
2288         (WKQCA::CVDisplayLinkClient::~CVDisplayLinkClient):
2289         * WebKitQuartzCoreAdditions/Image.cpp: Added.
2290         (WKQCA::numBytesForSize):
2291         (WKQCA::Image::create):
2292         (WKQCA::Image::Image):
2293         (WKQCA::Image::~Image):
2294         (WKQCA::bitmapInfo):
2295         (WKQCA::Image::createDIB const):
2296         (WKQCA::Image::copyFileMapping):
2297         * WebKitQuartzCoreAdditions/Image.h: Added.
2298         (WKQCA::Image::size const):
2299         * WebKitQuartzCoreAdditions/ImageConversion.cpp: Added.
2300         (WKQCA::getBackBufferRectAsRenderTarget):
2301         (WKQCA::getSystemMemoryCopy):
2302         (WKQCA::copyRectToBitmap):
2303         (WKQCA::getImageCopy):
2304         (WKQCA::getBackBufferRectAsImage):
2305         * WebKitQuartzCoreAdditions/ImageConversion.h: Added.
2306         * WebKitQuartzCoreAdditions/InvertColorPS.hlsl: Added.
2307         * WebKitQuartzCoreAdditions/WebKitQuartzCoreAdditionsInternal.h: Added.
2308         * WebKitQuartzCoreAdditions/WebKitQuartzCoreAdditionsPrefix.cpp: Added.
2309         * WebKitQuartzCoreAdditions/WebKitQuartzCoreAdditionsPrefix.h: Added.
2310
2311 2017-11-06  Christopher Reid  <chris.reid@sony.com>
2312
2313         Use enum classes within FileSystem
2314         https://bugs.webkit.org/show_bug.cgi?id=175172
2315
2316         Reviewed by Myles C. Maxfield.
2317
2318         * Plugins/PluginDatabase.cpp:
2319
2320 2017-11-02  Maciej Stachowiak  <mjs@apple.com>
2321
2322         Don't try to guess plugin MIME type from a file extension in a URL (no observable effect)
2323         https://bugs.webkit.org/show_bug.cgi?id=178333
2324
2325         Reviewed by Darin Adler.
2326
2327         * WebCoreSupport/WebFrameLoaderClient.cpp:
2328         (WebFrameLoaderClient::objectContentType): Remove unnecessary call to mimeTypeFromURL
2329
2330 2017-11-02  Alex Christensen  <achristensen@webkit.org>
2331
2332         Use CompletionHandlers for redirects
2333         https://bugs.webkit.org/show_bug.cgi?id=179163
2334
2335         Reviewed by Tim Horton.
2336
2337         * Plugins/PluginStream.cpp:
2338         (WebCore::PluginStream::willSendRequest):
2339         * Plugins/PluginStream.h:
2340         (WebCore::PluginStreamClient::~PluginStreamClient):
2341         (WebCore::PluginStreamClient::streamDidFinishLoading):
2342         (WebCore::PluginStream::create):
2343         (WebCore::PluginStream::setLoadManually):
2344
2345 2017-11-02  Christopher Reid  <chris.reid@sony.com>
2346
2347         Add a FileSystem namespace to FileSystem.cpp
2348         https://bugs.webkit.org/show_bug.cgi?id=179063
2349
2350         Reviewed by Darin Adler.
2351
2352         * Plugins/PluginDatabase.cpp:
2353         * Plugins/PluginPackage.cpp:
2354         * Plugins/PluginStream.cpp:
2355         * Plugins/PluginStream.h:
2356         * WebApplicationCache.cpp:
2357         * WebDatabaseManager.cpp:
2358         * WebDownloadCurl.cpp:
2359         * WebPreferences.cpp:
2360         * WebView.cpp:
2361
2362 2017-10-31  Alex Christensen  <achristensen@webkit.org>
2363
2364         Fix Windows build after r224260
2365
2366         * WebView.cpp:
2367         (WebView::gesture):
2368
2369 2017-10-28  Zalan Bujtas  <zalan@apple.com>
2370
2371         [FrameView::layout cleanup] Move core layout logic to a separate class.
2372         https://bugs.webkit.org/show_bug.cgi?id=178771
2373         <rdar://problem/35166542>
2374
2375         Reviewed by Simon Fraser.
2376
2377         Move layout code out from FrameView to LayoutContext.
2378
2379         * WebFrame.cpp:
2380         (WebFrame::layout):
2381
2382 2017-10-26  Alex Christensen  <achristensen@webkit.org>
2383
2384         Fix Windows build
2385         https://bugs.webkit.org/show_bug.cgi?id=178892
2386
2387         * AccessibleBase.cpp:
2388         (MSAARole):
2389
2390 2017-10-26  Alex Christensen  <achristensen@webkit.org>
2391
2392         Fix Windows build
2393         https://bugs.webkit.org/show_bug.cgi?id=178892
2394
2395         * AccessibleBase.cpp:
2396         (AccessibleBase::state const):
2397         (MSAARole):
2398
2399 2017-10-25  Youenn Fablet  <youenn@apple.com>
2400
2401         Enable ServiceWorker to fetch resources
2402         https://bugs.webkit.org/show_bug.cgi?id=178673
2403
2404         Reviewed by Brady Eidson.
2405
2406         Added implementation to the new getters.
2407         They are noop in the context of WK1.
2408
2409         * WebCoreSupport/WebFrameLoaderClient.cpp:
2410         (WebFrameLoaderClient::pageID const):
2411         (WebFrameLoaderClient::frameID const):
2412         (WebFrameLoaderClient::sessionID const):
2413         * WebCoreSupport/WebFrameLoaderClient.h:
2414
2415 2017-10-20  Antoine Quint  <graouts@apple.com>
2416
2417         [Web Animations] Provide basic timeline and animation interfaces
2418         https://bugs.webkit.org/show_bug.cgi?id=178526
2419
2420         Reviewed by Dean Jackson.
2421
2422         Remove the WEB_ANIMATIONS compile-time flag.
2423
2424         * WebView.cpp:
2425         (WebView::notifyPreferencesChanged):
2426
2427 2017-10-20  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2428
2429         [Curl] Clean up old style code in old curl files.
2430         https://bugs.webkit.org/show_bug.cgi?id=178569
2431
2432         Reviewed by Ryosuke Niwa.
2433
2434         * WebCache.cpp:
2435         (WebCache::cacheFolder):
2436         (WebCache::setCacheFolder):
2437         * WebView.cpp:
2438         (WebView::setCacheModel):
2439
2440 2017-10-19  Sam Weinig  <sam@webkit.org>
2441
2442         [Settings] Move global settings into their own file
2443         https://bugs.webkit.org/show_bug.cgi?id=178512
2444
2445         Reviewed by Darin Adler.
2446
2447         Moves all global settigns out of SettingsBase and into the new DeprecatedGlobalSettings.
2448
2449         * WebView.cpp:
2450         (WebView::initWithFrame):
2451
2452 2017-10-17  Jiewen Tan  <jiewen_tan@apple.com>
2453
2454         Replace some stack raw pointers with RefPtrs within WebCore/html
2455         https://bugs.webkit.org/show_bug.cgi?id=178201
2456         <rdar://problem/34841692>
2457
2458         Reviewed by Ryosuke Niwa.
2459
2460         * WebView.cpp:
2461         (WebView::handleEditingKeyboardEvent):
2462         Change the type of node as toNode() is changed to return RefPtr.
2463
2464 2017-10-16  Sam Weinig  <sam@webkit.org>
2465
2466         [Settings] Remove all custom code from Settings.h/cpp
2467         https://bugs.webkit.org/show_bug.cgi?id=178330
2468
2469         Reviewed by Simon Fraser.
2470
2471         * WebView.cpp:
2472         (WebView::notifyPreferencesChanged):
2473             
2474             Update for naming changes of FrameFlattening now that it is an enum class.
2475
2476 2017-10-11  Chris Dumez  <cdumez@apple.com>
2477
2478         Modernize Geolocation code
2479         https://bugs.webkit.org/show_bug.cgi?id=178148
2480
2481         Reviewed by Ryosuke Niwa.
2482
2483         * WebCoreSupport/WebGeolocationClient.cpp:
2484         (WebGeolocationClient::lastPosition):
2485         * WebCoreSupport/WebGeolocationClient.h:
2486         * WebGeolocationPosition.cpp:
2487         (WebGeolocationPosition::initWithTimestamp):
2488         (core):
2489         * WebGeolocationPosition.h:
2490         (WebGeolocationPosition::impl const):
2491
2492 2017-10-05  Chris Dumez  <cdumez@apple.com>
2493
2494         Drop unused parameters for CookiesStrategy::cookiesEnabled()
2495         https://bugs.webkit.org/show_bug.cgi?id=177957
2496
2497         Reviewed by Alex Christensen.
2498
2499         * WebCoreSupport/WebPlatformStrategies.cpp:
2500         (WebPlatformStrategies::cookiesEnabled):
2501         * WebCoreSupport/WebPlatformStrategies.h:
2502
2503 2017-10-03  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2504
2505         [Curl] Reimplement CurlDownload with CurlRequest
2506         https://bugs.webkit.org/show_bug.cgi?id=177779
2507
2508         Reviewed by Alex Christensen.
2509
2510         * WebDownload.h:
2511         * WebDownloadCurl.cpp:
2512         (WebDownload::init):
2513         (WebDownload::didReceiveResponse):
2514
2515 2017-09-29  Chris Dumez  <cdumez@apple.com>
2516
2517         Split some logic out of VisitedLinkStore and make it reusable
2518         https://bugs.webkit.org/show_bug.cgi?id=177575
2519
2520         Reviewed by Alex Christensen.
2521
2522         * WebCoreSupport/WebVisitedLinkStore.cpp:
2523         (WebVisitedLinkStore::addVisitedLink):
2524         (WebVisitedLinkStore::isLinkVisited):
2525         (WebVisitedLinkStore::addVisitedLinkHash):
2526         * WebCoreSupport/WebVisitedLinkStore.h:
2527
2528 2017-09-25  Alex Christensen  <achristensen@webkit.org>
2529
2530         Make PolicyAction an encodable enum class
2531         https://bugs.webkit.org/show_bug.cgi?id=177480
2532
2533         Reviewed by Antti Koivisto.
2534
2535         * WebCoreSupport/WebFrameLoaderClient.cpp:
2536         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
2537         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2538         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2539         * WebFramePolicyListener.cpp:
2540         (WebFramePolicyListener::use):
2541         (WebFramePolicyListener::download):
2542         (WebFramePolicyListener::ignore):
2543         (WebFramePolicyListener::continueSubmit):
2544
2545 2017-09-07  Per Arne Vollan  <pvollan@apple.com>
2546
2547         [Win] fast/canvas/2d.getPath.modification.html is failing.
2548         https://bugs.webkit.org/show_bug.cgi?id=176534
2549
2550         Reviewed by Alex Christensen.
2551
2552         We need to enable Inspector additions at runtime in order to expose the getPath function.
2553
2554         * Interfaces/IWebPreferencesPrivate.idl:
2555         * WebPreferenceKeysPrivate.h:
2556         * WebPreferences.cpp:
2557         (WebPreferences::initializeDefaultSettings):
2558         (WebPreferences::setDataTransferItemsEnabled):
2559         (WebPreferences::inspectorAdditionsEnabled):
2560         (WebPreferences::setInspectorAdditionsEnabled):
2561         * WebPreferences.h:
2562         * WebView.cpp:
2563         (WebView::notifyPreferencesChanged):
2564
2565 2017-09-07  Alex Christensen  <achristensen@webkit.org>
2566
2567         Modernize Geolocation code
2568         https://bugs.webkit.org/show_bug.cgi?id=176496
2569
2570         Reviewed by Andy Estes.
2571
2572         * WebCoreSupport/WebGeolocationClient.cpp:
2573         (WebGeolocationClient::requestPermission):
2574         * WebCoreSupport/WebGeolocationClient.h:
2575         (WebGeolocationClient::setEnableHighAccuracy): Deleted.
2576         (WebGeolocationClient::cancelPermissionRequest): Deleted.
2577         * WebGeolocationPolicyListener.h:
2578         * WebView.cpp:
2579         (WebView::initWithFrame):
2580         (WebView::geolocationDidFailWithError):
2581
2582 2017-09-07  Per Arne Vollan  <pvollan@apple.com>
2583
2584         [Win] Enable DatatransferItems in DRT.
2585         https://bugs.webkit.org/show_bug.cgi?id=176424
2586
2587         Reviewed by Brent Fulgham.
2588
2589         * Interfaces/IWebPreferencesPrivate.idl:
2590         * WebPreferenceKeysPrivate.h:
2591         * WebPreferences.cpp:
2592         (WebPreferences::initializeDefaultSettings):
2593         (WebPreferences::QueryInterface):
2594         (WebPreferences::isSecureContextAttributeEnabled):
2595         (WebPreferences::dataTransferItemsEnabled):
2596         (WebPreferences::setDataTransferItemsEnabled):
2597         * WebPreferences.h:
2598         * WebView.cpp:
2599         (WebView::notifyPreferencesChanged):
2600
2601 2017-08-28  Brent Fulgham  <bfulgham@apple.com>
2602
2603         Unreviewed build fix #2 after r221275.
2604
2605         * WebCoreSupport/WebPlatformStrategies.cpp:
2606         (WebPlatformStrategies::cookieRequestHeaderFieldValue): Correct return type and arguments
2607         to match new API.
2608         * WebCoreSupport/WebPlatformStrategies.h: Update signatures.
2609
2610 2017-08-28  Brent Fulgham  <bfulgham@apple.com>
2611
2612         Unreviewed build fix after r221275.
2613
2614         * WebCoreSupport/WebPlatformStrategies.cpp:
2615         (WebPlatformStrategies::cookieRequestHeaderFieldValue): Correct return type and arguments
2616         to match new API.
2617
2618 2017-08-28  Per Arne Vollan  <pvollan@apple.com>
2619
2620         [Win] The test http/tests/misc/policy-delegate-called-twice.html is crashing.
2621         https://bugs.webkit.org/show_bug.cgi?id=176031
2622
2623         Reviewed by Brent Fulgham.
2624
2625         When the function in the FramePolicyFunction parameter is called, it has already been moved
2626         to an internal member by the setUpPolicyListener method, and is no longer valid. Invoke the
2627         function by using the stored member instead.
2628
2629         * WebCoreSupport/WebFrameLoaderClient.cpp:
2630         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
2631         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2632         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2633
2634 2017-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
2635
2636         Unreviewed, try to fix the Windows build after r221064
2637
2638         didEndUserTriggeredSelectionChanges is virtual, and needs to be overridden in WebEditorClient.
2639
2640         * WebCoreSupport/WebEditorClient.h:
2641
2642 2017-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
2643
2644         [WK2] EditorState updates should be rolled into the layer update lifecycle when possible
2645         https://bugs.webkit.org/show_bug.cgi?id=175370
2646         <rdar://problem/33799806>
2647
2648         Reviewed by Ryosuke Niwa.
2649
2650         Adjust WebEditorClient for interface changes.
2651
2652         * WebCoreSupport/WebEditorClient.h:
2653
2654 2017-08-22  Brent Fulgham  <bfulgham@apple.com>
2655
2656         Unreviewed build fix after r221017.
2657
2658         Correct copy/paste error.
2659
2660         * WebCoreSupport/WebPlatformStrategies.cpp:
2661         (WebPlatformStrategies::cookiesForDOM):
2662
2663 2017-08-22  Brent Fulgham  <bfulgham@apple.com>
2664
2665         Unreviewed build fix after r221017.
2666
2667         * WebCoreSupport/WebPlatformStrategies.cpp:
2668         (WebPlatformStrategies::cookiesForDOM): Update for new signature.
2669         * WebCoreSupport/WebPlatformStrategies.h:
2670
2671 2017-08-22  Alex Christensen  <achristensen@webkit.org>
2672
2673         Remove ChromeClient::scrollbarsModeDidChange
2674         https://bugs.webkit.org/show_bug.cgi?id=175805
2675
2676         Reviewed by Daniel Bates.
2677
2678         * WebCoreSupport/WebChromeClient.h:
2679
2680 2017-08-22  Alex Christensen  <achristensen@webkit.org>
2681
2682         Remove ChromeClient::hasOpenedPopup
2683         https://bugs.webkit.org/show_bug.cgi?id=175804
2684
2685         Reviewed by Sam Weinig.
2686
2687         * WebCoreSupport/WebChromeClient.cpp:
2688         (WebChromeClient::hasOpenedPopup const): Deleted.
2689         * WebCoreSupport/WebChromeClient.h:
2690
2691 2017-08-18  Per Arne Vollan  <pvollan@apple.com>
2692
2693         [Win] accessibility/heading-crash-after-hidden.html is a flaky crash.
2694         https://bugs.webkit.org/show_bug.cgi?id=173536
2695
2696         Reviewed by Brent Fulgham.
2697
2698         If the tree state is dirty, accessible objects are deleted while iterating over children
2699         under AccessibilityNodeObject::textUnderElement when the style is updated. Make sure the
2700         style is updated before this method is called.
2701
2702         * AccessibleBase.cpp:
2703         (AccessibleBase::getAccessibilityObjectForChild):
2704
2705 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
2706
2707         [PAL] Move SessionID into PAL
2708         https://bugs.webkit.org/show_bug.cgi?id=174192
2709
2710         Reviewed by Antti Koivisto.
2711
2712         * WebCoreSupport/WebFrameLoaderClient.cpp:
2713         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
2714         * WebCoreSupport/WebFrameLoaderClient.h:
2715         * WebCoreSupport/WebFrameNetworkingContext.cpp:
2716         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
2717         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
2718         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
2719         (WebFrameNetworkingContext::storageSession const):
2720         * WebCoreSupport/WebPlatformStrategies.cpp:
2721         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
2722         * WebCoreSupport/WebPlatformStrategies.h:
2723
2724 2017-08-15  Youenn Fablet  <youenn@apple.com>
2725
2726         [Cache API] Adding generic support for CacheStorage and Cache methods
2727         https://bugs.webkit.org/show_bug.cgi?id=175455
2728
2729         Reviewed by Chris Dumez.
2730
2731         * WebView.cpp:
2732         (WebView::initWithFrame):
2733
2734 2017-08-13  Manuel Rego Casasnovas  <rego@igalia.com>
2735
2736         Composition underline color is always black
2737         https://bugs.webkit.org/show_bug.cgi?id=174675
2738
2739         Reviewed by Ryosuke Niwa.
2740
2741         * WebView.cpp:
2742         (WebView::setCompositionForTesting): Use text color for
2743         composition underline.
2744
2745 2017-08-09  Daniel Bates  <dabates@apple.com>
2746
2747         REGRESSION (r219013): OAuth flows are broken when redirecting back to application after authentication
2748         https://bugs.webkit.org/show_bug.cgi?id=175247
2749         <rdar://problem/33679804>
2750
2751         Reviewed by Brady Eidson.
2752
2753         Plumb knowledge of whether a navigation was in response to receiving a redirect response.
2754         We do not actually make use of this knowledge in WebKitLegacy because we do not know of any
2755         clients that need to make use of this information at this time. If such a needs comes up
2756         then we can expose API/SPI similar to what we do for WebKit.
2757
2758         * WebCoreSupport/WebFrameLoaderClient.cpp:
2759         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2760         * WebCoreSupport/WebFrameLoaderClient.h:
2761
2762 2017-07-25  Said Abou-Hallawa  <sabouhallawa@apple.com>
2763
2764         Async image decoding for large images should be disabled after the first time a tile is painted
2765         https://bugs.webkit.org/show_bug.cgi?id=174451
2766         <rdar://problem/31246421>
2767
2768         Reviewed by Simon Fraser.
2769
2770         * FullscreenVideoController.cpp:
2771         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
2772         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2773         (AcceleratedCompositingContext::paintContents):
2774         * WebCoreSupport/AcceleratedCompositingContext.h:
2775
2776 2017-07-23  Darin Adler  <darin@apple.com>
2777
2778         More NeverDestroyed and related cleanup
2779         https://bugs.webkit.org/show_bug.cgi?id=174745
2780
2781         Reviewed by Alex Christensen.
2782
2783         * Plugins/PluginDatabase.cpp:
2784         (WebCore::persistentPluginMetadataCachePath): Use NeverDestroyed
2785         instead of DEPRECATED_DEFINE_STATIC_LOCAL.
2786         * Plugins/PluginMainThreadScheduler.cpp:
2787         (WebCore::PluginMainThreadScheduler::scheduler): Ditto.
2788         * Plugins/PluginMainThreadScheduler.h: Ditto.
2789         * WebCoreSupport/WebPlatformStrategies.cpp:
2790         (WebPlatformStrategies::initialize): Ditto.
2791         * WebCoreSupport/WebPlatformStrategies.h: Ditto.
2792         * WebHistory.cpp:
2793         (sharedHistoryStorage): Ditto.
2794         * WebLocalizableStrings.cpp:
2795         (mainBundleLocStrings): Ditto.
2796         (frameworkLocStringsMutex): Ditto.
2797         (frameworkLocStrings): Ditto.
2798         * WebView.cpp:
2799         (WebView::standardUserAgentWithApplicationName): Ditto.
2800         Also changed to keep one global string with the prefix of the user agent string
2801         instead of keeping two globals with pieces of that prefix.
2802
2803 2017-07-24  Chris Dumez  <cdumez@apple.com>
2804
2805         Make ExceptionCode a proper enumeration
2806         https://bugs.webkit.org/show_bug.cgi?id=174771
2807
2808         Reviewed by Sam Weinig.
2809
2810         Make ExceptionCode a proper enumeration instead of a typedef to uint8_t.
2811
2812         * DOMCoreClasses.cpp:
2813         (DOMDocument::createEvent):
2814         * WebView.cpp:
2815         (WebView::prepareCandidateWindow):
2816
2817 2017-07-21  Andreas Kling  <akling@apple.com>
2818
2819         Use more references in event dispatch code
2820         https://bugs.webkit.org/show_bug.cgi?id=174681
2821
2822         Reviewed by Geoffrey Garen.
2823
2824         * DOMEventsClasses.cpp:
2825         (WebEventListener::handleEvent):
2826         * DOMEventsClasses.h:
2827         * Plugins/PluginView.cpp:
2828         (WebCore::PluginView::handleEvent):
2829         * Plugins/PluginView.h:
2830
2831 2017-07-20  Brady Eidson  <beidson@apple.com>
2832
2833         Remove WebIconDatabase from WebKitLegacy/win.
2834         https://bugs.webkit.org/show_bug.cgi?id=174608
2835
2836         Reviewed by Alex Christensen.
2837
2838         It is unused.
2839         
2840         * ForEachCoClass.h:
2841
2842         * Interfaces/IWebIconDatabase.idl: Removed.
2843
2844         * Interfaces/WebKit.idl:
2845
2846         * WebCoreStatistics.cpp:
2847         (WebCoreStatistics::iconPageURLMappingCount):
2848         (WebCoreStatistics::iconRetainedPageURLCount):
2849         (WebCoreStatistics::iconRecordCount):
2850         (WebCoreStatistics::iconsWithDataCount):
2851
2852         * WebIconDatabase.cpp: Removed.
2853         * WebIconDatabase.h: Removed.
2854         * WebKitClassFactory.cpp:
2855
2856         * WebKitDLL.cpp:
2857         (shutDownWebKit):
2858
2859         * WebKitLogging.h:
2860
2861         * WebView.cpp:
2862         (WebView::close):
2863         (WebView::notifyDidAddIcon):
2864         (WebView::registerForIconNotification):
2865         (WebView::dispatchDidReceiveIconFromWebFrame):
2866         (WebView::onNotify):
2867
2868 2017-07-18  Matt Lewis  <jlewis3@apple.com>
2869
2870         Unreviewed, rolling out r219610.
2871
2872         This caused an api failure on all platforms for the test
2873         SnapshotImageLargeAsyncDecoding
2874
2875         Reverted changeset:
2876
2877         "Async image decoding for large images should be disabled
2878         after the first time a tile is painted"
2879         https://bugs.webkit.org/show_bug.cgi?id=174451
2880         http://trac.webkit.org/changeset/219610
2881
2882 2017-07-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
2883
2884         Async image decoding for large images should be disabled after the first time a tile is painted
2885         https://bugs.webkit.org/show_bug.cgi?id=174451
2886
2887         Reviewed by Simon Fraser.
2888
2889         * FullscreenVideoController.cpp:
2890         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
2891         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2892         (AcceleratedCompositingContext::paintContents):
2893         * WebCoreSupport/AcceleratedCompositingContext.h:
2894
2895 2017-07-14  Basuke Suzuki  <Basuke.Suzuki@sony.com>
2896
2897         [Curl] Don't start downloading more than once for same request
2898         https://bugs.webkit.org/show_bug.cgi?id=174172
2899
2900         Reviewed by Alex Christensen.
2901
2902         * WebDownloadCurl.cpp:
2903         (WebDownload::init):
2904
2905 2017-07-12  Daniel Bates  <dabates@apple.com>
2906
2907         Rename NavigationInitiatedByMainFrame to InitiatedByMainFrame
2908         https://bugs.webkit.org/show_bug.cgi?id=174427
2909
2910         Rubber-stamped by Brady Eidson.
2911
2912         * Plugins/PluginView.cpp:
2913         (WebCore::PluginView::start):
2914         (WebCore::PluginView::getURLNotify):
2915         (WebCore::PluginView::getURL):
2916         (WebCore::PluginView::handlePost):
2917
2918 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
2919
2920         [WTF] Move SoftLinking.h into WTF
2921         https://bugs.webkit.org/show_bug.cgi?id=174000
2922
2923         Reviewed by Alex Christensen.
2924
2925         * WebKitClassFactory.cpp:
2926         * WebView.cpp:
2927
2928 2017-07-05  Brady Eidson  <beidson@apple.com>
2929
2930         Allow navigations in subframes to get a ShouldOpenExternalURLsPolicy of "ShouldAllow".
2931         <rdar://problem/22485589> and https://bugs.webkit.org/show_bug.cgi?id=174178
2932
2933         Reviewed by Alex Christensen.
2934
2935         Adopt to the new constructor for FrameLoadRequest.
2936
2937         * Plugins/PluginView.cpp:
2938         (WebCore::PluginView::start):
2939         (WebCore::PluginView::getURLNotify):
2940         (WebCore::PluginView::getURL):
2941         (WebCore::PluginView::handlePost):
2942
2943 2017-07-03  Brady Eidson  <beidson@apple.com>
2944
2945         Switch all WebKit API related to favicons from WebIconDatabase over to new WebCore::IconLoader mechanism.
2946         https://bugs.webkit.org/show_bug.cgi?id=174073
2947
2948         Reviewed by Andy Estes.
2949
2950         * WebCoreSupport/WebFrameLoaderClient.cpp:
2951         (WebFrameLoaderClient::dispatchDidReceiveIcon): Deleted.
2952         (WebFrameLoaderClient::registerForIconNotification): Deleted.
2953         * WebCoreSupport/WebFrameLoaderClient.h:
2954
2955 2017-07-01  Ryosuke Niwa  <rniwa@webkit.org>
2956
2957         Frame.h doesn't need to include FrameLoader.h, IntRect.h, and NavigationScheduler.h
2958         https://bugs.webkit.org/show_bug.cgi?id=174004
2959
2960         Reviewed by Simon Fraser.
2961
2962         * WebCoreSupport/WebFrameLoaderClient.cpp:
2963         (WebFrameLoaderClient::transitionToCommittedForNewPage):
2964
2965 2017-06-30  Daniel Bates  <dabates@apple.com>
2966
2967         API::FrameInfo should know the web page that contains the frame; add API property webView to WKFrameInfo
2968         https://bugs.webkit.org/show_bug.cgi?id=165160
2969         <rdar://problem/29451999>
2970
2971         Reviewed by Brady Eidson.
2972
2973         Pass the document that is requesting the load to the loader.
2974
2975         * Plugins/PluginView.cpp:
2976         (WebCore::PluginView::start):
2977         (WebCore::PluginView::getURLNotify):
2978         (WebCore::PluginView::getURL):
2979         (WebCore::PluginView::handlePost):
2980
2981 2017-06-27  Wenson Hsieh  <wenson_hsieh@apple.com>
2982
2983         Refactor drag start codepaths to plumb a DragItem to client layers
2984         https://bugs.webkit.org/show_bug.cgi?id=173832
2985         Work towards <rdar://problem/32236827>
2986
2987         Reviewed by Ryosuke Niwa and Tim Horton.
2988
2989         Adjust for changes to WebDragClient::startDrag by pulling information out of DragItem.
2990
2991         * WebCoreSupport/WebDragClient.cpp:
2992         (WebDragClient::startDrag):
2993         * WebCoreSupport/WebDragClient.h:
2994
2995 2017-06-25  Konstantin Tokarev  <annulen@yandex.ru>
2996
2997         Remove excessive headers from JavaScriptCore
2998         https://bugs.webkit.org/show_bug.cgi?id=173812
2999
3000         Reviewed by Darin Adler.
3001
3002         * Plugins/PluginPackage.cpp:
3003
3004 2017-06-22  Daniel Bates  <dabates@apple.com>
3005
3006         Make FrameLoadRequest a move-only type
3007         https://bugs.webkit.org/show_bug.cgi?id=173682
3008
3009         Reviewed by Alex Christensen and Darin Adler.
3010
3011         A FrameLoadRequest groups together the information to perform a load into a single object
3012         that is more manageable to pass around than its constituent parts. Code that receives a
3013         FrameLoadRequest is expected to extract out the information it needs to complete its task.
3014         And it does not make sense to re-use the same FrameLoadRequest object for more than one
3015         load. Therefore, it is sufficient to make FrameLoadRequest a move-only type.
3016
3017         * Plugins/PluginView.cpp:
3018         (WebCore::PluginView::start):
3019         (WebCore::PluginView::performRequest):
3020         (WebCore::PluginView::load):
3021         (WebCore::PluginView::getURLNotify):
3022         (WebCore::PluginView::getURL):
3023         (WebCore::PluginView::handlePost):
3024         * Plugins/PluginView.h:
3025         (WebCore::PluginRequest::PluginRequest):
3026
3027 2017-06-22  Daniel Bates  <dabates@apple.com>
3028
3029         [Win] Cleanup: Remove unnecessary include of header FrameLoadRequest.h
3030         https://bugs.webkit.org/show_bug.cgi?id=173683
3031
3032         Reviewed by Alex Christensen.
3033
3034         Neither file PluginViewWin.cpp nor WebContextMenuClient.cpp need to include
3035         header FrameLoadRequest.h. The former includes FrameLoadRequest.h indirectly
3036         by including PluginView.h. The latter does not make use of the functionality
3037         provided by FrameLoadRequest.h.
3038
3039         * Plugins/PluginViewWin.cpp:
3040         * WebCoreSupport/WebContextMenuClient.cpp:
3041
3042 2017-06-21  Daniel Bates  <dabates@apple.com>
3043
3044         Cleanup FrameLoadRequest
3045         https://bugs.webkit.org/show_bug.cgi?id=173564
3046         <rdar://problem/32903570>
3047
3048         Reviewed by Brent Fulgham.
3049
3050         * Plugins/PluginView.cpp:
3051         (WebCore::PluginView::start): Explicitly pass an empty ResourceRequest (we populate it after
3052         we instantiate the FrameLoadRequest) and pass the null-string for the target frame name as
3053         we do not have one. Use C++11 brace initialization syntax.
3054         (WebCore::PluginView::getURLNotify): Explicitly pass the null-string for the target frame
3055         name as we do not have one. Use C++11 brace initialization syntax.
3056         (WebCore::PluginView::getURL): Ditto.
3057         (WebCore::PluginView::handlePost): Move instantiation of FrameLoadRequest from the top of the
3058         function to closer to where it is actually used. Explicitly pass the null-string for the target
3059         frame name as we do not have one. Use C++11 brace initialization syntax.
3060
3061 2017-06-20  Daniel Bates  <dabates@apple.com>
3062
3063         Have FrameLoadRequest takes a Frame& instead of a Frame*
3064         https://bugs.webkit.org/show_bug.cgi?id=173614
3065         <rdar://problem/32884890>
3066
3067         Reviewed by Brent Fulgham.
3068
3069         * Plugins/PluginView.cpp:
3070         (WebCore::PluginView::performRequest):
3071         * WebFrame.cpp:
3072         (WebFrame::loadRequest):
3073
3074 2017-06-19  Chris Dumez  <cdumez@apple.com>
3075
3076         Use WTF::Function instead of std::function in more places in WebCore/
3077         https://bugs.webkit.org/show_bug.cgi?id=173535
3078
3079         Reviewed by Antti Koivisto.
3080
3081         Use WTF::Function instead of std::function in more places in WebCore/ to avoid copying.
3082
3083         * WebCoreSupport/WebFrameLoaderClient.cpp:
3084         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
3085         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
3086         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3087         (WebFrameLoaderClient::dispatchWillSubmitForm):
3088         (WebFrameLoaderClient::setUpPolicyListener):
3089         (WebFrameLoaderClient::receivedPolicyDecision):
3090         * WebCoreSupport/WebFrameLoaderClient.h:
3091
3092 2017-05-14 Frederic Wang  <fwang@igalia.com>
3093
3094         Add heuristic to avoid flattening "fullscreen" iframes
3095         https://bugs.webkit.org/show_bug.cgi?id=171914
3096
3097         Reviewed by Simon Fraser.
3098
3099         This commit ajusts the window port to internally use the new preference type for frame flattening.
3100         However, the "partial frame flattening" value is not exposed yet.
3101
3102         * WebView.cpp:
3103         (WebView::notifyPreferencesChanged): Use the new type for frame flattening.
3104
3105 2017-06-17  Chris Dumez  <cdumez@apple.com>
3106
3107         Use WTF::Function instead of std::function in WebKit2/
3108         https://bugs.webkit.org/show_bug.cgi?id=173504
3109
3110         Reviewed by Darin Adler.
3111
3112         Use WTF::Function instead of std::function in WebKit2/ to avoid
3113         unnecessary copying.
3114
3115         * Plugins/PluginStream.cpp:
3116         (WebCore::PluginStream::willSendRequest):
3117         * Plugins/PluginStream.h:
3118
3119 2017-06-16  Sam Weinig  <sam@webkit.org>
3120
3121         [WebIDL] Remove custom bindings for HTMLDocument
3122         https://bugs.webkit.org/show_bug.cgi?id=173444
3123
3124         Reviewed by Darin Adler.
3125
3126         * DOMHTMLClasses.cpp:
3127         (DOMHTMLDocument::write):
3128         (DOMHTMLDocument::writeln):
3129         Update for new signature of write/writeln.
3130
3131 2017-06-16  Daniel Bates  <dabates@apple.com>
3132
3133         Cleanup: WebContextMenuClient::searchWithGoogle() should parse URL using URL { URL { }, ... }
3134         instead of URL { ParsedURLString, ... }
3135         https://bugs.webkit.org/show_bug.cgi?id=173495
3136         <rdar://problem/32827445>
3137
3138         Reviewed by Alex Christensen.
3139
3140         URL(ParsedURLString, ...) should only be used with a string that was the result of URL::string().
3141         Otherwise, it will cause an assertion failure if the canonicalized URL differs from the string.
3142         Although it is unlikely that the hardcoded string in WebContextMenuClient::searchWithGoogle()
3143         would differ from the canonicalized URL it is best practice to use URL(URL(), ...) to
3144         parse an arbitrary string that looks like a URL.
3145
3146         Also modernize the code using C++14 idioms.
3147
3148         * WebCoreSupport/WebContextMenuClient.cpp:
3149         (WebContextMenuClient::searchWithGoogle):
3150
3151 2017-06-15  Fujii Hironori  <Hironori.Fujii@sony.com>
3152
3153         [Win] WebKit shouldn't include the forwarding header of WebKit itself
3154         https://bugs.webkit.org/show_bug.cgi?id=173352
3155
3156         Reviewed by Alex Christensen.
3157
3158         * WebKitPrefix.h: Include WebKit.h of DerivedSources/WebKit instead of DerivedSources/ForwardingHeaders.
3159
3160 2017-06-14  Per Arne Vollan  <pvollan@apple.com>
3161
3162         [Win] WebKit fails to paint the bottom lines of the window at 125% scale.
3163         https://bugs.webkit.org/show_bug.cgi?id=173318
3164
3165         Reviewed by Darin Adler.
3166
3167         The logical frame size is currently calculated by scaling the frame size in pixels,
3168         and rounding the coordinates to the nearest integers. The computed logical frame
3169         size will in some cases be smaller than the scaled frame size in pixels, since it is
3170         represented as an IntSize. In these cases, the bottom line will not be painted.
3171         Instead of calculating the logical frame size by rounding the scaled frame in
3172         pixels, find the enclosing rectangle of the scaled frame rectangle in pixels.
3173
3174         * WebCoreSupport/WebFrameLoaderClient.cpp:
3175         (WebFrameLoaderClient::transitionToCommittedForNewPage):
3176
3177 2017-06-13  Daniel Bates  <dabates@apple.com>
3178
3179         Implement W3C Secure Contexts Draft Specification
3180         https://bugs.webkit.org/show_bug.cgi?id=158121
3181         <rdar://problem/26012994>
3182
3183         Reviewed by Brent Fulgham.
3184
3185         Part 4
3186
3187         Adds a preference to toggle the runtime enabled feature flag isSecureContextAttributeEnabled.
3188
3189         * Interfaces/IWebPreferencesPrivate.idl: Bump the version.
3190         * WebPreferenceKeysPrivate.h:
3191         * WebPreferences.cpp:
3192         (WebPreferences::initializeDefaultSettings):
3193         (WebPreferences::QueryInterface):
3194         (WebPreferences::setIsSecureContextAttributeEnabled):
3195         (WebPreferences::isSecureContextAttributeEnabled):
3196         * WebPreferences.h:
3197         * WebView.cpp:
3198         (WebView::notifyPreferencesChanged):
3199
3200 2017-06-13  Per Arne Vollan  <pvollan@apple.com>
3201
3202         [Win] WebKit fails to paint the bottom lines of the window at 125% scale.
3203         https://bugs.webkit.org/show_bug.cgi?id=173318
3204
3205         Reviewed by Alex Christensen.
3206
3207         The logical frame size is currently calculated by scaling the frame size in pixels,
3208         and rounding the coordinates to the nearest integers. The computed logical frame
3209         size will in some cases be smaller than the scaled frame size in pixels, since it is
3210         represented as an IntSize. In these cases, the bottom line will not be painted.
3211         Instead of calculating the logical frame size by rounding the scaled frame in
3212         pixels, find the enclosing rectangle of the scaled frame rectangle in pixels.
3213  
3214         * WebView.cpp:
3215         (WebView::sizeChanged):
3216
3217 2017-06-13  Sam Weinig  <sam@webkit.org>
3218
3219         Rename JSDOMWindowShell to JSDOMWindowProxy to match the HTML5 spec.
3220         https://bugs.webkit.org/show_bug.cgi?id=80733
3221
3222         Reviewed by Chris Dumez.
3223
3224         * WebFrame.cpp:
3225         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
3226
3227 2017-06-12  Daewoong Jang  <daewoong.jang@navercorp.com>
3228
3229         Remove WebCore::unloadModule and related data types
3230         https://bugs.webkit.org/show_bug.cgi?id=173231
3231
3232         Reviewed by Darin Adler.
3233
3234         * Plugins/PlatformModule.h: Added.
3235         (WebCore::PlatformModuleVersion::PlatformModuleVersion):
3236         * Plugins/PluginPackage.cpp:
3237         (WebCore::PluginPackage::freeLibraryTimerFired):
3238         * Plugins/PluginPackage.h:
3239
3240 2017-06-09  Wenson Hsieh  <wenson_hsieh@apple.com>
3241
3242         [iOS DnD] Add a hook to perform two-step drops in editable content
3243         https://bugs.webkit.org/show_bug.cgi?id=172992
3244         <rdar://problem/32590174>
3245
3246         Reviewed by Tim Horton.
3247
3248         Add a stub implementation for performTwoStepDrop on Windows.
3249
3250         * WebCoreSupport/WebEditorClient.h:
3251
3252 2017-06-04  Konstantin Tokarev  <annulen@yandex.ru>
3253
3254         Fix build of Windows-specific code with ICU 59.1
3255         https://bugs.webkit.org/show_bug.cgi?id=172729
3256
3257         Reviewed by Darin Adler.
3258
3259         Fix conversions from WTF::String to wchar_t* and vice versa.
3260
3261         * Plugins/PluginDatabaseWin.cpp:
3262         (WebCore::addPluginPathsFromRegistry):
3263         (WebCore::PluginDatabase::getPluginPathsInDirectories):
3264         (WebCore::addMozillaPluginDirectories):
3265         (WebCore::addWindowsMediaPlayerPluginDirectory):
3266         (WebCore::addAdobeAcrobatPluginDirectory):
3267         (WebCore::addJavaPluginDirectory):
3268         (WebCore::safariPluginsDirectory):
3269         (WebCore::addMacromediaPluginDirectories):
3270         * Plugins/PluginPackageWin.cpp:
3271         (WebCore::getVersionInfo):
3272         (WebCore::PluginPackage::fetchInfo):
3273         (WebCore::PluginPackage::load):
3274         * Plugins/PluginViewWin.cpp:
3275         (WebCore::PluginView::handlePostReadFile):
3276
3277 2017-05-30  Per Arne Vollan  <pvollan@apple.com>
3278
3279         [Win] fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html is flaky.
3280         https://bugs.webkit.org/show_bug.cgi?id=172709
3281
3282         Reviewed by Brent Fulgham.
3283
3284         Add method to exit fullscreen mode.
3285
3286         * Interfaces/IWebViewPrivate.idl:
3287         * WebView.cpp:
3288         (WebView::exitFullscreenIfNeeded):
3289         * WebView.h:
3290
3291 2017-05-24  Per Arne Vollan  <pvollan@apple.com>
3292
3293         [Win] Create unique network storage session for each DRT.
3294         https://bugs.webkit.org/show_bug.cgi?id=172540
3295
3296         Reviewed by Brent Fulgham.
3297
3298         During layout testing, each DRT instance should have its own network storage session.
3299
3300         * Interfaces/IWebPreferencesPrivate.idl:
3301         * WebPreferences.cpp:
3302         (WebPreferences::switchNetworkLoaderToNewTestingSession):
3303         * WebPreferences.h:
3304
3305 2017-05-24  Fujii Hironori  <Hironori.Fujii@sony.com>
3306
3307         [WinCairo] AcceleratedCompositingContext.h: error C3668: 'AcceleratedCompositingContext::paintContents': method with override specifier 'override' did not override any base class methods
3308         https://bugs.webkit.org/show_bug.cgi?id=172535
3309
3310         Reviewed by Konstantin Tokarev.
3311
3312         * WebCoreSupport/AcceleratedCompositingContext.cpp:
3313         (AcceleratedCompositingContext::paintContents): Append the fifth argument.
3314         * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
3315
3316 2017-05-14  Per Arne Vollan  <pvollan@apple.com>
3317
3318         [Win] fast/cookies/local-file-can-set-cookies.html is flaky.
3319         https://bugs.webkit.org/show_bug.cgi?id=172071
3320
3321         Reviewed by Alexey Proskuryakov.
3322
3323         We need to delete all cookies after each test.
3324
3325         * Interfaces/IWebPreferencesPrivate.idl:
3326         * WebPreferences.cpp:
3327         (WebPreferences::linkPreloadEnabled):
3328         (WebPreferences::clearNetworkLoaderSession):
3329         * WebPreferences.h:
3330
3331 2017-05-13  Chris Dumez  <cdumez@apple.com>
3332
3333         Stop using RefPtr::release()
3334         https://bugs.webkit.org/show_bug.cgi?id=172074
3335
3336         Reviewed by Geoffrey Garen.
3337
3338         * WebFrame.cpp:
3339         (WebFrame::loadPlainTextString):
3340         (WebFrame::loadHTMLString):
3341         * WebFramePolicyListener.cpp:
3342         (WebFramePolicyListener::receivedPolicyDecision):
3343
3344 2017-05-13  Chris Dumez  <cdumez@apple.com>
3345
3346         Drop uses of PassRefPtr in WebKit/win
3347         https://bugs.webkit.org/show_bug.cgi?id=172067
3348
3349         Reviewed by Yusuke Suzuki.
3350
3351         * DOMEventsClasses.cpp:
3352         (DOMEvent::DOMEvent):
3353         (DOMEvent::createInstance):
3354         * DOMEventsClasses.h:
3355         (DOMUIEvent::DOMUIEvent):
3356         (DOMKeyboardEvent::DOMKeyboardEvent):
3357         (DOMMouseEvent::DOMMouseEvent):
3358         (DOMMutationEvent::DOMMutationEvent):
3359         (DOMOverflowEvent::DOMOverflowEvent):
3360         (DOMWheelEvent::DOMWheelEvent):
3361         * MemoryStream.cpp:
3362         (MemoryStream::MemoryStream):
3363         (MemoryStream::createInstance):
3364         * MemoryStream.h:
3365         * Plugins/PluginDatabase.cpp:
3366         (WebCore::PluginDatabase::refresh):
3367         (WebCore::PluginDatabase::add):
3368         (WebCore::PluginDatabase::loadPersistentMetadataCache):
3369         * Plugins/PluginDatabase.h:
3370         * Plugins/PluginPackage.cpp:
3371         (WebCore::PluginPackage::createPackage):
3372         (WebCore::PluginPackage::createPackageFromCache):
3373         * Plugins/PluginPackage.h:
3374         * Plugins/PluginStream.h:
3375         (WebCore::PluginStream::create):
3376         * WebActionPropertyBag.cpp:
3377         (WebActionPropertyBag::WebActionPropertyBag):
3378         (WebActionPropertyBag::createInstance):
3379         * WebActionPropertyBag.h:
3380         * WebArchive.cpp:
3381         (WebArchive::createInstance):
3382         (WebArchive::WebArchive):
3383         * WebArchive.h:
3384         * WebBackForwardList.cpp:
3385         (WebBackForwardList::WebBackForwardList):
3386         (WebBackForwardList::createInstance):
3387         * WebBackForwardList.h:
3388         * WebCoreSupport/EmbeddedWidget.cpp:
3389         (EmbeddedWidget::create):
3390         * WebCoreSupport/EmbeddedWidget.h:
3391         * WebCoreSupport/WebChromeClient.h:
3392         * WebFrame.cpp:
3393         (WebFrame::loadData):
3394         (WebFrame::createSubframeWithOwnerElement):
3395         * WebFrame.h:
3396         * WebFramePolicyListener.cpp:
3397         (WebFramePolicyListener::WebFramePolicyListener):
3398         (WebFramePolicyListener::createInstance):
3399         * WebFramePolicyListener.h:
3400         * WebGeolocationPolicyListener.cpp:
3401         (WebGeolocationPolicyListener::createInstance):
3402         (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
3403         * WebGeolocationPolicyListener.h:
3404         * WebHistoryItem.cpp:
3405         (WebHistoryItem::WebHistoryItem):
3406         (WebHistoryItem::createInstance):
3407         * WebHistoryItem.h:
3408         * WebMutableURLRequest.cpp:
3409         (WebMutableURLRequest::setFormData):
3410         (WebMutableURLRequest::formData):
3411         * WebMutableURLRequest.h:
3412         * WebResource.cpp:
3413         (WebResource::createInstance):
3414         * WebResource.h:
3415         * WebScriptWorld.cpp:
3416         (WebScriptWorld::WebScriptWorld):
3417         (WebScriptWorld::createInstance):
3418         * WebScriptWorld.h:
3419         * WebURLAuthenticationChallengeSender.cpp:
3420         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
3421         (WebURLAuthenticationChallengeSender::createInstance):
3422         * WebURLAuthenticationChallengeSender.h:
3423         * WebView.cpp:
3424         (WebView::setFullScreenElement):
3425         * WebView.h:
3426
3427 2017-05-11  Chris Dumez  <cdumez@apple.com>
3428
3429         Drop remaining uses of PassRefPtr in WebCore
3430         https://bugs.webkit.org/show_bug.cgi?id=172013
3431
3432         Reviewed by Yusuke Suzuki.
3433
3434         * Plugins/PluginView.cpp:
3435         (WebCore::PluginView::bindingInstance):
3436
3437 2017-05-11  Chris Dumez  <cdumez@apple.com>
3438
3439         Stop using PassRefPtr in platform/graphics
3440         https://bugs.webkit.org/show_bug.cgi?id=171977
3441
3442         Reviewed by Alex Christensen.
3443
3444         Build fix.
3445
3446         * FullscreenVideoController.cpp:
3447         (FullscreenVideoController::enterFullscreen):
3448         * WebKitDLL.cpp:
3449         (loadResourceIntoBuffer):
3450
3451 2017-05-09  Sam Weinig  <sam@webkit.org>
3452
3453         Remove support for legacy Notifications
3454         https://bugs.webkit.org/show_bug.cgi?id=171487
3455
3456         Reviewed by Jon Lee.
3457
3458         * WebCoreSupport/WebChromeClient.cpp:
3459         (WebChromeClient::WebChromeClient):
3460         * WebCoreSupport/WebChromeClient.h:
3461         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
3462         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
3463         Remove legacy notification specific code.
3464
3465 2017-05-09  Dean Jackson  <dino@apple.com>
3466
3467         Fix Windows build.
3468
3469         * Plugins/PluginView.h:
3470         * Plugins/PluginViewWin.cpp:
3471         (WebCore::PluginView::paint):
3472
3473 2017-05-06  Alexey Proskuryakov  <ap@apple.com>
3474
3475         REGRESSION (r216294): The new test fails on WebKit1
3476         https://bugs.webkit.org/show_bug.cgi?id=171780
3477
3478         Rolling back https://trac.webkit.org/r216294, https://trac.webkit.org/r216296,
3479         https://trac.webkit.org/216299, https://trac.webkit.org/216330
3480
3481         * Plugins/PluginView.h:
3482         * Plugins/PluginViewWin.cpp:
3483         (WebCore::PluginView::paint):
3484
3485 2017-05-06  Simon Fraser  <simon.fraser@apple.com>
3486
3487         Fix Windows build after r216294.
3488
3489         * Plugins/PluginView.h:
3490         * Plugins/PluginViewWin.cpp:
3491         (WebCore::PluginView::paint):
3492
3493 2017-05-04  Commit Queue  <commit-queue@webkit.org>
3494
3495         Unreviewed, rolling out r216206.
3496         https://bugs.webkit.org/show_bug.cgi?id=171714
3497
3498         Multiple LayoutTests crashing in Document::page() (Requested
3499         by ap on #webkit).
3500
3501         Reverted changeset:
3502
3503         "Remove support for legacy Notifications"
3504         https://bugs.webkit.org/show_bug.cgi?id=171487
3505         http://trac.webkit.org/changeset/216206
3506
3507 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
3508
3509         [Win] Remove redundant macros that are set in the CMake config
3510         https://bugs.webkit.org/show_bug.cgi?id=171571
3511
3512         Reviewed by Brent Fulgham.
3513
3514         * COMEnumVariant.h:
3515         * COMPropertyBag.h:
3516         * WebKitPrefix.h:
3517
3518 2017-05-04  Sam Weinig  <sam@webkit.org>
3519
3520         Remove support for legacy Notifications
3521         https://bugs.webkit.org/show_bug.cgi?id=171487
3522
3523         Reviewed by Jon Lee.
3524
3525         * WebCoreSupport/WebChromeClient.cpp:
3526         (WebChromeClient::WebChromeClient):
3527         * WebCoreSupport/WebChromeClient.h:
3528         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
3529         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
3530         Remove legacy notification specific code.
3531
3532 2017-04-27  Alex Christensen  <achristensen@webkit.org>
3533
3534         Modernize Frame.h
3535         https://bugs.webkit.org/show_bug.cgi?id=171357
3536
3537         Reviewed by Andy Estes.
3538
3539         * WebCoreSupport/WebEditorClient.cpp:
3540         (WebEditorClient::isSelectTrailingWhitespaceEnabled):
3541         * WebCoreSupport/WebEditorClient.h:
3542
3543 2017-04-20  Fujii Hironori  <Hironori.Fujii@sony.com>
3544
3545         [WinCairo] Fix build break after updating ANGLE
3546         https://bugs.webkit.org/show_bug.cgi?id=170980
3547
3548         Reviewed by Brent Fulgham.
3549
3550         * WebCoreSupport/AcceleratedCompositingContext.cpp: Define GL_GLEXT_PROTOTYPES.
3551
3552 2017-04-19  Brent Fulgham  <bfulgham@apple.com>
3553
3554         [Win] REGRESSION(r215486): Windows Release build is broken
3555         https://bugs.webkit.org/show_bug.cgi?id=171024
3556         <rdar://problem/31722618>
3557
3558         Reviewed by Mark Lam.
3559
3560         Windows WebKit refers to a handful of JSC methods that are always
3561         inline. We need to include 'HeapInlines.h' to get the implementation
3562         of these methods.
3563
3564         * Plugins/PluginPackage.cpp:
3565         * WebFrame.cpp:
3566         * WebView.cpp:
3567
3568 2017-04-15  Wenson Hsieh  <wenson_hsieh@apple.com>
3569
3570         Unreviewed, fix the Windows build after r215385
3571
3572         r215385 introduced a new virtual method on ChromeClient that needs to be implemented in WebChromeClient for
3573         Windows in WebKit1.
3574
3575         * WebCoreSupport/WebChromeClient.cpp:
3576         (WebChromeClient::createIconForFiles):
3577         * WebCoreSupport/WebChromeClient.h:
3578
3579 2017-04-10  Chris Dumez  <cdumez@apple.com>
3580
3581         Drop Timer::startOneShot() overload taking a double
3582         https://bugs.webkit.org/show_bug.cgi?id=170659
3583
3584         Reviewed by Yusuke Suzuki.
3585
3586         Drop Timer::startOneShot() overload taking a double as people should use Seconds type now.
3587
3588         * Plugins/PluginMessageThrottlerWin.cpp:
3589         (WebCore::PluginMessageThrottlerWin::appendMessage):
3590         (WebCore::PluginMessageThrottlerWin::messageThrottleTimerFired):
3591         * Plugins/PluginViewWin.cpp:
3592         (WebCore::PluginView::invalidateRect):
3593         * WebCoreSupport/AcceleratedCompositingContext.cpp:
3594         (AcceleratedCompositingContext::scheduleLayerFlush):
3595
3596 2017-04-09  Chris Dumez  <cdumez@apple.com>
3597
3598         Drop Timer::startRepeating() overload taking a double
3599         https://bugs.webkit.org/show_bug.cgi?id=170656
3600
3601         Reviewed by Yusuke Suzuki.
3602
3603         Drop Timer::startRepeating() overload taking a double as people should use Seconds type now.
3604
3605         * FullscreenVideoController.cpp:
3606
3607 2017-04-09  Chris Dumez  <cdumez@apple.com>
3608
3609         Start dropping Timer API dealing with double
3610         https://bugs.webkit.org/show_bug.cgi?id=170649
3611
3612         Reviewed by Yusuke Suzuki.
3613
3614         Start dropping Timer API dealing with double as people should use Seconds now.
3615
3616         * Plugins/PluginPackage.cpp:
3617         (WebCore::PluginPackage::freeLibrarySoon):
3618         * Plugins/PluginStream.cpp:
3619         (WebCore::PluginStream::deliverData):
3620         * Plugins/PluginView.cpp:
3621         (WebCore::PluginView::requestTimerFired):
3622         (WebCore::PluginView::scheduleRequest):
3623         (WebCore::PluginView::setJavaScriptPaused):
3624         (WebCore::PluginView::keepAlive):
3625         * Plugins/PluginViewWin.cpp:
3626         (WebCore::PluginView::wndProc):
3627         * WebView.cpp:
3628         (WebView::closeWindowSoon):
3629
3630 2017-04-08  Chris Dumez  <cdumez@apple.com>
3631
3632         Drop std::chrono support from Timer class
3633         https://bugs.webkit.org/show_bug.cgi?id=170645
3634
3635         Reviewed by Sam Weinig.
3636
3637         Drop std::chrono support from Timer class now that we prefer using Seconds type.
3638
3639         * WebView.cpp:
3640         (WebView::setCacheModel):
3641
3642 2017-03-31  Fujii Hironori  <Hironori.Fujii@sony.com>
3643
3644         [WinCairo] WebCore::PlatformDisplay::terminateEGLDisplay causes a crash in libGLESv2.dll while processing atexit
3645         https://bugs.webkit.org/show_bug.cgi?id=170331
3646
3647         Reviewed by Michael Catanzaro.
3648
3649         * WebKitDLL.cpp:
3650         (shutDownWebKit): Call PlatformDisplay::shutDownEglDisplays in shutDownWebKit.
3651
3652 2017-03-30  James Craig  <jcraig@apple.com>
3653
3654         AX: Expose a new AXSubrole for explicit ARIA "group" role
3655         https://bugs.webkit.org/show_bug.cgi?id=169810
3656         <rdar://problem/31039693>
3657
3658         Reviewed by Chris Fleizach.
3659
3660         Account for Windows platform role mapping.
3661
3662         * AccessibleBase.cpp:
3663         (MSAARole):
3664
3665 2017-03-24  Wenson Hsieh  <wenson_hsieh@apple.com>
3666
3667         [WK2] Add a UI delegate SPI hook to enable or disable navigation on drop
3668         https://bugs.webkit.org/show_bug.cgi?id=169168
3669         <rdar://problem/30688374>
3670
3671         Reviewed by Tim Horton.
3672
3673         Minor tweak to adjust for a changed interface. See WebKit and WebCore ChangeLogs for more information.
3674
3675         * WebCoreSupport/WebDragClient.cpp:
3676         (WebDragClient::actionMaskForDrag):
3677         * WebCoreSupport/WebDragClient.h:
3678
3679 2017-03-13  Per Arne Vollan  <pvollan@apple.com>
3680
3681         [Win] Compile fix.
3682         https://bugs.webkit.org/show_bug.cgi?id=169545
3683
3684         Reviewed by Brent Fulgham.
3685
3686         Fix inconsistent dll linkage warnings.
3687  
3688         * WebKitDLL.cpp:
3689         * WebKitDLL.h:
3690
3691 2017-03-13  Per Arne Vollan  <pvollan@apple.com>
3692
3693         Unreviewed Win build fix.
3694         
3695         WebCore::CookiesStrategy::addCookie has been removed, we should also remove the override.
3696
3697         * WebCoreSupport/WebPlatformStrategies.cpp:
3698         (WebPlatformStrategies::addCookie): Deleted.
3699         (WebPlatformStrategies::addCookie): Deleted.
3700         * WebCoreSupport/WebPlatformStrategies.h:
3701
3702 2017-03-10  Brent Fulgham  <bfulgham@apple.com>
3703
3704         [Win] Re-export a few symbols for backwards compatibility
3705         https://bugs.webkit.org/show_bug.cgi?id=169490
3706         <rdar://problem/30983623>
3707
3708         Reviewed by Dean Jackson.
3709
3710         Re-introduce a workaround that re-exports a few JavaScriptCore functions
3711         that had been erroneously exported by WebKit in older builds. This
3712         is needed so that we do not break certain old software still being used.
3713
3714         * WebKitDLL.cpp:
3715         (DllMain): Bind functions at startup.
3716         (bindJavaScriptTrampoline): Find JavaScriptCore library functions and
3717         re-export them from WebKit.dll.
3718         * WebKitDLL.h: Only advertise these functions when building WebKt itself.
3719
3720 2017-03-06  Myles C. Maxfield  <mmaxfield@apple.com>
3721
3722         Expand font-weight and font-stretch to take any number
3723         https://bugs.webkit.org/show_bug.cgi?id=168889
3724
3725         Reviewed by Simon Fraser.
3726
3727         Migrate off old enum types.
3728
3729         * WebKitGraphics.cpp:
3730         (makeFont):
3731
3732 2017-03-02  Sam Weinig  <sam@webkit.org>
3733
3734         Rename htmlediting.h/cpp to Editing.h/cpp
3735         https://bugs.webkit.org/show_bug.cgi?id=169103
3736
3737         Reviewed by Alex Christensen.
3738
3739         * AccessibleTextImpl.cpp:
3740
3741 2017-03-01  Alex Christensen  <achristensen@webkit.org>
3742
3743         Actually fix Windows build.
3744
3745         * WebFrame.cpp:
3746         (WebFrame::invalidate):
3747         r213266 changed Style::Force to ResolveStyleType::Rebuild, so I did so here.
3748
3749 2017-03-01  Alex Christensen  <achristensen@webkit.org>
3750
3751         Fix Windows build after r213266
3752         https://bugs.webkit.org/show_bug.cgi?id=169049
3753
3754         * WebFrame.cpp:
3755         (WebFrame::invalidate):
3756
3757 2017-02-27  Per Arne Vollan  <pvollan@apple.com>
3758
3759         [Win] Http preload tests are failing.
3760         https://bugs.webkit.org/show_bug.cgi?id=168910
3761
3762         Reviewed by Alex Christensen.
3763
3764         The feature is not enabled.
3765
3766         * WebView.cpp:
3767         (WebView::notifyPreferencesChanged):
3768
3769 2017-02-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3770
3771         Better handle Thread and RunLoop initialization
3772         https://bugs.webkit.org/show_bug.cgi?id=167828
3773
3774         Reviewed by Yusuke Suzuki.
3775
3776         Remove unnecessary call to WTF::initializeMainThread().
3777
3778         * WebView.cpp:
3779         (WebView::WebView):
3780
3781 2017-02-20  Per Arne Vollan  <pvollan@apple.com>
3782
3783         [Win] Custom scale factor is not applied in all cases.
3784         https://bugs.webkit.org/show_bug.cgi?id=168117
3785
3786         Reviewed by Brent Fulgham.
3787
3788         We should not call the function deviceScaleFactorForWindow directly, since this
3789         will return the system scale factor, and ignore the custom scale factor.
3790
3791         * WebView.cpp:
3792         (WebView::handleContextMenuEvent):
3793         (WebView::handleMouseEvent):
3794         (WebView::setAcceleratedCompositing):
3795
3796 2017-02-16  Daniel Bates  <dabates@apple.com>
3797
3798         Remove Chromium-specific code to call FrameLoaderClient::redirectDataToPlugin(nullptr)
3799         https://bugs.webkit.org/show_bug.cgi?id=168417
3800         <rdar://problem/30541748>
3801
3802         Reviewed by Brent Fulgham.
3803
3804         Update override of FrameLoaderClient::redirectDataToPlugin() to take a Widget& instead of a
3805         Widget* as it is always called with a valid Widget.
3806
3807         * WebCoreSupport/WebFrameLoaderClient.cpp:
3808         (WebFrameLoaderClient::redirectDataToPlugin):
3809         * WebCoreSupport/WebFrameLoaderClient.h:
3810
3811 2017-02-15  Anders Carlsson  <andersca@apple.com>
3812
3813         Another attempt at fixing the Windows build.
3814
3815         * WebCoreSupport/WebDragClient.cpp:
3816         (WebDragClient::startDrag):
3817
3818 2017-02-15  Anders Carlsson  <andersca@apple.com>
3819
3820         Try to fix the Windows build.
3821
3822         * WebCoreSupport/WebDragClient.h:
3823
3824 2017-02-15  Anders Carlsson  <andersca@apple.com>
3825
3826         Modernize DragClient::startDrag somewhat
3827         https://bugs.webkit.org/show_bug.cgi?id=168379
3828
3829         Reviewed by Tim Horton.
3830
3831         Update for WebCore changes.
3832
3833         * WebCoreSupport/WebDragClient.cpp:
3834         (WebDragClient::startDrag):
3835
3836 2017-02-10  Daniel Bates  <dabates@apple.com>
3837
3838         Attempt to fix the WinCairo 64-Bit Release build following <https://trac.webkit.org/changeset/212173>
3839         (https://bugs.webkit.org/show_bug.cgi?id=166774)
3840
3841         Touch WebKit.idl in the hopes that it will cause CMake to regenerate the COM interface files.
3842
3843         * Interfaces/WebKit.idl:
3844
3845 2017-02-10  Daniel Bates  <dabates@apple.com>
3846
3847         Detach frame from document when entering page cache
3848         https://bugs.webkit.org/show_bug.cgi?id=166774
3849         <rdar://problem/29904368>
3850
3851         Reviewed by Chris Dumez.
3852
3853         * Interfaces/IWebPreferencesPrivate.idl:
3854         * WebPreferenceKeysPrivate.h:
3855         * WebPreferences.cpp:
3856         (WebPreferences::initializeDefaultSettings):
3857         (WebPreferences::setAllowsPageCacheWithWindowOpener): Deleted.
3858         (WebPreferences::allowsPageCacheWithWindowOpener): Deleted.
3859         * WebPreferences.h:
3860         * WebView.cpp:
3861         (WebView::notifyPreferencesChanged):
3862
3863 2017-02-10  Joseph Pecoraro  <pecoraro@apple.com>
3864
3865         [Resource Timing] Enable Resource Timing by default in Tests
3866         https://bugs.webkit.org/show_bug.cgi?id=168145
3867
3868         Reviewed by Ryosuke Niwa.
3869
3870         * Interfaces/IWebPreferencesPrivate.idl:
3871         * WebPreferenceKeysPrivate.h:
3872         * WebPreferences.cpp:
3873         (WebPreferences::initializeDefaultSettings):
3874         (WebPreferences::setResourceTimingEnabled):
3875         (WebPreferences::resourceTimingEnabled):
3876         * WebPreferences.h:
3877         * WebView.cpp:
3878         (WebView::notifyPreferencesChanged):
3879
3880 2017-02-06  Alex Christensen  <achristensen@webkit.org>
3881
3882         More build fixes after r211751
3883         https://bugs.webkit.org/show_bug.cgi?id=166998
3884
3885         * WebDownloadCFNet.cpp:
3886         (WebDownload::didReceiveAuthenticationChallenge):
3887
3888 2017-02-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
3889
3890         Rename AnimationController to CSSAnimationController
3891         https://bugs.webkit.org/show_bug.cgi?id=167829
3892
3893         Reviewed by Simon Fraser.
3894
3895         * WebFrame.cpp:
3896
3897 2017-02-02  Wenson Hsieh  <wenson_hsieh@apple.com>
3898
3899         Drag images should be anchored to the mouse location
3900         https://bugs.webkit.org/show_bug.cgi?id=167690
3901         <rdar://problem/30295261>
3902
3903         Reviewed by Enrica Casucci.
3904
3905         Adds some plumbing for the anchor point in the WK1 client layer.
3906
3907         * WebCoreSupport/WebDragClient.cpp:
3908         (WebDragClient::startDrag):
3909         * WebCoreSupport/WebDragClient.h:
3910
3911 2017-02-02  Per Arne Vollan  <pvollan@apple.com>
3912
3913         [Win][HiDPI] Scale factor is applied twice in accelerated compositing mode.
3914         https://bugs.webkit.org/show_bug.cgi?id=167732
3915
3916         Reviewed by Brent Fulgham.
3917
3918         Backing layer should not be scaled when CACFLayerSetContentsScale is used for scaling.
3919
3920         * WebView.cpp:
3921         (WebView::setAcceleratedCompositing):
3922
3923 2017-02-02  Chris Dumez  <cdumez@apple.com>
3924
3925         [Crash] com.apple.WebKit.WebContent at WebKit: WebKit::WebPage::fromCorePage()
3926         https://bugs.webkit.org/show_bug.cgi?id=167738
3927         <rdar://problem/30229990>
3928
3929         Reviewed by Andreas Kling.
3930
3931         The BackForwardClient no longer needs to worry about removing HistoryItems
3932         from the PageCache now that WebCore takes care of it.
3933
3934         * BackForwardList.cpp:
3935         (BackForwardList::close):
3936
3937 2017-01-28  Yoav Weiss  <yoav@yoav.ws>
3938
3939         Add Link Preload as an off-by-default experimental feature menu item.
3940         https://bugs.webkit.org/show_bug.cgi?id=167201
3941
3942         Reviewed by Ryosuke Niwa.
3943
3944         * WebPreferenceKeysPrivate.h:
3945         * WebPreferences.cpp:
3946         (WebPreferences::initializeDefaultSettings):
3947         (WebPreferences::valueForKey):
3948         (WebPreferences::setLinkPreloadEnabled):
3949         (WebPreferences::linkPreloadEnabled):
3950         * WebPreferences.h:
3951         * Interfaces/IWebPreferencesPrivate.idl:
3952
3953 2017-01-28  Joseph Pecoraro  <pecoraro@apple.com>
3954
3955         Add User Timing Experimental Feature
3956         https://bugs.webkit.org/show_bug.cgi?id=167542
3957         <rdar://problem/22746307>
3958
3959         Reviewed by Ryosuke Niwa.
3960
3961         * Interfaces/IWebPreferencesPrivate.idl:
3962         * WebPreferenceKeysPrivate.h:
3963         * WebPreferences.cpp:
3964         (WebPreferences::initializeDefaultSettings):
3965         (WebPreferences::setUserTimingEnabled):
3966         (WebPreferences::userTimingEnabled):
3967         * WebPreferences.h:
3968         * WebView.cpp:
3969         (WebView::notifyPreferencesChanged):
3970         Add setting for User Timing runtime enabled feature.
3971
3972 2017-01-26  Chris Dumez  <cdumez@apple.com>
3973
3974         Crash when navigating back to a page in PacheCache when one of its frames has been removed
3975         https://bugs.webkit.org/show_bug.cgi?id=167421
3976         <rdar://problem/30188490>
3977
3978         Reviewed by Darin Adler.
3979
3980         Add a new setting allowing layout tests to enable PageCache in a window
3981         that has an opener, for convenience.
3982
3983         * WebPreferenceKeysPrivate.h:
3984         * WebPreferences.cpp:
3985         (WebPreferences::initializeDefaultSettings):
3986         * WebPreferences.h:
3987
3988 2017-01-26  Keith Miller  <keith_miller@apple.com>
3989
3990         classInfo should take a VM so it is not materialized from the object on each call
3991         https://bugs.webkit.org/show_bug.cgi?id=167424
3992
3993         Rubber Stamped by Michael Saboff.
3994
3995         Previously, classInfo() would get the VM from the target's
3996         MarkedBlock.  Most callers already have a VM on hand, so it is
3997         wasteful to compute the VM from the marked block every time. This
3998         patch refactors some of the most common callers of classInfo(),
3999         jsDynamicCast and inherits to take a VM as well.
4000
4001         * WebFrame.cpp:
4002         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
4003         * WebView.cpp:
4004         (WebView::elementFromJS):
4005
4006 2017-01-26  Per Arne Vollan  <pvollan@apple.com>
4007
4008         Crash when setting custom scale factor.
4009         https://bugs.webkit.org/show_bug.cgi?id=167369
4010
4011         Reviewed by Sam Weinig.
4012
4013         Add null pointer check.
4014
4015         * WebView.cpp:
4016         (WebView::setCustomBackingScaleFactor):
4017
4018 2017-01-24  Youenn Fablet  <youennf@gmail.com>
4019
4020         [WebRTC] Introduce libwebrtc abstraction for WK1/WK2 implementations
4021         https://bugs.webkit.org/show_bug.cgi?id=167294
4022
4023         Reviewed by Alex Christensen.
4024
4025         * WebView.cpp:
4026         (WebView::initWithFrame):
4027
4028 2017-01-23  Chris Dumez  <cdumez@apple.com>
4029
4030         REGRESSION (r211033): ASSERTION FAILED: m_ptr in com.apple.WebCore: WTF::RefPtr<WebCore::Element>::operator* const + 70
4031         https://bugs.webkit.org/show_bug.cgi?id=167308
4032         <rdar://problem/30144964>
4033
4034         Unreviewed, do a partial revert of r211033 to fix assertion.
4035
4036         * WebCoreSupport/WebChromeClient.cpp:
4037         (WebChromeClient::exitFullScreenForElement):
4038
4039 2017-01-20  Darin Adler  <darin@apple.com>
4040
4041         Remove PassRefPtr from "page" directory of WebCore, also deploy references
4042         https://bugs.webkit.org/show_bug.cgi?id=167224
4043
4044         Reviewed by Chris Dumez.
4045
4046         * Plugins/PluginView.cpp:
4047         (WebCore::PluginView::status): Pass reference.
4048         (WebCore::PluginView::focusPluginElement): Ditto.
4049
4050         * WebCoreSupport/WebChromeClient.cpp:
4051         (WebChromeClient::createWindow): Updated for change to ChromeClient.
4052         (WebChromeClient::runBeforeUnloadConfirmPanel): Ditto.
4053         (WebChromeClient::runJavaScriptAlert): Ditto.
4054         (WebChromeClient::runJavaScriptConfirm): Ditto.
4055         (WebChromeClient::runJavaScriptPrompt): Ditto.
4056         (WebChromeClient::contentsSizeChanged): Ditto.
4057         (WebChromeClient::unavailablePluginButtonClicked): Ditto.
4058         (WebChromeClient::print): Ditto.
4059         (WebChromeClient::exceededDatabaseQuota): Ditto.
4060         (WebChromeClient::reachedApplicationCacheOriginQuota): Ditto.
4061         (WebChromeClient::attachRootGraphicsLayer): Ditto.
4062         (WebChromeClient::attachViewOverlayGraphicsLayer): Ditto.
4063         (WebChromeClient::enterVideoFullscreenForVideoElement): Ditto.
4064         (WebChromeClient::createPopupMenu): Ditto.
4065         (WebChromeClient::createSearchPopupMenu): Ditto.
4066         (WebChromeClient::supportsFullScreenForElement): Ditto.
4067         (WebChromeClient::enterFullScreenForElement): Ditto.
4068         (WebChromeClient::exitFullScreenForElement): Ditto.
4069         (WebChromeClient::shouldUseTiledBackingForFrameView): Ditto.
4070         * WebCoreSupport/WebChromeClient.h: Ditto.
4071
4072 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
4073
4074         Remove never changing IndexedDB RuntimeEnabledFeature
4075         https://bugs.webkit.org/show_bug.cgi?id=167278
4076
4077         Reviewed by Darin Adler.
4078
4079         * WebView.cpp:
4080         (WebView::notifyPreferencesChanged):
4081
4082 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
4083
4084         Cleanup RuntimeEnabledFeatures
4085         https://bugs.webkit.org/show_bug.cgi?id=167228
4086
4087         Reviewed by Simon Fraser.
4088
4089         * WebView.cpp:
4090         (WebView::notifyPreferencesChanged):
4091
4092 2017-01-20  Alex Christensen  <achristensen@webkit.org>
4093
4094         Build Fix for Windows DumpRenderTree after r210976
4095         https://bugs.webkit.org/show_bug.cgi?id=167115
4096
4097         * WebPreferences.h:
4098         Remove extra space.
4099         * IWebPreferencesPrivate.idl:
4100         Add new interface functions.
4101         * WebView.cpp:
4102         We use new functions that are only in IWebPreferencesPrivate4,
4103         so instantiate that COM object instead of version 3.
4104
4105 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
4106
4107         Build Fix for Windows DumpRenderTree after r210976
4108
4109         * WebPreferenceKeysPrivate.h:
4110         * WebPreferences.cpp:
4111         (WebPreferences::initializeDefaultSettings):
4112         (WebPreferences::setWebAnimationsEnabled):
4113         (WebPreferences::webAnimationsEnabled):
4114         * WebPreferences.h:
4115         * WebView.cpp:
4116         Add toggle APIs for WebAnimations.
4117
4118 2017-01-19  Chris Dumez  <cdumez@apple.com>
4119
4120         iterable<> should be enabled on WK1
4121         https://bugs.webkit.org/show_bug.cgi?id=167221
4122         <rdar://problem/30108531>
4123
4124         Reviewed by Youenn Fablet.
4125
4126         * Interfaces/IWebPreferencesPrivate.idl:
4127         * WebPreferenceKeysPrivate.h:
4128         * WebPreferences.cpp:
4129         (WebPreferences::setDOMIteratorEnabled): Deleted.
4130         (WebPreferences::domIteratorEnabled): Deleted.
4131         * WebPreferences.h:
4132         * WebView.cpp:
4133         (WebView::notifyPreferencesChanged):
4134
4135 2017-01-18  Alex Christensen  <achristensen@webkit.org>
4136
4137         Fix WinCairo build after r210845.
4138         https://bugs.webkit.org/show_bug.cgi?id=167055
4139
4140         * WebCoreSupport/WebFrameLoaderClient.cpp:
4141         * WebCoreSupport/WebFrameLoaderClient.h:
4142         shouldCacheResponse isn't used when loading with libcurl.
4143         It was dead code before Darin added "override".
4144         WebCore/FrameLoaderClient.h has this inside of USE(CFURLCONNECTION) macros, now we have them here, too.
4145
4146 2017-01-18  Andreas Kling  <akling@apple.com>
4147
4148         Document::securityOrigin() should return a reference.
4149         <https://webkit.org/b/167124>
4150
4151         Reviewed by Sam Weinig.
4152
4153         * Plugins/PluginView.cpp:
4154         (WebCore::PluginView::load):
4155         * WebCoreSupport/WebChromeClient.cpp:
4156         (WebChromeClient::exceededDatabaseQuota):
4157         * WebCoreSupport/WebFrameLoaderClient.cpp:
4158         (WebFrameLoaderClient::didRunInsecureContent):
4159         * WebCoreSupport/WebFrameLoaderClient.h:
4160         * WebCoreSupport/WebGeolocationClient.cpp:
4161         (WebGeolocationClient::requestPermission):
4162         * WebFrame.cpp:
4163         (WebFrame::allowsFollowingLink):
4164