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