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