1. 11 Aug, 2011 31 commits
  2. 10 Aug, 2011 9 commits
    • rniwa@webkit.org's avatar
      r92792 inadvertently removed PlatformSpecificScheduler for all Snow Leopard bots. · d196acd3
      rniwa@webkit.org authored
      Revert it partially so that the remaining Snow Leopard bots can fulfill their duty.
      
      * BuildSlaveSupport/build.webkit.org-config/config.json:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d196acd3
    • tkent@chromium.org's avatar
      Move <input type=date> tests to fast/forms/date/ · 582fc6b3
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66029
      
      Reviewed by Hajime Morita.
      
      * fast/forms/ValidityState-rangeOverflow-expected.txt: Removed "date" part.
      * fast/forms/ValidityState-rangeUnderflow-expected.txt: ditto.
      * fast/forms/ValidityState-stepMismatch-expected.txt: ditto.
      * fast/forms/ValidityState-typeMismatch-date.html: Removed.
      * fast/forms/date: Added.
      * fast/forms/date-input-visible-strings-expected.txt: Removed.
      * fast/forms/date-input-visible-strings.html: Removed.
      * fast/forms/date/ValidityState-rangeOverflow-date-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-rangeOverflow-expected.txt.
      * fast/forms/date/ValidityState-rangeOverflow-date.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-rangeOverflow.js.
      * fast/forms/date/ValidityState-rangeUnderflow-date-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-rangeUnderflow-expected.txt.
      * fast/forms/date/ValidityState-rangeUnderflow-date.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-rangeUnderflow.js.
      * fast/forms/date/ValidityState-stepMismatch-date-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-stepMismatch-expected.txt.
      * fast/forms/date/ValidityState-stepMismatch-date.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-stepMismatch.js.
      * fast/forms/date/ValidityState-typeMismatch-date-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-typeMismatch-date-expected.txt.
      * fast/forms/date/ValidityState-typeMismatch-date.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-typeMismatch-date.js.
      * fast/forms/date/date-input-type-expected.txt: Copied from LayoutTests/fast/forms/week/week-input-type-expected.txt.
      * fast/forms/date/date-input-type.html: Copied from LayoutTests/fast/forms/week/week-input-type.html.
      * fast/forms/date/date-input-visible-strings-expected.txt: Copied from LayoutTests/fast/forms/date-input-visible-strings-expected.txt.
      * fast/forms/date/date-input-visible-strings.html: Copied from LayoutTests/fast/forms/date-input-visible-strings.html.
      * fast/forms/date/date-stepup-stepdown-expected.txt: Copied from LayoutTests/fast/forms/input-stepup-stepdown-expected.txt.
      * fast/forms/date/date-stepup-stepdown-from-renderer-expected.txt: Copied from LayoutTests/fast/forms/input-stepup-stepdown-from-renderer-expected.txt.
      * fast/forms/date/date-stepup-stepdown-from-renderer.html: Copied from LayoutTests/fast/forms/script-tests/input-stepup-stepdown-from-renderer.js.
      * fast/forms/date/date-stepup-stepdown.html: Copied from LayoutTests/fast/forms/script-tests/input-stepup-stepdown.js.
      * fast/forms/date/input-valueasdate-date-expected.txt: Copied from LayoutTests/fast/forms/input-valueasdate-date-expected.txt.
      * fast/forms/date/input-valueasdate-date.html: Copied from LayoutTests/fast/forms/script-tests/input-valueasdate-date.js.
      * fast/forms/date/input-valueasnumber-date-expected.txt: Copied from LayoutTests/fast/forms/input-valueasnumber-date-expected.txt.
      * fast/forms/date/input-valueasnumber-date.html: Copied from LayoutTests/fast/forms/script-tests/input-valueasnumber-date.js.
      * fast/forms/input-stepup-stepdown-expected.txt: Removed "date" part.
      * fast/forms/input-stepup-stepdown-from-renderer-expected.txt: ditto.
      * fast/forms/input-type-change3-expected.txt: ditto.
      * fast/forms/input-valueasdate-date-expected.txt: Removed.
      * fast/forms/input-valueasdate-date.html: Removed.
      * fast/forms/input-valueasnumber-date-expected.txt: Removed.
      * fast/forms/input-valueasnumber-date.html: Removed.
      * fast/forms/script-tests/ValidityState-rangeOverflow.js: Removed "date" part.
      * fast/forms/script-tests/ValidityState-rangeUnderflow.js: ditto.
      * fast/forms/script-tests/ValidityState-stepMismatch.js: ditto.
      * fast/forms/script-tests/input-stepup-stepdown-from-renderer.js: ditto.
      * fast/forms/script-tests/input-stepup-stepdown.js: ditto.
      * fast/forms/script-tests/input-type-change3.js: ditto.
      * fast/forms/script-tests/input-valueasdate-date.js: Removed.
      * fast/forms/script-tests/input-valueasnumber-date.js: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      582fc6b3
    • abarth@webkit.org's avatar
      Test how TouchList behaves with too few arguments · 3e690571
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65815
      
      Reviewed by Sam Weinig.
      
      This API is very new and the compatibility cost of making this API
      match the specification is minimal.  We should align with the
      specification and (future) implementations in other browsers by making
      this argument required.
      
      * fast/events/touch/document-create-touch-list-expected.txt:
      * fast/events/touch/script-tests/document-create-touch-list.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e690571
    • abarth@webkit.org's avatar
      Test how AudioBufferSourceNode reacts when given too few arguments · 09758783
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65816
      
      Reviewed by Sam Weinig.
      
      The WebAudio API is extremely new.  It has only been available as an
      experimental API in a single browser.  The compatibility cost of
      tightening up these APIs is tiny and these APIs make very little sense
      to call with too-few arguments.
      
      * webaudio/audionode-expected.txt:
      * webaudio/audionode.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09758783
    • abarth@webkit.org's avatar
      Add tests of optional arguments for Geolocation · 24921642
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65810
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      Geolocation's treatment of not-enough-arguments almost matches the
      spec.  getCurrentPosition and watchPosition work properly, but, because
      they are custom, we should use the prettier form of the [Optional]
      attribute.
      
      Before this series of patches, clearWatch argument was optional, but
      that doesn't match the spec or other browsers.  Calling this function
      with zero arguments is pretty non-sensical, so there shouldn't be much
      compat risk to tightening up our behavior here.  Matching other
      browsers and the spec seems like the bigger win.  If we run into compat
      problems, we can re-evaluate this decision.
      
      Test: fast/dom/Geolocation/not-enough-arguments.html
      
      * page/Geolocation.idl:
      
      LayoutTests:
      
      Test what happens when calling geolocation APIs with too few arguments.
      
      * fast/dom/Geolocation/not-enough-arguments-expected.txt: Added.
      * fast/dom/Geolocation/not-enough-arguments.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24921642
    • andersca@apple.com's avatar
      Skip some more tests on Lion. · 32c65cd6
      andersca@apple.com authored
      * platform/mac-lion/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32c65cd6
    • timothy_horton@apple.com's avatar
      SVGAElement check for internal non-view anchors is inside ENABLE(SVG_ANIMATION) · 713d04c7
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=66026
      
      Reviewed by Rob Buis.
             
      Move only the SMIL-related code inside the ENABLE(SVG_ANIMATION) block.
      
      No new tests, as it depends on the enabled features.
      
      * svg/SVGAElement.cpp:
      (WebCore::SVGAElement::defaultEventHandler):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      713d04c7
    • jam@chromium.org's avatar
      [chromium] Update WebScrollbar so that it works with overlay scrollbars on Lion · 148e4b25
      jam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66008
      
      Reviewed by James Robinson.
      
      * WebKit.gyp:
      * public/WebScrollbar.h:
      * public/WebScrollbarClient.h:
      * src/ScrollbarGroup.cpp: Added.
      (WebKit::ScrollbarGroup::ScrollbarGroup):
      (WebKit::ScrollbarGroup::~ScrollbarGroup):
      (WebKit::ScrollbarGroup::scrollbarCreated):
      (WebKit::ScrollbarGroup::scrollbarDestroyed):
      (WebKit::ScrollbarGroup::setLastMousePosition):
      (WebKit::ScrollbarGroup::scrollSize):
      (WebKit::ScrollbarGroup::scrollPosition):
      (WebKit::ScrollbarGroup::setScrollOffset):
      (WebKit::ScrollbarGroup::invalidateScrollbarRect):
      (WebKit::ScrollbarGroup::invalidateScrollCornerRect):
      (WebKit::ScrollbarGroup::isActive):
      (WebKit::ScrollbarGroup::enclosingScrollableArea):
      (WebKit::ScrollbarGroup::isScrollCornerVisible):
      (WebKit::ScrollbarGroup::getTickmarks):
      (WebKit::ScrollbarGroup::convertFromContainingViewToScrollbar):
      (WebKit::ScrollbarGroup::horizontalScrollbar):
      (WebKit::ScrollbarGroup::verticalScrollbar):
      (WebKit::ScrollbarGroup::minimumScrollPosition):
      (WebKit::ScrollbarGroup::maximumScrollPosition):
      (WebKit::ScrollbarGroup::visibleHeight):
      (WebKit::ScrollbarGroup::visibleWidth):
      (WebKit::ScrollbarGroup::contentsSize):
      (WebKit::ScrollbarGroup::overhangAmount):
      (WebKit::ScrollbarGroup::currentMousePosition):
      (WebKit::ScrollbarGroup::shouldSuspendScrollAnimations):
      (WebKit::ScrollbarGroup::scrollbarStyleChanged):
      (WebKit::ScrollbarGroup::isOnActivePage):
      (WebKit::ScrollbarGroup::disconnectFromPage):
      * src/ScrollbarGroup.h: Added.
      (WebKit::ScrollbarGroup::scrollCornerRect):
      * src/WebPluginContainerImpl.cpp:
      (WebKit::WebPluginContainerImpl::paint):
      (WebKit::WebPluginContainerImpl::reportGeometry):
      (WebKit::WebPluginContainerImpl::scrollbarGroup):
      (WebKit::WebPluginContainerImpl::willStartLiveResize):
      (WebKit::WebPluginContainerImpl::willEndLiveResize):
      (WebKit::WebPluginContainerImpl::handleMouseEvent):
      * src/WebPluginContainerImpl.h:
      * src/WebScrollbarImpl.cpp:
      (WebKit::WebScrollbar::createForPlugin):
      (WebKit::WebScrollbarImpl::WebScrollbarImpl):
      (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
      (WebKit::WebScrollbarImpl::setScrollOffset):
      (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
      (WebKit::WebScrollbarImpl::getTickmarks):
      (WebKit::WebScrollbarImpl::convertFromContainingViewToScrollbar):
      (WebKit::WebScrollbarImpl::scrollbarStyleChanged):
      (WebKit::WebScrollbarImpl::isOverlay):
      (WebKit::WebScrollbarImpl::setValue):
      (WebKit::WebScrollbarImpl::scroll):
      (WebKit::WebScrollbarImpl::onMouseMove):
      (WebKit::WebScrollbarImpl::onMouseLeave):
      (WebKit::WebScrollbarImpl::onMouseWheel):
      (WebKit::WebScrollbarImpl::onKeyDown):
      * src/WebScrollbarImpl.h:
      (WebKit::WebScrollbarImpl::scrollOffset):
      (WebKit::WebScrollbarImpl::scrollbar):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::willStartLiveResize):
      (WebKit::WebViewImpl::willEndLiveResize):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      148e4b25
    • ggaren@apple.com's avatar
      Removed some incorrect code that was dead. · 15ba84db
      ggaren@apple.com authored
      Reviewed by Oliver Hunt.
      
      clearSingleTransition() wasn't resetting m_data. Luckily,
      no one cares, because its caller was unused. Removed both.
      
      * runtime/Structure.cpp:
      * runtime/StructureTransitionTable.h:
      (JSC::StructureTransitionTable::~StructureTransitionTable):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15ba84db