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