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