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