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