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