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