1. 26 Jan, 2011 37 commits
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · 6e56156c
      rniwa@webkit.org authored
              Another unreviewed Chromium test expectation update.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e56156c
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · 5985d5bd
      rniwa@webkit.org authored
              Unreviewed Chromium test expectation update.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5985d5bd
    • dpranke@chromium.org's avatar
      2011-01-26 Dirk Pranke <dpranke@chromium.org> · f5003089
      dpranke@chromium.org authored
              Reviewed by Tony Chang.
      
              new-run-webkit-tests: add a "mock DRT" port implementation
              and a separate class that emulates what we expect the
              DumpRenderTree behavior to be.
      
              This will eventually replace port/dryrun.py and allow us to get
              better test coverage of the new-run-webkit-tests code as well as
              a reference for what new-run-webkit-tests expects from DRT.
      
              This is the first attempt at this, and it is pretty bare-boned. It
              really only has been tested on the 'mac' port (and a little on
              the 'chromium-mac' port.
      
              https://bugs.webkit.org/show_bug.cgi?id=53126
      
              * Scripts/webkitpy/layout_tests/port/mock_drt.py: Added.
              * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Added.
              * Scripts/webkitpy/layout_tests/port/factory.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5003089
    • jschuh@chromium.org's avatar
      2011-01-26 Justin Schuh <jschuh@chromium.org> · ce0961b9
      jschuh@chromium.org authored
              Reviewed by Adam Barth.
      
              Make fireEventsAndUpdateStyle use stack local vectors. 
              https://bugs.webkit.org/show_bug.cgi?id=46760
      
              Test: animations/animation-add-events-in-handler.html
      
              * page/animation/AnimationController.cpp:
              (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
      2011-01-26  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Adam Barth.
      
              Make fireEventsAndUpdateStyle use stack local vectors.   
              https://bugs.webkit.org/show_bug.cgi?id=46760
      
              * animations/animation-add-events-in-handler-expected.txt: Added.
              * animations/animation-add-events-in-handler.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce0961b9
    • tony@chromium.org's avatar
      2011-01-26 Tony Chang <tony@chromium.org> · 8336652a
      tony@chromium.org authored
              Unreviewed, marking fast/overflow/overflow-rtl-vertical.html as
              passing.  This was fixed in r76669.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8336652a
    • bweinstein@apple.com's avatar
      Skip fast/loader/willSendRequest-null-for-preload.html on WebKit2, because WebKit2 doesn't have · 7c807618
      bweinstein@apple.com authored
      setWillSendRequestReturnsNull yet.
              
      This is tracked by https://bugs.webkit.org/show_bug.cgi?id=42690.
      
      * platform/mac-wk2/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c807618
    • bweinstein@apple.com's avatar
      Update the test landed in r76701 to not depend on loading a "script" from... · 8a39eacf
      bweinstein@apple.com authored
      Update the test landed in r76701 to not depend on loading a "script" from http://example.com, make it
      use a local script (which still reproduces the crash).
      
      Reviewed by Ryosuke Niwa.
      
      * fast/loader/resources/empty-script.js: Added.
      * fast/loader/willSendRequest-null-for-preload-expected.txt: Removed the line for the console error.
      * fast/loader/willSendRequest-null-for-preload.html: Have the script in the head be a local script.
      * platform/win/fast/loader: Removed.
      * platform/win/fast/loader/willSendRequest-null-for-preload-expected.txt: Removed. No need for platform-specific results.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a39eacf
    • commit-queue@webkit.org's avatar
      2011-01-26 Xianzhu Wang <wangxianzhu@google.com> · b6db8178
      commit-queue@webkit.org authored
              Reviewed by Tony Chang.
      
              Add '--no-timeout' option to Chromium DRT to ease debugging.
              https://bugs.webkit.org/show_bug.cgi?id=52873
      
              * DumpRenderTree/chromium/DumpRenderTree.cpp:
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6db8178
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · 64c746c2
      rniwa@webkit.org authored
              Another unreviewed Chromium rebaselines for r76688.
      
              * platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
              * platform/chromium-win/svg/batik/text/textEffect3-expected.png:
              * platform/chromium-win/svg/custom/use-setAttribute-crash-expected.checksum:
              * platform/chromium-win/svg/custom/use-setAttribute-crash-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64c746c2
    • japhet@chromium.org's avatar
      2011-01-26 Nate Chapin <japhet@chromium.org> · b254c9b2
      japhet@chromium.org authored
              Reviewed by Adam Barth.
      
              Remove m_URL from FrameLoader and depend on Document::url()
              instead. FrameLoader::url() will be removed in a followup patch.
              https://bugs.webkit.org/show_bug.cgi?id=41165
      
              Refactor only, no new tests.
      
              * WebCore.exp.in:
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::updateURLForPushOrReplaceState):
              * loader/DocumentWriter.cpp:
              (WebCore::DocumentWriter::begin):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::iconURL):
              (WebCore::FrameLoader::didOpenURL):
              (WebCore::FrameLoader::didExplicitOpen):
              (WebCore::FrameLoader::receivedFirstData):
              (WebCore::FrameLoader::url):
              (WebCore::FrameLoader::setOutgoingReferrer):
              (WebCore::FrameLoader::startIconLoader):
              (WebCore::FrameLoader::commitIconURLToIconDatabase):
              (WebCore::FrameLoader::finishedParsing):
              (WebCore::FrameLoader::checkIfDisplayInsecureContent):
              (WebCore::FrameLoader::checkIfRunInsecureContent):
              (WebCore::FrameLoader::updateFirstPartyForCookies):
              (WebCore::FrameLoader::loadInSameDocument):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::open):
              (WebCore::FrameLoader::shouldScrollToAnchor):
              * loader/FrameLoader.h: Rename setURL() to setOutgoingReferrer().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b254c9b2
    • bweinstein@apple.com's avatar
      Source/WebCore: Crashes loading pages when cancelling subresource loads through WebKit · 3ce3939f
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53123
      <rdar://problem/8914361>
              
      Reviewed by Antti Koivisto.
      
      Fix a crash that happened when cancelling subresource loads through WebKit.
              
      When a load is cancelled synchronously (via the WebKit client), CachedResourceLoader::requestResource 
      can be called recursively on the same function, either leading to infinite recursion, or deleting 
      an object when it is not done being used.
              
      The fix for this was to call checkForPendingPreloads and servePendingRequests asynchronously when 
      CachedResourceLoader::loadDone was called synchronously (due to the load being cancelled synchronously).
      
      Test: fast/loader/willSendRequest-null-for-preload.html
      
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::setRequest): Only dispatch didReceiveServerRedirectForProvisionalLoadForFrame 
          if our new URL is non-null.
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::CachedResourceLoader): Initialize our timer.
      (WebCore::CachedResourceLoader::loadDone): If the CachedResource we were passed in was 0, that means this 
          function was called synchronously
          from CachedResourceRequest::load, and we don't want to call into checkForPendingPreloads synchronously, 
          so put it on a 0-delay timer to make the calls to checkForPendingPreloads and servePendingRequests asynchronous.
      (WebCore::CachedResourceLoader::loadDonePendingActionTimerFired): Call checkForPendingPreloads and servePendingRequests.
      (WebCore::CachedResourceLoader::checkForPendingPreloads): m_pendingPreloads is now a Deque instead of a Vector, 
          so use Deque methods.
      * loader/cache/CachedResourceLoader.h: Add the timer, the timer callback function, and make m_pendingPreloads a Deque.
      
      Source/WebKit2: Crashes loading pages when cancelling subresource loads through WebKit
      https://bugs.webkit.org/show_bug.cgi?id=53123
      <rdar://problem/8914361>
      
      Reviewed by Antti Koivisto.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType): If our URL is null, return early instead of dispatching
          a message.
      
      LayoutTests: Reviewed byAntti Koivisto.
      
      Crashes loading pages when cancelling subresource loads through WebKit
      https://bugs.webkit.org/show_bug.cgi?id=53123
      <rdar://problem/8914361>
              
      Add tests for crashing when cancelling subresource loads through WebKit via setWillSendRequestReturnsNull.
      
      * fast/loader/willSendRequest-null-for-preload-expected.txt: Added.
      * fast/loader/willSendRequest-null-for-preload.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ce3939f
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · db205667
      rniwa@webkit.org authored
              Unreviewed Chromium Linux rebaselines for r76688.
      
              * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
              * platform/chromium-linux/svg/batik/text/textOnPathSpaces-expected.checksum:
              * platform/chromium-linux/svg/batik/text/textOnPathSpaces-expected.png:
              * platform/chromium-linux/svg/batik/text/verticalText-expected.checksum:
              * platform/chromium-linux/svg/batik/text/verticalText-expected.png:
              * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.checksum:
              * platform/chromium-linux/svg/batik/text/verticalTextOnPath-expected.png:
              * platform/chromium-linux/svg/custom/linking-a-03-b-all-expected.checksum:
              * platform/chromium-linux/svg/custom/linking-a-03-b-all-expected.png:
              * platform/chromium-linux/svg/custom/linking-a-03-b-viewBox-transform-expected.checksum:
              * platform/chromium-linux/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
              * platform/chromium-linux/svg/custom/preserve-aspect-ratio-syntax-expected.checksum:
              * platform/chromium-linux/svg/custom/preserve-aspect-ratio-syntax-expected.png:
              * platform/chromium-linux/svg/custom/use-transform-expected.checksum:
              * platform/chromium-linux/svg/custom/use-transform-expected.png:
              * platform/chromium-linux/svg/custom/viewbox-syntax-expected.checksum:
              * platform/chromium-linux/svg/custom/viewbox-syntax-expected.png:
              * platform/chromium-linux/svg/text/text-text-06-t-expected.checksum:
              * platform/chromium-linux/svg/text/text-text-06-t-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db205667
    • podivilov@chromium.org's avatar
      2011-01-25 Pavel Podivilov <podivilov@chromium.org> · d2e8a307
      podivilov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: evaluate in console may not work when window.console is substituted or deleted.
              https://bugs.webkit.org/show_bug.cgi?id=53072
      
              * inspector/console-substituted-expected.txt: Added.
              * inspector/console-substituted.html: Added.
      2011-01-25  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: evaluate in console may not work when window.console is substituted or deleted.
              https://bugs.webkit.org/show_bug.cgi?id=53072
      
              Test: inspector/console-substituted.html
      
              * inspector/InjectedScriptSource.js:
              (.):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2e8a307
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · 1a70d38a
      rniwa@webkit.org authored
              Layout test missing expectation after 58524
              https://bugs.webkit.org/show_bug.cgi?id=38360
      
              Unreviewed; Chromium rebaselines.
      
              * platform/chromium-linux/fast/images/svg-background-partial-redraw-expected.checksum: Added.
              * platform/chromium-linux/fast/images/svg-background-partial-redraw-expected.png: Added.
              * platform/chromium-win/fast/images/svg-background-partial-redraw-expected.checksum: Added.
              * platform/chromium-win/fast/images/svg-background-partial-redraw-expected.png: Added.
              * platform/chromium-win/fast/images/svg-background-partial-redraw-expected.txt: Added.
              * platform/chromium-win/svg/carto.net/tabgroup-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a70d38a
    • carlosgc@webkit.org's avatar
      2011-01-26 Carlos Garcia Campos <cgarcia@igalia.com> · 6a09ab81
      carlosgc@webkit.org authored
              Reviewed by Martin Robinson.
      
              [cairo] Use CAIRO_OPERATOR_DARKEN when available
              https://bugs.webkit.org/show_bug.cgi?id=53084
      
              * platform/gtk/Skipped: Unskip test.
              * platform/gtk/fast/canvas/canvas-composite-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-composite-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-composite-expected.txt: Added.
      2011-01-26  Carlos Garcia Campos  <cgarcia@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [cairo] Use CAIRO_OPERATOR_DARKEN when available
              https://bugs.webkit.org/show_bug.cgi?id=53084
      
              Use CAIRO_OPERATOR_DARKEN for CompositePlusDarker instead of
              CAIRO_OPERATOR_SATURATE when building with cairo version >= 1.10.
      
              * platform/graphics/cairo/CairoUtilities.cpp:
              (WebCore::toCairoOperator):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a09ab81
    • kov@webkit.org's avatar
      2011-01-26 Gustavo Noronha Silva <gns@gnome.org> · dda4511d
      kov@webkit.org authored
              Rubber-stamped by Andreas Kling.
      
              Fix my blog's feed URL, since it seems to have changed with the
              new version of Wordpress causing unwanted posts to appear in
              Planet WebKit.
      
              * config.ini:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dda4511d
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · 1a6663c8
      rniwa@webkit.org authored
              Unreviewed Chromium rebaselines for r76688.
      
              * platform/chromium-linux/fast/backgrounds/size/contain-and-cover-expected.checksum:
              * platform/chromium-linux/fast/backgrounds/size/contain-and-cover-expected.png:
              * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.checksum:
              * platform/chromium-linux/fast/backgrounds/svg-as-background-5-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
              * platform/chromium-linux/svg/custom/focus-ring-expected.checksum:
              * platform/chromium-linux/svg/custom/focus-ring-expected.png:
              * platform/chromium-linux/svg/custom/svg-curve-with-relative-cordinates-expected.checksum:
              * platform/chromium-linux/svg/custom/svg-curve-with-relative-cordinates-expected.png:
              * platform/chromium-linux/svg/transforms/animated-path-inside-transformed-html-expected.checksum: Added.
              * platform/chromium-linux/svg/transforms/animated-path-inside-transformed-html-expected.png: Added.
              * platform/chromium-win/fast/backgrounds/size/contain-and-cover-expected.checksum:
              * platform/chromium-win/fast/backgrounds/size/contain-and-cover-expected.png:
              * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.checksum:
              * platform/chromium-win/fast/backgrounds/svg-as-background-5-expected.png:
              * platform/chromium-win/fast/images/animated-svg-as-image-expected.checksum:
              * platform/chromium-win/fast/images/animated-svg-as-image-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
              * platform/chromium-win/svg/custom/focus-ring-expected.checksum:
              * platform/chromium-win/svg/custom/focus-ring-expected.png:
              * platform/chromium-win/svg/custom/svg-curve-with-relative-cordinates-expected.checksum:
              * platform/chromium-win/svg/custom/svg-curve-with-relative-cordinates-expected.png:
              * platform/chromium-win/svg/custom/use-css-events-expected.checksum:
              * platform/chromium-win/svg/custom/use-css-events-expected.png:
              * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.checksum:
              * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.png:
              * platform/chromium-win/svg/zoom/text/zoom-coords-viewattr-01-b-expected.checksum:
              * platform/chromium-win/svg/zoom/text/zoom-coords-viewattr-01-b-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a6663c8
    • ossy@webkit.org's avatar
      [Qt] Fix qt_minimal build · 8f6d89dc
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53172
      
      Reviewed by Andreas Kling.
      
      * Source/WebKit.pri:
      * Tools/QtTestBrowser/locationedit.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f6d89dc
    • commit-queue@webkit.org's avatar
      2011-01-26 Mansi Mithal <mansi.mithal@nokia.com> · d9ec9587
      commit-queue@webkit.org authored
              Reviewed by Antonio Gomes.
      
              QtTestBrowser should have a UI Setting to disable plugins
              https://bugs.webkit.org/show_bug.cgi?id=52408
      
              Added a new action item named "Disable Plugins"
              under the "Settings" menu.
      
              * QtTestBrowser/launcherwindow.cpp:
              (LauncherWindow::createChrome):
              (LauncherWindow::togglePlugins):
              * QtTestBrowser/launcherwindow.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9ec9587
    • pfeldman@chromium.org's avatar
      2011-01-26 Pavel Feldman <pfeldman@chromium.org> · 01705be3
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: visualize \n in strings as unicode cr
              symbol in stack variables sidebar.
              https://bugs.webkit.org/show_bug.cgi?id=53162
      
              * inspector/front-end/ObjectPropertiesSection.js:
              (WebInspector.ObjectPropertyTreeElement.prototype.update):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01705be3
    • caseq@chromium.org's avatar
      Unreviewed: fixed bug summary in ChangeLog entry for r76690. · d5ac7dd4
      caseq@chromium.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5ac7dd4
    • caseq@chromium.org's avatar
      2011-01-26 Andrey Kosyakov <caseq@chromium.org> · e78217f9
      caseq@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: summary bar is not resized properly with the rest of network panel
              - Set the size for 304/not modified resources from cached resource.
              - Add response headers size to resource transfer size.
              https://bugs.webkit.org/show_bug.cgi?id=52886
      
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::didReceiveResponse):
              * inspector/front-end/Resource.js:
              (WebInspector.Resource):
              (WebInspector.Resource.prototype.get transferSize):
              (WebInspector.Resource.prototype.set responseHeaders):
              (WebInspector.Resource.prototype._headersSize):
              (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e78217f9
    • carol.szabo@nokia.com's avatar
      2011-01-26 Carol Szabo <carol.szabo@nokia.com> · 46da0e5b
      carol.szabo@nokia.com authored
              Reviewed by Simon Hausmann.
      
              Fixed TiledBacking store to take into account new dirty regions caused by
              paint time layouts.
      
              Flawed rendering design for QtWebKit resulting in artifacts being displayed
              https://bugs.webkit.org/show_bug.cgi?id=49184
      
              There are no new tests as this patch aims at fixing flicker that
              happen randomly, mostly on slow hardware, thus are hard to reproduce
              consistently in an automated test.
      
              This patch does not fully address the said bug but it is a step in the
              right direction. A full solution to the bug, as currently perceived,
              requires either a Qt GUI API change, a performance hit for QtWebKit,
              or a hack, until a full solution is provided this patch is progress.
      
              * platform/graphics/TiledBackingStore.cpp:
              (WebCore::TiledBackingStore::updateTileBuffers):
              Changed to take into account newly dirtied areas created during
              tile update initiated layouts during the same update.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46da0e5b
    • paroga@webkit.org's avatar
      2011-01-26 Patrick Gansterer <paroga@webkit.org> · 4f7e03d9
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              [SKIA] Remove "current path" of GraphicsContext
              https://bugs.webkit.org/show_bug.cgi?id=53124
      
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::clipPath):
              (WebCore::GraphicsContext::fillPath):
              (WebCore::GraphicsContext::strokePath):
              * platform/graphics/skia/PathSkia.cpp:
              (WebCore::Path::strokeBoundingRect):
              * platform/graphics/skia/PlatformContextSkia.cpp:
              * platform/graphics/skia/PlatformContextSkia.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f7e03d9
    • paroga@webkit.org's avatar
      2011-01-26 Patrick Gansterer <paroga@webkit.org> · fc9d884f
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              [WINCE] Add JIT support to build system
              https://bugs.webkit.org/show_bug.cgi?id=53079
      
              * CMakeListsWinCE.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc9d884f
    • andreas.kling@nokia.com's avatar
      2011-01-26 Zalan Bujtas <zbujtas@gmail.com> · d8ddce4f
      andreas.kling@nokia.com authored
              Reviewed by Andreas Kling.
      
              [Qt] Path::normalAngleAtLength() returns incorrect value on ACID3.
      
              QPainterPath returns angle values with the origo being at the top left corner,
              we need to account for this in normalAngleAtLength().
              This Regressed with r66979.
      
              No new tests as this is already covered by ACID3.
      
              * platform/graphics/qt/PathQt.cpp:
              (WebCore::Path::normalAngleAtLength):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8ddce4f
    • mjs@apple.com's avatar
      2011-01-26 Maciej Stachowiak <mjs@apple.com> · d8fa577a
      mjs@apple.com authored
              Reviewed by Andreas Kling.
      
              Skip a test for WebKit2 that uses eventSender
              https://bugs.webkit.org/show_bug.cgi?id=53168
      
              * platform/mac-wk2/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8fa577a
    • yurys@chromium.org's avatar
      2011-01-26 Yury Semikhatsky <yurys@chromium.org> · 1628aae9
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: inspector should start in attached state by default
              https://bugs.webkit.org/show_bug.cgi?id=53165
      
              * WebCoreSupport/WebInspectorClientCF.cpp:
              (WebInspectorClient::inspectorStartsAttached):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1628aae9
    • pfeldman@chromium.org's avatar
      2011-01-26 Pavel Feldman <pfeldman@chromium.org> · e4d6c649
      pfeldman@chromium.org authored
              Not reviewed: inspector tests fix.
      
              * http/tests/inspector/inspector-test2.js:
              (initialize_InspectorTest.InspectorTest.evaluateInPage):
              * inspector/console-format.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4d6c649
    • carlosgc@webkit.org's avatar
      2011-01-26 Carlos Garcia Campos <cgarcia@igalia.com> · 9b8b8d6c
      carlosgc@webkit.org authored
              Unreviewed, unskip passing canvas tests in GTK port.
      
              * platform/gtk/Skipped: Unskip passing canvas tests.
              * platform/gtk/fast/canvas/arc360-expected.checksum: Added.
              * platform/gtk/fast/canvas/arc360-expected.png: Added.
              * platform/gtk/fast/canvas/arc360-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-as-image-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-as-image-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-as-image-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-as-image-incremental-repaint-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-as-image-incremental-repaint-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-as-image-incremental-repaint-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-before-css-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-before-css-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-before-css-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-bg-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-bg-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-bg-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-bg-zoom-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-bg-zoom-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-bg-zoom-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-resize-reset-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-resize-reset-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-resize-reset-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-size-change-after-layout-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-size-change-after-layout-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-size-change-after-layout-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-text-baseline-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-text-baseline-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-text-baseline-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.png: Added.
              * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.txt: Added.
              * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.checksum: Added.
              * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.png: Added.
              * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.txt: Added.
              * platform/gtk/fast/canvas/drawImage-expected.checksum: Added.
              * platform/gtk/fast/canvas/drawImage-expected.png: Added.
              * platform/gtk/fast/canvas/drawImage-expected.txt: Added.
              * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.checksum: Added.
              * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.png: Added.
              * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.txt: Added.
              * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.checksum: Added.
              * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
              * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Added.
              * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.checksum: Added.
              * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.png: Added.
              * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Added.
              * platform/gtk/fast/canvas/fillrect_gradient-expected.checksum: Added.
              * platform/gtk/fast/canvas/fillrect_gradient-expected.png: Added.
              * platform/gtk/fast/canvas/fillrect_gradient-expected.txt: Added.
              * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.checksum: Added.
              * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
              * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.txt: Added.
              * platform/gtk/fast/canvas/image-object-in-canvas-expected.checksum: Added.
              * platform/gtk/fast/canvas/image-object-in-canvas-expected.png: Added.
              * platform/gtk/fast/canvas/image-object-in-canvas-expected.txt: Added.
              * platform/gtk/fast/canvas/quadraticCurveTo-expected.checksum: Added.
              * platform/gtk/fast/canvas/quadraticCurveTo-expected.png: Added.
              * platform/gtk/fast/canvas/quadraticCurveTo-expected.txt: Added.
              * platform/gtk/fast/canvas/zero-size-fill-rect-expected.checksum: Added.
              * platform/gtk/fast/canvas/zero-size-fill-rect-expected.png: Added.
              * platform/gtk/fast/canvas/zero-size-fill-rect-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b8b8d6c
    • pfeldman@chromium.org's avatar
      2011-01-26 Pavel Feldman <pfeldman@chromium.org> · 9400ebdc
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: live edit does not update source snippet.
              https://bugs.webkit.org/show_bug.cgi?id=53097
      
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9400ebdc
    • pfeldman@chromium.org's avatar
      2011-01-26 Pavel Feldman <pfeldman@chromium.org> · 9c856a3a
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Incorrect on-hover evaluation of a variable named 'profile'.
              https://bugs.webkit.org/show_bug.cgi?id=53018
      
              * inspector/InjectedScript.cpp:
              (WebCore::InjectedScript::evaluate):
              (WebCore::InjectedScript::evaluateOnCallFrame):
              (WebCore::InjectedScript::getCompletions):
              (WebCore::InjectedScript::getCompletionsOnCallFrame):
              * inspector/InjectedScript.h:
              * inspector/InjectedScriptSource.js:
              (.):
              * inspector/Inspector.idl:
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
              (WebCore::InspectorDebuggerAgent::getCompletionsOnCallFrame):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorRuntimeAgent.cpp:
              (WebCore::InspectorRuntimeAgent::evaluate):
              (WebCore::InspectorRuntimeAgent::getCompletions):
              * inspector/InspectorRuntimeAgent.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype.completions):
              (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
              (WebInspector.ConsoleView.prototype._enterKeyPressed):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame.updatingCallbackWrapper):
              (WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._showPopup):
              * inspector/front-end/WatchExpressionsSidebarPane.js:
              (WebInspector.WatchExpressionsSection.prototype.update):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c856a3a
    • commit-queue@webkit.org's avatar
      2011-01-26 Hironori Bono <hbono@chromium.org> · 46685305
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              A speculative fix for Bug 52422 - [chromium] More crash in
              FontFallbackList::determinePitch(const Font* font)
              https://bugs.webkit.org/show_bug.cgi?id=52422
      
              My previous change may not work on non-US Windows whose system fonts
              have localized aliases matching to the system locale because of a
              font-name mismatch in createFontIndirectAndGetWinName(). This change
              tries all the fonts installed in a PC and returns the first font that we
              can create without errors.
      
              * platform/graphics/chromium/FontCacheChromiumWin.cpp:
              (WebCore::GetLastResortFallbackFontProcData::GetLastResortFallbackFontProcData):
              Added a struct used for getLastResortFallbackFontProc().
              (WebCore::getLastResortFallbackFontProc): Added a callback for EnumFontFamilies().
              (WebCore::FontCache::getLastResortFallbackFont): Use EnumFontFamilies() to find a last-resort font.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46685305
    • yuzo@google.com's avatar
      2011-01-26 Yuzo Fujishima <yuzo@google.com> · 2f161ff9
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              Mark some complex script tests as failing since r76674.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f161ff9
    • commit-queue@webkit.org's avatar
      2011-01-26 James Robinson <jamesr@chromium.org> · 27fbee6f
      commit-queue@webkit.org authored
              Reviewed by Nate Chapin.
      
              Add a DOMTimeStamp parameter to the requestAnimationFrame callback
              https://bugs.webkit.org/show_bug.cgi?id=53142
      
              Adds a test for the parameter passed to the requestAnimationFrame callback.
      
              * fast/animation/request-animation-frame-timestamps-expected.txt: Added.
              * fast/animation/request-animation-frame-timestamps.html: Added.
              * fast/animation/script-tests/request-animation-frame-timestamps.js: Added.
      2011-01-26  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Nate Chapin.
      
              Add a DOMTimeStamp parameter to the requestAnimationFrame callback
              https://bugs.webkit.org/show_bug.cgi?id=53142
      
              This adds a DOMTimeStamp parameter to the requestAnimationFrame callback to more
              closely match mozilla's proposal.  This is useful if the page has multiple imperative animations
              and wants to ensure that they all remain synchronized.  If each callback used Date.now() to
              update its animation state, they would potentially be out of sync with each other.  If they use
              the timestamp then all callbacks for the same "frame" will update to the same state.
      
              Test: fast/animation/request-animation-frame-timestamps.html
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/scripts/test/V8/V8TestCallback.cpp:
              (WebCore::V8TestCallback::callbackWithClass2Param):
              * dom/Document.cpp:
              (WebCore::Document::serviceScriptedAnimations):
              * dom/Document.h:
              * dom/RequestAnimationFrameCallback.h:
              * dom/RequestAnimationFrameCallback.idl:
              * page/FrameView.cpp:
              (WebCore::FrameView::serviceScriptedAnimations):
              * page/FrameView.h:
      2011-01-26  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Nate Chapin.
      
              Add a DOMTimeStamp parameter to the requestAnimationFrame callback
              https://bugs.webkit.org/show_bug.cgi?id=53142
      
              Provides a timestamp to use for imperative animation callbacks.  In this patch the timestamp is
              just the current time at the start of the callback invocation algorithm.  In the future we
              could enhance this to try to take the compositing delay into effect to try to synchronize
              imperative animations more closely with declarative ones, but this should do for now.
      
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::animate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27fbee6f
    • yuzo@google.com's avatar
      2011-01-25 Yuzo Fujishima <yuzo@google.com> · 2935b7c1
      yuzo@google.com authored
              Unreviewed attempt to fix compilation error for Chromium Clang.
      
              * platform/graphics/mac/ComplexTextController.cpp:
              (WebCore::ComplexTextController::advance):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2935b7c1
    • yuzo@google.com's avatar
      2011-01-25 Yuzo Fujishima <yuzo@google.com> · 823da6e7
      yuzo@google.com authored
              Unreviewed Chromium test expectation change
      
              Mark fast/text/offsetForPosition-complex-fallback.html as failing for WIN and LINUX.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      823da6e7
  2. 25 Jan, 2011 3 commits