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