[ES6] Enable ES6 Modules
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2016-12-19  Yusuke Suzuki  <utatane.tea@gmail.com>
2
3         [ES6] Enable ES6 Modules
4         https://bugs.webkit.org/show_bug.cgi?id=165849
5
6         Reviewed by Geoffrey Garen.
7
8         * Interfaces/IWebPreferencesPrivate.idl:
9         * WebPreferenceKeysPrivate.h:
10         * WebPreferences.cpp:
11         (WebPreferences::setES6ModulesEnabled): Deleted.
12         (WebPreferences::es6ModulesEnabled): Deleted.
13         * WebPreferences.h:
14         * WebView.cpp:
15         (WebView::notifyPreferencesChanged):
16
17 2016-12-10  Filip Pizlo  <fpizlo@apple.com>
18
19         The DOM should have an advancing wavefront opaque root barrier
20         https://bugs.webkit.org/show_bug.cgi?id=165712
21
22         Reviewed by Yusuke Suzuki.
23         
24         Propagate the JSDOMWindowBase::commonVM() -> commonVM() change.
25
26         * Plugins/PluginView.cpp:
27         (WebCore::PluginView::start):
28         (WebCore::PluginView::stop):
29         (WebCore::PluginView::performRequest):
30         (WebCore::PluginView::npObject):
31         (WebCore::PluginView::privateBrowsingStateChanged):
32         * Plugins/PluginViewWin.cpp:
33         (WebCore::PluginView::dispatchNPEvent):
34         (WebCore::PluginView::handleKeyboardEvent):
35         (WebCore::PluginView::handleMouseEvent):
36         (WebCore::PluginView::setNPWindowRect):
37         * WebCoreStatistics.cpp:
38         (WebCoreStatistics::javaScriptObjectsCount):
39         (WebCoreStatistics::javaScriptGlobalObjectsCount):
40         (WebCoreStatistics::javaScriptProtectedObjectsCount):
41         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
42         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
43         (WebCoreStatistics::javaScriptObjectTypeCounts):
44         (WebCoreStatistics::shouldPrintExceptions):
45         (WebCoreStatistics::setShouldPrintExceptions):
46         (WebCoreStatistics::memoryStatistics):
47         * WebJavaScriptCollector.cpp:
48         (WebJavaScriptCollector::objectCount):
49
50 2016-12-09  Geoffrey Garen  <ggaren@apple.com>
51
52         TextPosition and OrdinalNumber should be more like idiomatic numbers
53         https://bugs.webkit.org/show_bug.cgi?id=165678
54
55         Reviewed by Filip Pizlo.
56
57         Adopt default constructor.
58
59         * Plugins/PluginPackage.cpp:
60         (WebCore::makeSource):
61
62 2016-12-08  Filip Pizlo  <fpizlo@apple.com>
63
64         Enable SharedArrayBuffer, remove the flag
65         https://bugs.webkit.org/show_bug.cgi?id=165614
66
67         Rubber stamped by Geoffrey Garen.
68
69         * Interfaces/IWebPreferencesPrivate.idl:
70
71 2016-11-26  Yusuke Suzuki  <utatane.tea@gmail.com>
72
73         [WTF] Import std::optional reference implementation as WTF::Optional
74         https://bugs.webkit.org/show_bug.cgi?id=164199
75
76         Reviewed by Saam Barati and Sam Weinig.
77
78         Use WTF::Optional::value_or.
79
80         * Plugins/PluginView.cpp:
81         (WebCore::PluginView::performRequest):
82         * WebCoreSupport/WebFrameLoaderClient.cpp:
83         (WebFrameLoaderClient::dispatchDidCommitLoad):
84         * WebCoreSupport/WebFrameLoaderClient.h:
85         * WebSecurityOrigin.cpp:
86         (WebSecurityOrigin::port):
87
88 2016-11-19  Simon Fraser  <simon.fraser@apple.com>
89
90         [iOS WK2] When zoomed in and panning on pages with fixed bars, parts of the bars are sometimes missing
91         https://bugs.webkit.org/show_bug.cgi?id=164855
92
93         Reviewed by Sam Weinig.
94         
95         Remove the "inStableState" parameter from flushCompositingState() etc.
96
97         * WebCoreSupport/AcceleratedCompositingContext.cpp:
98         (AcceleratedCompositingContext::flushPendingLayerChanges):
99         * WebView.cpp:
100         (WebView::flushPendingGraphicsLayerChanges):
101
102 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
103
104         [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
105         https://bugs.webkit.org/show_bug.cgi?id=164827
106
107         Reviewed by Ryosuke Niwa.
108
109         * Interfaces/IWebPreferencesPrivate.idl:
110         * WebPreferenceKeysPrivate.h:
111         * WebPreferences.cpp:
112         (WebPreferences::setES6ModulesEnabled):
113         (WebPreferences::es6ModulesEnabled):
114         * WebPreferences.h:
115         * WebView.cpp:
116         (WebView::notifyPreferencesChanged):
117
118 2016-11-14  Alex Christensen  <achristensen@webkit.org>
119
120         Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
121         https://bugs.webkit.org/show_bug.cgi?id=164720
122
123         Reviewed by Brady Eidson.
124
125         * WebDatabaseManager.cpp:
126         (DidModifyOriginData::dispatchToMainThread):
127         (DidModifyOriginData::DidModifyOriginData):
128         (WebDatabaseManager::dispatchDidModifyOrigin):
129         (WebDatabaseManager::dispatchDidModifyDatabase):
130         * WebDatabaseManager.h:
131         * WebSecurityOrigin.cpp:
132         (WebSecurityOrigin::usage):
133         (WebSecurityOrigin::quota):
134         (WebSecurityOrigin::setQuota):
135
136 2016-11-13  Darin Adler  <darin@apple.com>
137
138         Fix exception handling in SQL database code, streamline and update code
139         https://bugs.webkit.org/show_bug.cgi?id=164685
140
141         Reviewed by Sam Weinig.
142
143         * WebDatabaseManager.cpp:
144         (WebDatabaseManager::origins): Use DatabaseTracker.
145         (WebDatabaseManager::databasesWithOrigin): Ditto.
146         (WebDatabaseManager::detailsForDatabase): Use reference.
147         (WebDatabaseManager::deleteAllDatabases): Use DatabaseTracker.
148         (WebDatabaseManager::deleteOrigin): Ditto.
149         (WebDatabaseManager::deleteDatabase): Ditto.
150         (WebDatabaseManager::dispatchDidModifyOrigin): Use reference
151         and DatabaseTracker.
152         (WebDatabaseManager::setQuota): Ditto.
153         (WebDatabaseManager::dispatchDidModifyDatabase): Ditto.
154         * WebDatabaseManager.h: Updated client functions to take a reference.
155
156         * WebSecurityOrigin.cpp:
157         (WebSecurityOrigin::usage): Update to use DatabaseTracker.
158         (WebSecurityOrigin::quota): Ditto.
159         (WebSecurityOrigin::setQuota): Ditto.
160
161 2016-11-11  Eric Carlson  <eric.carlson@apple.com>
162
163         [MediaStream] defer resolution of getUserMedia promise made in a background tab
164         https://bugs.webkit.org/show_bug.cgi?id=164643
165         <rdar://problem/29048317>
166
167         Unreviewed build fix after r208606.
168
169         * Plugins/PluginView.cpp:
170         (WebCore::PluginView::mediaCanStart):
171         * Plugins/PluginView.h:
172
173 2016-11-11  Darin Adler  <darin@apple.com>
174
175         Move Node from ExceptionCode to ExceptionOr
176         https://bugs.webkit.org/show_bug.cgi?id=164515
177
178         Reviewed by Sam Weinig.
179
180         * DOMCoreClasses.cpp:
181         (DOMNode::insertBefore): Update exception handling.
182         (DOMNode::removeChild): Ditto.
183
184 2016-10-14  Carlos Garcia Campos  <cgarcia@igalia.com>
185
186         MemoryPressureHandler shouldn't know how to release WebCore memory
187         https://bugs.webkit.org/show_bug.cgi?id=160497
188
189         Reviewed by Michael Catanzaro.
190
191         Set the low memory handler before installing the memory pressure handler.
192
193         * WebView.cpp:
194         (WebView::initWithFrame):
195
196 2016-11-09  Alex Christensen  <achristensen@webkit.org>
197
198         Fix Windows build after r208499
199         https://bugs.webkit.org/show_bug.cgi?id=164562
200
201         * WebKitDLL.cpp:
202         (shutDownWebKit):
203
204 2016-11-09  Darin Adler  <darin@apple.com>
205
206         Move Range from ExceptionCode to ExceptionOr
207         https://bugs.webkit.org/show_bug.cgi?id=164457
208
209         Reviewed by Alex Christensen.
210
211         * WebView.cpp:
212         (WebView::onIMERequestCharPosition): Updated for new exception handling.
213
214 2016-11-09  Darin Adler  <darin@apple.com>
215
216         Move EventTarget from ExceptionCode to ExceptionOr
217         https://bugs.webkit.org/show_bug.cgi?id=164465
218
219         Reviewed by Youenn Fablet.
220
221         * DOMCoreClasses.cpp:
222         (DOMNode::dispatchEvent): Updated exception handling.
223         (DOMWindow::dispatchEvent): Ditto.
224
225 2016-11-04  Wenson Hsieh  <wenson_hsieh@apple.com>
226
227         Safari does not emit composition end if blurred for dead key / Japanese IME
228         https://bugs.webkit.org/show_bug.cgi?id=164369
229         <rdar://problem/29050439>
230
231         Reviewed by Ryosuke Niwa.
232
233         Add a stub implementation of canceledComposition.
234
235         * WebCoreSupport/WebEditorClient.cpp:
236         (WebEditorClient::canceledComposition):
237         * WebCoreSupport/WebEditorClient.h:
238
239 2016-11-04  Per Arne Vollan  <pvollan@apple.com>
240
241         [Win] Page visibility tests are timing out.
242         https://bugs.webkit.org/show_bug.cgi?id=164363
243
244         Reviewed by Brent Fulgham.
245
246         Add method to set page visibility.
247
248         * Interfaces/IWebViewPrivate.idl:
249         * WebView.cpp:
250         (WebView::QueryInterface):
251         (WebView::findString):
252         (WebView::setVisibilityState):
253         * WebView.h:
254
255 2016-11-01  Ryosuke Niwa  <rniwa@webkit.org>
256
257         Remove CUSTOM_ELEMENTS build flag
258         https://bugs.webkit.org/show_bug.cgi?id=164267
259
260         Reviewed by Antti Koivisto.
261
262         Removed the build flag.
263
264         * WebView.cpp:
265         (WebView::notifyPreferencesChanged):
266
267 2016-10-29  Filip Pizlo  <fpizlo@apple.com>
268
269         JSC should support SharedArrayBuffer
270         https://bugs.webkit.org/show_bug.cgi?id=163986
271
272         Reviewed by Keith Miller.
273
274         Support the RuntimeFlag.
275
276         * Interfaces/IWebPreferencesPrivate.idl:
277
278 2016-10-31  Joseph Pecoraro  <pecoraro@apple.com>
279
280         Use #pragma once in WebCore
281         https://bugs.webkit.org/show_bug.cgi?id=164194
282
283         Rubber-stamped by Sam Weinig.
284
285         * WebCoreSupport/WebContextMenuClient.cpp:
286         (WebContextMenuClient::isSpeaking):
287         (WebContextMenuClient::shareMenuItem): Deleted.
288         * WebCoreSupport/WebContextMenuClient.h:
289         Remove this dead code since r192333.
290
291 2016-10-31  Darin Adler  <darin@apple.com>
292
293         Convert Document from ExceptionCode to Exception
294         https://bugs.webkit.org/show_bug.cgi?id=164212
295
296         Reviewed by Alex Christensen.
297
298         * DOMCoreClasses.cpp:
299         (DOMDocument::createElement): Updated exception handling.
300         (DOMDocument::createEvent): Ditto.
301
302 2016-10-30  Darin Adler  <darin@apple.com>
303
304         Move Element, NamedNodeMap, and DOMStringMap from ExceptionCode to Exception
305         https://bugs.webkit.org/show_bug.cgi?id=164206
306
307         Reviewed by Chris Dumez.
308
309         * DOMCoreClasses.cpp:
310         (DOMElement::setAttribute): Updated exception handling.
311         * DOMHTMLClasses.cpp:
312         (DOMHTMLElement::setInnerHTML): Ditto.
313
314 2016-10-30  Brent Fulgham  <bfulgham@apple.com>
315
316         Unreviewed build fix (Direct2D)
317
318         * WebView.cpp:
319         (WebView::paintWithDirect2D): Update for revised GraphicsContext
320         begin/end draw behavior.
321
322 2016-10-28  Darin Adler  <darin@apple.com>
323
324         Move all classes in the HTML directory from ExceptionCode to Exception
325         https://bugs.webkit.org/show_bug.cgi?id=163876
326
327         Reviewed by Sam Weinig.
328
329         * DOMHTMLClasses.cpp:
330         (DOMHTMLElement::setInnerText): Update exception handling.
331         * FullscreenVideoController.cpp:
332         (FullscreenVideoController::setVolume): Ditto.
333
334 2016-10-27  Brent Fulgham  <bfulgham@apple.com>
335
336         Unreviewed build fix.
337
338         * WebView.cpp:
339         (WebView::paintWithDirect2D): Correct merge error.
340
341 2016-10-25  Brent Fulgham  <bfulgham@apple.com>
342
343         [Win][Direct2D] Create a RAII Helper Class for the Render Target
344         https://bugs.webkit.org/show_bug.cgi?id=164005
345
346         Reviewed by Alex Christensen.
347
348         * WebView.cpp:
349         (WebView::sizeChanged): Construct RenderTarget with higher-resolution display timer.
350         (WebView::paintWithDirect2D): Revise to use new RenderTargetHelper class.
351
352 2016-10-27  Wenson Hsieh  <wenson_hsieh@apple.com>
353
354         Support "insertFromDrop" and "deleteByDrag" for the InputEvent spec
355         https://bugs.webkit.org/show_bug.cgi?id=163948
356         <rdar://problem/28921433>
357
358         Reviewed by Darin Adler.
359
360         Add support for new drag and drop-related EditAction enum values.
361
362         * WebCoreSupport/WebEditorClient.cpp:
363         (undoNameForEditAction):
364
365 2016-10-26  Brian Burg  <bburg@apple.com>
366
367         Web Inspector: remove unused bool return value from FrontendChannel::sendMessageToFrontend
368         https://bugs.webkit.org/show_bug.cgi?id=164046
369
370         Reviewed by Joseph Pecoraro.
371
372         * WebCoreSupport/WebInspectorClient.h:
373
374 2016-10-19  Alex Christensen  <achristensen@webkit.org>
375
376         Revert r207151
377         https://bugs.webkit.org/show_bug.cgi?id=163675
378
379         Reviewed by Brent Fulgham.
380
381         * DefaultDownloadDelegate.h:
382         * WebCoreSupport/WebFrameLoaderClient.cpp:
383         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
384         * WebCoreSupport/WebFrameNetworkingContext.cpp:
385         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
386         * WebCoreSupport/WebFrameNetworkingContext.h:
387         * WebCoreSupport/WebPlatformStrategies.cpp:
388         * WebDownload.h:
389         * WebError.cpp:
390         (WebError::localizedDescription):
391         (WebError::sslPeerCertificate):
392         * WebError.h:
393         * WebMutableURLRequest.cpp:
394         (WebMutableURLRequest::mutableCopy):
395         * WebURLAuthenticationChallenge.cpp:
396         (WebURLAuthenticationChallenge::initWithProtectionSpace):
397         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
398         * WebURLResponse.cpp:
399         (WebURLResponse::sslPeerCertificate):
400         * WebURLResponse.h:
401         * WebView.cpp:
402         (WebView::setCacheModel):
403         (WebView::canHandleRequest):
404         (WebView::notifyPreferencesChanged):
405         (updateSharedSettingsFromPreferencesIfNeeded):
406
407 2016-10-18  Darin Adler  <darin@apple.com>
408
409         Move many miscellaneous classes from ExceptionCode to Exception
410         https://bugs.webkit.org/show_bug.cgi?id=163645
411
412         Reviewed by Ryosuke Niwa.
413
414         * DOMCoreClasses.cpp:
415         (DOMDocument::getComputedStyle): Use ptr instead of get since the return
416         value is now Ref instead of RefPtr.
417
418 2016-10-18  Anders Carlsson  <andersca@apple.com>
419
420         Try to fix the Windows build.
421
422         * WebHistoryItem.cpp:
423         (WebHistoryItem::redirectURLs):
424
425 2016-10-18  Anders Carlsson  <andersca@apple.com>
426
427         Move some history specific HistoryItem code to WebHistoryItem
428         https://bugs.webkit.org/show_bug.cgi?id=163567
429
430         Reviewed by Tim Horton.
431
432         Remove these, they aren't used.
433
434         * WebCoreSupport/WebFrameLoaderClient.cpp:
435         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
436         * WebHistory.cpp:
437         (WebHistory::visitedURL):
438         * WebHistoryItem.cpp:
439         (WebHistoryItem::initFromDictionaryRepresentation):
440         (WebHistoryItem::dictionaryRepresentation):
441
442 2016-10-16  Darin Adler  <darin@apple.com>
443
444         Move CSS classes from ExceptionCode to Exception
445         https://bugs.webkit.org/show_bug.cgi?id=163494
446
447         Reviewed by Sam Weinig.
448
449         * DOMCSSClasses.cpp:
450         (DOMCSSStyleDeclaration::setCssText): Remove ExceptionCode handling.
451         (DOMCSSStyleDeclaration::setProperty): Ditto.
452
453 2016-10-12  Anders Carlsson  <andersca@apple.com>
454
455         Copy BackForwardList from WebCore to WebKit/win
456         https://bugs.webkit.org/show_bug.cgi?id=163360
457
458         Reviewed by Alex Christensen.
459
460         Use our local BackForwardList class instead of WebCore::BackForwardList.
461
462         * BackForwardList.cpp: Added.
463         * BackForwardList.h: Added.
464         * WebBackForwardList.h:
465         * WebView.cpp:
466         (WebView::initWithFrame):
467         (WebView::backForwardList):
468
469 2016-10-13  Anders Carlsson  <andersca@apple.com>
470
471         Get rid of the HistoryItemVector typedef
472         https://bugs.webkit.org/show_bug.cgi?id=163398
473
474         Reviewed by Beth Dakin.
475
476         Expand the HistoryitemVector typedef instead to make it more clear what types we are dealing with.
477
478         * WebBackForwardList.cpp:
479         (WebBackForwardList::backListWithLimit):
480         (WebBackForwardList::forwardListWithLimit):
481         * WebHistoryItem.cpp:
482         (WebHistoryItem::children):
483
484 2016-10-12  Brent Fulgham  <bfulgham@apple.com>
485
486         [Win] Unreviewed build fix after r207218.
487
488         The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
489         It should be using USE(CFURLCONNECTION).
490
491         * WebCache.cpp: Missed one!
492
493 2016-10-12  Brent Fulgham  <bfulgham@apple.com>
494
495         [Win] Unreviewed build fix after r207218.
496
497         The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
498         It should be using USE(CFURLCONNECTION).
499
500         * WebCache.cpp:
501         (WebCache::cacheFolder):
502         (WebCache::setCacheFolder):
503
504 2016-10-12  Per Arne Vollan  <pvollan@apple.com>
505
506         [Win] Parallel DRTs are sharing preferences and cache.
507         https://bugs.webkit.org/show_bug.cgi?id=163013
508
509         Reviewed by Brent Fulgham.
510
511         Make it possible for a WebKit client to use separate preferences and cache.
512
513         * Interfaces/IWebPreferencesPrivate.idl:
514         * WebApplicationCache.cpp:
515         (applicationCachePath):
516         * WebCache.cpp:
517         (WebCache::cacheFolder):
518         (WebCache::setCacheFolder):
519         * WebDatabaseManager.cpp:
520         (databasesDirectory):
521         * WebPreferences.cpp:
522         (WebPreferences::applicationId):
523         (WebPreferences::valueForKey):
524         (WebPreferences::setValueForKey):
525         (WebPreferences::save):
526         (WebPreferences::QueryInterface):
527         (WebPreferences::modernMediaControlsEnabled):
528         (WebPreferences::setApplicationId):
529         * WebPreferences.h:
530         * WebView.cpp:
531         (WebView::setCacheModel):
532
533 2016-10-11  Alex Christensen  <achristensen@webkit.org>
534
535         Remove dead networking code
536         https://bugs.webkit.org/show_bug.cgi?id=163263
537
538         Reviewed by Daniel Bates.
539
540         * DefaultDownloadDelegate.h:
541         * WebCoreSupport/WebFrameLoaderClient.cpp:
542         (WebFrameLoaderClient::savePlatformDataToCachedFrame):
543         * WebCoreSupport/WebFrameNetworkingContext.cpp:
544         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
545         * WebCoreSupport/WebFrameNetworkingContext.h:
546         * WebCoreSupport/WebPlatformStrategies.cpp:
547         * WebDownload.h:
548         * WebError.cpp:
549         (WebError::localizedDescription):
550         (WebError::sslPeerCertificate):
551         * WebError.h:
552         * WebMutableURLRequest.cpp:
553         (WebMutableURLRequest::mutableCopy):
554         * WebURLAuthenticationChallenge.cpp:
555         (WebURLAuthenticationChallenge::initWithProtectionSpace):
556         (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
557         * WebURLResponse.cpp:
558         (WebURLResponse::sslPeerCertificate):
559         * WebURLResponse.h:
560         * WebView.cpp:
561         (WebView::setCacheModel):
562         (WebView::canHandleRequest):
563         (WebView::notifyPreferencesChanged):
564         (updateSharedSettingsFromPreferencesIfNeeded):
565
566 2016-10-11  Ryan Haddad  <ryanhaddad@apple.com>
567
568         Unreviewed, rolling out r207067.
569
570         This change caused webkitpy test failures.
571
572         Reverted changeset:
573
574         "[Win] Parallel DRTs are sharing preferences and cache."
575         https://bugs.webkit.org/show_bug.cgi?id=163013
576         http://trac.webkit.org/changeset/207067
577
578 2016-10-11  Per Arne Vollan  <pvollan@apple.com>
579
580         [Win] Parallel DRTs are sharing preferences and cache.
581         https://bugs.webkit.org/show_bug.cgi?id=163013
582
583         Reviewed by Brent Fulgham.
584
585         Make it possible for a WebKit client to use separate preferences and cache.
586
587         * Interfaces/IWebPreferencesPrivate.idl:
588         * WebApplicationCache.cpp:
589         (applicationCachePath):
590         * WebCache.cpp:
591         (WebCache::cacheFolder):
592         (WebCache::setCacheFolder):
593         * WebDatabaseManager.cpp:
594         (databasesDirectory):
595         * WebPreferences.cpp:
596         (WebPreferences::applicationId):
597         (WebPreferences::valueForKey):
598         (WebPreferences::setValueForKey):
599         (WebPreferences::save):
600         (WebPreferences::QueryInterface):
601         (WebPreferences::modernMediaControlsEnabled):
602         (WebPreferences::setApplicationId):
603         * WebPreferences.h:
604         * WebView.cpp:
605         (WebView::setCacheModel):
606
607 2016-10-09  Wenson Hsieh  <wenson_hsieh@apple.com>
608
609         Support InputEvent.inputType for the new InputEvent spec
610         https://bugs.webkit.org/show_bug.cgi?id=163025
611         <rdar://problem/28658092>
612
613         Reviewed by Darin Adler.
614
615         * WebCoreSupport/WebEditorClient.cpp:
616         (undoNameForEditAction):
617
618 2016-10-04  Brent Fulgham  <bfulgham@apple.com>
619
620         [Win][Direct2D] Connect WebCore/WebKit Drawing
621         https://bugs.webkit.org/show_bug.cgi?id=162924
622
623         Reviewed by Alex Christensen.
624
625         Update the Windows WebKit layer to optionally use the Direct2D
626         backend.
627
628         * FullscreenVideoController.cpp: Disable some CoreAnimation-based
629         accelerated compositing logic.
630         * FullscreenVideoController.h:
631         * WebFrame.cpp:
632         (WebFrame::spoolPages): Disable in Direct2D.
633         * WebView.cpp:
634         (WebView::ensureBackingStore): Add Direct2D logic.
635         (WebView::scrollBackingStore): Ditto.
636         (WebView::sizeChanged): Ditto.
637         (WebView::paintWithDirect2D): Added.
638         (WebView::WebViewWndProc): Call Direct2D paint routine.
639         * WebView.h:
640
641 2016-10-02  Darin Adler  <darin@apple.com>
642
643         Rename ExceptionCode-based exception handling to "legacy"
644         https://bugs.webkit.org/show_bug.cgi?id=162859
645
646         Reviewed by Chris Dumez.
647
648         * Interfaces/DOMEvents.idl: Let the script rename here (in a comment).
649
650 2016-09-29  Konstantin Tokarev  <annulen@yandex.ru>
651
652         Fixed compilation of PluginView when NETSCAPE_PLUGIN_API is disabled
653         https://bugs.webkit.org/show_bug.cgi?id=162725
654
655         Reviewed by Alex Christensen.
656
657         Fix for r206460, streamDidFinishLoading() does not override anything
658         when NETSCAPE_PLUGIN_API is disabled because PlugivView does not
659         inherit PluginStreamClient in this case.
660
661         * Plugins/PluginView.h:
662
663 2016-09-27  Konstantin Tokarev  <annulen@yandex.ru>
664
665         Use override specifiers in PluginView
666         https://bugs.webkit.org/show_bug.cgi?id=162628
667
668         Reviewed by Alex Christensen.
669
670         * Plugins/PluginView.h:
671
672 2016-09-23  Antoine Quint  <graouts@apple.com>
673
674         Add a new runtime flag for work on modern media controls (off by default)
675         https://bugs.webkit.org/show_bug.cgi?id=162420
676         <rdar://problem/27989489>
677
678         Reviewed by Eric Carlson.
679
680         * Interfaces/IWebPreferencesPrivate.idl:
681         * WebPreferenceKeysPrivate.h:
682         * WebPreferences.cpp:
683         (WebPreferences::setModernMediaControlsEnabled):
684         (WebPreferences::modernMediaControlsEnabled):
685         (WebPreferences::setCustomElementsEnabled): Deleted.
686         * WebPreferences.h:
687         * WebView.cpp:
688         (WebView::notifyPreferencesChanged):
689
690 2016-09-15  Brady Eidson  <beidson@apple.com>
691
692         WKWebView.hasOnlySecureContent always returns "YES" after going back to a CachedPage (even if it has http resources).
693         <rdar://problem/27681261> and https://bugs.webkit.org/show_bug.cgi?id=162043
694
695         Reviewed by Brent Fulgham. 
696
697         * WebCoreSupport/WebFrameLoaderClient.cpp:
698         (WebFrameLoaderClient::dispatchDidCommitLoad):
699         * WebCoreSupport/WebFrameLoaderClient.h:
700
701 2016-09-07  Mark Lam  <mark.lam@apple.com>
702
703         Add CatchScope and force all exception checks to be via ThrowScope or CatchScope.
704         https://bugs.webkit.org/show_bug.cgi?id=161498
705
706         Reviewed by Geoffrey Garen.
707
708         * Plugins/PluginPackage.cpp:
709         (WebCore::NPN_Evaluate):
710         (WebCore::NPN_Invoke):
711
712 2016-09-06  Per Arne Vollan  <pvollan@apple.com>
713
714         [Win] Null pointer crash under WebView::scrollOffset.
715         https://bugs.webkit.org/show_bug.cgi?id=161620
716
717         Reviewed by Darin Adler.
718
719         Added null pointer checks.
720
721         * WebView.cpp:
722         (WebView::scrollOffset):
723         (WebView::scrollBy):
724         (WebView::visibleContentRect):
725
726 2016-09-03  Darin Adler  <darin@apple.com>
727
728         Streamline DOMImplementation, and move it to our new DOM exception system
729         https://bugs.webkit.org/show_bug.cgi?id=161295
730
731         Reviewed by Ryosuke Niwa.
732
733         * WebFrame.cpp:
734         (WebFrame::canProvideDocumentSource): Updated to use isXMLMIMEType in its new
735         location in MIMETypeRegistry instead of in DOMImplementation.
736
737 2016-09-02  Ryosuke Niwa  <rniwa@webkit.org>
738
739         Build fix attempt after r205381.
740
741         * WebCoreSupport/WebEditorClient.h:
742
743 2016-08-31  Keith Rollin  <krollin@apple.com>
744
745         WebKit should set a subsystem for os_log so it's easier to filter for WebKit log messages
746         https://bugs.webkit.org/show_bug.cgi?id=160969
747         <rdar://problem/26068734>
748
749         Reviewed by Simon Fraser.
750
751         Enable subsystem- and channel-related data and functions when using
752         RELEASE_LOG macros. Use the DECLARE_LOG_CHANNEL, DEFINE_LOG_CHANNEL,
753         and LOG_CHANNEL_ADDRESS macros that are now defined in WTF.
754
755         * WebKitLogging.cpp:
756         * WebKitLogging.h:
757         * WebView.cpp:
758         (WebView::initWithFrame):
759
760 2016-08-16  Carlos Garcia Campos  <cgarcia@igalia.com>
761
762         [GTK] Accelerated compositing does not work in Wayland
763         https://bugs.webkit.org/show_bug.cgi?id=115803
764
765         Reviewed by Michael Catanzaro.
766
767         Update to the new GLContext API.
768
769         * WebCoreSupport/AcceleratedCompositingContext.cpp:
770         (AcceleratedCompositingContext::initialize):
771         (AcceleratedCompositingContext::acceleratedCompositingAvailable):
772
773 2016-08-21  Alex Christensen  <achristensen@webkit.org>
774
775         Use Document& instead of Document* when getting cookies
776         https://bugs.webkit.org/show_bug.cgi?id=161011
777
778         Reviewed by Darin Adler.
779
780         * Plugins/PluginView.cpp:
781         (WebCore::PluginView::getValueForURL):
782
783 2016-08-16  Simon Fraser  <simon.fraser@apple.com>
784
785         Rename didLayout(LayoutMilestones) to didReachLayoutMilestone(), and related WK2 functions
786         https://bugs.webkit.org/show_bug.cgi?id=160923
787
788         Reviewed by Tim Horton.
789
790         didLayout(LayoutMilestones) -> didReachLayoutMilestone(LayoutMilestones)
791         dispatchDidLayout(LayoutMilestones) -> dispatchDidReachLayoutMilestone(LayoutMilestones)
792
793         * WebCoreSupport/WebFrameLoaderClient.cpp:
794         (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
795         (WebFrameLoaderClient::dispatchDidLayout): Deleted.
796         * WebCoreSupport/WebFrameLoaderClient.h:
797
798 2016-08-18  Anders Carlsson  <andersca@apple.com>
799
800         Move an NPAPI-only function from WebCore to WebKit
801         https://bugs.webkit.org/show_bug.cgi?id=160967
802
803         Reviewed by Sam Weinig.
804
805         * Plugins/PluginView.cpp:
806         (WebCore::PluginView::~PluginView):
807         (WebCore::PluginView::PluginView):
808         (WebCore::PluginView::getValue):
809         * Plugins/PluginView.h:
810
811 2016-08-15  Joseph Pecoraro  <pecoraro@apple.com>
812
813         Remove unused includes of wtf headers
814         https://bugs.webkit.org/show_bug.cgi?id=160839
815
816         Reviewed by Alex Christensen.
817
818         * WebFrame.h:
819
820 2016-08-09  Alex Christensen  <achristensen@webkit.org>
821
822         Move NetworkStorageSession management to WebCore
823         https://bugs.webkit.org/show_bug.cgi?id=160173
824
825         Reviewed by Brady Eidson.
826
827         * WebCoreSupport/WebFrameNetworkingContext.cpp:
828         (identifierBase):
829         (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
830         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
831         (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
832         (WebFrameNetworkingContext::blockedError):
833         (WebFrameNetworkingContext::storageSession):
834         (privateSession): Deleted.
835         * WebCoreSupport/WebPlatformStrategies.cpp:
836         (WebPlatformStrategies::createPasteboardStrategy):
837         (WebPlatformStrategies::createBlobRegistry):
838
839 2016-08-09  Anders Carlsson  <andersca@apple.com>
840
841         Instantiate WebKit plug-ins at layout time, instead of at style resolution time
842         https://bugs.webkit.org/show_bug.cgi?id=160715
843
844         Reviewed by Tim Horton.
845
846         * WebCoreSupport/WebFrameLoaderClient.cpp:
847         (WebFrameLoaderClient::objectContentType):
848
849 2016-08-09  Per Arne Vollan  <pvollan@apple.com>
850
851         [Win] Crash in MiniBrowser.
852         https://bugs.webkit.org/show_bug.cgi?id=160686
853
854         Reviewed by Sam Weinig.
855
856         We need to specify a plugin info provider object in the page configuration.
857
858         * WebView.cpp:
859         (WebView::initWithFrame):
860
861 2016-08-09  Anders Carlsson  <andersca@apple.com>
862
863         Fix build.
864
865         * WebCoreSupport/WebPlatformStrategies.h:
866
867 2016-08-09  Anders Carlsson  <andersca@apple.com>
868
869         Get rid of PluginStrategy
870         https://bugs.webkit.org/show_bug.cgi?id=160696
871
872         Reviewed by Dan Bernstein.
873
874         * WebCoreSupport/WebPlatformStrategies.cpp:
875         (WebPlatformStrategies::createPluginStrategy): Deleted.
876
877 2016-08-09  Anders Carlsson  <andersca@apple.com>
878
879         Move plug-in enumeration from WebPlatformStrategies to WebPluginInfoProvider
880         https://bugs.webkit.org/show_bug.cgi?id=160694
881
882         Reviewed by Dan Bernstein.
883
884         * WebCoreSupport/WebPlatformStrategies.cpp:
885         (WebPlatformStrategies::createPluginStrategy):
886         (WebPlatformStrategies::refreshPlugins): Deleted.
887         (WebPlatformStrategies::getPluginInfo): Deleted.
888         (WebPlatformStrategies::getWebVisiblePluginInfo): Deleted.
889         * WebCoreSupport/WebPlatformStrategies.h:
890         * WebCoreSupport/WebPluginInfoProvider.cpp:
891         (WebPluginInfoProvider::refreshPlugins):
892         (WebPluginInfoProvider::getPluginInfo):
893         (WebPluginInfoProvider::getWebVisiblePluginInfo):
894
895 2016-08-08  Anders Carlsson  <andersca@apple.com>
896
897         Add a new PluginInfoProvider class, to replace PluginStrategy
898         https://bugs.webkit.org/show_bug.cgi?id=160670
899
900         Reviewed by Sam Weinig.
901
902         Add a new WebPluginInfoProvider - it just calls through to the plug-in strategy for now.
903
904         * WebCoreSupport/WebPluginInfoProvider.cpp: Added.
905         (WebPluginInfoProvider::singleton):
906         (WebPluginInfoProvider::WebPluginInfoProvider):
907         (WebPluginInfoProvider::~WebPluginInfoProvider):
908         (WebPluginInfoProvider::refreshPlugins):
909         (WebPluginInfoProvider::getPluginInfo):
910         (WebPluginInfoProvider::getWebVisiblePluginInfo):
911         * WebCoreSupport/WebPluginInfoProvider.h: Added.
912
913 2016-07-29  Csaba Osztrogon√°c  <ossy@webkit.org>
914
915         Remove PassRef.h after r177259
916         https://bugs.webkit.org/show_bug.cgi?id=160348
917
918         Reviewed by Andreas Kling.
919
920         * WebCoreSupport/WebVisitedLinkStore.h:
921
922 2016-07-27  Alex Christensen  <achristensen@webkit.org>
923
924         Fix Win debug build after r203749.
925
926         * WebView.cpp:
927
928 2016-07-26  Simon Fraser  <simon.fraser@apple.com>
929
930         Allow LOG macros to be used outside the namespace, and other logging cleanup
931         https://bugs.webkit.org/show_bug.cgi?id=160216
932
933         Reviewed by Anders Carlsson.
934
935         Fix some issues with the LOG macros.
936         
937         First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
938         its log channels outside of the namespace (they are protected by a unique prefix anyway).
939         
940         Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
941         into LogMacros.h, which is exported from WebCore as a private header.
942         
943         Third, split the Logging.h header into two. Logging.h remains for framework-internal
944         log channels and log macros. Add LogInitialization.h which is external, and used to
945         initialize the channels.
946         
947         Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
948
949         * WebKitLogging.cpp:
950         * WebKitLogging.h:
951         * WebView.cpp:
952         (WebView::initWithFrame):
953
954 2016-07-23  Chris Dumez  <cdumez@apple.com>
955
956         Unreviewed, fix Windows build after r203623.
957
958         * DOMCoreClasses.cpp:
959         (DOMDocument::getComputedStyle):
960
961 2016-07-22  Per Arne Vollan  <pvollan@apple.com>
962
963         IWebView::mainFrame crashes if called after IWebView::close
964         https://bugs.webkit.org/show_bug.cgi?id=32868
965
966         Reviewed by Brent Fulgham.
967
968         After deleting the page in WebView::close the mainframe object may be deleted. 
969          
970         Test: Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp (CloseThenGetMainFrame).
971
972         * WebView.cpp:
973         (WebView::close): set mainframe pointer member to null. 
974
975 2016-07-19  Per Arne Vollan  <pvollan@apple.com>
976
977         [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
978         https://bugs.webkit.org/show_bug.cgi?id=159342
979
980         Reviewed by Darin Adler.
981
982         * WebFrame.h: Link fix. 
983
984 2016-07-17  Sam Weinig  <sam@webkit.org>
985
986         [WebKit API] Add SPI to track multiple navigations caused by a single user gesture
987         <rdar://problem/26554137>
988         https://bugs.webkit.org/show_bug.cgi?id=159856
989
990         Reviewed by Dan Bernstein.
991
992         * Plugins/PluginView.cpp:
993         (WebCore::PluginView::performRequest):
994         * WebCoreSupport/WebContextMenuClient.cpp:
995         (WebContextMenuClient::searchWithGoogle):
996         Update for new UserGestureIndicator interface.
997
998 2016-07-16  Ryosuke Niwa  <rniwa@webkit.org>
999
1000         Rename fastGetAttribute to attributeWithoutSynchronization
1001         https://bugs.webkit.org/show_bug.cgi?id=159852
1002
1003         Reviewed by Darin Adler.
1004
1005         * DOMHTMLClasses.cpp:
1006         (DOMHTMLElement::idName):
1007
1008 2016-07-15  Chris Dumez  <cdumez@apple.com>
1009
1010         Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible
1011         https://bugs.webkit.org/show_bug.cgi?id=159793
1012
1013         Reviewed by Ryosuke Niwa.
1014
1015         Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible, for performance.
1016
1017         * DOMHTMLClasses.cpp:
1018         (DOMHTMLElement::idName):
1019
1020 2016-07-14  Chris Dumez  <cdumez@apple.com>
1021
1022         Use emptyString() instead of "" when possible
1023         https://bugs.webkit.org/show_bug.cgi?id=159789
1024
1025         Reviewed by Alex Christensen.
1026
1027         Use emptyString() instead of "" when possible to reduce String allocations.
1028
1029         * Plugins/PluginView.cpp:
1030         (WebCore::parseRFC822HeaderFields):
1031
1032 2016-07-14  Alex Christensen  <achristensen@webkit.org>
1033
1034         Use SocketProvider to create SocketStreamHandles
1035         https://bugs.webkit.org/show_bug.cgi?id=159774
1036
1037         Reviewed by Brady Eidson.
1038
1039         * WebSocketProvider.cpp: Removed.
1040         * WebSocketProvider.h: Removed.
1041         * WebView.cpp: Replaced WebSocketProvider with SocketProvider as we did in WebCore.
1042
1043 2016-07-14  Csaba Osztrogon√°c  <ossy@webkit.org>
1044
1045         Fix the !ENABLE(WEB_SOCKETS) build after r202930
1046         https://bugs.webkit.org/show_bug.cgi?id=159768
1047
1048         Reviewed by Alex Christensen.
1049
1050         * WebSocketProvider.h:
1051
1052 2016-07-11  Enrica Casucci  <enrica@apple.com>
1053
1054         Build fix.
1055
1056         Unreviewed.
1057
1058         * WebDropSource.cpp:
1059         (generateMouseEvent):
1060
1061 2016-07-11  Enrica Casucci  <enrica@apple.com>
1062
1063         Add synthetic click origin to WKNavigationAction.
1064         https://bugs.webkit.org/show_bug.cgi?id=159584
1065         rdar://problem/25610422
1066
1067         Reviewed by Tim Horton.
1068
1069         * WebDropSource.cpp:
1070         (generateMouseEvent):
1071
1072 2016-07-07  Alex Christensen  <achristensen@webkit.org>
1073
1074         Fix Windows build after r202930.
1075         https://bugs.webkit.org/show_bug.cgi?id=158776
1076
1077         * WebView.cpp:
1078         (WebView::initWithFrame):
1079
1080 2016-07-07  Alex Christensen  <achristensen@webkit.org>
1081
1082         Use SocketProvider to create WebSocketChannels
1083         https://bugs.webkit.org/show_bug.cgi?id=158776
1084
1085         Reviewed by Brent Fulgham.
1086
1087         * WebSocketProvider.cpp: Copied from Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp.
1088         (WebSocketProvider::createWebSocketChannel):
1089         (WebCore::ThreadableWebSocketChannel::create): Deleted.
1090         * WebSocketProvider.h:
1091
1092 2016-07-06  Per Arne Vollan  <pvollan@apple.com>
1093
1094         [Win] Add null pointer check in gesture handling.
1095         https://bugs.webkit.org/show_bug.cgi?id=159454
1096
1097         Reviewed by Brent Fulgham.
1098
1099         * WebView.cpp:
1100         (WebView::gesture):
1101
1102 2016-07-01  Per Arne Vollan  <pvollan@apple.com>
1103
1104         ASSERTION FAILED: info.bmBitsPixel == 32
1105         https://bugs.webkit.org/show_bug.cgi?id=17737
1106
1107         Reviewed by Brent Fulgham.
1108
1109         The ::SelectObject call will fail if m_backingStoreBitmap is already selected into a device context.
1110         This happens when this method is called indirectly from WebView::updateBackingStore during normal
1111         painting. There is no point continuing, since we would just be scrolling a 1x1 bitmap which is
1112         selected into the device context by default. We can just scroll by repainting the scroll rectangle.
1113
1114         * WebView.cpp:
1115         (WebView::scrollBackingStore): Invalidate the scroll rectangle if the ::SelectObject call fails.
1116
1117 2016-07-01  Youenn Fablet  <youennf@gmail.com>
1118
1119         Add a runtime flag for DOM iterators
1120         https://bugs.webkit.org/show_bug.cgi?id=159300
1121
1122         Reviewed by Alex Christensen.
1123
1124         * WebPreferenceKeysPrivate.h:
1125         * WebPreferences.cpp:
1126         (WebPreferences::domIteratorEnabled):
1127         (WebPreferences::setDOMIteratorEnabled):
1128         (WebView::notifyPreferencesChanged):
1129         * WebPreferencesreferences.h:
1130         * WebView.cpp:
1131         (WebView::notifyPreferencesChanged):
1132
1133 2016-06-28  Per Arne Vollan  <pvollan@apple.com>
1134
1135         [Win] Custom elements tests are failing.
1136         https://bugs.webkit.org/show_bug.cgi?id=159139
1137
1138         Reviewed by Alex Christensen.
1139
1140         Add preference for enabling custom element API.
1141
1142         * Interfaces/IWebPreferencesPrivate.idl:
1143         * WebPreferenceKeysPrivate.h:
1144         * WebPreferences.cpp:
1145         (WebPreferences::initializeDefaultSettings):
1146         (WebPreferences::customElementsEnabled):
1147         (WebPreferences::setCustomElementsEnabled):
1148         * WebPreferences.h:
1149         * WebView.cpp:
1150         (WebView::notifyPreferencesChanged):
1151
1152 2016-06-23  Per Arne Vollan  <pvollan@apple.com>
1153
1154         [Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
1155         https://bugs.webkit.org/show_bug.cgi?id=159057
1156
1157         Reviewed by Brent Fulgham.
1158
1159         The test expects the label to have a static text role, but currently it has a
1160         group role.
1161  
1162         * AccessibleBase.cpp:
1163         (MSAARole): Change the role of labels to static text.
1164
1165 2016-06-23  Alex Christensen  <achristensen@webkit.org>
1166
1167         Remove unused didCancelAuthenticationChallenge
1168         https://bugs.webkit.org/show_bug.cgi?id=158819
1169
1170         Reviewed by David Kilzer.
1171
1172         * WebCoreSupport/WebFrameLoaderClient.cpp:
1173         (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge): Deleted.
1174         * WebCoreSupport/WebFrameLoaderClient.h:
1175
1176 2016-06-22  Per Arne Vollan  <pvollan@apple.com>
1177
1178         [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
1179         https://bugs.webkit.org/show_bug.cgi?id=158934
1180
1181         Reviewed by Brent Fulgham.
1182
1183         Add a method to delete all indexed databases.
1184
1185         * Interfaces/IWebDatabaseManager.idl:
1186         * WebDatabaseManager.cpp:
1187         (WebDatabaseManager::QueryInterface):
1188         (WebDatabaseManager::deleteAllIndexedDatabases):
1189         * WebDatabaseManager.h:
1190
1191 2016-06-17  Per Arne Vollan  <pvollan@apple.com>
1192
1193         [Win] Rendering is not scaled correctly if process is DPI aware.
1194         https://bugs.webkit.org/show_bug.cgi?id=158781
1195
1196         Reviewed by Brent Fulgham.
1197
1198         Scale the root graphics layer with the device scale factor.
1199
1200         * WebView.cpp:
1201         (WebView::setAcceleratedCompositing):
1202
1203 2016-06-15  Chris Dumez  <cdumez@apple.com>
1204
1205         Drop some unnecessary header includes
1206         https://bugs.webkit.org/show_bug.cgi?id=158788
1207
1208         Reviewed by Alexey Proskuryakov.
1209
1210         Drop some unnecessary header includes in headers to speed up build time.
1211
1212         * Plugins/PluginView.cpp:
1213
1214 2016-06-15  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1215
1216         Enabling Shadow DOM for all platforms
1217         https://bugs.webkit.org/show_bug.cgi?id=158738
1218
1219         Reviewed by Ryosuke Niwa.
1220
1221         Removed Shadow DOM from options (enabled by default)
1222         (comprises removal of corresponding preprocessor directives)
1223
1224         * WebView.cpp:
1225
1226 2016-06-13  Alex Christensen  <achristensen@webkit.org>
1227
1228         Add WebSocketProvider stub
1229         https://bugs.webkit.org/show_bug.cgi?id=158702
1230
1231         Reviewed by Brady Eidson.
1232
1233         * WebSocketProvider.h: Added.
1234         * WebView.cpp:
1235         (WebView::initWithFrame):
1236
1237 2016-06-10  Alex Christensen  <achristensen@webkit.org>
1238
1239         Introduce WTF::UniqueRef
1240         https://bugs.webkit.org/show_bug.cgi?id=158596
1241
1242         Reviewed by Brady Eidson.
1243
1244         * WebView.cpp:
1245         (WebView::initWithFrame):
1246
1247 2016-06-09  Alex Christensen  <achristensen@webkit.org>
1248
1249         Fix Windows build.
1250
1251         * WebKit.resources/resource.h: Removed.
1252         * resource.h: Copied from WebKit.resources/resource.h.
1253
1254 2016-06-09  Alex Christensen  <achristensen@webkit.org>
1255
1256         Actually fix Windows build after r201894
1257         https://bugs.webkit.org/show_bug.cgi?id=158588
1258
1259         * WebView.cpp:
1260         (WebView::initWithFrame):
1261
1262 2016-06-09  Alex Christensen  <achristensen@webkit.org>
1263
1264         Clean up WebKit.vcxproj directory after switching to CMake.
1265
1266         * WebKit.resources/resource.h: Copied from WebKit.vcxproj/WebKit/resource.h.
1267
1268 2016-06-09  Alex Christensen  <achristensen@webkit.org>
1269
1270         Unreviewed build fix after r201894
1271         https://bugs.webkit.org/show_bug.cgi?id=158588
1272
1273         * WebCoreSupport/WebEditorClient.cpp:
1274         (WebEditorClient::~WebEditorClient):
1275         (WebEditorClient::isContinuousSpellCheckingEnabled):
1276         (WebEditorClient::pageDestroyed): Deleted.
1277         * WebCoreSupport/WebEditorClient.h:
1278         * WebView.cpp:
1279         (WebView::initWithFrame):
1280
1281 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
1282
1283         [Win] Shadow DOM tests are failing.
1284         https://bugs.webkit.org/show_bug.cgi?id=158524
1285
1286         Reviewed by Brent Fulgham.
1287
1288         Add preference for enabling Shadow DOM.
1289
1290         * Interfaces/IWebPreferencesPrivate.idl:
1291         * WebPreferenceKeysPrivate.h:
1292         * WebPreferences.cpp:
1293         (WebPreferences::initializeDefaultSettings):
1294         (WebPreferences::shadowDOMEnabled):
1295         (WebPreferences::setShadowDOMEnabled):
1296         * WebPreferences.h:
1297         * WebView.cpp:
1298         (WebView::notifyPreferencesChanged):
1299
1300 2016-06-07  Per Arne Vollan  <pvollan@apple.com>
1301
1302         [Win][IndexedDB] Crash when running worker test.
1303         https://bugs.webkit.org/show_bug.cgi?id=158434
1304
1305         Reviewed by Alex Christensen.
1306
1307         Initialize main runloop, otherwise RunLoop::main() will return nullptr.
1308
1309         * WebView.cpp:
1310         (WebView::WebView):
1311
1312 2016-06-03  Chris Dumez  <cdumez@apple.com>
1313
1314         Unreviewed, roll out r196633 as it broke PageCache on iOS for WebKit.org
1315         <rdar://problem/26521101>
1316
1317         * WebCoreSupport/WebVisitedLinkStore.cpp:
1318         (WebVisitedLinkStore::removeAllVisitedLinks):
1319         (WebVisitedLinkStore::addVisitedLinkHash):
1320
1321 2016-06-03  Per Arne Vollan  <pvollan@apple.com>
1322
1323         [Win] Implement WebView::removeAllUserContentFromGroup
1324         https://bugs.webkit.org/show_bug.cgi?id=158343
1325
1326         Reviewed by Brent Fulgham.
1327
1328         * WebView.cpp:
1329         (WebView::removeAllUserContentFromGroup):
1330
1331 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
1332
1333         [Win] Fetch API tests are failing.
1334         https://bugs.webkit.org/show_bug.cgi?id=158296
1335
1336         Reviewed by Alex Christensen.
1337
1338         Add preference for enabling Fetch API.
1339
1340         * Interfaces/IWebPreferencesPrivate.idl:
1341         * WebPreferenceKeysPrivate.h:
1342         * WebPreferences.cpp:
1343         (WebPreferences::initializeDefaultSettings):
1344         (WebPreferences::fetchAPIEnabled):
1345         (WebPreferences::setFetchAPIEnabled):
1346         * WebPreferences.h:
1347         * WebView.cpp:
1348         (WebView::notifyPreferencesChanged):
1349
1350 2016-06-02  Youenn Fablet  <youenn.fablet@crf.canon.fr>
1351
1352         Use more references in ResourceLoader related code
1353         https://bugs.webkit.org/show_bug.cgi?id=158222
1354
1355         Reviewed by Darin Adler.
1356
1357         * Plugins/PluginStream.cpp:
1358         (WebCore::PluginStream::start):
1359
1360 2016-06-01  Per Arne Vollan  <pvollan@apple.com>
1361
1362         [Win] Potential null pointer crash when setting cursor.
1363         https://bugs.webkit.org/show_bug.cgi?id=158225
1364
1365         Reviewed by Alex Christensen.
1366
1367         Check return value of Cursor::platformCursor().
1368
1369         * WebCoreSupport/WebChromeClient.cpp:
1370         (WebChromeClient::setCursor):
1371
1372 2016-05-31  Yusuke Suzuki  <utatane.tea@gmail.com>
1373
1374         Unreviewed, roll out r201481, r201523: 0.3% regression in Octane code-load
1375         https://bugs.webkit.org/show_bug.cgi?id=158249
1376
1377         * Interfaces/IWebPreferencesPrivate.idl:
1378
1379 2016-05-27  Caitlin Potter  <caitp@igalia.com>
1380
1381         [JSC] implement async functions proposal
1382         https://bugs.webkit.org/show_bug.cgi?id=156147
1383
1384         Reviewed by Yusuke Suzuki.
1385
1386         * Interfaces/IWebPreferencesPrivate.idl:
1387
1388 2016-05-23  Chris Dumez  <cdumez@apple.com>
1389
1390         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
1391         https://bugs.webkit.org/show_bug.cgi?id=157882
1392
1393         Reviewed by Darin Adler.
1394
1395         Generate bindings code for EventTarget.addEventListener() / removeEventListener()
1396         instead of hardcoding them in the bindings generator.
1397
1398         * DOMEventsClasses.cpp:
1399         (WebEventListener::operator==):
1400         * DOMEventsClasses.h:
1401
1402 2016-05-20  Joseph Pecoraro  <pecoraro@apple.com>
1403
1404         Remove LegacyProfiler
1405         https://bugs.webkit.org/show_bug.cgi?id=153565
1406
1407         Reviewed by Saam Barati.
1408
1409         * Interfaces/IWebInspector.idl:
1410         * WebCoreStatistics.cpp:
1411         * WebInspector.cpp:
1412         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
1413         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
1414         * WebInspector.h:
1415         * WebView.cpp:
1416
1417 2016-05-16  Joseph Pecoraro  <pecoraro@apple.com>
1418
1419         Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail.
1420
1421         * Interfaces/IWebInspector.idl:
1422         * WebCoreStatistics.cpp:
1423         * WebInspector.cpp:
1424         (WebInspector::isJavaScriptProfilingEnabled):
1425         (WebInspector::setJavaScriptProfilingEnabled):
1426         * WebInspector.h:
1427         * WebView.cpp:
1428
1429 2016-05-14  Joseph Pecoraro  <pecoraro@apple.com>
1430
1431         Remove LegacyProfiler
1432         https://bugs.webkit.org/show_bug.cgi?id=153565
1433
1434         Reviewed by Mark Lam.
1435
1436         * Interfaces/IWebInspector.idl:
1437         * WebView.cpp:
1438         * WebInspector.cpp:
1439         (WebInspector::isJavaScriptProfilingEnabled): Deleted.
1440         (WebInspector::setJavaScriptProfilingEnabled): Deleted.
1441         * WebInspector.h:
1442
1443 2016-05-12  Konstantin Tokarev  <annulen@yandex.ru>
1444
1445         Use reference instead of pointer in FrameLoaderClient::saveViewStateToItem.
1446         https://bugs.webkit.org/show_bug.cgi?id=157624
1447
1448         Reviewed by Darin Adler.
1449
1450         * WebCoreSupport/WebFrameLoaderClient.cpp:
1451         (WebFrameLoaderClient::saveViewStateToItem):
1452         * WebCoreSupport/WebFrameLoaderClient.h:
1453
1454 2016-05-11  Chris Dumez  <cdumez@apple.com>
1455
1456         Update Node::appendChild() / replaceChild() / removeChild() / insertBefore() to take references instead of pointers
1457         https://bugs.webkit.org/show_bug.cgi?id=157556
1458
1459         Reviewed by Darin Adler.
1460
1461         * DOMCoreClasses.cpp:
1462         (DOMNode::insertBefore):
1463         (DOMNode::removeChild):
1464
1465 2016-05-11  Joanmarie Diggs  <jdiggs@igalia.com>
1466
1467         [GTK] accessibility/aria-readonly.html is failing
1468         https://bugs.webkit.org/show_bug.cgi?id=98357
1469
1470         Reviewed by Chris Fleizach.
1471
1472         Call AccessibilityNode::canSetValueAttribute() to determine if STATE_SYSTEM_READONLY
1473         should be added and if editable text should be supported.
1474
1475         * AccessibleBase.cpp:
1476         (AccessibleBase::state):
1477         * AccessibleTextImpl.cpp:
1478         (AccessibleText::deleteText):
1479         (AccessibleText::insertText):
1480         (AccessibleText::cutText):
1481         (AccessibleText::pasteText):
1482         (AccessibleText::replaceText):
1483
1484 2016-05-09  Fujii Hironori  <Hironori.Fujii@sony.com>
1485
1486         [wincairo] web inspector failed to launch in MiniBrowser
1487         https://bugs.webkit.org/show_bug.cgi?id=156184
1488         <rdar://problem/25539297>
1489
1490         Reviewed by Alex Christensen.
1491
1492         * WebCoreSupport/WebInspectorClient.cpp:
1493         (WebInspectorClient::openLocalFrontend): Enable
1494         AllowFileAccessFromFileURLs and AllowUniversalAccessFromFileURLs
1495         of WebPreferences for Web Inspector.
1496
1497 2016-05-06  Joseph Pecoraro  <pecoraro@apple.com>
1498
1499         Rename HitTestRequest DisallowShadowContent to DisallowUserAgentShadowContent
1500         https://bugs.webkit.org/show_bug.cgi?id=157447
1501
1502         Reviewed by Ryosuke Niwa.
1503
1504         * WebView.cpp:
1505         (WebView::gestureNotify):
1506
1507 2016-05-04  Joanmarie Diggs  <jdiggs@igalia.com>
1508
1509         AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
1510         https://bugs.webkit.org/show_bug.cgi?id=157331
1511
1512         Reviewed by Chris Fleizach.
1513
1514         As part of this change, the WebCore DocumentRegionRole AccessibilityRole has
1515         been renamed to LandmarkRegionRole. Update MSAARole() to use the new name.
1516
1517         * AccessibleBase.cpp:
1518         (MSAARole):
1519
1520 2016-04-25  Per Arne Vollan  <peavo@outlook.com>
1521
1522         [Win][IndexedDB] Fix build errors.
1523         https://bugs.webkit.org/show_bug.cgi?id=156713
1524
1525         Reviewed by Alex Christensen.
1526
1527         Fix compile and link errors when building with IndexedDB enabled.
1528
1529         * WebView.cpp:
1530         (WebView::notifyPreferencesChanged):
1531         * storage: Added.
1532         * storage/WebDatabaseProvider.cpp: Added.
1533         (WebDatabaseProvider::indexedDatabaseDirectoryPath):
1534
1535 2016-04-22  Brent Fulgham  <bfulgham@apple.com>
1536
1537         Unreviewed build fix after 4199841.
1538
1539         * WebApplicationCache.cpp:
1540         (WebApplicationCache::WebApplicationCache): Provide missing preference key definition.
1541
1542 2016-04-21  Anders Carlsson  <andersca@apple.com>
1543
1544         Add a missing space, as noticed by Darin.
1545
1546         * WebApplicationCache.cpp:
1547         (applicationCachePath):
1548
1549 2016-04-21  Anders Carlsson  <andersca@apple.com>
1550
1551         Stop using ApplicationCacheStorage::singleton() on Windows
1552         https://bugs.webkit.org/show_bug.cgi?id=156861
1553
1554         Reviewed by Darin Adler.
1555
1556         * WebApplicationCache.cpp:
1557         (applicationCachePath):
1558         (WebApplicationCache::storage):
1559         * WebApplicationCache.h:
1560         * WebCache.cpp:
1561         (WebCache::empty):
1562         * WebView.cpp:
1563         (WebView::initWithFrame):
1564         (WebKitSetApplicationCachePathIfNecessary): Deleted.
1565
1566 2016-04-15  Brent Fulgham  <bfulgham@apple.com>
1567
1568         CSP: Make dynamically-added favicons (via link rel="icon") obey Content-Security-Policy
1569         https://bugs.webkit.org/show_bug.cgi?id=153151
1570         <rdar://problem/24383176>
1571
1572         Reviewed by Darin Adler.
1573
1574         Remove the unused dynamic favicon code and tests.
1575
1576         * WebCoreSupport/WebFrameLoaderClient.cpp:
1577         (WebFrameLoaderClient::dispatchDidChangeIcons): Deleted.
1578         * WebCoreSupport/WebFrameLoaderClient.h:
1579
1580 2016-04-15  Darin Adler  <darin@apple.com>
1581
1582         Reduce use of Deprecated::ScriptXXX classes
1583         https://bugs.webkit.org/show_bug.cgi?id=156632
1584
1585         Reviewed by Alex Christensen.
1586
1587         * Plugins/PluginView.cpp:
1588         (WebCore::PluginView::performRequest): Use JSValue.
1589         * WebFrame.cpp:
1590         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): Ditto.
1591         * WebView.cpp:
1592         (WebView::stringByEvaluatingJavaScriptFromString): Ditto.
1593
1594 2016-04-11  Darin Adler  <darin@apple.com>
1595
1596         Remove UsePointersEvenForNonNullableObjectArguments from HTMLSelectElement
1597         https://bugs.webkit.org/show_bug.cgi?id=156458
1598
1599         Reviewed by Chris Dumez.
1600
1601         * DOMCoreClasses.cpp: Added now-needed include.
1602
1603 2016-04-11  Gavin Barraclough  <barraclough@apple.com>
1604
1605         WebKit should adopt journal_mode=wal for all SQLite databases.
1606         https://bugs.webkit.org/show_bug.cgi?id=133496
1607
1608         Reviewed by Darin Adler.
1609
1610         * WebDatabaseManager.cpp:
1611         (WebDatabaseManager::deleteAllDatabases):
1612             - renamed deleteAllDatabases -> deleteAllDatabasesImmediately.
1613
1614 2016-04-08  Joanmarie Diggs  <jdiggs@igalia.com>
1615
1616         AX: "AXLandmarkApplication" is an inappropriate subrole for ARIA "application" since it's no longer a landmark
1617         https://bugs.webkit.org/show_bug.cgi?id=155403
1618
1619         Reviewed by Chris Fleizach.
1620
1621         The new subrole is AXWebApplication and the new role description is "web application".
1622         As part of the fix, the WebCore AccessibilityRole for ARIA's "application" role was
1623         renamed from LandmarkApplicationRole to WebApplicationRole.
1624
1625         The roles-exposed.html and aria-grouping-roles.html test expectations were also updated.
1626
1627         * AccessibleBase.cpp: Update the rolename
1628         (MSAARole):
1629
1630 2016-04-07  Brian Burg  <bburg@apple.com>
1631
1632         CookieJar should support adding synthetic cookies for developer tools
1633         https://bugs.webkit.org/show_bug.cgi?id=156091
1634         <rdar://problem/25581340>
1635
1636         Reviewed by Timothy Hatcher.
1637
1638         * WebCoreSupport/WebPlatformStrategies.h:
1639         * WebCoreSupport/WebPlatformStrategies.cpp:
1640         Add new method override.
1641
1642 2016-03-24  Said Abou-Hallawa  <sabouhallawa@apple,com>
1643
1644         Change NativeImagePtr for CG to be RetainPtr<CGImageRef>
1645         https://bugs.webkit.org/show_bug.cgi?id=155412
1646
1647         Reviewed by Darin Adler.
1648
1649         * Plugins/PluginView.h:
1650         * Plugins/PluginViewWin.cpp:
1651         (WebCore::PluginView::snapshot):
1652         Replace PassRefPtr with RefPtr.
1653
1654 2016-03-22  Per Arne Vollan  <peavo@outlook.com>
1655
1656         [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
1657         https://bugs.webkit.org/show_bug.cgi?id=141499
1658
1659         Reviewed by Brent Fulgham.
1660
1661         As we have moved on to VS2015, this workaround is no longer needed.
1662
1663         * WebKitDLL.cpp:
1664         (DllMain):
1665
1666 2016-03-21  Hyungwook Lee  <hyungwook.lee@navercorp.com> 
1667
1668         [Win] Connect layoutTestController.findString() to support testing 
1669         https://bugs.webkit.org/show_bug.cgi?id=50234
1670
1671         Reviewed by Alex Christensen.
1672
1673         Implement WebView::findString to support testing efforts.
1674
1675         * Interfaces/IWebViewPrivate.idl: Add API declaration.
1676         * WebView.cpp:
1677         * WebView.h:
1678
1679 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
1680
1681         Unreviewed, rolling out r196951 and r197031.
1682
1683         Revert also WinCairo follow ups after r196803
1684
1685         Reverted changesets:
1686
1687         "[WinCairo] Compile fix."
1688         https://bugs.webkit.org/show_bug.cgi?id=154545
1689         http://trac.webkit.org/changeset/196951
1690
1691         "[WinCairo] Mark layer as non composited."
1692         https://bugs.webkit.org/show_bug.cgi?id=154640
1693         http://trac.webkit.org/changeset/197031
1694
1695 2016-03-16  Carlos Garcia Campos  <cgarcia@igalia.com>
1696
1697         Unreviewed, rolling out r197693.
1698
1699         197031
1700
1701         Reverted changeset:
1702
1703         "[WinCairo][AcceleratedCompositing] Rendering issues on
1704         www.bbc.com."
1705         https://bugs.webkit.org/show_bug.cgi?id=154912
1706         http://trac.webkit.org/changeset/197693
1707
1708 2016-03-15  Brent Fulgham  <bfulgham@apple.com>
1709
1710         [Win] Correct double-release of CFURLConnectionRef
1711         https://bugs.webkit.org/show_bug.cgi?id=155515
1712         <rdar://problem/25159143>
1713
1714         Reviewed by Tim Horton.
1715
1716         Tested by http/tests/download suite.
1717
1718         * WebDownloadCFNet.cpp: Remove extra CFRelease.
1719
1720 2016-03-14  Per Arne Vollan  <peavo@outlook.com>
1721
1722         [WinCairo] Compile fix.
1723         https://bugs.webkit.org/show_bug.cgi?id=155463
1724
1725         Reviewed by Alex Christensen.
1726
1727         Get the NetworkStorageSession object from the document in the same way as other platforms do.
1728
1729         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1730         (WebFrameNetworkingContext::storageSession):
1731         * WebCoreSupport/WebFrameNetworkingContext.h:
1732         (WebFrameNetworkingContext::storageSession):
1733
1734 2016-03-14  Joonghun Park  <jh718.park@samsung.com>
1735
1736         Purge PassRefPtr from ArrayBuffer, ArchiveResource, Pasteboard, LegacyWebArchive and DataObjectGtk
1737         https://bugs.webkit.org/show_bug.cgi?id=150497
1738
1739         Reviewed by Darin Adler.
1740
1741         * WebArchive.cpp:
1742         (WebArchive::initWithNode):
1743
1744 2016-03-12  Sam Weinig  <sam@webkit.org>
1745
1746         WebKit can easily crash below NetworkSession::dataTaskForIdentifier() with NSURLSession enabled
1747         <rdar://problem/25129946>
1748         https://bugs.webkit.org/show_bug.cgi?id=155401
1749
1750         Reviewed by Alex Christensen.
1751
1752         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1753         (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
1754         Pass a SessionID to NetworkStorageSession::createPrivateBrowsingSession().
1755
1756 2016-03-10  Jer Noble  <jer.noble@apple.com>
1757
1758         Unreviewed build fix after r197953; correct the settings added in r197953.
1759
1760         * WebView.cpp:
1761         (WebView::notifyPreferencesChanged):
1762
1763 2016-03-10  Jer Noble  <jer.noble@apple.com>
1764
1765         Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
1766         https://bugs.webkit.org/show_bug.cgi?id=155141
1767
1768         Reviewed by Beth Dakin.
1769
1770         * WebView.cpp:
1771         (WebView::notifyPreferencesChanged):
1772
1773 2016-03-07  Per Arne Vollan  <peavo@outlook.com>
1774
1775         [WinCairo][AcceleratedCompositing] Rendering issues on www.bbc.com.
1776         https://bugs.webkit.org/show_bug.cgi?id=154912
1777
1778         Reviewed by Michael Catanzaro.
1779
1780         If we have a scroll layer, we should not include the scroll position in the visible rectangle,
1781         since the scroll position is already reflected in the position of the scroll layer.
1782
1783         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1784         (AcceleratedCompositingContext::flushPendingLayerChanges):
1785
1786 2016-03-06  Gavin Barraclough  <barraclough@apple.com>
1787
1788         Convert DOMTimer to std::chrono::milliseconds
1789         https://bugs.webkit.org/show_bug.cgi?id=155085
1790
1791         Reviewed by Andreas Kling.
1792
1793         DOMTimer currently uses a mix of millisecond (was int, now std::chrono) and second (as double)
1794         time values. Constant conversion back and forth is a complete mess. Stop that.
1795
1796         * WebView.cpp:
1797         (WebView::setMinimumTimerInterval):
1798             - Convert double argument into std::chrono::milliseconds.
1799
1800 2016-03-05  Yusuke Suzuki  <utatane.tea@gmail.com>
1801
1802         [ES6] Support Reflect.construct
1803         https://bugs.webkit.org/show_bug.cgi?id=147330
1804
1805         Reviewed by Saam Barati.
1806
1807         * Plugins/PluginPackage.cpp:
1808         (WebCore::NPN_Invoke):
1809
1810 2016-02-24  Per Arne Vollan  <peavo@outlook.com>
1811
1812         [WinCairo] Mark layer as non composited.
1813         https://bugs.webkit.org/show_bug.cgi?id=154640
1814
1815         Reviewed by Alex Christensen.
1816
1817         We need to mark the non composited layer as being non composited.
1818
1819         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1820         (AcceleratedCompositingContext::initialize):
1821         (AcceleratedCompositingContext::flushPendingLayerChanges):
1822
1823 2016-02-22  Per Arne Vollan  <peavo@outlook.com>
1824
1825         [WinCairo] Compile fix.
1826         https://bugs.webkit.org/show_bug.cgi?id=154545
1827
1828         Reviewed by Alex Christensen.
1829
1830         Add missing parameter to GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
1831
1832         * WebCoreSupport/AcceleratedCompositingContext.cpp:
1833         (AcceleratedCompositingContext::flushPendingLayerChanges):
1834
1835 2016-02-21  Darin Adler  <darin@apple.com>
1836
1837         Refactor LazyEventListener creation to separate Element and Document cases
1838         https://bugs.webkit.org/show_bug.cgi?id=154231
1839
1840         Reviewed by Andreas Kling.
1841
1842         * WebView.h: Forward declare KeyboardEvent.
1843
1844 2016-02-16  Andreas Kling  <akling@apple.com>
1845
1846         Drop StyleResolver and SelectorQueryCache when entering PageCache.
1847         <https://webkit.org/b/154238>
1848
1849         Reviewed by Antti Koivisto.
1850
1851         * WebCoreSupport/WebVisitedLinkStore.cpp:
1852         (WebVisitedLinkStore::removeAllVisitedLinks): Deleted.
1853         (WebVisitedLinkStore::addVisitedLinkHash): Deleted.
1854
1855 2016-02-14  Chris Dumez  <cdumez@apple.com>
1856
1857         Unreviewed Window build fix.
1858
1859         * WebCoreStatistics.cpp:
1860         * WebJavaScriptCollector.cpp:
1861
1862 2016-02-12  Jiewen Tan  <jiewen_tan@apple.com>
1863
1864         WebKit should expose the DOM 4 Event.isTrusted property
1865         https://bugs.webkit.org/show_bug.cgi?id=76121
1866         <rdar://problem/22558494>
1867
1868         Reviewed by Darin Adler.
1869
1870         * DOMCoreClasses.cpp:
1871         (DOMNode::dispatchEvent):
1872         (DOMWindow::dispatchEvent):
1873
1874 2016-02-11  Antti Koivisto  <antti@apple.com>
1875
1876         Try to fix windows build.
1877
1878         * DOMCoreClasses.cpp:
1879         (DOMElement::style):
1880         (DOMElement::offsetLeft):
1881
1882 2016-02-06  Darin Adler  <darin@apple.com>
1883
1884         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
1885         https://bugs.webkit.org/show_bug.cgi?id=153905
1886
1887         Reviewed by Sam Weinig.
1888
1889         * Plugins/PluginDatabase.cpp:
1890         (WebCore::PluginDatabase::pluginForMIMEType): Use ASCII case-insensitive map rather
1891         than lowercasing the MIME type.
1892         (WebCore::PluginDatabase::setPreferredPluginForMIMEType): Ditto.
1893
1894         * Plugins/PluginDatabase.h: Make m_preferredPlugins use an ASCII case-insensitive hash.
1895
1896         * Plugins/PluginPackage.h: Use ASCII case-insensitive hash for maps keyed by MIME type.
1897
1898         * Plugins/PluginPackageWin.cpp:
1899         (WebCore::PluginPackage::fetchInfo): Use convertToASCIILowercase to lowercase a MIME type.
1900
1901 2016-02-04  Joseph Pecoraro  <pecoraro@apple.com>
1902
1903         Web Inspector: InspectorTimelineAgent doesn't need to recompile functions because it now uses the sampling profiler
1904         https://bugs.webkit.org/show_bug.cgi?id=153500
1905         <rdar://problem/24352458>
1906
1907         Reviewed by Timothy Hatcher.
1908
1909         * WebInspector.cpp:
1910         (WebInspector::isJavaScriptProfilingEnabled):
1911         (WebInspector::setJavaScriptProfilingEnabled):
1912         Switch to the new API names.
1913
1914 2016-01-31  Darin Adler  <darin@apple.com>
1915
1916         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1917         https://bugs.webkit.org/show_bug.cgi?id=153639
1918
1919         Reviewed by Filip Pizlo.
1920
1921         * WebCoreStatistics.cpp:
1922         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
1923         These names are all ASCII.
1924
1925         * WebURLResponse.cpp:
1926         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
1927         field names. These names are all ASCII.
1928
1929 2016-01-30  Commit Queue  <commit-queue@webkit.org>
1930
1931         Unreviewed, rolling out r195911.
1932         https://bugs.webkit.org/show_bug.cgi?id=153723
1933
1934         Caused frequent assertion failures on bots (Requested by ap on
1935         #webkit).
1936
1937         Reverted changeset:
1938
1939         "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
1940         https://bugs.webkit.org/show_bug.cgi?id=153639
1941         http://trac.webkit.org/changeset/195911
1942
1943 2016-01-30  Commit Queue  <commit-queue@webkit.org>
1944
1945         Unreviewed, rolling out r195799 and r195828.
1946         https://bugs.webkit.org/show_bug.cgi?id=153722
1947
1948         Caused assertion failures, severely affecting EWS (Requested
1949         by ap on #webkit).
1950
1951         Reverted changesets:
1952
1953         "Web Inspector: InspectorTimelineAgent doesn't need to
1954         recompile functions because it now uses the sampling profiler"
1955         https://bugs.webkit.org/show_bug.cgi?id=153500
1956         http://trac.webkit.org/changeset/195799
1957
1958         "Attempt to fix the Windows build after r195799"
1959         http://trac.webkit.org/changeset/195828
1960
1961 2016-01-30  Darin Adler  <darin@apple.com>
1962
1963         Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1964         https://bugs.webkit.org/show_bug.cgi?id=153639
1965
1966         Reviewed by Filip Pizlo.
1967
1968         * WebCoreStatistics.cpp:
1969         (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
1970         These names are all ASCII.
1971
1972         * WebURLResponse.cpp:
1973         (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
1974         field names. These names are all ASCII.
1975
1976 2016-01-29  Ryan Haddad  <ryanhaddad@apple.com>
1977
1978         Attempt to fix the Windows build after r195799
1979
1980         Unreviewed build fix.
1981
1982         * WebInspector.cpp:
1983         (WebInspector::isJavaScriptProfilingEnabled):
1984         (WebInspector::setJavaScriptProfilingEnabled):
1985
1986 2016-01-28  Darin Adler  <darin@apple.com>
1987
1988         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
1989         https://bugs.webkit.org/show_bug.cgi?id=153411
1990
1991         Reviewed by Ryosuke Niwa.
1992
1993         * Plugins/PluginDatabase.cpp:
1994         (WebCore::PluginDatabase::MIMETypeForExtension): Use equalIgnoringASCIICase to compare
1995         file extensions.
1996         * Plugins/PluginDatabaseWin.cpp:
1997         (WebCore::PluginDatabase::getPluginPathsInDirectories): Use equalLettersIgnoringASCIICase
1998         to compare filenames.
1999         * Plugins/PluginPackageWin.cpp:
2000         (WebCore::PluginPackage::isPluginBlacklisted): Use equalLettersIgnoringASCIICase to
2001         compare DLL filenames.
2002         * Plugins/PluginStream.cpp:
2003         (WebCore::PluginStream::destroyStream): Use equalLettersIgnoringASCIICase to check HTTP method.
2004         * Plugins/PluginView.cpp:
2005         (WebCore::PluginView::setParameters): Use equalLettersIgnoringASCIICase to check
2006         plug-in parameter name.
2007         * WebView.cpp:
2008         (WebView::canHandleRequest): Use URL::protocolIs instead of equalIgnoringCase.
2009
2010 2016-01-22  Ryosuke Niwa  <rniwa@webkit.org>
2011
2012         document.createElement should be able to create a custom element
2013         https://bugs.webkit.org/show_bug.cgi?id=153173
2014
2015         Reviewed by Darin Adler.
2016
2017         Use createElementForBindings here since this is a C++ binding for Windows.
2018
2019         * DOMCoreClasses.cpp:
2020         (DOMDocument::createElement):
2021
2022 2016-01-24  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2023
2024         Reduce PassRefPtr uses in dom - 4
2025         https://bugs.webkit.org/show_bug.cgi?id=153270
2026
2027         Reviewed by Darin Adler.
2028
2029         As a step to remove PassRefPtr uses, this patch reduces the uses in WebCore/dom.
2030
2031         * Plugins/PluginView.cpp:
2032         (WebCore::PluginView::focusPluginElement):
2033
2034 2016-01-17  Ada Chan  <adachan@apple.com>
2035
2036         Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
2037         https://bugs.webkit.org/show_bug.cgi?id=153220
2038
2039         Reviewed by Eric Carlson.
2040
2041         * WebCoreSupport/WebChromeClient.cpp:
2042         (WebChromeClient::supportsVideoFullscreen):
2043         * WebCoreSupport/WebChromeClient.h:
2044
2045 2016-01-22  Youenn Fablet  <youenn.fablet@crf.canon.fr>
2046
2047         Remove PassRefPtr from ResourceRequest and FormData
2048         https://bugs.webkit.org/show_bug.cgi?id=153229
2049
2050         Reviewed by Chris Dumez.
2051
2052         * WebMutableURLRequest.cpp:
2053         (WebMutableURLRequest::setHTTPBody):
2054
2055 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
2056
2057         Remove GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon()
2058         https://bugs.webkit.org/show_bug.cgi?id=153174
2059
2060         Reviewed by Zalan Bujtas.
2061
2062         GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon() were
2063         poorly named (non-convex polygons are allowed), and just syntactic sugar over
2064         clipPath() and drawPath().
2065         
2066         Remove them, but add a convenience function to create a Path from a Vector of 
2067         points. For CG, we can use the more efficient CGPathAddLines().
2068
2069         * FullscreenVideoController.cpp:
2070         (HUDSlider::draw):
2071
2072 2016-01-05  Per Arne Vollan  <peavo@outlook.com>
2073
2074         [WinCairo] Download should use header values from provided request object.
2075         https://bugs.webkit.org/show_bug.cgi?id=152694
2076
2077         Reviewed by Alex Christensen.
2078
2079         Copy header values from request object parameter.
2080
2081         * WebDownloadCurl.cpp:
2082         (WebDownload::initWithRequest):
2083
2084 2015-12-31  Andy Estes  <aestes@apple.com>
2085
2086         Replace WTF::move with WTFMove
2087         https://bugs.webkit.org/show_bug.cgi?id=152601
2088
2089         Reviewed by Brady Eidson.
2090
2091         * Plugins/PluginStream.cpp:
2092         (WebCore::PluginStream::willSendRequest):
2093         * Plugins/PluginView.cpp:
2094         (WebCore::PluginView::requestTimerFired):
2095         (WebCore::PluginView::scheduleRequest):
2096         (WebCore::PluginView::handlePost):
2097         * WebCoreSupport/WebFrameLoaderClient.cpp:
2098         (WebFrameLoaderClient::createDocumentLoader):
2099         * WebCoreSupport/WebInspectorClient.cpp:
2100         (WebInspectorFrontendClient::WebInspectorFrontendClient):
2101         * WebHistory.cpp:
2102         (createUserInfoFromArray):
2103         * WebHistoryItem.cpp:
2104         (WebHistoryItem::initFromDictionaryRepresentation):
2105         * WebView.cpp:
2106         (WebView::addToDirtyRegion):
2107         (WebView::scrollBackingStore):
2108         (WebView::loadBackForwardListFromOtherView):
2109         (WebView::addUserScriptToGroup):
2110         (WebView::addUserStyleSheetToGroup):
2111
2112 2015-12-29  Simon Fraser  <simon.fraser@apple.com>
2113
2114         Fix Windows build.
2115
2116         * WebView.cpp:
2117         (WebView::scrollOffset):
2118
2119 2015-12-25  David Kilzer  <ddkilzer@apple.com>
2120
2121         ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
2122         <http://webkit.org/b/146391>
2123
2124         Reviewed by Antti Koivisto.
2125
2126         * WebCoreSupport/WebFrameLoaderClient.cpp:
2127         (WebFrameLoaderClient::cancelledError):
2128         (WebFrameLoaderClient::blockedError):
2129         (WebFrameLoaderClient::cannotShowURLError):
2130         (WebFrameLoaderClient::interruptedForPolicyChangeError):
2131         (WebFrameLoaderClient::cannotShowMIMETypeError):
2132         (WebFrameLoaderClient::fileDoesNotExistError):
2133         (WebFrameLoaderClient::pluginWillHandleLoadError):
2134         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2135         (WebFrameLoaderClient::createJavaAppletWidget):
2136         * WebDownloadCFNet.cpp:
2137         (WebDownload::cancelAuthenticationChallenge):
2138         * WebError.cpp:
2139         (WebError::init):
2140         - Update for type change of 'failingURL' argument to
2141           ResourceError().
2142
2143 2015-12-23  Brent Fulgham  <bfulgham@apple.com>
2144
2145         Web Inspector: add support for running protocol-test.js tests on Windows
2146         https://bugs.webkit.org/show_bug.cgi?id=148037
2147         <rdar://problem/22292237>
2148
2149         Reviewed by Simon Fraser.
2150
2151         Provide API for WebKit.dll clients to request its CFBundleRef.
2152         
2153         * WebKitCOMAPI.cpp:
2154         (webKitBundle): Added.
2155         * WebKitCOMAPI.h:
2156
2157 2015-12-20  Dan Bernstein  <mitz@apple.com>
2158
2159         Remove unused setToolbarHeight
2160         https://bugs.webkit.org/show_bug.cgi?id=152466
2161
2162         Reviewed by Darin Adler.
2163
2164         * WebCoreSupport/WebInspectorClient.cpp:
2165         (WebInspectorFrontendClient::setToolbarHeight): Deleted.
2166         * WebCoreSupport/WebInspectorClient.h:
2167
2168 2015-12-15  Zan Dobersek  <zdobersek@igalia.com>
2169
2170         [TexMap] Operate with a reference to the TextureMapper wherever possible
2171         https://bugs.webkit.org/show_bug.cgi?id=152118
2172
2173         Reviewed by Martin Robinson.
2174
2175         * WebCoreSupport/AcceleratedCompositingContext.cpp:
2176         (AcceleratedCompositingContext::compositeLayersToContext): TextureMapper object
2177         is now operated with through a reference.
2178
2179 2015-12-01  Darin Adler  <darin@apple.com>
2180
2181         Fix anomaly where isMouseEvent returns false for wheel events
2182         https://bugs.webkit.org/show_bug.cgi?id=151685
2183
2184         Reviewed by Alexey Proskuryakov.
2185
2186         * DOMEventsClasses.cpp:
2187         (DOMEvent::createInstance): Use eventInterface instead of isMouseEvent to create the appropriate
2188         wrapper class.
2189
2190 2015-11-24  Per Arne Vollan  <peavo@outlook.com>
2191
2192         [Win] Implement methods to get and set inner html.
2193         https://bugs.webkit.org/show_bug.cgi?id=151569
2194
2195         Reviewed by Alex Christensen.
2196
2197         * DOMHTMLClasses.cpp:
2198         (DOMHTMLElement::innerHTML):
2199         (DOMHTMLElement::setInnerHTML):
2200         (DOMHTMLElement::innerText):
2201
2202 == Rolled over to ChangeLog-2015-11-21 ==