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