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