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