1. 17 Sep, 2010 40 commits
    • weinig@apple.com's avatar
      Resize corner jiggles when resizing slowly in WebKit2 · c9fecd1f
      weinig@apple.com authored
      <rdar://problem/7897425>
      https://bugs.webkit.org/show_bug.cgi?id=45601
      
      Reviewed by Anders Carlsson.
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::windowResizerRect):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::windowResizerRect):
      * WebProcess/WebPage/WebPage.h:
      Move resize corner logic to WebPage and use the FrameView's size instead of the WebPages
      stored size, which doesn't get updated at the right time. This is in line with all other
      scrollbar metrics which are in terms of the FrameView's size.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9fecd1f
    • weinig@apple.com's avatar
      Make certificate data available to the WKFrameRef after it is committed · c368c886
      weinig@apple.com authored
      Part of <rdar://problem/8350189>
      https://bugs.webkit.org/show_bug.cgi?id=45998
      
      Reviewed by Anders Carlsson.
      
      * Shared/APIObject.h:
      Add new type.
      
      * Shared/WebCertificateInfo.h: Added.
      (WebKit::WebCertificateInfo::create):
      (WebKit::WebCertificateInfo::platformCertificateInfo):
      (WebKit::WebCertificateInfo::WebCertificateInfo):
      (WebKit::WebCertificateInfo::type):
      Add API type for vending.
      
      * Shared/mac/PlatformCertificateInfo.h: Added.
      (WebKit::PlatformCertificateInfo::peerCertificates):
      * Shared/mac/PlatformCertificateInfo.mm: Added.
      (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
      (WebKit::PlatformCertificateInfo::encode):
      (WebKit::PlatformCertificateInfo::decode):
      (WebKit::PlatformCertificateInfo::dump):
      * Shared/qt/PlatformCertificateInfo.h: Added.
      (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
      (WebKit::PlatformCertificateInfo::encode):
      (WebKit::PlatformCertificateInfo::decode):
      * Shared/win/PlatformCertificateInfo.h: Added.
      (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
      (WebKit::PlatformCertificateInfo::encode):
      (WebKit::PlatformCertificateInfo::decode):
      Add platform specific holder for certificate data and encode/decode functions
      to send it over the wire. Right now, this only implemented for the mac.
      
      * UIProcess/API/C/WKAPICast.h:
      * UIProcess/API/C/WKBase.h:
      * UIProcess/API/C/WKCertificateInfo.cpp: Added.
      (WKCertificateInfoGetTypeID):
      * UIProcess/API/C/WKCertificateInfo.h: Added.
      Add wrapper for WebCertificateInfo.
      
      * UIProcess/API/C/WKFrame.cpp:
      (WKFrameGetCertificateInfo):
      * UIProcess/API/C/WKFrame.h:
      Add getter for a WKCertificateInfo.
      
      * UIProcess/API/C/mac/WKCertificateInfoMac.h: Added.
      * UIProcess/API/C/mac/WKCertificateInfoMac.mm: Added.
      (WKCertificateInfoGetPeerCertificates):
      Add mac specific getters for the platform specific certificate
      data.
      
      * UIProcess/WebFrameProxy.cpp:
      (WebKit::WebFrameProxy::setCertificateInfo):
      * UIProcess/WebFrameProxy.h:
      (WebKit::WebFrameProxy::certificateInfo):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::didReceiveMessage):
      (WebKit::WebPageProxy::didCommitLoadForFrame):
      * UIProcess/WebPageProxy.h:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      Pipe the certificate info through to the WebFrameProxy on
      commit.
      
      * WebKit2.pro:
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      * win/WebKit2Generated.make:
      Add new files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c368c886
    • tony@chromium.org's avatar
      2010-09-17 Tony Chang <tony@chromium.org> · 11c960b4
      tony@chromium.org authored
              Reviewed by Kent Tamura.
      
              [chromium] 16 more chromium linux baselines (scrollbars change)
              https://bugs.webkit.org/show_bug.cgi?id=46009
      
              * platform/chromium-linux/tables/mozilla/bugs/bug137388-2-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug137388-2-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug2479-1-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug2479-1-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug29314-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug29314-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug2997-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug2997-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug32205-2-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug32205-2-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug3977-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug3977-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug43854-1-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug43854-1-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug650-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug650-expected.png:
              * platform/chromium-linux/tables/mozilla/bugs/bug73321-expected.checksum:
              * platform/chromium-linux/tables/mozilla/bugs/bug73321-expected.png:
              * platform/chromium-linux/tables/mozilla/core/captions-expected.checksum:
              * platform/chromium-linux/tables/mozilla/core/captions-expected.png:
              * platform/chromium-linux/tables/mozilla/core/cell_heights-expected.checksum:
              * platform/chromium-linux/tables/mozilla/core/cell_heights-expected.png:
              * platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-column-expected.checksum:
              * platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-column-expected.png:
              * platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-row-expected.checksum:
              * platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-row-expected.png:
              * platform/chromium-linux/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.checksum:
              * platform/chromium-linux/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.png:
              * platform/chromium-linux/tables/mozilla/other/nestedTables-expected.checksum:
              * platform/chromium-linux/tables/mozilla/other/nestedTables-expected.png:
              * platform/chromium-linux/tables/mozilla/other/test3-expected.checksum:
              * platform/chromium-linux/tables/mozilla/other/test3-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11c960b4
    • commit-queue@webkit.org's avatar
      2010-09-17 Matthew Delaney <mdelaney@apple.com> · 757218a5
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              Reduce minimum DOMTimer interval
              https://bugs.webkit.org/show_bug.cgi?id=45362
      
              Reduced the minimum allowed DOMTimer interval to 4ms. This has us matching Chrome,
              which hasn't had any problem with 4ms in the past 2 years, as well as increasing our
              performance on perf tests that have tight frequent loops such as canvas "animation"
              performance tests.
      
              No new tests added. Can't reliably instrument a test in javascript to verify that
              the minimum clamped interval time is in fact 4ms.
      
              * WebCore.exp.in:
              * page/DOMTimer.cpp: Removed old comments.
              * page/DOMTimer.h: Removed old comments.
              * page/Settings.cpp: Exposted new method to set minimum DOMTimer interval.
              * page/Settings.h:
      2010-09-17  Matthew Delaney  <mdelaney@apple.com>
      
              Reviewed by Simon Fraser.
      
              Reduce minimum DOMTimer interval
              https://bugs.webkit.org/show_bug.cgi?id=45362
      
              * WebView/WebView.mm: Added in a call to set the mimimum allowed DOMTimer to 4ms.
      2010-09-17  Matthew Delaney  <mdelaney@apple.com>
      
              Reviewed by Simon Fraser.
      
              Reduce minimum DOMTimer interval
              https://bugs.webkit.org/show_bug.cgi?id=45362
      
              * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
      2010-09-17  Matthew Delaney  <mdelaney@apple.com>
      
              Reviewed by Simon Fraser.
      
              Reduce minimum DOMTimer interval
              https://bugs.webkit.org/show_bug.cgi?id=45362
      
              * WebProcess/WebPage/WebPage.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      757218a5
    • kbr@google.com's avatar
      2010-09-17 Kenneth Russell <kbr@google.com> · 2f6c1609
      kbr@google.com authored
              Reviewed by James Robinson.
      
              [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes
              https://bugs.webkit.org/show_bug.cgi?id=46006
      
              * DEPS:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f6c1609
    • mrowe@apple.com's avatar
      Versioning. · e1542ed3
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1542ed3
    • andersca@apple.com's avatar
      CoreIPC argument coder improvements · 86d9ea91
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=45999
      
      Reviewed by Sam Weinig.
      
      * Platform/CoreIPC/ArgumentCoders.h:
      Add explicit specialization for a vector of bytes.
      
      * Platform/CoreIPC/Arguments.h:
      (CoreIPC::Arguments1::decode):
      (CoreIPC::Arguments2::decode):
      (CoreIPC::Arguments3::decode):
      (CoreIPC::Arguments4::decode):
      (CoreIPC::Arguments5::decode):
      (CoreIPC::Arguments6::decode):
      Use the injected class name for less typing.
      
      (CoreIPC::Arguments7::Arguments7):
      (CoreIPC::Arguments7::encode):
      (CoreIPC::Arguments7::decode):
      (CoreIPC::In):
      (CoreIPC::Out):
      Add Arguments7 class.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86d9ea91
    • tony@chromium.org's avatar
      2010-09-17 Tony Chang <tony@chromium.org> · 9a80a491
      tony@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [chromium] rebaseline tests that are only scrollbar differences on Linux
              https://bugs.webkit.org/show_bug.cgi?id=46000
      
              * platform/chromium-linux/css1/basic/containment-expected.checksum:
              * platform/chromium-linux/css1/basic/containment-expected.png:
              * platform/chromium-linux/css1/box_properties/padding_right-expected.checksum:
              * platform/chromium-linux/css1/box_properties/padding_right-expected.png:
              * platform/chromium-linux/css1/font_properties/font_size-expected.checksum:
              * platform/chromium-linux/css1/font_properties/font_size-expected.png:
              * platform/chromium-linux/fast/block/float/nested-clearance-expected.checksum:
              * platform/chromium-linux/fast/block/float/nested-clearance-expected.png:
              * platform/chromium-linux/fast/block/positioning/051-expected.checksum:
              * platform/chromium-linux/fast/block/positioning/051-expected.png:
              * platform/chromium-linux/fast/block/positioning/055-expected.checksum:
              * platform/chromium-linux/fast/block/positioning/055-expected.png:
              * platform/chromium-linux/fast/forms/select-change-listbox-size-expected.checksum:
              * platform/chromium-linux/fast/forms/select-change-listbox-size-expected.png:
              * platform/chromium-linux/fast/frames/iframe-scrolling-attribute-expected.checksum:
              * platform/chromium-linux/fast/frames/iframe-scrolling-attribute-expected.png:
              * platform/chromium-linux/fast/multicol/positioned-with-constrained-height-expected.checksum:
              * platform/chromium-linux/fast/multicol/positioned-with-constrained-height-expected.png:
              * platform/chromium-linux/fast/repaint/overflow-scroll-delete-expected.checksum:
              * platform/chromium-linux/fast/repaint/overflow-scroll-delete-expected.png:
              * platform/chromium-linux/http/tests/navigation/error404-frames-expected.checksum:
              * platform/chromium-linux/http/tests/navigation/error404-frames-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a80a491
    • kbr@google.com's avatar
      2010-09-17 Kenneth Russell <kbr@google.com> · aad6c59e
      kbr@google.com authored
              Reviewed by Dimitri Glazkov.
      
              [chromium] Add mesa as DumpRenderTree dependency
              https://bugs.webkit.org/show_bug.cgi?id=46001
      
              * WebKit.gyp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aad6c59e
    • commit-queue@webkit.org's avatar
      2010-09-17 Marc-Antoine Ruel <maruel@chromium.org> · 50127f06
      commit-queue@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [Chromium] Split webcore_platform off webcore_remaining
      
              Further reduce webcore_remaining size by moving platform/ code in its
              own static libary.
              https://bugs.webkit.org/show_bug.cgi?id=45915
      
              * WebCore.gyp/WebCore.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50127f06
    • commit-queue@webkit.org's avatar
      2010-09-17 Sergio Villar Senin <svillar@igalia.com> · 5749e0e1
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              http/tests/security/xss-DENIED-mime-type-execute-as-html.html fails
              https://bugs.webkit.org/show_bug.cgi?id=37540
      
              * platform/gtk/Skipped: test works fine after the fix for
              https://bugs.webkit.org/show_bug.cgi?id=45377
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5749e0e1
    • mpcomplete@chromium.org's avatar
      2010-09-13 Matt Perry <mpcomplete@chromium.org> · 8eeb973b
      mpcomplete@chromium.org authored
              Reviewed by Darin Fisher.
      
              Have V8DOMWindowShell ask the embedder whether to run a V8 extension
              in a particular script context.
              https://bugs.webkit.org/show_bug.cgi?id=45721
      
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::V8DOMWindowShell::createNewContext):
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::registeredExtensionWithV8):
              (WebCore::V8Proxy::registerExtension):
              * bindings/v8/V8Proxy.h:
              * loader/EmptyClients.h:
              (WebCore::EmptyFrameLoaderClient::allowScriptExtension):
              * loader/FrameLoaderClient.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eeb973b
    • aestes@apple.com's avatar
      2010-09-17 Andy Estes <aestes@apple.com> · 73d4c1dd
      aestes@apple.com authored
              Reviewed by Darin Adler.
      
              <rdar://problem/8440903> WK2: REGRESSION (r66156): Web sites using
              AppleConnect fail to log in: "HTTP Status 404 - /ssowebapp/scriptFrame"
              https://bugs.webkit.org/show_bug.cgi?id=45960
      
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebKit::WebFrameLoaderClient::createPlugin):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73d4c1dd
    • commit-queue@webkit.org's avatar
      2010-09-17 Mihai Parparita <mihaip@chromium.org> · 48f7d5c4
      commit-queue@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              http/tests/navigation/post-goback1.html should not be a pixel test
              https://bugs.webkit.org/show_bug.cgi?id=45834
      
              Convert post-goback1.html to be a simpler dumpAsText test. It can use
              the form-target.pl that was added r67466 with some small modifications.
      
              To be extra safe, clear the back forward list for all the tests that
              were converted to use dumpAsText.
      
              * http/tests/navigation/post-basic.html:
              * http/tests/navigation/post-frames.html:
              * http/tests/navigation/post-goback1-expected.txt: Added.
              * http/tests/navigation/post-goback1.html:
              * http/tests/navigation/resources/form-target.pl:
              * http/tests/navigation/resources/go-back.html: Added.
              * platform/chromium-linux/http/tests/navigation/post-goback1-expected.checksum: Removed.
              * platform/chromium-linux/http/tests/navigation/post-goback1-expected.png: Removed.
              * platform/chromium-win/http/tests/navigation/post-goback1-expected.checksum: Removed.
              * platform/chromium-win/http/tests/navigation/post-goback1-expected.png: Removed.
              * platform/chromium/test_expectations.txt:
              * platform/mac/http/tests/navigation/post-goback1-expected.checksum: Removed.
              * platform/mac/http/tests/navigation/post-goback1-expected.png: Removed.
              * platform/mac/http/tests/navigation/post-goback1-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48f7d5c4
    • andersca@apple.com's avatar
      REGRESSION (r66711): Plug-in replacement text is never shown · f685c6d7
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=45997
      <rdar://problem/8446766>
      
      Reviewed by Sam Weinig.
      
      Don't return when the plug-in has replacement text.
      
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::paintReplaced):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f685c6d7
    • eric.carlson@apple.com's avatar
      2010-09-17 Eric Carlson <eric.carlson@apple.com> · 03cce9b0
      eric.carlson@apple.com authored
              Rubber-stamped by Simon Fraser.
      
              https://bugs.webkit.org/show_bug.cgi?id=45983
      
              * platform/win/Skipped: Skip media-can-play-mpeg4-video.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03cce9b0
    • jamesr@google.com's avatar
      2010-09-17 James Robinson <jamesr@chromium.org> · 25ee7c37
      jamesr@google.com authored
              Reviewed by Dimitri Glazkov.
      
              [chromium] Unskip the canvas philip suite
              https://bugs.webkit.org/show_bug.cgi?id=45991
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25ee7c37
    • andersca@apple.com's avatar
      Reviewed, tweaked, and landed by Anders Carlsson. · d9873172
      andersca@apple.com authored
      Patch by Sam Weinig <sam@webkit.org> on 2010-09-17
      Add WKCopyNSURLResponsePeerCertificates.
      
      * WebKitSystemInterface.h:
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceSnowLeopard.a:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9873172
    • weinig@apple.com's avatar
      Make WebNumbers immutable matching CF. · e13ac9b5
      weinig@apple.com authored
      Reviewed by Anders Carlsson.
      
      * Shared/WebNumber.h:
      (WebKit::WebNumber::value):
      (WebKit::WebNumber::WebNumber):
      * UIProcess/API/C/WKNumber.cpp:
      (WKUInt64GetValue):
      * UIProcess/API/C/WKNumber.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e13ac9b5
    • levin@chromium.org's avatar
      Remove unimplemented destructor declaration to fix Chromium build. · 8154b159
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=45987
      
      Patch by Eric Uhrhane <ericu@chromium.org> on 2010-09-17
      Reviewed by David Levin.
      
      * src/AsyncFileWriterChromium.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8154b159
    • ddkilzer@apple.com's avatar
      <http://webkit.org/b/45989> Add WebArchiveInternal.h to Xcode project · 5f7bd6f0
      ddkilzer@apple.com authored
      Reviewed by Joseph Pecoraro.
      
      * WebKit.xcodeproj/project.pbxproj: Added missing
      WebArchiveInternal.h header file to the project.  It has been
      missing since r31281!
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f7bd6f0
    • weinig@apple.com's avatar
      Add bool wrapper for WebKit2 API · 054b9532
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=45985
      
      Reviewed by John Sullivan.
      
      * Shared/APIObject.h:
      * Shared/WebNumber.h:
      * UIProcess/API/C/WKAPICast.h:
      * UIProcess/API/C/WKBase.h:
      * UIProcess/API/C/WKNumber.cpp:
      (WKBooleanGetTypeID):
      (WKBooleanCreate):
      (WKBooleanGetValue):
      (WKBooleanSetValue):
      * UIProcess/API/C/WKNumber.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      054b9532
    • jianli@chromium.org's avatar
      Skip the new test fast/files/create-blob-url-crash.html in unsupported · d2f72207
      jianli@chromium.org authored
      platforms.
      
      * platform/gtk/Skipped:
      * platform/mac-wk2/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2f72207
    • demarchi@webkit.org's avatar
      2010-09-17 Lucas De Marchi <lucas.demarchi@profusion.mobi> · 836d3794
      demarchi@webkit.org authored
              Unreviewed, build fix. Add files missed in r67704.
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      836d3794
    • simon.fraser@apple.com's avatar
      2010-09-17 Simon Fraser <simon.fraser@apple.com> · 0a00f374
      simon.fraser@apple.com authored
              Reviewed by Chris Marrin.
      
              Remove scroll and clip layers for WKCACFLayerRenderer
              https://bugs.webkit.org/show_bug.cgi?id=45922
      
              WKCACFLayerRenderer no longer needs its own layers for managing scrolling
              and clipping, because RenderLayerCompositor provides this functionality.
      
              * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
              (WebCore::MediaPlayerPrivateFullscreenWindow::setRootChildLayer): Remove call to setScrollFrame().
              (WebCore::MediaPlayerPrivateFullscreenWindow::wndProc): Ditto.
      
              * platform/graphics/win/WKCACFLayerRenderer.cpp: Remove references to scroll and clip layers
              (WebCore::WKCACFLayerRenderer::WKCACFLayerRenderer):
              (WebCore::WKCACFLayerRenderer::setRootChildLayer):
              (WebCore::WKCACFLayerRenderer::destroyRenderer):
              (WebCore::WKCACFLayerRenderer::resize):
              * platform/graphics/win/WKCACFLayerRenderer.h:
      
              * rendering/RenderLayerCompositor.cpp:
              (WebCore::RenderLayerCompositor::layerTreeAsText): Dump the layers from the root platform layer.
              (WebCore::RenderLayerCompositor::requiresScrollLayer): On Windows,
              always say yes.
      
      2010-09-17  Simon Fraser  <simon.fraser@apple.com>
      
              Reviewed by Chris Marrin.
      
              Remove scroll and clip layers for WKCACFLayerRenderer
              https://bugs.webkit.org/show_bug.cgi?id=45922
      
              WKCACFLayerRenderer no longer needs its own layers for managing scrolling
              and clipping, because RenderLayerCompositor provides this functionality.
      
              * WebView.cpp:
              (WebView::sizeChanged): Moved code that handles the WM_SIZE message
              into this method. Use it to resize the layer renderer.
              (WebView::WebViewWndProc): Call sizeChanged().
              (WebView::updateRootLayerContents): No need to call setScrollFrame() any more.
              (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline).
              * WebView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a00f374
    • jianli@chromium.org's avatar
      createBlobURL with no argument causes crash. · 4dbf81b7
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=45880
      
      Reviewed by Dmitry Titov.
      
      WebCore:
      
      The fix is to check if the passing blob argument is NULL or not.
      
      Test: fast/files/create-blob-url-crash.html
      
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::createPublicBlobURL):
      * page/DOMWindow.idl: Add attribute to convert null string to undefined.
      
      LayoutTests:
      
      * fast/files/create-blob-url-crash-expected.txt: Added.
      * fast/files/create-blob-url-crash.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4dbf81b7
    • cmarrin@apple.com's avatar
      2010-09-17 Chris Marrin <cmarrin@apple.com> · 09fa67e4
      cmarrin@apple.com authored
              Reviewed by Simon Fraser.
      
              Add WebKitAccelerated2dCanvasEnabled flag to WebKit for Mac
              https://bugs.webkit.org/show_bug.cgi?id=45911
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09fa67e4
    • bweinstein@apple.com's avatar
      Fix the bug number in the ChangeLog. · 5266ba35
      bweinstein@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5266ba35
    • bweinstein@apple.com's avatar
      Skip some userscripts tests that are flaky on Windows (but pass on Mac), · f7c477a9
      bweinstein@apple.com authored
      this needs investigation, and is being tracked by <http://webkit.org/b/44199>.
      
      Rubber-stamped by Adam Roben.
      
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7c477a9
    • abarth@webkit.org's avatar
      2010-09-17 Tony Gentilcore <tonyg@chromium.org> · 2f03455f
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              ASSERTION FAILED: m_loadEventDelayCount
              https://bugs.webkit.org/show_bug.cgi?id=45790
      
              * dom/AsyncScriptRunner.cpp: 
              (WebCore::AsyncScriptRunner::timerFired): Protect document before we go running scripts.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f03455f
    • senorblanco@chromium.org's avatar
      2010-09-17 Stephen White <senorblanco@chromium.org> · 0740db70
      senorblanco@chromium.org authored
              Reviewed by Kenneth Russell.
      
              [CHROMIUM] GPU-accelerated canvas should work in test_shell.
              https://bugs.webkit.org/show_bug.cgi?id=45968
      
              In order for the shaders in GPU-accelerated canvas to work in both the
              GraphicsContext3D / GLES2 path as well as chromium's test_shell (which
              passes them to the Mesa backend unmodified), the precision specifiers
              in the fragment shader have to be wrapped in #if GL_ES.
      
              Soon to be covered by many layout tests.
      
              * platform/graphics/gpu/SolidFillShader.cpp:
              (WebCore::SolidFillShader::create):
              * platform/graphics/gpu/TexShader.cpp:
              (WebCore::TexShader::create):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0740db70
    • wsiegrist@apple.com's avatar
      2010-09-17 William Siegrist <wsiegrist@apple.com> · e4e39fef
      wsiegrist@apple.com authored
      Replaces branches option with ChangeFilter since branches is now deprecated.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4e39fef
    • mrobinson@webkit.org's avatar
      2010-09-17 Martin Robinson <mrobinson@igalia.com> · 51d8ef34
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] [REGRESSION] Listbox rendering is incorrect
              https://bugs.webkit.org/show_bug.cgi?id=45941
      
              Only apply the shadow tiling optimization to a layer if the GraphicsContext
              has a shadow.
      
              This is covered by manual-tests/select-element-type-select.html.
      
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::drawBorderlessRectShadow): Before applying the tiled shadow optimization
              first check to see if the context has a shadow at all.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51d8ef34
    • mrobinson@webkit.org's avatar
      2010-09-17 Martin Robinson <mrobinson@igalia.com> · e3e53cb0
      mrobinson@webkit.org authored
              Reviewed by Oliver Hunt.
      
              [GTK] FontPlatformDataFreeType should use smart pointers to hold its members
              https://bugs.webkit.org/show_bug.cgi?id=45917
      
              Added support to PlatformRefPtr for handling HashTableDeletedValue.
      
              * wtf/PlatformRefPtr.h:
              (WTF::PlatformRefPtr::PlatformRefPtr): Added a constructor that takes HashTableDeletedValue.
              (WTF::PlatformRefPtr::isHashTableDeletedValue): Added.
      2010-09-17  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Oliver Hunt.
      
              [GTK] FontPlatformDataFreeType should use smart pointers to hold its members
              https://bugs.webkit.org/show_bug.cgi?id=45917
      
              Have FontPlatformDataFreeType use smart pointers to hold its reference-counted
              members. Also move the FcPattern specialization from OwnPtrCairo to PlatformRefPtrCairo
              as this type is reference-counted.
      
              No new tests as this should not introduce any functionality changes.
      
              * platform/graphics/cairo/FontCacheFreeType.cpp:
              (WebCore::FontCache::getFontDataForCharacters): Updated to reflect smart pointer changes.
              (WebCore::FontCache::createFontPlatformData): Ditto.
              * platform/graphics/cairo/FontPlatformDataFreeType.cpp:
              (WebCore::FontPlatformData::FontPlatformData): Ditto.
              (WebCore::FontPlatformData::operator=): Ditto.
              (WebCore::FontPlatformData::~FontPlatformData): Ditto.
              (WebCore::FontPlatformData::isFixedPitch): Ditto.
              (WebCore::FontPlatformData::operator==): Ditto.
              * platform/graphics/cairo/FontPlatformDataFreeType.h:
              (WebCore::FontPlatformData::FontPlatformData): Ditto.
              (WebCore::FontPlatformData::scaledFont): Ditto.
              (WebCore::FontPlatformData::hash): Ditto.
              (WebCore::FontPlatformData::isHashTableDeletedValue): Ditto.
              * platform/graphics/cairo/GlyphPageTreeNodeCairo.cpp:
              (WebCore::GlyphPage::fill): Ditto.
              * platform/graphics/cairo/OwnPtrCairo.cpp: Removed FcPattern specialization.
              * platform/graphics/cairo/OwnPtrCairo.h: Ditto.
              * platform/graphics/cairo/PlatformRefPtrCairo.cpp: Added FcPattern and cairo_scaled_font_t specializations.
              (WTF::refPlatformPtr): Ditto.
              (WTF::derefPlatformPtr): Ditto.
              * platform/graphics/cairo/PlatformRefPtrCairo.h: Ditto.
              * platform/graphics/cairo/SimpleFontDataCairo.cpp:
              (WebCore::SimpleFontData::platformInit): Updated to reflect smart pointer changes.
              (WebCore::SimpleFontData::containsCharacters): Ditto.
              (WebCore::SimpleFontData::platformWidthForGlyph): Ditto.
              * platform/graphics/gtk/FontGtk.cpp:
              (WebCore::setPangoAttributes): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3e53cb0
    • aroben@apple.com's avatar
      Land new Windows results for fast/forms/file-input-disabled.html · c7276971
      aroben@apple.com authored
      This corresponds to the changes made in r64712.
      
      Rubber-stamped by John Sullivan.
      
      * platform/win/fast/forms/file-input-disabled-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7276971
    • mrobinson@webkit.org's avatar
      2010-09-17 Martin Robinson <mrobinson@igalia.com> · e9c212d5
      mrobinson@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Style bot complains about cairo forward declaration naming
              https://bugs.webkit.org/show_bug.cgi?id=45867
      
              Exclude Cairo forward declarations from indentifiers with underscores checks.
      
              * Scripts/webkitpy/style/checkers/cpp.py: Add exclusion for Cairo forward-declarations.
              * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9c212d5
    • pfeldman@chromium.org's avatar
      2010-09-14 Pavel Podivilov <podivilov@chromium.org> · f0a27119
      pfeldman@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: show status message below call stack when debugger is paused on DOM breakpoint
              https://bugs.webkit.org/show_bug.cgi?id=45114
      
              * English.lproj/localizedStrings.js:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::performSearch):
              (WebCore::InspectorDOMAgent::shouldBreakOnNodeInsertion):
              (WebCore::InspectorDOMAgent::shouldBreakOnNodeRemoval):
              (WebCore::InspectorDOMAgent::shouldBreakOnAttributeModification):
              (WebCore::InspectorDOMAgent::descriptionForDOMEvent):
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::didPause):
              * inspector/front-end/CallStackSidebarPane.js:
              (WebInspector.CallStackSidebarPane):
              (WebInspector.CallStackSidebarPane.prototype.updateStatus.formatters.s):
              (WebInspector.CallStackSidebarPane.prototype.updateStatus.append):
              (WebInspector.CallStackSidebarPane.prototype.updateStatus):
              * inspector/front-end/ElementsPanel.js:
              (WebInspector.ElementsPanel.prototype.linkifyNodeById):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.debuggerPaused):
              * inspector/front-end/inspector.css:
              (.pane > .body .placard + .info):
              * inspector/front-end/inspector.js:
              (WebInspector.pausedScript):
              (WebInspector.formatLocalized):
      2010-09-14  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: show status message below call stack when debugger is paused on DOM breakpoint
              https://bugs.webkit.org/show_bug.cgi?id=45114
      
              * http/tests/inspector/inspector-test2.js:
              (initialize_InspectorTest.InspectorTest.evaluateInPageWithTimeout):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0a27119
    • tonyg@chromium.org's avatar
      2010-09-16 Tony Gentilcore <tonyg@chromium.org> · d46ee96d
      tonyg@chromium.org authored
              Reviewed by Adam Barth.
      
              Adding a timeline screenshot for blocking and defer scripts
              https://bugs.webkit.org/show_bug.cgi?id=45933
      
              * blog-files/timeline-blocking-script.png: Added.
              * blog-files/timeline-defer-script.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d46ee96d
    • inferno@chromium.org's avatar
      2010-09-17 Johnny Ding <jnd@chromium.org> · 1930aab3
      inferno@chromium.org authored
              Reviewed by Adam Barth.
      
              Stop history reload navigation to bypass WebKit's popup blocker.
              Now history reload can only navigate the page in self frame, no matter
              what target frame is defined in <base> and no new window can be created.
              https://bugs.webkit.org/show_bug.cgi?id=45369
      
              Test: fast/events/popup-blocked-from-history-reload.html
      
              * loader/RedirectScheduler.cpp:
              (WebCore::ScheduledNavigation::ScheduledNavigation):
              (WebCore::ScheduledNavigation::wasUserGesture):
              Move the m_wasUserGesture to base class ScheduledNavigation. Then all
              asynchronous navigation situations can restore the correct gesture state
              during the real navigation process.
              (WebCore::ScheduledURLNavigation::ScheduledURLNavigation):
              (WebCore::ScheduledURLNavigation::fire):
              (WebCore::ScheduledURLNavigation::referrer):
              (WebCore::ScheduledHistoryNavigation::ScheduledHistoryNavigation):
              (WebCore::ScheduledHistoryNavigation::fire):
              (WebCore::ScheduledFormSubmission::ScheduledFormSubmission):
              (WebCore::ScheduledFormSubmission::fire):
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
      2010-09-17  Johnny Ding  <jnd@chromium.org>
      
              Reviewed by Adam Barth.
      
              Stop history reload navigation to bypass WebKit's popup blocker.
              https://bugs.webkit.org/show_bug.cgi?id=45369
      
              * fast/events/popup-blocked-from-history-reload-expected.txt: Added.
              * fast/events/popup-blocked-from-history-reload.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1930aab3
    • zmo@google.com's avatar
      2010-09-17 Zhenyao Mo <zmo@google.com> · 1934df72
      zmo@google.com authored
              Unreviewed.
      
              Add failing WebGL tests in drt_expectations.txt.
      
              * platform/chromium/drt_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1934df72