Use SocketProvider to create WebSocketChannels
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2016-07-07  Alex Christensen  <achristensen@webkit.org>
2
3         Use SocketProvider to create WebSocketChannels
4         https://bugs.webkit.org/show_bug.cgi?id=158776
5
6         Reviewed by Brent Fulgham.
7
8         * WebSocketProvider.cpp: Copied from Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp.
9         (WebSocketProvider::createWebSocketChannel):
10         (WebCore::ThreadableWebSocketChannel::create): Deleted.
11         * WebSocketProvider.h:
12
13 2016-07-06  Per Arne Vollan  <pvollan@apple.com>
14
15         [Win] Add null pointer check in gesture handling.
16         https://bugs.webkit.org/show_bug.cgi?id=159454
17
18         Reviewed by Brent Fulgham.
19
20         * WebView.cpp:
21         (WebView::gesture):
22
23 2016-07-01  Per Arne Vollan  <pvollan@apple.com>
24
25         ASSERTION FAILED: info.bmBitsPixel == 32
26         https://bugs.webkit.org/show_bug.cgi?id=17737
27
28         Reviewed by Brent Fulgham.
29
30         The ::SelectObject call will fail if m_backingStoreBitmap is already selected into a device context.
31         This happens when this method is called indirectly from WebView::updateBackingStore during normal
32         painting. There is no point continuing, since we would just be scrolling a 1x1 bitmap which is
33         selected into the device context by default. We can just scroll by repainting the scroll rectangle.
34
35         * WebView.cpp:
36         (WebView::scrollBackingStore): Invalidate the scroll rectangle if the ::SelectObject call fails.
37
38 2016-07-01  Youenn Fablet  <youennf@gmail.com>
39
40         Add a runtime flag for DOM iterators
41         https://bugs.webkit.org/show_bug.cgi?id=159300
42
43         Reviewed by Alex Christensen.
44
45         * WebPreferenceKeysPrivate.h:
46         * WebPreferences.cpp:
47         (WebPreferences::domIteratorEnabled):
48         (WebPreferences::setDOMIteratorEnabled):
49         (WebView::notifyPreferencesChanged):
50         * WebPreferencesreferences.h:
51         * WebView.cpp:
52         (WebView::notifyPreferencesChanged):
53
54 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
55
56         [Win] Custom elements tests are failing.
57         https://bugs.webkit.org/show_bug.cgi?id=159139
58
59         Reviewed by Alex Christensen.
60
61         Add preference for enabling custom element API.
62
63         * Interfaces/IWebPreferencesPrivate.idl:
64         * WebPreferenceKeysPrivate.h:
65         * WebPreferences.cpp:
66         (WebPreferences::initializeDefaultSettings):
67         (WebPreferences::customElementsEnabled):
68         (WebPreferences::setCustomElementsEnabled):
69         * WebPreferences.h:
70         * WebView.cpp:
71         (WebView::notifyPreferencesChanged):
72
73 2016-06-23  Per Arne Vollan  <pvollan@apple.com>
74
75         [Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
76         https://bugs.webkit.org/show_bug.cgi?id=159057
77
78         Reviewed by Brent Fulgham.
79
80         The test expects the label to have a static text role, but currently it has a
81         group role.
82  
83         * AccessibleBase.cpp:
84         (MSAARole): Change the role of labels to static text.
85
86 2016-06-23  Alex Christensen  <achristensen@webkit.org>
87
88         Remove unused didCancelAuthenticationChallenge
89         https://bugs.webkit.org/show_bug.cgi?id=158819
90
91         Reviewed by David Kilzer.
92
93         * WebCoreSupport/WebFrameLoaderClient.cpp:
94         (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge): Deleted.
95         * WebCoreSupport/WebFrameLoaderClient.h:
96
97 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
98
99         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
100         https://bugs.webkit.org/show_bug.cgi?id=158934
101
102         Reviewed by Brent Fulgham.
103
104         Add a method to delete all indexed databases.
105
106         * Interfaces/IWebDatabaseManager.idl:
107         * WebDatabaseManager.cpp:
108         (WebDatabaseManager::QueryInterface):
109         (WebDatabaseManager::deleteAllIndexedDatabases):
110         * WebDatabaseManager.h:
111
112 2016-06-17  Per Arne Vollan  <pvollan@apple.com>
113
114         [Win] Rendering is not scaled correctly if process is DPI aware.
115         https://bugs.webkit.org/show_bug.cgi?id=158781
116
117         Reviewed by Brent Fulgham.
118
119         Scale the root graphics layer with the device scale factor.
120
121         * WebView.cpp:
122         (WebView::setAcceleratedCompositing):
123
124 2016-06-15  Chris Dumez  <cdumez@apple.com>
125
126         Drop some unnecessary header includes
127         https://bugs.webkit.org/show_bug.cgi?id=158788
128
129         Reviewed by Alexey Proskuryakov.
130
131         Drop some unnecessary header includes in headers to speed up build time.
132
133         * Plugins/PluginView.cpp:
134
135 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
136
137         Enabling Shadow DOM for all platforms
138         https://bugs.webkit.org/show_bug.cgi?id=158738
139
140         Reviewed by Ryosuke Niwa.
141
142         Removed Shadow DOM from options (enabled by default)
143         (comprises removal of corresponding preprocessor directives)
144
145         * WebView.cpp:
146
147 2016-06-13  Alex Christensen  <achristensen@webkit.org>
148
149         Add WebSocketProvider stub
150         https://bugs.webkit.org/show_bug.cgi?id=158702
151
152         Reviewed by Brady Eidson.
153
154         * WebSocketProvider.h: Added.
155         * WebView.cpp:
156         (WebView::initWithFrame):
157
158 2016-06-10  Alex Christensen  <achristensen@webkit.org>
159
160         Introduce WTF::UniqueRef
161         https://bugs.webkit.org/show_bug.cgi?id=158596
162
163         Reviewed by Brady Eidson.
164
165         * WebView.cpp:
166         (WebView::initWithFrame):
167
168 2016-06-09  Alex Christensen  <achristensen@webkit.org>
169
170         Fix Windows build.
171
172         * WebKit.resources/resource.h: Removed.
173         * resource.h: Copied from WebKit.resources/resource.h.
174
175 2016-06-09  Alex Christensen  <achristensen@webkit.org>
176
177         Actually fix Windows build after r201894
178         https://bugs.webkit.org/show_bug.cgi?id=158588
179
180         * WebView.cpp:
181         (WebView::initWithFrame):
182
183 2016-06-09  Alex Christensen  <achristensen@webkit.org>
184
185         Clean up WebKit.vcxproj directory after switching to CMake.
186
187         * WebKit.resources/resource.h: Copied from WebKit.vcxproj/WebKit/resource.h.
188
189 2016-06-09  Alex Christensen  <achristensen@webkit.org>
190
191         Unreviewed build fix after r201894
192         https://bugs.webkit.org/show_bug.cgi?id=158588
193
194         * WebCoreSupport/WebEditorClient.cpp:
195         (WebEditorClient::~WebEditorClient):
196         (WebEditorClient::isContinuousSpellCheckingEnabled):
197         (WebEditorClient::pageDestroyed): Deleted.
198         * WebCoreSupport/WebEditorClient.h:
199         * WebView.cpp:
200         (WebView::initWithFrame):
201
202 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
203
204         [Win] Shadow DOM tests are failing.
205         https://bugs.webkit.org/show_bug.cgi?id=158524
206
207         Reviewed by Brent Fulgham.
208
209         Add preference for enabling Shadow DOM.
210
211         * Interfaces/IWebPreferencesPrivate.idl:
212         * WebPreferenceKeysPrivate.h:
213         * WebPreferences.cpp:
214         (WebPreferences::initializeDefaultSettings):
215         (WebPreferences::shadowDOMEnabled):
216         (WebPreferences::setShadowDOMEnabled):
217         * WebPreferences.h:
218         * WebView.cpp:
219         (WebView::notifyPreferencesChanged):
220
221 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
222
223         [Win][IndexedDB] Crash when running worker test.
224         https://bugs.webkit.org/show_bug.cgi?id=158434
225
226         Reviewed by Alex Christensen.
227
228         Initialize main runloop, otherwise RunLoop::main() will return nullptr.
229
230         * WebView.cpp:
231         (WebView::WebView):
232
233 2016-06-03  Chris Dumez  <cdumez@apple.com>
234
235         Unreviewed, roll out r196633 as it broke PageCache on iOS for WebKit.org
236         <rdar://problem/26521101>
237
238         * WebCoreSupport/WebVisitedLinkStore.cpp:
239         (WebVisitedLinkStore::removeAllVisitedLinks):
240         (WebVisitedLinkStore::addVisitedLinkHash):
241
242 2016-06-03  Per Arne Vollan  <pvollan@apple.com>
243
244         [Win] Implement WebView::removeAllUserContentFromGroup
245         https://bugs.webkit.org/show_bug.cgi?id=158343
246
247         Reviewed by Brent Fulgham.
248
249         * WebView.cpp:
250         (WebView::removeAllUserContentFromGroup):
251
252 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
253
254         [Win] Fetch API tests are failing.
255         https://bugs.webkit.org/show_bug.cgi?id=158296
256
257         Reviewed by Alex Christensen.
258
259         Add preference for enabling Fetch API.
260
261         * Interfaces/IWebPreferencesPrivate.idl:
262         * WebPreferenceKeysPrivate.h:
263         * WebPreferences.cpp:
264         (WebPreferences::initializeDefaultSettings):
265         (WebPreferences::fetchAPIEnabled):
266         (WebPreferences::setFetchAPIEnabled):
267         * WebPreferences.h:
268         * WebView.cpp:
269         (WebView::notifyPreferencesChanged):
270
271 2016-06-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
272
273         Use more references in ResourceLoader related code
274         https://bugs.webkit.org/show_bug.cgi?id=158222
275
276         Reviewed by Darin Adler.
277
278         * Plugins/PluginStream.cpp:
279         (WebCore::PluginStream::start):
280
281 2016-06-01  Per Arne Vollan  <pvollan@apple.com>
282
283         [Win] Potential null pointer crash when setting cursor.
284         https://bugs.webkit.org/show_bug.cgi?id=158225
285
286         Reviewed by Alex Christensen.
287
288         Check return value of Cursor::platformCursor().
289
290         * WebCoreSupport/WebChromeClient.cpp:
291         (WebChromeClient::setCursor):
292
293 2016-05-31  Yusuke Suzuki  <utatane.tea@gmail.com>
294
295         Unreviewed, roll out r201481, r201523: 0.3% regression in Octane code-load
296         https://bugs.webkit.org/show_bug.cgi?id=158249
297
298         * Interfaces/IWebPreferencesPrivate.idl:
299
300 2016-05-27  Caitlin Potter  <caitp@igalia.com>
301
302         [JSC] implement async functions proposal
303         https://bugs.webkit.org/show_bug.cgi?id=156147
304
305         Reviewed by Yusuke Suzuki.
306
307         * Interfaces/IWebPreferencesPrivate.idl:
308
309 2016-05-23  Chris Dumez  <cdumez@apple.com>
310
311         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
312         https://bugs.webkit.org/show_bug.cgi?id=157882
313
314         Reviewed by Darin Adler.
315
316         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
317         instead of hardcoding them in the bindings generator.
318
319         * DOMEventsClasses.cpp:
320         (WebEventListener::operator==):
321         * DOMEventsClasses.h:
322
323 2016-05-20  Joseph Pecoraro  <pecoraro@apple.com>
324
325         Remove LegacyProfiler
326         https://bugs.webkit.org/show_bug.cgi?id=153565
327
328         Reviewed by Saam Barati.
329
330         * Interfaces/IWebInspector.idl:
331         * WebCoreStatistics.cpp:
332         * WebInspector.cpp:
333         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
334         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
335         * WebInspector.h:
336         * WebView.cpp:
337
338 2016-05-16  Joseph Pecoraro  <pecoraro@apple.com>
339
340         Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail.
341
342         * Interfaces/IWebInspector.idl:
343         * WebCoreStatistics.cpp:
344         * WebInspector.cpp:
345         (WebInspector::isJavaScriptProfilingEnabled):
346         (WebInspector::setJavaScriptProfilingEnabled):
347         * WebInspector.h:
348         * WebView.cpp:
349
350 2016-05-14  Joseph Pecoraro  <pecoraro@apple.com>
351
352         Remove LegacyProfiler
353         https://bugs.webkit.org/show_bug.cgi?id=153565
354
355         Reviewed by Mark Lam.
356
357         * Interfaces/IWebInspector.idl:
358         * WebView.cpp:
359         * WebInspector.cpp:
360         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
361         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
362         * WebInspector.h:
363
364 2016-05-12  Konstantin Tokarev  <annulen@yandex.ru>
365
366         Use reference instead of pointer in FrameLoaderClient::saveViewStateToItem.
367         https://bugs.webkit.org/show_bug.cgi?id=157624
368
369         Reviewed by Darin Adler.
370
371         * WebCoreSupport/WebFrameLoaderClient.cpp:
372         (WebFrameLoaderClient::saveViewStateToItem):
373         * WebCoreSupport/WebFrameLoaderClient.h:
374
375 2016-05-11  Chris Dumez  <cdumez@apple.com>
376
377         Update Node::appendChild() / replaceChild() / removeChild() / insertBefore() to take references instead of pointers
378         https://bugs.webkit.org/show_bug.cgi?id=157556
379
380         Reviewed by Darin Adler.
381
382         * DOMCoreClasses.cpp:
383         (DOMNode::insertBefore):
384         (DOMNode::removeChild):
385
386 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
387
388         [GTK] accessibility/aria-readonly.html is failing
389         https://bugs.webkit.org/show_bug.cgi?id=98357
390
391         Reviewed by Chris Fleizach.
392
393         Call AccessibilityNode::canSetValueAttribute() to determine if STATE_SYSTEM_READONLY
394         should be added and if editable text should be supported.
395
396         * AccessibleBase.cpp:
397         (AccessibleBase::state):
398         * AccessibleTextImpl.cpp:
399         (AccessibleText::deleteText):
400         (AccessibleText::insertText):
401         (AccessibleText::cutText):
402         (AccessibleText::pasteText):
403         (AccessibleText::replaceText):
404
405 2016-05-09  Fujii Hironori  <Hironori.Fujii@sony.com>
406
407         [wincairo] web inspector failed to launch in MiniBrowser
408         https://bugs.webkit.org/show_bug.cgi?id=156184
409         <rdar://problem/25539297>
410
411         Reviewed by Alex Christensen.
412
413         * WebCoreSupport/WebInspectorClient.cpp:
414         (WebInspectorClient::openLocalFrontend): Enable
415         AllowFileAccessFromFileURLs and AllowUniversalAccessFromFileURLs
416         of WebPreferences for Web Inspector.
417
418 2016-05-06  Joseph Pecoraro  <pecoraro@apple.com>
419
420         Rename HitTestRequest DisallowShadowContent to DisallowUserAgentShadowContent
421         https://bugs.webkit.org/show_bug.cgi?id=157447
422
423         Reviewed by Ryosuke Niwa.
424
425         * WebView.cpp:
426         (WebView::gestureNotify):
427
428 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
429
430         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
431         https://bugs.webkit.org/show_bug.cgi?id=157331
432
433         Reviewed by Chris Fleizach.
434
435         As part of this change, the WebCore DocumentRegionRole AccessibilityRole has
436         been renamed to LandmarkRegionRole. Update MSAARole() to use the new name.
437
438         * AccessibleBase.cpp:
439         (MSAARole):
440
441 2016-04-25  Per Arne Vollan  <peavo@outlook.com>
442
443         [Win][IndexedDB] Fix build errors.
444         https://bugs.webkit.org/show_bug.cgi?id=156713
445
446         Reviewed by Alex Christensen.
447
448         Fix compile and link errors when building with IndexedDB enabled.
449
450         * WebView.cpp:
451         (WebView::notifyPreferencesChanged):
452         * storage: Added.
453         * storage/WebDatabaseProvider.cpp: Added.
454         (WebDatabaseProvider::indexedDatabaseDirectoryPath):
455
456 2016-04-22  Brent Fulgham  <bfulgham@apple.com>
457
458         Unreviewed build fix after 4199841.
459
460         * WebApplicationCache.cpp:
461         (WebApplicationCache::WebApplicationCache): Provide missing preference key definition.
462
463 2016-04-21  Anders Carlsson  <andersca@apple.com>
464
465         Add a missing space, as noticed by Darin.
466
467         * WebApplicationCache.cpp:
468         (applicationCachePath):
469
470 2016-04-21  Anders Carlsson  <andersca@apple.com>
471
472         Stop using ApplicationCacheStorage::singleton() on Windows
473         https://bugs.webkit.org/show_bug.cgi?id=156861
474
475         Reviewed by Darin Adler.
476
477         * WebApplicationCache.cpp:
478         (applicationCachePath):
479         (WebApplicationCache::storage):
480         * WebApplicationCache.h:
481         * WebCache.cpp:
482         (WebCache::empty):
483         * WebView.cpp:
484         (WebView::initWithFrame):
485         (WebKitSetApplicationCachePathIfNecessary): Deleted.
486
487 2016-04-15  Brent Fulgham  <bfulgham@apple.com>
488
489         CSP: Make dynamically-added favicons (via link rel="icon") obey Content-Security-Policy
490         https://bugs.webkit.org/show_bug.cgi?id=153151
491         <rdar://problem/24383176>
492
493         Reviewed by Darin Adler.
494
495         Remove the unused dynamic favicon code and tests.
496
497         * WebCoreSupport/WebFrameLoaderClient.cpp:
498         (WebFrameLoaderClient::dispatchDidChangeIcons): Deleted.
499         * WebCoreSupport/WebFrameLoaderClient.h:
500
501 2016-04-15  Darin Adler  <darin@apple.com>
502
503         Reduce use of Deprecated::ScriptXXX classes
504         https://bugs.webkit.org/show_bug.cgi?id=156632
505
506         Reviewed by Alex Christensen.
507
508         * Plugins/PluginView.cpp:
509         (WebCore::PluginView::performRequest): Use JSValue.
510         * WebFrame.cpp:
511         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): Ditto.
512         * WebView.cpp:
513         (WebView::stringByEvaluatingJavaScriptFromString): Ditto.
514
515 2016-04-11  Darin Adler  <darin@apple.com>
516
517         Remove UsePointersEvenForNonNullableObjectArguments from HTMLSelectElement
518         https://bugs.webkit.org/show_bug.cgi?id=156458
519
520         Reviewed by Chris Dumez.
521
522         * DOMCoreClasses.cpp: Added now-needed include.
523
524 2016-04-11  Gavin Barraclough  <barraclough@apple.com>
525
526         WebKit should adopt journal_mode=wal for all SQLite databases.
527         https://bugs.webkit.org/show_bug.cgi?id=133496
528
529         Reviewed by Darin Adler.
530
531         * WebDatabaseManager.cpp:
532         (WebDatabaseManager::deleteAllDatabases):
533             - renamed deleteAllDatabases -> deleteAllDatabasesImmediately.
534
535 2016-04-08  Joanmarie Diggs  <jdiggs@igalia.com>
536
537         AX: "AXLandmarkApplication" is an inappropriate subrole for ARIA "application" since it's no longer a landmark
538         https://bugs.webkit.org/show_bug.cgi?id=155403
539
540         Reviewed by Chris Fleizach.
541
542         The new subrole is AXWebApplication and the new role description is "web application".
543         As part of the fix, the WebCore AccessibilityRole for ARIA's "application" role was
544         renamed from LandmarkApplicationRole to WebApplicationRole.
545
546         The roles-exposed.html and aria-grouping-roles.html test expectations were also updated.
547
548         * AccessibleBase.cpp: Update the rolename
549         (MSAARole):
550
551 2016-04-07  Brian Burg  <bburg@apple.com>
552
553         CookieJar should support adding synthetic cookies for developer tools
554         https://bugs.webkit.org/show_bug.cgi?id=156091
555         <rdar://problem/25581340>
556
557         Reviewed by Timothy Hatcher.
558
559         * WebCoreSupport/WebPlatformStrategies.h:
560         * WebCoreSupport/WebPlatformStrategies.cpp:
561         Add new method override.
562
563 2016-03-24  Said Abou-Hallawa  <sabouhallawa@apple,com>
564
565         Change NativeImagePtr for CG to be RetainPtr<CGImageRef>
566         https://bugs.webkit.org/show_bug.cgi?id=155412
567
568         Reviewed by Darin Adler.
569
570         * Plugins/PluginView.h:
571         * Plugins/PluginViewWin.cpp:
572         (WebCore::PluginView::snapshot):
573         Replace PassRefPtr with RefPtr.
574
575 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
576
577         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
578         https://bugs.webkit.org/show_bug.cgi?id=141499
579
580         Reviewed by Brent Fulgham.
581
582         As we have moved on to VS2015, this workaround is no longer needed.
583
584         * WebKitDLL.cpp:
585         (DllMain):
586
587 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com> 
588
589         [Win] Connect layoutTestController.findString() to support testing 
590         https://bugs.webkit.org/show_bug.cgi?id=50234
591
592         Reviewed by Alex Christensen.
593
594         Implement WebView::findString to support testing efforts.
595
596         * Interfaces/IWebViewPrivate.idl: Add API declaration.
597         * WebView.cpp:
598         * WebView.h:
599
600 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
601
602         Unreviewed, rolling out r196951 and r197031.
603
604         Revert also WinCairo follow ups after r196803
605
606         Reverted changesets:
607
608         "[WinCairo] Compile fix."
609         https://bugs.webkit.org/show_bug.cgi?id=154545
610         http://trac.webkit.org/changeset/196951
611
612         "[WinCairo] Mark layer as non composited."
613         https://bugs.webkit.org/show_bug.cgi?id=154640
614         http://trac.webkit.org/changeset/197031
615
616 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
617
618         Unreviewed, rolling out r197693.
619
620         197031
621
622         Reverted changeset:
623
624         "[WinCairo][AcceleratedCompositing] Rendering issues on
625         www.bbc.com."
626         https://bugs.webkit.org/show_bug.cgi?id=154912
627         http://trac.webkit.org/changeset/197693
628
629 2016-03-15  Brent Fulgham  <bfulgham@apple.com>
630
631         [Win] Correct double-release of CFURLConnectionRef
632         https://bugs.webkit.org/show_bug.cgi?id=155515
633         <rdar://problem/25159143>
634
635         Reviewed by Tim Horton.
636
637         Tested by http/tests/download suite.
638
639         * WebDownloadCFNet.cpp: Remove extra CFRelease.
640
641 2016-03-14  Per Arne Vollan  <peavo@outlook.com>
642
643         [WinCairo] Compile fix.
644         https://bugs.webkit.org/show_bug.cgi?id=155463
645
646         Reviewed by Alex Christensen.
647
648         Get the NetworkStorageSession object from the document in the same way as other platforms do.
649
650         * WebCoreSupport/WebFrameNetworkingContext.cpp:
651         (WebFrameNetworkingContext::storageSession):
652         * WebCoreSupport/WebFrameNetworkingContext.h:
653         (WebFrameNetworkingContext::storageSession):
654
655 2016-03-14  Joonghun Park  <jh718.park@samsung.com>
656
657         Purge PassRefPtr from ArrayBuffer, ArchiveResource, Pasteboard, LegacyWebArchive and DataObjectGtk
658         https://bugs.webkit.org/show_bug.cgi?id=150497
659
660         Reviewed by Darin Adler.
661
662         * WebArchive.cpp:
663         (WebArchive::initWithNode):
664
665 2016-03-12  Sam Weinig  <sam@webkit.org>
666
667         WebKit can easily crash below NetworkSession::dataTaskForIdentifier() with NSURLSession enabled
668         <rdar://problem/25129946>
669         https://bugs.webkit.org/show_bug.cgi?id=155401
670
671         Reviewed by Alex Christensen.
672
673         * WebCoreSupport/WebFrameNetworkingContext.cpp:
674         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
675         Pass a SessionID to NetworkStorageSession::createPrivateBrowsingSession().
676
677 2016-03-10  Jer Noble  <jer.noble@apple.com>
678
679         Unreviewed build fix after r197953; correct the settings added in r197953.
680
681         * WebView.cpp:
682         (WebView::notifyPreferencesChanged):
683
684 2016-03-10  Jer Noble  <jer.noble@apple.com>
685
686         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
687         https://bugs.webkit.org/show_bug.cgi?id=155141
688
689         Reviewed by Beth Dakin.
690
691         * WebView.cpp:
692         (WebView::notifyPreferencesChanged):
693
694 2016-03-07  Per Arne Vollan  <peavo@outlook.com>
695
696         [WinCairo][AcceleratedCompositing] Rendering issues on www.bbc.com.
697         https://bugs.webkit.org/show_bug.cgi?id=154912
698
699         Reviewed by Michael Catanzaro.
700
701         If we have a scroll layer, we should not include the scroll position in the visible rectangle,
702         since the scroll position is already reflected in the position of the scroll layer.
703
704         * WebCoreSupport/AcceleratedCompositingContext.cpp:
705         (AcceleratedCompositingContext::flushPendingLayerChanges):
706
707 2016-03-06  Gavin Barraclough  <barraclough@apple.com>
708
709         Convert DOMTimer to std::chrono::milliseconds
710         https://bugs.webkit.org/show_bug.cgi?id=155085
711
712         Reviewed by Andreas Kling.
713
714         DOMTimer currently uses a mix of millisecond (was int, now std::chrono) and second (as double)
715         time values. Constant conversion back and forth is a complete mess. Stop that.
716
717         * WebView.cpp:
718         (WebView::setMinimumTimerInterval):
719             - Convert double argument into std::chrono::milliseconds.
720
721 2016-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
722
723         [ES6] Support Reflect.construct
724         https://bugs.webkit.org/show_bug.cgi?id=147330
725
726         Reviewed by Saam Barati.
727
728         * Plugins/PluginPackage.cpp:
729         (WebCore::NPN_Invoke):
730
731 2016-02-24  Per Arne Vollan  <peavo@outlook.com>
732
733         [WinCairo] Mark layer as non composited.
734         https://bugs.webkit.org/show_bug.cgi?id=154640
735
736         Reviewed by Alex Christensen.
737
738         We need to mark the non composited layer as being non composited.
739
740         * WebCoreSupport/AcceleratedCompositingContext.cpp:
741         (AcceleratedCompositingContext::initialize):
742         (AcceleratedCompositingContext::flushPendingLayerChanges):
743
744 2016-02-22  Per Arne Vollan  <peavo@outlook.com>
745
746         [WinCairo] Compile fix.
747         https://bugs.webkit.org/show_bug.cgi?id=154545
748
749         Reviewed by Alex Christensen.
750
751         Add missing parameter to GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
752
753         * WebCoreSupport/AcceleratedCompositingContext.cpp:
754         (AcceleratedCompositingContext::flushPendingLayerChanges):
755
756 2016-02-21  Darin Adler  <darin@apple.com>
757
758         Refactor LazyEventListener creation to separate Element and Document cases
759         https://bugs.webkit.org/show_bug.cgi?id=154231
760
761         Reviewed by Andreas Kling.
762
763         * WebView.h: Forward declare KeyboardEvent.
764
765 2016-02-16  Andreas Kling  <akling@apple.com>
766
767         Drop StyleResolver and SelectorQueryCache when entering PageCache.
768         <https://webkit.org/b/154238>
769
770         Reviewed by Antti Koivisto.
771
772         * WebCoreSupport/WebVisitedLinkStore.cpp:
773         (WebVisitedLinkStore::removeAllVisitedLinks): Deleted.
774         (WebVisitedLinkStore::addVisitedLinkHash): Deleted.
775
776 2016-02-14  Chris Dumez  <cdumez@apple.com>
777
778         Unreviewed Window build fix.
779
780         * WebCoreStatistics.cpp:
781         * WebJavaScriptCollector.cpp:
782
783 2016-02-12  Jiewen Tan  <jiewen_tan@apple.com>
784
785         WebKit should expose the DOM 4 Event.isTrusted property
786         https://bugs.webkit.org/show_bug.cgi?id=76121
787         <rdar://problem/22558494>
788
789         Reviewed by Darin Adler.
790
791         * DOMCoreClasses.cpp:
792         (DOMNode::dispatchEvent):
793         (DOMWindow::dispatchEvent):
794
795 2016-02-11  Antti Koivisto  <antti@apple.com>
796
797         Try to fix windows build.
798
799         * DOMCoreClasses.cpp:
800         (DOMElement::style):
801         (DOMElement::offsetLeft):
802
803 2016-02-06  Darin Adler  <darin@apple.com>
804
805         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
806         https://bugs.webkit.org/show_bug.cgi?id=153905
807
808         Reviewed by Sam Weinig.
809
810         * Plugins/PluginDatabase.cpp:
811         (WebCore::PluginDatabase::pluginForMIMEType): Use ASCII case-insensitive map rather
812         than lowercasing the MIME type.
813         (WebCore::PluginDatabase::setPreferredPluginForMIMEType): Ditto.
814
815         * Plugins/PluginDatabase.h: Make m_preferredPlugins use an ASCII case-insensitive hash.
816
817         * Plugins/PluginPackage.h: Use ASCII case-insensitive hash for maps keyed by MIME type.
818
819         * Plugins/PluginPackageWin.cpp:
820         (WebCore::PluginPackage::fetchInfo): Use convertToASCIILowercase to lowercase a MIME type.
821
822 2016-02-04  Joseph Pecoraro  <pecoraro@apple.com>
823
824         Web Inspector: InspectorTimelineAgent doesn't need to recompile functions because it now uses the sampling profiler
825         https://bugs.webkit.org/show_bug.cgi?id=153500
826         <rdar://problem/24352458>
827
828         Reviewed by Timothy Hatcher.
829
830         * WebInspector.cpp:
831         (WebInspector::isJavaScriptProfilingEnabled):
832         (WebInspector::setJavaScriptProfilingEnabled):
833         Switch to the new API names.
834
835 2016-01-31  Darin Adler  <darin@apple.com>
836
837         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
838         https://bugs.webkit.org/show_bug.cgi?id=153639
839
840         Reviewed by Filip Pizlo.
841
842         * WebCoreStatistics.cpp:
843         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
844         These names are all ASCII.
845
846         * WebURLResponse.cpp:
847         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
848         field names. These names are all ASCII.
849
850 2016-01-30  Commit Queue  <commit-queue@webkit.org>
851
852         Unreviewed, rolling out r195911.
853         https://bugs.webkit.org/show_bug.cgi?id=153723
854
855         Caused frequent assertion failures on bots (Requested by ap on
856         #webkit).
857
858         Reverted changeset:
859
860         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
861         https://bugs.webkit.org/show_bug.cgi?id=153639
862         http://trac.webkit.org/changeset/195911
863
864 2016-01-30  Commit Queue  <commit-queue@webkit.org>
865
866         Unreviewed, rolling out r195799 and r195828.
867         https://bugs.webkit.org/show_bug.cgi?id=153722
868
869         Caused assertion failures, severely affecting EWS (Requested
870         by ap on #webkit).
871
872         Reverted changesets:
873
874         "Web Inspector: InspectorTimelineAgent doesn't need to
875         recompile functions because it now uses the sampling profiler"
876         https://bugs.webkit.org/show_bug.cgi?id=153500
877         http://trac.webkit.org/changeset/195799
878
879         "Attempt to fix the Windows build after r195799"
880         http://trac.webkit.org/changeset/195828
881
882 2016-01-30  Darin Adler  <darin@apple.com>
883
884         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
885         https://bugs.webkit.org/show_bug.cgi?id=153639
886
887         Reviewed by Filip Pizlo.
888
889         * WebCoreStatistics.cpp:
890         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
891         These names are all ASCII.
892
893         * WebURLResponse.cpp:
894         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
895         field names. These names are all ASCII.
896
897 2016-01-29  Ryan Haddad  <ryanhaddad@apple.com>
898
899         Attempt to fix the Windows build after r195799
900
901         Unreviewed build fix.
902
903         * WebInspector.cpp:
904         (WebInspector::isJavaScriptProfilingEnabled):
905         (WebInspector::setJavaScriptProfilingEnabled):
906
907 2016-01-28  Darin Adler  <darin@apple.com>
908
909         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
910         https://bugs.webkit.org/show_bug.cgi?id=153411
911
912         Reviewed by Ryosuke Niwa.
913
914         * Plugins/PluginDatabase.cpp:
915         (WebCore::PluginDatabase::MIMETypeForExtension): Use equalIgnoringASCIICase to compare
916         file extensions.
917         * Plugins/PluginDatabaseWin.cpp:
918         (WebCore::PluginDatabase::getPluginPathsInDirectories): Use equalLettersIgnoringASCIICase
919         to compare filenames.
920         * Plugins/PluginPackageWin.cpp:
921         (WebCore::PluginPackage::isPluginBlacklisted): Use equalLettersIgnoringASCIICase to
922         compare DLL filenames.
923         * Plugins/PluginStream.cpp:
924         (WebCore::PluginStream::destroyStream): Use equalLettersIgnoringASCIICase to check HTTP method.
925         * Plugins/PluginView.cpp:
926         (WebCore::PluginView::setParameters): Use equalLettersIgnoringASCIICase to check
927         plug-in parameter name.
928         * WebView.cpp:
929         (WebView::canHandleRequest): Use URL::protocolIs instead of equalIgnoringCase.
930
931 2016-01-22  Ryosuke Niwa  <rniwa@webkit.org>
932
933         document.createElement should be able to create a custom element
934         https://bugs.webkit.org/show_bug.cgi?id=153173
935
936         Reviewed by Darin Adler.
937
938         Use createElementForBindings here since this is a C++ binding for Windows.
939
940         * DOMCoreClasses.cpp:
941         (DOMDocument::createElement):
942
943 2016-01-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
944
945         Reduce PassRefPtr uses in dom - 4
946         https://bugs.webkit.org/show_bug.cgi?id=153270
947
948         Reviewed by Darin Adler.
949
950         As a step to remove PassRefPtr uses, this patch reduces the uses in WebCore/dom.
951
952         * Plugins/PluginView.cpp:
953         (WebCore::PluginView::focusPluginElement):
954
955 2016-01-17  Ada Chan  <adachan@apple.com>
956
957         Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
958         https://bugs.webkit.org/show_bug.cgi?id=153220
959
960         Reviewed by Eric Carlson.
961
962         * WebCoreSupport/WebChromeClient.cpp:
963         (WebChromeClient::supportsVideoFullscreen):
964         * WebCoreSupport/WebChromeClient.h:
965
966 2016-01-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
967
968         Remove PassRefPtr from ResourceRequest and FormData
969         https://bugs.webkit.org/show_bug.cgi?id=153229
970
971         Reviewed by Chris Dumez.
972
973         * WebMutableURLRequest.cpp:
974         (WebMutableURLRequest::setHTTPBody):
975
976 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
977
978         Remove GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon()
979         https://bugs.webkit.org/show_bug.cgi?id=153174
980
981         Reviewed by Zalan Bujtas.
982
983         GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon() were
984         poorly named (non-convex polygons are allowed), and just syntactic sugar over
985         clipPath() and drawPath().
986         
987         Remove them, but add a convenience function to create a Path from a Vector of 
988         points. For CG, we can use the more efficient CGPathAddLines().
989
990         * FullscreenVideoController.cpp:
991         (HUDSlider::draw):
992
993 2016-01-05  Per Arne Vollan  <peavo@outlook.com>
994
995         [WinCairo] Download should use header values from provided request object.
996         https://bugs.webkit.org/show_bug.cgi?id=152694
997
998         Reviewed by Alex Christensen.
999
1000         Copy header values from request object parameter.
1001
1002         * WebDownloadCurl.cpp:
1003         (WebDownload::initWithRequest):
1004
1005 2015-12-31  Andy Estes  <aestes@apple.com>
1006
1007         Replace WTF::move with WTFMove
1008         https://bugs.webkit.org/show_bug.cgi?id=152601
1009
1010         Reviewed by Brady Eidson.
1011
1012         * Plugins/PluginStream.cpp:
1013         (WebCore::PluginStream::willSendRequest):
1014         * Plugins/PluginView.cpp:
1015         (WebCore::PluginView::requestTimerFired):
1016         (WebCore::PluginView::scheduleRequest):
1017         (WebCore::PluginView::handlePost):
1018         * WebCoreSupport/WebFrameLoaderClient.cpp:
1019         (WebFrameLoaderClient::createDocumentLoader):
1020         * WebCoreSupport/WebInspectorClient.cpp:
1021         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1022         * WebHistory.cpp:
1023         (createUserInfoFromArray):
1024         * WebHistoryItem.cpp:
1025         (WebHistoryItem::initFromDictionaryRepresentation):
1026         * WebView.cpp:
1027         (WebView::addToDirtyRegion):
1028         (WebView::scrollBackingStore):
1029         (WebView::loadBackForwardListFromOtherView):
1030         (WebView::addUserScriptToGroup):
1031         (WebView::addUserStyleSheetToGroup):
1032
1033 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
1034
1035         Fix Windows build.
1036
1037         * WebView.cpp:
1038         (WebView::scrollOffset):
1039
1040 2015-12-25  David Kilzer  <ddkilzer@apple.com>
1041
1042         ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
1043         <http://webkit.org/b/146391>
1044
1045         Reviewed by Antti Koivisto.
1046
1047         * WebCoreSupport/WebFrameLoaderClient.cpp:
1048         (WebFrameLoaderClient::cancelledError):
1049         (WebFrameLoaderClient::blockedError):
1050         (WebFrameLoaderClient::cannotShowURLError):
1051         (WebFrameLoaderClient::interruptedForPolicyChangeError):
1052         (WebFrameLoaderClient::cannotShowMIMETypeError):
1053         (WebFrameLoaderClient::fileDoesNotExistError):
1054         (WebFrameLoaderClient::pluginWillHandleLoadError):
1055         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
1056         (WebFrameLoaderClient::createJavaAppletWidget):
1057         * WebDownloadCFNet.cpp:
1058         (WebDownload::cancelAuthenticationChallenge):
1059         * WebError.cpp:
1060         (WebError::init):
1061         - Update for type change of 'failingURL' argument to
1062           ResourceError().
1063
1064 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
1065
1066         Web Inspector: add support for running protocol-test.js tests on Windows
1067         https://bugs.webkit.org/show_bug.cgi?id=148037
1068         <rdar://problem/22292237>
1069
1070         Reviewed by Simon Fraser.
1071
1072         Provide API for WebKit.dll clients to request its CFBundleRef.
1073         
1074         * WebKitCOMAPI.cpp:
1075         (webKitBundle): Added.
1076         * WebKitCOMAPI.h:
1077
1078 2015-12-20  Dan Bernstein  <mitz@apple.com>
1079
1080         Remove unused setToolbarHeight
1081         https://bugs.webkit.org/show_bug.cgi?id=152466
1082
1083         Reviewed by Darin Adler.
1084
1085         * WebCoreSupport/WebInspectorClient.cpp:
1086         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
1087         * WebCoreSupport/WebInspectorClient.h:
1088
1089 2015-12-15  Zan Dobersek  <zdobersek@igalia.com>
1090
1091         [TexMap] Operate with a reference to the TextureMapper wherever possible
1092         https://bugs.webkit.org/show_bug.cgi?id=152118
1093
1094         Reviewed by Martin Robinson.
1095
1096         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1097         (AcceleratedCompositingContext::compositeLayersToContext): TextureMapper object
1098         is now operated with through a reference.
1099
1100 2015-12-01  Darin Adler  <darin@apple.com>
1101
1102         Fix anomaly where isMouseEvent returns false for wheel events
1103         https://bugs.webkit.org/show_bug.cgi?id=151685
1104
1105         Reviewed by Alexey Proskuryakov.
1106
1107         * DOMEventsClasses.cpp:
1108         (DOMEvent::createInstance): Use eventInterface instead of isMouseEvent to create the appropriate
1109         wrapper class.
1110
1111 2015-11-24  Per Arne Vollan  <peavo@outlook.com>
1112
1113         [Win] Implement methods to get and set inner html.
1114         https://bugs.webkit.org/show_bug.cgi?id=151569
1115
1116         Reviewed by Alex Christensen.
1117
1118         * DOMHTMLClasses.cpp:
1119         (DOMHTMLElement::innerHTML):
1120         (DOMHTMLElement::setInnerHTML):
1121         (DOMHTMLElement::innerText):
1122
1123 == Rolled over to ChangeLog-2015-11-21 ==