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