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