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