Get rid of the HistoryItemVector typedef
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2016-10-13  Anders Carlsson  <andersca@apple.com>
2
3         Get rid of the HistoryItemVector typedef
4         https://bugs.webkit.org/show_bug.cgi?id=163398
5
6         Reviewed by Beth Dakin.
7
8         Expand the HistoryitemVector typedef instead to make it more clear what types we are dealing with.
9
10         * WebBackForwardList.cpp:
11         (WebBackForwardList::backListWithLimit):
12         (WebBackForwardList::forwardListWithLimit):
13         * WebHistoryItem.cpp:
14         (WebHistoryItem::children):
15
16 2016-10-12  Brent Fulgham  <bfulgham@apple.com>
17
18         [Win] Unreviewed build fix after r207218.
19
20         The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
21         It should be using USE(CFURLCONNECTION).
22
23         * WebCache.cpp: Missed one!
24
25 2016-10-12  Brent Fulgham  <bfulgham@apple.com>
26
27         [Win] Unreviewed build fix after r207218.
28
29         The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
30         It should be using USE(CFURLCONNECTION).
31
32         * WebCache.cpp:
33         (WebCache::cacheFolder):
34         (WebCache::setCacheFolder):
35
36 2016-10-12  Per Arne Vollan  <pvollan@apple.com>
37
38         [Win] Parallel DRTs are sharing preferences and cache.
39         https://bugs.webkit.org/show_bug.cgi?id=163013
40
41         Reviewed by Brent Fulgham.
42
43         Make it possible for a WebKit client to use separate preferences and cache.
44
45         * Interfaces/IWebPreferencesPrivate.idl:
46         * WebApplicationCache.cpp:
47         (applicationCachePath):
48         * WebCache.cpp:
49         (WebCache::cacheFolder):
50         (WebCache::setCacheFolder):
51         * WebDatabaseManager.cpp:
52         (databasesDirectory):
53         * WebPreferences.cpp:
54         (WebPreferences::applicationId):
55         (WebPreferences::valueForKey):
56         (WebPreferences::setValueForKey):
57         (WebPreferences::save):
58         (WebPreferences::QueryInterface):
59         (WebPreferences::modernMediaControlsEnabled):
60         (WebPreferences::setApplicationId):
61         * WebPreferences.h:
62         * WebView.cpp:
63         (WebView::setCacheModel):
64
65 2016-10-11  Alex Christensen  <achristensen@webkit.org>
66
67         Remove dead networking code
68         https://bugs.webkit.org/show_bug.cgi?id=163263
69
70         Reviewed by Daniel Bates.
71
72         * DefaultDownloadDelegate.h:
73         * WebCoreSupport/WebFrameLoaderClient.cpp:
74         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
75         * WebCoreSupport/WebFrameNetworkingContext.cpp:
76         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
77         * WebCoreSupport/WebFrameNetworkingContext.h:
78         * WebCoreSupport/WebPlatformStrategies.cpp:
79         * WebDownload.h:
80         * WebError.cpp:
81         (WebError::localizedDescription):
82         (WebError::sslPeerCertificate):
83         * WebError.h:
84         * WebMutableURLRequest.cpp:
85         (WebMutableURLRequest::mutableCopy):
86         * WebURLAuthenticationChallenge.cpp:
87         (WebURLAuthenticationChallenge::initWithProtectionSpace):
88         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
89         * WebURLResponse.cpp:
90         (WebURLResponse::sslPeerCertificate):
91         * WebURLResponse.h:
92         * WebView.cpp:
93         (WebView::setCacheModel):
94         (WebView::canHandleRequest):
95         (WebView::notifyPreferencesChanged):
96         (updateSharedSettingsFromPreferencesIfNeeded):
97
98 2016-10-11  Ryan Haddad  <ryanhaddad@apple.com>
99
100         Unreviewed, rolling out r207067.
101
102         This change caused webkitpy test failures.
103
104         Reverted changeset:
105
106         "[Win] Parallel DRTs are sharing preferences and cache."
107         https://bugs.webkit.org/show_bug.cgi?id=163013
108         http://trac.webkit.org/changeset/207067
109
110 2016-10-11  Per Arne Vollan  <pvollan@apple.com>
111
112         [Win] Parallel DRTs are sharing preferences and cache.
113         https://bugs.webkit.org/show_bug.cgi?id=163013
114
115         Reviewed by Brent Fulgham.
116
117         Make it possible for a WebKit client to use separate preferences and cache.
118
119         * Interfaces/IWebPreferencesPrivate.idl:
120         * WebApplicationCache.cpp:
121         (applicationCachePath):
122         * WebCache.cpp:
123         (WebCache::cacheFolder):
124         (WebCache::setCacheFolder):
125         * WebDatabaseManager.cpp:
126         (databasesDirectory):
127         * WebPreferences.cpp:
128         (WebPreferences::applicationId):
129         (WebPreferences::valueForKey):
130         (WebPreferences::setValueForKey):
131         (WebPreferences::save):
132         (WebPreferences::QueryInterface):
133         (WebPreferences::modernMediaControlsEnabled):
134         (WebPreferences::setApplicationId):
135         * WebPreferences.h:
136         * WebView.cpp:
137         (WebView::setCacheModel):
138
139 2016-10-09  Wenson Hsieh  <wenson_hsieh@apple.com>
140
141         Support InputEvent.inputType for the new InputEvent spec
142         https://bugs.webkit.org/show_bug.cgi?id=163025
143         <rdar://problem/28658092>
144
145         Reviewed by Darin Adler.
146
147         * WebCoreSupport/WebEditorClient.cpp:
148         (undoNameForEditAction):
149
150 2016-10-04  Brent Fulgham  <bfulgham@apple.com>
151
152         [Win][Direct2D] Connect WebCore/WebKit Drawing
153         https://bugs.webkit.org/show_bug.cgi?id=162924
154
155         Reviewed by Alex Christensen.
156
157         Update the Windows WebKit layer to optionally use the Direct2D
158         backend.
159
160         * FullscreenVideoController.cpp: Disable some CoreAnimation-based
161         accelerated compositing logic.
162         * FullscreenVideoController.h:
163         * WebFrame.cpp:
164         (WebFrame::spoolPages): Disable in Direct2D.
165         * WebView.cpp:
166         (WebView::ensureBackingStore): Add Direct2D logic.
167         (WebView::scrollBackingStore): Ditto.
168         (WebView::sizeChanged): Ditto.
169         (WebView::paintWithDirect2D): Added.
170         (WebView::WebViewWndProc): Call Direct2D paint routine.
171         * WebView.h:
172
173 2016-10-02  Darin Adler  <darin@apple.com>
174
175         Rename ExceptionCode-based exception handling to "legacy"
176         https://bugs.webkit.org/show_bug.cgi?id=162859
177
178         Reviewed by Chris Dumez.
179
180         * Interfaces/DOMEvents.idl: Let the script rename here (in a comment).
181
182 2016-09-29  Konstantin Tokarev  <annulen@yandex.ru>
183
184         Fixed compilation of PluginView when NETSCAPE_PLUGIN_API is disabled
185         https://bugs.webkit.org/show_bug.cgi?id=162725
186
187         Reviewed by Alex Christensen.
188
189         Fix for r206460, streamDidFinishLoading() does not override anything
190         when NETSCAPE_PLUGIN_API is disabled because PlugivView does not
191         inherit PluginStreamClient in this case.
192
193         * Plugins/PluginView.h:
194
195 2016-09-27  Konstantin Tokarev  <annulen@yandex.ru>
196
197         Use override specifiers in PluginView
198         https://bugs.webkit.org/show_bug.cgi?id=162628
199
200         Reviewed by Alex Christensen.
201
202         * Plugins/PluginView.h:
203
204 2016-09-23  Antoine Quint  <graouts@apple.com>
205
206         Add a new runtime flag for work on modern media controls (off by default)
207         https://bugs.webkit.org/show_bug.cgi?id=162420
208         <rdar://problem/27989489>
209
210         Reviewed by Eric Carlson.
211
212         * Interfaces/IWebPreferencesPrivate.idl:
213         * WebPreferenceKeysPrivate.h:
214         * WebPreferences.cpp:
215         (WebPreferences::setModernMediaControlsEnabled):
216         (WebPreferences::modernMediaControlsEnabled):
217         (WebPreferences::setCustomElementsEnabled): Deleted.
218         * WebPreferences.h:
219         * WebView.cpp:
220         (WebView::notifyPreferencesChanged):
221
222 2016-09-15  Brady Eidson  <beidson@apple.com>
223
224         WKWebView.hasOnlySecureContent always returns "YES" after going back to a CachedPage (even if it has http resources).
225         <rdar://problem/27681261> and https://bugs.webkit.org/show_bug.cgi?id=162043
226
227         Reviewed by Brent Fulgham. 
228
229         * WebCoreSupport/WebFrameLoaderClient.cpp:
230         (WebFrameLoaderClient::dispatchDidCommitLoad):
231         * WebCoreSupport/WebFrameLoaderClient.h:
232
233 2016-09-07  Mark Lam  <mark.lam@apple.com>
234
235         Add CatchScope and force all exception checks to be via ThrowScope or CatchScope.
236         https://bugs.webkit.org/show_bug.cgi?id=161498
237
238         Reviewed by Geoffrey Garen.
239
240         * Plugins/PluginPackage.cpp:
241         (WebCore::NPN_Evaluate):
242         (WebCore::NPN_Invoke):
243
244 2016-09-06  Per Arne Vollan  <pvollan@apple.com>
245
246         [Win] Null pointer crash under WebView::scrollOffset.
247         https://bugs.webkit.org/show_bug.cgi?id=161620
248
249         Reviewed by Darin Adler.
250
251         Added null pointer checks.
252
253         * WebView.cpp:
254         (WebView::scrollOffset):
255         (WebView::scrollBy):
256         (WebView::visibleContentRect):
257
258 2016-09-03  Darin Adler  <darin@apple.com>
259
260         Streamline DOMImplementation, and move it to our new DOM exception system
261         https://bugs.webkit.org/show_bug.cgi?id=161295
262
263         Reviewed by Ryosuke Niwa.
264
265         * WebFrame.cpp:
266         (WebFrame::canProvideDocumentSource): Updated to use isXMLMIMEType in its new
267         location in MIMETypeRegistry instead of in DOMImplementation.
268
269 2016-09-02  Ryosuke Niwa  <rniwa@webkit.org>
270
271         Build fix attempt after r205381.
272
273         * WebCoreSupport/WebEditorClient.h:
274
275 2016-08-31  Keith Rollin  <krollin@apple.com>
276
277         WebKit should set a subsystem for os_log so it's easier to filter for WebKit log messages
278         https://bugs.webkit.org/show_bug.cgi?id=160969
279         <rdar://problem/26068734>
280
281         Reviewed by Simon Fraser.
282
283         Enable subsystem- and channel-related data and functions when using
284         RELEASE_LOG macros. Use the DECLARE_LOG_CHANNEL, DEFINE_LOG_CHANNEL,
285         and LOG_CHANNEL_ADDRESS macros that are now defined in WTF.
286
287         * WebKitLogging.cpp:
288         * WebKitLogging.h:
289         * WebView.cpp:
290         (WebView::initWithFrame):
291
292 2016-08-16  Carlos Garcia Campos  <cgarcia@igalia.com>
293
294         [GTK] Accelerated compositing does not work in Wayland
295         https://bugs.webkit.org/show_bug.cgi?id=115803
296
297         Reviewed by Michael Catanzaro.
298
299         Update to the new GLContext API.
300
301         * WebCoreSupport/AcceleratedCompositingContext.cpp:
302         (AcceleratedCompositingContext::initialize):
303         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
304
305 2016-08-21  Alex Christensen  <achristensen@webkit.org>
306
307         Use Document& instead of Document* when getting cookies
308         https://bugs.webkit.org/show_bug.cgi?id=161011
309
310         Reviewed by Darin Adler.
311
312         * Plugins/PluginView.cpp:
313         (WebCore::PluginView::getValueForURL):
314
315 2016-08-16  Simon Fraser  <simon.fraser@apple.com>
316
317         Rename didLayout(LayoutMilestones) to didReachLayoutMilestone(), and related WK2 functions
318         https://bugs.webkit.org/show_bug.cgi?id=160923
319
320         Reviewed by Tim Horton.
321
322         didLayout(LayoutMilestones) -> didReachLayoutMilestone(LayoutMilestones)
323         dispatchDidLayout(LayoutMilestones) -> dispatchDidReachLayoutMilestone(LayoutMilestones)
324
325         * WebCoreSupport/WebFrameLoaderClient.cpp:
326         (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
327         (WebFrameLoaderClient::dispatchDidLayout): Deleted.
328         * WebCoreSupport/WebFrameLoaderClient.h:
329
330 2016-08-18  Anders Carlsson  <andersca@apple.com>
331
332         Move an NPAPI-only function from WebCore to WebKit
333         https://bugs.webkit.org/show_bug.cgi?id=160967
334
335         Reviewed by Sam Weinig.
336
337         * Plugins/PluginView.cpp:
338         (WebCore::PluginView::~PluginView):
339         (WebCore::PluginView::PluginView):
340         (WebCore::PluginView::getValue):
341         * Plugins/PluginView.h:
342
343 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
344
345         Remove unused includes of wtf headers
346         https://bugs.webkit.org/show_bug.cgi?id=160839
347
348         Reviewed by Alex Christensen.
349
350         * WebFrame.h:
351
352 2016-08-09  Alex Christensen  <achristensen@webkit.org>
353
354         Move NetworkStorageSession management to WebCore
355         https://bugs.webkit.org/show_bug.cgi?id=160173
356
357         Reviewed by Brady Eidson.
358
359         * WebCoreSupport/WebFrameNetworkingContext.cpp:
360         (identifierBase):
361         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
362         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
363         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
364         (WebFrameNetworkingContext::blockedError):
365         (WebFrameNetworkingContext::storageSession):
366         (privateSession): Deleted.
367         * WebCoreSupport/WebPlatformStrategies.cpp:
368         (WebPlatformStrategies::createPasteboardStrategy):
369         (WebPlatformStrategies::createBlobRegistry):
370
371 2016-08-09  Anders Carlsson  <andersca@apple.com>
372
373         Instantiate WebKit plug-ins at layout time, instead of at style resolution time
374         https://bugs.webkit.org/show_bug.cgi?id=160715
375
376         Reviewed by Tim Horton.
377
378         * WebCoreSupport/WebFrameLoaderClient.cpp:
379         (WebFrameLoaderClient::objectContentType):
380
381 2016-08-09  Per Arne Vollan  <pvollan@apple.com>
382
383         [Win] Crash in MiniBrowser.
384         https://bugs.webkit.org/show_bug.cgi?id=160686
385
386         Reviewed by Sam Weinig.
387
388         We need to specify a plugin info provider object in the page configuration.
389
390         * WebView.cpp:
391         (WebView::initWithFrame):
392
393 2016-08-09  Anders Carlsson  <andersca@apple.com>
394
395         Fix build.
396
397         * WebCoreSupport/WebPlatformStrategies.h:
398
399 2016-08-09  Anders Carlsson  <andersca@apple.com>
400
401         Get rid of PluginStrategy
402         https://bugs.webkit.org/show_bug.cgi?id=160696
403
404         Reviewed by Dan Bernstein.
405
406         * WebCoreSupport/WebPlatformStrategies.cpp:
407         (WebPlatformStrategies::createPluginStrategy): Deleted.
408
409 2016-08-09  Anders Carlsson  <andersca@apple.com>
410
411         Move plug-in enumeration from WebPlatformStrategies to WebPluginInfoProvider
412         https://bugs.webkit.org/show_bug.cgi?id=160694
413
414         Reviewed by Dan Bernstein.
415
416         * WebCoreSupport/WebPlatformStrategies.cpp:
417         (WebPlatformStrategies::createPluginStrategy):
418         (WebPlatformStrategies::refreshPlugins): Deleted.
419         (WebPlatformStrategies::getPluginInfo): Deleted.
420         (WebPlatformStrategies::getWebVisiblePluginInfo): Deleted.
421         * WebCoreSupport/WebPlatformStrategies.h:
422         * WebCoreSupport/WebPluginInfoProvider.cpp:
423         (WebPluginInfoProvider::refreshPlugins):
424         (WebPluginInfoProvider::getPluginInfo):
425         (WebPluginInfoProvider::getWebVisiblePluginInfo):
426
427 2016-08-08  Anders Carlsson  <andersca@apple.com>
428
429         Add a new PluginInfoProvider class, to replace PluginStrategy
430         https://bugs.webkit.org/show_bug.cgi?id=160670
431
432         Reviewed by Sam Weinig.
433
434         Add a new WebPluginInfoProvider - it just calls through to the plug-in strategy for now.
435
436         * WebCoreSupport/WebPluginInfoProvider.cpp: Added.
437         (WebPluginInfoProvider::singleton):
438         (WebPluginInfoProvider::WebPluginInfoProvider):
439         (WebPluginInfoProvider::~WebPluginInfoProvider):
440         (WebPluginInfoProvider::refreshPlugins):
441         (WebPluginInfoProvider::getPluginInfo):
442         (WebPluginInfoProvider::getWebVisiblePluginInfo):
443         * WebCoreSupport/WebPluginInfoProvider.h: Added.
444
445 2016-07-29  Csaba Osztrogon√°c  <ossy@webkit.org>
446
447         Remove PassRef.h after r177259
448         https://bugs.webkit.org/show_bug.cgi?id=160348
449
450         Reviewed by Andreas Kling.
451
452         * WebCoreSupport/WebVisitedLinkStore.h:
453
454 2016-07-27  Alex Christensen  <achristensen@webkit.org>
455
456         Fix Win debug build after r203749.
457
458         * WebView.cpp:
459
460 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
461
462         Allow LOG macros to be used outside the namespace, and other logging cleanup
463         https://bugs.webkit.org/show_bug.cgi?id=160216
464
465         Reviewed by Anders Carlsson.
466
467         Fix some issues with the LOG macros.
468         
469         First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
470         its log channels outside of the namespace (they are protected by a unique prefix anyway).
471         
472         Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
473         into LogMacros.h, which is exported from WebCore as a private header.
474         
475         Third, split the Logging.h header into two. Logging.h remains for framework-internal
476         log channels and log macros. Add LogInitialization.h which is external, and used to
477         initialize the channels.
478         
479         Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
480
481         * WebKitLogging.cpp:
482         * WebKitLogging.h:
483         * WebView.cpp:
484         (WebView::initWithFrame):
485
486 2016-07-23  Chris Dumez  <cdumez@apple.com>
487
488         Unreviewed, fix Windows build after r203623.
489
490         * DOMCoreClasses.cpp:
491         (DOMDocument::getComputedStyle):
492
493 2016-07-22  Per Arne Vollan  <pvollan@apple.com>
494
495         IWebView::mainFrame crashes if called after IWebView::close
496         https://bugs.webkit.org/show_bug.cgi?id=32868
497
498         Reviewed by Brent Fulgham.
499
500         After deleting the page in WebView::close the mainframe object may be deleted. 
501          
502         Test: Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp (CloseThenGetMainFrame).
503
504         * WebView.cpp:
505         (WebView::close): set mainframe pointer member to null. 
506
507 2016-07-19  Per Arne Vollan  <pvollan@apple.com>
508
509         [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
510         https://bugs.webkit.org/show_bug.cgi?id=159342
511
512         Reviewed by Darin Adler.
513
514         * WebFrame.h: Link fix. 
515
516 2016-07-17  Sam Weinig  <sam@webkit.org>
517
518         [WebKit API] Add SPI to track multiple navigations caused by a single user gesture
519         <rdar://problem/26554137>
520         https://bugs.webkit.org/show_bug.cgi?id=159856
521
522         Reviewed by Dan Bernstein.
523
524         * Plugins/PluginView.cpp:
525         (WebCore::PluginView::performRequest):
526         * WebCoreSupport/WebContextMenuClient.cpp:
527         (WebContextMenuClient::searchWithGoogle):
528         Update for new UserGestureIndicator interface.
529
530 2016-07-16  Ryosuke Niwa  <rniwa@webkit.org>
531
532         Rename fastGetAttribute to attributeWithoutSynchronization
533         https://bugs.webkit.org/show_bug.cgi?id=159852
534
535         Reviewed by Darin Adler.
536
537         * DOMHTMLClasses.cpp:
538         (DOMHTMLElement::idName):
539
540 2016-07-15  Chris Dumez  <cdumez@apple.com>
541
542         Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible
543         https://bugs.webkit.org/show_bug.cgi?id=159793
544
545         Reviewed by Ryosuke Niwa.
546
547         Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible, for performance.
548
549         * DOMHTMLClasses.cpp:
550         (DOMHTMLElement::idName):
551
552 2016-07-14  Chris Dumez  <cdumez@apple.com>
553
554         Use emptyString() instead of "" when possible
555         https://bugs.webkit.org/show_bug.cgi?id=159789
556
557         Reviewed by Alex Christensen.
558
559         Use emptyString() instead of "" when possible to reduce String allocations.
560
561         * Plugins/PluginView.cpp:
562         (WebCore::parseRFC822HeaderFields):
563
564 2016-07-14  Alex Christensen  <achristensen@webkit.org>
565
566         Use SocketProvider to create SocketStreamHandles
567         https://bugs.webkit.org/show_bug.cgi?id=159774
568
569         Reviewed by Brady Eidson.
570
571         * WebSocketProvider.cpp: Removed.
572         * WebSocketProvider.h: Removed.
573         * WebView.cpp: Replaced WebSocketProvider with SocketProvider as we did in WebCore.
574
575 2016-07-14  Csaba Osztrogon√°c  <ossy@webkit.org>
576
577         Fix the !ENABLE(WEB_SOCKETS) build after r202930
578         https://bugs.webkit.org/show_bug.cgi?id=159768
579
580         Reviewed by Alex Christensen.
581
582         * WebSocketProvider.h:
583
584 2016-07-11  Enrica Casucci  <enrica@apple.com>
585
586         Build fix.
587
588         Unreviewed.
589
590         * WebDropSource.cpp:
591         (generateMouseEvent):
592
593 2016-07-11  Enrica Casucci  <enrica@apple.com>
594
595         Add synthetic click origin to WKNavigationAction.
596         https://bugs.webkit.org/show_bug.cgi?id=159584
597         rdar://problem/25610422
598
599         Reviewed by Tim Horton.
600
601         * WebDropSource.cpp:
602         (generateMouseEvent):
603
604 2016-07-07  Alex Christensen  <achristensen@webkit.org>
605
606         Fix Windows build after r202930.
607         https://bugs.webkit.org/show_bug.cgi?id=158776
608
609         * WebView.cpp:
610         (WebView::initWithFrame):
611
612 2016-07-07  Alex Christensen  <achristensen@webkit.org>
613
614         Use SocketProvider to create WebSocketChannels
615         https://bugs.webkit.org/show_bug.cgi?id=158776
616
617         Reviewed by Brent Fulgham.
618
619         * WebSocketProvider.cpp: Copied from Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp.
620         (WebSocketProvider::createWebSocketChannel):
621         (WebCore::ThreadableWebSocketChannel::create): Deleted.
622         * WebSocketProvider.h:
623
624 2016-07-06  Per Arne Vollan  <pvollan@apple.com>
625
626         [Win] Add null pointer check in gesture handling.
627         https://bugs.webkit.org/show_bug.cgi?id=159454
628
629         Reviewed by Brent Fulgham.
630
631         * WebView.cpp:
632         (WebView::gesture):
633
634 2016-07-01  Per Arne Vollan  <pvollan@apple.com>
635
636         ASSERTION FAILED: info.bmBitsPixel == 32
637         https://bugs.webkit.org/show_bug.cgi?id=17737
638
639         Reviewed by Brent Fulgham.
640
641         The ::SelectObject call will fail if m_backingStoreBitmap is already selected into a device context.
642         This happens when this method is called indirectly from WebView::updateBackingStore during normal
643         painting. There is no point continuing, since we would just be scrolling a 1x1 bitmap which is
644         selected into the device context by default. We can just scroll by repainting the scroll rectangle.
645
646         * WebView.cpp:
647         (WebView::scrollBackingStore): Invalidate the scroll rectangle if the ::SelectObject call fails.
648
649 2016-07-01  Youenn Fablet  <youennf@gmail.com>
650
651         Add a runtime flag for DOM iterators
652         https://bugs.webkit.org/show_bug.cgi?id=159300
653
654         Reviewed by Alex Christensen.
655
656         * WebPreferenceKeysPrivate.h:
657         * WebPreferences.cpp:
658         (WebPreferences::domIteratorEnabled):
659         (WebPreferences::setDOMIteratorEnabled):
660         (WebView::notifyPreferencesChanged):
661         * WebPreferencesreferences.h:
662         * WebView.cpp:
663         (WebView::notifyPreferencesChanged):
664
665 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
666
667         [Win] Custom elements tests are failing.
668         https://bugs.webkit.org/show_bug.cgi?id=159139
669
670         Reviewed by Alex Christensen.
671
672         Add preference for enabling custom element API.
673
674         * Interfaces/IWebPreferencesPrivate.idl:
675         * WebPreferenceKeysPrivate.h:
676         * WebPreferences.cpp:
677         (WebPreferences::initializeDefaultSettings):
678         (WebPreferences::customElementsEnabled):
679         (WebPreferences::setCustomElementsEnabled):
680         * WebPreferences.h:
681         * WebView.cpp:
682         (WebView::notifyPreferencesChanged):
683
684 2016-06-23  Per Arne Vollan  <pvollan@apple.com>
685
686         [Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
687         https://bugs.webkit.org/show_bug.cgi?id=159057
688
689         Reviewed by Brent Fulgham.
690
691         The test expects the label to have a static text role, but currently it has a
692         group role.
693  
694         * AccessibleBase.cpp:
695         (MSAARole): Change the role of labels to static text.
696
697 2016-06-23  Alex Christensen  <achristensen@webkit.org>
698
699         Remove unused didCancelAuthenticationChallenge
700         https://bugs.webkit.org/show_bug.cgi?id=158819
701
702         Reviewed by David Kilzer.
703
704         * WebCoreSupport/WebFrameLoaderClient.cpp:
705         (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge): Deleted.
706         * WebCoreSupport/WebFrameLoaderClient.h:
707
708 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
709
710         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
711         https://bugs.webkit.org/show_bug.cgi?id=158934
712
713         Reviewed by Brent Fulgham.
714
715         Add a method to delete all indexed databases.
716
717         * Interfaces/IWebDatabaseManager.idl:
718         * WebDatabaseManager.cpp:
719         (WebDatabaseManager::QueryInterface):
720         (WebDatabaseManager::deleteAllIndexedDatabases):
721         * WebDatabaseManager.h:
722
723 2016-06-17  Per Arne Vollan  <pvollan@apple.com>
724
725         [Win] Rendering is not scaled correctly if process is DPI aware.
726         https://bugs.webkit.org/show_bug.cgi?id=158781
727
728         Reviewed by Brent Fulgham.
729
730         Scale the root graphics layer with the device scale factor.
731
732         * WebView.cpp:
733         (WebView::setAcceleratedCompositing):
734
735 2016-06-15  Chris Dumez  <cdumez@apple.com>
736
737         Drop some unnecessary header includes
738         https://bugs.webkit.org/show_bug.cgi?id=158788
739
740         Reviewed by Alexey Proskuryakov.
741
742         Drop some unnecessary header includes in headers to speed up build time.
743
744         * Plugins/PluginView.cpp:
745
746 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
747
748         Enabling Shadow DOM for all platforms
749         https://bugs.webkit.org/show_bug.cgi?id=158738
750
751         Reviewed by Ryosuke Niwa.
752
753         Removed Shadow DOM from options (enabled by default)
754         (comprises removal of corresponding preprocessor directives)
755
756         * WebView.cpp:
757
758 2016-06-13  Alex Christensen  <achristensen@webkit.org>
759
760         Add WebSocketProvider stub
761         https://bugs.webkit.org/show_bug.cgi?id=158702
762
763         Reviewed by Brady Eidson.
764
765         * WebSocketProvider.h: Added.
766         * WebView.cpp:
767         (WebView::initWithFrame):
768
769 2016-06-10  Alex Christensen  <achristensen@webkit.org>
770
771         Introduce WTF::UniqueRef
772         https://bugs.webkit.org/show_bug.cgi?id=158596
773
774         Reviewed by Brady Eidson.
775
776         * WebView.cpp:
777         (WebView::initWithFrame):
778
779 2016-06-09  Alex Christensen  <achristensen@webkit.org>
780
781         Fix Windows build.
782
783         * WebKit.resources/resource.h: Removed.
784         * resource.h: Copied from WebKit.resources/resource.h.
785
786 2016-06-09  Alex Christensen  <achristensen@webkit.org>
787
788         Actually fix Windows build after r201894
789         https://bugs.webkit.org/show_bug.cgi?id=158588
790
791         * WebView.cpp:
792         (WebView::initWithFrame):
793
794 2016-06-09  Alex Christensen  <achristensen@webkit.org>
795
796         Clean up WebKit.vcxproj directory after switching to CMake.
797
798         * WebKit.resources/resource.h: Copied from WebKit.vcxproj/WebKit/resource.h.
799
800 2016-06-09  Alex Christensen  <achristensen@webkit.org>
801
802         Unreviewed build fix after r201894
803         https://bugs.webkit.org/show_bug.cgi?id=158588
804
805         * WebCoreSupport/WebEditorClient.cpp:
806         (WebEditorClient::~WebEditorClient):
807         (WebEditorClient::isContinuousSpellCheckingEnabled):
808         (WebEditorClient::pageDestroyed): Deleted.
809         * WebCoreSupport/WebEditorClient.h:
810         * WebView.cpp:
811         (WebView::initWithFrame):
812
813 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
814
815         [Win] Shadow DOM tests are failing.
816         https://bugs.webkit.org/show_bug.cgi?id=158524
817
818         Reviewed by Brent Fulgham.
819
820         Add preference for enabling Shadow DOM.
821
822         * Interfaces/IWebPreferencesPrivate.idl:
823         * WebPreferenceKeysPrivate.h:
824         * WebPreferences.cpp:
825         (WebPreferences::initializeDefaultSettings):
826         (WebPreferences::shadowDOMEnabled):
827         (WebPreferences::setShadowDOMEnabled):
828         * WebPreferences.h:
829         * WebView.cpp:
830         (WebView::notifyPreferencesChanged):
831
832 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
833
834         [Win][IndexedDB] Crash when running worker test.
835         https://bugs.webkit.org/show_bug.cgi?id=158434
836
837         Reviewed by Alex Christensen.
838
839         Initialize main runloop, otherwise RunLoop::main() will return nullptr.
840
841         * WebView.cpp:
842         (WebView::WebView):
843
844 2016-06-03  Chris Dumez  <cdumez@apple.com>
845
846         Unreviewed, roll out r196633 as it broke PageCache on iOS for WebKit.org
847         <rdar://problem/26521101>
848
849         * WebCoreSupport/WebVisitedLinkStore.cpp:
850         (WebVisitedLinkStore::removeAllVisitedLinks):
851         (WebVisitedLinkStore::addVisitedLinkHash):
852
853 2016-06-03  Per Arne Vollan  <pvollan@apple.com>
854
855         [Win] Implement WebView::removeAllUserContentFromGroup
856         https://bugs.webkit.org/show_bug.cgi?id=158343
857
858         Reviewed by Brent Fulgham.
859
860         * WebView.cpp:
861         (WebView::removeAllUserContentFromGroup):
862
863 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
864
865         [Win] Fetch API tests are failing.
866         https://bugs.webkit.org/show_bug.cgi?id=158296
867
868         Reviewed by Alex Christensen.
869
870         Add preference for enabling Fetch API.
871
872         * Interfaces/IWebPreferencesPrivate.idl:
873         * WebPreferenceKeysPrivate.h:
874         * WebPreferences.cpp:
875         (WebPreferences::initializeDefaultSettings):
876         (WebPreferences::fetchAPIEnabled):
877         (WebPreferences::setFetchAPIEnabled):
878         * WebPreferences.h:
879         * WebView.cpp:
880         (WebView::notifyPreferencesChanged):
881
882 2016-06-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
883
884         Use more references in ResourceLoader related code
885         https://bugs.webkit.org/show_bug.cgi?id=158222
886
887         Reviewed by Darin Adler.
888
889         * Plugins/PluginStream.cpp:
890         (WebCore::PluginStream::start):
891
892 2016-06-01  Per Arne Vollan  <pvollan@apple.com>
893
894         [Win] Potential null pointer crash when setting cursor.
895         https://bugs.webkit.org/show_bug.cgi?id=158225
896
897         Reviewed by Alex Christensen.
898
899         Check return value of Cursor::platformCursor().
900
901         * WebCoreSupport/WebChromeClient.cpp:
902         (WebChromeClient::setCursor):
903
904 2016-05-31  Yusuke Suzuki  <utatane.tea@gmail.com>
905
906         Unreviewed, roll out r201481, r201523: 0.3% regression in Octane code-load
907         https://bugs.webkit.org/show_bug.cgi?id=158249
908
909         * Interfaces/IWebPreferencesPrivate.idl:
910
911 2016-05-27  Caitlin Potter  <caitp@igalia.com>
912
913         [JSC] implement async functions proposal
914         https://bugs.webkit.org/show_bug.cgi?id=156147
915
916         Reviewed by Yusuke Suzuki.
917
918         * Interfaces/IWebPreferencesPrivate.idl:
919
920 2016-05-23  Chris Dumez  <cdumez@apple.com>
921
922         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
923         https://bugs.webkit.org/show_bug.cgi?id=157882
924
925         Reviewed by Darin Adler.
926
927         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
928         instead of hardcoding them in the bindings generator.
929
930         * DOMEventsClasses.cpp:
931         (WebEventListener::operator==):
932         * DOMEventsClasses.h:
933
934 2016-05-20  Joseph Pecoraro  <pecoraro@apple.com>
935
936         Remove LegacyProfiler
937         https://bugs.webkit.org/show_bug.cgi?id=153565
938
939         Reviewed by Saam Barati.
940
941         * Interfaces/IWebInspector.idl:
942         * WebCoreStatistics.cpp:
943         * WebInspector.cpp:
944         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
945         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
946         * WebInspector.h:
947         * WebView.cpp:
948
949 2016-05-16  Joseph Pecoraro  <pecoraro@apple.com>
950
951         Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail.
952
953         * Interfaces/IWebInspector.idl:
954         * WebCoreStatistics.cpp:
955         * WebInspector.cpp:
956         (WebInspector::isJavaScriptProfilingEnabled):
957         (WebInspector::setJavaScriptProfilingEnabled):
958         * WebInspector.h:
959         * WebView.cpp:
960
961 2016-05-14  Joseph Pecoraro  <pecoraro@apple.com>
962
963         Remove LegacyProfiler
964         https://bugs.webkit.org/show_bug.cgi?id=153565
965
966         Reviewed by Mark Lam.
967
968         * Interfaces/IWebInspector.idl:
969         * WebView.cpp:
970         * WebInspector.cpp:
971         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
972         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
973         * WebInspector.h:
974
975 2016-05-12  Konstantin Tokarev  <annulen@yandex.ru>
976
977         Use reference instead of pointer in FrameLoaderClient::saveViewStateToItem.
978         https://bugs.webkit.org/show_bug.cgi?id=157624
979
980         Reviewed by Darin Adler.
981
982         * WebCoreSupport/WebFrameLoaderClient.cpp:
983         (WebFrameLoaderClient::saveViewStateToItem):
984         * WebCoreSupport/WebFrameLoaderClient.h:
985
986 2016-05-11  Chris Dumez  <cdumez@apple.com>
987
988         Update Node::appendChild() / replaceChild() / removeChild() / insertBefore() to take references instead of pointers
989         https://bugs.webkit.org/show_bug.cgi?id=157556
990
991         Reviewed by Darin Adler.
992
993         * DOMCoreClasses.cpp:
994         (DOMNode::insertBefore):
995         (DOMNode::removeChild):
996
997 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
998
999         [GTK] accessibility/aria-readonly.html is failing
1000         https://bugs.webkit.org/show_bug.cgi?id=98357
1001
1002         Reviewed by Chris Fleizach.
1003
1004         Call AccessibilityNode::canSetValueAttribute() to determine if STATE_SYSTEM_READONLY
1005         should be added and if editable text should be supported.
1006
1007         * AccessibleBase.cpp:
1008         (AccessibleBase::state):
1009         * AccessibleTextImpl.cpp:
1010         (AccessibleText::deleteText):
1011         (AccessibleText::insertText):
1012         (AccessibleText::cutText):
1013         (AccessibleText::pasteText):
1014         (AccessibleText::replaceText):
1015
1016 2016-05-09  Fujii Hironori  <Hironori.Fujii@sony.com>
1017
1018         [wincairo] web inspector failed to launch in MiniBrowser
1019         https://bugs.webkit.org/show_bug.cgi?id=156184
1020         <rdar://problem/25539297>
1021
1022         Reviewed by Alex Christensen.
1023
1024         * WebCoreSupport/WebInspectorClient.cpp:
1025         (WebInspectorClient::openLocalFrontend): Enable
1026         AllowFileAccessFromFileURLs and AllowUniversalAccessFromFileURLs
1027         of WebPreferences for Web Inspector.
1028
1029 2016-05-06  Joseph Pecoraro  <pecoraro@apple.com>
1030
1031         Rename HitTestRequest DisallowShadowContent to DisallowUserAgentShadowContent
1032         https://bugs.webkit.org/show_bug.cgi?id=157447
1033
1034         Reviewed by Ryosuke Niwa.
1035
1036         * WebView.cpp:
1037         (WebView::gestureNotify):
1038
1039 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
1040
1041         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
1042         https://bugs.webkit.org/show_bug.cgi?id=157331
1043
1044         Reviewed by Chris Fleizach.
1045
1046         As part of this change, the WebCore DocumentRegionRole AccessibilityRole has
1047         been renamed to LandmarkRegionRole. Update MSAARole() to use the new name.
1048
1049         * AccessibleBase.cpp:
1050         (MSAARole):
1051
1052 2016-04-25  Per Arne Vollan  <peavo@outlook.com>
1053
1054         [Win][IndexedDB] Fix build errors.
1055         https://bugs.webkit.org/show_bug.cgi?id=156713
1056
1057         Reviewed by Alex Christensen.
1058
1059         Fix compile and link errors when building with IndexedDB enabled.
1060
1061         * WebView.cpp:
1062         (WebView::notifyPreferencesChanged):
1063         * storage: Added.
1064         * storage/WebDatabaseProvider.cpp: Added.
1065         (WebDatabaseProvider::indexedDatabaseDirectoryPath):
1066
1067 2016-04-22  Brent Fulgham  <bfulgham@apple.com>
1068
1069         Unreviewed build fix after 4199841.
1070
1071         * WebApplicationCache.cpp:
1072         (WebApplicationCache::WebApplicationCache): Provide missing preference key definition.
1073
1074 2016-04-21  Anders Carlsson  <andersca@apple.com>
1075
1076         Add a missing space, as noticed by Darin.
1077
1078         * WebApplicationCache.cpp:
1079         (applicationCachePath):
1080
1081 2016-04-21  Anders Carlsson  <andersca@apple.com>
1082
1083         Stop using ApplicationCacheStorage::singleton() on Windows
1084         https://bugs.webkit.org/show_bug.cgi?id=156861
1085
1086         Reviewed by Darin Adler.
1087
1088         * WebApplicationCache.cpp:
1089         (applicationCachePath):
1090         (WebApplicationCache::storage):
1091         * WebApplicationCache.h:
1092         * WebCache.cpp:
1093         (WebCache::empty):
1094         * WebView.cpp:
1095         (WebView::initWithFrame):
1096         (WebKitSetApplicationCachePathIfNecessary): Deleted.
1097
1098 2016-04-15  Brent Fulgham  <bfulgham@apple.com>
1099
1100         CSP: Make dynamically-added favicons (via link rel="icon") obey Content-Security-Policy
1101         https://bugs.webkit.org/show_bug.cgi?id=153151
1102         <rdar://problem/24383176>
1103
1104         Reviewed by Darin Adler.
1105
1106         Remove the unused dynamic favicon code and tests.
1107
1108         * WebCoreSupport/WebFrameLoaderClient.cpp:
1109         (WebFrameLoaderClient::dispatchDidChangeIcons): Deleted.
1110         * WebCoreSupport/WebFrameLoaderClient.h:
1111
1112 2016-04-15  Darin Adler  <darin@apple.com>
1113
1114         Reduce use of Deprecated::ScriptXXX classes
1115         https://bugs.webkit.org/show_bug.cgi?id=156632
1116
1117         Reviewed by Alex Christensen.
1118
1119         * Plugins/PluginView.cpp:
1120         (WebCore::PluginView::performRequest): Use JSValue.
1121         * WebFrame.cpp:
1122         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): Ditto.
1123         * WebView.cpp:
1124         (WebView::stringByEvaluatingJavaScriptFromString): Ditto.
1125
1126 2016-04-11  Darin Adler  <darin@apple.com>
1127
1128         Remove UsePointersEvenForNonNullableObjectArguments from HTMLSelectElement
1129         https://bugs.webkit.org/show_bug.cgi?id=156458
1130
1131         Reviewed by Chris Dumez.
1132
1133         * DOMCoreClasses.cpp: Added now-needed include.
1134
1135 2016-04-11  Gavin Barraclough  <barraclough@apple.com>
1136
1137         WebKit should adopt journal_mode=wal for all SQLite databases.
1138         https://bugs.webkit.org/show_bug.cgi?id=133496
1139
1140         Reviewed by Darin Adler.
1141
1142         * WebDatabaseManager.cpp:
1143         (WebDatabaseManager::deleteAllDatabases):
1144             - renamed deleteAllDatabases -> deleteAllDatabasesImmediately.
1145
1146 2016-04-08  Joanmarie Diggs  <jdiggs@igalia.com>
1147
1148         AX: "AXLandmarkApplication" is an inappropriate subrole for ARIA "application" since it's no longer a landmark
1149         https://bugs.webkit.org/show_bug.cgi?id=155403
1150
1151         Reviewed by Chris Fleizach.
1152
1153         The new subrole is AXWebApplication and the new role description is "web application".
1154         As part of the fix, the WebCore AccessibilityRole for ARIA's "application" role was
1155         renamed from LandmarkApplicationRole to WebApplicationRole.
1156
1157         The roles-exposed.html and aria-grouping-roles.html test expectations were also updated.
1158
1159         * AccessibleBase.cpp: Update the rolename
1160         (MSAARole):
1161
1162 2016-04-07  Brian Burg  <bburg@apple.com>
1163
1164         CookieJar should support adding synthetic cookies for developer tools
1165         https://bugs.webkit.org/show_bug.cgi?id=156091
1166         <rdar://problem/25581340>
1167
1168         Reviewed by Timothy Hatcher.
1169
1170         * WebCoreSupport/WebPlatformStrategies.h:
1171         * WebCoreSupport/WebPlatformStrategies.cpp:
1172         Add new method override.
1173
1174 2016-03-24  Said Abou-Hallawa  <sabouhallawa@apple,com>
1175
1176         Change NativeImagePtr for CG to be RetainPtr<CGImageRef>
1177         https://bugs.webkit.org/show_bug.cgi?id=155412
1178
1179         Reviewed by Darin Adler.
1180
1181         * Plugins/PluginView.h:
1182         * Plugins/PluginViewWin.cpp:
1183         (WebCore::PluginView::snapshot):
1184         Replace PassRefPtr with RefPtr.
1185
1186 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
1187
1188         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
1189         https://bugs.webkit.org/show_bug.cgi?id=141499
1190
1191         Reviewed by Brent Fulgham.
1192
1193         As we have moved on to VS2015, this workaround is no longer needed.
1194
1195         * WebKitDLL.cpp:
1196         (DllMain):
1197
1198 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com> 
1199
1200         [Win] Connect layoutTestController.findString() to support testing 
1201         https://bugs.webkit.org/show_bug.cgi?id=50234
1202
1203         Reviewed by Alex Christensen.
1204
1205         Implement WebView::findString to support testing efforts.
1206
1207         * Interfaces/IWebViewPrivate.idl: Add API declaration.
1208         * WebView.cpp:
1209         * WebView.h:
1210
1211 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
1212
1213         Unreviewed, rolling out r196951 and r197031.
1214
1215         Revert also WinCairo follow ups after r196803
1216
1217         Reverted changesets:
1218
1219         "[WinCairo] Compile fix."
1220         https://bugs.webkit.org/show_bug.cgi?id=154545
1221         http://trac.webkit.org/changeset/196951
1222
1223         "[WinCairo] Mark layer as non composited."
1224         https://bugs.webkit.org/show_bug.cgi?id=154640
1225         http://trac.webkit.org/changeset/197031
1226
1227 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
1228
1229         Unreviewed, rolling out r197693.
1230
1231         197031
1232
1233         Reverted changeset:
1234
1235         "[WinCairo][AcceleratedCompositing] Rendering issues on
1236         www.bbc.com."
1237         https://bugs.webkit.org/show_bug.cgi?id=154912
1238         http://trac.webkit.org/changeset/197693
1239
1240 2016-03-15  Brent Fulgham  <bfulgham@apple.com>
1241
1242         [Win] Correct double-release of CFURLConnectionRef
1243         https://bugs.webkit.org/show_bug.cgi?id=155515
1244         <rdar://problem/25159143>
1245
1246         Reviewed by Tim Horton.
1247
1248         Tested by http/tests/download suite.
1249
1250         * WebDownloadCFNet.cpp: Remove extra CFRelease.
1251
1252 2016-03-14  Per Arne Vollan  <peavo@outlook.com>
1253
1254         [WinCairo] Compile fix.
1255         https://bugs.webkit.org/show_bug.cgi?id=155463
1256
1257         Reviewed by Alex Christensen.
1258
1259         Get the NetworkStorageSession object from the document in the same way as other platforms do.
1260
1261         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1262         (WebFrameNetworkingContext::storageSession):
1263         * WebCoreSupport/WebFrameNetworkingContext.h:
1264         (WebFrameNetworkingContext::storageSession):
1265
1266 2016-03-14  Joonghun Park  <jh718.park@samsung.com>
1267
1268         Purge PassRefPtr from ArrayBuffer, ArchiveResource, Pasteboard, LegacyWebArchive and DataObjectGtk
1269         https://bugs.webkit.org/show_bug.cgi?id=150497
1270
1271         Reviewed by Darin Adler.
1272
1273         * WebArchive.cpp:
1274         (WebArchive::initWithNode):
1275
1276 2016-03-12  Sam Weinig  <sam@webkit.org>
1277
1278         WebKit can easily crash below NetworkSession::dataTaskForIdentifier() with NSURLSession enabled
1279         <rdar://problem/25129946>
1280         https://bugs.webkit.org/show_bug.cgi?id=155401
1281
1282         Reviewed by Alex Christensen.
1283
1284         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1285         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
1286         Pass a SessionID to NetworkStorageSession::createPrivateBrowsingSession().
1287
1288 2016-03-10  Jer Noble  <jer.noble@apple.com>
1289
1290         Unreviewed build fix after r197953; correct the settings added in r197953.
1291
1292         * WebView.cpp:
1293         (WebView::notifyPreferencesChanged):
1294
1295 2016-03-10  Jer Noble  <jer.noble@apple.com>
1296
1297         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
1298         https://bugs.webkit.org/show_bug.cgi?id=155141
1299
1300         Reviewed by Beth Dakin.
1301
1302         * WebView.cpp:
1303         (WebView::notifyPreferencesChanged):
1304
1305 2016-03-07  Per Arne Vollan  <peavo@outlook.com>
1306
1307         [WinCairo][AcceleratedCompositing] Rendering issues on www.bbc.com.
1308         https://bugs.webkit.org/show_bug.cgi?id=154912
1309
1310         Reviewed by Michael Catanzaro.
1311
1312         If we have a scroll layer, we should not include the scroll position in the visible rectangle,
1313         since the scroll position is already reflected in the position of the scroll layer.
1314
1315         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1316         (AcceleratedCompositingContext::flushPendingLayerChanges):
1317
1318 2016-03-06  Gavin Barraclough  <barraclough@apple.com>
1319
1320         Convert DOMTimer to std::chrono::milliseconds
1321         https://bugs.webkit.org/show_bug.cgi?id=155085
1322
1323         Reviewed by Andreas Kling.
1324
1325         DOMTimer currently uses a mix of millisecond (was int, now std::chrono) and second (as double)
1326         time values. Constant conversion back and forth is a complete mess. Stop that.
1327
1328         * WebView.cpp:
1329         (WebView::setMinimumTimerInterval):
1330             - Convert double argument into std::chrono::milliseconds.
1331
1332 2016-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1333
1334         [ES6] Support Reflect.construct
1335         https://bugs.webkit.org/show_bug.cgi?id=147330
1336
1337         Reviewed by Saam Barati.
1338
1339         * Plugins/PluginPackage.cpp:
1340         (WebCore::NPN_Invoke):
1341
1342 2016-02-24  Per Arne Vollan  <peavo@outlook.com>
1343
1344         [WinCairo] Mark layer as non composited.
1345         https://bugs.webkit.org/show_bug.cgi?id=154640
1346
1347         Reviewed by Alex Christensen.
1348
1349         We need to mark the non composited layer as being non composited.
1350
1351         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1352         (AcceleratedCompositingContext::initialize):
1353         (AcceleratedCompositingContext::flushPendingLayerChanges):
1354
1355 2016-02-22  Per Arne Vollan  <peavo@outlook.com>
1356
1357         [WinCairo] Compile fix.
1358         https://bugs.webkit.org/show_bug.cgi?id=154545
1359
1360         Reviewed by Alex Christensen.
1361
1362         Add missing parameter to GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
1363
1364         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1365         (AcceleratedCompositingContext::flushPendingLayerChanges):
1366
1367 2016-02-21  Darin Adler  <darin@apple.com>
1368
1369         Refactor LazyEventListener creation to separate Element and Document cases
1370         https://bugs.webkit.org/show_bug.cgi?id=154231
1371
1372         Reviewed by Andreas Kling.
1373
1374         * WebView.h: Forward declare KeyboardEvent.
1375
1376 2016-02-16  Andreas Kling  <akling@apple.com>
1377
1378         Drop StyleResolver and SelectorQueryCache when entering PageCache.
1379         <https://webkit.org/b/154238>
1380
1381         Reviewed by Antti Koivisto.
1382
1383         * WebCoreSupport/WebVisitedLinkStore.cpp:
1384         (WebVisitedLinkStore::removeAllVisitedLinks): Deleted.
1385         (WebVisitedLinkStore::addVisitedLinkHash): Deleted.
1386
1387 2016-02-14  Chris Dumez  <cdumez@apple.com>
1388
1389         Unreviewed Window build fix.
1390
1391         * WebCoreStatistics.cpp:
1392         * WebJavaScriptCollector.cpp:
1393
1394 2016-02-12  Jiewen Tan  <jiewen_tan@apple.com>
1395
1396         WebKit should expose the DOM 4 Event.isTrusted property
1397         https://bugs.webkit.org/show_bug.cgi?id=76121
1398         <rdar://problem/22558494>
1399
1400         Reviewed by Darin Adler.
1401
1402         * DOMCoreClasses.cpp:
1403         (DOMNode::dispatchEvent):
1404         (DOMWindow::dispatchEvent):
1405
1406 2016-02-11  Antti Koivisto  <antti@apple.com>
1407
1408         Try to fix windows build.
1409
1410         * DOMCoreClasses.cpp:
1411         (DOMElement::style):
1412         (DOMElement::offsetLeft):
1413
1414 2016-02-06  Darin Adler  <darin@apple.com>
1415
1416         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
1417         https://bugs.webkit.org/show_bug.cgi?id=153905
1418
1419         Reviewed by Sam Weinig.
1420
1421         * Plugins/PluginDatabase.cpp:
1422         (WebCore::PluginDatabase::pluginForMIMEType): Use ASCII case-insensitive map rather
1423         than lowercasing the MIME type.
1424         (WebCore::PluginDatabase::setPreferredPluginForMIMEType): Ditto.
1425
1426         * Plugins/PluginDatabase.h: Make m_preferredPlugins use an ASCII case-insensitive hash.
1427
1428         * Plugins/PluginPackage.h: Use ASCII case-insensitive hash for maps keyed by MIME type.
1429
1430         * Plugins/PluginPackageWin.cpp:
1431         (WebCore::PluginPackage::fetchInfo): Use convertToASCIILowercase to lowercase a MIME type.
1432
1433 2016-02-04  Joseph Pecoraro  <pecoraro@apple.com>
1434
1435         Web Inspector: InspectorTimelineAgent doesn't need to recompile functions because it now uses the sampling profiler
1436         https://bugs.webkit.org/show_bug.cgi?id=153500
1437         <rdar://problem/24352458>
1438
1439         Reviewed by Timothy Hatcher.
1440
1441         * WebInspector.cpp:
1442         (WebInspector::isJavaScriptProfilingEnabled):
1443         (WebInspector::setJavaScriptProfilingEnabled):
1444         Switch to the new API names.
1445
1446 2016-01-31  Darin Adler  <darin@apple.com>
1447
1448         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1449         https://bugs.webkit.org/show_bug.cgi?id=153639
1450
1451         Reviewed by Filip Pizlo.
1452
1453         * WebCoreStatistics.cpp:
1454         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
1455         These names are all ASCII.
1456
1457         * WebURLResponse.cpp:
1458         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
1459         field names. These names are all ASCII.
1460
1461 2016-01-30  Commit Queue  <commit-queue@webkit.org>
1462
1463         Unreviewed, rolling out r195911.
1464         https://bugs.webkit.org/show_bug.cgi?id=153723
1465
1466         Caused frequent assertion failures on bots (Requested by ap on
1467         #webkit).
1468
1469         Reverted changeset:
1470
1471         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
1472         https://bugs.webkit.org/show_bug.cgi?id=153639
1473         http://trac.webkit.org/changeset/195911
1474
1475 2016-01-30  Commit Queue  <commit-queue@webkit.org>
1476
1477         Unreviewed, rolling out r195799 and r195828.
1478         https://bugs.webkit.org/show_bug.cgi?id=153722
1479
1480         Caused assertion failures, severely affecting EWS (Requested
1481         by ap on #webkit).
1482
1483         Reverted changesets:
1484
1485         "Web Inspector: InspectorTimelineAgent doesn't need to
1486         recompile functions because it now uses the sampling profiler"
1487         https://bugs.webkit.org/show_bug.cgi?id=153500
1488         http://trac.webkit.org/changeset/195799
1489
1490         "Attempt to fix the Windows build after r195799"
1491         http://trac.webkit.org/changeset/195828
1492
1493 2016-01-30  Darin Adler  <darin@apple.com>
1494
1495         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1496         https://bugs.webkit.org/show_bug.cgi?id=153639
1497
1498         Reviewed by Filip Pizlo.
1499
1500         * WebCoreStatistics.cpp:
1501         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
1502         These names are all ASCII.
1503
1504         * WebURLResponse.cpp:
1505         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
1506         field names. These names are all ASCII.
1507
1508 2016-01-29  Ryan Haddad  <ryanhaddad@apple.com>
1509
1510         Attempt to fix the Windows build after r195799
1511
1512         Unreviewed build fix.
1513
1514         * WebInspector.cpp:
1515         (WebInspector::isJavaScriptProfilingEnabled):
1516         (WebInspector::setJavaScriptProfilingEnabled):
1517
1518 2016-01-28  Darin Adler  <darin@apple.com>
1519
1520         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
1521         https://bugs.webkit.org/show_bug.cgi?id=153411
1522
1523         Reviewed by Ryosuke Niwa.
1524
1525         * Plugins/PluginDatabase.cpp:
1526         (WebCore::PluginDatabase::MIMETypeForExtension): Use equalIgnoringASCIICase to compare
1527         file extensions.
1528         * Plugins/PluginDatabaseWin.cpp:
1529         (WebCore::PluginDatabase::getPluginPathsInDirectories): Use equalLettersIgnoringASCIICase
1530         to compare filenames.
1531         * Plugins/PluginPackageWin.cpp:
1532         (WebCore::PluginPackage::isPluginBlacklisted): Use equalLettersIgnoringASCIICase to
1533         compare DLL filenames.
1534         * Plugins/PluginStream.cpp:
1535         (WebCore::PluginStream::destroyStream): Use equalLettersIgnoringASCIICase to check HTTP method.
1536         * Plugins/PluginView.cpp:
1537         (WebCore::PluginView::setParameters): Use equalLettersIgnoringASCIICase to check
1538         plug-in parameter name.
1539         * WebView.cpp:
1540         (WebView::canHandleRequest): Use URL::protocolIs instead of equalIgnoringCase.
1541
1542 2016-01-22  Ryosuke Niwa  <rniwa@webkit.org>
1543
1544         document.createElement should be able to create a custom element
1545         https://bugs.webkit.org/show_bug.cgi?id=153173
1546
1547         Reviewed by Darin Adler.
1548
1549         Use createElementForBindings here since this is a C++ binding for Windows.
1550
1551         * DOMCoreClasses.cpp:
1552         (DOMDocument::createElement):
1553
1554 2016-01-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1555
1556         Reduce PassRefPtr uses in dom - 4
1557         https://bugs.webkit.org/show_bug.cgi?id=153270
1558
1559         Reviewed by Darin Adler.
1560
1561         As a step to remove PassRefPtr uses, this patch reduces the uses in WebCore/dom.
1562
1563         * Plugins/PluginView.cpp:
1564         (WebCore::PluginView::focusPluginElement):
1565
1566 2016-01-17  Ada Chan  <adachan@apple.com>
1567
1568         Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
1569         https://bugs.webkit.org/show_bug.cgi?id=153220
1570
1571         Reviewed by Eric Carlson.
1572
1573         * WebCoreSupport/WebChromeClient.cpp:
1574         (WebChromeClient::supportsVideoFullscreen):
1575         * WebCoreSupport/WebChromeClient.h:
1576
1577 2016-01-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1578
1579         Remove PassRefPtr from ResourceRequest and FormData
1580         https://bugs.webkit.org/show_bug.cgi?id=153229
1581
1582         Reviewed by Chris Dumez.
1583
1584         * WebMutableURLRequest.cpp:
1585         (WebMutableURLRequest::setHTTPBody):
1586
1587 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
1588
1589         Remove GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon()
1590         https://bugs.webkit.org/show_bug.cgi?id=153174
1591
1592         Reviewed by Zalan Bujtas.
1593
1594         GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon() were
1595         poorly named (non-convex polygons are allowed), and just syntactic sugar over
1596         clipPath() and drawPath().
1597         
1598         Remove them, but add a convenience function to create a Path from a Vector of 
1599         points. For CG, we can use the more efficient CGPathAddLines().
1600
1601         * FullscreenVideoController.cpp:
1602         (HUDSlider::draw):
1603
1604 2016-01-05  Per Arne Vollan  <peavo@outlook.com>
1605
1606         [WinCairo] Download should use header values from provided request object.
1607         https://bugs.webkit.org/show_bug.cgi?id=152694
1608
1609         Reviewed by Alex Christensen.
1610
1611         Copy header values from request object parameter.
1612
1613         * WebDownloadCurl.cpp:
1614         (WebDownload::initWithRequest):
1615
1616 2015-12-31  Andy Estes  <aestes@apple.com>
1617
1618         Replace WTF::move with WTFMove
1619         https://bugs.webkit.org/show_bug.cgi?id=152601
1620
1621         Reviewed by Brady Eidson.
1622
1623         * Plugins/PluginStream.cpp:
1624         (WebCore::PluginStream::willSendRequest):
1625         * Plugins/PluginView.cpp:
1626         (WebCore::PluginView::requestTimerFired):
1627         (WebCore::PluginView::scheduleRequest):
1628         (WebCore::PluginView::handlePost):
1629         * WebCoreSupport/WebFrameLoaderClient.cpp:
1630         (WebFrameLoaderClient::createDocumentLoader):
1631         * WebCoreSupport/WebInspectorClient.cpp:
1632         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1633         * WebHistory.cpp:
1634         (createUserInfoFromArray):
1635         * WebHistoryItem.cpp:
1636         (WebHistoryItem::initFromDictionaryRepresentation):
1637         * WebView.cpp:
1638         (WebView::addToDirtyRegion):
1639         (WebView::scrollBackingStore):
1640         (WebView::loadBackForwardListFromOtherView):
1641         (WebView::addUserScriptToGroup):
1642         (WebView::addUserStyleSheetToGroup):
1643
1644 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
1645
1646         Fix Windows build.
1647
1648         * WebView.cpp:
1649         (WebView::scrollOffset):
1650
1651 2015-12-25  David Kilzer  <ddkilzer@apple.com>
1652
1653         ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
1654         <http://webkit.org/b/146391>
1655
1656         Reviewed by Antti Koivisto.
1657
1658         * WebCoreSupport/WebFrameLoaderClient.cpp:
1659         (WebFrameLoaderClient::cancelledError):
1660         (WebFrameLoaderClient::blockedError):
1661         (WebFrameLoaderClient::cannotShowURLError):
1662         (WebFrameLoaderClient::interruptedForPolicyChangeError):
1663         (WebFrameLoaderClient::cannotShowMIMETypeError):
1664         (WebFrameLoaderClient::fileDoesNotExistError):
1665         (WebFrameLoaderClient::pluginWillHandleLoadError):
1666         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
1667         (WebFrameLoaderClient::createJavaAppletWidget):
1668         * WebDownloadCFNet.cpp:
1669         (WebDownload::cancelAuthenticationChallenge):
1670         * WebError.cpp:
1671         (WebError::init):
1672         - Update for type change of 'failingURL' argument to
1673           ResourceError().
1674
1675 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
1676
1677         Web Inspector: add support for running protocol-test.js tests on Windows
1678         https://bugs.webkit.org/show_bug.cgi?id=148037
1679         <rdar://problem/22292237>
1680
1681         Reviewed by Simon Fraser.
1682
1683         Provide API for WebKit.dll clients to request its CFBundleRef.
1684         
1685         * WebKitCOMAPI.cpp:
1686         (webKitBundle): Added.
1687         * WebKitCOMAPI.h:
1688
1689 2015-12-20  Dan Bernstein  <mitz@apple.com>
1690
1691         Remove unused setToolbarHeight
1692         https://bugs.webkit.org/show_bug.cgi?id=152466
1693
1694         Reviewed by Darin Adler.
1695
1696         * WebCoreSupport/WebInspectorClient.cpp:
1697         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
1698         * WebCoreSupport/WebInspectorClient.h:
1699
1700 2015-12-15  Zan Dobersek  <zdobersek@igalia.com>
1701
1702         [TexMap] Operate with a reference to the TextureMapper wherever possible
1703         https://bugs.webkit.org/show_bug.cgi?id=152118
1704
1705         Reviewed by Martin Robinson.
1706
1707         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1708         (AcceleratedCompositingContext::compositeLayersToContext): TextureMapper object
1709         is now operated with through a reference.
1710
1711 2015-12-01  Darin Adler  <darin@apple.com>
1712
1713         Fix anomaly where isMouseEvent returns false for wheel events
1714         https://bugs.webkit.org/show_bug.cgi?id=151685
1715
1716         Reviewed by Alexey Proskuryakov.
1717
1718         * DOMEventsClasses.cpp:
1719         (DOMEvent::createInstance): Use eventInterface instead of isMouseEvent to create the appropriate
1720         wrapper class.
1721
1722 2015-11-24  Per Arne Vollan  <peavo@outlook.com>
1723
1724         [Win] Implement methods to get and set inner html.
1725         https://bugs.webkit.org/show_bug.cgi?id=151569
1726
1727         Reviewed by Alex Christensen.
1728
1729         * DOMHTMLClasses.cpp:
1730         (DOMHTMLElement::innerHTML):
1731         (DOMHTMLElement::setInnerHTML):
1732         (DOMHTMLElement::innerText):
1733
1734 == Rolled over to ChangeLog-2015-11-21 ==