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