- 02 Dec, 2013 13 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125011 Patch by László Langó <lango@inf.u-szeged.hu> on 2013-12-02 Reviewed by Filip Pizlo. * bytecode/Opcode.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125042 Reviewed by Mario Sanchez Prada. Source/WebCore: When an AX text marker that references a node in a detached document is used to create a text marker range, a crash occurs because the method to determine commonTreeScopes does not account for when there are no common tree scopes. Test: platform/mac/accessibility/ordered-textmarker-crash.html * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::visiblePositionRangeForUnorderedPositions): * dom/TreeScope.cpp: (WebCore::commonTreeScope): LayoutTests: * platform/mac/accessibility/ordered-textmarker-crash-expected.txt: Added. * platform/mac/accessibility/ordered-textmarker-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=124975 Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-12-02 Reviewed by Philippe Normand. Merged https://chromium.googlesource.com/chromium/blink/+/b21838b32bf11b1a972dfc449ddde71115490c23 Before this patch, it was hitting a use-after-free crash when the audio track in the media stream is going away and the webaudio mediastreamsourcenode is still running. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::createMediaStreamSource): Passing audio track pointer to MediaStreamAudioSourceNode constructor. * Modules/webaudio/MediaStreamAudioSourceNode.cpp: (WebCore::MediaStreamAudioSourceNode::create): (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode): * Modules/webaudio/MediaStreamAudioSourceNode.h: Added MediaStreamTrack class variable and change the constructor to receive it as parameter. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* platform/gtk/TestExpectations: Adding failure expectations for the fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top.html reftest. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gyuyoung.kim@samsung.com authored
Error messages are changed. So, test results need to be updated. * platform/efl/fast/forms/validation-message-appearance-expected.txt: * platform/efl/fast/forms/validationMessage-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125044 Compilers that do not support const/inline/volatile and systems with pre-C89-headers are anyway not supported. Patch by Adrian Bunk <bunk@stusta.de> on 2013-12-02 Reviewed by Gustavo Noronha Silva. * Source/autotools/CheckSystemAndBasicDependencies.m4: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gns@gnome.org authored
https://bugs.webkit.org/show_bug.cgi?id=124967 Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-12-02 Reviewed by Carlos Garcia Campos. * webkit/webkitwebview.cpp: (webkit_web_view_expose_event): also paint AC layers when painting the widget, when AC is on. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125009 Patch by Andrzej Badowski <a.badowski@samsung.com> on 2013-12-02 Reviewed by Chris Fleizach. Source/WebCore: Added support for ATK_STATE_ACTIVE for listbox elements. * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (setAtkStateSetFromCoreObject): Tools: Supplement WebKitTestRunner and DumpRenderTree to support isSelectedOptionActive. * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: (AccessibilityUIElement::isSelectedOptionActive): * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: (WTR::AccessibilityUIElement::isSelectedOptionActive): * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl: * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: (WTR::AccessibilityUIElement::isSelectedOptionActive): * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: (WTR::AccessibilityUIElement::isSelectedOptionActive): LayoutTests: Establish expectations for the test (all PASS). * accessibility/multiselect-list-reports-active-option-expected.txt: Added. * platform/efl-wk1/TestExpectations: * platform/efl-wk2/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* Scripts/run-gtk-tests: (TestRunner): Skip two unit tests that are causing the subsequent test to crash. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seokju@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125061 Reviewed by Antoine Quint. Get rid of unused functions, redundant inclusion and forward declaration. No new tests, no behavior changes. * inspector/InspectorAgent.cpp: * inspector/InspectorAgent.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125010 Patch by Tibor Meszaros <mtibor@inf.u-szeged.hu> on 2013-12-02 Reviewed by Csaba Osztrogonác. * page/EventHandler.cpp: (WebCore::EventHandler::eventInvertsTabsToLinksClientCallResult): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125003 Patch by Attila Dusnoki <adusnoki@inf.u-szeged.hu> on 2013-12-02 Reviewed by Gyuyoung Kim. * platform/efl/LocalizedStringsEfl.cpp: (WebCore::validationMessagePatternMismatchText): (WebCore::validationMessageValueMissingText): (WebCore::validationMessageValueMissingForCheckboxText): (WebCore::validationMessageValueMissingForFileText): (WebCore::validationMessageValueMissingForMultipleFileText): (WebCore::validationMessageValueMissingForRadioText): (WebCore::validationMessageValueMissingForSelectText): (WebCore::validationMessageBadInputForNumberText): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
changseok.oh@collabora.com authored
* UIProcess/DrawingAreaProxyImpl.cpp: (WebKit::DrawingAreaProxyImpl::layerHostingModeDidChange): (WebKit::DrawingAreaProxyImpl::update): (WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState): (WebKit::DrawingAreaProxyImpl::sendUpdateBackingStoreState): (WebKit::DrawingAreaProxyImpl::waitForAndDispatchDidUpdateBackingStoreState): * UIProcess/gtk/WebFullScreenManagerProxyGtk.cpp: (WebKit::WebFullScreenManagerProxy::invalidate): * UIProcess/gtk/WebInspectorProxyGtk.cpp: (WebKit::WebInspectorProxy::platformCreateInspectorPage): * UIProcess/gtk/WebPageProxyGtk.cpp: (WebKit::WebPageProxy::setAcceleratedCompositingWindowId): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Dec, 2013 16 commits
-
-
akling@apple.com authored
<https://webkit.org/b/125058> Make RenderSVGModelObject's checkIntersection() and checkEnclosure() take RenderElement* instead of RenderObject*. They are only ever called with SVGElement's renderers. Reviewed by Sam Weinig. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/125057> The following properties are implemented in DeprecatedStyleBuilder and should not have case labels in the applyProperty() switch: -webkit-margin-before-collapse -webkit-margin-top-collapse -webkit-margin-after-collapse -webkit-margin-bottom-collapse This seems counter-intuitive, but they are actually *not* like other directional properties. In this case, before/after are only aliases for top/bottom, and do not depend on writing-mode or text-direction. See also r68561, where the aliases were originally added. Reviewed by Anders Carlsson. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/125054> Make CSSFunctionValue::create() helpers return PassRef instead of PassRefPtr since they will never return null. Reviewed by Anders Carlsson. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/159764 https://bugs.webkit.org/show_bug.cgi?id=125055 appears to hurt html5-full-render times (Requested by kling on #webkit). * html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::insertTextNode): * html/parser/HTMLConstructionSite.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125053 Reviewed by Dan Bernstein. - Give the UserMessageEncoders a process reference. - Switch UserMessageDecoders to storing a process reference, rather than pointer. * Shared/UserMessageCoders.h: * Shared/mac/ObjCObjectGraphCoders.h: * Shared/mac/ObjCObjectGraphCoders.mm: * UIProcess/WebConnectionToWebProcess.cpp: * UIProcess/WebContext.cpp: * UIProcess/WebContextUserMessageCoders.h: * UIProcess/WebPageProxy.cpp: * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
akling@apple.com authored
<https://webkit.org/b/125043> Reduce branchiness in computed style code by making more of the file-local helpers return PassRef instead of PassRefPtr. Reviewed by Anders Carlsson. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125051 Reviewed by Dan Bernstein. * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::platformInitialize): Add missing call to _finishInitialization. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ryuan.choi@samsung.com authored
* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp: (WebKit::CoordinatedDrawingAreaProxy::layerHostingModeDidChange): (WebKit::CoordinatedDrawingAreaProxy::update): (WebKit::CoordinatedDrawingAreaProxy::didUpdateBackingStoreState): (WebKit::CoordinatedDrawingAreaProxy::sendUpdateBackingStoreState): (WebKit::CoordinatedDrawingAreaProxy::waitForAndDispatchDidUpdateBackingStoreState): * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp: (WebKit::CoordinatedLayerTreeHostProxy::CoordinatedLayerTreeHostProxy): (WebKit::CoordinatedLayerTreeHostProxy::~CoordinatedLayerTreeHostProxy): (WebKit::CoordinatedLayerTreeHostProxy::setVisibleContentsRect): (WebKit::CoordinatedLayerTreeHostProxy::renderNextFrame): (WebKit::CoordinatedLayerTreeHostProxy::purgeBackingStores): (WebKit::CoordinatedLayerTreeHostProxy::commitScrollOffset): * UIProcess/WebTextChecker.cpp: (WebKit::WebTextChecker::checkSpelling): (WebKit::WebTextChecker::changeSpellingToWord): * UIProcess/WebTextChecker.h: * UIProcess/WebVibrationProxy.cpp: (WebKit::WebVibrationProxy::WebVibrationProxy): (WebKit::WebVibrationProxy::~WebVibrationProxy): * UIProcess/efl/WebFullScreenManagerProxyEfl.cpp: (WebKit::WebFullScreenManagerProxy::invalidate): * UIProcess/efl/WebInspectorProxyEfl.cpp: (WebKit::WebInspectorProxy::platformCreateInspectorPage): * UIProcess/efl/WebPageProxyEfl.cpp: (WebKit::WebPageProxy::setThemePath): (WebKit::WebPageProxy::confirmComposition): (WebKit::WebPageProxy::setComposition): (WebKit::WebPageProxy::cancelComposition): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
* UIProcess/API/ios/WKContentView.mm: * UIProcess/API/ios/WKInteractionView.mm: * UIProcess/ios/WebPageProxyIOS.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125047 Reviewed by Dan Bernstein. * UIProcess/API/C/WKPage.cpp: * UIProcess/API/C/mac/WKPagePrivateMac.cpp: * UIProcess/API/Cocoa/WKBrowsingContextController.mm: * UIProcess/API/mac/WKView.mm: * UIProcess/Downloads/DownloadProxy.cpp: * UIProcess/Downloads/DownloadProxy.h: * UIProcess/Downloads/DownloadProxyMap.cpp: * UIProcess/Downloads/DownloadProxyMap.h: * UIProcess/DrawingAreaProxy.cpp: * UIProcess/GeolocationPermissionRequestManagerProxy.cpp: * UIProcess/Network/NetworkProcessProxy.cpp: * UIProcess/Network/NetworkProcessProxy.h: * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp: * UIProcess/Notifications/WebNotificationManagerProxy.cpp: * UIProcess/WebContext.cpp: * UIProcess/WebContext.h: * UIProcess/WebEditCommandProxy.cpp: * UIProcess/WebFrameProxy.cpp: * UIProcess/WebFullScreenManagerProxy.cpp: * UIProcess/WebInspectorProxy.cpp: * UIProcess/WebPageGroup.h: * UIProcess/WebPageProxy.cpp: * UIProcess/WebPageProxy.h: * UIProcess/WebProcessProxy.cpp: * UIProcess/WebProcessProxy.h: * UIProcess/cf/WebPageProxyCF.cpp: * UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm: * UIProcess/mac/RemoteLayerTreeHost.mm: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: * UIProcess/mac/WebFullScreenManagerProxyMac.mm: * UIProcess/mac/WebInspectorProxyMac.mm: * UIProcess/mac/WebPageProxyMac.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125046 Reviewed by Sam Weinig. * MiniBrowser/mac/AppDelegate.m: (-[BrowserAppDelegate newWindow:]): Added WK_API_ENABLED guards. (-[BrowserAppDelegate openDocument:]): Ditto. * MiniBrowser/mac/WK2BrowserWindowController.h: Ditto. Also moved ivar declarations from the interface to the implementation. * MiniBrowser/mac/WK2BrowserWindowController.m: (-[WK2BrowserWindowController awakeFromNib]): Changed to set the policy delegate instead of the policy client. (-[WK2BrowserWindowController browsingContextController:decidePolicyForNavigationAction:decisionHandler:]): Moved policy client implementation into this delegate method. (-[WK2BrowserWindowController browsingContextController:decidePolicyForNewWindowAction:decisionHandler:]): Ditto. (-[WK2BrowserWindowController browsingContextController:decidePolicyForResponseAction:decisionHandler:]): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ryuan.choi@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=125033 Reviewed by Gyuyoung Kim. m_contentsSize should be cleared when new contents are loaded so that PageViewportController would take care of newly loaded contents with same size as previous one. It's because PageViewportController is cleared not to make wrong behaviour while loading when new contents are committed. * UIProcess/API/efl/tests/test_ewk2_view.cpp: (TEST_F): Improve tests to check contents,size,changed signal when loaded contents having same size with previous one. * UIProcess/CoordinatedGraphics/WebView.cpp: (WebKit::WebView::didCommitLoadForMainFrame): Cleared m_contentsSize. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125041 Reviewed by Anders Carlsson. It had no ops! * MiniBrowser/Configurations/WebBundle.xcconfig: Removed. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: * MiniBrowser/mac/AppDelegate.m: (-[BrowserAppDelegate init]): * MiniBrowser/mac/WebBundle/Info.plist: Removed. * MiniBrowser/mac/WebBundle/WebBundleMain.m: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
* UIProcess/API/gtk/WebKitWebContext.cpp: (webkitWebContextCreatePageForWebView): * UIProcess/API/gtk/WebKitWebView.cpp: (webkitWebViewConstructed): * UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkitWebViewBaseUpdatePreferences): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ryuan.choi@samsung.com authored
* UIProcess/API/efl/ewk_settings.cpp: (EwkSettings::preferences): * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp: (WebKit::CoordinatedDrawingAreaProxy::CoordinatedDrawingAreaProxy): * UIProcess/CoordinatedGraphics/WebView.cpp: (WebKit::WebView::WebView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ryuan.choi@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=125034 Reviewed by Gyuyoung Kim. Implemented scrollbarThickness to support opaque scrollbar. Now, edj can decide whether to support opaque scrollbar by adding scrollbar.thickness. In addition, added OVERRIDE/FINAL keyword and removed unnecessary destructor in ScrollbarThemeEfl.cpp. No new tests, no behavior changes with default theme. * platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::loadTheme): Update thickness of scrollbar when theme was loaded. * platform/efl/ScrollbarThemeEfl.cpp: * platform/efl/ScrollbarThemeEfl.h: (WebCore::ScrollbarThemeEfl::setScrollbarThickness): (WebCore::ScrollbarThemeEfl::scrollbarThickness): (WebCore::ScrollbarThemeEfl::registerScrollbar): (WebCore::ScrollbarThemeEfl::unregisterScrollbar): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Nov, 2013 11 commits
-
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125038 Reviewed by Dan Bernstein. * UIProcess/API/C/WKPage.cpp: (WKPageGetPageGroup): * UIProcess/API/C/mac/WKPagePrivateMac.cpp: (WKPageIsURLKnownHSTSHost): * UIProcess/API/Cocoa/WKBrowsingContextController.mm: (-[WKBrowsingContextController browsingContextGroup]): * UIProcess/API/mac/WKView.mm: (-[WKView _preferencesDidChange]): (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]): * UIProcess/WebContext.cpp: (WebKit::WebContext::WebContext): (WebKit::WebContext::createWebPage): * UIProcess/WebContext.h: * UIProcess/WebInspectorProxy.cpp: (WebKit::WebInspectorPageGroups::inspectorLevel): (WebKit::WebInspectorPageGroups::isInspectorPageGroup): (WebKit::WebInspectorPageGroups::inspectorPageGroupLevel): (WebKit::WebInspectorProxy::isInspectorPage): * UIProcess/WebInspectorProxy.h: * UIProcess/WebPageGroup.cpp: (WebKit::WebPageGroup::createNonNull): * UIProcess/WebPageGroup.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::create): (WebKit::WebPageProxy::WebPageProxy): (WebKit::WebPageProxy::maybeInitializeSandboxExtensionHandle): (WebKit::WebPageProxy::preferencesDidChange): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::pageGroup): * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::createWebPage): * UIProcess/WebProcessProxy.h: * UIProcess/mac/WebInspectorProxyMac.mm: (WebKit::WebInspectorProxy::createInspectorWindow): (WebKit::WebInspectorProxy::platformCreateInspectorPage): (WebKit::WebInspectorProxy::windowFrameDidChange): * UIProcess/mac/WebProcessProxyMac.mm: (WebKit::WebProcessProxy::pageIsProcessSuppressible): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Added a version of +[NSURL _web_URLWithWTFString:relativeToURL:] that doesn’t take a base URL and switched all callers to it. https://bugs.webkit.org/show_bug.cgi?id=125040 Reviewed by Sam Weinig. * Shared/Cocoa/WKNSURLExtras.h: Declared new method. * Shared/Cocoa/WKNSURLExtras.mm: (urlWithWTFString): Added helper function. (+[NSURL _web_URLWithWTFString:]): Added. (+[NSURL _web_URLWithWTFString:relativeToURL:]): Changed to use helper function. * UIProcess/API/Cocoa/WKBackForwardListItem.mm: (-[WKBackForwardListItem URL]): Changed to call new method. (-[WKBackForwardListItem originalURL]): Ditto. * UIProcess/API/Cocoa/WKBrowsingContextController.mm: (-[WKBrowsingContextController activeURL]): Ditto. (-[WKBrowsingContextController provisionalURL]): Ditto. (-[WKBrowsingContextController committedURL]): Ditto. (-[WKBrowsingContextController unreachableURL]): Ditto. (setUpPagePolicyClient): Ditto. * UIProcess/API/Cocoa/WKNavigationData.mm: (-[WKNavigationData destinationURL]): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125036 Reviewed by Sam Weinig. * Shared/Cocoa/WKNSURLExtras.h: Declared new method. * Shared/Cocoa/WKNSURLExtras.mm: (-[NSURL _web_originalDataAsWTFString]): Added. Returns a WTF::String with the receiver’s bytes. * UIProcess/API/Cocoa/WKBrowsingContextController.mm: (-[WKBrowsingContextController loadRequest:userData:]): (-[WKBrowsingContextController loadFileURL:restrictToFilesWithin:userData:]): (-[WKBrowsingContextController loadHTMLString:baseURL:userData:]): (-[WKBrowsingContextController loadAlternateHTMLString:baseURL:forUnreachableURL:]): (-[WKBrowsingContextController loadData:MIMEType:textEncodingName:baseURL:userData:]): (-[WKBrowsingContextController stopLoading]): (-[WKBrowsingContextController reload]): (-[WKBrowsingContextController reloadFromOrigin]): (-[WKBrowsingContextController goForward]): (-[WKBrowsingContextController canGoForward]): (-[WKBrowsingContextController goBack]): (-[WKBrowsingContextController canGoBack]): (-[WKBrowsingContextController activeURL]): (-[WKBrowsingContextController provisionalURL]): (-[WKBrowsingContextController committedURL]): (-[WKBrowsingContextController title]): (-[WKBrowsingContextController textZoom]): (-[WKBrowsingContextController setTextZoom:]): (-[WKBrowsingContextController pageZoom]): (-[WKBrowsingContextController setPageZoom:]): (setUpPageLoaderClient): (setUpPagePolicyClient): (-[WKBrowsingContextController setLoadDelegate:]): (-[WKBrowsingContextController setPolicyDelegate:]): (-[WKBrowsingContextController _pageRef]): (-[WKBrowsingContextController setPaginationMode:]): (-[WKBrowsingContextController paginationMode]): (-[WKBrowsingContextController setPaginationBehavesLikeColumns:]): (-[WKBrowsingContextController paginationBehavesLikeColumns]): (-[WKBrowsingContextController setPageLength:]): (-[WKBrowsingContextController pageLength]): (-[WKBrowsingContextController setGapBetweenPages:]): (-[WKBrowsingContextController gapBetweenPages]): (-[WKBrowsingContextController pageCount]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
http://trac.webkit.org/changeset/159865 https://bugs.webkit.org/show_bug.cgi?id=125037 the position of mouse events are wrong at MiniBrowser/efl (Requested by ryuan on #webkit). * UIProcess/API/efl/EwkView.cpp: (EwkView::displayTimerFired): (EwkView::createGLSurface): (EwkView::handleEvasObjectCalculate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=124946 Patch by peavo@outlook.com <peavo@outlook.com> on 2013-11-30 Reviewed by Brent Fulgham. Use native Win32 api functions to compute Daylight saving time offset. * wtf/DateMath.cpp: (WTF::UnixTimeToFileTime): Added method to calculate Win32 specific struct FILETIME from time_t value. (WTF::calculateDSTOffset): Use native Win32 api functions to compute Daylight saving time offset. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125035 Reviewed by Dan Bernstein. * UIProcess/API/C/WKPage.cpp: (WKPageGetBackForwardList): * UIProcess/API/Cocoa/WKBrowsingContextController.mm: (-[WKBrowsingContextController backForwardList]): Remove null check. * UIProcess/WebBackForwardList.cpp: (WebKit::WebBackForwardList::WebBackForwardList): (WebKit::WebBackForwardList::currentItem): Constify. (WebKit::WebBackForwardList::backItem): Constify. (WebKit::WebBackForwardList::forwardItem): Constify. (WebKit::WebBackForwardList::itemAtIndex): Constify. * UIProcess/WebBackForwardList.h: (WebKit::WebBackForwardList::create): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::backForwardList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
* UIProcess/gtk/WebPageProxyGtk.cpp: (WebKit::WebPageProxy::viewWidget): Adjust the static cast of the PageClient reference to PageClientImpl. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125030 Reviewed by Dan Bernstein. * UIProcess/API/gtk/WebKitWebViewBase.cpp: (webkitWebViewBaseCreateWebPage): * UIProcess/API/ios/WKContentView.mm: (-[WKContentView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]): * UIProcess/API/mac/WKView.mm: (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]): * UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp: (WebKit::WebPageProxy::didFindZoomableArea): * UIProcess/CoordinatedGraphics/WebView.cpp: (WebKit::WebView::WebView): * UIProcess/WebContext.cpp: (WebKit::WebContext::createWebPage): * UIProcess/WebContext.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::create): (WebKit::WebPageProxy::WebPageProxy): (WebKit::WebPageProxy::reattachToWebProcess): (WebKit::WebPageProxy::initializeWebPage): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::setViewNeedsDisplay): (WebKit::WebPageProxy::displayView): (WebKit::WebPageProxy::canScrollView): (WebKit::WebPageProxy::scrollView): (WebKit::WebPageProxy::updateViewState): (WebKit::WebPageProxy::viewStateDidChange): (WebKit::WebPageProxy::viewSize): (WebKit::WebPageProxy::startDrag): (WebKit::WebPageProxy::handleTouchEvent): (WebKit::WebPageProxy::preferencesDidChange): (WebKit::WebPageProxy::didCommitLoadForFrame): (WebKit::WebPageProxy::closePage): (WebKit::WebPageProxy::setWindowFrame): (WebKit::WebPageProxy::getWindowFrame): (WebKit::WebPageProxy::screenToWindow): (WebKit::WebPageProxy::windowToScreen): (WebKit::WebPageProxy::pageDidRequestScroll): (WebKit::WebPageProxy::pageTransitionViewportReady): (WebKit::WebPageProxy::didRenderFrame): (WebKit::WebPageProxy::didChangeViewportProperties): (WebKit::WebPageProxy::handleDownloadRequest): (WebKit::WebPageProxy::didChangeContentSize): (WebKit::WebPageProxy::showColorPicker): (WebKit::WebPageProxy::editorStateChanged): (WebKit::WebPageProxy::canUndoRedo): (WebKit::WebPageProxy::executeUndoRedo): (WebKit::WebPageProxy::clearAllEditCommands): (WebKit::WebPageProxy::setFindIndicator): (WebKit::WebPageProxy::showPopupMenu): (WebKit::WebPageProxy::internalShowContextMenu): (WebKit::WebPageProxy::registerEditCommand): (WebKit::WebPageProxy::setToolTip): (WebKit::WebPageProxy::setCursor): (WebKit::WebPageProxy::setCursorHiddenUntilMouseMoves): (WebKit::WebPageProxy::didReceiveEvent): (WebKit::WebPageProxy::processDidCrash): (WebKit::WebPageProxy::resetStateAfterProcessExited): (WebKit::WebPageProxy::initializeCreationParameters): (WebKit::WebPageProxy::enterAcceleratedCompositingMode): (WebKit::WebPageProxy::exitAcceleratedCompositingMode): (WebKit::WebPageProxy::updateAcceleratedCompositingMode): (WebKit::WebPageProxy::requestGeolocationPermissionForFrame): (WebKit::WebPageProxy::recommendedScrollbarStyleDidChange): (WebKit::WebPageProxy::updateBackingStoreDiscardableState): (WebKit::WebPageProxy::showCorrectionPanel): (WebKit::WebPageProxy::dismissCorrectionPanel): (WebKit::WebPageProxy::dismissCorrectionPanelSoon): (WebKit::WebPageProxy::recordAutocorrectionResponse): (WebKit::WebPageProxy::showDictationAlternativeUI): (WebKit::WebPageProxy::removeDictationAlternatives): (WebKit::WebPageProxy::dictationAlternatives): * UIProcess/WebPageProxy.h: * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::createWebPage): * UIProcess/WebProcessProxy.h: * UIProcess/gtk/WebPageProxyGtk.cpp: (WebKit::WebPageProxy::getEditorCommandsForKeyEvent): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::interpretKeyEvent): (WebKit::WebPageProxy::mainDocumentDidReceiveMobileDocType): (WebKit::WebPageProxy::didGetTapHighlightGeometries): (WebKit::WebPageProxy::didChangeViewportArguments): (WebKit::WebPageProxy::startAssistingNode): (WebKit::WebPageProxy::stopAssistingNode): (WebKit::WebPageProxy::setAcceleratedCompositingRootLayer): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::windowAndViewFramesChanged): (WebKit::WebPageProxy::insertDictatedText): (WebKit::WebPageProxy::setDragImage): (WebKit::WebPageProxy::setPromisedData): (WebKit::WebPageProxy::interpretQueuedKeyEvent): (WebKit::WebPageProxy::didPerformDictionaryLookup): (WebKit::WebPageProxy::registerWebProcessAccessibilityToken): (WebKit::WebPageProxy::makeFirstResponder): (WebKit::WebPageProxy::colorSpace): (WebKit::WebPageProxy::pluginFocusOrWindowFocusChanged): (WebKit::WebPageProxy::setPluginComplexTextInputState): (WebKit::WebPageProxy::executeSavedCommandBySelector): (WebKit::WebPageProxy::wkView): (WebKit::WebPageProxy::intrinsicContentSizeDidChange): (WebKit::WebPageProxy::setAcceleratedCompositingRootLayer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125029 Reviewed by Dan Bernstein. * UIProcess/GeolocationPermissionRequestManagerProxy.cpp: (WebKit::GeolocationPermissionRequestManagerProxy::GeolocationPermissionRequestManagerProxy): (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests): (WebKit::GeolocationPermissionRequestManagerProxy::didReceiveGeolocationPermissionDecision): * UIProcess/GeolocationPermissionRequestManagerProxy.h: * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp: (WebKit::NotificationPermissionRequestManagerProxy::NotificationPermissionRequestManagerProxy): (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests): (WebKit::NotificationPermissionRequestManagerProxy::didReceiveNotificationPermissionDecision): * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::WebPageProxy): Do some additional modernization while we are here. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/15560240mitz@apple.com authored
<rdar://problem/15560240> ResourceError encoding drops NSURL-valued keys in the NSError’s userInfo, including NSErrorFailingURLKey https://bugs.webkit.org/show_bug.cgi?id=125016 Reviewed by Anders “happy name day” Carlsson. * Shared/mac/WebCoreArgumentCodersMac.mm: (CoreIPC::::encodePlatformData): Encode all string- and URL-valued keys as a dictionary. (CoreIPC::::decodePlatformData): Decode user info as a dictionary. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125025 Rubber stamped by Sam Weinig. This removes a bunch of unused and untested insanity. * bytecode/CodeBlock.cpp: (JSC::CodeBlock::tallyFrequentExitSites): * dfg/DFGArgumentsSimplificationPhase.cpp: (JSC::DFG::ArgumentsSimplificationPhase::run): * dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::injectLazyOperandSpeculation): (JSC::DFG::ByteCodeParser::getArrayModeConsideringSlowPath): (JSC::DFG::ByteCodeParser::makeSafe): (JSC::DFG::ByteCodeParser::makeDivSafe): (JSC::DFG::ByteCodeParser::handleCall): (JSC::DFG::ByteCodeParser::handleInlining): (JSC::DFG::ByteCodeParser::parseBlock): (JSC::DFG::ByteCodeParser::linkBlock): (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry): (JSC::DFG::ByteCodeParser::parseCodeBlock): (JSC::DFG::ByteCodeParser::parse): (JSC::DFG::parse): * dfg/DFGCFGSimplificationPhase.cpp: (JSC::DFG::CFGSimplificationPhase::run): (JSC::DFG::CFGSimplificationPhase::convertToJump): (JSC::DFG::CFGSimplificationPhase::fixJettisonedPredecessors): * dfg/DFGCSEPhase.cpp: (JSC::DFG::CSEPhase::endIndexForPureCSE): (JSC::DFG::CSEPhase::eliminateIrrelevantPhantomChildren): (JSC::DFG::CSEPhase::setReplacement): (JSC::DFG::CSEPhase::eliminate): (JSC::DFG::CSEPhase::performNodeCSE): * dfg/DFGCommon.h: (JSC::DFG::verboseCompilationEnabled): (JSC::DFG::logCompilationChanges): (JSC::DFG::shouldDumpGraphAtEachPhase): * dfg/DFGConstantFoldingPhase.cpp: (JSC::DFG::ConstantFoldingPhase::foldConstants): * dfg/DFGFixupPhase.cpp: (JSC::DFG::FixupPhase::fixupNode): (JSC::DFG::FixupPhase::injectInt32ToDoubleNode): * dfg/DFGInPlaceAbstractState.cpp: (JSC::DFG::InPlaceAbstractState::initialize): (JSC::DFG::InPlaceAbstractState::endBasicBlock): (JSC::DFG::InPlaceAbstractState::mergeStateAtTail): (JSC::DFG::InPlaceAbstractState::mergeToSuccessors): * dfg/DFGJITCompiler.cpp: (JSC::DFG::JITCompiler::compileBody): (JSC::DFG::JITCompiler::link): * dfg/DFGOSRExitCompiler.cpp: * dfg/DFGOSRExitCompiler32_64.cpp: (JSC::DFG::OSRExitCompiler::compileExit): * dfg/DFGOSRExitCompiler64.cpp: (JSC::DFG::OSRExitCompiler::compileExit): * dfg/DFGOSRExitCompilerCommon.cpp: (JSC::DFG::adjustAndJumpToTarget): * dfg/DFGPredictionInjectionPhase.cpp: (JSC::DFG::PredictionInjectionPhase::run): * dfg/DFGPredictionPropagationPhase.cpp: (JSC::DFG::PredictionPropagationPhase::run): (JSC::DFG::PredictionPropagationPhase::propagate): (JSC::DFG::PredictionPropagationPhase::propagateForward): (JSC::DFG::PredictionPropagationPhase::propagateBackward): (JSC::DFG::PredictionPropagationPhase::doRoundOfDoubleVoting): * dfg/DFGScoreBoard.h: (JSC::DFG::ScoreBoard::use): * dfg/DFGSlowPathGenerator.h: (JSC::DFG::SlowPathGenerator::generate): * dfg/DFGSpeculativeJIT.cpp: (JSC::DFG::SpeculativeJIT::terminateSpeculativeExecution): (JSC::DFG::SpeculativeJIT::runSlowPathGenerators): (JSC::DFG::SpeculativeJIT::dump): (JSC::DFG::SpeculativeJIT::compileCurrentBlock): (JSC::DFG::SpeculativeJIT::checkGeneratedTypeForToInt32): * dfg/DFGSpeculativeJIT.h: * dfg/DFGSpeculativeJIT32_64.cpp: (JSC::DFG::SpeculativeJIT::fillSpeculateInt32Internal): (JSC::DFG::SpeculativeJIT::fillSpeculateDouble): (JSC::DFG::SpeculativeJIT::fillSpeculateCell): (JSC::DFG::SpeculativeJIT::fillSpeculateBoolean): (JSC::DFG::SpeculativeJIT::compile): * dfg/DFGSpeculativeJIT64.cpp: (JSC::DFG::SpeculativeJIT::fillSpeculateInt32Internal): (JSC::DFG::SpeculativeJIT::fillSpeculateDouble): (JSC::DFG::SpeculativeJIT::fillSpeculateCell): (JSC::DFG::SpeculativeJIT::fillSpeculateBoolean): (JSC::DFG::SpeculativeJIT::compile): * dfg/DFGVariableEventStream.cpp: (JSC::DFG::VariableEventStream::reconstruct): * dfg/DFGVariableEventStream.h: (JSC::DFG::VariableEventStream::appendAndLog): * dfg/DFGVirtualRegisterAllocationPhase.cpp: (JSC::DFG::VirtualRegisterAllocationPhase::run): * jit/JIT.cpp: (JSC::JIT::privateCompile): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-