1. 07 Jan, 2013 40 commits
    • rniwa@webkit.org's avatar
      Source/WebKit: Sorted the xcodeproj file. · 3203716e
      rniwa@webkit.org authored
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit2: Sorted the xcodeproj file.
      
      * WebKit2.xcodeproj/project.pbxproj:
      
      Source/WTF: Sorted the xcodeproj file.
      
      * WTF.xcodeproj/project.pbxproj:
      
      Tools: Sorted xcodeprojs files.
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3203716e
    • ap@apple.com's avatar
      [WK2] Make SecItemShim messages work with any process · 952a9506
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=106269
      
              Reviewed by Sam Weinig.
      
              Add SecItemShim and SecItemShimProxy classes to manage message sending, and moved
              relevant code from WebProcess(Proxy).
      
              * DerivedSources.make:
              * Platform/CoreIPC/MessageID.h:
              * UIProcess/WebProcessProxy.cpp:
              (WebKit::WebProcessProxy::didFinishLaunching):
              * UIProcess/WebProcessProxy.h:
              (WebProcessProxy):
              * UIProcess/WebProcessProxy.messages.in:
              * Shared/mac/SecItemShim.cpp: Added.
              (WebKit::SecItemShim::shared):
              (WebKit::SecItemShim::SecItemShim):
              (WebKit::SecItemShim::secItemResponse):
              (WebKit::SecItemShim::install):
              (WebKit::SecItemShim::didReceiveMessageOnConnectionWorkQueue):
              * Shared/mac/SecItemShim.h: Added.
              * Shared/mac/SecItemShim.messages.in: Added.
              * UIProcess/mac/SecItemShimProxy.cpp: Added.
              (WebKit::SecItemShimProxy::shared):
              (WebKit::SecItemShimProxy::SecItemShimProxy):
              (WebKit::handleSecItemRequest):
              (WebKit::dispatchFunctionOnQueue):
              (WebKit::SecItemShimProxy::secItemRequest):
              (WebKit::SecItemShimProxy::didReceiveMessageOnConnectionWorkQueue):
              * UIProcess/mac/SecItemShimProxy.h: Added.
              * UIProcess/mac/SecItemShimProxy.messages.in: Added.
              * UIProcess/mac/WebProcessProxyMac.mm:
              * WebKit2.xcodeproj/project.pbxproj:
              * WebProcess/WebProcess.cpp:
              (WebKit::WebProcess::initializeConnection):
              * WebProcess/WebProcess.h:
              * WebProcess/WebProcess.messages.in:
              * WebProcess/mac/SecItemShimMethods.mm:
              (WebKit::sendSeqItemRequest):
              * WebProcess/mac/WebProcessMac.mm:
              (WebKit::WebProcess::platformInitializeProcess):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      952a9506
    • abarth@webkit.org's avatar
      Introduce HTMLParserOptions to encapsulate HTML parser options · a91fe626
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106251
      
      Reviewed by Eric Seidel.
      
      Currently, the HTMLTreeBuilder (and potentially other parts of the
      parser) use their Document* to read configuration information from the
      Document (such as Settings). This patch introduces the
      HTMLParserOptions class to encapsulate that information, making it
      easier to move the HTML parser to a background thread (because the
      HTMLTreeBuilder won't need to talk to the Document directly).
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::HTMLDocumentParser):
      (WebCore::HTMLDocumentParser::pumpTokenizer):
      (WebCore::HTMLDocumentParser::insert):
      * html/parser/HTMLDocumentParser.h:
      (HTMLDocumentParser):
      * html/parser/HTMLPreloadScanner.cpp:
      (WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
      * html/parser/HTMLPreloadScanner.h:
      (WebCore):
      (HTMLPreloadScanner):
      * html/parser/HTMLTreeBuilder.cpp:
      (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
      (WebCore::HTMLTreeBuilder::processEndTag):
      (WebCore::HTMLTreeBuilder::processStartTagForInHead):
      * html/parser/HTMLTreeBuilder.h:
      (WebCore::HTMLTreeBuilder::create):
      (HTMLTreeBuilder):
      * html/parser/HTMLViewSourceParser.cpp:
      (WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a91fe626
    • rniwa@webkit.org's avatar
      Add Mac Lion result after r138986. · 273897f2
      rniwa@webkit.org authored
      * platform/mac-lion/platform/mac/fast/text/vertical-no-sideways-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      273897f2
    • joepeck@webkit.org's avatar
      Minor improvements to HTMLMediaElement · 94ffacb9
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105353
      
      Reviewed by Eric Carlson.
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::canPlayType):
      (WebCore::createFileURLForApplicationCacheResource):
      (WebCore::stringForNetworkState):
      (WebCore::HTMLMediaElement::preload):
      (WebCore::HTMLMediaElement::getPluginProxyParams):
      Use ASCIILiteral for literal strings becoming WTFStrings.
      
      (WebCore::HTMLMediaElement::setLoop):
      By going through setAttribute, parseAttribute would already take care of
      updating the disable sleep, so the call here is not needed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94ffacb9
    • joepeck@webkit.org's avatar
      String improvements in geolocation and notifications modules · 69d1ec5a
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105352
      
      Reviewed by Sam Weinig.
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::GeoNotifier::timerFired):
      (WebCore::Geolocation::startRequest):
      (WebCore::Geolocation::requestUsesCachedPosition):
      (WebCore::Geolocation::makeCachedPositionCallbacks):
      (WebCore::Geolocation::setIsAllowed):
      (WebCore::Geolocation::cancelRequests):
      (WebCore::Geolocation::handlePendingPermissionNotifiers):
      * Modules/geolocation/GeolocationController.cpp:
      (WebCore::GeolocationController::positionChanged):
      * Modules/notifications/WorkerContextNotifications.cpp:
      Use ASCIILiteral for constant strings becoming WTFStrings.
      
      (WebCore::WorkerContextNotifications::from):
      Use AtomicString::ConstructFromLiteral for the static local.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69d1ec5a
    • fpizlo@apple.com's avatar
      Unreviewed, it should be possible to build JSC on ARM. · 536df7cb
      fpizlo@apple.com authored
      Source/JavaScriptCore: 
      
      * API/JSBase.h:
      * jit/JITStubs.cpp:
      (JSC::performPlatformSpecificJITAssertions):
      (JSC):
      * jit/JITStubs.h:
      (JSC):
      * jit/JITThunks.cpp:
      (JSC::JITThunks::JITThunks):
      * jit/JITThunks.h:
      (JITThunks):
      * offlineasm/armv7.rb:
      * runtime/JSGlobalData.cpp:
      (JSC::JSGlobalData::JSGlobalData):
      
      Source/WTF: 
      
      * wtf/FastMalloc.cpp:
      (WTF::TCMalloc_PageHeap::IncrementalScavenge):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      536df7cb
    • andersca@apple.com's avatar
      Remove Windows files from WebKit2 · 43768040
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106264
      
      Reviewed by Sam Weinig.
      
      * Platform/CoreIPC/win/BinarySemaphoreWin.cpp: Removed.
      * Platform/CoreIPC/win/ConnectionWin.cpp: Removed.
      * Platform/win/ModuleWin.cpp: Removed.
      * Platform/win/SharedMemoryWin.cpp: Removed.
      * Platform/win/WorkQueueWin.cpp: Removed.
      * Shared/API/c/win/WKBaseWin.h: Removed.
      * Shared/API/c/win/WKCertificateInfoWin.cpp: Removed.
      * Shared/API/c/win/WKCertificateInfoWin.h: Removed.
      * Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp: Removed.
      * Shared/cg/win/ShareableBitmapCGWin.cpp: Removed.
      * Shared/win/CoalescedWindowGeometriesUpdater.cpp: Removed.
      * Shared/win/CoalescedWindowGeometriesUpdater.h: Removed.
      * Shared/win/CommandLineWin.cpp: Removed.
      * Shared/win/LayerTreeContextWin.cpp: Removed.
      * Shared/win/NativeWebKeyboardEventWin.cpp: Removed.
      * Shared/win/NativeWebMouseEventWin.cpp: Removed.
      * Shared/win/NativeWebWheelEventWin.cpp: Removed.
      * Shared/win/PlatformCertificateInfo.cpp: Removed.
      * Shared/win/PlatformCertificateInfo.h: Removed.
      * Shared/win/ShareableBitmapWin.cpp: Removed.
      * Shared/win/WebCoreArgumentCodersWin.cpp: Removed.
      * Shared/win/WebEventFactory.cpp: Removed.
      * Shared/win/WebEventFactory.h: Removed.
      * Shared/win/WebKitBundle.cpp: Removed.
      * Shared/win/WebKitBundle.h: Removed.
      * Shared/win/WebURLRequestWin.cpp: Removed.
      * Shared/win/WebURLResponseWin.cpp: Removed.
      * Shared/win/WindowGeometry.cpp: Removed.
      * Shared/win/WindowGeometry.h: Removed.
      * UIProcess/API/C/win/WKAPICastWin.h: Removed.
      * UIProcess/API/C/win/WKContextPrivateWin.h: Removed.
      * UIProcess/API/C/win/WKContextWin.cpp: Removed.
      * UIProcess/API/C/win/WKView.cpp: Removed.
      * UIProcess/API/C/win/WKView.h: Removed.
      * UIProcess/API/C/win/WKViewPrivate.cpp: Removed.
      * UIProcess/API/C/win/WKViewPrivate.h: Removed.
      * UIProcess/Launcher/win/ProcessLauncherWin.cpp: Removed.
      * UIProcess/Plugins/win/PluginInfoStoreWin.cpp: Removed.
      * UIProcess/win/BackingStoreWin.cpp: Removed.
      * UIProcess/win/TextCheckerWin.cpp: Removed.
      * UIProcess/win/WebContextMenuProxyWin.cpp: Removed.
      * UIProcess/win/WebContextMenuProxyWin.h: Removed.
      * UIProcess/win/WebContextWin.cpp: Removed.
      * UIProcess/win/WebFullScreenManagerProxyWin.cpp: Removed.
      * UIProcess/win/WebInspectorProxyWin.cpp: Removed.
      * UIProcess/win/WebPageProxyWin.cpp: Removed.
      * UIProcess/win/WebPopupMenuProxyWin.cpp: Removed.
      * UIProcess/win/WebPopupMenuProxyWin.h: Removed.
      * UIProcess/win/WebProcessProxyWin.cpp: Removed.
      * UIProcess/win/WebUndoClient.cpp: Removed.
      * UIProcess/win/WebUndoClient.h: Removed.
      * UIProcess/win/WebView.cpp: Removed.
      * UIProcess/win/WebView.h: Removed.
      * WebProcess/Downloads/cf/win/DownloadCFWin.cpp: Removed.
      * WebProcess/InjectedBundle/API/c/win/WKBundlePrivateWin.cpp: Removed.
      * WebProcess/InjectedBundle/API/c/win/WKBundlePrivateWin.h: Removed.
      * WebProcess/InjectedBundle/win/InjectedBundleWin.cpp: Removed.
      * WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp: Removed.
      * WebProcess/WebCoreSupport/win/WebContextMenuClientWin.cpp: Removed.
      * WebProcess/WebCoreSupport/win/WebDragClientWin.cpp: Removed.
      * WebProcess/WebCoreSupport/win/WebDragSource.cpp: Removed.
      * WebProcess/WebCoreSupport/win/WebDragSource.h: Removed.
      * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp: Removed.
      * WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.cpp: Removed.
      * WebProcess/WebCoreSupport/win/WebFrameNetworkingContext.h: Removed.
      * WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp: Removed.
      * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp: Removed.
      * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.h: Removed.
      * WebProcess/WebPage/ca/win/WKCACFViewWindow.cpp: Removed.
      * WebProcess/WebPage/ca/win/WKCACFViewWindow.h: Removed.
      * WebProcess/WebPage/win/DrawingAreaImplWin.cpp: Removed.
      * WebProcess/WebPage/win/LayerTreeHostWin.cpp: Removed.
      * WebProcess/WebPage/win/WebInspectorWin.cpp: Removed.
      * WebProcess/WebPage/win/WebPageWin.cpp: Removed.
      * WebProcess/win/WebProcessMainWin.cpp: Removed.
      * WebProcess/win/WebProcessWin.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43768040
    • cfleizach@apple.com's avatar
      AX: the text of render counters are not exposed to Accessibility · 95edf431
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=103794
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore: 
      
      Support RenderText objects that don't have nodes (like RenderCounter).
      
      Test: accessibility/render-counter-text.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::textUnderElement):
      
      LayoutTests: 
      
      * accessibility/render-counter-text-expected.txt: Added.
      * accessibility/render-counter-text.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95edf431
    • mkwst@chromium.org's avatar
      [qt] Fix ENABLE_IFRAME_SEAMLESS=0 builds. · a2464756
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106252
      
      Reviewed by Eric Seidel.
      
      Wrap the call to setSeamlessIFramesEnabled in an ifdef in order
      to ensure that it's only called when IFRAME_SEAMLESS is enabled.
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2464756
    • mitz@apple.com's avatar
      [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy · ae97f6dd
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106261
      
      Reviewed by Simon Fraser.
      
      Source/WebKit/mac: 
      
      Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
      
      Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
      method.
      * WebView/WebDelegateImplementationCaching.h:
      (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
      * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
      * WebView/WebView.mm:
      (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
      
      Tools: 
      
      Added a test for -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
      
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm: Added.
      (-[DidRemoveFrameFromHierarchyFrameLoadDelegate webView:didFinishLoadForFrame:]):
      (-[DidRemoveFrameFromHierarchyFrameLoadDelegate webView:didRemoveFrameFromHierarchy:]):
      (TestWebKitAPI):
      (TestWebKitAPI::TEST):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae97f6dd
    • timothy_horton@apple.com's avatar
      Tiled-layer TileCaches shouldn't unparent offscreen tiles · 11ed344c
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106258
      <rdar://problem/12969116>
      
      Reviewed by Simon Fraser.
      
      Add a setting on TiledBacking (implemented on TileCache) that controls whether or not
      the TileCache should unparent offscreen tiles. We can't use this behavior for tiled-layer TileCaches
      currently because m_isInWindow is not updated for tiled-layer TileCaches, and because we haven't
      decided exactly what their behavior should be. So, revert to the old behavior for them.
      
      * platform/graphics/TiledBacking.h:
      * platform/graphics/ca/mac/TileCache.h:
      (TileCache): Add setUnparentsOffscreenTiles/unparentsOffscreenTiles.
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::TileCache): m_unparentsOffscreenTiles defaults to false.
      (WebCore::TileCache::revalidateTiles):
      Return to the old behavior of always adding new layers to the layer tree regardless of m_isInWindow if m_unparentsOffscreenTiles is false.
      Return to the old behavior of never unparenting tiles regardless of m_isInWindow if m_unparentsOffscreenTiles is false.
      (WebCore::TileCache::ensureTilesForRect): Return to the old behavior of always ensuring tiles regardless of m_isInWindow if m_unparentsOffscreen$
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::RenderLayerBacking): Tell primary TileCaches that it's OK to unparent offscreen tiles.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11ed344c
    • ojan@chromium.org's avatar
      A couple more rebaselines for http://trac.webkit.org/changeset/138838. · 6b3fd38b
      ojan@chromium.org authored
      * platform/mac/fast/table/038-vertical-expected.txt:
      * platform/mac/fast/table/border-collapsing/004-vertical-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b3fd38b
    • ojan@chromium.org's avatar
      Add the Apple MountainLion bots to garden-o-matic. · ce4f84e9
      ojan@chromium.org authored
      Eventually, we really should move away from hardcoding
      the list of bots.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/config.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce4f84e9
    • junov@google.com's avatar
      Fixing memory read after free in CanvasRenderingContext2D::accessFont · 01796f1e
      junov@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106244
      
      Reviewed by Abhishek Arya.
      
      Source/WebCore:
      
      Using a temporary String object to hold ref count on string that is
      passed by reference in CanvasRenderingContext2D::accessFont.
      
      Test: fast/canvas/canvas-measureText.html
      
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::accessFont):
      
      LayoutTests:
      
      New test case to verify stability of 2D canvas method measureText.
      Test case was causing a DumpRenderTree crash on builds with
      AddressSantitizer instrumentation.
      
      * fast/canvas/canvas-measureText-expected.txt: Added.
      * fast/canvas/canvas-measureText.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01796f1e
    • jochen@chromium.org's avatar
      [chromium] move web audio related methods to testrunner library · f95e3c6a
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106211
      
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/DRTTestRunner.cpp:
      (DRTTestRunner::DRTTestRunner):
      (DRTTestRunner::reset):
      * DumpRenderTree/chromium/DRTTestRunner.h:
      (DRTTestRunner):
      * DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h:
      (WebKit):
      (WebTestRunner::WebTestRunner::shouldDumpAsAudio):
      (WebTestRunner::WebTestRunner::audioData):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      (WebTestRunner::TestRunner::reset):
      (WebTestRunner::TestRunner::shouldDumpAsAudio):
      (WebTestRunner):
      (WebTestRunner::TestRunner::audioData):
      (WebTestRunner::TestRunner::setAudioData):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::dump):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f95e3c6a
    • andersca@apple.com's avatar
      DOMEvents.h should include DOMProgressEvent.h · 51223514
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106250
      
      Reviewed by Sam Weinig.
      
      DOMProgressEvent.h is already installed as a public header, so it should also be included by DOMEvents.h.
      
      * bindings/objc/DOMEvents.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51223514
    • wangxianzhu@chromium.org's avatar
      Add window.internals.nonFastScrollableRects for testing scrollable areas in fast/slow paths · 4471f0d9
      wangxianzhu@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105546
      
      Reviewed by James Robinson.
      
      .:
      
      Export the new symbol.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      No new tests. Added test API for new tests of other bugs.
      
      * WebCore.exp.in:
      * page/Page.cpp:
      (WebCore::Page::nonFastScrollableRects):
      (WebCore):
      * page/Page.h:
      (WebCore):
      (Page):
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion): Change to public to allow Page::nonFastScrollableRects to access.
      * page/scrolling/ScrollingCoordinator.h:
      (ScrollingCoordinator):
      * testing/Internals.cpp:
      (WebCore::Internals::nonFastScrollableRects):
      (WebCore):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit2:
      
      Export the new symbol.
      
      * win/WebKit2.def.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4471f0d9
    • tsepez@chromium.org's avatar
      Document::initSecurityContext() gives parent security context to iframes with invalid URLs. · 68a50a06
      tsepez@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104960
      
      Reviewed by Adam Barth.
      
      Change covers the case of an invalid non-empty URL.  We know nothing
      about that kind of URL and choose not to inherit origins.
      
      * dom/Document.cpp:
      (WebCore::shouldInheritSecurityOriginFromOwner):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68a50a06
    • cfleizach@apple.com's avatar
      AX: Regression: Contextual menu not following with VO cursor in HTML content when item is scrolled · b3e9b3a2
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70075
      
      Reviewed by Anders Carlsson.
      
      On WK2 only, when accessibility opens a contextual menu, it does not honor the scroll offset. 
      On WK1, the attachment views handle this conversion when it's needed, but on WK2 it needs to be done manually
      (similar to how the accessibility position is calculated). 
      
      No test. Cannot test the location of context menu popups on WK2 yet.
      
      * accessibility/mac/WebAccessibilityObjectWrapper.mm:
      (-[WebAccessibilityObjectWrapper accessibilityShowContextMenu]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3e9b3a2
    • inferno@chromium.org's avatar
      Heap-buffer-overflow in WebCore::RenderBlock::clone. · afca78c1
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101984
      
      Reviewed by Julien Chaffraix.
      
      Source/WebCore:
      
      Add a global in RenderBlock to prevent recursion inside splitFlow.
      While inside splitFlow (multi-column handling), we move many children
      using fullRemoveInsert=true, causing RenderBlock::addChild to be called
      and recursing in splitFlow. This messes the tree splitting happening in
      RenderBlock::splitBlocks and can cause bad casts.
      
      Test: fast/multicol/recursive-split-flow-crash.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
      
      LayoutTests:
      
      * fast/multicol/recursive-split-flow-crash-expected.txt: Added.
      * fast/multicol/recursive-split-flow-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afca78c1
    • alokp@chromium.org's avatar
      [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse · 29d13850
      alokp@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104956
      
      Reviewed by James Robinson.
      
      Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
      
      Source/WebCore:
      
      No new tests needed. No change in functionality.
      
      * platform/graphics/chromium/CompositorHUDFontAtlas.cpp:
      (WebCore::CompositorHUDFontAtlas::generateFontAtlas):
      * platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp:
      (WebCore::OpaqueRectTrackingContentLayerDelegate::paintContents):
      * platform/graphics/skia/ImageBufferSkia.cpp:
      (WebCore::ImageBuffer::ImageBuffer):
      * platform/graphics/skia/PlatformContextSkia.cpp:
      (WebCore::PlatformContextSkia::couldUseLCDRenderedText):
      (WebCore):
      
      Source/WebKit/chromium:
      
      * src/NonCompositedContentHost.cpp:
      (WebKit::NonCompositedContentHost::paintContents):
      (WebKit):
      (WebKit::NonCompositedContentHost::setShowDebugBorders):
      * src/PageWidgetDelegate.cpp:
      (WebKit::PageWidgetDelegate::paint):
      * src/WebFontImpl.cpp:
      (WebKit::WebFontImpl::drawText):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29d13850
    • enrica@apple.com's avatar
      Some characters are not rotated properly in vertical text · ad887132
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=105663
      <rdar://problem/12738911>
      
      Source/WebCore: 
      
      Reviewed by Dan Bernstein.
      
      Test: platform/mac/fast/text/vertical-no-sideways.html
      
      * platform/graphics/Font.cpp:
      (WebCore::Font::isCJKIdeographOrSymbol): Added several characters to the list.
      * platform/graphics/FontFastPath.cpp:
      (WebCore::shouldIgnoreRotation): Added
      (WebCore::Font::glyphDataAndPageForNonCJKCharacterWithGlyphOrientation): Added logic to avoid
      rotation for all the characters listed in shouldIgnoreRotation.
      
      LayoutTests: 
      
      Reviewed by Dan Bernstein. 
      
      * platform/mac/fast/text/vertical-no-sideways.html: Added. 
      * platform/mac/platform/mac/fast/text/vertical-no-sideways-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad887132
    • leviw@chromium.org's avatar
      Unreviewed gardening. Updating test expectations following r138717. · 94ed668a
      leviw@chromium.org authored
      * platform/chromium-linux/platform/chromium/fast/events/touch: Removed.
      * platform/chromium-linux/platform/chromium/fast/events/touch/compositor-touch-hit-rects-expected.txt: Removed.
      * platform/chromium-mac/platform/chromium/fast/events/touch/compositor-touch-hit-rects-expected.txt:
      * platform/chromium-win-xp/platform/chromium/fast/events: Added.
      * platform/chromium-win-xp/platform/chromium/fast/events/touch: Added.
      * platform/chromium-win-xp/platform/chromium/fast/events/touch/compositor-touch-hit-rects-expected.txt: Added.
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94ed668a
    • dglazkov@chromium.org's avatar
      [Chromium] fast/speech/scripted/navigate-away.html is flaky. · e9ebe437
      dglazkov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106249
      
      * platform/chromium/TestExpectations: Marked as flaky.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9ebe437
    • mkwst@chromium.org's avatar
      Make the IFRAME_SEAMLESS flag runtime-enabled. · 29b1e2fb
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106213
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      Seamless IFrames live behind the IFRAME_SEAMLESS compile-time flag, this
      patch adds another layer to that in order to enable runtime decisions
      about when it should be active. This will allow ports (Chromium, for
      instance) to toggle the feature on/off for particular builds without
      recompiling from scratch.
      
      * WebCore.exp.in:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::seamlessIFramesEnabled):
      (WebCore::RuntimeEnabledFeatures::setSeamlessIFramesEnabled):
          Add seamless IFrames to the set of runtime controlled features.
      * dom/Document.cpp:
      (WebCore::Document::shouldDisplaySeamlesslyWithParent):
          If seamless IFrames aren't runtime enabled, always return false from
          Document::shouldDisplaySeamlesslyWithParent. As this method already
          acts as the single gate that controls the rest of the system, it's
          the only place we need to make the runtime check.
      
      Source/WebKit/chromium:
      
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
      (WebKit):
      (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
          Expose the new runtime feature to the Chromium port.
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled):
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      * ewk/ewk_view.cpp:
      (_ewk_view_priv_new):
          Add a toggle for seamless IFrames to EFL's DRTSuport.
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      (DumpRenderTreeSupportGtk):
          Add a toggle for seamless IFrames to GTK's DRTSuport.
      
      Source/WebKit/mac:
      
      * WebView/WebPreferenceKeysPrivate.h:
      * WebView/WebPreferences.mm:
      (-[WebPreferences seamlessIFramesEnabled]):
      (-[WebPreferences setSeamlessIFramesEnabled:]):
      * WebView/WebPreferencesPrivate.h:
      * WebView/WebView.mm:
      (-[WebView _preferencesChanged:]):
          Add a seamless IFrame preference to WebPreferences, and use it to
          toggle the runtime state of the feature as appropriate.
      
      Source/WebKit/qt:
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
      * WebCoreSupport/DumpRenderTreeSupportQt.h:
          Add a toggle for seamless IFrames to QT's DRTSuport.
      
      Source/WebKit2:
      
      * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
      (WKBundleSetSeamlessIFramesEnabled):
      * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::setSeamlessIFramesEnabled):
      (WebKit):
      * WebProcess/InjectedBundle/InjectedBundle.h:
      (InjectedBundle):
          Add a toggle for seamless IFrames to InjectedBundle, and set it to
          true when beginning testing.
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
      (WebCore::WebPage::resetSettings):
      * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
      (WTR::InjectedBundle::beginTesting):
          Ensure that seamless IFrames are enabled for layout tests in each of
          the ports that support seamless IFrames.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29b1e2fb
    • ap@apple.com's avatar
      [WK2] Remove more obsolete shim code · 1cef173a
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=106248
      
              Reviewed by Anders Carlsson.
      
              Removing KeychainItemShimCallbacks, and SecItemRequestData::CopyContent, which was
              only needed for that obsolete version of shim.
      
              We now use WebProcessSecItemShimCallbacks.
      
              * Shared/mac/SecItemRequestData.h:
              * UIProcess/mac/WebProcessProxyMac.mm:
              (WebKit::handleSecItemRequest):
              * WebProcess/mac/WebProcessShim.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cef173a
    • weinig@apple.com's avatar
      Merge child process main functions as much as possible · c89dc48c
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106192
      
      Reviewed by Anders Carlsson.
      
      To reduce copied code, this merges the Mac main functions for the WebProcess,
      NetworkProcess, PluginProcess, and SharedWorkerProcess. Since slight variations
      are needed, it adds a delegate class for hooks into the main function that each
      process can override if necessary.
      
      * NetworkProcess/mac/NetworkProcessMainMac.mm:
      (WebKit::NetworkProcessMain):
      Remove almost everything with a call to ChildProcessMain with the default delegate.
      
      * PluginProcess/mac/PluginProcessMac.mm:
      (WebKit::PluginProcess::platformInitializeProcess):
      Move defaults registration here from PluginProcessMainMac.
      
      * PluginProcess/mac/PluginProcessMainMac.mm:
      (PluginProcessMainDelegate):
      Add a delegate for the new shared main function that does does PluginProcess
      specific work.
      
      (WebKit::PluginProcessMainDelegate::doPreInitializationWork):
      Move DYLD_INSERT_LIBRARIES removal and createPluginMIMETypesPreferences special mode
      to this pre-initialization hook.
      
      (WebKit::PluginProcessMainDelegate::doPostRunWork):
      Move private temporary and cache directories clean up to this post run hook.
      
      (WebKit::PluginProcessMain):
      Call the ChildProcessMain shared main function with the PluginProcess as the process
      to initialize and PluginProcessMainDelegate as the main delegate.
      
      * Shared/mac/ChildProcessMain.h: Added.
      (ChildProcessMainDelegate):
      ChildProcessMainDelegate is a helper class that process can subclass to hook into
      the main function.
      
      (WebKit::ChildProcessMain):
      Add a single version of the "main" function that uses the ChildProcessMainDelegate to
      allow processes to hook into it.
      
      * Shared/mac/ChildProcessMain.mm:
      (WebKit::ChildProcessMainDelegate::~ChildProcessMainDelegate):
      (WebKit::ChildProcessMainDelegate::installSignalHandlers):
      (WebKit::ChildProcessMainDelegate::doPreInitializationWork):
      (WebKit::ChildProcessMainDelegate::getConnectionIdentifier):
      (WebKit::ChildProcessMainDelegate::getClientIdentifier):
      (WebKit::ChildProcessMainDelegate::getClientProcessName):
      (WebKit::ChildProcessMainDelegate::doPostRunWork):
      Add default implementations of the delegate hooks, most processes should be able to
      use the defaults.
      
      * SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
      (WebKit::SharedWorkerProcessMain):
      Remove almost everything with a call to ChildProcessMain with the default delegate.
      
      * WebKit2.xcodeproj/project.pbxproj:
      Add new files.
      
      * WebProcess/mac/WebProcessMainMac.mm:
      (WebProcessMainDelegate):
      Add a delegate for the new shared main function that does does WebProcess
      specific work.
      
      (WebKit::WebProcessMainDelegate::doPreInitializationWork):
      Move DYLD_INSERT_LIBRARIES removal to this this pre-initialization hook.
      
      (WebKit::WebProcessMainDelegate::getConnectionIdentifier):
      A custom getConnectionIdentifier is necessary for the WebProcess to keep support for having the WebProcess
      be able to launch the UIProcess (for debugging purposes).
      
      (WebKit::WebProcessMainDelegate::getClientIdentifier):
      For the same reasons as about, a custom getClientIdentifier is needed.
      
      (WebKit::WebProcessMain):
      Call the ChildProcessMain shared main function with the WebProcess as the process
      to initialize and WebProcessMainDelegate as the main delegate.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c89dc48c
    • jochen@chromium.org's avatar
      [chromium] move dumpAsText and friends to the TestRunner library · b7fc2974
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106222
      
      Reviewed by Adam Barth.
      
      This moves dumpAsText, dumpChildFramesAsText, and dumpChildFrameScrollPositions to the TestRunner library.
      
      * DumpRenderTree/chromium/DRTTestRunner.cpp:
      (DRTTestRunner::DRTTestRunner):
      (DRTTestRunner::reset):
      * DumpRenderTree/chromium/DRTTestRunner.h:
      (DRTTestRunner):
      * DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h:
      (WebTestRunner::WebTestRunner::shouldDumpAsText):
      (WebTestRunner::WebTestRunner::setShouldDumpAsText):
      (WebTestRunner::WebTestRunner::shouldGeneratePixelResults):
      (WebTestRunner::WebTestRunner::setShouldGeneratePixelResults):
      (WebTestRunner::WebTestRunner::shouldDumpChildFrameScrollPositions):
      (WebTestRunner::WebTestRunner::shouldDumpChildFramesAsText):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      (WebTestRunner::TestRunner::reset):
      (WebTestRunner::TestRunner::shouldDumpAsText):
      (WebTestRunner):
      (WebTestRunner::TestRunner::setShouldDumpAsText):
      (WebTestRunner::TestRunner::shouldGeneratePixelResults):
      (WebTestRunner::TestRunner::setShouldGeneratePixelResults):
      (WebTestRunner::TestRunner::shouldDumpChildFrameScrollPositions):
      (WebTestRunner::TestRunner::shouldDumpChildFramesAsText):
      (WebTestRunner::TestRunner::dumpAsText):
      (WebTestRunner::TestRunner::dumpChildFrameScrollPositions):
      (WebTestRunner::TestRunner::dumpChildFramesAsText):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7fc2974
    • commit-queue@webkit.org's avatar
      [BlackBerry] Touch Events are falling through fullscreen video · c843d8e3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106112
      
      Patch by Genevieve Mak <gmak@rim.com> on 2013-01-07
      Reviewed by Rob Buis.
      
      Reviewed Internally by Jakob Petsovits.
      PR #274326
      Do not do viewport centering calculations if in fullscreen video.
      The offset should be zero.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::setViewportSize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c843d8e3
    • eric.carlson@apple.com's avatar
      LayoutUnit(unsigned long long value) compile failure · cfe652e6
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106239
      
      Cast the result of ('unsigned long long' * 'int') to an int before storing in m_value
      to avoid compile failure on some platforms.
      
      Reviewed by Ryosuke Niwa.
      
      * platform/LayoutUnit.h:
      (WebCore::LayoutUnit::LayoutUnit): Cast to int after multiplication.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfe652e6
    • commit-queue@webkit.org's avatar
      [BlackBerry] Handle the new AuthRetry result code in NetworkJob::notifyAuthReceived · 2f8fca0d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106233
      
      Patch by Joe Mason <jmason@rim.com> on 2013-01-07
      Reviewed by Rob Buis.
      
      Internal PR: 270683
      FilterStream::notifyAuthReceived has a new result code, AuthRetry. When it's received we
      need to handle it by resending the request with the same credentials.
      
      Reviewed internally by Leo Yang.
      
      * platform/network/blackberry/NetworkJob.cpp:
      (WebCore::NetworkJob::notifyAuthReceived):
      * platform/network/blackberry/NetworkJob.h:
      (NetworkJob):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f8fca0d
    • pdr@google.com's avatar
      Clear pending container size requests as early as possible · fe145ce9
      pdr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106162
      
      Reviewed by Eric Seidel.
      
      http://trac.webkit.org/changeset/137981 contained a bug where pending container size
      requests were only cleared for images that use container sizes. Bitmap images do not use
      container sizes so these requests were not being cleared. This patch does the trivial
      refactoring so that container size requests are cleared as early as possible.
      
      No new tests as this is just a refactoring of some messy code added in r137981.
      
      * loader/cache/CachedImage.cpp:
      (WebCore::CachedImage::createImage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe145ce9
    • dglazkov@chromium.org's avatar
      [Chromium] Rebaseline webaudio/realtimeanalyser-fft-sizing.html. · abf4c117
      dglazkov@chromium.org authored
      * platform/chromium-win/webaudio/realtimeanalyser-fft-sizing-expected.txt: Renamed from LayoutTests/platform/chromium-win-xp/webaudio/realtimeanalyser-fft-sizing-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abf4c117
    • inferno@chromium.org's avatar
      Unreviewed, rolling out r137632. · 46e46492
      inferno@chromium.org authored
      http://trac.webkit.org/changeset/137632
      https://bugs.webkit.org/show_bug.cgi?id=106237
      
      Caused major security regressions on ClusterFuzz (Requested by
      inferno-sec on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-07
      
      Source/WebCore:
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::startDelayUpdateScrollInfo):
      (WebCore::RenderBlock::finishDelayUpdateScrollInfo):
      
      LayoutTests:
      
      * mathml/mo-stretch-crash-expected.txt: Removed.
      * mathml/mo-stretch-crash.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46e46492
    • simon.fraser@apple.com's avatar
      Make WKViews work when layer-backed · b7c0cd3f
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106166
      
      Reviewed by Sam Weinig.
      
      When not in TileCache mode, WebKit2 views had redraw problems on scrolling,
      if layer-backed.
      
      The issue is that the DrawingAreaProxy code tries to optimize scrolling by
      calling -scrollRect:by: on the WKView (an NSView) to copy bits, rather than
      repainting the entire view. However, -scrollRect:by: does nothing for NSViews
      that have layers.
      
      Fix by plumbing through a canScrollView() function which PageClientImpl()
      implements, returning true if the view does not have layer backing.
      When canScrollView() is false, DrawingAreaProxyImpl::incorporateUpdate()
      dirties the entire view.
      
      * UIProcess/API/gtk/PageClientImpl.h:
      (WebKit::PageClientImpl::canScrollView):
      * UIProcess/API/mac/PageClientImpl.h:
      (PageClientImpl):
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::canScrollView):
      * UIProcess/API/qt/raw/qrawwebview_p_p.h:
      (QRawWebViewPrivate::canScrollView):
      * UIProcess/DrawingAreaProxyImpl.cpp:
      (WebKit::DrawingAreaProxyImpl::incorporateUpdate):
      * UIProcess/PageClient.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::canScrollView):
      * UIProcess/WebPageProxy.h:
      * UIProcess/efl/PageClientBase.h:
      (WebKit::PageClientBase::canScrollView):
      * UIProcess/qt/QtPageClient.h:
      (WebKit::QtPageClient::canScrollView):
      * UIProcess/win/WebView.h:
      (WebKit::WebView::canScrollView):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7c0cd3f
    • dglazkov@chromium.org's avatar
      [Chromium] Rebaseline svg/W3C-SVG-1.1/paths-data-03-f.svg. · bbac2374
      dglazkov@chromium.org authored
      * platform/chromium-win/svg/W3C-SVG-1.1/paths-data-03-f-expected.png: Updated expectation.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbac2374
    • dglazkov@chromium.org's avatar
      [Chromium] Tests in svg/dynamic-updates are flaky.. · 25987cbc
      dglazkov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106238
      
      * platform/chromium/TestExpectations: Marked as flaky.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25987cbc
    • commit-queue@webkit.org's avatar
      MIPS LLInt implementation. · 99609ea7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99706
      
      Patch by Balazs Kilvady <kilvadyb@homejinni.com> on 2013-01-07
      Reviewed by Filip Pizlo.
      
      LLInt implementation for MIPS.
      
      Source/JavaScriptCore:
      
      * assembler/MacroAssemblerMIPS.h:
      (JSC::MacroAssemblerMIPS::jump):
      * dfg/DFGOperations.cpp:
      (JSC):
      * jit/JITStubs.cpp:
      (JSC):
      * jit/JITStubs.h:
      (JITStackFrame):
      * llint/LLIntOfflineAsmConfig.h:
      * llint/LowLevelInterpreter.asm:
      * llint/LowLevelInterpreter32_64.asm:
      * offlineasm/backends.rb:
      * offlineasm/instructions.rb:
      * offlineasm/mips.rb: Added.
      
      Source/WTF:
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99609ea7
    • zhajiang@rim.com's avatar
      [BlackBerry] Roll out r136173 as there are alternative approaches from the client sides now · c820f896
      zhajiang@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106236
      
      Unreviewed, rolling out r136173.
      This becomes unnecessary now as there are alternative approaches to
      solve the issue from the client sides.
      
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::createWindow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c820f896