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