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