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