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