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