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