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