1. 23 Nov, 2009 9 commits
    • oliver@apple.com's avatar
      Don't leak the CGImage we create when drawing a sub image. · 4b0adf81
      oliver@apple.com authored
      Reviewed by Geoff Garen.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b0adf81
    • abarth@webkit.org's avatar
      2009-11-23 Adam Barth <abarth@webkit.org> · 43cd1a36
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Don't crash when OOM in creating isolated world
              https://bugs.webkit.org/show_bug.cgi?id=31805
      
              We need to add some more null checks to avoid crashing.  No new tests
              because we don't have a good way to test out-of-memory bugs.
      
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::evaluateInIsolatedWorld):
              (WebCore::V8Proxy::evaluateInNewContext):
              (WebCore::V8Proxy::setInjectedScriptContextDebugId):
              * bindings/v8/V8Proxy.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43cd1a36
    • bweinstein@apple.com's avatar
      Touch WebKit.idl to force a rebuild. · 1138a48f
      bweinstein@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1138a48f
    • krit@webkit.org's avatar
      2009-11-23 Dirk Schulze <krit@webkit.org> · 5adf763c
      krit@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              This is the implementation of the filterRes attribute. It
              helps the SVG developer to set the quality of a filter by
              giving the width or height of filter.
              This patch also sets the filter resolution to lower values
              if a intermediate ImageBuffer size is bigger than the given
              maximal size.
              The maximal size is set to 5000x5000 by default. This is a
              subjectiv decission. Everthing greater than this values gets
              sensible slower. Values of 10000x10000 crashed on WebKitGtk.
              For mobil devices a maximum size of 100x100 or 200x200 seems
              to be reasonable.
              The important fact on filter resolution is, that the output
              size is still the size given by the <filter> element.
      
              Tests: svg/filters/big-sized-filter-2.svg
                     svg/filters/big-sized-filter.svg
                     svg/filters/filterRes.svg
      
              * platform/graphics/FloatRect.cpp:
              (WebCore::FloatRect::scale): Add the abbility to scale a rect by x and y.
              * platform/graphics/FloatRect.h:
              (WebCore::FloatRect::scale): Add the abbility to scale a rect by x and y.
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::createPlatformShadow): Use scaledSubRegion for
              calculation.
              * platform/graphics/filters/FEBlend.cpp:
              (WebCore::FEBlend::apply): Use scaledSubRegion for effect intern calculations.
              * platform/graphics/filters/FEColorMatrix.cpp:
              (WebCore::FEColorMatrix::apply): Use scaledSubRegion for effect intern calculations.
              * platform/graphics/filters/FEComponentTransfer.cpp:
              (WebCore::FEComponentTransfer::apply): Use scaledSubRegion for effect intern
              calculations.
              * platform/graphics/filters/FEComposite.cpp:
              (WebCore::FEComposite::apply): Use scaledSubRegion for effect intern calculations.
              * platform/graphics/filters/FEGaussianBlur.cpp:
              (WebCore::FEGaussianBlur::apply): Use scaledSubRegion for effect intern calculations.
              * platform/graphics/filters/Filter.h: Add the abbility to change the quality
              of a filter output.
              (WebCore::Filter::filterResolution):
              (WebCore::Filter::setFilterResolution):
              (WebCore::Filter::calculateEffectSubRegion): Calculates the correct subRegion
              as well as the scaledSubRegion. It also searches for the biggest effect size.
              We have to change the filter resolution, if one intermediate ImageBuffer size
              doesn't fit in the maximal image size.
              * platform/graphics/filters/FilterEffect.cpp:
              (WebCore::FilterEffect::calculateDrawingIntRect): Use scaledSubRegion to get
              the right part of a previous effect result.
              (WebCore::FilterEffect::calculateDrawingRect): Use scaledSubRegion to get
              the right part of a previous effect result.
              (WebCore::FilterEffect::getEffectContext): Use scaledSubRegion to create
              a new intermediate ImageBuffer for the result of the current effect.
              * platform/graphics/filters/FilterEffect.h:
              (WebCore::FilterEffect::scaledSubRegion): The scaled subRegion of a the
              filter effect.
              (WebCore::FilterEffect::setScaledSubRegion):
              (WebCore::FilterEffect::effectBoundaries): The original values of the
              EffectElement for a second subRegion calculation.
              (WebCore::FilterEffect::setEffectBoundaries):
              * platform/graphics/filters/ImageBufferFilter.cpp:
              (WebCore::ImageBufferFilter::ImageBufferFilter): Set the scale factor to one.
              * platform/graphics/filters/ImageBufferFilter.h:
              (WebCore::ImageBufferFilter::maxImageSize):
              (WebCore::ImageBufferFilter::calculateEffectSubRegion):
              * platform/graphics/filters/SourceAlpha.cpp:
              (WebCore::SourceAlpha::calculateEffectRect): Use scaledSubRegion for effect
              intern calculations.
              * platform/graphics/filters/SourceGraphic.cpp:
              (WebCore::SourceGraphic::calculateEffectRect): Use scaledSubRegion for effect
              intern calculations.
              * svg/SVGFilterElement.cpp:
              (WebCore::SVGFilterElement::parseMappedAttribute): Parse filterRes attribute.
              (WebCore::SVGFilterElement::buildFilter): Give SVGResourceFilter the current
              filterResolution.
              * svg/SVGFilterPrimitiveStandardAttributes.cpp:
              (WebCore::SVGFilterPrimitiveStandardAttributes::setStandardAttributes): Save
              values to effectBoundaries of the filter effect
              * svg/graphics/SVGResourceFilter.cpp:
              (WebCore::SVGResourceFilter::SVGResourceFilter):
              (WebCore::shouldProcessFilter): Return signal if a neccessary value is zero.
              (WebCore::SVGResourceFilter::fitsInMaximumImageSize): Checks if the given size
              fits into the maximal image size, modifys scale factors if not and return a
              bool: fits.
              (WebCore::SVGResourceFilter::prepareFilter): Scale the SourceImage to
              filterResolution (given by FilterElement or calculated on to big image sizes).
              Set the scale level to SVGFilter.
              (WebCore::SVGResourceFilter::applyFilter): Don't apply filters if shouldProcessFilter
              is wrong.
              * svg/graphics/SVGResourceFilter.h:
              (WebCore::SVGResourceFilter::setFilterResolution): FilterResolution of FilterElement.
              (WebCore::SVGResourceFilter::setHasFilterResolution): Does FilterElement provides
              a FilterResolution?
              (WebCore::SVGResourceFilter::scaleX): Current scale factor for horizontal.
              (WebCore::SVGResourceFilter::scaleY): Current scale factor for vertical.
              * svg/graphics/filters/SVGFEDisplacementMap.cpp:
              (WebCore::FEDisplacementMap::apply): Use scaledSubRegion for effect intern calculations.
              Kernel values are scaled to current filter resolution too.
              * svg/graphics/filters/SVGFEFlood.cpp:
              (WebCore::FEFlood::apply): Use scaledSubRegion for effect intern calculations.
              * svg/graphics/filters/SVGFEMerge.cpp:
              (WebCore::FEMerge::apply): Use scaledSubRegion for effect intern calculations.
              Kernel values are scaled to current filter resolution too.
              * svg/graphics/filters/SVGFEMorphology.cpp:
              (WebCore::FEMorphology::apply): Use scaledSubRegion for effect intern calculations.
              Kernel values are scaled to current filter resolution too.
              * svg/graphics/filters/SVGFEOffset.cpp:
              (WebCore::FEOffset::apply): Use scaledSubRegion for effect intern calculations.
              * svg/graphics/filters/SVGFETile.cpp:
              (WebCore::FETile::apply): Use scaledSubRegion for effect intern calculations.
              * svg/graphics/filters/SVGFilter.cpp:
              (WebCore::SVGFilter::calculateEffectSubRegion): Calculate subRegion for LayoutTests,
              scaledSubRegion according to the current filterResolution and get the maximal image size.
              * svg/graphics/filters/SVGFilter.h:
              (WebCore::SVGFilter::effectBoundingBoxMode): Original values of the FilterElement. 
              (WebCore::SVGFilter::filterRegion): Use virtual for clarification.
              (WebCore::SVGFilter::sourceImageRect): Use virtual for clarification.
              (WebCore::SVGFilter::maxImageSize): Get the maximal image size.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5adf763c
    • kdecker@apple.com's avatar
      Reviewed by Adam Roben. · 2022686e
      kdecker@apple.com authored
              
              <rdar://problem/7401503>
              
              Added a workaround for plug-ins not drawing immediately.
              
              * Plugins/WebBaseNetscapePluginView.mm: Added new constant.
              (-[WebBaseNetscapePluginView _clearSubstituteImage]): Added.
              (-[WebBaseNetscapePluginView resumeFromHalt]): Call above new method.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2022686e
    • eric@webkit.org's avatar
      2009-11-23 David Boddie <dboddie@trolltech.com> · 68575fe1
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Updated the QWebElement documentation with links to examples and
              external resources.
              Fixed the project file for the webelement snippet and tidied up the
              markers used for quoting the code.
      
              * Api/qwebelement.cpp:
              * docs/webkitsnippets/webelement/main.cpp:
              (findAll):
              * docs/webkitsnippets/webelement/webelement.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68575fe1
    • hausmann@webkit.org's avatar
      [Symbian] Fix lastIndexOf() for Symbian · 68e0beb4
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31773
      
      Patch by Laszlo Gombos <laszlo.1.gombos@nokia.com> on 2009-11-23
      Reviewed by Kenneth Rohde Christiansen.
      
      Symbian soft floating point library has problems with operators
      comparing NaN to numbers. Without a workaround lastIndexOf()
      function does not work.
      
      Patch developed by David Leong.
      
      * runtime/StringPrototype.cpp:
      (JSC::stringProtoFuncLastIndexOf):Add an extra test
      to check for NaN for Symbian.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68e0beb4
    • eric@webkit.org's avatar
      2009-11-23 Simon Hausmann <simon.hausmann@nokia.com> · 7a83cbfa
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Wrong runtime instance objects of wrapped QObjects may be used if
              the wrapped object died before the gc removed the instance.
      
              https://bugs.webkit.org/show_bug.cgi?id=31681
      
              Before using a cached instance, verify that its wrapped QObject is
              still alive.
      
              * bridge/qt/qt_instance.cpp:
              (JSC::Bindings::QtInstance::getQtInstance):
              * bridge/qt/qt_instance.h:
              (JSC::Bindings::QtInstance::hashKey):
      2009-11-23  Simon Hausmann  <simon.hausmann@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Wrong runtime instance objects of wrapped QObjects may be used if
              the wrapped object died before the gc removed the instance.
      
              https://bugs.webkit.org/show_bug.cgi?id=31681
      
              Added a unit-test to verify that wrapping a QObject with the
              same identity as a previously but now dead object works.
      
              * tests/qwebframe/tst_qwebframe.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a83cbfa
    • steveblock@google.com's avatar
      18d74ff9
  2. 22 Nov, 2009 13 commits
    • eric@webkit.org's avatar
      2009-11-22 Chris Fleizach <cfleizach@apple.com> · 7cc35fca
      eric@webkit.org authored
              Reviewed by Oliver Hunt.
      
              ARIA: support aria-flowto
              https://bugs.webkit.org/show_bug.cgi?id=31762
      
              * platform/mac/accessibility/aria-flowto-expected.txt: Added.
              * platform/mac/accessibility/aria-flowto.html: Added.
      2009-11-22  Chris Fleizach  <cfleizach@apple.com>
      
              Reviewed by Oliver Hunt.
      
              ARIA: support aria-flowto
              https://bugs.webkit.org/show_bug.cgi?id=31762
      
              Test: platform/mac/accessibility/aria-flowto.html
      
              * accessibility/AccessibilityObject.h:
              (WebCore::AccessibilityObject::ariaOwnsElements):
              (WebCore::AccessibilityObject::supportsARIAFlowTo):
              (WebCore::AccessibilityObject::ariaFlowToElements):
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::linkedUIElements):
              (WebCore::AccessibilityRenderObject::supportsARIAFlowTo):
              (WebCore::AccessibilityRenderObject::ariaFlowToElements):
              * accessibility/AccessibilityRenderObject.h:
              * html/HTMLAttributeNames.in:
      2009-11-22  Chris Fleizach  <cfleizach@apple.com>
      
              Reviewed by Oliver Hunt.
      
              ARIA: support aria-flowto
              https://bugs.webkit.org/show_bug.cgi?id=31762
      
              * DumpRenderTree/AccessibilityUIElement.cpp:
              (ariaFlowToElementAtIndexCallback):
              (AccessibilityUIElement::getJSClass):
              * DumpRenderTree/AccessibilityUIElement.h:
              * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
              (AccessibilityUIElement::ariaFlowToElementAtIndex):
              * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
              (AccessibilityUIElement::ariaFlowToElementAtIndex):
              * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
              (AccessibilityUIElement::ariaFlowToElementAtIndex):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7cc35fca
    • mitz@apple.com's avatar
      Updated WebKitSystemInterface. · 5963241d
      mitz@apple.com authored
      Reviewed by Eric Carlson.
      
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceSnowLeopard.a:
      * libWebKitSystemInterfaceTiger.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5963241d
    • laszlo.1.gombos@nokia.com's avatar
      2009-11-22 Laszlo Gombos <laszlo.1.gombos@nokia.com> · a4546ac6
      laszlo.1.gombos@nokia.com authored
              Unreviewed.
      
              [Qt] Sort source lists and remove obsolete comments
              from the build system.
      
              * JavaScriptCore.pri:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4546ac6
    • eric@webkit.org's avatar
      2009-11-22 Dirk Schulze <krit@webkit.org> · 99efe91d
      eric@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              Tests to the filterRes implementation for SVG Filters
              [https://bugs.webkit.org/show_bug.cgi?id=6021]
      
              big-sized-filter: tests if filter quality is scaled down on a too
                  big SourceImage (SourceGraphic, SourceAlpha)
              big-sized-filter-2: tests if the filter quality is scaled down
                  on a too big filter effect size.
              filterRes: Various tests of SVG Filters with different values for
                  filterRes attributes. Checks
                  * that kernel values (if present) are scaled with the filterRes
                  * subRegion calculation is correct for effects with deeper
                    dependencies.
      
              * platform/mac/svg/filters/big-sized-filter-2-expected.txt: Added.
              * platform/mac/svg/filters/big-sized-filter-expected.checksum: Added.
              * platform/mac/svg/filters/big-sized-filter-expected.png: Added.
              * platform/mac/svg/filters/big-sized-filter-expected.txt: Added.
              * platform/mac/svg/filters/filterRes-expected.checksum: Added.
              * platform/mac/svg/filters/filterRes-expected.png: Added.
              * platform/mac/svg/filters/filterRes-expected.txt: Added.
              * svg/filters/big-sized-filter-2.svg: Added.
              * svg/filters/big-sized-filter.svg: Added.
              * svg/filters/filterRes.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99efe91d
    • zimmermann@webkit.org's avatar
      Not reviewed. Build fix for WML enabled builds. · 9b6fdc0c
      zimmermann@webkit.org authored
      Adopt WebCore API changes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b6fdc0c
    • tonikitoo@webkit.org's avatar
      [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to... · 934a8383
      tonikitoo@webkit.org authored
      [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen
      https://bugs.webkit.org/show_bug.cgi?id=31638
      
      Reviewed by Kenneth Christiansen.
      
      Unfreeze WorkQueue after each test execution.
      
      * DumpRenderTree/qt/DumpRenderTree.cpp:
      (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      934a8383
    • eric@webkit.org's avatar
      2009-11-22 Jakub Wieczorek <faw217@gmail.com> · 8385d098
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
              for localhost and 127.0.0.1.
              https://bugs.webkit.org/show_bug.cgi?id=31783
      
              Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
      
              * platform/qt/Skipped:
      2009-11-22  Jakub Wieczorek  <faw217@gmail.com>
      
              Reviewed by Adam Barth.
      
              [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
              for localhost and 127.0.0.1.
              https://bugs.webkit.org/show_bug.cgi?id=31783
      
              Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
      
              * DumpRenderTree/qt/DumpRenderTree.cpp:
              (WebCore::NetworkAccessManager::NetworkAccessManager):
              (WebCore::NetworkAccessManager::sslErrorsEncountered):
              (WebCore::WebPage::WebPage):
              * DumpRenderTree/qt/DumpRenderTree.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8385d098
    • pfeldman@chromium.org's avatar
      2009-11-22 Pavel Feldman <pfeldman@chromium.org> · 6caed99b
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Introduce sidebar background on timeline panel in order
              to prevent it from flickering on scroll.
      
              https://bugs.webkit.org/show_bug.cgi?id=31789
      
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel):
              (WebInspector.TimelinePanel.prototype.setSidebarWidth):
              (WebInspector.TimelinePanel.prototype._onScroll):
              (WebInspector.TimelinePanel.prototype._scheduleRefresh):
              * inspector/front-end/inspector.css:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6caed99b
    • pfeldman@chromium.org's avatar
      2009-11-22 Pavel Feldman <pfeldman@chromium.org> · 87c33eb7
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Reimplement TimelinePanel to make it fast:
              - Extract grid and overview into separate files
              - Make timeline create only divs for visible rows
      
              https://bugs.webkit.org/show_bug.cgi?id=31784
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/front-end/AbstractTimelinePanel.js:
              (WebInspector.AbstractTimelinePanel.prototype.createInterface):
              (WebInspector.AbstractTimelinePanel.prototype.refresh):
              (WebInspector.AbstractTimelinePanel.prototype.set calculator):
              * inspector/front-end/TimelineGrid.js: Added.
              (WebInspector.TimelineGrid):
              (WebInspector.TimelineGrid.prototype.get itemsGraphsElement):
              (WebInspector.TimelineGrid.prototype.updateDividers):
              (WebInspector.TimelineGrid.prototype.addEventDivider):
              (WebInspector.TimelineGrid.prototype.setScrollAndDividerTop):
              * inspector/front-end/TimelineOverviewPane.js: Added.
              (WebInspector.TimelineOverviewPane):
              (WebInspector.TimelineOverviewPane.prototype._onCheckboxClicked):
              (WebInspector.TimelineOverviewPane.prototype.update):
              (WebInspector.TimelineOverviewPane.prototype.setSidebarWidth):
              (WebInspector.TimelineOverviewPane.prototype.updateMainViewWidth):
              (WebInspector.TimelineOverviewPane.prototype.reset):
              (WebInspector.TimelineOverviewPane.prototype._resizeWindow):
              (WebInspector.TimelineOverviewPane.prototype._windowResizeDragging):
              (WebInspector.TimelineOverviewPane.prototype._dragWindow):
              (WebInspector.TimelineOverviewPane.prototype._windowDragging):
              (WebInspector.TimelineOverviewPane.prototype._resizeWindowLeft):
              (WebInspector.TimelineOverviewPane.prototype._resizeWindowRight):
              (WebInspector.TimelineOverviewPane.prototype._setWindowPosition):
              (WebInspector.TimelineOverviewPane.prototype._endWindowDragging):
              (WebInspector.TimelineOverviewCalculator):
              (WebInspector.TimelineOverviewCalculator.prototype.computeBarGraphPercentages):
              (WebInspector.TimelineOverviewCalculator.prototype.reset):
              (WebInspector.TimelineOverviewCalculator.prototype.updateBoundaries):
              (WebInspector.TimelineOverviewCalculator.prototype.get boundarySpan):
              (WebInspector.TimelineOverviewCalculator.prototype.formatValue):
              (WebInspector.TimelineCategoryTreeElement):
              (WebInspector.TimelineCategoryTreeElement.prototype.onattach):
              (WebInspector.TimelineCategoryGraph):
              (WebInspector.TimelineCategoryGraph.prototype.get graphElement):
              (WebInspector.TimelineCategoryGraph.prototype.addChunk):
              (WebInspector.TimelineCategoryGraph.prototype.clearChunks):
              (WebInspector.TimelineCategoryGraph.prototype.set dimmed):
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel):
              (WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):
              (WebInspector.TimelinePanel.prototype.addRecordToTimeline):
              (WebInspector.TimelinePanel.prototype._formatRecord):
              (WebInspector.TimelinePanel.prototype.setSidebarWidth):
              (WebInspector.TimelinePanel.prototype.updateMainViewWidth):
              (WebInspector.TimelinePanel.prototype.resize):
              (WebInspector.TimelinePanel.prototype.reset):
              (WebInspector.TimelinePanel.prototype.show):
              (WebInspector.TimelinePanel.prototype._onScroll):
              (WebInspector.TimelinePanel.prototype._scheduleRefresh):
              (WebInspector.TimelinePanel.prototype._refresh):
              (WebInspector.TimelinePanel.prototype._refreshRecords):
              (WebInspector.TimelinePanel.prototype._adjustScrollPosition):
              (WebInspector.TimelineCategory):
              (WebInspector.TimelineCalculator):
              (WebInspector.TimelineCalculator.prototype.get boundarySpan):
              (WebInspector.TimelineRecordListRow):
              (WebInspector.TimelineRecordListRow.prototype.update):
              (WebInspector.TimelineRecordGraphRow):
              (WebInspector.TimelineRecordGraphRow.prototype.update):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.css:
              * inspector/front-end/inspector.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87c33eb7
    • abarth@webkit.org's avatar
      2009-11-22 Chris Evans <cevans@chromium.org> · 9c533c25
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Disable access to file:/// directory listings
              https://bugs.webkit.org/show_bug.cgi?id=31329
      
              Updates the test to make sure it is disabling universal access for
              file:/// URLs (if the API is supported). This is required to do
              effective intra-file:/// access tests.
              Note that Safari only passes by virtual of supporting no directory
              listings at all.
      
              * fast/xmlhttprequest/resources/xmlhttprequest-nonexistent-file-real.html: Added.
              * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
              * fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html:
              Disable universal access for file:/// URLs (if API available).
              Run the real test in an iframe without universal access.
      2009-11-22  Chris Evans  <cevans@chromium.org>
      
              Reviewed by Adam Barth.
      
              Disable access to file:/// directory listings
              https://bugs.webkit.org/show_bug.cgi?id=31329
      
              Deny access to directory listings. This needs doing in WebKit for
              WebKit clients that do permit top-level navigation to file:///dir.
              This matches Firefox, plus the existing Safari implementation (which
              does not support any directory access at all). It will fix the
              LayoutTest named below for Chromium.
      
              Test: fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html
      
              * page/SecurityOrigin.cpp: Deny access to directory listings.
              (WebCore::SecurityOrigin::SecurityOrigin):
              (WebCore::SecurityOrigin::canRequest):
      2009-11-22  Chris Evans  <cevans@chromium.org>
      
              Reviewed by Adam Barth.
      
              Disable access to file:/// directory listings
              https://bugs.webkit.org/show_bug.cgi?id=31329
      
              Implemented setAllowUniversalAccessFromFileURLs to support testing of
              file URL security.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setAllowUniversalAccessFromFileURLsCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c533c25
    • abarth@webkit.org's avatar
      2009-11-22 Chris Evans <cevans@chromium.org> · f37b4be3
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Updates the test to make sure it is disabling universal access for
              file:/// URLs (if the API is supported). This is required to do
              effective intra-file:/// access tests.
              Note that Safari only passes by virtual of supporting no directory
              listings at all.
      
              * fast/xmlhttprequest/resources/xmlhttprequest-nonexistent-file-real.html: Added.
              * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
              * fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html:
              Disable universal access for file:/// URLs (if API available).
              Run the real test in an iframe without universal access.
      2009-11-22  Chris Evans  <cevans@chromium.org>
      
              Reviewed by Adam Barth.
      
              Deny access to directory listings. This needs doing in WebKit for
              WebKit clients that do permit top-level navigation to file:///dir.
              This matches Firefox, plus the existing Safari implementation (which
              does not support any directory access at all). It will fix the
              LayoutTest named below for Chromium.
      
              Test: fast/xmlhttprequest/xmlhttprequest-nonexistent-file.html
      
              * page/SecurityOrigin.cpp: Deny access to directory listings.
              (WebCore::SecurityOrigin::SecurityOrigin):
              (WebCore::SecurityOrigin::canRequest):
      2009-11-22  Chris Evans  <cevans@chromium.org>
      
              Reviewed by Adam Barth.
      
              Implemented setAllowUniversalAccessFromFileURLs to support testing of
              file URL security.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setAllowUniversalAccessFromFileURLsCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setAllowUniversalAccessFromFileURLs):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f37b4be3
    • eric@webkit.org's avatar
      2009-11-22 Jakub Wieczorek <faw217@gmail.com> · 495fd356
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Fix the timeout of fast/frames/frame-navigation.html
              https://bugs.webkit.org/show_bug.cgi?id=31638
      
              The test is timeouting, because it uses the WorkQueue to load a document in one
              of the child frames and once the loading is finished, the DRT does not dump the
              tree. This is because it waits for the QWebFrame::loadFinished() signal from
              the main frame, while it should connect to QWebPage::loadFinished().
      
              * DumpRenderTree/qt/DumpRenderTree.cpp:
              (WebCore::DumpRenderTree::DumpRenderTree):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      495fd356
    • mitz@apple.com's avatar
      Fixed a leak in WKDrawMediaUIPart(). · 4451466a
      mitz@apple.com authored
      Reviewed by Cameron Zwarich.
      
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceSnowLeopard.a:
      * libWebKitSystemInterfaceTiger.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4451466a
  3. 21 Nov, 2009 11 commits
  4. 20 Nov, 2009 7 commits