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