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