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