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