b7a1a1354a28ab04f1cf07f8854865ba563218cc
[WebKit-https.git] / Source / WebKitLegacy / win / ChangeLog
1 2017-08-22  Brent Fulgham  <bfulgham@apple.com>
2
3         Unreviewed build fix after r221017.
4
5         * WebCoreSupport/WebPlatformStrategies.cpp:
6         (WebPlatformStrategies::cookiesForDOM): Update for new signature.
7         * WebCoreSupport/WebPlatformStrategies.h:
8
9 2017-08-22  Alex Christensen  <achristensen@webkit.org>
10
11         Remove ChromeClient::scrollbarsModeDidChange
12         https://bugs.webkit.org/show_bug.cgi?id=175805
13
14         Reviewed by Daniel Bates.
15
16         * WebCoreSupport/WebChromeClient.h:
17
18 2017-08-22  Alex Christensen  <achristensen@webkit.org>
19
20         Remove ChromeClient::hasOpenedPopup
21         https://bugs.webkit.org/show_bug.cgi?id=175804
22
23         Reviewed by Sam Weinig.
24
25         * WebCoreSupport/WebChromeClient.cpp:
26         (WebChromeClient::hasOpenedPopup const): Deleted.
27         * WebCoreSupport/WebChromeClient.h:
28
29 2017-08-18  Per Arne Vollan  <pvollan@apple.com>
30
31         [Win] accessibility/heading-crash-after-hidden.html is a flaky crash.
32         https://bugs.webkit.org/show_bug.cgi?id=173536
33
34         Reviewed by Brent Fulgham.
35
36         If the tree state is dirty, accessible objects are deleted while iterating over children
37         under AccessibilityNodeObject::textUnderElement when the style is updated. Make sure the
38         style is updated before this method is called.
39
40         * AccessibleBase.cpp:
41         (AccessibleBase::getAccessibilityObjectForChild):
42
43 2017-08-17  Don Olmstead  <don.olmstead@sony.com>
44
45         [PAL] Move SessionID into PAL
46         https://bugs.webkit.org/show_bug.cgi?id=174192
47
48         Reviewed by Antti Koivisto.
49
50         * WebCoreSupport/WebFrameLoaderClient.cpp:
51         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
52         * WebCoreSupport/WebFrameLoaderClient.h:
53         * WebCoreSupport/WebFrameNetworkingContext.cpp:
54         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
55         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
56         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
57         (WebFrameNetworkingContext::storageSession const):
58         * WebCoreSupport/WebPlatformStrategies.cpp:
59         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
60         * WebCoreSupport/WebPlatformStrategies.h:
61
62 2017-08-15  Youenn Fablet  <youenn@apple.com>
63
64         [Cache API] Adding generic support for CacheStorage and Cache methods
65         https://bugs.webkit.org/show_bug.cgi?id=175455
66
67         Reviewed by Chris Dumez.
68
69         * WebView.cpp:
70         (WebView::initWithFrame):
71
72 2017-08-13  Manuel Rego Casasnovas  <rego@igalia.com>
73
74         Composition underline color is always black
75         https://bugs.webkit.org/show_bug.cgi?id=174675
76
77         Reviewed by Ryosuke Niwa.
78
79         * WebView.cpp:
80         (WebView::setCompositionForTesting): Use text color for
81         composition underline.
82
83 2017-08-09  Daniel Bates  <dabates@apple.com>
84
85         REGRESSION (r219013): OAuth flows are broken when redirecting back to application after authentication
86         https://bugs.webkit.org/show_bug.cgi?id=175247
87         <rdar://problem/33679804>
88
89         Reviewed by Brady Eidson.
90
91         Plumb knowledge of whether a navigation was in response to receiving a redirect response.
92         We do not actually make use of this knowledge in WebKitLegacy because we do not know of any
93         clients that need to make use of this information at this time. If such a needs comes up
94         then we can expose API/SPI similar to what we do for WebKit.
95
96         * WebCoreSupport/WebFrameLoaderClient.cpp:
97         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
98         * WebCoreSupport/WebFrameLoaderClient.h:
99
100 2017-07-25  Said Abou-Hallawa  <sabouhallawa@apple.com>
101
102         Async image decoding for large images should be disabled after the first time a tile is painted
103         https://bugs.webkit.org/show_bug.cgi?id=174451
104         <rdar://problem/31246421>
105
106         Reviewed by Simon Fraser.
107
108         * FullscreenVideoController.cpp:
109         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
110         * WebCoreSupport/AcceleratedCompositingContext.cpp:
111         (AcceleratedCompositingContext::paintContents):
112         * WebCoreSupport/AcceleratedCompositingContext.h:
113
114 2017-07-23  Darin Adler  <darin@apple.com>
115
116         More NeverDestroyed and related cleanup
117         https://bugs.webkit.org/show_bug.cgi?id=174745
118
119         Reviewed by Alex Christensen.
120
121         * Plugins/PluginDatabase.cpp:
122         (WebCore::persistentPluginMetadataCachePath): Use NeverDestroyed
123         instead of DEPRECATED_DEFINE_STATIC_LOCAL.
124         * Plugins/PluginMainThreadScheduler.cpp:
125         (WebCore::PluginMainThreadScheduler::scheduler): Ditto.
126         * Plugins/PluginMainThreadScheduler.h: Ditto.
127         * WebCoreSupport/WebPlatformStrategies.cpp:
128         (WebPlatformStrategies::initialize): Ditto.
129         * WebCoreSupport/WebPlatformStrategies.h: Ditto.
130         * WebHistory.cpp:
131         (sharedHistoryStorage): Ditto.
132         * WebLocalizableStrings.cpp:
133         (mainBundleLocStrings): Ditto.
134         (frameworkLocStringsMutex): Ditto.
135         (frameworkLocStrings): Ditto.
136         * WebView.cpp:
137         (WebView::standardUserAgentWithApplicationName): Ditto.
138         Also changed to keep one global string with the prefix of the user agent string
139         instead of keeping two globals with pieces of that prefix.
140
141 2017-07-24  Chris Dumez  <cdumez@apple.com>
142
143         Make ExceptionCode a proper enumeration
144         https://bugs.webkit.org/show_bug.cgi?id=174771
145
146         Reviewed by Sam Weinig.
147
148         Make ExceptionCode a proper enumeration instead of a typedef to uint8_t.
149
150         * DOMCoreClasses.cpp:
151         (DOMDocument::createEvent):
152         * WebView.cpp:
153         (WebView::prepareCandidateWindow):
154
155 2017-07-21  Andreas Kling  <akling@apple.com>
156
157         Use more references in event dispatch code
158         https://bugs.webkit.org/show_bug.cgi?id=174681
159
160         Reviewed by Geoffrey Garen.
161
162         * DOMEventsClasses.cpp:
163         (WebEventListener::handleEvent):
164         * DOMEventsClasses.h:
165         * Plugins/PluginView.cpp:
166         (WebCore::PluginView::handleEvent):
167         * Plugins/PluginView.h:
168
169 2017-07-20  Brady Eidson  <beidson@apple.com>
170
171         Remove WebIconDatabase from WebKitLegacy/win.
172         https://bugs.webkit.org/show_bug.cgi?id=174608
173
174         Reviewed by Alex Christensen.
175
176         It is unused.
177         
178         * ForEachCoClass.h:
179
180         * Interfaces/IWebIconDatabase.idl: Removed.
181
182         * Interfaces/WebKit.idl:
183
184         * WebCoreStatistics.cpp:
185         (WebCoreStatistics::iconPageURLMappingCount):
186         (WebCoreStatistics::iconRetainedPageURLCount):
187         (WebCoreStatistics::iconRecordCount):
188         (WebCoreStatistics::iconsWithDataCount):
189
190         * WebIconDatabase.cpp: Removed.
191         * WebIconDatabase.h: Removed.
192         * WebKitClassFactory.cpp:
193
194         * WebKitDLL.cpp:
195         (shutDownWebKit):
196
197         * WebKitLogging.h:
198
199         * WebView.cpp:
200         (WebView::close):
201         (WebView::notifyDidAddIcon):
202         (WebView::registerForIconNotification):
203         (WebView::dispatchDidReceiveIconFromWebFrame):
204         (WebView::onNotify):
205
206 2017-07-18  Matt Lewis  <jlewis3@apple.com>
207
208         Unreviewed, rolling out r219610.
209
210         This caused an api failure on all platforms for the test
211         SnapshotImageLargeAsyncDecoding
212
213         Reverted changeset:
214
215         "Async image decoding for large images should be disabled
216         after the first time a tile is painted"
217         https://bugs.webkit.org/show_bug.cgi?id=174451
218         http://trac.webkit.org/changeset/219610
219
220 2017-07-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
221
222         Async image decoding for large images should be disabled after the first time a tile is painted
223         https://bugs.webkit.org/show_bug.cgi?id=174451
224
225         Reviewed by Simon Fraser.
226
227         * FullscreenVideoController.cpp:
228         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
229         * WebCoreSupport/AcceleratedCompositingContext.cpp:
230         (AcceleratedCompositingContext::paintContents):
231         * WebCoreSupport/AcceleratedCompositingContext.h:
232
233 2017-07-14  Basuke Suzuki  <Basuke.Suzuki@sony.com>
234
235         [Curl] Don't start downloading more than once for same request
236         https://bugs.webkit.org/show_bug.cgi?id=174172
237
238         Reviewed by Alex Christensen.
239
240         * WebDownloadCurl.cpp:
241         (WebDownload::init):
242
243 2017-07-12  Daniel Bates  <dabates@apple.com>
244
245         Rename NavigationInitiatedByMainFrame to InitiatedByMainFrame
246         https://bugs.webkit.org/show_bug.cgi?id=174427
247
248         Rubber-stamped by Brady Eidson.
249
250         * Plugins/PluginView.cpp:
251         (WebCore::PluginView::start):
252         (WebCore::PluginView::getURLNotify):
253         (WebCore::PluginView::getURL):
254         (WebCore::PluginView::handlePost):
255
256 2017-07-05  Don Olmstead  <don.olmstead@sony.com>
257
258         [WTF] Move SoftLinking.h into WTF
259         https://bugs.webkit.org/show_bug.cgi?id=174000
260
261         Reviewed by Alex Christensen.
262
263         * WebKitClassFactory.cpp:
264         * WebView.cpp:
265
266 2017-07-05  Brady Eidson  <beidson@apple.com>
267
268         Allow navigations in subframes to get a ShouldOpenExternalURLsPolicy of "ShouldAllow".
269         <rdar://problem/22485589> and https://bugs.webkit.org/show_bug.cgi?id=174178
270
271         Reviewed by Alex Christensen.
272
273         Adopt to the new constructor for FrameLoadRequest.
274
275         * Plugins/PluginView.cpp:
276         (WebCore::PluginView::start):
277         (WebCore::PluginView::getURLNotify):
278         (WebCore::PluginView::getURL):
279         (WebCore::PluginView::handlePost):
280
281 2017-07-03  Brady Eidson  <beidson@apple.com>
282
283         Switch all WebKit API related to favicons from WebIconDatabase over to new WebCore::IconLoader mechanism.
284         https://bugs.webkit.org/show_bug.cgi?id=174073
285
286         Reviewed by Andy Estes.
287
288         * WebCoreSupport/WebFrameLoaderClient.cpp:
289         (WebFrameLoaderClient::dispatchDidReceiveIcon): Deleted.
290         (WebFrameLoaderClient::registerForIconNotification): Deleted.
291         * WebCoreSupport/WebFrameLoaderClient.h:
292
293 2017-07-01  Ryosuke Niwa  <rniwa@webkit.org>
294
295         Frame.h doesn't need to include FrameLoader.h, IntRect.h, and NavigationScheduler.h
296         https://bugs.webkit.org/show_bug.cgi?id=174004
297
298         Reviewed by Simon Fraser.
299
300         * WebCoreSupport/WebFrameLoaderClient.cpp:
301         (WebFrameLoaderClient::transitionToCommittedForNewPage):
302
303 2017-06-30  Daniel Bates  <dabates@apple.com>
304
305         API::FrameInfo should know the web page that contains the frame; add API property webView to WKFrameInfo
306         https://bugs.webkit.org/show_bug.cgi?id=165160
307         <rdar://problem/29451999>
308
309         Reviewed by Brady Eidson.
310
311         Pass the document that is requesting the load to the loader.
312
313         * Plugins/PluginView.cpp:
314         (WebCore::PluginView::start):
315         (WebCore::PluginView::getURLNotify):
316         (WebCore::PluginView::getURL):
317         (WebCore::PluginView::handlePost):
318
319 2017-06-27  Wenson Hsieh  <wenson_hsieh@apple.com>
320
321         Refactor drag start codepaths to plumb a DragItem to client layers
322         https://bugs.webkit.org/show_bug.cgi?id=173832
323         Work towards <rdar://problem/32236827>
324
325         Reviewed by Ryosuke Niwa and Tim Horton.
326
327         Adjust for changes to WebDragClient::startDrag by pulling information out of DragItem.
328
329         * WebCoreSupport/WebDragClient.cpp:
330         (WebDragClient::startDrag):
331         * WebCoreSupport/WebDragClient.h:
332
333 2017-06-25  Konstantin Tokarev  <annulen@yandex.ru>
334
335         Remove excessive headers from JavaScriptCore
336         https://bugs.webkit.org/show_bug.cgi?id=173812
337
338         Reviewed by Darin Adler.
339
340         * Plugins/PluginPackage.cpp:
341
342 2017-06-22  Daniel Bates  <dabates@apple.com>
343
344         Make FrameLoadRequest a move-only type
345         https://bugs.webkit.org/show_bug.cgi?id=173682
346
347         Reviewed by Alex Christensen and Darin Adler.
348
349         A FrameLoadRequest groups together the information to perform a load into a single object
350         that is more manageable to pass around than its constituent parts. Code that receives a
351         FrameLoadRequest is expected to extract out the information it needs to complete its task.
352         And it does not make sense to re-use the same FrameLoadRequest object for more than one
353         load. Therefore, it is sufficient to make FrameLoadRequest a move-only type.
354
355         * Plugins/PluginView.cpp:
356         (WebCore::PluginView::start):
357         (WebCore::PluginView::performRequest):
358         (WebCore::PluginView::load):
359         (WebCore::PluginView::getURLNotify):
360         (WebCore::PluginView::getURL):
361         (WebCore::PluginView::handlePost):
362         * Plugins/PluginView.h:
363         (WebCore::PluginRequest::PluginRequest):
364
365 2017-06-22  Daniel Bates  <dabates@apple.com>
366
367         [Win] Cleanup: Remove unnecessary include of header FrameLoadRequest.h
368         https://bugs.webkit.org/show_bug.cgi?id=173683
369
370         Reviewed by Alex Christensen.
371
372         Neither file PluginViewWin.cpp nor WebContextMenuClient.cpp need to include
373         header FrameLoadRequest.h. The former includes FrameLoadRequest.h indirectly
374         by including PluginView.h. The latter does not make use of the functionality
375         provided by FrameLoadRequest.h.
376
377         * Plugins/PluginViewWin.cpp:
378         * WebCoreSupport/WebContextMenuClient.cpp:
379
380 2017-06-21  Daniel Bates  <dabates@apple.com>
381
382         Cleanup FrameLoadRequest
383         https://bugs.webkit.org/show_bug.cgi?id=173564
384         <rdar://problem/32903570>
385
386         Reviewed by Brent Fulgham.
387
388         * Plugins/PluginView.cpp:
389         (WebCore::PluginView::start): Explicitly pass an empty ResourceRequest (we populate it after
390         we instantiate the FrameLoadRequest) and pass the null-string for the target frame name as
391         we do not have one. Use C++11 brace initialization syntax.
392         (WebCore::PluginView::getURLNotify): Explicitly pass the null-string for the target frame
393         name as we do not have one. Use C++11 brace initialization syntax.
394         (WebCore::PluginView::getURL): Ditto.
395         (WebCore::PluginView::handlePost): Move instantiation of FrameLoadRequest from the top of the
396         function to closer to where it is actually used. Explicitly pass the null-string for the target
397         frame name as we do not have one. Use C++11 brace initialization syntax.
398
399 2017-06-20  Daniel Bates  <dabates@apple.com>
400
401         Have FrameLoadRequest takes a Frame& instead of a Frame*
402         https://bugs.webkit.org/show_bug.cgi?id=173614
403         <rdar://problem/32884890>
404
405         Reviewed by Brent Fulgham.
406
407         * Plugins/PluginView.cpp:
408         (WebCore::PluginView::performRequest):
409         * WebFrame.cpp:
410         (WebFrame::loadRequest):
411
412 2017-06-19  Chris Dumez  <cdumez@apple.com>
413
414         Use WTF::Function instead of std::function in more places in WebCore/
415         https://bugs.webkit.org/show_bug.cgi?id=173535
416
417         Reviewed by Antti Koivisto.
418
419         Use WTF::Function instead of std::function in more places in WebCore/ to avoid copying.
420
421         * WebCoreSupport/WebFrameLoaderClient.cpp:
422         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
423         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
424         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
425         (WebFrameLoaderClient::dispatchWillSubmitForm):
426         (WebFrameLoaderClient::setUpPolicyListener):
427         (WebFrameLoaderClient::receivedPolicyDecision):
428         * WebCoreSupport/WebFrameLoaderClient.h:
429
430 2017-05-14 Frederic Wang  <fwang@igalia.com>
431
432         Add heuristic to avoid flattening "fullscreen" iframes
433         https://bugs.webkit.org/show_bug.cgi?id=171914
434
435         Reviewed by Simon Fraser.
436
437         This commit ajusts the window port to internally use the new preference type for frame flattening.
438         However, the "partial frame flattening" value is not exposed yet.
439
440         * WebView.cpp:
441         (WebView::notifyPreferencesChanged): Use the new type for frame flattening.
442
443 2017-06-17  Chris Dumez  <cdumez@apple.com>
444
445         Use WTF::Function instead of std::function in WebKit2/
446         https://bugs.webkit.org/show_bug.cgi?id=173504
447
448         Reviewed by Darin Adler.
449
450         Use WTF::Function instead of std::function in WebKit2/ to avoid
451         unnecessary copying.
452
453         * Plugins/PluginStream.cpp:
454         (WebCore::PluginStream::willSendRequest):
455         * Plugins/PluginStream.h:
456
457 2017-06-16  Sam Weinig  <sam@webkit.org>
458
459         [WebIDL] Remove custom bindings for HTMLDocument
460         https://bugs.webkit.org/show_bug.cgi?id=173444
461
462         Reviewed by Darin Adler.
463
464         * DOMHTMLClasses.cpp:
465         (DOMHTMLDocument::write):
466         (DOMHTMLDocument::writeln):
467         Update for new signature of write/writeln.
468
469 2017-06-16  Daniel Bates  <dabates@apple.com>
470
471         Cleanup: WebContextMenuClient::searchWithGoogle() should parse URL using URL { URL { }, ... }
472         instead of URL { ParsedURLString, ... }
473         https://bugs.webkit.org/show_bug.cgi?id=173495
474         <rdar://problem/32827445>
475
476         Reviewed by Alex Christensen.
477
478         URL(ParsedURLString, ...) should only be used with a string that was the result of URL::string().
479         Otherwise, it will cause an assertion failure if the canonicalized URL differs from the string.
480         Although it is unlikely that the hardcoded string in WebContextMenuClient::searchWithGoogle()
481         would differ from the canonicalized URL it is best practice to use URL(URL(), ...) to
482         parse an arbitrary string that looks like a URL.
483
484         Also modernize the code using C++14 idioms.
485
486         * WebCoreSupport/WebContextMenuClient.cpp:
487         (WebContextMenuClient::searchWithGoogle):
488
489 2017-06-15  Fujii Hironori  <Hironori.Fujii@sony.com>
490
491         [Win] WebKit shouldn't include the forwarding header of WebKit itself
492         https://bugs.webkit.org/show_bug.cgi?id=173352
493
494         Reviewed by Alex Christensen.
495
496         * WebKitPrefix.h: Include WebKit.h of DerivedSources/WebKit instead of DerivedSources/ForwardingHeaders.
497
498 2017-06-14  Per Arne Vollan  <pvollan@apple.com>
499
500         [Win] WebKit fails to paint the bottom lines of the window at 125% scale.
501         https://bugs.webkit.org/show_bug.cgi?id=173318
502
503         Reviewed by Darin Adler.
504
505         The logical frame size is currently calculated by scaling the frame size in pixels,
506         and rounding the coordinates to the nearest integers. The computed logical frame
507         size will in some cases be smaller than the scaled frame size in pixels, since it is
508         represented as an IntSize. In these cases, the bottom line will not be painted.
509         Instead of calculating the logical frame size by rounding the scaled frame in
510         pixels, find the enclosing rectangle of the scaled frame rectangle in pixels.
511
512         * WebCoreSupport/WebFrameLoaderClient.cpp:
513         (WebFrameLoaderClient::transitionToCommittedForNewPage):
514
515 2017-06-13  Daniel Bates  <dabates@apple.com>
516
517         Implement W3C Secure Contexts Draft Specification
518         https://bugs.webkit.org/show_bug.cgi?id=158121
519         <rdar://problem/26012994>
520
521         Reviewed by Brent Fulgham.
522
523         Part 4
524
525         Adds a preference to toggle the runtime enabled feature flag isSecureContextAttributeEnabled.
526
527         * Interfaces/IWebPreferencesPrivate.idl: Bump the version.
528         * WebPreferenceKeysPrivate.h:
529         * WebPreferences.cpp:
530         (WebPreferences::initializeDefaultSettings):
531         (WebPreferences::QueryInterface):
532         (WebPreferences::setIsSecureContextAttributeEnabled):
533         (WebPreferences::isSecureContextAttributeEnabled):
534         * WebPreferences.h:
535         * WebView.cpp:
536         (WebView::notifyPreferencesChanged):
537
538 2017-06-13  Per Arne Vollan  <pvollan@apple.com>
539
540         [Win] WebKit fails to paint the bottom lines of the window at 125% scale.
541         https://bugs.webkit.org/show_bug.cgi?id=173318
542
543         Reviewed by Alex Christensen.
544
545         The logical frame size is currently calculated by scaling the frame size in pixels,
546         and rounding the coordinates to the nearest integers. The computed logical frame
547         size will in some cases be smaller than the scaled frame size in pixels, since it is
548         represented as an IntSize. In these cases, the bottom line will not be painted.
549         Instead of calculating the logical frame size by rounding the scaled frame in
550         pixels, find the enclosing rectangle of the scaled frame rectangle in pixels.
551  
552         * WebView.cpp:
553         (WebView::sizeChanged):
554
555 2017-06-13  Sam Weinig  <sam@webkit.org>
556
557         Rename JSDOMWindowShell to JSDOMWindowProxy to match the HTML5 spec.
558         https://bugs.webkit.org/show_bug.cgi?id=80733
559
560         Reviewed by Chris Dumez.
561
562         * WebFrame.cpp:
563         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
564
565 2017-06-12  Daewoong Jang  <daewoong.jang@navercorp.com>
566
567         Remove WebCore::unloadModule and related data types
568         https://bugs.webkit.org/show_bug.cgi?id=173231
569
570         Reviewed by Darin Adler.
571
572         * Plugins/PlatformModule.h: Added.
573         (WebCore::PlatformModuleVersion::PlatformModuleVersion):
574         * Plugins/PluginPackage.cpp:
575         (WebCore::PluginPackage::freeLibraryTimerFired):
576         * Plugins/PluginPackage.h:
577
578 2017-06-09  Wenson Hsieh  <wenson_hsieh@apple.com>
579
580         [iOS DnD] Add a hook to perform two-step drops in editable content
581         https://bugs.webkit.org/show_bug.cgi?id=172992
582         <rdar://problem/32590174>
583
584         Reviewed by Tim Horton.
585
586         Add a stub implementation for performTwoStepDrop on Windows.
587
588         * WebCoreSupport/WebEditorClient.h:
589
590 2017-06-04  Konstantin Tokarev  <annulen@yandex.ru>
591
592         Fix build of Windows-specific code with ICU 59.1
593         https://bugs.webkit.org/show_bug.cgi?id=172729
594
595         Reviewed by Darin Adler.
596
597         Fix conversions from WTF::String to wchar_t* and vice versa.
598
599         * Plugins/PluginDatabaseWin.cpp:
600         (WebCore::addPluginPathsFromRegistry):
601         (WebCore::PluginDatabase::getPluginPathsInDirectories):
602         (WebCore::addMozillaPluginDirectories):
603         (WebCore::addWindowsMediaPlayerPluginDirectory):
604         (WebCore::addAdobeAcrobatPluginDirectory):
605         (WebCore::addJavaPluginDirectory):
606         (WebCore::safariPluginsDirectory):
607         (WebCore::addMacromediaPluginDirectories):
608         * Plugins/PluginPackageWin.cpp:
609         (WebCore::getVersionInfo):
610         (WebCore::PluginPackage::fetchInfo):
611         (WebCore::PluginPackage::load):
612         * Plugins/PluginViewWin.cpp:
613         (WebCore::PluginView::handlePostReadFile):
614
615 2017-05-30  Per Arne Vollan  <pvollan@apple.com>
616
617         [Win] fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html is flaky.
618         https://bugs.webkit.org/show_bug.cgi?id=172709
619
620         Reviewed by Brent Fulgham.
621
622         Add method to exit fullscreen mode.
623
624         * Interfaces/IWebViewPrivate.idl:
625         * WebView.cpp:
626         (WebView::exitFullscreenIfNeeded):
627         * WebView.h:
628
629 2017-05-24  Per Arne Vollan  <pvollan@apple.com>
630
631         [Win] Create unique network storage session for each DRT.
632         https://bugs.webkit.org/show_bug.cgi?id=172540
633
634         Reviewed by Brent Fulgham.
635
636         During layout testing, each DRT instance should have its own network storage session.
637
638         * Interfaces/IWebPreferencesPrivate.idl:
639         * WebPreferences.cpp:
640         (WebPreferences::switchNetworkLoaderToNewTestingSession):
641         * WebPreferences.h:
642
643 2017-05-24  Fujii Hironori  <Hironori.Fujii@sony.com>
644
645         [WinCairo] AcceleratedCompositingContext.h: error C3668: 'AcceleratedCompositingContext::paintContents': method with override specifier 'override' did not override any base class methods
646         https://bugs.webkit.org/show_bug.cgi?id=172535
647
648         Reviewed by Konstantin Tokarev.
649
650         * WebCoreSupport/AcceleratedCompositingContext.cpp:
651         (AcceleratedCompositingContext::paintContents): Append the fifth argument.
652         * WebCoreSupport/AcceleratedCompositingContext.h: Ditto.
653
654 2017-05-14  Per Arne Vollan  <pvollan@apple.com>
655
656         [Win] fast/cookies/local-file-can-set-cookies.html is flaky.
657         https://bugs.webkit.org/show_bug.cgi?id=172071
658
659         Reviewed by Alexey Proskuryakov.
660
661         We need to delete all cookies after each test.
662
663         * Interfaces/IWebPreferencesPrivate.idl:
664         * WebPreferences.cpp:
665         (WebPreferences::linkPreloadEnabled):
666         (WebPreferences::clearNetworkLoaderSession):
667         * WebPreferences.h:
668
669 2017-05-13  Chris Dumez  <cdumez@apple.com>
670
671         Stop using RefPtr::release()
672         https://bugs.webkit.org/show_bug.cgi?id=172074
673
674         Reviewed by Geoffrey Garen.
675
676         * WebFrame.cpp:
677         (WebFrame::loadPlainTextString):
678         (WebFrame::loadHTMLString):
679         * WebFramePolicyListener.cpp:
680         (WebFramePolicyListener::receivedPolicyDecision):
681
682 2017-05-13  Chris Dumez  <cdumez@apple.com>
683
684         Drop uses of PassRefPtr in WebKit/win
685         https://bugs.webkit.org/show_bug.cgi?id=172067
686
687         Reviewed by Yusuke Suzuki.
688
689         * DOMEventsClasses.cpp:
690         (DOMEvent::DOMEvent):
691         (DOMEvent::createInstance):
692         * DOMEventsClasses.h:
693         (DOMUIEvent::DOMUIEvent):
694         (DOMKeyboardEvent::DOMKeyboardEvent):
695         (DOMMouseEvent::DOMMouseEvent):
696         (DOMMutationEvent::DOMMutationEvent):
697         (DOMOverflowEvent::DOMOverflowEvent):
698         (DOMWheelEvent::DOMWheelEvent):
699         * MemoryStream.cpp:
700         (MemoryStream::MemoryStream):
701         (MemoryStream::createInstance):
702         * MemoryStream.h:
703         * Plugins/PluginDatabase.cpp:
704         (WebCore::PluginDatabase::refresh):
705         (WebCore::PluginDatabase::add):
706         (WebCore::PluginDatabase::loadPersistentMetadataCache):
707         * Plugins/PluginDatabase.h:
708         * Plugins/PluginPackage.cpp:
709         (WebCore::PluginPackage::createPackage):
710         (WebCore::PluginPackage::createPackageFromCache):
711         * Plugins/PluginPackage.h:
712         * Plugins/PluginStream.h:
713         (WebCore::PluginStream::create):
714         * WebActionPropertyBag.cpp:
715         (WebActionPropertyBag::WebActionPropertyBag):
716         (WebActionPropertyBag::createInstance):
717         * WebActionPropertyBag.h:
718         * WebArchive.cpp:
719         (WebArchive::createInstance):
720         (WebArchive::WebArchive):
721         * WebArchive.h:
722         * WebBackForwardList.cpp:
723         (WebBackForwardList::WebBackForwardList):
724         (WebBackForwardList::createInstance):
725         * WebBackForwardList.h:
726         * WebCoreSupport/EmbeddedWidget.cpp:
727         (EmbeddedWidget::create):
728         * WebCoreSupport/EmbeddedWidget.h:
729         * WebCoreSupport/WebChromeClient.h:
730         * WebFrame.cpp:
731         (WebFrame::loadData):
732         (WebFrame::createSubframeWithOwnerElement):
733         * WebFrame.h:
734         * WebFramePolicyListener.cpp:
735         (WebFramePolicyListener::WebFramePolicyListener):
736         (WebFramePolicyListener::createInstance):
737         * WebFramePolicyListener.h:
738         * WebGeolocationPolicyListener.cpp:
739         (WebGeolocationPolicyListener::createInstance):
740         (WebGeolocationPolicyListener::WebGeolocationPolicyListener):
741         * WebGeolocationPolicyListener.h:
742         * WebHistoryItem.cpp:
743         (WebHistoryItem::WebHistoryItem):
744         (WebHistoryItem::createInstance):
745         * WebHistoryItem.h:
746         * WebMutableURLRequest.cpp:
747         (WebMutableURLRequest::setFormData):
748         (WebMutableURLRequest::formData):
749         * WebMutableURLRequest.h:
750         * WebResource.cpp:
751         (WebResource::createInstance):
752         * WebResource.h:
753         * WebScriptWorld.cpp:
754         (WebScriptWorld::WebScriptWorld):
755         (WebScriptWorld::createInstance):
756         * WebScriptWorld.h:
757         * WebURLAuthenticationChallengeSender.cpp:
758         (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender):
759         (WebURLAuthenticationChallengeSender::createInstance):
760         * WebURLAuthenticationChallengeSender.h:
761         * WebView.cpp:
762         (WebView::setFullScreenElement):
763         * WebView.h:
764
765 2017-05-11  Chris Dumez  <cdumez@apple.com>
766
767         Drop remaining uses of PassRefPtr in WebCore
768         https://bugs.webkit.org/show_bug.cgi?id=172013
769
770         Reviewed by Yusuke Suzuki.
771
772         * Plugins/PluginView.cpp:
773         (WebCore::PluginView::bindingInstance):
774
775 2017-05-11  Chris Dumez  <cdumez@apple.com>
776
777         Stop using PassRefPtr in platform/graphics
778         https://bugs.webkit.org/show_bug.cgi?id=171977
779
780         Reviewed by Alex Christensen.
781
782         Build fix.
783
784         * FullscreenVideoController.cpp:
785         (FullscreenVideoController::enterFullscreen):
786         * WebKitDLL.cpp:
787         (loadResourceIntoBuffer):
788
789 2017-05-09  Sam Weinig  <sam@webkit.org>
790
791         Remove support for legacy Notifications
792         https://bugs.webkit.org/show_bug.cgi?id=171487
793
794         Reviewed by Jon Lee.
795
796         * WebCoreSupport/WebChromeClient.cpp:
797         (WebChromeClient::WebChromeClient):
798         * WebCoreSupport/WebChromeClient.h:
799         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
800         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
801         Remove legacy notification specific code.
802
803 2017-05-09  Dean Jackson  <dino@apple.com>
804
805         Fix Windows build.
806
807         * Plugins/PluginView.h:
808         * Plugins/PluginViewWin.cpp:
809         (WebCore::PluginView::paint):
810
811 2017-05-06  Alexey Proskuryakov  <ap@apple.com>
812
813         REGRESSION (r216294): The new test fails on WebKit1
814         https://bugs.webkit.org/show_bug.cgi?id=171780
815
816         Rolling back https://trac.webkit.org/r216294, https://trac.webkit.org/r216296,
817         https://trac.webkit.org/216299, https://trac.webkit.org/216330
818
819         * Plugins/PluginView.h:
820         * Plugins/PluginViewWin.cpp:
821         (WebCore::PluginView::paint):
822
823 2017-05-06  Simon Fraser  <simon.fraser@apple.com>
824
825         Fix Windows build after r216294.
826
827         * Plugins/PluginView.h:
828         * Plugins/PluginViewWin.cpp:
829         (WebCore::PluginView::paint):
830
831 2017-05-04  Commit Queue  <commit-queue@webkit.org>
832
833         Unreviewed, rolling out r216206.
834         https://bugs.webkit.org/show_bug.cgi?id=171714
835
836         Multiple LayoutTests crashing in Document::page() (Requested
837         by ap on #webkit).
838
839         Reverted changeset:
840
841         "Remove support for legacy Notifications"
842         https://bugs.webkit.org/show_bug.cgi?id=171487
843         http://trac.webkit.org/changeset/216206
844
845 2017-05-04  Don Olmstead  <don.olmstead@am.sony.com>
846
847         [Win] Remove redundant macros that are set in the CMake config
848         https://bugs.webkit.org/show_bug.cgi?id=171571
849
850         Reviewed by Brent Fulgham.
851
852         * COMEnumVariant.h:
853         * COMPropertyBag.h:
854         * WebKitPrefix.h:
855
856 2017-05-04  Sam Weinig  <sam@webkit.org>
857
858         Remove support for legacy Notifications
859         https://bugs.webkit.org/show_bug.cgi?id=171487
860
861         Reviewed by Jon Lee.
862
863         * WebCoreSupport/WebChromeClient.cpp:
864         (WebChromeClient::WebChromeClient):
865         * WebCoreSupport/WebChromeClient.h:
866         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
867         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
868         Remove legacy notification specific code.
869
870 2017-04-27  Alex Christensen  <achristensen@webkit.org>
871
872         Modernize Frame.h
873         https://bugs.webkit.org/show_bug.cgi?id=171357
874
875         Reviewed by Andy Estes.
876
877         * WebCoreSupport/WebEditorClient.cpp:
878         (WebEditorClient::isSelectTrailingWhitespaceEnabled):
879         * WebCoreSupport/WebEditorClient.h:
880
881 2017-04-20  Fujii Hironori  <Hironori.Fujii@sony.com>
882
883         [WinCairo] Fix build break after updating ANGLE
884         https://bugs.webkit.org/show_bug.cgi?id=170980
885
886         Reviewed by Brent Fulgham.
887
888         * WebCoreSupport/AcceleratedCompositingContext.cpp: Define GL_GLEXT_PROTOTYPES.
889
890 2017-04-19  Brent Fulgham  <bfulgham@apple.com>
891
892         [Win] REGRESSION(r215486): Windows Release build is broken
893         https://bugs.webkit.org/show_bug.cgi?id=171024
894         <rdar://problem/31722618>
895
896         Reviewed by Mark Lam.
897
898         Windows WebKit refers to a handful of JSC methods that are always
899         inline. We need to include 'HeapInlines.h' to get the implementation
900         of these methods.
901
902         * Plugins/PluginPackage.cpp:
903         * WebFrame.cpp:
904         * WebView.cpp:
905
906 2017-04-15  Wenson Hsieh  <wenson_hsieh@apple.com>
907
908         Unreviewed, fix the Windows build after r215385
909
910         r215385 introduced a new virtual method on ChromeClient that needs to be implemented in WebChromeClient for
911         Windows in WebKit1.
912
913         * WebCoreSupport/WebChromeClient.cpp:
914         (WebChromeClient::createIconForFiles):
915         * WebCoreSupport/WebChromeClient.h:
916
917 2017-04-10  Chris Dumez  <cdumez@apple.com>
918
919         Drop Timer::startOneShot() overload taking a double
920         https://bugs.webkit.org/show_bug.cgi?id=170659
921
922         Reviewed by Yusuke Suzuki.
923
924         Drop Timer::startOneShot() overload taking a double as people should use Seconds type now.
925
926         * Plugins/PluginMessageThrottlerWin.cpp:
927         (WebCore::PluginMessageThrottlerWin::appendMessage):
928         (WebCore::PluginMessageThrottlerWin::messageThrottleTimerFired):
929         * Plugins/PluginViewWin.cpp:
930         (WebCore::PluginView::invalidateRect):
931         * WebCoreSupport/AcceleratedCompositingContext.cpp:
932         (AcceleratedCompositingContext::scheduleLayerFlush):
933
934 2017-04-09  Chris Dumez  <cdumez@apple.com>
935
936         Drop Timer::startRepeating() overload taking a double
937         https://bugs.webkit.org/show_bug.cgi?id=170656
938
939         Reviewed by Yusuke Suzuki.
940
941         Drop Timer::startRepeating() overload taking a double as people should use Seconds type now.
942
943         * FullscreenVideoController.cpp:
944
945 2017-04-09  Chris Dumez  <cdumez@apple.com>
946
947         Start dropping Timer API dealing with double
948         https://bugs.webkit.org/show_bug.cgi?id=170649
949
950         Reviewed by Yusuke Suzuki.
951
952         Start dropping Timer API dealing with double as people should use Seconds now.
953
954         * Plugins/PluginPackage.cpp:
955         (WebCore::PluginPackage::freeLibrarySoon):
956         * Plugins/PluginStream.cpp:
957         (WebCore::PluginStream::deliverData):
958         * Plugins/PluginView.cpp:
959         (WebCore::PluginView::requestTimerFired):
960         (WebCore::PluginView::scheduleRequest):
961         (WebCore::PluginView::setJavaScriptPaused):
962         (WebCore::PluginView::keepAlive):
963         * Plugins/PluginViewWin.cpp:
964         (WebCore::PluginView::wndProc):
965         * WebView.cpp:
966         (WebView::closeWindowSoon):
967
968 2017-04-08  Chris Dumez  <cdumez@apple.com>
969
970         Drop std::chrono support from Timer class
971         https://bugs.webkit.org/show_bug.cgi?id=170645
972
973         Reviewed by Sam Weinig.
974
975         Drop std::chrono support from Timer class now that we prefer using Seconds type.
976
977         * WebView.cpp:
978         (WebView::setCacheModel):
979
980 2017-03-31  Fujii Hironori  <Hironori.Fujii@sony.com>
981
982         [WinCairo] WebCore::PlatformDisplay::terminateEGLDisplay causes a crash in libGLESv2.dll while processing atexit
983         https://bugs.webkit.org/show_bug.cgi?id=170331
984
985         Reviewed by Michael Catanzaro.
986
987         * WebKitDLL.cpp:
988         (shutDownWebKit): Call PlatformDisplay::shutDownEglDisplays in shutDownWebKit.
989
990 2017-03-30  James Craig  <jcraig@apple.com>
991
992         AX: Expose a new AXSubrole for explicit ARIA "group" role
993         https://bugs.webkit.org/show_bug.cgi?id=169810
994         <rdar://problem/31039693>
995
996         Reviewed by Chris Fleizach.
997
998         Account for Windows platform role mapping.
999
1000         * AccessibleBase.cpp:
1001         (MSAARole):
1002
1003 2017-03-24  Wenson Hsieh  <wenson_hsieh@apple.com>
1004
1005         [WK2] Add a UI delegate SPI hook to enable or disable navigation on drop
1006         https://bugs.webkit.org/show_bug.cgi?id=169168
1007         <rdar://problem/30688374>
1008
1009         Reviewed by Tim Horton.
1010
1011         Minor tweak to adjust for a changed interface. See WebKit and WebCore ChangeLogs for more information.
1012
1013         * WebCoreSupport/WebDragClient.cpp:
1014         (WebDragClient::actionMaskForDrag):
1015         * WebCoreSupport/WebDragClient.h:
1016
1017 2017-03-13  Per Arne Vollan  <pvollan@apple.com>
1018
1019         [Win] Compile fix.
1020         https://bugs.webkit.org/show_bug.cgi?id=169545
1021
1022         Reviewed by Brent Fulgham.
1023
1024         Fix inconsistent dll linkage warnings.
1025  
1026         * WebKitDLL.cpp:
1027         * WebKitDLL.h:
1028
1029 2017-03-13  Per Arne Vollan  <pvollan@apple.com>
1030
1031         Unreviewed Win build fix.
1032         
1033         WebCore::CookiesStrategy::addCookie has been removed, we should also remove the override.
1034
1035         * WebCoreSupport/WebPlatformStrategies.cpp:
1036         (WebPlatformStrategies::addCookie): Deleted.
1037         (WebPlatformStrategies::addCookie): Deleted.
1038         * WebCoreSupport/WebPlatformStrategies.h:
1039
1040 2017-03-10  Brent Fulgham  <bfulgham@apple.com>
1041
1042         [Win] Re-export a few symbols for backwards compatibility
1043         https://bugs.webkit.org/show_bug.cgi?id=169490
1044         <rdar://problem/30983623>
1045
1046         Reviewed by Dean Jackson.
1047
1048         Re-introduce a workaround that re-exports a few JavaScriptCore functions
1049         that had been erroneously exported by WebKit in older builds. This
1050         is needed so that we do not break certain old software still being used.
1051
1052         * WebKitDLL.cpp:
1053         (DllMain): Bind functions at startup.
1054         (bindJavaScriptTrampoline): Find JavaScriptCore library functions and
1055         re-export them from WebKit.dll.
1056         * WebKitDLL.h: Only advertise these functions when building WebKt itself.
1057
1058 2017-03-06  Myles C. Maxfield  <mmaxfield@apple.com>
1059
1060         Expand font-weight and font-stretch to take any number
1061         https://bugs.webkit.org/show_bug.cgi?id=168889
1062
1063         Reviewed by Simon Fraser.
1064
1065         Migrate off old enum types.
1066
1067         * WebKitGraphics.cpp:
1068         (makeFont):
1069
1070 2017-03-02  Sam Weinig  <sam@webkit.org>
1071
1072         Rename htmlediting.h/cpp to Editing.h/cpp
1073         https://bugs.webkit.org/show_bug.cgi?id=169103
1074
1075         Reviewed by Alex Christensen.
1076
1077         * AccessibleTextImpl.cpp:
1078
1079 2017-03-01  Alex Christensen  <achristensen@webkit.org>
1080
1081         Actually fix Windows build.
1082
1083         * WebFrame.cpp:
1084         (WebFrame::invalidate):
1085         r213266 changed Style::Force to ResolveStyleType::Rebuild, so I did so here.
1086
1087 2017-03-01  Alex Christensen  <achristensen@webkit.org>
1088
1089         Fix Windows build after r213266
1090         https://bugs.webkit.org/show_bug.cgi?id=169049
1091
1092         * WebFrame.cpp:
1093         (WebFrame::invalidate):
1094
1095 2017-02-27  Per Arne Vollan  <pvollan@apple.com>
1096
1097         [Win] Http preload tests are failing.
1098         https://bugs.webkit.org/show_bug.cgi?id=168910
1099
1100         Reviewed by Alex Christensen.
1101
1102         The feature is not enabled.
1103
1104         * WebView.cpp:
1105         (WebView::notifyPreferencesChanged):
1106
1107 2017-02-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1108
1109         Better handle Thread and RunLoop initialization
1110         https://bugs.webkit.org/show_bug.cgi?id=167828
1111
1112         Reviewed by Yusuke Suzuki.
1113
1114         Remove unnecessary call to WTF::initializeMainThread().
1115
1116         * WebView.cpp:
1117         (WebView::WebView):
1118
1119 2017-02-20  Per Arne Vollan  <pvollan@apple.com>
1120
1121         [Win] Custom scale factor is not applied in all cases.
1122         https://bugs.webkit.org/show_bug.cgi?id=168117
1123
1124         Reviewed by Brent Fulgham.
1125
1126         We should not call the function deviceScaleFactorForWindow directly, since this
1127         will return the system scale factor, and ignore the custom scale factor.
1128
1129         * WebView.cpp:
1130         (WebView::handleContextMenuEvent):
1131         (WebView::handleMouseEvent):
1132         (WebView::setAcceleratedCompositing):
1133
1134 2017-02-16  Daniel Bates  <dabates@apple.com>
1135
1136         Remove Chromium-specific code to call FrameLoaderClient::redirectDataToPlugin(nullptr)
1137         https://bugs.webkit.org/show_bug.cgi?id=168417
1138         <rdar://problem/30541748>
1139
1140         Reviewed by Brent Fulgham.
1141
1142         Update override of FrameLoaderClient::redirectDataToPlugin() to take a Widget& instead of a
1143         Widget* as it is always called with a valid Widget.
1144
1145         * WebCoreSupport/WebFrameLoaderClient.cpp:
1146         (WebFrameLoaderClient::redirectDataToPlugin):
1147         * WebCoreSupport/WebFrameLoaderClient.h:
1148
1149 2017-02-15  Anders Carlsson  <andersca@apple.com>
1150
1151         Another attempt at fixing the Windows build.
1152
1153         * WebCoreSupport/WebDragClient.cpp:
1154         (WebDragClient::startDrag):
1155
1156 2017-02-15  Anders Carlsson  <andersca@apple.com>
1157
1158         Try to fix the Windows build.
1159
1160         * WebCoreSupport/WebDragClient.h:
1161
1162 2017-02-15  Anders Carlsson  <andersca@apple.com>
1163
1164         Modernize DragClient::startDrag somewhat
1165         https://bugs.webkit.org/show_bug.cgi?id=168379
1166
1167         Reviewed by Tim Horton.
1168
1169         Update for WebCore changes.
1170
1171         * WebCoreSupport/WebDragClient.cpp:
1172         (WebDragClient::startDrag):
1173
1174 2017-02-10  Daniel Bates  <dabates@apple.com>
1175
1176         Attempt to fix the WinCairo 64-Bit Release build following <https://trac.webkit.org/changeset/212173>
1177         (https://bugs.webkit.org/show_bug.cgi?id=166774)
1178
1179         Touch WebKit.idl in the hopes that it will cause CMake to regenerate the COM interface files.
1180
1181         * Interfaces/WebKit.idl:
1182
1183 2017-02-10  Daniel Bates  <dabates@apple.com>
1184
1185         Detach frame from document when entering page cache
1186         https://bugs.webkit.org/show_bug.cgi?id=166774
1187         <rdar://problem/29904368>
1188
1189         Reviewed by Chris Dumez.
1190
1191         * Interfaces/IWebPreferencesPrivate.idl:
1192         * WebPreferenceKeysPrivate.h:
1193         * WebPreferences.cpp:
1194         (WebPreferences::initializeDefaultSettings):
1195         (WebPreferences::setAllowsPageCacheWithWindowOpener): Deleted.
1196         (WebPreferences::allowsPageCacheWithWindowOpener): Deleted.
1197         * WebPreferences.h:
1198         * WebView.cpp:
1199         (WebView::notifyPreferencesChanged):
1200
1201 2017-02-10  Joseph Pecoraro  <pecoraro@apple.com>
1202
1203         [Resource Timing] Enable Resource Timing by default in Tests
1204         https://bugs.webkit.org/show_bug.cgi?id=168145
1205
1206         Reviewed by Ryosuke Niwa.
1207
1208         * Interfaces/IWebPreferencesPrivate.idl:
1209         * WebPreferenceKeysPrivate.h:
1210         * WebPreferences.cpp:
1211         (WebPreferences::initializeDefaultSettings):
1212         (WebPreferences::setResourceTimingEnabled):
1213         (WebPreferences::resourceTimingEnabled):
1214         * WebPreferences.h:
1215         * WebView.cpp:
1216         (WebView::notifyPreferencesChanged):
1217
1218 2017-02-06  Alex Christensen  <achristensen@webkit.org>
1219
1220         More build fixes after r211751
1221         https://bugs.webkit.org/show_bug.cgi?id=166998
1222
1223         * WebDownloadCFNet.cpp:
1224         (WebDownload::didReceiveAuthenticationChallenge):
1225
1226 2017-02-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
1227
1228         Rename AnimationController to CSSAnimationController
1229         https://bugs.webkit.org/show_bug.cgi?id=167829
1230
1231         Reviewed by Simon Fraser.
1232
1233         * WebFrame.cpp:
1234
1235 2017-02-02  Wenson Hsieh  <wenson_hsieh@apple.com>
1236
1237         Drag images should be anchored to the mouse location
1238         https://bugs.webkit.org/show_bug.cgi?id=167690
1239         <rdar://problem/30295261>
1240
1241         Reviewed by Enrica Casucci.
1242
1243         Adds some plumbing for the anchor point in the WK1 client layer.
1244
1245         * WebCoreSupport/WebDragClient.cpp:
1246         (WebDragClient::startDrag):
1247         * WebCoreSupport/WebDragClient.h:
1248
1249 2017-02-02  Per Arne Vollan  <pvollan@apple.com>
1250
1251         [Win][HiDPI] Scale factor is applied twice in accelerated compositing mode.
1252         https://bugs.webkit.org/show_bug.cgi?id=167732
1253
1254         Reviewed by Brent Fulgham.
1255
1256         Backing layer should not be scaled when CACFLayerSetContentsScale is used for scaling.
1257
1258         * WebView.cpp:
1259         (WebView::setAcceleratedCompositing):
1260
1261 2017-02-02  Chris Dumez  <cdumez@apple.com>
1262
1263         [Crash] com.apple.WebKit.WebContent at WebKit: WebKit::WebPage::fromCorePage()
1264         https://bugs.webkit.org/show_bug.cgi?id=167738
1265         <rdar://problem/30229990>
1266
1267         Reviewed by Andreas Kling.
1268
1269         The BackForwardClient no longer needs to worry about removing HistoryItems
1270         from the PageCache now that WebCore takes care of it.
1271
1272         * BackForwardList.cpp:
1273         (BackForwardList::close):
1274
1275 2017-01-28  Yoav Weiss  <yoav@yoav.ws>
1276
1277         Add Link Preload as an off-by-default experimental feature menu item.
1278         https://bugs.webkit.org/show_bug.cgi?id=167201
1279
1280         Reviewed by Ryosuke Niwa.
1281
1282         * WebPreferenceKeysPrivate.h:
1283         * WebPreferences.cpp:
1284         (WebPreferences::initializeDefaultSettings):
1285         (WebPreferences::valueForKey):
1286         (WebPreferences::setLinkPreloadEnabled):
1287         (WebPreferences::linkPreloadEnabled):
1288         * WebPreferences.h:
1289         * Interfaces/IWebPreferencesPrivate.idl:
1290
1291 2017-01-28  Joseph Pecoraro  <pecoraro@apple.com>
1292
1293         Add User Timing Experimental Feature
1294         https://bugs.webkit.org/show_bug.cgi?id=167542
1295         <rdar://problem/22746307>
1296
1297         Reviewed by Ryosuke Niwa.
1298
1299         * Interfaces/IWebPreferencesPrivate.idl:
1300         * WebPreferenceKeysPrivate.h:
1301         * WebPreferences.cpp:
1302         (WebPreferences::initializeDefaultSettings):
1303         (WebPreferences::setUserTimingEnabled):
1304         (WebPreferences::userTimingEnabled):
1305         * WebPreferences.h:
1306         * WebView.cpp:
1307         (WebView::notifyPreferencesChanged):
1308         Add setting for User Timing runtime enabled feature.
1309
1310 2017-01-26  Chris Dumez  <cdumez@apple.com>
1311
1312         Crash when navigating back to a page in PacheCache when one of its frames has been removed
1313         https://bugs.webkit.org/show_bug.cgi?id=167421
1314         <rdar://problem/30188490>
1315
1316         Reviewed by Darin Adler.
1317
1318         Add a new setting allowing layout tests to enable PageCache in a window
1319         that has an opener, for convenience.
1320
1321         * WebPreferenceKeysPrivate.h:
1322         * WebPreferences.cpp:
1323         (WebPreferences::initializeDefaultSettings):
1324         * WebPreferences.h:
1325
1326 2017-01-26  Keith Miller  <keith_miller@apple.com>
1327
1328         classInfo should take a VM so it is not materialized from the object on each call
1329         https://bugs.webkit.org/show_bug.cgi?id=167424
1330
1331         Rubber Stamped by Michael Saboff.
1332
1333         Previously, classInfo() would get the VM from the target's
1334         MarkedBlock.  Most callers already have a VM on hand, so it is
1335         wasteful to compute the VM from the marked block every time. This
1336         patch refactors some of the most common callers of classInfo(),
1337         jsDynamicCast and inherits to take a VM as well.
1338
1339         * WebFrame.cpp:
1340         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1341         * WebView.cpp:
1342         (WebView::elementFromJS):
1343
1344 2017-01-26  Per Arne Vollan  <pvollan@apple.com>
1345
1346         Crash when setting custom scale factor.
1347         https://bugs.webkit.org/show_bug.cgi?id=167369
1348
1349         Reviewed by Sam Weinig.
1350
1351         Add null pointer check.
1352
1353         * WebView.cpp:
1354         (WebView::setCustomBackingScaleFactor):
1355
1356 2017-01-24  Youenn Fablet  <youennf@gmail.com>
1357
1358         [WebRTC] Introduce libwebrtc abstraction for WK1/WK2 implementations
1359         https://bugs.webkit.org/show_bug.cgi?id=167294
1360
1361         Reviewed by Alex Christensen.
1362
1363         * WebView.cpp:
1364         (WebView::initWithFrame):
1365
1366 2017-01-23  Chris Dumez  <cdumez@apple.com>
1367
1368         REGRESSION (r211033): ASSERTION FAILED: m_ptr in com.apple.WebCore: WTF::RefPtr<WebCore::Element>::operator* const + 70
1369         https://bugs.webkit.org/show_bug.cgi?id=167308
1370         <rdar://problem/30144964>
1371
1372         Unreviewed, do a partial revert of r211033 to fix assertion.
1373
1374         * WebCoreSupport/WebChromeClient.cpp:
1375         (WebChromeClient::exitFullScreenForElement):
1376
1377 2017-01-20  Darin Adler  <darin@apple.com>
1378
1379         Remove PassRefPtr from "page" directory of WebCore, also deploy references
1380         https://bugs.webkit.org/show_bug.cgi?id=167224
1381
1382         Reviewed by Chris Dumez.
1383
1384         * Plugins/PluginView.cpp:
1385         (WebCore::PluginView::status): Pass reference.
1386         (WebCore::PluginView::focusPluginElement): Ditto.
1387
1388         * WebCoreSupport/WebChromeClient.cpp:
1389         (WebChromeClient::createWindow): Updated for change to ChromeClient.
1390         (WebChromeClient::runBeforeUnloadConfirmPanel): Ditto.
1391         (WebChromeClient::runJavaScriptAlert): Ditto.
1392         (WebChromeClient::runJavaScriptConfirm): Ditto.
1393         (WebChromeClient::runJavaScriptPrompt): Ditto.
1394         (WebChromeClient::contentsSizeChanged): Ditto.
1395         (WebChromeClient::unavailablePluginButtonClicked): Ditto.
1396         (WebChromeClient::print): Ditto.
1397         (WebChromeClient::exceededDatabaseQuota): Ditto.
1398         (WebChromeClient::reachedApplicationCacheOriginQuota): Ditto.
1399         (WebChromeClient::attachRootGraphicsLayer): Ditto.
1400         (WebChromeClient::attachViewOverlayGraphicsLayer): Ditto.
1401         (WebChromeClient::enterVideoFullscreenForVideoElement): Ditto.
1402         (WebChromeClient::createPopupMenu): Ditto.
1403         (WebChromeClient::createSearchPopupMenu): Ditto.
1404         (WebChromeClient::supportsFullScreenForElement): Ditto.
1405         (WebChromeClient::enterFullScreenForElement): Ditto.
1406         (WebChromeClient::exitFullScreenForElement): Ditto.
1407         (WebChromeClient::shouldUseTiledBackingForFrameView): Ditto.
1408         * WebCoreSupport/WebChromeClient.h: Ditto.
1409
1410 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1411
1412         Remove never changing IndexedDB RuntimeEnabledFeature
1413         https://bugs.webkit.org/show_bug.cgi?id=167278
1414
1415         Reviewed by Darin Adler.
1416
1417         * WebView.cpp:
1418         (WebView::notifyPreferencesChanged):
1419
1420 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1421
1422         Cleanup RuntimeEnabledFeatures
1423         https://bugs.webkit.org/show_bug.cgi?id=167228
1424
1425         Reviewed by Simon Fraser.
1426
1427         * WebView.cpp:
1428         (WebView::notifyPreferencesChanged):
1429
1430 2017-01-20  Alex Christensen  <achristensen@webkit.org>
1431
1432         Build Fix for Windows DumpRenderTree after r210976
1433         https://bugs.webkit.org/show_bug.cgi?id=167115
1434
1435         * WebPreferences.h:
1436         Remove extra space.
1437         * IWebPreferencesPrivate.idl:
1438         Add new interface functions.
1439         * WebView.cpp:
1440         We use new functions that are only in IWebPreferencesPrivate4,
1441         so instantiate that COM object instead of version 3.
1442
1443 2017-01-20  Joseph Pecoraro  <pecoraro@apple.com>
1444
1445         Build Fix for Windows DumpRenderTree after r210976
1446
1447         * WebPreferenceKeysPrivate.h:
1448         * WebPreferences.cpp:
1449         (WebPreferences::initializeDefaultSettings):
1450         (WebPreferences::setWebAnimationsEnabled):
1451         (WebPreferences::webAnimationsEnabled):
1452         * WebPreferences.h:
1453         * WebView.cpp:
1454         Add toggle APIs for WebAnimations.
1455
1456 2017-01-19  Chris Dumez  <cdumez@apple.com>
1457
1458         iterable<> should be enabled on WK1
1459         https://bugs.webkit.org/show_bug.cgi?id=167221
1460         <rdar://problem/30108531>
1461
1462         Reviewed by Youenn Fablet.
1463
1464         * Interfaces/IWebPreferencesPrivate.idl:
1465         * WebPreferenceKeysPrivate.h:
1466         * WebPreferences.cpp:
1467         (WebPreferences::setDOMIteratorEnabled): Deleted.
1468         (WebPreferences::domIteratorEnabled): Deleted.
1469         * WebPreferences.h:
1470         * WebView.cpp:
1471         (WebView::notifyPreferencesChanged):
1472
1473 2017-01-18  Alex Christensen  <achristensen@webkit.org>
1474
1475         Fix WinCairo build after r210845.
1476         https://bugs.webkit.org/show_bug.cgi?id=167055
1477
1478         * WebCoreSupport/WebFrameLoaderClient.cpp:
1479         * WebCoreSupport/WebFrameLoaderClient.h:
1480         shouldCacheResponse isn't used when loading with libcurl.
1481         It was dead code before Darin added "override".
1482         WebCore/FrameLoaderClient.h has this inside of USE(CFURLCONNECTION) macros, now we have them here, too.
1483
1484 2017-01-18  Andreas Kling  <akling@apple.com>
1485
1486         Document::securityOrigin() should return a reference.
1487         <https://webkit.org/b/167124>
1488
1489         Reviewed by Sam Weinig.
1490
1491         * Plugins/PluginView.cpp:
1492         (WebCore::PluginView::load):
1493         * WebCoreSupport/WebChromeClient.cpp:
1494         (WebChromeClient::exceededDatabaseQuota):
1495         * WebCoreSupport/WebFrameLoaderClient.cpp:
1496         (WebFrameLoaderClient::didRunInsecureContent):
1497         * WebCoreSupport/WebFrameLoaderClient.h:
1498         * WebCoreSupport/WebGeolocationClient.cpp:
1499         (WebGeolocationClient::requestPermission):
1500         * WebFrame.cpp:
1501         (WebFrame::allowsFollowingLink):
1502
1503 2017-01-15  Darin Adler  <darin@apple.com>
1504
1505         Remove PassRefPtr from "loader" directory of WebCore
1506         https://bugs.webkit.org/show_bug.cgi?id=167055
1507
1508         Reviewed by Alex Christensen.
1509
1510         * Plugins/PluginView.cpp:
1511         (WebCore::PluginView::mediaCanStart): Fix call to dispatchDidFailToStartPlugin
1512         by calling it directly on WebFrameLoaderClient. If my theory is correct, the old
1513         call has been broken and doing nothing since r177941, two years ago, which made
1514         the argument types different between FrameLoaderClient and WebFrameLoaderClient,
1515         leaving WebFrameLoaderClient::dispatchDidFailToStartPlugin as dead code.
1516
1517         * WebCoreSupport/WebChromeClient.cpp:
1518         (WebChromeClient::runOpenPanel): Updated for change to ChromeClient.
1519         * WebCoreSupport/WebChromeClient.h: Ditto.
1520
1521         * WebCoreSupport/WebEditorClient.cpp:
1522         (WebEditorUndoCommand::WebEditorUndoCommand): Take a reference instead of
1523         a PassRefPtr. Also use Ref instead of RefPtr.
1524         (WebEditorClient::shouldChangeTypingStyle): Deleted. Empty function that was
1525         never called.
1526         (WebEditorClient::webViewDidChangeTypingStyle): Ditto.
1527         (WebEditorClient::webViewDidChangeSelection): Ditto.
1528         (WebEditorClient::registerUndoStep):  Take reference instead of PassRefPtr.
1529         (WebEditorClient::registerRedoStep): Ditto.
1530         * WebCoreSupport/WebEditorClient.h: Updated for the above. Also marked the
1531         class and member functions final and made them all private, which will
1532         help us catch if there are any that don't correctly match WebCore.
1533
1534         * WebCoreSupport/WebFrameLoaderClient.cpp:
1535         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Updated
1536         for change to ChromeClient.
1537         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto.
1538         (WebFrameLoaderClient::dispatchWillSendSubmitEvent): Ditto.
1539         (WebFrameLoaderClient::dispatchWillSubmitForm): Ditto.
1540         (WebFrameLoaderClient::createFrame): Ditto. Also merged two functions into
1541         one because one was private and only called by the other.
1542         (WebFrameLoaderClient::createPlugin): Ditto.
1543         (WebFrameLoaderClient::createJavaAppletWidget): Ditto.
1544         (WebFrameLoaderClient::createNetworkingContext): Ditto.
1545         * WebCoreSupport/WebFrameLoaderClient.h: Ditto.
1546
1547         * WebCoreSupport/WebFrameNetworkingContext.h:
1548         (WebFrameNetworkingContext::create): Return a Ref instead of a PassRefPtr.
1549
1550 2017-01-12  Joseph Pecoraro  <pecoraro@apple.com>
1551
1552         Remove unnecessary includes of Page.h
1553         https://bugs.webkit.org/show_bug.cgi?id=166996
1554
1555         Reviewed by Yusuke Suzuki.
1556
1557         * AccessibleTextImpl.cpp:
1558         * BackForwardList.cpp:
1559
1560 2017-01-06  Darin Adler  <darin@apple.com>
1561
1562         Remove PassRefPtr use from "inspector", "platform/sql", and "platform/text"
1563         https://bugs.webkit.org/show_bug.cgi?id=166797
1564
1565         Reviewed by Alex Christensen.
1566
1567         * WebCoreSupport/WebEditorClient.h: Update argument to take a reference
1568         instead of a PassRefPtr.
1569
1570 2017-01-05  Andreas Kling  <akling@apple.com>
1571
1572         Remove ChromeClient::needTouchEvents().
1573         <https://webkit.org/b/166723>
1574
1575         Rubber-stamped by Antti Koivisto.
1576
1577         * WebCoreSupport/WebChromeClient.h:
1578
1579 2017-01-04  Darin Adler  <darin@apple.com>
1580
1581         Remove PassRefPtr use from the "html" directory, other improvements
1582         https://bugs.webkit.org/show_bug.cgi?id=166635
1583
1584         Reviewed by Alex Christensen.
1585
1586         * WebCoreSupport/WebChromeClient.cpp:
1587         (WebChromeClient::loadIconForFiles): Take a reference instead of a pointer.
1588         * WebCoreSupport/WebChromeClient.h: Updated for the above.
1589
1590 2016-12-30  Darin Adler  <darin@apple.com>
1591
1592         Remove PassRefPtr use from the "dom" directory, related cleanup
1593         https://bugs.webkit.org/show_bug.cgi?id=166569
1594
1595         Reviewed by Alex Christensen.
1596
1597         * WebCoreSupport/WebFrameLoaderClient.cpp:
1598         (WebFrameLoaderClient::dispatchDidReceiveTitle): Updated since StringWithDirection::title
1599         is now a data member, not a function member.
1600         (WebFrameLoaderClient::updateGlobalHistory): Ditto.
1601         (WebFrameLoaderClient::setTitle): Ditto.
1602         * WebDataSource.cpp:
1603         (WebDataSource::pageTitle): Ditto.
1604
1605 2016-12-25  Yusuke Suzuki  <utatane.tea@gmail.com>
1606
1607         Propagate the source origin as much as possible
1608         https://bugs.webkit.org/show_bug.cgi?id=166348
1609
1610         Reviewed by Darin Adler.
1611
1612         * Plugins/PluginPackage.cpp:
1613         (WebCore::NPN_Evaluate):
1614         (WebCore::makeSource): Deleted.
1615
1616 2016-12-22  Andy Estes  <aestes@apple.com>
1617
1618         Make WebCore::EditorInsertAction an enum class
1619         https://bugs.webkit.org/show_bug.cgi?id=166424
1620
1621         Reviewed by Brent Fulgham.
1622
1623         * WebCoreSupport/WebEditorClient.cpp:
1624         (kit):
1625         (WebEditorClient::shouldInsertNode):
1626         (WebEditorClient::shouldInsertText):
1627
1628 2016-12-19  Yusuke Suzuki  <utatane.tea@gmail.com>
1629
1630         [ES6] Enable ES6 Modules
1631         https://bugs.webkit.org/show_bug.cgi?id=165849
1632
1633         Reviewed by Geoffrey Garen.
1634
1635         * Interfaces/IWebPreferencesPrivate.idl:
1636         * WebPreferenceKeysPrivate.h:
1637         * WebPreferences.cpp:
1638         (WebPreferences::setES6ModulesEnabled): Deleted.
1639         (WebPreferences::es6ModulesEnabled): Deleted.
1640         * WebPreferences.h:
1641         * WebView.cpp:
1642         (WebView::notifyPreferencesChanged):
1643
1644 2016-12-10  Filip Pizlo  <fpizlo@apple.com>
1645
1646         The DOM should have an advancing wavefront opaque root barrier
1647         https://bugs.webkit.org/show_bug.cgi?id=165712
1648
1649         Reviewed by Yusuke Suzuki.
1650         
1651         Propagate the JSDOMWindowBase::commonVM() -> commonVM() change.
1652
1653         * Plugins/PluginView.cpp:
1654         (WebCore::PluginView::start):
1655         (WebCore::PluginView::stop):
1656         (WebCore::PluginView::performRequest):
1657         (WebCore::PluginView::npObject):
1658         (WebCore::PluginView::privateBrowsingStateChanged):
1659         * Plugins/PluginViewWin.cpp:
1660         (WebCore::PluginView::dispatchNPEvent):
1661         (WebCore::PluginView::handleKeyboardEvent):
1662         (WebCore::PluginView::handleMouseEvent):
1663         (WebCore::PluginView::setNPWindowRect):
1664         * WebCoreStatistics.cpp:
1665         (WebCoreStatistics::javaScriptObjectsCount):
1666         (WebCoreStatistics::javaScriptGlobalObjectsCount):
1667         (WebCoreStatistics::javaScriptProtectedObjectsCount):
1668         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1669         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1670         (WebCoreStatistics::javaScriptObjectTypeCounts):
1671         (WebCoreStatistics::shouldPrintExceptions):
1672         (WebCoreStatistics::setShouldPrintExceptions):
1673         (WebCoreStatistics::memoryStatistics):
1674         * WebJavaScriptCollector.cpp:
1675         (WebJavaScriptCollector::objectCount):
1676
1677 2016-12-09  Geoffrey Garen  <ggaren@apple.com>
1678
1679         TextPosition and OrdinalNumber should be more like idiomatic numbers
1680         https://bugs.webkit.org/show_bug.cgi?id=165678
1681
1682         Reviewed by Filip Pizlo.
1683
1684         Adopt default constructor.
1685
1686         * Plugins/PluginPackage.cpp:
1687         (WebCore::makeSource):
1688
1689 2016-12-08  Filip Pizlo  <fpizlo@apple.com>
1690
1691         Enable SharedArrayBuffer, remove the flag
1692         https://bugs.webkit.org/show_bug.cgi?id=165614
1693
1694         Rubber stamped by Geoffrey Garen.
1695
1696         * Interfaces/IWebPreferencesPrivate.idl:
1697
1698 2016-11-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1699
1700         [WTF] Import std::optional reference implementation as WTF::Optional
1701         https://bugs.webkit.org/show_bug.cgi?id=164199
1702
1703         Reviewed by Saam Barati and Sam Weinig.
1704
1705         Use WTF::Optional::value_or.
1706
1707         * Plugins/PluginView.cpp:
1708         (WebCore::PluginView::performRequest):
1709         * WebCoreSupport/WebFrameLoaderClient.cpp:
1710         (WebFrameLoaderClient::dispatchDidCommitLoad):
1711         * WebCoreSupport/WebFrameLoaderClient.h:
1712         * WebSecurityOrigin.cpp:
1713         (WebSecurityOrigin::port):
1714
1715 2016-11-19  Simon Fraser  <simon.fraser@apple.com>
1716
1717         [iOS WK2] When zoomed in and panning on pages with fixed bars, parts of the bars are sometimes missing
1718         https://bugs.webkit.org/show_bug.cgi?id=164855
1719
1720         Reviewed by Sam Weinig.
1721         
1722         Remove the "inStableState" parameter from flushCompositingState() etc.
1723
1724         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1725         (AcceleratedCompositingContext::flushPendingLayerChanges):
1726         * WebView.cpp:
1727         (WebView::flushPendingGraphicsLayerChanges):
1728
1729 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
1730
1731         [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
1732         https://bugs.webkit.org/show_bug.cgi?id=164827
1733
1734         Reviewed by Ryosuke Niwa.
1735
1736         * Interfaces/IWebPreferencesPrivate.idl:
1737         * WebPreferenceKeysPrivate.h:
1738         * WebPreferences.cpp:
1739         (WebPreferences::setES6ModulesEnabled):
1740         (WebPreferences::es6ModulesEnabled):
1741         * WebPreferences.h:
1742         * WebView.cpp:
1743         (WebView::notifyPreferencesChanged):
1744
1745 2016-11-14  Alex Christensen  <achristensen@webkit.org>
1746
1747         Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
1748         https://bugs.webkit.org/show_bug.cgi?id=164720
1749
1750         Reviewed by Brady Eidson.
1751
1752         * WebDatabaseManager.cpp:
1753         (DidModifyOriginData::dispatchToMainThread):
1754         (DidModifyOriginData::DidModifyOriginData):
1755         (WebDatabaseManager::dispatchDidModifyOrigin):
1756         (WebDatabaseManager::dispatchDidModifyDatabase):
1757         * WebDatabaseManager.h:
1758         * WebSecurityOrigin.cpp:
1759         (WebSecurityOrigin::usage):
1760         (WebSecurityOrigin::quota):
1761         (WebSecurityOrigin::setQuota):
1762
1763 2016-11-13  Darin Adler  <darin@apple.com>
1764
1765         Fix exception handling in SQL database code, streamline and update code
1766         https://bugs.webkit.org/show_bug.cgi?id=164685
1767
1768         Reviewed by Sam Weinig.
1769
1770         * WebDatabaseManager.cpp:
1771         (WebDatabaseManager::origins): Use DatabaseTracker.
1772         (WebDatabaseManager::databasesWithOrigin): Ditto.
1773         (WebDatabaseManager::detailsForDatabase): Use reference.
1774         (WebDatabaseManager::deleteAllDatabases): Use DatabaseTracker.
1775         (WebDatabaseManager::deleteOrigin): Ditto.
1776         (WebDatabaseManager::deleteDatabase): Ditto.
1777         (WebDatabaseManager::dispatchDidModifyOrigin): Use reference
1778         and DatabaseTracker.
1779         (WebDatabaseManager::setQuota): Ditto.
1780         (WebDatabaseManager::dispatchDidModifyDatabase): Ditto.
1781         * WebDatabaseManager.h: Updated client functions to take a reference.
1782
1783         * WebSecurityOrigin.cpp:
1784         (WebSecurityOrigin::usage): Update to use DatabaseTracker.
1785         (WebSecurityOrigin::quota): Ditto.
1786         (WebSecurityOrigin::setQuota): Ditto.
1787
1788 2016-11-11  Eric Carlson  <eric.carlson@apple.com>
1789
1790         [MediaStream] defer resolution of getUserMedia promise made in a background tab
1791         https://bugs.webkit.org/show_bug.cgi?id=164643
1792         <rdar://problem/29048317>
1793
1794         Unreviewed build fix after r208606.
1795
1796         * Plugins/PluginView.cpp:
1797         (WebCore::PluginView::mediaCanStart):
1798         * Plugins/PluginView.h:
1799
1800 2016-11-11  Darin Adler  <darin@apple.com>
1801
1802         Move Node from ExceptionCode to ExceptionOr
1803         https://bugs.webkit.org/show_bug.cgi?id=164515
1804
1805         Reviewed by Sam Weinig.
1806
1807         * DOMCoreClasses.cpp:
1808         (DOMNode::insertBefore): Update exception handling.
1809         (DOMNode::removeChild): Ditto.
1810
1811 2016-10-14  Carlos Garcia Campos  <cgarcia@igalia.com>
1812
1813         MemoryPressureHandler shouldn't know how to release WebCore memory
1814         https://bugs.webkit.org/show_bug.cgi?id=160497
1815
1816         Reviewed by Michael Catanzaro.
1817
1818         Set the low memory handler before installing the memory pressure handler.
1819
1820         * WebView.cpp:
1821         (WebView::initWithFrame):
1822
1823 2016-11-09  Alex Christensen  <achristensen@webkit.org>
1824
1825         Fix Windows build after r208499
1826         https://bugs.webkit.org/show_bug.cgi?id=164562
1827
1828         * WebKitDLL.cpp:
1829         (shutDownWebKit):
1830
1831 2016-11-09  Darin Adler  <darin@apple.com>
1832
1833         Move Range from ExceptionCode to ExceptionOr
1834         https://bugs.webkit.org/show_bug.cgi?id=164457
1835
1836         Reviewed by Alex Christensen.
1837
1838         * WebView.cpp:
1839         (WebView::onIMERequestCharPosition): Updated for new exception handling.
1840
1841 2016-11-09  Darin Adler  <darin@apple.com>
1842
1843         Move EventTarget from ExceptionCode to ExceptionOr
1844         https://bugs.webkit.org/show_bug.cgi?id=164465
1845
1846         Reviewed by Youenn Fablet.
1847
1848         * DOMCoreClasses.cpp:
1849         (DOMNode::dispatchEvent): Updated exception handling.
1850         (DOMWindow::dispatchEvent): Ditto.
1851
1852 2016-11-04  Wenson Hsieh  <wenson_hsieh@apple.com>
1853
1854         Safari does not emit composition end if blurred for dead key / Japanese IME
1855         https://bugs.webkit.org/show_bug.cgi?id=164369
1856         <rdar://problem/29050439>
1857
1858         Reviewed by Ryosuke Niwa.
1859
1860         Add a stub implementation of canceledComposition.
1861
1862         * WebCoreSupport/WebEditorClient.cpp:
1863         (WebEditorClient::canceledComposition):
1864         * WebCoreSupport/WebEditorClient.h:
1865
1866 2016-11-04  Per Arne Vollan  <pvollan@apple.com>
1867
1868         [Win] Page visibility tests are timing out.
1869         https://bugs.webkit.org/show_bug.cgi?id=164363
1870
1871         Reviewed by Brent Fulgham.
1872
1873         Add method to set page visibility.
1874
1875         * Interfaces/IWebViewPrivate.idl:
1876         * WebView.cpp:
1877         (WebView::QueryInterface):
1878         (WebView::findString):
1879         (WebView::setVisibilityState):
1880         * WebView.h:
1881
1882 2016-11-01  Ryosuke Niwa  <rniwa@webkit.org>
1883
1884         Remove CUSTOM_ELEMENTS build flag
1885         https://bugs.webkit.org/show_bug.cgi?id=164267
1886
1887         Reviewed by Antti Koivisto.
1888
1889         Removed the build flag.
1890
1891         * WebView.cpp:
1892         (WebView::notifyPreferencesChanged):
1893
1894 2016-10-29  Filip Pizlo  <fpizlo@apple.com>
1895
1896         JSC should support SharedArrayBuffer
1897         https://bugs.webkit.org/show_bug.cgi?id=163986
1898
1899         Reviewed by Keith Miller.
1900
1901         Support the RuntimeFlag.
1902
1903         * Interfaces/IWebPreferencesPrivate.idl:
1904
1905 2016-10-31  Joseph Pecoraro  <pecoraro@apple.com>
1906
1907         Use #pragma once in WebCore
1908         https://bugs.webkit.org/show_bug.cgi?id=164194
1909
1910         Rubber-stamped by Sam Weinig.
1911
1912         * WebCoreSupport/WebContextMenuClient.cpp:
1913         (WebContextMenuClient::isSpeaking):
1914         (WebContextMenuClient::shareMenuItem): Deleted.
1915         * WebCoreSupport/WebContextMenuClient.h:
1916         Remove this dead code since r192333.
1917
1918 2016-10-31  Darin Adler  <darin@apple.com>
1919
1920         Convert Document from ExceptionCode to Exception
1921         https://bugs.webkit.org/show_bug.cgi?id=164212
1922
1923         Reviewed by Alex Christensen.
1924
1925         * DOMCoreClasses.cpp:
1926         (DOMDocument::createElement): Updated exception handling.
1927         (DOMDocument::createEvent): Ditto.
1928
1929 2016-10-30  Darin Adler  <darin@apple.com>
1930
1931         Move Element, NamedNodeMap, and DOMStringMap from ExceptionCode to Exception
1932         https://bugs.webkit.org/show_bug.cgi?id=164206
1933
1934         Reviewed by Chris Dumez.
1935
1936         * DOMCoreClasses.cpp:
1937         (DOMElement::setAttribute): Updated exception handling.
1938         * DOMHTMLClasses.cpp:
1939         (DOMHTMLElement::setInnerHTML): Ditto.
1940
1941 2016-10-30  Brent Fulgham  <bfulgham@apple.com>
1942
1943         Unreviewed build fix (Direct2D)
1944
1945         * WebView.cpp:
1946         (WebView::paintWithDirect2D): Update for revised GraphicsContext
1947         begin/end draw behavior.
1948
1949 2016-10-28  Darin Adler  <darin@apple.com>
1950
1951         Move all classes in the HTML directory from ExceptionCode to Exception
1952         https://bugs.webkit.org/show_bug.cgi?id=163876
1953
1954         Reviewed by Sam Weinig.
1955
1956         * DOMHTMLClasses.cpp:
1957         (DOMHTMLElement::setInnerText): Update exception handling.
1958         * FullscreenVideoController.cpp:
1959         (FullscreenVideoController::setVolume): Ditto.
1960
1961 2016-10-27  Brent Fulgham  <bfulgham@apple.com>
1962
1963         Unreviewed build fix.
1964
1965         * WebView.cpp:
1966         (WebView::paintWithDirect2D): Correct merge error.
1967
1968 2016-10-25  Brent Fulgham  <bfulgham@apple.com>
1969
1970         [Win][Direct2D] Create a RAII Helper Class for the Render Target
1971         https://bugs.webkit.org/show_bug.cgi?id=164005
1972
1973         Reviewed by Alex Christensen.
1974
1975         * WebView.cpp:
1976         (WebView::sizeChanged): Construct RenderTarget with higher-resolution display timer.
1977         (WebView::paintWithDirect2D): Revise to use new RenderTargetHelper class.
1978
1979 2016-10-27  Wenson Hsieh  <wenson_hsieh@apple.com>
1980
1981         Support "insertFromDrop" and "deleteByDrag" for the InputEvent spec
1982         https://bugs.webkit.org/show_bug.cgi?id=163948
1983         <rdar://problem/28921433>
1984
1985         Reviewed by Darin Adler.
1986
1987         Add support for new drag and drop-related EditAction enum values.
1988
1989         * WebCoreSupport/WebEditorClient.cpp:
1990         (undoNameForEditAction):
1991
1992 2016-10-26  Brian Burg  <bburg@apple.com>
1993
1994         Web Inspector: remove unused bool return value from FrontendChannel::sendMessageToFrontend
1995         https://bugs.webkit.org/show_bug.cgi?id=164046
1996
1997         Reviewed by Joseph Pecoraro.
1998
1999         * WebCoreSupport/WebInspectorClient.h:
2000
2001 2016-10-19  Alex Christensen  <achristensen@webkit.org>
2002
2003         Revert r207151
2004         https://bugs.webkit.org/show_bug.cgi?id=163675
2005
2006         Reviewed by Brent Fulgham.
2007
2008         * DefaultDownloadDelegate.h:
2009         * WebCoreSupport/WebFrameLoaderClient.cpp:
2010         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
2011         * WebCoreSupport/WebFrameNetworkingContext.cpp:
2012         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
2013         * WebCoreSupport/WebFrameNetworkingContext.h:
2014         * WebCoreSupport/WebPlatformStrategies.cpp:
2015         * WebDownload.h:
2016         * WebError.cpp:
2017         (WebError::localizedDescription):
2018         (WebError::sslPeerCertificate):
2019         * WebError.h:
2020         * WebMutableURLRequest.cpp:
2021         (WebMutableURLRequest::mutableCopy):
2022         * WebURLAuthenticationChallenge.cpp:
2023         (WebURLAuthenticationChallenge::initWithProtectionSpace):
2024         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
2025         * WebURLResponse.cpp:
2026         (WebURLResponse::sslPeerCertificate):
2027         * WebURLResponse.h:
2028         * WebView.cpp:
2029         (WebView::setCacheModel):
2030         (WebView::canHandleRequest):
2031         (WebView::notifyPreferencesChanged):
2032         (updateSharedSettingsFromPreferencesIfNeeded):
2033
2034 2016-10-18  Darin Adler  <darin@apple.com>
2035
2036         Move many miscellaneous classes from ExceptionCode to Exception
2037         https://bugs.webkit.org/show_bug.cgi?id=163645
2038
2039         Reviewed by Ryosuke Niwa.
2040
2041         * DOMCoreClasses.cpp:
2042         (DOMDocument::getComputedStyle): Use ptr instead of get since the return
2043         value is now Ref instead of RefPtr.
2044
2045 2016-10-18  Anders Carlsson  <andersca@apple.com>
2046
2047         Try to fix the Windows build.
2048
2049         * WebHistoryItem.cpp:
2050         (WebHistoryItem::redirectURLs):
2051
2052 2016-10-18  Anders Carlsson  <andersca@apple.com>
2053
2054         Move some history specific HistoryItem code to WebHistoryItem
2055         https://bugs.webkit.org/show_bug.cgi?id=163567
2056
2057         Reviewed by Tim Horton.
2058
2059         Remove these, they aren't used.
2060
2061         * WebCoreSupport/WebFrameLoaderClient.cpp:
2062         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
2063         * WebHistory.cpp:
2064         (WebHistory::visitedURL):
2065         * WebHistoryItem.cpp:
2066         (WebHistoryItem::initFromDictionaryRepresentation):
2067         (WebHistoryItem::dictionaryRepresentation):
2068
2069 2016-10-16  Darin Adler  <darin@apple.com>
2070
2071         Move CSS classes from ExceptionCode to Exception
2072         https://bugs.webkit.org/show_bug.cgi?id=163494
2073
2074         Reviewed by Sam Weinig.
2075
2076         * DOMCSSClasses.cpp:
2077         (DOMCSSStyleDeclaration::setCssText): Remove ExceptionCode handling.
2078         (DOMCSSStyleDeclaration::setProperty): Ditto.
2079
2080 2016-10-12  Anders Carlsson  <andersca@apple.com>
2081
2082         Copy BackForwardList from WebCore to WebKit/win
2083         https://bugs.webkit.org/show_bug.cgi?id=163360
2084
2085         Reviewed by Alex Christensen.
2086
2087         Use our local BackForwardList class instead of WebCore::BackForwardList.
2088
2089         * BackForwardList.cpp: Added.
2090         * BackForwardList.h: Added.
2091         * WebBackForwardList.h:
2092         * WebView.cpp:
2093         (WebView::initWithFrame):
2094         (WebView::backForwardList):
2095
2096 2016-10-13  Anders Carlsson  <andersca@apple.com>
2097
2098         Get rid of the HistoryItemVector typedef
2099         https://bugs.webkit.org/show_bug.cgi?id=163398
2100
2101         Reviewed by Beth Dakin.
2102
2103         Expand the HistoryitemVector typedef instead to make it more clear what types we are dealing with.
2104
2105         * WebBackForwardList.cpp:
2106         (WebBackForwardList::backListWithLimit):
2107         (WebBackForwardList::forwardListWithLimit):
2108         * WebHistoryItem.cpp:
2109         (WebHistoryItem::children):
2110
2111 2016-10-12  Brent Fulgham  <bfulgham@apple.com>
2112
2113         [Win] Unreviewed build fix after r207218.
2114
2115         The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
2116         It should be using USE(CFURLCONNECTION).
2117
2118         * WebCache.cpp: Missed one!
2119
2120 2016-10-12  Brent Fulgham  <bfulgham@apple.com>
2121
2122         [Win] Unreviewed build fix after r207218.
2123
2124         The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
2125         It should be using USE(CFURLCONNECTION).
2126
2127         * WebCache.cpp:
2128         (WebCache::cacheFolder):
2129         (WebCache::setCacheFolder):
2130
2131 2016-10-12  Per Arne Vollan  <pvollan@apple.com>
2132
2133         [Win] Parallel DRTs are sharing preferences and cache.
2134         https://bugs.webkit.org/show_bug.cgi?id=163013
2135
2136         Reviewed by Brent Fulgham.
2137
2138         Make it possible for a WebKit client to use separate preferences and cache.
2139
2140         * Interfaces/IWebPreferencesPrivate.idl:
2141         * WebApplicationCache.cpp:
2142         (applicationCachePath):
2143         * WebCache.cpp:
2144         (WebCache::cacheFolder):
2145         (WebCache::setCacheFolder):
2146         * WebDatabaseManager.cpp:
2147         (databasesDirectory):
2148         * WebPreferences.cpp:
2149         (WebPreferences::applicationId):
2150         (WebPreferences::valueForKey):
2151         (WebPreferences::setValueForKey):
2152         (WebPreferences::save):
2153         (WebPreferences::QueryInterface):
2154         (WebPreferences::modernMediaControlsEnabled):
2155         (WebPreferences::setApplicationId):
2156         * WebPreferences.h:
2157         * WebView.cpp:
2158         (WebView::setCacheModel):
2159
2160 2016-10-11  Alex Christensen  <achristensen@webkit.org>
2161
2162         Remove dead networking code
2163         https://bugs.webkit.org/show_bug.cgi?id=163263
2164
2165         Reviewed by Daniel Bates.
2166
2167         * DefaultDownloadDelegate.h:
2168         * WebCoreSupport/WebFrameLoaderClient.cpp:
2169         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
2170         * WebCoreSupport/WebFrameNetworkingContext.cpp:
2171         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
2172         * WebCoreSupport/WebFrameNetworkingContext.h:
2173         * WebCoreSupport/WebPlatformStrategies.cpp:
2174         * WebDownload.h:
2175         * WebError.cpp:
2176         (WebError::localizedDescription):
2177         (WebError::sslPeerCertificate):
2178         * WebError.h:
2179         * WebMutableURLRequest.cpp:
2180         (WebMutableURLRequest::mutableCopy):
2181         * WebURLAuthenticationChallenge.cpp:
2182         (WebURLAuthenticationChallenge::initWithProtectionSpace):
2183         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
2184         * WebURLResponse.cpp:
2185         (WebURLResponse::sslPeerCertificate):
2186         * WebURLResponse.h:
2187         * WebView.cpp:
2188         (WebView::setCacheModel):
2189         (WebView::canHandleRequest):
2190         (WebView::notifyPreferencesChanged):
2191         (updateSharedSettingsFromPreferencesIfNeeded):
2192
2193 2016-10-11  Ryan Haddad  <ryanhaddad@apple.com>
2194
2195         Unreviewed, rolling out r207067.
2196
2197         This change caused webkitpy test failures.
2198
2199         Reverted changeset:
2200
2201         "[Win] Parallel DRTs are sharing preferences and cache."
2202         https://bugs.webkit.org/show_bug.cgi?id=163013
2203         http://trac.webkit.org/changeset/207067
2204
2205 2016-10-11  Per Arne Vollan  <pvollan@apple.com>
2206
2207         [Win] Parallel DRTs are sharing preferences and cache.
2208         https://bugs.webkit.org/show_bug.cgi?id=163013
2209
2210         Reviewed by Brent Fulgham.
2211
2212         Make it possible for a WebKit client to use separate preferences and cache.
2213
2214         * Interfaces/IWebPreferencesPrivate.idl:
2215         * WebApplicationCache.cpp:
2216         (applicationCachePath):
2217         * WebCache.cpp:
2218         (WebCache::cacheFolder):
2219         (WebCache::setCacheFolder):
2220         * WebDatabaseManager.cpp:
2221         (databasesDirectory):
2222         * WebPreferences.cpp:
2223         (WebPreferences::applicationId):
2224         (WebPreferences::valueForKey):
2225         (WebPreferences::setValueForKey):
2226         (WebPreferences::save):
2227         (WebPreferences::QueryInterface):
2228         (WebPreferences::modernMediaControlsEnabled):
2229         (WebPreferences::setApplicationId):
2230         * WebPreferences.h:
2231         * WebView.cpp:
2232         (WebView::setCacheModel):
2233
2234 2016-10-09  Wenson Hsieh  <wenson_hsieh@apple.com>
2235
2236         Support InputEvent.inputType for the new InputEvent spec
2237         https://bugs.webkit.org/show_bug.cgi?id=163025
2238         <rdar://problem/28658092>
2239
2240         Reviewed by Darin Adler.
2241
2242         * WebCoreSupport/WebEditorClient.cpp:
2243         (undoNameForEditAction):
2244
2245 2016-10-04  Brent Fulgham  <bfulgham@apple.com>
2246
2247         [Win][Direct2D] Connect WebCore/WebKit Drawing
2248         https://bugs.webkit.org/show_bug.cgi?id=162924
2249
2250         Reviewed by Alex Christensen.
2251
2252         Update the Windows WebKit layer to optionally use the Direct2D
2253         backend.
2254
2255         * FullscreenVideoController.cpp: Disable some CoreAnimation-based
2256         accelerated compositing logic.
2257         * FullscreenVideoController.h:
2258         * WebFrame.cpp:
2259         (WebFrame::spoolPages): Disable in Direct2D.
2260         * WebView.cpp:
2261         (WebView::ensureBackingStore): Add Direct2D logic.
2262         (WebView::scrollBackingStore): Ditto.
2263         (WebView::sizeChanged): Ditto.
2264         (WebView::paintWithDirect2D): Added.
2265         (WebView::WebViewWndProc): Call Direct2D paint routine.
2266         * WebView.h:
2267
2268 2016-10-02  Darin Adler  <darin@apple.com>
2269
2270         Rename ExceptionCode-based exception handling to "legacy"
2271         https://bugs.webkit.org/show_bug.cgi?id=162859
2272
2273         Reviewed by Chris Dumez.
2274
2275         * Interfaces/DOMEvents.idl: Let the script rename here (in a comment).
2276
2277 2016-09-29  Konstantin Tokarev  <annulen@yandex.ru>
2278
2279         Fixed compilation of PluginView when NETSCAPE_PLUGIN_API is disabled
2280         https://bugs.webkit.org/show_bug.cgi?id=162725
2281
2282         Reviewed by Alex Christensen.
2283
2284         Fix for r206460, streamDidFinishLoading() does not override anything
2285         when NETSCAPE_PLUGIN_API is disabled because PlugivView does not
2286         inherit PluginStreamClient in this case.
2287
2288         * Plugins/PluginView.h:
2289
2290 2016-09-27  Konstantin Tokarev  <annulen@yandex.ru>
2291
2292         Use override specifiers in PluginView
2293         https://bugs.webkit.org/show_bug.cgi?id=162628
2294
2295         Reviewed by Alex Christensen.
2296
2297         * Plugins/PluginView.h:
2298
2299 2016-09-23  Antoine Quint  <graouts@apple.com>
2300
2301         Add a new runtime flag for work on modern media controls (off by default)
2302         https://bugs.webkit.org/show_bug.cgi?id=162420
2303         <rdar://problem/27989489>
2304
2305         Reviewed by Eric Carlson.
2306
2307         * Interfaces/IWebPreferencesPrivate.idl:
2308         * WebPreferenceKeysPrivate.h:
2309         * WebPreferences.cpp:
2310         (WebPreferences::setModernMediaControlsEnabled):
2311         (WebPreferences::modernMediaControlsEnabled):
2312         (WebPreferences::setCustomElementsEnabled): Deleted.
2313         * WebPreferences.h:
2314         * WebView.cpp:
2315         (WebView::notifyPreferencesChanged):
2316
2317 2016-09-15  Brady Eidson  <beidson@apple.com>
2318
2319         WKWebView.hasOnlySecureContent always returns "YES" after going back to a CachedPage (even if it has http resources).
2320         <rdar://problem/27681261> and https://bugs.webkit.org/show_bug.cgi?id=162043
2321
2322         Reviewed by Brent Fulgham. 
2323
2324         * WebCoreSupport/WebFrameLoaderClient.cpp:
2325         (WebFrameLoaderClient::dispatchDidCommitLoad):
2326         * WebCoreSupport/WebFrameLoaderClient.h:
2327
2328 2016-09-07  Mark Lam  <mark.lam@apple.com>
2329
2330         Add CatchScope and force all exception checks to be via ThrowScope or CatchScope.
2331         https://bugs.webkit.org/show_bug.cgi?id=161498
2332
2333         Reviewed by Geoffrey Garen.
2334
2335         * Plugins/PluginPackage.cpp:
2336         (WebCore::NPN_Evaluate):
2337         (WebCore::NPN_Invoke):
2338
2339 2016-09-06  Per Arne Vollan  <pvollan@apple.com>
2340
2341         [Win] Null pointer crash under WebView::scrollOffset.
2342         https://bugs.webkit.org/show_bug.cgi?id=161620
2343
2344         Reviewed by Darin Adler.
2345
2346         Added null pointer checks.
2347
2348         * WebView.cpp:
2349         (WebView::scrollOffset):
2350         (WebView::scrollBy):
2351         (WebView::visibleContentRect):
2352
2353 2016-09-03  Darin Adler  <darin@apple.com>
2354
2355         Streamline DOMImplementation, and move it to our new DOM exception system
2356         https://bugs.webkit.org/show_bug.cgi?id=161295
2357
2358         Reviewed by Ryosuke Niwa.
2359
2360         * WebFrame.cpp:
2361         (WebFrame::canProvideDocumentSource): Updated to use isXMLMIMEType in its new
2362         location in MIMETypeRegistry instead of in DOMImplementation.
2363
2364 2016-09-02  Ryosuke Niwa  <rniwa@webkit.org>
2365
2366         Build fix attempt after r205381.
2367
2368         * WebCoreSupport/WebEditorClient.h:
2369
2370 2016-08-31  Keith Rollin  <krollin@apple.com>
2371
2372         WebKit should set a subsystem for os_log so it's easier to filter for WebKit log messages
2373         https://bugs.webkit.org/show_bug.cgi?id=160969
2374         <rdar://problem/26068734>
2375
2376         Reviewed by Simon Fraser.
2377
2378         Enable subsystem- and channel-related data and functions when using
2379         RELEASE_LOG macros. Use the DECLARE_LOG_CHANNEL, DEFINE_LOG_CHANNEL,
2380         and LOG_CHANNEL_ADDRESS macros that are now defined in WTF.
2381
2382         * WebKitLogging.cpp:
2383         * WebKitLogging.h:
2384         * WebView.cpp:
2385         (WebView::initWithFrame):
2386
2387 2016-08-16  Carlos Garcia Campos  <cgarcia@igalia.com>
2388
2389         [GTK] Accelerated compositing does not work in Wayland
2390         https://bugs.webkit.org/show_bug.cgi?id=115803
2391
2392         Reviewed by Michael Catanzaro.
2393
2394         Update to the new GLContext API.
2395
2396         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2397         (AcceleratedCompositingContext::initialize):
2398         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
2399
2400 2016-08-21  Alex Christensen  <achristensen@webkit.org>
2401
2402         Use Document& instead of Document* when getting cookies
2403         https://bugs.webkit.org/show_bug.cgi?id=161011
2404
2405         Reviewed by Darin Adler.
2406
2407         * Plugins/PluginView.cpp:
2408         (WebCore::PluginView::getValueForURL):
2409
2410 2016-08-16  Simon Fraser  <simon.fraser@apple.com>
2411
2412         Rename didLayout(LayoutMilestones) to didReachLayoutMilestone(), and related WK2 functions
2413         https://bugs.webkit.org/show_bug.cgi?id=160923
2414
2415         Reviewed by Tim Horton.
2416
2417         didLayout(LayoutMilestones) -> didReachLayoutMilestone(LayoutMilestones)
2418         dispatchDidLayout(LayoutMilestones) -> dispatchDidReachLayoutMilestone(LayoutMilestones)
2419
2420         * WebCoreSupport/WebFrameLoaderClient.cpp:
2421         (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
2422         (WebFrameLoaderClient::dispatchDidLayout): Deleted.
2423         * WebCoreSupport/WebFrameLoaderClient.h:
2424
2425 2016-08-18  Anders Carlsson  <andersca@apple.com>
2426
2427         Move an NPAPI-only function from WebCore to WebKit
2428         https://bugs.webkit.org/show_bug.cgi?id=160967
2429
2430         Reviewed by Sam Weinig.
2431
2432         * Plugins/PluginView.cpp:
2433         (WebCore::PluginView::~PluginView):
2434         (WebCore::PluginView::PluginView):
2435         (WebCore::PluginView::getValue):
2436         * Plugins/PluginView.h:
2437
2438 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
2439
2440         Remove unused includes of wtf headers
2441         https://bugs.webkit.org/show_bug.cgi?id=160839
2442
2443         Reviewed by Alex Christensen.
2444
2445         * WebFrame.h:
2446
2447 2016-08-09  Alex Christensen  <achristensen@webkit.org>
2448
2449         Move NetworkStorageSession management to WebCore
2450         https://bugs.webkit.org/show_bug.cgi?id=160173
2451
2452         Reviewed by Brady Eidson.
2453
2454         * WebCoreSupport/WebFrameNetworkingContext.cpp:
2455         (identifierBase):
2456         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
2457         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
2458         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
2459         (WebFrameNetworkingContext::blockedError):
2460         (WebFrameNetworkingContext::storageSession):
2461         (privateSession): Deleted.
2462         * WebCoreSupport/WebPlatformStrategies.cpp:
2463         (WebPlatformStrategies::createPasteboardStrategy):
2464         (WebPlatformStrategies::createBlobRegistry):
2465
2466 2016-08-09  Anders Carlsson  <andersca@apple.com>
2467
2468         Instantiate WebKit plug-ins at layout time, instead of at style resolution time
2469         https://bugs.webkit.org/show_bug.cgi?id=160715
2470
2471         Reviewed by Tim Horton.
2472
2473         * WebCoreSupport/WebFrameLoaderClient.cpp:
2474         (WebFrameLoaderClient::objectContentType):
2475
2476 2016-08-09  Per Arne Vollan  <pvollan@apple.com>
2477
2478         [Win] Crash in MiniBrowser.
2479         https://bugs.webkit.org/show_bug.cgi?id=160686
2480
2481         Reviewed by Sam Weinig.
2482
2483         We need to specify a plugin info provider object in the page configuration.
2484
2485         * WebView.cpp:
2486         (WebView::initWithFrame):
2487
2488 2016-08-09  Anders Carlsson  <andersca@apple.com>
2489
2490         Fix build.
2491
2492         * WebCoreSupport/WebPlatformStrategies.h:
2493
2494 2016-08-09  Anders Carlsson  <andersca@apple.com>
2495
2496         Get rid of PluginStrategy
2497         https://bugs.webkit.org/show_bug.cgi?id=160696
2498
2499         Reviewed by Dan Bernstein.
2500
2501         * WebCoreSupport/WebPlatformStrategies.cpp:
2502         (WebPlatformStrategies::createPluginStrategy): Deleted.
2503
2504 2016-08-09  Anders Carlsson  <andersca@apple.com>
2505
2506         Move plug-in enumeration from WebPlatformStrategies to WebPluginInfoProvider
2507         https://bugs.webkit.org/show_bug.cgi?id=160694
2508
2509         Reviewed by Dan Bernstein.
2510
2511         * WebCoreSupport/WebPlatformStrategies.cpp:
2512         (WebPlatformStrategies::createPluginStrategy):
2513         (WebPlatformStrategies::refreshPlugins): Deleted.
2514         (WebPlatformStrategies::getPluginInfo): Deleted.
2515         (WebPlatformStrategies::getWebVisiblePluginInfo): Deleted.
2516         * WebCoreSupport/WebPlatformStrategies.h:
2517         * WebCoreSupport/WebPluginInfoProvider.cpp:
2518         (WebPluginInfoProvider::refreshPlugins):
2519         (WebPluginInfoProvider::getPluginInfo):
2520         (WebPluginInfoProvider::getWebVisiblePluginInfo):
2521
2522 2016-08-08  Anders Carlsson  <andersca@apple.com>
2523
2524         Add a new PluginInfoProvider class, to replace PluginStrategy
2525         https://bugs.webkit.org/show_bug.cgi?id=160670
2526
2527         Reviewed by Sam Weinig.
2528
2529         Add a new WebPluginInfoProvider - it just calls through to the plug-in strategy for now.
2530
2531         * WebCoreSupport/WebPluginInfoProvider.cpp: Added.
2532         (WebPluginInfoProvider::singleton):
2533         (WebPluginInfoProvider::WebPluginInfoProvider):
2534         (WebPluginInfoProvider::~WebPluginInfoProvider):
2535         (WebPluginInfoProvider::refreshPlugins):
2536         (WebPluginInfoProvider::getPluginInfo):
2537         (WebPluginInfoProvider::getWebVisiblePluginInfo):
2538         * WebCoreSupport/WebPluginInfoProvider.h: Added.
2539
2540 2016-07-29  Csaba Osztrogon√°c  <ossy@webkit.org>
2541
2542         Remove PassRef.h after r177259
2543         https://bugs.webkit.org/show_bug.cgi?id=160348
2544
2545         Reviewed by Andreas Kling.
2546
2547         * WebCoreSupport/WebVisitedLinkStore.h:
2548
2549 2016-07-27  Alex Christensen  <achristensen@webkit.org>
2550
2551         Fix Win debug build after r203749.
2552
2553         * WebView.cpp:
2554
2555 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
2556
2557         Allow LOG macros to be used outside the namespace, and other logging cleanup
2558         https://bugs.webkit.org/show_bug.cgi?id=160216
2559
2560         Reviewed by Anders Carlsson.
2561
2562         Fix some issues with the LOG macros.
2563         
2564         First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
2565         its log channels outside of the namespace (they are protected by a unique prefix anyway).
2566         
2567         Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
2568         into LogMacros.h, which is exported from WebCore as a private header.
2569         
2570         Third, split the Logging.h header into two. Logging.h remains for framework-internal
2571         log channels and log macros. Add LogInitialization.h which is external, and used to
2572         initialize the channels.
2573         
2574         Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
2575
2576         * WebKitLogging.cpp:
2577         * WebKitLogging.h:
2578         * WebView.cpp:
2579         (WebView::initWithFrame):
2580
2581 2016-07-23  Chris Dumez  <cdumez@apple.com>
2582
2583         Unreviewed, fix Windows build after r203623.
2584
2585         * DOMCoreClasses.cpp:
2586         (DOMDocument::getComputedStyle):
2587
2588 2016-07-22  Per Arne Vollan  <pvollan@apple.com>
2589
2590         IWebView::mainFrame crashes if called after IWebView::close
2591         https://bugs.webkit.org/show_bug.cgi?id=32868
2592
2593         Reviewed by Brent Fulgham.
2594
2595         After deleting the page in WebView::close the mainframe object may be deleted. 
2596          
2597         Test: Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp (CloseThenGetMainFrame).
2598
2599         * WebView.cpp:
2600         (WebView::close): set mainframe pointer member to null. 
2601
2602 2016-07-19  Per Arne Vollan  <pvollan@apple.com>
2603
2604         [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
2605         https://bugs.webkit.org/show_bug.cgi?id=159342
2606
2607         Reviewed by Darin Adler.
2608
2609         * WebFrame.h: Link fix. 
2610
2611 2016-07-17  Sam Weinig  <sam@webkit.org>
2612
2613         [WebKit API] Add SPI to track multiple navigations caused by a single user gesture
2614         <rdar://problem/26554137>
2615         https://bugs.webkit.org/show_bug.cgi?id=159856
2616
2617         Reviewed by Dan Bernstein.
2618
2619         * Plugins/PluginView.cpp:
2620         (WebCore::PluginView::performRequest):
2621         * WebCoreSupport/WebContextMenuClient.cpp:
2622         (WebContextMenuClient::searchWithGoogle):
2623         Update for new UserGestureIndicator interface.
2624
2625 2016-07-16  Ryosuke Niwa  <rniwa@webkit.org>
2626
2627         Rename fastGetAttribute to attributeWithoutSynchronization
2628         https://bugs.webkit.org/show_bug.cgi?id=159852
2629
2630         Reviewed by Darin Adler.
2631
2632         * DOMHTMLClasses.cpp:
2633         (DOMHTMLElement::idName):
2634
2635 2016-07-15  Chris Dumez  <cdumez@apple.com>
2636
2637         Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible
2638         https://bugs.webkit.org/show_bug.cgi?id=159793
2639
2640         Reviewed by Ryosuke Niwa.
2641
2642         Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible, for performance.
2643
2644         * DOMHTMLClasses.cpp:
2645         (DOMHTMLElement::idName):
2646
2647 2016-07-14  Chris Dumez  <cdumez@apple.com>
2648
2649         Use emptyString() instead of "" when possible
2650         https://bugs.webkit.org/show_bug.cgi?id=159789
2651
2652         Reviewed by Alex Christensen.
2653
2654         Use emptyString() instead of "" when possible to reduce String allocations.
2655
2656         * Plugins/PluginView.cpp:
2657         (WebCore::parseRFC822HeaderFields):
2658
2659 2016-07-14  Alex Christensen  <achristensen@webkit.org>
2660
2661         Use SocketProvider to create SocketStreamHandles
2662         https://bugs.webkit.org/show_bug.cgi?id=159774
2663
2664         Reviewed by Brady Eidson.
2665
2666         * WebSocketProvider.cpp: Removed.
2667         * WebSocketProvider.h: Removed.
2668         * WebView.cpp: Replaced WebSocketProvider with SocketProvider as we did in WebCore.
2669
2670 2016-07-14  Csaba Osztrogon√°c  <ossy@webkit.org>
2671
2672         Fix the !ENABLE(WEB_SOCKETS) build after r202930
2673         https://bugs.webkit.org/show_bug.cgi?id=159768
2674
2675         Reviewed by Alex Christensen.
2676
2677         * WebSocketProvider.h:
2678
2679 2016-07-11  Enrica Casucci  <enrica@apple.com>
2680
2681         Build fix.
2682
2683         Unreviewed.
2684
2685         * WebDropSource.cpp:
2686         (generateMouseEvent):
2687
2688 2016-07-11  Enrica Casucci  <enrica@apple.com>
2689
2690         Add synthetic click origin to WKNavigationAction.
2691         https://bugs.webkit.org/show_bug.cgi?id=159584
2692         rdar://problem/25610422
2693
2694         Reviewed by Tim Horton.
2695
2696         * WebDropSource.cpp:
2697         (generateMouseEvent):
2698
2699 2016-07-07  Alex Christensen  <achristensen@webkit.org>
2700
2701         Fix Windows build after r202930.
2702         https://bugs.webkit.org/show_bug.cgi?id=158776
2703
2704         * WebView.cpp:
2705         (WebView::initWithFrame):
2706
2707 2016-07-07  Alex Christensen  <achristensen@webkit.org>
2708
2709         Use SocketProvider to create WebSocketChannels
2710         https://bugs.webkit.org/show_bug.cgi?id=158776
2711
2712         Reviewed by Brent Fulgham.
2713
2714         * WebSocketProvider.cpp: Copied from Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp.
2715         (WebSocketProvider::createWebSocketChannel):
2716         (WebCore::ThreadableWebSocketChannel::create): Deleted.
2717         * WebSocketProvider.h:
2718
2719 2016-07-06  Per Arne Vollan  <pvollan@apple.com>
2720
2721         [Win] Add null pointer check in gesture handling.
2722         https://bugs.webkit.org/show_bug.cgi?id=159454
2723
2724         Reviewed by Brent Fulgham.
2725
2726         * WebView.cpp:
2727         (WebView::gesture):
2728
2729 2016-07-01  Per Arne Vollan  <pvollan@apple.com>
2730
2731         ASSERTION FAILED: info.bmBitsPixel == 32
2732         https://bugs.webkit.org/show_bug.cgi?id=17737
2733
2734         Reviewed by Brent Fulgham.
2735
2736         The ::SelectObject call will fail if m_backingStoreBitmap is already selected into a device context.
2737         This happens when this method is called indirectly from WebView::updateBackingStore during normal
2738         painting. There is no point continuing, since we would just be scrolling a 1x1 bitmap which is
2739         selected into the device context by default. We can just scroll by repainting the scroll rectangle.
2740
2741         * WebView.cpp:
2742         (WebView::scrollBackingStore): Invalidate the scroll rectangle if the ::SelectObject call fails.
2743
2744 2016-07-01  Youenn Fablet  <youennf@gmail.com>
2745
2746         Add a runtime flag for DOM iterators
2747         https://bugs.webkit.org/show_bug.cgi?id=159300
2748
2749         Reviewed by Alex Christensen.
2750
2751         * WebPreferenceKeysPrivate.h:
2752         * WebPreferences.cpp:
2753         (WebPreferences::domIteratorEnabled):
2754         (WebPreferences::setDOMIteratorEnabled):
2755         (WebView::notifyPreferencesChanged):
2756         * WebPreferencesreferences.h:
2757         * WebView.cpp:
2758         (WebView::notifyPreferencesChanged):
2759
2760 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
2761
2762         [Win] Custom elements tests are failing.
2763         https://bugs.webkit.org/show_bug.cgi?id=159139
2764
2765         Reviewed by Alex Christensen.
2766
2767         Add preference for enabling custom element API.
2768
2769         * Interfaces/IWebPreferencesPrivate.idl:
2770         * WebPreferenceKeysPrivate.h:
2771         * WebPreferences.cpp:
2772         (WebPreferences::initializeDefaultSettings):
2773         (WebPreferences::customElementsEnabled):
2774         (WebPreferences::setCustomElementsEnabled):
2775         * WebPreferences.h:
2776         * WebView.cpp:
2777         (WebView::notifyPreferencesChanged):
2778
2779 2016-06-23  Per Arne Vollan  <pvollan@apple.com>
2780
2781         [Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
2782         https://bugs.webkit.org/show_bug.cgi?id=159057
2783
2784         Reviewed by Brent Fulgham.
2785
2786         The test expects the label to have a static text role, but currently it has a
2787         group role.
2788  
2789         * AccessibleBase.cpp:
2790         (MSAARole): Change the role of labels to static text.
2791
2792 2016-06-23  Alex Christensen  <achristensen@webkit.org>
2793
2794         Remove unused didCancelAuthenticationChallenge
2795         https://bugs.webkit.org/show_bug.cgi?id=158819
2796
2797         Reviewed by David Kilzer.
2798
2799         * WebCoreSupport/WebFrameLoaderClient.cpp:
2800         (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge): Deleted.
2801         * WebCoreSupport/WebFrameLoaderClient.h:
2802
2803 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
2804
2805         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
2806         https://bugs.webkit.org/show_bug.cgi?id=158934
2807
2808         Reviewed by Brent Fulgham.
2809
2810         Add a method to delete all indexed databases.
2811
2812         * Interfaces/IWebDatabaseManager.idl:
2813         * WebDatabaseManager.cpp:
2814         (WebDatabaseManager::QueryInterface):
2815         (WebDatabaseManager::deleteAllIndexedDatabases):
2816         * WebDatabaseManager.h:
2817
2818 2016-06-17  Per Arne Vollan  <pvollan@apple.com>
2819
2820         [Win] Rendering is not scaled correctly if process is DPI aware.
2821         https://bugs.webkit.org/show_bug.cgi?id=158781
2822
2823         Reviewed by Brent Fulgham.
2824
2825         Scale the root graphics layer with the device scale factor.
2826
2827         * WebView.cpp:
2828         (WebView::setAcceleratedCompositing):
2829
2830 2016-06-15  Chris Dumez  <cdumez@apple.com>
2831
2832         Drop some unnecessary header includes
2833         https://bugs.webkit.org/show_bug.cgi?id=158788
2834
2835         Reviewed by Alexey Proskuryakov.
2836
2837         Drop some unnecessary header includes in headers to speed up build time.
2838
2839         * Plugins/PluginView.cpp:
2840
2841 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2842
2843         Enabling Shadow DOM for all platforms
2844         https://bugs.webkit.org/show_bug.cgi?id=158738
2845
2846         Reviewed by Ryosuke Niwa.
2847
2848         Removed Shadow DOM from options (enabled by default)
2849         (comprises removal of corresponding preprocessor directives)
2850
2851         * WebView.cpp:
2852
2853 2016-06-13  Alex Christensen  <achristensen@webkit.org>
2854
2855         Add WebSocketProvider stub
2856         https://bugs.webkit.org/show_bug.cgi?id=158702
2857
2858         Reviewed by Brady Eidson.
2859
2860         * WebSocketProvider.h: Added.
2861         * WebView.cpp:
2862         (WebView::initWithFrame):
2863
2864 2016-06-10  Alex Christensen  <achristensen@webkit.org>
2865
2866         Introduce WTF::UniqueRef
2867         https://bugs.webkit.org/show_bug.cgi?id=158596
2868
2869         Reviewed by Brady Eidson.
2870
2871         * WebView.cpp:
2872         (WebView::initWithFrame):
2873
2874 2016-06-09  Alex Christensen  <achristensen@webkit.org>
2875
2876         Fix Windows build.
2877
2878         * WebKit.resources/resource.h: Removed.
2879         * resource.h: Copied from WebKit.resources/resource.h.
2880
2881 2016-06-09  Alex Christensen  <achristensen@webkit.org>
2882
2883         Actually fix Windows build after r201894
2884         https://bugs.webkit.org/show_bug.cgi?id=158588
2885
2886         * WebView.cpp:
2887         (WebView::initWithFrame):
2888
2889 2016-06-09  Alex Christensen  <achristensen@webkit.org>
2890
2891         Clean up WebKit.vcxproj directory after switching to CMake.
2892
2893         * WebKit.resources/resource.h: Copied from WebKit.vcxproj/WebKit/resource.h.
2894
2895 2016-06-09  Alex Christensen  <achristensen@webkit.org>
2896
2897         Unreviewed build fix after r201894
2898         https://bugs.webkit.org/show_bug.cgi?id=158588
2899
2900         * WebCoreSupport/WebEditorClient.cpp:
2901         (WebEditorClient::~WebEditorClient):
2902         (WebEditorClient::isContinuousSpellCheckingEnabled):
2903         (WebEditorClient::pageDestroyed): Deleted.
2904         * WebCoreSupport/WebEditorClient.h:
2905         * WebView.cpp:
2906         (WebView::initWithFrame):
2907
2908 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
2909
2910         [Win] Shadow DOM tests are failing.
2911         https://bugs.webkit.org/show_bug.cgi?id=158524
2912
2913         Reviewed by Brent Fulgham.
2914
2915         Add preference for enabling Shadow DOM.
2916
2917         * Interfaces/IWebPreferencesPrivate.idl:
2918         * WebPreferenceKeysPrivate.h:
2919         * WebPreferences.cpp:
2920         (WebPreferences::initializeDefaultSettings):
2921         (WebPreferences::shadowDOMEnabled):
2922         (WebPreferences::setShadowDOMEnabled):
2923         * WebPreferences.h:
2924         * WebView.cpp:
2925         (WebView::notifyPreferencesChanged):
2926
2927 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
2928
2929         [Win][IndexedDB] Crash when running worker test.
2930         https://bugs.webkit.org/show_bug.cgi?id=158434
2931
2932         Reviewed by Alex Christensen.
2933
2934         Initialize main runloop, otherwise RunLoop::main() will return nullptr.
2935
2936         * WebView.cpp:
2937         (WebView::WebView):
2938
2939 2016-06-03  Chris Dumez  <cdumez@apple.com>
2940
2941         Unreviewed, roll out r196633 as it broke PageCache on iOS for WebKit.org
2942         <rdar://problem/26521101>
2943
2944         * WebCoreSupport/WebVisitedLinkStore.cpp:
2945         (WebVisitedLinkStore::removeAllVisitedLinks):
2946         (WebVisitedLinkStore::addVisitedLinkHash):
2947
2948 2016-06-03  Per Arne Vollan  <pvollan@apple.com>
2949
2950         [Win] Implement WebView::removeAllUserContentFromGroup
2951         https://bugs.webkit.org/show_bug.cgi?id=158343
2952
2953         Reviewed by Brent Fulgham.
2954
2955         * WebView.cpp:
2956         (WebView::removeAllUserContentFromGroup):
2957
2958 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
2959
2960         [Win] Fetch API tests are failing.
2961         https://bugs.webkit.org/show_bug.cgi?id=158296
2962
2963         Reviewed by Alex Christensen.
2964
2965         Add preference for enabling Fetch API.
2966
2967         * Interfaces/IWebPreferencesPrivate.idl:
2968         * WebPreferenceKeysPrivate.h:
2969         * WebPreferences.cpp:
2970         (WebPreferences::initializeDefaultSettings):
2971         (WebPreferences::fetchAPIEnabled):
2972         (WebPreferences::setFetchAPIEnabled):
2973         * WebPreferences.h:
2974         * WebView.cpp:
2975         (WebView::notifyPreferencesChanged):
2976
2977 2016-06-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2978
2979         Use more references in ResourceLoader related code
2980         https://bugs.webkit.org/show_bug.cgi?id=158222
2981
2982         Reviewed by Darin Adler.
2983
2984         * Plugins/PluginStream.cpp:
2985         (WebCore::PluginStream::start):
2986
2987 2016-06-01  Per Arne Vollan  <pvollan@apple.com>
2988
2989         [Win] Potential null pointer crash when setting cursor.
2990         https://bugs.webkit.org/show_bug.cgi?id=158225
2991
2992         Reviewed by Alex Christensen.
2993
2994         Check return value of Cursor::platformCursor().
2995
2996         * WebCoreSupport/WebChromeClient.cpp:
2997         (WebChromeClient::setCursor):
2998
2999 2016-05-31  Yusuke Suzuki  <utatane.tea@gmail.com>
3000
3001         Unreviewed, roll out r201481, r201523: 0.3% regression in Octane code-load
3002         https://bugs.webkit.org/show_bug.cgi?id=158249
3003
3004         * Interfaces/IWebPreferencesPrivate.idl:
3005
3006 2016-05-27  Caitlin Potter  <caitp@igalia.com>
3007
3008         [JSC] implement async functions proposal
3009         https://bugs.webkit.org/show_bug.cgi?id=156147
3010
3011         Reviewed by Yusuke Suzuki.
3012
3013         * Interfaces/IWebPreferencesPrivate.idl:
3014
3015 2016-05-23  Chris Dumez  <cdumez@apple.com>
3016
3017         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
3018         https://bugs.webkit.org/show_bug.cgi?id=157882
3019
3020         Reviewed by Darin Adler.
3021
3022         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
3023         instead of hardcoding them in the bindings generator.
3024
3025         * DOMEventsClasses.cpp:
3026         (WebEventListener::operator==):
3027         * DOMEventsClasses.h:
3028
3029 2016-05-20  Joseph Pecoraro  <pecoraro@apple.com>
3030
3031         Remove LegacyProfiler
3032         https://bugs.webkit.org/show_bug.cgi?id=153565
3033
3034         Reviewed by Saam Barati.
3035
3036         * Interfaces/IWebInspector.idl:
3037         * WebCoreStatistics.cpp:
3038         * WebInspector.cpp:
3039         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
3040         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
3041         * WebInspector.h:
3042         * WebView.cpp:
3043
3044 2016-05-16  Joseph Pecoraro  <pecoraro@apple.com>
3045
3046         Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail.
3047
3048         * Interfaces/IWebInspector.idl:
3049         * WebCoreStatistics.cpp:
3050         * WebInspector.cpp:
3051         (WebInspector::isJavaScriptProfilingEnabled):
3052         (WebInspector::setJavaScriptProfilingEnabled):
3053         * WebInspector.h:
3054         * WebView.cpp:
3055
3056 2016-05-14  Joseph Pecoraro  <pecoraro@apple.com>
3057
3058         Remove LegacyProfiler
3059         https://bugs.webkit.org/show_bug.cgi?id=153565
3060
3061         Reviewed by Mark Lam.
3062
3063         * Interfaces/IWebInspector.idl:
3064         * WebView.cpp:
3065         * WebInspector.cpp:
3066         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
3067         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
3068         * WebInspector.h:
3069
3070 2016-05-12  Konstantin Tokarev  <annulen@yandex.ru>
3071
3072         Use reference instead of pointer in FrameLoaderClient::saveViewStateToItem.
3073         https://bugs.webkit.org/show_bug.cgi?id=157624
3074
3075         Reviewed by Darin Adler.
3076
3077         * WebCoreSupport/WebFrameLoaderClient.cpp:
3078         (WebFrameLoaderClient::saveViewStateToItem):
3079         * WebCoreSupport/WebFrameLoaderClient.h:
3080
3081 2016-05-11  Chris Dumez  <cdumez@apple.com>
3082
3083         Update Node::appendChild() / replaceChild() / removeChild() / insertBefore() to take references instead of pointers
3084         https://bugs.webkit.org/show_bug.cgi?id=157556
3085
3086         Reviewed by Darin Adler.
3087
3088         * DOMCoreClasses.cpp:
3089         (DOMNode::insertBefore):
3090         (DOMNode::removeChild):
3091
3092 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
3093
3094         [GTK] accessibility/aria-readonly.html is failing
3095         https://bugs.webkit.org/show_bug.cgi?id=98357
3096
3097         Reviewed by Chris Fleizach.
3098
3099         Call AccessibilityNode::canSetValueAttribute() to determine if STATE_SYSTEM_READONLY
3100         should be added and if editable text should be supported.
3101
3102         * AccessibleBase.cpp:
3103         (AccessibleBase::state):
3104         * AccessibleTextImpl.cpp:
3105         (AccessibleText::deleteText):
3106         (AccessibleText::insertText):
3107         (AccessibleText::cutText):
3108         (AccessibleText::pasteText):
3109         (AccessibleText::replaceText):
3110
3111 2016-05-09  Fujii Hironori  <Hironori.Fujii@sony.com>
3112
3113         [wincairo] web inspector failed to launch in MiniBrowser
3114         https://bugs.webkit.org/show_bug.cgi?id=156184
3115         <rdar://problem/25539297>
3116
3117         Reviewed by Alex Christensen.
3118
3119         * WebCoreSupport/WebInspectorClient.cpp:
3120         (WebInspectorClient::openLocalFrontend): Enable
3121         AllowFileAccessFromFileURLs and AllowUniversalAccessFromFileURLs
3122         of WebPreferences for Web Inspector.
3123
3124 2016-05-06  Joseph Pecoraro  <pecoraro@apple.com>
3125
3126         Rename HitTestRequest DisallowShadowContent to DisallowUserAgentShadowContent
3127         https://bugs.webkit.org/show_bug.cgi?id=157447
3128
3129         Reviewed by Ryosuke Niwa.
3130
3131         * WebView.cpp:
3132         (WebView::gestureNotify):
3133
3134 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
3135
3136         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
3137         https://bugs.webkit.org/show_bug.cgi?id=157331
3138
3139         Reviewed by Chris Fleizach.
3140
3141         As part of this change, the WebCore DocumentRegionRole AccessibilityRole has
3142         been renamed to LandmarkRegionRole. Update MSAARole() to use the new name.
3143
3144         * AccessibleBase.cpp:
3145         (MSAARole):
3146
3147 2016-04-25  Per Arne Vollan  <peavo@outlook.com>
3148
3149         [Win][IndexedDB] Fix build errors.
3150         https://bugs.webkit.org/show_bug.cgi?id=156713
3151
3152         Reviewed by Alex Christensen.
3153
3154         Fix compile and link errors when building with IndexedDB enabled.
3155
3156         * WebView.cpp:
3157         (WebView::notifyPreferencesChanged):
3158         * storage: Added.
3159         * storage/WebDatabaseProvider.cpp: Added.
3160         (WebDatabaseProvider::indexedDatabaseDirectoryPath):
3161
3162 2016-04-22  Brent Fulgham  <bfulgham@apple.com>
3163
3164         Unreviewed build fix after 4199841.
3165
3166         * WebApplicationCache.cpp:
3167         (WebApplicationCache::WebApplicationCache): Provide missing preference key definition.
3168
3169 2016-04-21  Anders Carlsson  <andersca@apple.com>
3170
3171         Add a missing space, as noticed by Darin.
3172
3173         * WebApplicationCache.cpp:
3174         (applicationCachePath):
3175
3176 2016-04-21  Anders Carlsson  <andersca@apple.com>
3177
3178         Stop using ApplicationCacheStorage::singleton() on Windows
3179         https://bugs.webkit.org/show_bug.cgi?id=156861
3180
3181         Reviewed by Darin Adler.
3182
3183         * WebApplicationCache.cpp:
3184         (applicationCachePath):
3185         (WebApplicationCache::storage):
3186         * WebApplicationCache.h:
3187         * WebCache.cpp:
3188         (WebCache::empty):
3189         * WebView.cpp:
3190         (WebView::initWithFrame):
3191         (WebKitSetApplicationCachePathIfNecessary): Deleted.
3192
3193 2016-04-15  Brent Fulgham  <bfulgham@apple.com>
3194
3195         CSP: Make dynamically-added favicons (via link rel="icon") obey Content-Security-Policy
3196         https://bugs.webkit.org/show_bug.cgi?id=153151
3197         <rdar://problem/24383176>
3198
3199         Reviewed by Darin Adler.
3200
3201         Remove the unused dynamic favicon code and tests.
3202
3203         * WebCoreSupport/WebFrameLoaderClient.cpp:
3204         (WebFrameLoaderClient::dispatchDidChangeIcons): Deleted.
3205         * WebCoreSupport/WebFrameLoaderClient.h:
3206
3207 2016-04-15  Darin Adler  <darin@apple.com>
3208
3209         Reduce use of Deprecated::ScriptXXX classes
3210         https://bugs.webkit.org/show_bug.cgi?id=156632
3211
3212         Reviewed by Alex Christensen.
3213
3214         * Plugins/PluginView.cpp:
3215         (WebCore::PluginView::performRequest): Use JSValue.
3216         * WebFrame.cpp:
3217         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): Ditto.
3218         * WebView.cpp:
3219         (WebView::stringByEvaluatingJavaScriptFromString): Ditto.
3220
3221 2016-04-11  Darin Adler  <darin@apple.com>
3222
3223         Remove UsePointersEvenForNonNullableObjectArguments from HTMLSelectElement
3224         https://bugs.webkit.org/show_bug.cgi?id=156458
3225
3226         Reviewed by Chris Dumez.
3227
3228         * DOMCoreClasses.cpp: Added now-needed include.
3229
3230 2016-04-11  Gavin Barraclough  <barraclough@apple.com>
3231
3232         WebKit should adopt journal_mode=wal for all SQLite databases.
3233         https://bugs.webkit.org/show_bug.cgi?id=133496
3234
3235         Reviewed by Darin Adler.
3236
3237         * WebDatabaseManager.cpp:
3238         (WebDatabaseManager::deleteAllDatabases):
3239             - renamed deleteAllDatabases -> deleteAllDatabasesImmediately.
3240
3241 2016-04-08  Joanmarie Diggs  <jdiggs@igalia.com>
3242
3243         AX: "AXLandmarkApplication" is an inappropriate subrole for ARIA "application" since it's no longer a landmark
3244         https://bugs.webkit.org/show_bug.cgi?id=155403
3245
3246         Reviewed by Chris Fleizach.
3247
3248         The new subrole is AXWebApplication and the new role description is "web application".
3249         As part of the fix, the WebCore AccessibilityRole for ARIA's "application" role was
3250         renamed from LandmarkApplicationRole to WebApplicationRole.
3251
3252         The roles-exposed.html and aria-grouping-roles.html test expectations were also updated.
3253
3254         * AccessibleBase.cpp: Update the rolename
3255         (MSAARole):
3256
3257 2016-04-07  Brian Burg  <bburg@apple.com>
3258
3259         CookieJar should support adding synthetic cookies for developer tools
3260         https://bugs.webkit.org/show_bug.cgi?id=156091
3261         <rdar://problem/25581340>
3262
3263         Reviewed by Timothy Hatcher.
3264
3265         * WebCoreSupport/WebPlatformStrategies.h:
3266         * WebCoreSupport/WebPlatformStrategies.cpp:
3267         Add new method override.
3268
3269 2016-03-24  Said Abou-Hallawa  <sabouhallawa@apple,com>
3270
3271         Change NativeImagePtr for CG to be RetainPtr<CGImageRef>
3272         https://bugs.webkit.org/show_bug.cgi?id=155412
3273
3274         Reviewed by Darin Adler.
3275
3276         * Plugins/PluginView.h:
3277         * Plugins/PluginViewWin.cpp:
3278         (WebCore::PluginView::snapshot):
3279         Replace PassRefPtr with RefPtr.
3280
3281 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
3282
3283         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
3284         https://bugs.webkit.org/show_bug.cgi?id=141499
3285
3286         Reviewed by Brent Fulgham.
3287
3288         As we have moved on to VS2015, this workaround is no longer needed.
3289
3290         * WebKitDLL.cpp:
3291         (DllMain):
3292
3293 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com> 
3294
3295         [Win] Connect layoutTestController.findString() to support testing 
3296         https://bugs.webkit.org/show_bug.cgi?id=50234
3297
3298         Reviewed by Alex Christensen.
3299
3300         Implement WebView::findString to support testing efforts.
3301
3302         * Interfaces/IWebViewPrivate.idl: Add API declaration.
3303         * WebView.cpp:
3304         * WebView.h:
3305
3306 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
3307
3308         Unreviewed, rolling out r196951 and r197031.
3309
3310         Revert also WinCairo follow ups after r196803
3311
3312         Reverted changesets:
3313
3314         "[WinCairo] Compile fix."
3315         https://bugs.webkit.org/show_bug.cgi?id=154545
3316         http://trac.webkit.org/changeset/196951
3317
3318         "[WinCairo] Mark layer as non composited."
3319         https://bugs.webkit.org/show_bug.cgi?id=154640
3320         http://trac.webkit.org/changeset/197031
3321
3322 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
3323
3324         Unreviewed, rolling out r197693.
3325
3326         197031
3327
3328         Reverted changeset:
3329
3330         "[WinCairo][AcceleratedCompositing] Rendering issues on
3331         www.bbc.com."
3332         https://bugs.webkit.org/show_bug.cgi?id=154912
3333         http://trac.webkit.org/changeset/197693
3334
3335 2016-03-15  Brent Fulgham  <bfulgham@apple.com>
3336
3337         [Win] Correct double-release of CFURLConnectionRef
3338         https://bugs.webkit.org/show_bug.cgi?id=155515
3339         <rdar://problem/25159143>
3340
3341         Reviewed by Tim Horton.
3342
3343         Tested by http/tests/download suite.
3344
3345         * WebDownloadCFNet.cpp: Remove extra CFRelease.
3346
3347 2016-03-14  Per Arne Vollan  <peavo@outlook.com>
3348
3349         [WinCairo] Compile fix.
3350         https://bugs.webkit.org/show_bug.cgi?id=155463
3351
3352         Reviewed by Alex Christensen.
3353
3354         Get the NetworkStorageSession object from the document in the same way as other platforms do.
3355
3356         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3357         (WebFrameNetworkingContext::storageSession):
3358         * WebCoreSupport/WebFrameNetworkingContext.h:
3359         (WebFrameNetworkingContext::storageSession):
3360
3361 2016-03-14  Joonghun Park  <jh718.park@samsung.com>
3362
3363         Purge PassRefPtr from ArrayBuffer, ArchiveResource, Pasteboard, LegacyWebArchive and DataObjectGtk
3364         https://bugs.webkit.org/show_bug.cgi?id=150497
3365
3366         Reviewed by Darin Adler.
3367
3368         * WebArchive.cpp:
3369         (WebArchive::initWithNode):
3370
3371 2016-03-12  Sam Weinig  <sam@webkit.org>
3372
3373         WebKit can easily crash below NetworkSession::dataTaskForIdentifier() with NSURLSession enabled
3374         <rdar://problem/25129946>
3375         https://bugs.webkit.org/show_bug.cgi?id=155401
3376
3377         Reviewed by Alex Christensen.
3378
3379         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3380         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
3381         Pass a SessionID to NetworkStorageSession::createPrivateBrowsingSession().
3382
3383 2016-03-10  Jer Noble  <jer.noble@apple.com>
3384
3385         Unreviewed build fix after r197953; correct the settings added in r197953.
3386
3387         * WebView.cpp:
3388         (WebView::notifyPreferencesChanged):
3389
3390 2016-03-10  Jer Noble  <jer.noble@apple.com>
3391
3392         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
3393         https://bugs.webkit.org/show_bug.cgi?id=155141
3394
3395         Reviewed by Beth Dakin.
3396
3397         * WebView.cpp:
3398         (WebView::notifyPreferencesChanged):
3399
3400 2016-03-07  Per Arne Vollan  <peavo@outlook.com>
3401
3402         [WinCairo][AcceleratedCompositing] Rendering issues on www.bbc.com.
3403         https://bugs.webkit.org/show_bug.cgi?id=154912
3404
3405         Reviewed by Michael Catanzaro.
3406
3407         If we have a scroll layer, we should not include the scroll position in the visible rectangle,
3408         since the scroll position is already reflected in the position of the scroll layer.
3409
3410         * WebCoreSupport/AcceleratedCompositingContext.cpp:
3411         (AcceleratedCompositingContext::flushPendingLayerChanges):
3412
3413 2016-03-06  Gavin Barraclough  <barraclough@apple.com>
3414
3415         Convert DOMTimer to std::chrono::milliseconds
3416         https://bugs.webkit.org/show_bug.cgi?id=155085
3417
3418         Reviewed by Andreas Kling.
3419
3420         DOMTimer currently uses a mix of millisecond (was int, now std::chrono) and second (as double)
3421         time values. Constant conversion back and forth is a complete mess. Stop that.
3422
3423         * WebView.cpp:
3424         (WebView::setMinimumTimerInterval):
3425             - Convert double argument into std::chrono::milliseconds.
3426
3427 2016-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
3428
3429         [ES6] Support Reflect.construct
3430         https://bugs.webkit.org/show_bug.cgi?id=147330
3431
3432         Reviewed by Saam Barati.
3433
3434         * Plugins/PluginPackage.cpp:
3435         (WebCore::NPN_Invoke):
3436
3437 2016-02-24  Per Arne Vollan  <peavo@outlook.com>
3438
3439         [WinCairo] Mark layer as non composited.
3440         https://bugs.webkit.org/show_bug.cgi?id=154640
3441
3442         Reviewed by Alex Christensen.
3443
3444         We need to mark the non composited layer as being non composited.
3445
3446         * WebCoreSupport/AcceleratedCompositingContext.cpp:
3447         (AcceleratedCompositingContext::initialize):
3448         (AcceleratedCompositingContext::flushPendingLayerChanges):
3449
3450 2016-02-22  Per Arne Vollan  <peavo@outlook.com>
3451
3452         [WinCairo] Compile fix.
3453         https://bugs.webkit.org/show_bug.cgi?id=154545
3454
3455         Reviewed by Alex Christensen.
3456
3457         Add missing parameter to GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
3458
3459         * WebCoreSupport/AcceleratedCompositingContext.cpp:
3460         (AcceleratedCompositingContext::flushPendingLayerChanges):
3461
3462 2016-02-21  Darin Adler  <darin@apple.com>
3463
3464         Refactor LazyEventListener creation to separate Element and Document cases
3465         https://bugs.webkit.org/show_bug.cgi?id=154231
3466
3467         Reviewed by Andreas Kling.
3468
3469         * WebView.h: Forward declare KeyboardEvent.
3470
3471 2016-02-16  Andreas Kling  <akling@apple.com>
3472
3473         Drop StyleResolver and SelectorQueryCache when entering PageCache.
3474         <https://webkit.org/b/154238>
3475
3476         Reviewed by Antti Koivisto.
3477
3478         * WebCoreSupport/WebVisitedLinkStore.cpp:
3479         (WebVisitedLinkStore::removeAllVisitedLinks): Deleted.
3480         (WebVisitedLinkStore::addVisitedLinkHash): Deleted.
3481
3482 2016-02-14  Chris Dumez  <cdumez@apple.com>
3483
3484         Unreviewed Window build fix.
3485
3486         * WebCoreStatistics.cpp:
3487         * WebJavaScriptCollector.cpp:
3488
3489 2016-02-12  Jiewen Tan  <jiewen_tan@apple.com>
3490
3491         WebKit should expose the DOM 4 Event.isTrusted property
3492         https://bugs.webkit.org/show_bug.cgi?id=76121
3493         <rdar://problem/22558494>
3494
3495         Reviewed by Darin Adler.
3496
3497         * DOMCoreClasses.cpp:
3498         (DOMNode::dispatchEvent):
3499         (DOMWindow::dispatchEvent):
3500
3501 2016-02-11  Antti Koivisto  <antti@apple.com>
3502
3503         Try to fix windows build.
3504
3505         * DOMCoreClasses.cpp:
3506         (DOMElement::style):
3507         (DOMElement::offsetLeft):
3508
3509 2016-02-06  Darin Adler  <darin@apple.com>
3510
3511         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
3512         https://bugs.webkit.org/show_bug.cgi?id=153905
3513
3514         Reviewed by Sam Weinig.
3515
3516         * Plugins/PluginDatabase.cpp:
3517         (WebCore::PluginDatabase::pluginForMIMEType): Use ASCII case-insensitive map rather
3518         than lowercasing the MIME type.
3519         (WebCore::PluginDatabase::setPreferredPluginForMIMEType): Ditto.
3520
3521         * Plugins/PluginDatabase.h: Make m_preferredPlugins use an ASCII case-insensitive hash.
3522
3523         * Plugins/PluginPackage.h: Use ASCII case-insensitive hash for maps keyed by MIME type.
3524
3525         * Plugins/PluginPackageWin.cpp:
3526         (WebCore::PluginPackage::fetchInfo): Use convertToASCIILowercase to lowercase a MIME type.
3527
3528 2016-02-04  Joseph Pecoraro  <pecoraro@apple.com>
3529
3530         Web Inspector: InspectorTimelineAgent doesn't need to recompile functions because it now uses the sampling profiler
3531         https://bugs.webkit.org/show_bug.cgi?id=153500
3532         <rdar://problem/24352458>
3533
3534         Reviewed by Timothy Hatcher.
3535
3536         * WebInspector.cpp:
3537         (WebInspector::isJavaScriptProfilingEnabled):
3538         (WebInspector::setJavaScriptProfilingEnabled):
3539         Switch to the new API names.
3540
3541 2016-01-31  Darin Adler  <darin@apple.com>
3542
3543         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
3544         https://bugs.webkit.org/show_bug.cgi?id=153639
3545
3546         Reviewed by Filip Pizlo.
3547
3548         * WebCoreStatistics.cpp:
3549         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
3550         These names are all ASCII.
3551
3552         * WebURLResponse.cpp:
3553         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
3554         field names. These names are all ASCII.
3555
3556 2016-01-30  Commit Queue  <commit-queue@webkit.org>
3557
3558         Unreviewed, rolling out r195911.
3559         https://bugs.webkit.org/show_bug.cgi?id=153723
3560
3561         Caused frequent assertion failures on bots (Requested by ap on
3562         #webkit).
3563
3564         Reverted changeset:
3565
3566         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
3567         https://bugs.webkit.org/show_bug.cgi?id=153639
3568         http://trac.webkit.org/changeset/195911
3569
3570 2016-01-30  Commit Queue  <commit-queue@webkit.org>
3571
3572         Unreviewed, rolling out r195799 and r195828.
3573         https://bugs.webkit.org/show_bug.cgi?id=153722
3574
3575         Caused assertion failures, severely affecting EWS (Requested
3576         by ap on #webkit).
3577
3578         Reverted changesets:
3579
3580         "Web Inspector: InspectorTimelineAgent doesn't need to
3581         recompile functions because it now uses the sampling profiler"
3582         https://bugs.webkit.org/show_bug.cgi?id=153500
3583         http://trac.webkit.org/changeset/195799
3584
3585         "Attempt to fix the Windows build after r195799"
3586         http://trac.webkit.org/changeset/195828
3587
3588 2016-01-30  Darin Adler  <darin@apple.com>
3589
3590         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
3591         https://bugs.webkit.org/show_bug.cgi?id=153639
3592
3593         Reviewed by Filip Pizlo.
3594
3595         * WebCoreStatistics.cpp:
3596         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
3597         These names are all ASCII.
3598
3599         * WebURLResponse.cpp:
3600         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
3601         field names. These names are all ASCII.
3602
3603 2016-01-29  Ryan Haddad  <ryanhaddad@apple.com>
3604
3605         Attempt to fix the Windows build after r195799
3606
3607         Unreviewed build fix.
3608
3609         * WebInspector.cpp:
3610         (WebInspector::isJavaScriptProfilingEnabled):
3611         (WebInspector::setJavaScriptProfilingEnabled):
3612
3613 2016-01-28  Darin Adler  <darin@apple.com>
3614
3615         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
3616         https://bugs.webkit.org/show_bug.cgi?id=153411
3617
3618         Reviewed by Ryosuke Niwa.
3619
3620         * Plugins/PluginDatabase.cpp:
3621         (WebCore::PluginDatabase::MIMETypeForExtension): Use equalIgnoringASCIICase to compare
3622         file extensions.
3623         * Plugins/PluginDatabaseWin.cpp:
3624         (WebCore::PluginDatabase::getPluginPathsInDirectories): Use equalLettersIgnoringASCIICase
3625         to compare filenames.
3626         * Plugins/PluginPackageWin.cpp:
3627         (WebCore::PluginPackage::isPluginBlacklisted): Use equalLettersIgnoringASCIICase to
3628         compare DLL filenames.
3629         * Plugins/PluginStream.cpp:
3630         (WebCore::PluginStream::destroyStream): Use equalLettersIgnoringASCIICase to check HTTP method.
3631         * Plugins/PluginView.cpp:
3632         (WebCore::PluginView::setParameters): Use equalLettersIgnoringASCIICase to check
3633         plug-in parameter name.
3634         * WebView.cpp:
3635         (WebView::canHandleRequest): Use URL::protocolIs instead of equalIgnoringCase.
3636
3637 2016-01-22  Ryosuke Niwa  <rniwa@webkit.org>
3638
3639         document.createElement should be able to create a custom element
3640         https://bugs.webkit.org/show_bug.cgi?id=153173
3641
3642         Reviewed by Darin Adler.
3643
3644         Use createElementForBindings here since this is a C++ binding for Windows.
3645
3646         * DOMCoreClasses.cpp:
3647         (DOMDocument::createElement):
3648
3649 2016-01-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3650
3651         Reduce PassRefPtr uses in dom - 4
3652         https://bugs.webkit.org/show_bug.cgi?id=153270
3653
3654         Reviewed by Darin Adler.
3655
3656         As a step to remove PassRefPtr uses, this patch reduces the uses in WebCore/dom.
3657
3658         * Plugins/PluginView.cpp:
3659         (WebCore::PluginView::focusPluginElement):
3660
3661 2016-01-17  Ada Chan  <adachan@apple.com>
3662
3663         Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
3664         https://bugs.webkit.org/show_bug.cgi?id=153220
3665
3666         Reviewed by Eric Carlson.
3667
3668         * WebCoreSupport/WebChromeClient.cpp:
3669         (WebChromeClient::supportsVideoFullscreen):
3670         * WebCoreSupport/WebChromeClient.h:
3671
3672 2016-01-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3673
3674         Remove PassRefPtr from ResourceRequest and FormData
3675         https://bugs.webkit.org/show_bug.cgi?id=153229
3676
3677         Reviewed by Chris Dumez.
3678
3679         * WebMutableURLRequest.cpp:
3680         (WebMutableURLRequest::setHTTPBody):
3681
3682 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
3683
3684         Remove GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon()
3685         https://bugs.webkit.org/show_bug.cgi?id=153174
3686
3687         Reviewed by Zalan Bujtas.
3688
3689         GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon() were
3690         poorly named (non-convex polygons are allowed), and just syntactic sugar over
3691         clipPath() and drawPath().
3692         
3693         Remove them, but add a convenience function to create a Path from a Vector of 
3694         points. For CG, we can use the more efficient CGPathAddLines().
3695
3696         * FullscreenVideoController.cpp:
3697         (HUDSlider::draw):
3698
3699 2016-01-05  Per Arne Vollan  <peavo@outlook.com>
3700
3701         [WinCairo] Download should use header values from provided request object.
3702         https://bugs.webkit.org/show_bug.cgi?id=152694
3703
3704         Reviewed by Alex Christensen.
3705
3706         Copy header values from request object parameter.
3707
3708         * WebDownloadCurl.cpp:
3709         (WebDownload::initWithRequest):
3710
3711 2015-12-31  Andy Estes  <aestes@apple.com>
3712
3713         Replace WTF::move with WTFMove
3714         https://bugs.webkit.org/show_bug.cgi?id=152601
3715
3716         Reviewed by Brady Eidson.
3717
3718         * Plugins/PluginStream.cpp:
3719         (WebCore::PluginStream::willSendRequest):
3720         * Plugins/PluginView.cpp:
3721         (WebCore::PluginView::requestTimerFired):
3722         (WebCore::PluginView::scheduleRequest):
3723         (WebCore::PluginView::handlePost):
3724         * WebCoreSupport/WebFrameLoaderClient.cpp:
3725         (WebFrameLoaderClient::createDocumentLoader):
3726         * WebCoreSupport/WebInspectorClient.cpp:
3727         (WebInspectorFrontendClient::WebInspectorFrontendClient):
3728         * WebHistory.cpp:
3729         (createUserInfoFromArray):
3730         * WebHistoryItem.cpp:
3731         (WebHistoryItem::initFromDictionaryRepresentation):
3732         * WebView.cpp:
3733         (WebView::addToDirtyRegion):
3734         (WebView::scrollBackingStore):
3735         (WebView::loadBackForwardListFromOtherView):
3736         (WebView::addUserScriptToGroup):
3737         (WebView::addUserStyleSheetToGroup):
3738
3739 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
3740
3741         Fix Windows build.
3742
3743         * WebView.cpp:
3744         (WebView::scrollOffset):
3745
3746 2015-12-25  David Kilzer  <ddkilzer@apple.com>
3747
3748         ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
3749         <http://webkit.org/b/146391>
3750
3751         Reviewed by Antti Koivisto.
3752
3753         * WebCoreSupport/WebFrameLoaderClient.cpp:
3754         (WebFrameLoaderClient::cancelledError):
3755         (WebFrameLoaderClient::blockedError):
3756         (WebFrameLoaderClient::cannotShowURLError):
3757         (WebFrameLoaderClient::interruptedForPolicyChangeError):
3758         (WebFrameLoaderClient::cannotShowMIMETypeError):
3759         (WebFrameLoaderClient::fileDoesNotExistError):
3760         (WebFrameLoaderClient::pluginWillHandleLoadError):
3761         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
3762         (WebFrameLoaderClient::createJavaAppletWidget):
3763         * WebDownloadCFNet.cpp:
3764         (WebDownload::cancelAuthenticationChallenge):
3765         * WebError.cpp:
3766         (WebError::init):
3767         - Update for type change of 'failingURL' argument to
3768           ResourceError().
3769
3770 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
3771
3772         Web Inspector: add support for running protocol-test.js tests on Windows
3773         https://bugs.webkit.org/show_bug.cgi?id=148037
3774         <rdar://problem/22292237>
3775
3776         Reviewed by Simon Fraser.
3777
3778         Provide API for WebKit.dll clients to request its CFBundleRef.
3779         
3780         * WebKitCOMAPI.cpp:
3781         (webKitBundle): Added.
3782         * WebKitCOMAPI.h:
3783
3784 2015-12-20  Dan Bernstein  <mitz@apple.com>
3785
3786         Remove unused setToolbarHeight
3787         https://bugs.webkit.org/show_bug.cgi?id=152466
3788
3789         Reviewed by Darin Adler.
3790
3791         * WebCoreSupport/WebInspectorClient.cpp:
3792         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
3793         * WebCoreSupport/WebInspectorClient.h:
3794
3795 2015-12-15  Zan Dobersek  <zdobersek@igalia.com>
3796
3797         [TexMap] Operate with a reference to the TextureMapper wherever possible
3798         https://bugs.webkit.org/show_bug.cgi?id=152118
3799
3800         Reviewed by Martin Robinson.
3801
3802         * WebCoreSupport/AcceleratedCompositingContext.cpp:
3803         (AcceleratedCompositingContext::compositeLayersToContext): TextureMapper object
3804         is now operated with through a reference.
3805
3806 2015-12-01  Darin Adler  <darin@apple.com>
3807
3808         Fix anomaly where isMouseEvent returns false for wheel events
3809         https://bugs.webkit.org/show_bug.cgi?id=151685
3810
3811         Reviewed by Alexey Proskuryakov.
3812
3813         * DOMEventsClasses.cpp:
3814         (DOMEvent::createInstance): Use eventInterface instead of isMouseEvent to create the appropriate
3815         wrapper class.
3816
3817 2015-11-24  Per Arne Vollan  <peavo@outlook.com>
3818
3819         [Win] Implement methods to get and set inner html.
3820         https://bugs.webkit.org/show_bug.cgi?id=151569
3821
3822         Reviewed by Alex Christensen.
3823
3824         * DOMHTMLClasses.cpp:
3825         (DOMHTMLElement::innerHTML):
3826         (DOMHTMLElement::setInnerHTML):
3827         (DOMHTMLElement::innerText):
3828
3829 == Rolled over to ChangeLog-2015-11-21 ==