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