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