1. 29 Nov, 2009 3 commits
  2. 28 Nov, 2009 1 commit
  3. 27 Nov, 2009 3 commits
    • dbates@webkit.org's avatar
      2009-11-27 Daniel Bates <dbates@webkit.org> · 6b86d506
      dbates@webkit.org authored
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=31940
      
              Makes the error messages more descriptive when we refuse to load an object/embed or
              refuse to load from the document base URL.
      
              * page/XSSAuditor.cpp:
              (WebCore::XSSAuditor::canLoadObject): Changed console message to be more descriptive.
              (WebCore::XSSAuditor::canSetBaseElementURL): Ditto.
      2009-11-27  Daniel Bates  <dbates@webkit.org>
      
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=31940
      
              Rebased results because of new error messages.
      
              * http/tests/security/xssAuditor/base-href-control-char-expected.txt:
              * http/tests/security/xssAuditor/base-href-expected.txt:
              * http/tests/security/xssAuditor/base-href-null-char-expected.txt:
              * http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
              * http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
              * http/tests/security/xssAuditor/embed-tag-expected.txt:
              * http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
              * http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
              * http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
              * http/tests/security/xssAuditor/object-embed-tag-expected.txt:
              * http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
              * http/tests/security/xssAuditor/object-src-inject-expected.txt:
              * http/tests/security/xssAuditor/object-tag-expected.txt:
              * http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b86d506
    • eric@webkit.org's avatar
      2009-11-27 Kenneth Russell <kbr@google.com> · 26865516
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              REGRESSION(51418): fast/canvas/webgl/gl-object-get-calls.html is failing on the Leopard commit bot
              https://bugs.webkit.org/show_bug.cgi?id=31919
      
              Temporarily disabled portion of test which is failing on some
              machines but not others. Root cause will be investigated under
              https://bugs.webkit.org/show_bug.cgi?id=31843 .
      
              * fast/canvas/webgl/gl-object-get-calls-expected.txt:
              * fast/canvas/webgl/script-tests/gl-object-get-calls.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26865516
    • hamaji@chromium.org's avatar
      2009-11-26 Shinichiro Hamaji <hamaji@chromium.org> · 63602224
      hamaji@chromium.org authored
              Unreviewed red bot fix.
      
              Skip tests introduced by the previous change as it seems to be failing.
      
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63602224
  4. 26 Nov, 2009 4 commits
    • hamaji@chromium.org's avatar
      2009-11-26 Shinichiro Hamaji <hamaji@chromium.org> · 46d70cfa
      hamaji@chromium.org authored
              Reviewed by Dan Bernstein.
      
              Assertion failure in RenderBlock::positionForPointWithInlineChildren when running fast/inline/relative-positioned-overflow.html
              https://bugs.webkit.org/show_bug.cgi?id=29966
      
              A test case where a user drags the mouse from an empty inline
              element to above texts.
      
              * editing/selection/last-empty-inline-expected.txt: Added.
              * editing/selection/last-empty-inline.html: Added.
              * platform/win/Skipped:
      2009-11-26  Shinichiro Hamaji  <hamaji@chromium.org>
      
              Reviewed by Dan Bernstein.
      
              Assertion failure in RenderBlock::positionForPointWithInlineChildren when running fast/inline/relative-positioned-overflow.html
              https://bugs.webkit.org/show_bug.cgi?id=29966
      
              When an empty inline element is clicked, the root inline box has
              no leaf children. Use the renderer of a normal child instead.
      
              This change resolves Windows port's assertion failure in a layout test.
              Also, this fixes the behavior when a user drags the mouse from an
              empty inline element to above texts.
      
              Test: editing/selection/last-empty-inline.html
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::positionForPointWithInlineChildren):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46d70cfa
    • eric@webkit.org's avatar
      2009-11-26 Kinuko Yasuda <kinuko@chromium.com> · 782bba06
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Rewrite the test fast/parser/comment-in-textarea to use dumpAsText
              so that the expected results can be independent of platform differences.
              https://bugs.webkit.org/show_bug.cgi?id=31580
      
              * fast/parser/comment-in-textarea-expected.txt: Added.
              * fast/parser/comment-in-textarea.html:
              * fast/parser/script-tests/comment-in-textarea.js: Added.
              * platform/mac/fast/parser/comment-in-textarea-expected.checksum: Removed.
              * platform/mac/fast/parser/comment-in-textarea-expected.png: Removed.
              * platform/mac/fast/parser/comment-in-textarea-expected.txt: Removed.
              * platform/win/fast/parser/comment-in-textarea-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      782bba06
    • eric@webkit.org's avatar
      2009-11-26 Daniel Bates <dbates@webkit.org> · 650b16f3
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              https://bugs.webkit.org/show_bug.cgi?id=21554
      
              Tests that the tooltip text for an image is its dimensions.
      
              * inspector/elements-img-tooltip-expected.txt: Added.
              * inspector/elements-img-tooltip.html: Added.
      2009-11-26  Daniel Bates  <dbates@webkit.org>
      
              Reviewed by Pavel Feldman.
      
              https://bugs.webkit.org/show_bug.cgi?id=21554
      
              Implements support for hovering over <img> src to display the height and width of that image
              in a tooltip. Displays both the displayable and natural dimensions of the image.
      
              Test: inspector/elements-img-tooltip.html
      
              * inspector/front-end/ElementsTreeOutline.js:
              (WebInspector.ElementsTreeElement.prototype.createTooltipForImageNode): Added.
              (WebInspector.ElementsTreeElement.prototype._updateTitle.callback):
              (WebInspector.ElementsTreeElement.prototype._updateTitle):
              (WebInspector.ElementsTreeElement.prototype._nodeTitleInfo):
              * inspector/front-end/ObjectProxy.js:
              (WebInspector.ObjectProxy.getPropertiesAsync): Added.
              * inspector/front-end/inspector.js:
              (WebInspector.linkifyURLAsNode): Added tooltipText argument.
              (WebInspector.linkifyURL): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      650b16f3
    • zecke@webkit.org's avatar
      [Qt] Add automatic test case for plugins that use QWidget · 87659e2a
      zecke@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31203
      
      Change the RenderTreeAsText to look into the WebCore::Widget
      and print the state of the platformWidget. Change the DRT to
      use QtUiTools to be able to initiate QProgressBar and such
      as a plugin. Add the test case, add the result, update the
      other results due the new test.
      
      WebCore:
      * rendering/RenderTreeAsText.cpp:
      (WebCore::operator<<): Add special case for RenderPart
      
      WebKitTools:
      * DumpRenderTree/qt/DumpRenderTree.cpp:
      (WebCore::WebPage::createPlugin):
      * DumpRenderTree/qt/DumpRenderTree.h:
      * DumpRenderTree/qt/DumpRenderTree.pro:
      
      LayoutTest:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/plugins/netscape-dom-access-expected.txt: Added
      * platform/qt/plugins/qt-qwidget-plugin-expected.txt: Added
      * platform/win/Skipped:
      * plugins/qt-qwidget-plugin.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87659e2a
  5. 25 Nov, 2009 7 commits
  6. 24 Nov, 2009 5 commits
    • cmarrin@apple.com's avatar
      Implement accelerated compositing · 93972964
      cmarrin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=27314
      
      Initial implementation, but disabled in this checkin.
      To enable ENABLE_3D_RENDERING and USE_ACCELERATED_COMPOSITING
      must be turned on. Also d3d9.lib and d3d9x.lib must be added
      to the build.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93972964
    • cmarrin@apple.com's avatar
    • darin@chromium.org's avatar
      2009-11-24 Darin Fisher <darin@chromium.org> · acc8f482
      darin@chromium.org authored
              Reviewed by Adam Barth.
      
              [Chromium] Renderer hang when using www.expedia.com
              https://bugs.webkit.org/show_bug.cgi?id=31822
      
              Test: http/tests/cache/subresource-failover-to-network.html
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::loadResourceSynchronously): Use the originalRequest
              when inheriting cache policy.  This matches SubresourceLoader::create.
      
      2009-11-24  Darin Fisher  <darin@chromium.org>
      
              Reviewed by Adam Barth.
      
              [Chromium] Renderer hang when using www.expedia.com
              https://bugs.webkit.org/show_bug.cgi?id=31822
      
              This test verifies that a synchronous XMLHttpRequest, generated from a
              page that is the result of a form submission, loads properly when the
              user navigates back to the page.
      
              When navigating back to a page that resulted from a form submission,
              the page is loaded with the ReturnCacheDataDontLoad cache policy.  It
              is important that subresources (including XMLHttpRequest instances) do
              not inherit this cache policy.
      
              * http/tests/cache/resources/echo-no-store.cgi: Added.
              * http/tests/cache/resources/subresource-failover-to-network.cgi: Added.
              * http/tests/cache/subresource-failover-to-network-expected.txt: Added.
              * http/tests/cache/subresource-failover-to-network.html: Added.
      
      2009-11-24  Darin Fisher  <darin@chromium.org>
      
              Reviewed by Adam Barth.
      
              [Chromium] Renderer hang when using www.expedia.com
              https://bugs.webkit.org/show_bug.cgi?id=31822
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::dispatchWillSendRequest):
              Assign ReturnCacheDataDontLoad cache policy at the last moment
              to match Safari.  This way the cache policy does not get stored
              in DocumentLoader's originalRequest preventing it from being
              inherited by subresource requests.
              * src/ResourceHandle.cpp:
              (WebCore::ResourceHandle::willLoadFromCache): Remove assignment
              of ReturnCacheDataDontLoad cache policy so that it doesn't end
              up applying to the DocumentLoader's originalRequest.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acc8f482
    • cmarrin@apple.com's avatar
      Change get... calls to latest spec · b6483fd2
      cmarrin@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=30091
      
              Removed old versions of get calls on WebGLRenderingContext and
              added new ones per spec returning "any". New code simplifies
              GraphicsContext3D and fixes previously unimplemented routines.
              Added custom JS and V8 bindings. Added exhaustive test case
              exercising all new code paths. Updated preexisting test cases for
              new APIs. Fixed preexisting bugs in WebKit's and Chrome's WebGL
              implementations.
      
              Ran WebGL layout tests in WebKit (clean) and Chrome (couple of
              preexisting known failures) and manual WebGL tests in both
              browsers.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6483fd2
    • dimich@chromium.org's avatar
      Convert fast/table/row-height-recalc2.html to be 'dumpAsText()' · d3ac9d77
      dimich@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31816
      
      Reviewed by Eric Seidel.
      
      * fast/table/row-height-recalc2-expected.txt: Added.
      * fast/table/row-height-recalc2.html:
      * platform/mac/fast/table/row-height-recalc2-expected.checksum: Removed.
      * platform/mac/fast/table/row-height-recalc2-expected.png: Removed.
      * platform/mac/fast/table/row-height-recalc2-expected.txt: Removed.
      * platform/qt/fast/table/row-height-recalc2-expected.checksum: Removed.
      * platform/qt/fast/table/row-height-recalc2-expected.png: Removed.
      * platform/qt/fast/table/row-height-recalc2-expected.txt: Removed.
      * platform/win/fast/table/row-height-recalc2-expected.checksum: Removed.
      * platform/win/fast/table/row-height-recalc2-expected.png: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3ac9d77
  7. 23 Nov, 2009 6 commits
    • cmarrin@apple.com's avatar
      Add range checks to rendering calls in WebGL · 31e95dba
      cmarrin@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=31239
      
              I am now tracking the size of the data in each CanvasBuffer object
              and keeping track of the buffer size of each active vertex attrib.
              In drawArrays and drawElements I make sure no attempt is made to
              access elements outside the valid buffer ranges. The test at:
      
                  http://cs.helsinki.fi/u/ilmarihe/c3d/functions/drawArraysOutOfBounds.html
      
              no longer crashes.
      
              I also added all the WebGL enumerations to GraphicsContext3D to use them in the validation checks
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31e95dba
    • arv@chromium.org's avatar
      2009-11-23 Erik Arvidsson <arv@chromium.org> · dcecd918
      arv@chromium.org authored
              Reviewed by Eric Seidel.
      
              JSC bindings for HasIndexGetter generates incorrect code (affects
              MediaList and CSSStyleDeclaration).
              This cleans up the edge cases for indexing out of range for style and
              computed style objects to return an empty string according to the spec.
              MediaList now returns null when indexed out of range.
              https://bugs.webkit.org/show_bug.cgi?id=31683
      
              * fast/dom/CSSStyleDeclaration/css-computed-style-item-expected.txt: Added.
              * fast/dom/CSSStyleDeclaration/css-computed-style-item.html: Added.
              * fast/dom/CSSStyleDeclaration/css-style-item-expected.txt: Added.
              * fast/dom/CSSStyleDeclaration/css-style-item.html: Added.
              * fast/dom/CSSStyleDeclaration/script-tests/css-computed-style-item.js: Added.
              * fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js: Added.
              * fast/dom/StyleSheet/css-medialist-item-expected.txt: Added.
              * fast/dom/StyleSheet/css-medialist-item.html: Added.
              * fast/dom/StyleSheet/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/backgrounds/repeat/script-tests/TEMPLATE.html.
              * fast/dom/StyleSheet/script-tests/css-medialist-item.js: Added.
      2009-11-23  Erik Arvidsson  <arv@chromium.org>
      
              Reviewed by Eric Seidel.
      
              JSC bindings for HasIndexGetter generates incorrect code (affects
              MediaList and CSSStyleDeclaration).
              This cleans up the edge cases for indexing out of range for style and
              computed style objects to return an empty string according to the spec.
              MediaList now returns null when indexed out of range.
              https://bugs.webkit.org/show_bug.cgi?id=31683
      
              Tests: fast/dom/CSSStyleDeclaration/css-computed-style-item.html
                     fast/dom/CSSStyleDeclaration/css-style-item.html
                     fast/dom/StyleSheet/css-medialist-item.html
      
              * bindings/scripts/CodeGeneratorJS.pm: If IndexGetterReturnsString then
                      we do not check the length before calling the item function.
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::item):
              * css/CSSMutableStyleDeclaration.cpp:
              (WebCore::CSSMutableStyleDeclaration::item):
              * css/CSSStyleDeclaration.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcecd918
    • ossy@webkit.org's avatar
      Unreviewed. Skip new test added in r51324. · e36e76ee
      ossy@webkit.org authored
      * platform/qt/Skipped: Added editing/selection/trransformed-selection-rects.html
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e36e76ee
    • simon.fraser@apple.com's avatar
      2009-11-23 Simon Fraser <simon.fraser@apple.com> · 0365603a
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              DocumentMarkers need to be educated about transforms
              https://bugs.webkit.org/show_bug.cgi?id=31751
      
              Find highlight is incorrect with transforms
              <rdar://problem/6358394>
      
              Allow callers to specify that Frame::selectionTextRects() takes transforms into account
              when computing the set of rects that encompass a selection. For transformed elemenets, the
              selection rect will be the bounding box of the selected content.
      
              Fix DocumentMarkers to cache rects in absolute coordinates, rather than painting coordinates.
      
              Test: editing/selection/transformed-selection-rects.html
      
              * WebCore.base.exp:
              Frame::selectionTextRects() has a new parameter.
      
              * dom/Document.cpp:
              (WebCore::Document::setRenderedRectForMarker):
              * dom/Document.h:
              Pass the marker as a const reference.
      
              * dom/Range.h:
              * dom/Range.cpp:
              (WebCore::Range::textQuads):
              Add a new method, textQuads(), which returns a list of quads, respecting transforms.
      
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::selectionTextRects):
              Add a new parameter, respectTransforms, and when that is RespectTransforms, use the quad
              method to get quads for ranges, and then take their bounding boxes.
      
              * rendering/InlineTextBox.h:
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
              (WebCore::InlineTextBox::paintTextMatchMarker):
              (WebCore::InlineTextBox::computeRectForReplacementMarker):
              (WebCore::InlineTextBox::paintDocumentMarkers):
              (WebCore::InlineTextBox::textPos):
              (WebCore::InlineTextBox::offsetForPosition):
      
              Pass DocumentMarkers as a const references.
              Convert the argument to setRenderedRectForMarker() into absolute coordinates.
      
              * rendering/RenderView.cpp:
              (WebCore::RenderView::selectionBounds):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0365603a
    • ossy@webkit.org's avatar
      Unreviewed. Skip new tests. · 3858fbed
      ossy@webkit.org authored
      * platform/qt/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3858fbed
    • eric@webkit.org's avatar
      2009-11-23 Jakub Wieczorek <faw217@gmail.com> · 303b3240
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
              https://bugs.webkit.org/show_bug.cgi?id=31775
      
              LayoutTestController::dumpBackForwardList() should work with local URLs
              as well as with normal URLs (in http tests for instance).
              Currently it does not output the latter properly.
      
              Unskip a bunch of passing http/navigation tests.
      
              * platform/qt/Skipped:
      2009-11-23  Jakub Wieczorek  <faw217@gmail.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
              https://bugs.webkit.org/show_bug.cgi?id=31775
      
              LayoutTestController::dumpBackForwardList() should work with local URLs
              as well as with normal URLs (in http tests for instance).
              Currently it does not output the latter properly.
      
              Unskip a bunch of passing http/navigation tests.
      
              * DumpRenderTree/qt/DumpRenderTree.cpp:
              (WebCore::dumpHistoryItem):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      303b3240
  8. 22 Nov, 2009 5 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
    • 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
    • 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
    • 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
  9. 21 Nov, 2009 1 commit
  10. 20 Nov, 2009 5 commits
    • cfleizach@apple.com's avatar
      WAI-ARIA: add support for aria-owns · 3e756f46
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=31702
      
      Reviewed by Beth Dakin.
      
      WebCore: 
      
      Re-organized how accessibilityAttributeNames are returned so 
      that it's possible for an element to add an attribute based on 
      a dynamic value. In this case, we only want to add AXOwn if the 
      element actually supports aria-owns.
        
      Test: platform/mac/accessibility/aria-owns.html
      
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::supportsARIAOwns):
      (WebCore::AccessibilityObject::ariaOwnsElements):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::ariaOwnsElements):
      (WebCore::AccessibilityRenderObject::supportsARIAOwns):
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/mac/AccessibilityObjectWrapper.mm:
      (-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
      (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
      (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
      * html/HTMLAttributeNames.in:
      
      WebKitTools: 
      
      * DumpRenderTree/AccessibilityUIElement.cpp:
      (ariaOwnsElementAtIndexCallback):
      (AccessibilityUIElement::getJSClass):
      * DumpRenderTree/AccessibilityUIElement.h:
      * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
      (AccessibilityUIElement::ariaOwnsElementAtIndex):
      * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
      (AccessibilityUIElement::ariaOwnsElementAtIndex):
      * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
      (AccessibilityUIElement::ariaOwnsElementAtIndex):
      
      LayoutTests: 
      
      * platform/mac/accessibility/aria-owns-expected.txt: Added.
      * platform/mac/accessibility/aria-owns.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e756f46
    • eric.carlson@apple.com's avatar
      2009-11-20 Eric Carlson <eric.carlson@apple.com> · 462d43fa
      eric.carlson@apple.com authored
              Reviewed by Simon Fraser.
      
              <rdar://problem/7414396> Leopard & Tiger: Support closed caption in <video> element
      
              * css/mediaControls.css:
                  Define closed caption toggle button.
      
              * rendering/RenderMedia.cpp:
              (WebCore::RenderMedia::updateControls):
                  Create closed caption toggle button in display order.
      
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::shouldRenderMediaControlPart):
                  Don't require MediaControllerThemeQuickTime theme for captions toggle button.
                  No need to check if the movie has video, a closed captions track is a video
                  track.
      
      2009-11-20  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Simon Fraser.
      
              <rdar://problem/7414396> Leopard & Tiger: Support closed caption in <video> element
      
              * WebKitSystemInterface.h:
              * libWebKitSystemInterfaceLeopard.a:
              * libWebKitSystemInterfaceSnowLeopard.a:
              * libWebKitSystemInterfaceTiger.a:
      
      2009-11-20  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Simon Fraser.
      
              <rdar://problem/7414396> Leopard & Tiger: Support closed caption in <video> element
      
              Remove closed captions test from skipped list.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-tiger/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      462d43fa
    • eric@webkit.org's avatar
      2009-11-20 Chris Fleizach <cfleizach@apple.com> · 18564365
      eric@webkit.org authored
              Reviewed by Beth Dakin.
      
              WAI-ARIA: add support for 'math' role
              https://bugs.webkit.org/show_bug.cgi?id=31706
      
              * platform/mac/accessibility/aria-grouping-roles-expected.txt:
              * platform/mac/accessibility/aria-grouping-roles.html:
      2009-11-20  Chris Fleizach  <cfleizach@apple.com>
      
              Reviewed by Beth Dakin.
      
              WAI-ARIA: add support for 'math' role
              https://bugs.webkit.org/show_bug.cgi?id=31706
      
              * accessibility/AccessibilityObject.cpp:
              * accessibility/AccessibilityObject.h:
              * accessibility/mac/AccessibilityObjectWrapper.mm:
      2009-11-20  Chris Fleizach  <cfleizach@apple.com>
      
              Reviewed by Beth Dakin.
      
              WAI-ARIA: add support for 'math' role
              https://bugs.webkit.org/show_bug.cgi?id=31706
      
              * English.lproj/Localizable.strings:
              * StringsNotToBeLocalized.txt:
      2009-11-20  Chris Fleizach  <cfleizach@apple.com>
      
              Reviewed by Beth Dakin.
      
              WAI-ARIA: add support for 'math' role
              https://bugs.webkit.org/show_bug.cgi?id=31706
      
              * WebCoreSupport/WebViewFactory.mm:
              (-[WebViewFactory AXARIAContentGroupText:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18564365
    • yael.aharon@nokia.com's avatar
      Unreviewed fix. · c8050c9d
      yael.aharon@nokia.com authored
      Fix file names in the skipped list, for files added in http://trac.webkit.org/changeset/51257.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8050c9d
    • yael.aharon@nokia.com's avatar
      NPN_ReloadPlugins does not reload the page even if reloadPages is true. · d9ea6b7e
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=30460
      
      Reviewed by Kenneth Rohde Christiansen.
      
      WebCore: 
      
      Replace call to PluginDatabase::installedPlugins()->refresh() with Page::refreshPlugins().
      It already refreshes plugins and reloads pages when necessary.
      
      Tests: plugins/reloadplugins-and-pages.html
             plugins/reloadplugins-no-pages.html
      
      * plugins/PluginInfoStore.cpp:
      (WebCore::refreshPlugins):
      
      WebKitTools: 
      
      Added code for calling NPN_ReloadPlugins with reloadPages true and false.
      
      * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
      (pluginInvoke):
      
      LayoutTests: 
      
      Added tests for calling NPN_ReloadPlugins with reloadPages being true and false.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9ea6b7e