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