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