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