1 2016-12-08 Filip Pizlo <fpizlo@apple.com>
3 Enable SharedArrayBuffer, remove the flag
4 https://bugs.webkit.org/show_bug.cgi?id=165614
6 Rubber stamped by Geoffrey Garen.
8 * Interfaces/IWebPreferencesPrivate.idl:
10 2016-11-26 Yusuke Suzuki <utatane.tea@gmail.com>
12 [WTF] Import std::optional reference implementation as WTF::Optional
13 https://bugs.webkit.org/show_bug.cgi?id=164199
15 Reviewed by Saam Barati and Sam Weinig.
17 Use WTF::Optional::value_or.
19 * Plugins/PluginView.cpp:
20 (WebCore::PluginView::performRequest):
21 * WebCoreSupport/WebFrameLoaderClient.cpp:
22 (WebFrameLoaderClient::dispatchDidCommitLoad):
23 * WebCoreSupport/WebFrameLoaderClient.h:
24 * WebSecurityOrigin.cpp:
25 (WebSecurityOrigin::port):
27 2016-11-19 Simon Fraser <simon.fraser@apple.com>
29 [iOS WK2] When zoomed in and panning on pages with fixed bars, parts of the bars are sometimes missing
30 https://bugs.webkit.org/show_bug.cgi?id=164855
32 Reviewed by Sam Weinig.
34 Remove the "inStableState" parameter from flushCompositingState() etc.
36 * WebCoreSupport/AcceleratedCompositingContext.cpp:
37 (AcceleratedCompositingContext::flushPendingLayerChanges):
39 (WebView::flushPendingGraphicsLayerChanges):
41 2016-11-16 Yusuke Suzuki <utatane.tea@gmail.com>
43 [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
44 https://bugs.webkit.org/show_bug.cgi?id=164827
46 Reviewed by Ryosuke Niwa.
48 * Interfaces/IWebPreferencesPrivate.idl:
49 * WebPreferenceKeysPrivate.h:
51 (WebPreferences::setES6ModulesEnabled):
52 (WebPreferences::es6ModulesEnabled):
55 (WebView::notifyPreferencesChanged):
57 2016-11-14 Alex Christensen <achristensen@webkit.org>
59 Move SecurityOrigin::createFromDatabaseIdentifier to SecurityOriginData
60 https://bugs.webkit.org/show_bug.cgi?id=164720
62 Reviewed by Brady Eidson.
64 * WebDatabaseManager.cpp:
65 (DidModifyOriginData::dispatchToMainThread):
66 (DidModifyOriginData::DidModifyOriginData):
67 (WebDatabaseManager::dispatchDidModifyOrigin):
68 (WebDatabaseManager::dispatchDidModifyDatabase):
69 * WebDatabaseManager.h:
70 * WebSecurityOrigin.cpp:
71 (WebSecurityOrigin::usage):
72 (WebSecurityOrigin::quota):
73 (WebSecurityOrigin::setQuota):
75 2016-11-13 Darin Adler <darin@apple.com>
77 Fix exception handling in SQL database code, streamline and update code
78 https://bugs.webkit.org/show_bug.cgi?id=164685
80 Reviewed by Sam Weinig.
82 * WebDatabaseManager.cpp:
83 (WebDatabaseManager::origins): Use DatabaseTracker.
84 (WebDatabaseManager::databasesWithOrigin): Ditto.
85 (WebDatabaseManager::detailsForDatabase): Use reference.
86 (WebDatabaseManager::deleteAllDatabases): Use DatabaseTracker.
87 (WebDatabaseManager::deleteOrigin): Ditto.
88 (WebDatabaseManager::deleteDatabase): Ditto.
89 (WebDatabaseManager::dispatchDidModifyOrigin): Use reference
91 (WebDatabaseManager::setQuota): Ditto.
92 (WebDatabaseManager::dispatchDidModifyDatabase): Ditto.
93 * WebDatabaseManager.h: Updated client functions to take a reference.
95 * WebSecurityOrigin.cpp:
96 (WebSecurityOrigin::usage): Update to use DatabaseTracker.
97 (WebSecurityOrigin::quota): Ditto.
98 (WebSecurityOrigin::setQuota): Ditto.
100 2016-11-11 Eric Carlson <eric.carlson@apple.com>
102 [MediaStream] defer resolution of getUserMedia promise made in a background tab
103 https://bugs.webkit.org/show_bug.cgi?id=164643
104 <rdar://problem/29048317>
106 Unreviewed build fix after r208606.
108 * Plugins/PluginView.cpp:
109 (WebCore::PluginView::mediaCanStart):
110 * Plugins/PluginView.h:
112 2016-11-11 Darin Adler <darin@apple.com>
114 Move Node from ExceptionCode to ExceptionOr
115 https://bugs.webkit.org/show_bug.cgi?id=164515
117 Reviewed by Sam Weinig.
119 * DOMCoreClasses.cpp:
120 (DOMNode::insertBefore): Update exception handling.
121 (DOMNode::removeChild): Ditto.
123 2016-10-14 Carlos Garcia Campos <cgarcia@igalia.com>
125 MemoryPressureHandler shouldn't know how to release WebCore memory
126 https://bugs.webkit.org/show_bug.cgi?id=160497
128 Reviewed by Michael Catanzaro.
130 Set the low memory handler before installing the memory pressure handler.
133 (WebView::initWithFrame):
135 2016-11-09 Alex Christensen <achristensen@webkit.org>
137 Fix Windows build after r208499
138 https://bugs.webkit.org/show_bug.cgi?id=164562
143 2016-11-09 Darin Adler <darin@apple.com>
145 Move Range from ExceptionCode to ExceptionOr
146 https://bugs.webkit.org/show_bug.cgi?id=164457
148 Reviewed by Alex Christensen.
151 (WebView::onIMERequestCharPosition): Updated for new exception handling.
153 2016-11-09 Darin Adler <darin@apple.com>
155 Move EventTarget from ExceptionCode to ExceptionOr
156 https://bugs.webkit.org/show_bug.cgi?id=164465
158 Reviewed by Youenn Fablet.
160 * DOMCoreClasses.cpp:
161 (DOMNode::dispatchEvent): Updated exception handling.
162 (DOMWindow::dispatchEvent): Ditto.
164 2016-11-04 Wenson Hsieh <wenson_hsieh@apple.com>
166 Safari does not emit composition end if blurred for dead key / Japanese IME
167 https://bugs.webkit.org/show_bug.cgi?id=164369
168 <rdar://problem/29050439>
170 Reviewed by Ryosuke Niwa.
172 Add a stub implementation of canceledComposition.
174 * WebCoreSupport/WebEditorClient.cpp:
175 (WebEditorClient::canceledComposition):
176 * WebCoreSupport/WebEditorClient.h:
178 2016-11-04 Per Arne Vollan <pvollan@apple.com>
180 [Win] Page visibility tests are timing out.
181 https://bugs.webkit.org/show_bug.cgi?id=164363
183 Reviewed by Brent Fulgham.
185 Add method to set page visibility.
187 * Interfaces/IWebViewPrivate.idl:
189 (WebView::QueryInterface):
190 (WebView::findString):
191 (WebView::setVisibilityState):
194 2016-11-01 Ryosuke Niwa <rniwa@webkit.org>
196 Remove CUSTOM_ELEMENTS build flag
197 https://bugs.webkit.org/show_bug.cgi?id=164267
199 Reviewed by Antti Koivisto.
201 Removed the build flag.
204 (WebView::notifyPreferencesChanged):
206 2016-10-29 Filip Pizlo <fpizlo@apple.com>
208 JSC should support SharedArrayBuffer
209 https://bugs.webkit.org/show_bug.cgi?id=163986
211 Reviewed by Keith Miller.
213 Support the RuntimeFlag.
215 * Interfaces/IWebPreferencesPrivate.idl:
217 2016-10-31 Joseph Pecoraro <pecoraro@apple.com>
219 Use #pragma once in WebCore
220 https://bugs.webkit.org/show_bug.cgi?id=164194
222 Rubber-stamped by Sam Weinig.
224 * WebCoreSupport/WebContextMenuClient.cpp:
225 (WebContextMenuClient::isSpeaking):
226 (WebContextMenuClient::shareMenuItem): Deleted.
227 * WebCoreSupport/WebContextMenuClient.h:
228 Remove this dead code since r192333.
230 2016-10-31 Darin Adler <darin@apple.com>
232 Convert Document from ExceptionCode to Exception
233 https://bugs.webkit.org/show_bug.cgi?id=164212
235 Reviewed by Alex Christensen.
237 * DOMCoreClasses.cpp:
238 (DOMDocument::createElement): Updated exception handling.
239 (DOMDocument::createEvent): Ditto.
241 2016-10-30 Darin Adler <darin@apple.com>
243 Move Element, NamedNodeMap, and DOMStringMap from ExceptionCode to Exception
244 https://bugs.webkit.org/show_bug.cgi?id=164206
246 Reviewed by Chris Dumez.
248 * DOMCoreClasses.cpp:
249 (DOMElement::setAttribute): Updated exception handling.
250 * DOMHTMLClasses.cpp:
251 (DOMHTMLElement::setInnerHTML): Ditto.
253 2016-10-30 Brent Fulgham <bfulgham@apple.com>
255 Unreviewed build fix (Direct2D)
258 (WebView::paintWithDirect2D): Update for revised GraphicsContext
259 begin/end draw behavior.
261 2016-10-28 Darin Adler <darin@apple.com>
263 Move all classes in the HTML directory from ExceptionCode to Exception
264 https://bugs.webkit.org/show_bug.cgi?id=163876
266 Reviewed by Sam Weinig.
268 * DOMHTMLClasses.cpp:
269 (DOMHTMLElement::setInnerText): Update exception handling.
270 * FullscreenVideoController.cpp:
271 (FullscreenVideoController::setVolume): Ditto.
273 2016-10-27 Brent Fulgham <bfulgham@apple.com>
275 Unreviewed build fix.
278 (WebView::paintWithDirect2D): Correct merge error.
280 2016-10-25 Brent Fulgham <bfulgham@apple.com>
282 [Win][Direct2D] Create a RAII Helper Class for the Render Target
283 https://bugs.webkit.org/show_bug.cgi?id=164005
285 Reviewed by Alex Christensen.
288 (WebView::sizeChanged): Construct RenderTarget with higher-resolution display timer.
289 (WebView::paintWithDirect2D): Revise to use new RenderTargetHelper class.
291 2016-10-27 Wenson Hsieh <wenson_hsieh@apple.com>
293 Support "insertFromDrop" and "deleteByDrag" for the InputEvent spec
294 https://bugs.webkit.org/show_bug.cgi?id=163948
295 <rdar://problem/28921433>
297 Reviewed by Darin Adler.
299 Add support for new drag and drop-related EditAction enum values.
301 * WebCoreSupport/WebEditorClient.cpp:
302 (undoNameForEditAction):
304 2016-10-26 Brian Burg <bburg@apple.com>
306 Web Inspector: remove unused bool return value from FrontendChannel::sendMessageToFrontend
307 https://bugs.webkit.org/show_bug.cgi?id=164046
309 Reviewed by Joseph Pecoraro.
311 * WebCoreSupport/WebInspectorClient.h:
313 2016-10-19 Alex Christensen <achristensen@webkit.org>
316 https://bugs.webkit.org/show_bug.cgi?id=163675
318 Reviewed by Brent Fulgham.
320 * DefaultDownloadDelegate.h:
321 * WebCoreSupport/WebFrameLoaderClient.cpp:
322 (WebFrameLoaderClient::savePlatformDataToCachedFrame):
323 * WebCoreSupport/WebFrameNetworkingContext.cpp:
324 (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
325 * WebCoreSupport/WebFrameNetworkingContext.h:
326 * WebCoreSupport/WebPlatformStrategies.cpp:
329 (WebError::localizedDescription):
330 (WebError::sslPeerCertificate):
332 * WebMutableURLRequest.cpp:
333 (WebMutableURLRequest::mutableCopy):
334 * WebURLAuthenticationChallenge.cpp:
335 (WebURLAuthenticationChallenge::initWithProtectionSpace):
336 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
337 * WebURLResponse.cpp:
338 (WebURLResponse::sslPeerCertificate):
341 (WebView::setCacheModel):
342 (WebView::canHandleRequest):
343 (WebView::notifyPreferencesChanged):
344 (updateSharedSettingsFromPreferencesIfNeeded):
346 2016-10-18 Darin Adler <darin@apple.com>
348 Move many miscellaneous classes from ExceptionCode to Exception
349 https://bugs.webkit.org/show_bug.cgi?id=163645
351 Reviewed by Ryosuke Niwa.
353 * DOMCoreClasses.cpp:
354 (DOMDocument::getComputedStyle): Use ptr instead of get since the return
355 value is now Ref instead of RefPtr.
357 2016-10-18 Anders Carlsson <andersca@apple.com>
359 Try to fix the Windows build.
361 * WebHistoryItem.cpp:
362 (WebHistoryItem::redirectURLs):
364 2016-10-18 Anders Carlsson <andersca@apple.com>
366 Move some history specific HistoryItem code to WebHistoryItem
367 https://bugs.webkit.org/show_bug.cgi?id=163567
369 Reviewed by Tim Horton.
371 Remove these, they aren't used.
373 * WebCoreSupport/WebFrameLoaderClient.cpp:
374 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
376 (WebHistory::visitedURL):
377 * WebHistoryItem.cpp:
378 (WebHistoryItem::initFromDictionaryRepresentation):
379 (WebHistoryItem::dictionaryRepresentation):
381 2016-10-16 Darin Adler <darin@apple.com>
383 Move CSS classes from ExceptionCode to Exception
384 https://bugs.webkit.org/show_bug.cgi?id=163494
386 Reviewed by Sam Weinig.
389 (DOMCSSStyleDeclaration::setCssText): Remove ExceptionCode handling.
390 (DOMCSSStyleDeclaration::setProperty): Ditto.
392 2016-10-12 Anders Carlsson <andersca@apple.com>
394 Copy BackForwardList from WebCore to WebKit/win
395 https://bugs.webkit.org/show_bug.cgi?id=163360
397 Reviewed by Alex Christensen.
399 Use our local BackForwardList class instead of WebCore::BackForwardList.
401 * BackForwardList.cpp: Added.
402 * BackForwardList.h: Added.
403 * WebBackForwardList.h:
405 (WebView::initWithFrame):
406 (WebView::backForwardList):
408 2016-10-13 Anders Carlsson <andersca@apple.com>
410 Get rid of the HistoryItemVector typedef
411 https://bugs.webkit.org/show_bug.cgi?id=163398
413 Reviewed by Beth Dakin.
415 Expand the HistoryitemVector typedef instead to make it more clear what types we are dealing with.
417 * WebBackForwardList.cpp:
418 (WebBackForwardList::backListWithLimit):
419 (WebBackForwardList::forwardListWithLimit):
420 * WebHistoryItem.cpp:
421 (WebHistoryItem::children):
423 2016-10-12 Brent Fulgham <bfulgham@apple.com>
425 [Win] Unreviewed build fix after r207218.
427 The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
428 It should be using USE(CFURLCONNECTION).
430 * WebCache.cpp: Missed one!
432 2016-10-12 Brent Fulgham <bfulgham@apple.com>
434 [Win] Unreviewed build fix after r207218.
436 The CQ-landed patch used the old USE(CFNETWORK) compiler guard.
437 It should be using USE(CFURLCONNECTION).
440 (WebCache::cacheFolder):
441 (WebCache::setCacheFolder):
443 2016-10-12 Per Arne Vollan <pvollan@apple.com>
445 [Win] Parallel DRTs are sharing preferences and cache.
446 https://bugs.webkit.org/show_bug.cgi?id=163013
448 Reviewed by Brent Fulgham.
450 Make it possible for a WebKit client to use separate preferences and cache.
452 * Interfaces/IWebPreferencesPrivate.idl:
453 * WebApplicationCache.cpp:
454 (applicationCachePath):
456 (WebCache::cacheFolder):
457 (WebCache::setCacheFolder):
458 * WebDatabaseManager.cpp:
459 (databasesDirectory):
460 * WebPreferences.cpp:
461 (WebPreferences::applicationId):
462 (WebPreferences::valueForKey):
463 (WebPreferences::setValueForKey):
464 (WebPreferences::save):
465 (WebPreferences::QueryInterface):
466 (WebPreferences::modernMediaControlsEnabled):
467 (WebPreferences::setApplicationId):
470 (WebView::setCacheModel):
472 2016-10-11 Alex Christensen <achristensen@webkit.org>
474 Remove dead networking code
475 https://bugs.webkit.org/show_bug.cgi?id=163263
477 Reviewed by Daniel Bates.
479 * DefaultDownloadDelegate.h:
480 * WebCoreSupport/WebFrameLoaderClient.cpp:
481 (WebFrameLoaderClient::savePlatformDataToCachedFrame):
482 * WebCoreSupport/WebFrameNetworkingContext.cpp:
483 (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
484 * WebCoreSupport/WebFrameNetworkingContext.h:
485 * WebCoreSupport/WebPlatformStrategies.cpp:
488 (WebError::localizedDescription):
489 (WebError::sslPeerCertificate):
491 * WebMutableURLRequest.cpp:
492 (WebMutableURLRequest::mutableCopy):
493 * WebURLAuthenticationChallenge.cpp:
494 (WebURLAuthenticationChallenge::initWithProtectionSpace):
495 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge):
496 * WebURLResponse.cpp:
497 (WebURLResponse::sslPeerCertificate):
500 (WebView::setCacheModel):
501 (WebView::canHandleRequest):
502 (WebView::notifyPreferencesChanged):
503 (updateSharedSettingsFromPreferencesIfNeeded):
505 2016-10-11 Ryan Haddad <ryanhaddad@apple.com>
507 Unreviewed, rolling out r207067.
509 This change caused webkitpy test failures.
513 "[Win] Parallel DRTs are sharing preferences and cache."
514 https://bugs.webkit.org/show_bug.cgi?id=163013
515 http://trac.webkit.org/changeset/207067
517 2016-10-11 Per Arne Vollan <pvollan@apple.com>
519 [Win] Parallel DRTs are sharing preferences and cache.
520 https://bugs.webkit.org/show_bug.cgi?id=163013
522 Reviewed by Brent Fulgham.
524 Make it possible for a WebKit client to use separate preferences and cache.
526 * Interfaces/IWebPreferencesPrivate.idl:
527 * WebApplicationCache.cpp:
528 (applicationCachePath):
530 (WebCache::cacheFolder):
531 (WebCache::setCacheFolder):
532 * WebDatabaseManager.cpp:
533 (databasesDirectory):
534 * WebPreferences.cpp:
535 (WebPreferences::applicationId):
536 (WebPreferences::valueForKey):
537 (WebPreferences::setValueForKey):
538 (WebPreferences::save):
539 (WebPreferences::QueryInterface):
540 (WebPreferences::modernMediaControlsEnabled):
541 (WebPreferences::setApplicationId):
544 (WebView::setCacheModel):
546 2016-10-09 Wenson Hsieh <wenson_hsieh@apple.com>
548 Support InputEvent.inputType for the new InputEvent spec
549 https://bugs.webkit.org/show_bug.cgi?id=163025
550 <rdar://problem/28658092>
552 Reviewed by Darin Adler.
554 * WebCoreSupport/WebEditorClient.cpp:
555 (undoNameForEditAction):
557 2016-10-04 Brent Fulgham <bfulgham@apple.com>
559 [Win][Direct2D] Connect WebCore/WebKit Drawing
560 https://bugs.webkit.org/show_bug.cgi?id=162924
562 Reviewed by Alex Christensen.
564 Update the Windows WebKit layer to optionally use the Direct2D
567 * FullscreenVideoController.cpp: Disable some CoreAnimation-based
568 accelerated compositing logic.
569 * FullscreenVideoController.h:
571 (WebFrame::spoolPages): Disable in Direct2D.
573 (WebView::ensureBackingStore): Add Direct2D logic.
574 (WebView::scrollBackingStore): Ditto.
575 (WebView::sizeChanged): Ditto.
576 (WebView::paintWithDirect2D): Added.
577 (WebView::WebViewWndProc): Call Direct2D paint routine.
580 2016-10-02 Darin Adler <darin@apple.com>
582 Rename ExceptionCode-based exception handling to "legacy"
583 https://bugs.webkit.org/show_bug.cgi?id=162859
585 Reviewed by Chris Dumez.
587 * Interfaces/DOMEvents.idl: Let the script rename here (in a comment).
589 2016-09-29 Konstantin Tokarev <annulen@yandex.ru>
591 Fixed compilation of PluginView when NETSCAPE_PLUGIN_API is disabled
592 https://bugs.webkit.org/show_bug.cgi?id=162725
594 Reviewed by Alex Christensen.
596 Fix for r206460, streamDidFinishLoading() does not override anything
597 when NETSCAPE_PLUGIN_API is disabled because PlugivView does not
598 inherit PluginStreamClient in this case.
600 * Plugins/PluginView.h:
602 2016-09-27 Konstantin Tokarev <annulen@yandex.ru>
604 Use override specifiers in PluginView
605 https://bugs.webkit.org/show_bug.cgi?id=162628
607 Reviewed by Alex Christensen.
609 * Plugins/PluginView.h:
611 2016-09-23 Antoine Quint <graouts@apple.com>
613 Add a new runtime flag for work on modern media controls (off by default)
614 https://bugs.webkit.org/show_bug.cgi?id=162420
615 <rdar://problem/27989489>
617 Reviewed by Eric Carlson.
619 * Interfaces/IWebPreferencesPrivate.idl:
620 * WebPreferenceKeysPrivate.h:
621 * WebPreferences.cpp:
622 (WebPreferences::setModernMediaControlsEnabled):
623 (WebPreferences::modernMediaControlsEnabled):
624 (WebPreferences::setCustomElementsEnabled): Deleted.
627 (WebView::notifyPreferencesChanged):
629 2016-09-15 Brady Eidson <beidson@apple.com>
631 WKWebView.hasOnlySecureContent always returns "YES" after going back to a CachedPage (even if it has http resources).
632 <rdar://problem/27681261> and https://bugs.webkit.org/show_bug.cgi?id=162043
634 Reviewed by Brent Fulgham.
636 * WebCoreSupport/WebFrameLoaderClient.cpp:
637 (WebFrameLoaderClient::dispatchDidCommitLoad):
638 * WebCoreSupport/WebFrameLoaderClient.h:
640 2016-09-07 Mark Lam <mark.lam@apple.com>
642 Add CatchScope and force all exception checks to be via ThrowScope or CatchScope.
643 https://bugs.webkit.org/show_bug.cgi?id=161498
645 Reviewed by Geoffrey Garen.
647 * Plugins/PluginPackage.cpp:
648 (WebCore::NPN_Evaluate):
649 (WebCore::NPN_Invoke):
651 2016-09-06 Per Arne Vollan <pvollan@apple.com>
653 [Win] Null pointer crash under WebView::scrollOffset.
654 https://bugs.webkit.org/show_bug.cgi?id=161620
656 Reviewed by Darin Adler.
658 Added null pointer checks.
661 (WebView::scrollOffset):
663 (WebView::visibleContentRect):
665 2016-09-03 Darin Adler <darin@apple.com>
667 Streamline DOMImplementation, and move it to our new DOM exception system
668 https://bugs.webkit.org/show_bug.cgi?id=161295
670 Reviewed by Ryosuke Niwa.
673 (WebFrame::canProvideDocumentSource): Updated to use isXMLMIMEType in its new
674 location in MIMETypeRegistry instead of in DOMImplementation.
676 2016-09-02 Ryosuke Niwa <rniwa@webkit.org>
678 Build fix attempt after r205381.
680 * WebCoreSupport/WebEditorClient.h:
682 2016-08-31 Keith Rollin <krollin@apple.com>
684 WebKit should set a subsystem for os_log so it's easier to filter for WebKit log messages
685 https://bugs.webkit.org/show_bug.cgi?id=160969
686 <rdar://problem/26068734>
688 Reviewed by Simon Fraser.
690 Enable subsystem- and channel-related data and functions when using
691 RELEASE_LOG macros. Use the DECLARE_LOG_CHANNEL, DEFINE_LOG_CHANNEL,
692 and LOG_CHANNEL_ADDRESS macros that are now defined in WTF.
697 (WebView::initWithFrame):
699 2016-08-16 Carlos Garcia Campos <cgarcia@igalia.com>
701 [GTK] Accelerated compositing does not work in Wayland
702 https://bugs.webkit.org/show_bug.cgi?id=115803
704 Reviewed by Michael Catanzaro.
706 Update to the new GLContext API.
708 * WebCoreSupport/AcceleratedCompositingContext.cpp:
709 (AcceleratedCompositingContext::initialize):
710 (AcceleratedCompositingContext::acceleratedCompositingAvailable):
712 2016-08-21 Alex Christensen <achristensen@webkit.org>
714 Use Document& instead of Document* when getting cookies
715 https://bugs.webkit.org/show_bug.cgi?id=161011
717 Reviewed by Darin Adler.
719 * Plugins/PluginView.cpp:
720 (WebCore::PluginView::getValueForURL):
722 2016-08-16 Simon Fraser <simon.fraser@apple.com>
724 Rename didLayout(LayoutMilestones) to didReachLayoutMilestone(), and related WK2 functions
725 https://bugs.webkit.org/show_bug.cgi?id=160923
727 Reviewed by Tim Horton.
729 didLayout(LayoutMilestones) -> didReachLayoutMilestone(LayoutMilestones)
730 dispatchDidLayout(LayoutMilestones) -> dispatchDidReachLayoutMilestone(LayoutMilestones)
732 * WebCoreSupport/WebFrameLoaderClient.cpp:
733 (WebFrameLoaderClient::dispatchDidReachLayoutMilestone):
734 (WebFrameLoaderClient::dispatchDidLayout): Deleted.
735 * WebCoreSupport/WebFrameLoaderClient.h:
737 2016-08-18 Anders Carlsson <andersca@apple.com>
739 Move an NPAPI-only function from WebCore to WebKit
740 https://bugs.webkit.org/show_bug.cgi?id=160967
742 Reviewed by Sam Weinig.
744 * Plugins/PluginView.cpp:
745 (WebCore::PluginView::~PluginView):
746 (WebCore::PluginView::PluginView):
747 (WebCore::PluginView::getValue):
748 * Plugins/PluginView.h:
750 2016-08-15 Joseph Pecoraro <pecoraro@apple.com>
752 Remove unused includes of wtf headers
753 https://bugs.webkit.org/show_bug.cgi?id=160839
755 Reviewed by Alex Christensen.
759 2016-08-09 Alex Christensen <achristensen@webkit.org>
761 Move NetworkStorageSession management to WebCore
762 https://bugs.webkit.org/show_bug.cgi?id=160173
764 Reviewed by Brady Eidson.
766 * WebCoreSupport/WebFrameNetworkingContext.cpp:
768 (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
769 (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
770 (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
771 (WebFrameNetworkingContext::blockedError):
772 (WebFrameNetworkingContext::storageSession):
773 (privateSession): Deleted.
774 * WebCoreSupport/WebPlatformStrategies.cpp:
775 (WebPlatformStrategies::createPasteboardStrategy):
776 (WebPlatformStrategies::createBlobRegistry):
778 2016-08-09 Anders Carlsson <andersca@apple.com>
780 Instantiate WebKit plug-ins at layout time, instead of at style resolution time
781 https://bugs.webkit.org/show_bug.cgi?id=160715
783 Reviewed by Tim Horton.
785 * WebCoreSupport/WebFrameLoaderClient.cpp:
786 (WebFrameLoaderClient::objectContentType):
788 2016-08-09 Per Arne Vollan <pvollan@apple.com>
790 [Win] Crash in MiniBrowser.
791 https://bugs.webkit.org/show_bug.cgi?id=160686
793 Reviewed by Sam Weinig.
795 We need to specify a plugin info provider object in the page configuration.
798 (WebView::initWithFrame):
800 2016-08-09 Anders Carlsson <andersca@apple.com>
804 * WebCoreSupport/WebPlatformStrategies.h:
806 2016-08-09 Anders Carlsson <andersca@apple.com>
808 Get rid of PluginStrategy
809 https://bugs.webkit.org/show_bug.cgi?id=160696
811 Reviewed by Dan Bernstein.
813 * WebCoreSupport/WebPlatformStrategies.cpp:
814 (WebPlatformStrategies::createPluginStrategy): Deleted.
816 2016-08-09 Anders Carlsson <andersca@apple.com>
818 Move plug-in enumeration from WebPlatformStrategies to WebPluginInfoProvider
819 https://bugs.webkit.org/show_bug.cgi?id=160694
821 Reviewed by Dan Bernstein.
823 * WebCoreSupport/WebPlatformStrategies.cpp:
824 (WebPlatformStrategies::createPluginStrategy):
825 (WebPlatformStrategies::refreshPlugins): Deleted.
826 (WebPlatformStrategies::getPluginInfo): Deleted.
827 (WebPlatformStrategies::getWebVisiblePluginInfo): Deleted.
828 * WebCoreSupport/WebPlatformStrategies.h:
829 * WebCoreSupport/WebPluginInfoProvider.cpp:
830 (WebPluginInfoProvider::refreshPlugins):
831 (WebPluginInfoProvider::getPluginInfo):
832 (WebPluginInfoProvider::getWebVisiblePluginInfo):
834 2016-08-08 Anders Carlsson <andersca@apple.com>
836 Add a new PluginInfoProvider class, to replace PluginStrategy
837 https://bugs.webkit.org/show_bug.cgi?id=160670
839 Reviewed by Sam Weinig.
841 Add a new WebPluginInfoProvider - it just calls through to the plug-in strategy for now.
843 * WebCoreSupport/WebPluginInfoProvider.cpp: Added.
844 (WebPluginInfoProvider::singleton):
845 (WebPluginInfoProvider::WebPluginInfoProvider):
846 (WebPluginInfoProvider::~WebPluginInfoProvider):
847 (WebPluginInfoProvider::refreshPlugins):
848 (WebPluginInfoProvider::getPluginInfo):
849 (WebPluginInfoProvider::getWebVisiblePluginInfo):
850 * WebCoreSupport/WebPluginInfoProvider.h: Added.
852 2016-07-29 Csaba Osztrogonác <ossy@webkit.org>
854 Remove PassRef.h after r177259
855 https://bugs.webkit.org/show_bug.cgi?id=160348
857 Reviewed by Andreas Kling.
859 * WebCoreSupport/WebVisitedLinkStore.h:
861 2016-07-27 Alex Christensen <achristensen@webkit.org>
863 Fix Win debug build after r203749.
867 2016-07-26 Simon Fraser <simon.fraser@apple.com>
869 Allow LOG macros to be used outside the namespace, and other logging cleanup
870 https://bugs.webkit.org/show_bug.cgi?id=160216
872 Reviewed by Anders Carlsson.
874 Fix some issues with the LOG macros.
876 First, they were not usable outside the WebKit namespace in WebKit2 code. Fix by moving
877 its log channels outside of the namespace (they are protected by a unique prefix anyway).
879 Second, allow LOG_WITH_STREAM to be used in WebKit2 by moving that and a helper macro
880 into LogMacros.h, which is exported from WebCore as a private header.
882 Third, split the Logging.h header into two. Logging.h remains for framework-internal
883 log channels and log macros. Add LogInitialization.h which is external, and used to
884 initialize the channels.
886 Finally unify "initializeLogChannels" and "initializeLoggingChannels" terminology everywhere.
891 (WebView::initWithFrame):
893 2016-07-23 Chris Dumez <cdumez@apple.com>
895 Unreviewed, fix Windows build after r203623.
897 * DOMCoreClasses.cpp:
898 (DOMDocument::getComputedStyle):
900 2016-07-22 Per Arne Vollan <pvollan@apple.com>
902 IWebView::mainFrame crashes if called after IWebView::close
903 https://bugs.webkit.org/show_bug.cgi?id=32868
905 Reviewed by Brent Fulgham.
907 After deleting the page in WebView::close the mainframe object may be deleted.
909 Test: Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp (CloseThenGetMainFrame).
912 (WebView::close): set mainframe pointer member to null.
914 2016-07-19 Per Arne Vollan <pvollan@apple.com>
916 [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.
917 https://bugs.webkit.org/show_bug.cgi?id=159342
919 Reviewed by Darin Adler.
921 * WebFrame.h: Link fix.
923 2016-07-17 Sam Weinig <sam@webkit.org>
925 [WebKit API] Add SPI to track multiple navigations caused by a single user gesture
926 <rdar://problem/26554137>
927 https://bugs.webkit.org/show_bug.cgi?id=159856
929 Reviewed by Dan Bernstein.
931 * Plugins/PluginView.cpp:
932 (WebCore::PluginView::performRequest):
933 * WebCoreSupport/WebContextMenuClient.cpp:
934 (WebContextMenuClient::searchWithGoogle):
935 Update for new UserGestureIndicator interface.
937 2016-07-16 Ryosuke Niwa <rniwa@webkit.org>
939 Rename fastGetAttribute to attributeWithoutSynchronization
940 https://bugs.webkit.org/show_bug.cgi?id=159852
942 Reviewed by Darin Adler.
944 * DOMHTMLClasses.cpp:
945 (DOMHTMLElement::idName):
947 2016-07-15 Chris Dumez <cdumez@apple.com>
949 Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible
950 https://bugs.webkit.org/show_bug.cgi?id=159793
952 Reviewed by Ryosuke Niwa.
954 Use fastGetAttribute() / setAttributeWithoutSynchronization() when possible, for performance.
956 * DOMHTMLClasses.cpp:
957 (DOMHTMLElement::idName):
959 2016-07-14 Chris Dumez <cdumez@apple.com>
961 Use emptyString() instead of "" when possible
962 https://bugs.webkit.org/show_bug.cgi?id=159789
964 Reviewed by Alex Christensen.
966 Use emptyString() instead of "" when possible to reduce String allocations.
968 * Plugins/PluginView.cpp:
969 (WebCore::parseRFC822HeaderFields):
971 2016-07-14 Alex Christensen <achristensen@webkit.org>
973 Use SocketProvider to create SocketStreamHandles
974 https://bugs.webkit.org/show_bug.cgi?id=159774
976 Reviewed by Brady Eidson.
978 * WebSocketProvider.cpp: Removed.
979 * WebSocketProvider.h: Removed.
980 * WebView.cpp: Replaced WebSocketProvider with SocketProvider as we did in WebCore.
982 2016-07-14 Csaba Osztrogonác <ossy@webkit.org>
984 Fix the !ENABLE(WEB_SOCKETS) build after r202930
985 https://bugs.webkit.org/show_bug.cgi?id=159768
987 Reviewed by Alex Christensen.
989 * WebSocketProvider.h:
991 2016-07-11 Enrica Casucci <enrica@apple.com>
998 (generateMouseEvent):
1000 2016-07-11 Enrica Casucci <enrica@apple.com>
1002 Add synthetic click origin to WKNavigationAction.
1003 https://bugs.webkit.org/show_bug.cgi?id=159584
1004 rdar://problem/25610422
1006 Reviewed by Tim Horton.
1008 * WebDropSource.cpp:
1009 (generateMouseEvent):
1011 2016-07-07 Alex Christensen <achristensen@webkit.org>
1013 Fix Windows build after r202930.
1014 https://bugs.webkit.org/show_bug.cgi?id=158776
1017 (WebView::initWithFrame):
1019 2016-07-07 Alex Christensen <achristensen@webkit.org>
1021 Use SocketProvider to create WebSocketChannels
1022 https://bugs.webkit.org/show_bug.cgi?id=158776
1024 Reviewed by Brent Fulgham.
1026 * WebSocketProvider.cpp: Copied from Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp.
1027 (WebSocketProvider::createWebSocketChannel):
1028 (WebCore::ThreadableWebSocketChannel::create): Deleted.
1029 * WebSocketProvider.h:
1031 2016-07-06 Per Arne Vollan <pvollan@apple.com>
1033 [Win] Add null pointer check in gesture handling.
1034 https://bugs.webkit.org/show_bug.cgi?id=159454
1036 Reviewed by Brent Fulgham.
1041 2016-07-01 Per Arne Vollan <pvollan@apple.com>
1043 ASSERTION FAILED: info.bmBitsPixel == 32
1044 https://bugs.webkit.org/show_bug.cgi?id=17737
1046 Reviewed by Brent Fulgham.
1048 The ::SelectObject call will fail if m_backingStoreBitmap is already selected into a device context.
1049 This happens when this method is called indirectly from WebView::updateBackingStore during normal
1050 painting. There is no point continuing, since we would just be scrolling a 1x1 bitmap which is
1051 selected into the device context by default. We can just scroll by repainting the scroll rectangle.
1054 (WebView::scrollBackingStore): Invalidate the scroll rectangle if the ::SelectObject call fails.
1056 2016-07-01 Youenn Fablet <youennf@gmail.com>
1058 Add a runtime flag for DOM iterators
1059 https://bugs.webkit.org/show_bug.cgi?id=159300
1061 Reviewed by Alex Christensen.
1063 * WebPreferenceKeysPrivate.h:
1064 * WebPreferences.cpp:
1065 (WebPreferences::domIteratorEnabled):
1066 (WebPreferences::setDOMIteratorEnabled):
1067 (WebView::notifyPreferencesChanged):
1068 * WebPreferencesreferences.h:
1070 (WebView::notifyPreferencesChanged):
1072 2016-06-28 Per Arne Vollan <pvollan@apple.com>
1074 [Win] Custom elements tests are failing.
1075 https://bugs.webkit.org/show_bug.cgi?id=159139
1077 Reviewed by Alex Christensen.
1079 Add preference for enabling custom element API.
1081 * Interfaces/IWebPreferencesPrivate.idl:
1082 * WebPreferenceKeysPrivate.h:
1083 * WebPreferences.cpp:
1084 (WebPreferences::initializeDefaultSettings):
1085 (WebPreferences::customElementsEnabled):
1086 (WebPreferences::setCustomElementsEnabled):
1089 (WebView::notifyPreferencesChanged):
1091 2016-06-23 Per Arne Vollan <pvollan@apple.com>
1093 [Win] The test accessibility/aria-labelledby-overrides-label.html is failing.
1094 https://bugs.webkit.org/show_bug.cgi?id=159057
1096 Reviewed by Brent Fulgham.
1098 The test expects the label to have a static text role, but currently it has a
1101 * AccessibleBase.cpp:
1102 (MSAARole): Change the role of labels to static text.
1104 2016-06-23 Alex Christensen <achristensen@webkit.org>
1106 Remove unused didCancelAuthenticationChallenge
1107 https://bugs.webkit.org/show_bug.cgi?id=158819
1109 Reviewed by David Kilzer.
1111 * WebCoreSupport/WebFrameLoaderClient.cpp:
1112 (WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge): Deleted.
1113 * WebCoreSupport/WebFrameLoaderClient.h:
1115 2016-06-22 Per Arne Vollan <pvollan@apple.com>
1117 [Win] The test storage/indexeddb/modern/handle-user-delete.html is timing out.
1118 https://bugs.webkit.org/show_bug.cgi?id=158934
1120 Reviewed by Brent Fulgham.
1122 Add a method to delete all indexed databases.
1124 * Interfaces/IWebDatabaseManager.idl:
1125 * WebDatabaseManager.cpp:
1126 (WebDatabaseManager::QueryInterface):
1127 (WebDatabaseManager::deleteAllIndexedDatabases):
1128 * WebDatabaseManager.h:
1130 2016-06-17 Per Arne Vollan <pvollan@apple.com>
1132 [Win] Rendering is not scaled correctly if process is DPI aware.
1133 https://bugs.webkit.org/show_bug.cgi?id=158781
1135 Reviewed by Brent Fulgham.
1137 Scale the root graphics layer with the device scale factor.
1140 (WebView::setAcceleratedCompositing):
1142 2016-06-15 Chris Dumez <cdumez@apple.com>
1144 Drop some unnecessary header includes
1145 https://bugs.webkit.org/show_bug.cgi?id=158788
1147 Reviewed by Alexey Proskuryakov.
1149 Drop some unnecessary header includes in headers to speed up build time.
1151 * Plugins/PluginView.cpp:
1153 2016-06-15 Romain Bellessort <romain.bellessort@crf.canon.fr>
1155 Enabling Shadow DOM for all platforms
1156 https://bugs.webkit.org/show_bug.cgi?id=158738
1158 Reviewed by Ryosuke Niwa.
1160 Removed Shadow DOM from options (enabled by default)
1161 (comprises removal of corresponding preprocessor directives)
1165 2016-06-13 Alex Christensen <achristensen@webkit.org>
1167 Add WebSocketProvider stub
1168 https://bugs.webkit.org/show_bug.cgi?id=158702
1170 Reviewed by Brady Eidson.
1172 * WebSocketProvider.h: Added.
1174 (WebView::initWithFrame):
1176 2016-06-10 Alex Christensen <achristensen@webkit.org>
1178 Introduce WTF::UniqueRef
1179 https://bugs.webkit.org/show_bug.cgi?id=158596
1181 Reviewed by Brady Eidson.
1184 (WebView::initWithFrame):
1186 2016-06-09 Alex Christensen <achristensen@webkit.org>
1190 * WebKit.resources/resource.h: Removed.
1191 * resource.h: Copied from WebKit.resources/resource.h.
1193 2016-06-09 Alex Christensen <achristensen@webkit.org>
1195 Actually fix Windows build after r201894
1196 https://bugs.webkit.org/show_bug.cgi?id=158588
1199 (WebView::initWithFrame):
1201 2016-06-09 Alex Christensen <achristensen@webkit.org>
1203 Clean up WebKit.vcxproj directory after switching to CMake.
1205 * WebKit.resources/resource.h: Copied from WebKit.vcxproj/WebKit/resource.h.
1207 2016-06-09 Alex Christensen <achristensen@webkit.org>
1209 Unreviewed build fix after r201894
1210 https://bugs.webkit.org/show_bug.cgi?id=158588
1212 * WebCoreSupport/WebEditorClient.cpp:
1213 (WebEditorClient::~WebEditorClient):
1214 (WebEditorClient::isContinuousSpellCheckingEnabled):
1215 (WebEditorClient::pageDestroyed): Deleted.
1216 * WebCoreSupport/WebEditorClient.h:
1218 (WebView::initWithFrame):
1220 2016-06-08 Per Arne Vollan <pvollan@apple.com>
1222 [Win] Shadow DOM tests are failing.
1223 https://bugs.webkit.org/show_bug.cgi?id=158524
1225 Reviewed by Brent Fulgham.
1227 Add preference for enabling Shadow DOM.
1229 * Interfaces/IWebPreferencesPrivate.idl:
1230 * WebPreferenceKeysPrivate.h:
1231 * WebPreferences.cpp:
1232 (WebPreferences::initializeDefaultSettings):
1233 (WebPreferences::shadowDOMEnabled):
1234 (WebPreferences::setShadowDOMEnabled):
1237 (WebView::notifyPreferencesChanged):
1239 2016-06-07 Per Arne Vollan <pvollan@apple.com>
1241 [Win][IndexedDB] Crash when running worker test.
1242 https://bugs.webkit.org/show_bug.cgi?id=158434
1244 Reviewed by Alex Christensen.
1246 Initialize main runloop, otherwise RunLoop::main() will return nullptr.
1251 2016-06-03 Chris Dumez <cdumez@apple.com>
1253 Unreviewed, roll out r196633 as it broke PageCache on iOS for WebKit.org
1254 <rdar://problem/26521101>
1256 * WebCoreSupport/WebVisitedLinkStore.cpp:
1257 (WebVisitedLinkStore::removeAllVisitedLinks):
1258 (WebVisitedLinkStore::addVisitedLinkHash):
1260 2016-06-03 Per Arne Vollan <pvollan@apple.com>
1262 [Win] Implement WebView::removeAllUserContentFromGroup
1263 https://bugs.webkit.org/show_bug.cgi?id=158343
1265 Reviewed by Brent Fulgham.
1268 (WebView::removeAllUserContentFromGroup):
1270 2016-06-02 Per Arne Vollan <pvollan@apple.com>
1272 [Win] Fetch API tests are failing.
1273 https://bugs.webkit.org/show_bug.cgi?id=158296
1275 Reviewed by Alex Christensen.
1277 Add preference for enabling Fetch API.
1279 * Interfaces/IWebPreferencesPrivate.idl:
1280 * WebPreferenceKeysPrivate.h:
1281 * WebPreferences.cpp:
1282 (WebPreferences::initializeDefaultSettings):
1283 (WebPreferences::fetchAPIEnabled):
1284 (WebPreferences::setFetchAPIEnabled):
1287 (WebView::notifyPreferencesChanged):
1289 2016-06-02 Youenn Fablet <youenn.fablet@crf.canon.fr>
1291 Use more references in ResourceLoader related code
1292 https://bugs.webkit.org/show_bug.cgi?id=158222
1294 Reviewed by Darin Adler.
1296 * Plugins/PluginStream.cpp:
1297 (WebCore::PluginStream::start):
1299 2016-06-01 Per Arne Vollan <pvollan@apple.com>
1301 [Win] Potential null pointer crash when setting cursor.
1302 https://bugs.webkit.org/show_bug.cgi?id=158225
1304 Reviewed by Alex Christensen.
1306 Check return value of Cursor::platformCursor().
1308 * WebCoreSupport/WebChromeClient.cpp:
1309 (WebChromeClient::setCursor):
1311 2016-05-31 Yusuke Suzuki <utatane.tea@gmail.com>
1313 Unreviewed, roll out r201481, r201523: 0.3% regression in Octane code-load
1314 https://bugs.webkit.org/show_bug.cgi?id=158249
1316 * Interfaces/IWebPreferencesPrivate.idl:
1318 2016-05-27 Caitlin Potter <caitp@igalia.com>
1320 [JSC] implement async functions proposal
1321 https://bugs.webkit.org/show_bug.cgi?id=156147
1323 Reviewed by Yusuke Suzuki.
1325 * Interfaces/IWebPreferencesPrivate.idl:
1327 2016-05-23 Chris Dumez <cdumez@apple.com>
1329 Generate bindings code for EventTarget.addEventListener() / removeEventListener()
1330 https://bugs.webkit.org/show_bug.cgi?id=157882
1332 Reviewed by Darin Adler.
1334 Generate bindings code for EventTarget.addEventListener() / removeEventListener()
1335 instead of hardcoding them in the bindings generator.
1337 * DOMEventsClasses.cpp:
1338 (WebEventListener::operator==):
1339 * DOMEventsClasses.h:
1341 2016-05-20 Joseph Pecoraro <pecoraro@apple.com>
1343 Remove LegacyProfiler
1344 https://bugs.webkit.org/show_bug.cgi?id=153565
1346 Reviewed by Saam Barati.
1348 * Interfaces/IWebInspector.idl:
1349 * WebCoreStatistics.cpp:
1351 (WebInspector::isJavaScriptProfilingEnabled): Deleted.
1352 (WebInspector::setJavaScriptProfilingEnabled): Deleted.
1356 2016-05-16 Joseph Pecoraro <pecoraro@apple.com>
1358 Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail.
1360 * Interfaces/IWebInspector.idl:
1361 * WebCoreStatistics.cpp:
1363 (WebInspector::isJavaScriptProfilingEnabled):
1364 (WebInspector::setJavaScriptProfilingEnabled):
1368 2016-05-14 Joseph Pecoraro <pecoraro@apple.com>
1370 Remove LegacyProfiler
1371 https://bugs.webkit.org/show_bug.cgi?id=153565
1373 Reviewed by Mark Lam.
1375 * Interfaces/IWebInspector.idl:
1378 (WebInspector::isJavaScriptProfilingEnabled): Deleted.
1379 (WebInspector::setJavaScriptProfilingEnabled): Deleted.
1382 2016-05-12 Konstantin Tokarev <annulen@yandex.ru>
1384 Use reference instead of pointer in FrameLoaderClient::saveViewStateToItem.
1385 https://bugs.webkit.org/show_bug.cgi?id=157624
1387 Reviewed by Darin Adler.
1389 * WebCoreSupport/WebFrameLoaderClient.cpp:
1390 (WebFrameLoaderClient::saveViewStateToItem):
1391 * WebCoreSupport/WebFrameLoaderClient.h:
1393 2016-05-11 Chris Dumez <cdumez@apple.com>
1395 Update Node::appendChild() / replaceChild() / removeChild() / insertBefore() to take references instead of pointers
1396 https://bugs.webkit.org/show_bug.cgi?id=157556
1398 Reviewed by Darin Adler.
1400 * DOMCoreClasses.cpp:
1401 (DOMNode::insertBefore):
1402 (DOMNode::removeChild):
1404 2016-05-11 Joanmarie Diggs <jdiggs@igalia.com>
1406 [GTK] accessibility/aria-readonly.html is failing
1407 https://bugs.webkit.org/show_bug.cgi?id=98357
1409 Reviewed by Chris Fleizach.
1411 Call AccessibilityNode::canSetValueAttribute() to determine if STATE_SYSTEM_READONLY
1412 should be added and if editable text should be supported.
1414 * AccessibleBase.cpp:
1415 (AccessibleBase::state):
1416 * AccessibleTextImpl.cpp:
1417 (AccessibleText::deleteText):
1418 (AccessibleText::insertText):
1419 (AccessibleText::cutText):
1420 (AccessibleText::pasteText):
1421 (AccessibleText::replaceText):
1423 2016-05-09 Fujii Hironori <Hironori.Fujii@sony.com>
1425 [wincairo] web inspector failed to launch in MiniBrowser
1426 https://bugs.webkit.org/show_bug.cgi?id=156184
1427 <rdar://problem/25539297>
1429 Reviewed by Alex Christensen.
1431 * WebCoreSupport/WebInspectorClient.cpp:
1432 (WebInspectorClient::openLocalFrontend): Enable
1433 AllowFileAccessFromFileURLs and AllowUniversalAccessFromFileURLs
1434 of WebPreferences for Web Inspector.
1436 2016-05-06 Joseph Pecoraro <pecoraro@apple.com>
1438 Rename HitTestRequest DisallowShadowContent to DisallowUserAgentShadowContent
1439 https://bugs.webkit.org/show_bug.cgi?id=157447
1441 Reviewed by Ryosuke Niwa.
1444 (WebView::gestureNotify):
1446 2016-05-04 Joanmarie Diggs <jdiggs@igalia.com>
1448 AX: ARIA 'region' role is now a landmark; HTML 'section' element should be a landmark only if named
1449 https://bugs.webkit.org/show_bug.cgi?id=157331
1451 Reviewed by Chris Fleizach.
1453 As part of this change, the WebCore DocumentRegionRole AccessibilityRole has
1454 been renamed to LandmarkRegionRole. Update MSAARole() to use the new name.
1456 * AccessibleBase.cpp:
1459 2016-04-25 Per Arne Vollan <peavo@outlook.com>
1461 [Win][IndexedDB] Fix build errors.
1462 https://bugs.webkit.org/show_bug.cgi?id=156713
1464 Reviewed by Alex Christensen.
1466 Fix compile and link errors when building with IndexedDB enabled.
1469 (WebView::notifyPreferencesChanged):
1471 * storage/WebDatabaseProvider.cpp: Added.
1472 (WebDatabaseProvider::indexedDatabaseDirectoryPath):
1474 2016-04-22 Brent Fulgham <bfulgham@apple.com>
1476 Unreviewed build fix after 4199841.
1478 * WebApplicationCache.cpp:
1479 (WebApplicationCache::WebApplicationCache): Provide missing preference key definition.
1481 2016-04-21 Anders Carlsson <andersca@apple.com>
1483 Add a missing space, as noticed by Darin.
1485 * WebApplicationCache.cpp:
1486 (applicationCachePath):
1488 2016-04-21 Anders Carlsson <andersca@apple.com>
1490 Stop using ApplicationCacheStorage::singleton() on Windows
1491 https://bugs.webkit.org/show_bug.cgi?id=156861
1493 Reviewed by Darin Adler.
1495 * WebApplicationCache.cpp:
1496 (applicationCachePath):
1497 (WebApplicationCache::storage):
1498 * WebApplicationCache.h:
1502 (WebView::initWithFrame):
1503 (WebKitSetApplicationCachePathIfNecessary): Deleted.
1505 2016-04-15 Brent Fulgham <bfulgham@apple.com>
1507 CSP: Make dynamically-added favicons (via link rel="icon") obey Content-Security-Policy
1508 https://bugs.webkit.org/show_bug.cgi?id=153151
1509 <rdar://problem/24383176>
1511 Reviewed by Darin Adler.
1513 Remove the unused dynamic favicon code and tests.
1515 * WebCoreSupport/WebFrameLoaderClient.cpp:
1516 (WebFrameLoaderClient::dispatchDidChangeIcons): Deleted.
1517 * WebCoreSupport/WebFrameLoaderClient.h:
1519 2016-04-15 Darin Adler <darin@apple.com>
1521 Reduce use of Deprecated::ScriptXXX classes
1522 https://bugs.webkit.org/show_bug.cgi?id=156632
1524 Reviewed by Alex Christensen.
1526 * Plugins/PluginView.cpp:
1527 (WebCore::PluginView::performRequest): Use JSValue.
1529 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): Ditto.
1531 (WebView::stringByEvaluatingJavaScriptFromString): Ditto.
1533 2016-04-11 Darin Adler <darin@apple.com>
1535 Remove UsePointersEvenForNonNullableObjectArguments from HTMLSelectElement
1536 https://bugs.webkit.org/show_bug.cgi?id=156458
1538 Reviewed by Chris Dumez.
1540 * DOMCoreClasses.cpp: Added now-needed include.
1542 2016-04-11 Gavin Barraclough <barraclough@apple.com>
1544 WebKit should adopt journal_mode=wal for all SQLite databases.
1545 https://bugs.webkit.org/show_bug.cgi?id=133496
1547 Reviewed by Darin Adler.
1549 * WebDatabaseManager.cpp:
1550 (WebDatabaseManager::deleteAllDatabases):
1551 - renamed deleteAllDatabases -> deleteAllDatabasesImmediately.
1553 2016-04-08 Joanmarie Diggs <jdiggs@igalia.com>
1555 AX: "AXLandmarkApplication" is an inappropriate subrole for ARIA "application" since it's no longer a landmark
1556 https://bugs.webkit.org/show_bug.cgi?id=155403
1558 Reviewed by Chris Fleizach.
1560 The new subrole is AXWebApplication and the new role description is "web application".
1561 As part of the fix, the WebCore AccessibilityRole for ARIA's "application" role was
1562 renamed from LandmarkApplicationRole to WebApplicationRole.
1564 The roles-exposed.html and aria-grouping-roles.html test expectations were also updated.
1566 * AccessibleBase.cpp: Update the rolename
1569 2016-04-07 Brian Burg <bburg@apple.com>
1571 CookieJar should support adding synthetic cookies for developer tools
1572 https://bugs.webkit.org/show_bug.cgi?id=156091
1573 <rdar://problem/25581340>
1575 Reviewed by Timothy Hatcher.
1577 * WebCoreSupport/WebPlatformStrategies.h:
1578 * WebCoreSupport/WebPlatformStrategies.cpp:
1579 Add new method override.
1581 2016-03-24 Said Abou-Hallawa <sabouhallawa@apple,com>
1583 Change NativeImagePtr for CG to be RetainPtr<CGImageRef>
1584 https://bugs.webkit.org/show_bug.cgi?id=155412
1586 Reviewed by Darin Adler.
1588 * Plugins/PluginView.h:
1589 * Plugins/PluginViewWin.cpp:
1590 (WebCore::PluginView::snapshot):
1591 Replace PassRefPtr with RefPtr.
1593 2016-03-22 Per Arne Vollan <peavo@outlook.com>
1595 [Win] [64-bit] Remove MSVC 2013 FMA3 Bug Workaround
1596 https://bugs.webkit.org/show_bug.cgi?id=141499
1598 Reviewed by Brent Fulgham.
1600 As we have moved on to VS2015, this workaround is no longer needed.
1605 2016-03-21 Hyungwook Lee <hyungwook.lee@navercorp.com>
1607 [Win] Connect layoutTestController.findString() to support testing
1608 https://bugs.webkit.org/show_bug.cgi?id=50234
1610 Reviewed by Alex Christensen.
1612 Implement WebView::findString to support testing efforts.
1614 * Interfaces/IWebViewPrivate.idl: Add API declaration.
1618 2016-03-16 Carlos Garcia Campos <cgarcia@igalia.com>
1620 Unreviewed, rolling out r196951 and r197031.
1622 Revert also WinCairo follow ups after r196803
1624 Reverted changesets:
1626 "[WinCairo] Compile fix."
1627 https://bugs.webkit.org/show_bug.cgi?id=154545
1628 http://trac.webkit.org/changeset/196951
1630 "[WinCairo] Mark layer as non composited."
1631 https://bugs.webkit.org/show_bug.cgi?id=154640
1632 http://trac.webkit.org/changeset/197031
1634 2016-03-16 Carlos Garcia Campos <cgarcia@igalia.com>
1636 Unreviewed, rolling out r197693.
1642 "[WinCairo][AcceleratedCompositing] Rendering issues on
1644 https://bugs.webkit.org/show_bug.cgi?id=154912
1645 http://trac.webkit.org/changeset/197693
1647 2016-03-15 Brent Fulgham <bfulgham@apple.com>
1649 [Win] Correct double-release of CFURLConnectionRef
1650 https://bugs.webkit.org/show_bug.cgi?id=155515
1651 <rdar://problem/25159143>
1653 Reviewed by Tim Horton.
1655 Tested by http/tests/download suite.
1657 * WebDownloadCFNet.cpp: Remove extra CFRelease.
1659 2016-03-14 Per Arne Vollan <peavo@outlook.com>
1661 [WinCairo] Compile fix.
1662 https://bugs.webkit.org/show_bug.cgi?id=155463
1664 Reviewed by Alex Christensen.
1666 Get the NetworkStorageSession object from the document in the same way as other platforms do.
1668 * WebCoreSupport/WebFrameNetworkingContext.cpp:
1669 (WebFrameNetworkingContext::storageSession):
1670 * WebCoreSupport/WebFrameNetworkingContext.h:
1671 (WebFrameNetworkingContext::storageSession):
1673 2016-03-14 Joonghun Park <jh718.park@samsung.com>
1675 Purge PassRefPtr from ArrayBuffer, ArchiveResource, Pasteboard, LegacyWebArchive and DataObjectGtk
1676 https://bugs.webkit.org/show_bug.cgi?id=150497
1678 Reviewed by Darin Adler.
1681 (WebArchive::initWithNode):
1683 2016-03-12 Sam Weinig <sam@webkit.org>
1685 WebKit can easily crash below NetworkSession::dataTaskForIdentifier() with NSURLSession enabled
1686 <rdar://problem/25129946>
1687 https://bugs.webkit.org/show_bug.cgi?id=155401
1689 Reviewed by Alex Christensen.
1691 * WebCoreSupport/WebFrameNetworkingContext.cpp:
1692 (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
1693 Pass a SessionID to NetworkStorageSession::createPrivateBrowsingSession().
1695 2016-03-10 Jer Noble <jer.noble@apple.com>
1697 Unreviewed build fix after r197953; correct the settings added in r197953.
1700 (WebView::notifyPreferencesChanged):
1702 2016-03-10 Jer Noble <jer.noble@apple.com>
1704 Add separate WK and WK2 preferences for requiring user gestures for video media, distinct from user gestures for media generally
1705 https://bugs.webkit.org/show_bug.cgi?id=155141
1707 Reviewed by Beth Dakin.
1710 (WebView::notifyPreferencesChanged):
1712 2016-03-07 Per Arne Vollan <peavo@outlook.com>
1714 [WinCairo][AcceleratedCompositing] Rendering issues on www.bbc.com.
1715 https://bugs.webkit.org/show_bug.cgi?id=154912
1717 Reviewed by Michael Catanzaro.
1719 If we have a scroll layer, we should not include the scroll position in the visible rectangle,
1720 since the scroll position is already reflected in the position of the scroll layer.
1722 * WebCoreSupport/AcceleratedCompositingContext.cpp:
1723 (AcceleratedCompositingContext::flushPendingLayerChanges):
1725 2016-03-06 Gavin Barraclough <barraclough@apple.com>
1727 Convert DOMTimer to std::chrono::milliseconds
1728 https://bugs.webkit.org/show_bug.cgi?id=155085
1730 Reviewed by Andreas Kling.
1732 DOMTimer currently uses a mix of millisecond (was int, now std::chrono) and second (as double)
1733 time values. Constant conversion back and forth is a complete mess. Stop that.
1736 (WebView::setMinimumTimerInterval):
1737 - Convert double argument into std::chrono::milliseconds.
1739 2016-03-05 Yusuke Suzuki <utatane.tea@gmail.com>
1741 [ES6] Support Reflect.construct
1742 https://bugs.webkit.org/show_bug.cgi?id=147330
1744 Reviewed by Saam Barati.
1746 * Plugins/PluginPackage.cpp:
1747 (WebCore::NPN_Invoke):
1749 2016-02-24 Per Arne Vollan <peavo@outlook.com>
1751 [WinCairo] Mark layer as non composited.
1752 https://bugs.webkit.org/show_bug.cgi?id=154640
1754 Reviewed by Alex Christensen.
1756 We need to mark the non composited layer as being non composited.
1758 * WebCoreSupport/AcceleratedCompositingContext.cpp:
1759 (AcceleratedCompositingContext::initialize):
1760 (AcceleratedCompositingContext::flushPendingLayerChanges):
1762 2016-02-22 Per Arne Vollan <peavo@outlook.com>
1764 [WinCairo] Compile fix.
1765 https://bugs.webkit.org/show_bug.cgi?id=154545
1767 Reviewed by Alex Christensen.
1769 Add missing parameter to GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers().
1771 * WebCoreSupport/AcceleratedCompositingContext.cpp:
1772 (AcceleratedCompositingContext::flushPendingLayerChanges):
1774 2016-02-21 Darin Adler <darin@apple.com>
1776 Refactor LazyEventListener creation to separate Element and Document cases
1777 https://bugs.webkit.org/show_bug.cgi?id=154231
1779 Reviewed by Andreas Kling.
1781 * WebView.h: Forward declare KeyboardEvent.
1783 2016-02-16 Andreas Kling <akling@apple.com>
1785 Drop StyleResolver and SelectorQueryCache when entering PageCache.
1786 <https://webkit.org/b/154238>
1788 Reviewed by Antti Koivisto.
1790 * WebCoreSupport/WebVisitedLinkStore.cpp:
1791 (WebVisitedLinkStore::removeAllVisitedLinks): Deleted.
1792 (WebVisitedLinkStore::addVisitedLinkHash): Deleted.
1794 2016-02-14 Chris Dumez <cdumez@apple.com>
1796 Unreviewed Window build fix.
1798 * WebCoreStatistics.cpp:
1799 * WebJavaScriptCollector.cpp:
1801 2016-02-12 Jiewen Tan <jiewen_tan@apple.com>
1803 WebKit should expose the DOM 4 Event.isTrusted property
1804 https://bugs.webkit.org/show_bug.cgi?id=76121
1805 <rdar://problem/22558494>
1807 Reviewed by Darin Adler.
1809 * DOMCoreClasses.cpp:
1810 (DOMNode::dispatchEvent):
1811 (DOMWindow::dispatchEvent):
1813 2016-02-11 Antti Koivisto <antti@apple.com>
1815 Try to fix windows build.
1817 * DOMCoreClasses.cpp:
1818 (DOMElement::style):
1819 (DOMElement::offsetLeft):
1821 2016-02-06 Darin Adler <darin@apple.com>
1823 Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
1824 https://bugs.webkit.org/show_bug.cgi?id=153905
1826 Reviewed by Sam Weinig.
1828 * Plugins/PluginDatabase.cpp:
1829 (WebCore::PluginDatabase::pluginForMIMEType): Use ASCII case-insensitive map rather
1830 than lowercasing the MIME type.
1831 (WebCore::PluginDatabase::setPreferredPluginForMIMEType): Ditto.
1833 * Plugins/PluginDatabase.h: Make m_preferredPlugins use an ASCII case-insensitive hash.
1835 * Plugins/PluginPackage.h: Use ASCII case-insensitive hash for maps keyed by MIME type.
1837 * Plugins/PluginPackageWin.cpp:
1838 (WebCore::PluginPackage::fetchInfo): Use convertToASCIILowercase to lowercase a MIME type.
1840 2016-02-04 Joseph Pecoraro <pecoraro@apple.com>
1842 Web Inspector: InspectorTimelineAgent doesn't need to recompile functions because it now uses the sampling profiler
1843 https://bugs.webkit.org/show_bug.cgi?id=153500
1844 <rdar://problem/24352458>
1846 Reviewed by Timothy Hatcher.
1849 (WebInspector::isJavaScriptProfilingEnabled):
1850 (WebInspector::setJavaScriptProfilingEnabled):
1851 Switch to the new API names.
1853 2016-01-31 Darin Adler <darin@apple.com>
1855 Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1856 https://bugs.webkit.org/show_bug.cgi?id=153639
1858 Reviewed by Filip Pizlo.
1860 * WebCoreStatistics.cpp:
1861 (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
1862 These names are all ASCII.
1864 * WebURLResponse.cpp:
1865 (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
1866 field names. These names are all ASCII.
1868 2016-01-30 Commit Queue <commit-queue@webkit.org>
1870 Unreviewed, rolling out r195911.
1871 https://bugs.webkit.org/show_bug.cgi?id=153723
1873 Caused frequent assertion failures on bots (Requested by ap on
1878 "Replace CaseFoldingHash with ASCIICaseInsensitiveHash"
1879 https://bugs.webkit.org/show_bug.cgi?id=153639
1880 http://trac.webkit.org/changeset/195911
1882 2016-01-30 Commit Queue <commit-queue@webkit.org>
1884 Unreviewed, rolling out r195799 and r195828.
1885 https://bugs.webkit.org/show_bug.cgi?id=153722
1887 Caused assertion failures, severely affecting EWS (Requested
1890 Reverted changesets:
1892 "Web Inspector: InspectorTimelineAgent doesn't need to
1893 recompile functions because it now uses the sampling profiler"
1894 https://bugs.webkit.org/show_bug.cgi?id=153500
1895 http://trac.webkit.org/changeset/195799
1897 "Attempt to fix the Windows build after r195799"
1898 http://trac.webkit.org/changeset/195828
1900 2016-01-30 Darin Adler <darin@apple.com>
1902 Replace CaseFoldingHash with ASCIICaseInsensitiveHash
1903 https://bugs.webkit.org/show_bug.cgi?id=153639
1905 Reviewed by Filip Pizlo.
1907 * WebCoreStatistics.cpp:
1908 (WebCoreStatistics::memoryStatistics): Use ASCIICaseInsensitiveHash for field names.
1909 These names are all ASCII.
1911 * WebURLResponse.cpp:
1912 (WebURLResponse::allHeaderFields): Use ASCIICaseInsensitiveHash for HTTP header
1913 field names. These names are all ASCII.
1915 2016-01-29 Ryan Haddad <ryanhaddad@apple.com>
1917 Attempt to fix the Windows build after r195799
1919 Unreviewed build fix.
1922 (WebInspector::isJavaScriptProfilingEnabled):
1923 (WebInspector::setJavaScriptProfilingEnabled):
1925 2016-01-28 Darin Adler <darin@apple.com>
1927 Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
1928 https://bugs.webkit.org/show_bug.cgi?id=153411
1930 Reviewed by Ryosuke Niwa.
1932 * Plugins/PluginDatabase.cpp:
1933 (WebCore::PluginDatabase::MIMETypeForExtension): Use equalIgnoringASCIICase to compare
1935 * Plugins/PluginDatabaseWin.cpp:
1936 (WebCore::PluginDatabase::getPluginPathsInDirectories): Use equalLettersIgnoringASCIICase
1937 to compare filenames.
1938 * Plugins/PluginPackageWin.cpp:
1939 (WebCore::PluginPackage::isPluginBlacklisted): Use equalLettersIgnoringASCIICase to
1940 compare DLL filenames.
1941 * Plugins/PluginStream.cpp:
1942 (WebCore::PluginStream::destroyStream): Use equalLettersIgnoringASCIICase to check HTTP method.
1943 * Plugins/PluginView.cpp:
1944 (WebCore::PluginView::setParameters): Use equalLettersIgnoringASCIICase to check
1945 plug-in parameter name.
1947 (WebView::canHandleRequest): Use URL::protocolIs instead of equalIgnoringCase.
1949 2016-01-22 Ryosuke Niwa <rniwa@webkit.org>
1951 document.createElement should be able to create a custom element
1952 https://bugs.webkit.org/show_bug.cgi?id=153173
1954 Reviewed by Darin Adler.
1956 Use createElementForBindings here since this is a C++ binding for Windows.
1958 * DOMCoreClasses.cpp:
1959 (DOMDocument::createElement):
1961 2016-01-24 Gyuyoung Kim <gyuyoung.kim@webkit.org>
1963 Reduce PassRefPtr uses in dom - 4
1964 https://bugs.webkit.org/show_bug.cgi?id=153270
1966 Reviewed by Darin Adler.
1968 As a step to remove PassRefPtr uses, this patch reduces the uses in WebCore/dom.
1970 * Plugins/PluginView.cpp:
1971 (WebCore::PluginView::focusPluginElement):
1973 2016-01-17 Ada Chan <adachan@apple.com>
1975 Add a mode parameter to MediaControllerInterface::supportsFullscreen() and ChromeClient::supportsVideoFullscreen().
1976 https://bugs.webkit.org/show_bug.cgi?id=153220
1978 Reviewed by Eric Carlson.
1980 * WebCoreSupport/WebChromeClient.cpp:
1981 (WebChromeClient::supportsVideoFullscreen):
1982 * WebCoreSupport/WebChromeClient.h:
1984 2016-01-22 Youenn Fablet <youenn.fablet@crf.canon.fr>
1986 Remove PassRefPtr from ResourceRequest and FormData
1987 https://bugs.webkit.org/show_bug.cgi?id=153229
1989 Reviewed by Chris Dumez.
1991 * WebMutableURLRequest.cpp:
1992 (WebMutableURLRequest::setHTTPBody):
1994 2016-01-15 Simon Fraser <simon.fraser@apple.com>
1996 Remove GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon()
1997 https://bugs.webkit.org/show_bug.cgi?id=153174
1999 Reviewed by Zalan Bujtas.
2001 GraphicsContext::drawConvexPolygon() and GraphicsContext::clipConvexPolygon() were
2002 poorly named (non-convex polygons are allowed), and just syntactic sugar over
2003 clipPath() and drawPath().
2005 Remove them, but add a convenience function to create a Path from a Vector of
2006 points. For CG, we can use the more efficient CGPathAddLines().
2008 * FullscreenVideoController.cpp:
2011 2016-01-05 Per Arne Vollan <peavo@outlook.com>
2013 [WinCairo] Download should use header values from provided request object.
2014 https://bugs.webkit.org/show_bug.cgi?id=152694
2016 Reviewed by Alex Christensen.
2018 Copy header values from request object parameter.
2020 * WebDownloadCurl.cpp:
2021 (WebDownload::initWithRequest):
2023 2015-12-31 Andy Estes <aestes@apple.com>
2025 Replace WTF::move with WTFMove
2026 https://bugs.webkit.org/show_bug.cgi?id=152601
2028 Reviewed by Brady Eidson.
2030 * Plugins/PluginStream.cpp:
2031 (WebCore::PluginStream::willSendRequest):
2032 * Plugins/PluginView.cpp:
2033 (WebCore::PluginView::requestTimerFired):
2034 (WebCore::PluginView::scheduleRequest):
2035 (WebCore::PluginView::handlePost):
2036 * WebCoreSupport/WebFrameLoaderClient.cpp:
2037 (WebFrameLoaderClient::createDocumentLoader):
2038 * WebCoreSupport/WebInspectorClient.cpp:
2039 (WebInspectorFrontendClient::WebInspectorFrontendClient):
2041 (createUserInfoFromArray):
2042 * WebHistoryItem.cpp:
2043 (WebHistoryItem::initFromDictionaryRepresentation):
2045 (WebView::addToDirtyRegion):
2046 (WebView::scrollBackingStore):
2047 (WebView::loadBackForwardListFromOtherView):
2048 (WebView::addUserScriptToGroup):
2049 (WebView::addUserStyleSheetToGroup):
2051 2015-12-29 Simon Fraser <simon.fraser@apple.com>
2056 (WebView::scrollOffset):
2058 2015-12-25 David Kilzer <ddkilzer@apple.com>
2060 ResourceError should store failingURL as URL instead of String to avoid reparsing and to address FIXME comments in ResourceErrorCF.cpp and ResourceErrorMac.mm
2061 <http://webkit.org/b/146391>
2063 Reviewed by Antti Koivisto.
2065 * WebCoreSupport/WebFrameLoaderClient.cpp:
2066 (WebFrameLoaderClient::cancelledError):
2067 (WebFrameLoaderClient::blockedError):
2068 (WebFrameLoaderClient::cannotShowURLError):
2069 (WebFrameLoaderClient::interruptedForPolicyChangeError):
2070 (WebFrameLoaderClient::cannotShowMIMETypeError):
2071 (WebFrameLoaderClient::fileDoesNotExistError):
2072 (WebFrameLoaderClient::pluginWillHandleLoadError):
2073 (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2074 (WebFrameLoaderClient::createJavaAppletWidget):
2075 * WebDownloadCFNet.cpp:
2076 (WebDownload::cancelAuthenticationChallenge):
2079 - Update for type change of 'failingURL' argument to
2082 2015-12-23 Brent Fulgham <bfulgham@apple.com>
2084 Web Inspector: add support for running protocol-test.js tests on Windows
2085 https://bugs.webkit.org/show_bug.cgi?id=148037
2086 <rdar://problem/22292237>
2088 Reviewed by Simon Fraser.
2090 Provide API for WebKit.dll clients to request its CFBundleRef.
2093 (webKitBundle): Added.
2096 2015-12-20 Dan Bernstein <mitz@apple.com>
2098 Remove unused setToolbarHeight
2099 https://bugs.webkit.org/show_bug.cgi?id=152466
2101 Reviewed by Darin Adler.
2103 * WebCoreSupport/WebInspectorClient.cpp:
2104 (WebInspectorFrontendClient::setToolbarHeight): Deleted.
2105 * WebCoreSupport/WebInspectorClient.h:
2107 2015-12-15 Zan Dobersek <zdobersek@igalia.com>
2109 [TexMap] Operate with a reference to the TextureMapper wherever possible
2110 https://bugs.webkit.org/show_bug.cgi?id=152118
2112 Reviewed by Martin Robinson.
2114 * WebCoreSupport/AcceleratedCompositingContext.cpp:
2115 (AcceleratedCompositingContext::compositeLayersToContext): TextureMapper object
2116 is now operated with through a reference.
2118 2015-12-01 Darin Adler <darin@apple.com>
2120 Fix anomaly where isMouseEvent returns false for wheel events
2121 https://bugs.webkit.org/show_bug.cgi?id=151685
2123 Reviewed by Alexey Proskuryakov.
2125 * DOMEventsClasses.cpp:
2126 (DOMEvent::createInstance): Use eventInterface instead of isMouseEvent to create the appropriate
2129 2015-11-24 Per Arne Vollan <peavo@outlook.com>
2131 [Win] Implement methods to get and set inner html.
2132 https://bugs.webkit.org/show_bug.cgi?id=151569
2134 Reviewed by Alex Christensen.
2136 * DOMHTMLClasses.cpp:
2137 (DOMHTMLElement::innerHTML):
2138 (DOMHTMLElement::setInnerHTML):
2139 (DOMHTMLElement::innerText):
2141 == Rolled over to ChangeLog-2015-11-21 ==