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