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