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