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