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