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