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