1. 29 Jan, 2010 12 commits
    • mrowe@apple.com's avatar
      Roll over a few oversized ChangeLogs. · 74f4d9eb
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74f4d9eb
    • mrowe@apple.com's avatar
      Roll out r54073 as it introduced many thousands of leaks. · 30d5b459
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30d5b459
    • victorw@chromium.org's avatar
      · f0421460
      victorw@chromium.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0421460
    • jhoneycutt@apple.com's avatar
      MSAA: Crash when posting a notification for a detached object · 6feb30bb
      jhoneycutt@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34309
      <rdar://problem/7409759>
      
      Reviewed by Darin Adler.
      
      WebCore:
      
      Test: platform/win/accessibility/detached-object-notification-crash.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (AccessibilityRenderObject::document):
      Null check m_renderer. This is the bug fix; the other changes in the
      patch are for the test.
      
      * accessibility/win/AXObjectCacheWin.cpp:
      (WebCore::AXObjectCache::postPlatformNotification):
      Map AXValueChanged to EVENT_OBJECT_VALUECHANGED, so we'll post a
      notification when AXValueChanged is posted. Receiving an event of this
      type tells us that the test passed.
      
      WebKit/win:
      
      * AccessibleBase.cpp:
      (AccessibleBase::QueryService):
      If an unrecognized service ID is passed, return early. Otherwise, return
      the result of QueryInterface.
      (AccessibleBase::QueryInterface):
      Add static_casts. Check for new UUIDs.
      (AccessibleBase::isSameObject):
      Query the object for AccessibleBase. Return whether the pointers or the
      wrapped objects match.
      
      * AccessibleBase.h:
      Give the class a UUID so we can query for it in isSameObject(). Inherit
      from IAccessibleComparable; inherit from IServiceProvider so clients can
      use QueryService to query for a custom interface.
      
      * Interfaces/AccessibleComparable.idl: Added. Declares a function that
      can be called to compare to accessible objects.
      
      * Interfaces/WebKit.idl:
      Include the new IDL.
      
      * WebKit.vcproj/Interfaces.vcproj:
      Add the new IDL to the project.
      
      WebKitTools:
      
      * DumpRenderTree/AccessibilityController.h:
      Declare new functions. Add new members to store the event hook and the
      mapping of accessibility elements to their JS callbacks.
      
      * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
      (AccessibilityController::notificationReceived):
      Stubbed.
      (AccessibilityController::addNotificationListener):
      Stubbed.
      
      * DumpRenderTree/mac/AccessibilityControllerMac.mm:
      (AccessibilityController::notificationReceived):
      Stubbed.
      (AccessibilityController::addNotificationListener):
      Stubbed.
      
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::AccessibilityController):
      Initialize the event hook.
      (AccessibilityController::~AccessibilityController):
      Remove the event hook. Unprotect all of the JS functions that are stored
      in the map.
      (logEventProc):
      Clean-up a variable.
      (stringEvent):
      Return a string description of the MSAA event code.
      (notificationListenerProc):
      Get the accessible object from the event, and query it for IAccessible.
      Call the AccessibilityController's notificationReceived().
      (comparableObject):
      Use QueryService to obtain the IAccessibleComparable for the
      IServiceProvider.
      (AccessibilityController::notificationReceived):
      Iterate the map of objects that have registered for notification
      callbacks. Query each for IServiceProvider, then use comparableObject()
      to get an IAccessibleComparable. If we find an object matching the
      notified object, call its callback, passing the event that was received.
      (AccessibilityController::addNotificationListener):
      If we have not created the event hook, create it. Protect the JS
      callback function object, and add the object and its callback to our
      map.
      
      * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
      (AccessibilityUIElement::addNotificationListener):
      Call through to the AccessibilityController's addNotificationListener().
      
      * DumpRenderTree/win/DumpRenderTreeWin.h:
      Add an extern declaration for the shared FrameLoadDelegate extern, so we
      can access it from AccessibilityController.
      
      * DumpRenderTree/win/FrameLoadDelegate.h:
      (FrameLoadDelegate::accessibilityController):
      Return the AccessibilityController.
      
      LayoutTests:
      
      * platform/win/accessibility/detached-object-notification-crash-expected.txt: Added.
      * platform/win/accessibility/detached-object-notification-crash.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6feb30bb
    • darin@chromium.org's avatar
      2010-01-29 Darin Fisher <darin@chromium.org> · cfbe94d6
      darin@chromium.org authored
              Okayed by Oliver Hunt.
      
              Rollout r53949, r53951 and r54013 due to a Chromium regression that it
              causes.  Somehow this code change is triggering an endless repaint loop.
      
              https://bugs.webkit.org/show_bug.cgi?id=33808
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::drawTiledImage):
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/transforms/TransformationMatrix.h:
              (WebCore::TransformationMatrix::isIdentityOrTranslation):
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::~RenderBoxModelObject):
              (WebCore::RenderBoxModelObject::paintFillLayerExtended):
              * rendering/RenderBoxModelObject.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfbe94d6
    • oliver@apple.com's avatar
      2010-01-29 Oliver Hunt <oliver@apple.com> · 7b48e502
      oliver@apple.com authored
              Reviewed by Darin Adler.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Remove the unsafe two argument Structure::create method, and correct
              the uses of it to propagate the anonymous slot count.
      
              * runtime/JSObject.h:
              (JSC::JSObject::setStructure):
              * runtime/Structure.cpp:
              (JSC::Structure::addPropertyTransition):
              (JSC::Structure::changePrototypeTransition):
              (JSC::Structure::despecifyFunctionTransition):
              (JSC::Structure::getterSetterTransition):
              (JSC::Structure::toDictionaryTransition):
              * runtime/Structure.h:
      2010-01-29  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Darin Adler.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Add a test for modification of a type with anonymous slots.
      
              * fast/dom/Window/anonymous-slot-with-changes-expected.txt: Added.
              * fast/dom/Window/anonymous-slot-with-changes.html: Added.
      2010-01-29  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Darin Adler.
      
              JSC is failing to propagate anonymous slot count on some transitions
              https://bugs.webkit.org/show_bug.cgi?id=34321
      
              Make code generator add assertions for anonymous slot count.
      
              Test: fast/dom/Window/anonymous-slot-with-changes.html
      
              * bindings/scripts/CodeGeneratorJS.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b48e502
    • philn@webkit.org's avatar
      2010-01-29 Philippe Normand <pnormand@igalia.com> · 48ef91bc
      philn@webkit.org authored
              Unreviewed, build fix.
      
              http/tests/media/video-referer.html fails on mac
              https://bugs.webkit.org/show_bug.cgi?id=34331
      
              Skipping the failing test. Requires further investigation.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48ef91bc
    • philn@webkit.org's avatar
      2010-01-29 Philippe Normand <pnormand@igalia.com> · c86b3c73
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] Vimeo HTML5 player doesn't work
              https://bugs.webkit.org/show_bug.cgi?id=34327
      
              Send Referer when requesting media over HTTP.
      
              Test: http/tests/media/video-referer.html
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
      
      2010-01-29  Philippe Normand  <pnormand@igalia.com>
      
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] Vimeo HTML5 player doesn't work
              https://bugs.webkit.org/show_bug.cgi?id=34327
      
              Test for HTTP Referer checking when playing remote media.
      
              * http/tests/media/resources/setCookieAndReferer.cgi: Added.
              * http/tests/media/resources/video-referer-check-referer.php: Added.
              * http/tests/media/video-referer-expected.txt: Added.
              * http/tests/media/video-referer.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c86b3c73
    • abecsi@webkit.org's avatar
      Unreviewed. · a92117dc
      abecsi@webkit.org authored
      [Qt] Remove disabled tests from Skiplist. The tests were disabled in r53701.
      
      * platform/qt/Skipped: 
        -css2.1/t1204-increment-00-c-o.html
        -css2.1/t1204-increment-01-c-o.html
        -css2.1/t1204-increment-02-c-o.html
        -css2.1/t1204-reset-00-c-o.html
        -css2.1/t1204-reset-01-c-o.html
        -css2.1/t1204-reset-02-c-o.html
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a92117dc
    • pfeldman@chromium.org's avatar
      2010-01-29 Pavel Feldman <pfeldman@chromium.org> · b6cee794
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: migrate to tokenizer-based highlighting in the Elements panel.
      
              https://bugs.webkit.org/show_bug.cgi?id=34273
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * inspector/front-end/CSSSourceSyntaxHighlighter.js: Removed.
              * inspector/front-end/DOMSyntaxHighlighter.js: Added.
              (WebInspector.DOMSyntaxHighlighter):
              (WebInspector.DOMSyntaxHighlighter.prototype.createSpan):
              (WebInspector.DOMSyntaxHighlighter.prototype.syntaxHighlightNode):
              * inspector/front-end/ElementsTreeOutline.js:
              * inspector/front-end/JavaScriptSourceSyntaxHighlighter.js: Removed.
              * inspector/front-end/SourceCSSTokenizer.js:
              (WebInspector.SourceCSSTokenizer):
              (WebInspector.SourceCSSTokenizer.prototype.nextToken):
              * inspector/front-end/SourceCSSTokenizer.re2js:
              * inspector/front-end/SourceHTMLTokenizer.js:
              (WebInspector.SourceHTMLTokenizer):
              (WebInspector.SourceHTMLTokenizer.prototype.nextToken):
              * inspector/front-end/SourceHTMLTokenizer.re2js:
              * inspector/front-end/SourceJavaScriptTokenizer.js:
              (WebInspector.SourceJavaScriptTokenizer):
              (WebInspector.SourceJavaScriptTokenizer.prototype.nextToken):
              * inspector/front-end/SourceJavaScriptTokenizer.re2js:
              * inspector/front-end/SourceSyntaxHighlighter.js: Removed.
              * inspector/front-end/SourceTokenizer.js: Added.
              (WebInspector.SourceTokenizer):
              (WebInspector.SourceTokenizer.prototype.set line):
              (WebInspector.SourceTokenizer.prototype.set condition):
              (WebInspector.SourceTokenizer.prototype.get condition):
              (WebInspector.SourceTokenizer.prototype.hasCondition):
              (WebInspector.SourceTokenizer.prototype.getLexCondition):
              (WebInspector.SourceTokenizer.prototype.setLexCondition):
              (WebInspector.SourceTokenizer.prototype._charAt):
              (WebInspector.SourceTokenizer.Registry):
              (WebInspector.SourceTokenizer.Registry.getInstance):
              (WebInspector.SourceTokenizer.Registry.prototype.getTokenizer):
              * inspector/front-end/TextEditorHighlighter.js:
              (WebInspector.TextEditorHighlighter):
              (WebInspector.TextEditorHighlighter.prototype.set mimeType):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              LayoutTests:
              * inspector/syntax-highlight-css-expected.txt:
              * inspector/syntax-highlight-css.html:
              * inspector/syntax-highlight-javascript-expected.txt:
              * inspector/syntax-highlight-javascript.html:
              * inspector/syntax-highlight.js:
              (frontend_dumpSyntaxHighlight):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6cee794
    • oliver@apple.com's avatar
      2010-01-28 Oliver Hunt <oliver@apple.com> · f4be9e42
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              MessageEvent.data should not be repeated deserialised
              https://bugs.webkit.org/show_bug.cgi?id=34311
      
              Add test to ensure we get the same value back when accessing event.data multiple times
      
              * fast/dom/Window/window-postmessage-clone.html:
      2010-01-28  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              MessageEvent.data should not be repeated deserialised
              https://bugs.webkit.org/show_bug.cgi?id=34311
      
              Cache the result of deserialising the event data
      
              * bindings/scripts/CodeGeneratorJS.pm:
              * dom/MessageEvent.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4be9e42
    • eric@webkit.org's avatar
      2010-01-28 Hayato Ito <hayato@chromium.org> · b1bbbf5d
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Change CSS 'page-break-inside' property from inherited one to non-inherited one because CSS specification defines so.
      
              Note: Currently, the 'page-break-inside' property is used only when parsing the CSS. That property is not used when rendering.
      
              https://bugs.webkit.org/show_bug.cgi?id=34195
      
              * fast/css/getComputedStyle/computed-style-page-break-inside-expected.txt: Added.
              * fast/css/getComputedStyle/computed-style-page-break-inside.html: Added.
              * fast/css/getComputedStyle/script-tests/computed-style-page-break-inside.js: Added.
      2010-01-28  Hayato Ito  <hayato@chromium.org>
      
              Reviewed by Darin Adler.
      
              Change CSS 'page-break-inside' property from inherited one to non-inherited one because CSS specification defines so.
      
              Note: Currently, the 'page-break-inside' property is used only when parsing the CSS. That property is not used when rendering.
      
              https://bugs.webkit.org/show_bug.cgi?id=34195
      
              * rendering/style/RenderStyle.h:
              (WebCore::InheritedFlags::NonInheritedFlags::operator==):
              (WebCore::InheritedFlags::setBitDefaults):
              (WebCore::InheritedFlags::pageBreakInside):
              (WebCore::InheritedFlags::setPageBreakInside):
              * rendering/style/StyleInheritedData.cpp:
              (WebCore::StyleInheritedData::StyleInheritedData):
              (WebCore::StyleInheritedData::operator==):
              * rendering/style/StyleInheritedData.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1bbbf5d
  2. 28 Jan, 2010 14 commits
    • eric@webkit.org's avatar
      2010-01-28 Michael Nordman <michaeln@google.com> · 31fe00e9
      eric@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              ApplicationCache events should be deferred until after Document onload has fired.
              https://bugs.webkit.org/show_bug.cgi?id=29690
      
              * http/tests/appcache/deferred-events-expected.txt: Added.
              * http/tests/appcache/deferred-events.html: Added.
              * http/tests/appcache/deferred-events-delete-while-raising-expected.txt: Added.
              * http/tests/appcache/deferred-events-delete-while-raising.html: Added.
      2010-01-28  Michael Nordman  <michaeln@google.com>
      
              Reviewed by Alexey Proskuryakov.
      
              ApplicationCache events should be deferred until after Document onload has fired.
              https://bugs.webkit.org/show_bug.cgi?id=29690
      
              Test: http/tests/appcache/deferred-events.html
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::handledOnloadEvents):  Tells the ApplicationCacheHost to stop deferring events.
              * loader/appcache/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
              (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
              (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
              * loader/appcache/ApplicationCacheHost.h: Declare new data members and method.
      2010-01-28  Michael Nordman  <michaeln@google.com>
      
              Reviewed by Alexey Proskuryakov.
      
              ApplicationCache events should be deferred until after Document onload has fired.
              https://bugs.webkit.org/show_bug.cgi?id=29690
      
              * src/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::ApplicationCacheHost): Initialize m_isDeferringEvents to true.
              (WebCore::ApplicationCacheHost::notifyDOMApplicationCache): Depending, defer or raise the event.
              (WebCore::ApplicationCacheHost::stopDeferringEvents): Raise any deferred events and reset the flag.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31fe00e9
    • eric@webkit.org's avatar
      2010-01-28 Alex Milowski <alex@milowski.com> · 57954209
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Updates from CSS change for mathml.css
      
              * platform/mac/mathml/presentation/sub-expected.txt:
              * platform/mac/mathml/presentation/sup-expected.txt:
              * platform/mac/mathml/presentation/tables-expected.checksum:
              * platform/mac/mathml/presentation/tables-expected.png:
              * platform/mac/mathml/presentation/tables-expected.txt:
      2010-01-28  Alex Milowski  <alex@milowski.com>
      
              Reviewed by Eric Seidel.
      
              Update to CSS to remove unnecessary line-height settings
      
              * css/mathml.css:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57954209
    • kov@webkit.org's avatar
      2010-01-28 Sebastian Dröge <sebastian.droege@collabora.co.uk> · 9806a6cf
      kov@webkit.org authored
      Reviewed by Gustavo Noronha.
      
              Pass cookies to the GStreamer HTTP source
              https://bugs.webkit.org/show_bug.cgi?id=34003
      
              Test: http/tests/media/video-cookie.html
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
              When using an appropiate GStreamer HTTP source element, pass
              the cookies for the media URI to it. This fixes playback of
              the YouTube HTML5 videos.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9806a6cf
    • ossy@webkit.org's avatar
      [Qt] Incorrect small caps vs. normal text handling · f2dc3362
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=34286
      
      * platform/qt/Skipped: css2.1/t1505-c524-font-var-00-b.html skipped
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2dc3362
    • evan@chromium.org's avatar
      2010-01-27 Evan Martin <evan@chromium.org> · 7983944b
      evan@chromium.org authored
              Reviewed by David Levin.
      
              [chromium] hebrew vowel marks incorrectly positioned
              https://bugs.webkit.org/show_bug.cgi?id=34234
      
              Add a layout test containing some Hebrew vowels.
      
              * fast/text/international/hebrew-vowels.html: Added.
      2010-01-27  Evan Martin  <evan@chromium.org>
      
              Reviewed by David Levin.
      
              [chromium] hebrew vowel marks incorrectly positioned
              https://bugs.webkit.org/show_bug.cgi?id=34234
      
              Fix glyph metrics computation such that the glyph offsets
              are correct, so we can now make use of them.
      
              Test: fast/text/international/hebrew-vowels.html
      
              * platform/graphics/chromium/FontLinux.cpp:
              (WebCore::TextRunWalker::createGlyphArrays): initialize per-glyph
              offset table.
              (WebCore::TextRunWalker::setGlyphXPositions): use per-glyph
              offsets.
              * platform/graphics/chromium/HarfbuzzSkia.cpp:
              (WebCore::getGlyphMetrics): fix metrics computation such that
              per-glyph offsets are computed correctly.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7983944b
    • dglazkov@chromium.org's avatar
      2010-01-28 Dimitri Glazkov <dglazkov@chromium.org> · 8993353c
      dglazkov@chromium.org authored
              Unreviewed, trivial baseline update.
      
              Update baseline for "Animated scaling of background-image is too slow"
              https://bugs.webkit.org/show_bug.cgi?id=33808
      
              * platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum:
              * platform/mac/fast/backgrounds/size/backgroundSize16-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8993353c
    • abarth@webkit.org's avatar
      2010-01-28 Adam Barth <abarth@webkit.org> · c42d60bd
      abarth@webkit.org authored
              Reviewed by David Levin.
      
              Remove XSSAuditor false positive for Google Translate
              https://bugs.webkit.org/show_bug.cgi?id=34242
      
              Add a test that we allow attackers to inject directly into the href
              property of the base tag.
      
              * http/tests/security/xssAuditor/base-href-direct-expected.txt: Added.
              * http/tests/security/xssAuditor/base-href-direct.html: Added.
              * http/tests/security/xssAuditor/resources/echo-head-base-href-direct.pl: Added.
      2010-01-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by David Levin.
      
              Remove XSSAuditor false positive for Google Translate
              https://bugs.webkit.org/show_bug.cgi?id=34242
      
              Google translate takes a base URL as a parameter, causing a false
              positive in the XSS filter.  This patch removes the false positive by
              allowing direct injections into the href property of the base tag.
      
              Test: http/tests/security/xssAuditor/base-href-direct.html
      
              * page/XSSAuditor.cpp:
              (WebCore::XSSAuditor::canSetBaseElementURL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c42d60bd
    • simon.fraser@apple.com's avatar
      2010-01-28 Simon Fraser <simon.fraser@apple.com> · 762661b1
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Video can overlap position:fixed element when scrolling
              https://bugs.webkit.org/show_bug.cgi?id=32180
      
              When the scroll position changes, and we're using overlap to decide what gets composited,
              then we need to re-evaluate what gets compositing when scrolling in case fixed postion elements
              overlap composited elements (e.g. video).
      
              Test: compositing/geometry/video-fixed-scrolling.html
      
              * page/FrameView.cpp:
              (WebCore::FrameView::updateCompositingLayers):
              (WebCore::FrameView::scrollPositionChanged): Annotate the calls to updateCompositingLayers()
              with the type of change that occurred.
      
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::updateCompositingAndLayerListsIfNeeded): Ditto.
      
              * rendering/RenderLayerCompositor.h:
              * rendering/RenderLayerCompositor.cpp:
              (WebCore::RenderLayerCompositor::updateCompositingLayers): For scroll changes, check
              for hierarchy update if m_compositingConsultsOverlap is true, and do
              a geometry update. For other changes, always check for hierarchy updates.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      762661b1
    • eric@webkit.org's avatar
      2010-01-28 Anton Muhin <antonm@google.com> · d70abd38
      eric@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              Add layout tests to verify assignment to items of NodeList
              https://bugs.webkit.org/show_bug.cgi?id=34213
      
              * fast/dom/NodeList/nodelist-item-assignment-expected.txt: Added.
              * fast/dom/NodeList/nodelist-item-assignment.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d70abd38
    • benm@google.com's avatar
      [Android] [Qt] Touch event page co-ordinates are incorrect when touch is received in an iframe. · c84514dc
      benm@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34162
      
      Reviewed by Simon Hausmann.
      
      WebCore: 
      
      The pageX/pageY co-ordinates of a touch event should be relative to the containing frame, not the main frame. This change implements that and also updates the existing touch-inside-iframe test to also examine the page co-ordinates.
      
      * dom/Touch.cpp:
      (WebCore::Touch::Touch): Remove dead code.
      * dom/Touch.h: Remove dead code.
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent): Rename framePoint to pagePoint, as it seems a clearer name. Also adjust the pagePoint to be relative to the touch target element's containing frame rather than the main frame.
      * platform/PlatformTouchEvent.h: Rename Android specific constructor parameter to better reflect it's contents.
      * platform/PlatformTouchPoint.h: Ditto.
      * platform/android/PlatformTouchEventAndroid.cpp: Ditto.
      * platform/android/PlatformTouchPointAndroid.cpp: Ditto.
      
      LayoutTests: 
      
      Update the existing iframe touch event test to also examine the page co-ordinates of the touch that is received.
      
      * fast/events/touch/resources/touch-inside-iframe2.html:
      * fast/events/touch/touch-inside-iframe-expected.txt:
      * fast/events/touch/touch-inside-iframe.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c84514dc
    • xan@webkit.org's avatar
      2010-01-28 Xan Lopez <xlopez@igalia.com> · 42ed4bea
      xan@webkit.org authored
              [GTK] Can DnD files to our filechooser widget (<input type="file">)
              https://bugs.webkit.org/show_bug.cgi?id=34246
      
              Skip failing test because of this missing feature.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42ed4bea
    • tkent@chromium.org's avatar
      2010-01-28 Kent Tamura <tkent@chromium.org> · 29be1a3e
      tkent@chromium.org authored
              Reviewed by Darin Fisher.
      
              Remove tests for dates later than 275760-09-13T00:00Z.
              https://bugs.webkit.org/show_bug.cgi?id=34240
      
              Date.UTC() of V8 doesn't support such dates though Date.UTC() of
              JavaScriptCore does.
      
              * fast/forms/input-valueasnumber-date-expected.txt:
              * fast/forms/input-valueasnumber-datetime-expected.txt:
              * fast/forms/input-valueasnumber-datetimelocal-expected.txt:
              * fast/forms/input-valueasnumber-month-expected.txt:
              * fast/forms/script-tests/input-valueasnumber-date.js:
              * fast/forms/script-tests/input-valueasnumber-datetime.js:
              * fast/forms/script-tests/input-valueasnumber-datetimelocal.js:
              * fast/forms/script-tests/input-valueasnumber-month.js:
              * platform/win/fast/forms/input-valueasnumber-datetime-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29be1a3e
    • tkent@chromium.org's avatar
      2010-01-27 Kent Tamura <tkent@chromium.org> · dec81420
      tkent@chromium.org authored
              Reviewed by Darin Adler.
      
              rangeOverflow/rangeUnderflow support for type=date
              https://bugs.webkit.org/show_bug.cgi?id=34209
      
              * fast/forms/ValidityState-rangeOverflow-date-expected.txt: Added.
              * fast/forms/ValidityState-rangeOverflow-date.html: Added.
              * fast/forms/ValidityState-rangeUnderflow-date-expected.txt: Added.
              * fast/forms/ValidityState-rangeUnderflow-date.html: Added.
              * fast/forms/script-tests/ValidityState-rangeOverflow-date.js: Added.
              * fast/forms/script-tests/ValidityState-rangeUnderflow-date.js: Added.
      
      2010-01-27  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Adler.
      
              rangeOverflow/rangeUnderflow support for type=date
              https://bugs.webkit.org/show_bug.cgi?id=34209
      
              Add DATE type support to rangeUnderflow(), rangeOverflow(),
              minimum(), and maximum() of HTMLInputElement.
              In order to unify parsing code for value, min, and max strings,
              introduce parseToDouble() function and it is called by
              valueAsDate() and valueAsNumber() too.
      
              Tests: fast/forms/ValidityState-rangeOverflow-date.html
                     fast/forms/ValidityState-rangeUnderflow-date.html
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::rangeUnderflow): Support DATE type, and use parseToDouble().
              (WebCore::HTMLInputElement::rangeOverflow): ditto.
              (WebCore::HTMLInputElement::minimum): ditto.
              (WebCore::HTMLInputElement::maximum): ditto.
              (WebCore::HTMLInputElement::doubleValueFor): Added.
              (WebCore::HTMLInputElement::valueAsDate): Use parseToDouble().
              (WebCore::HTMLInputElement::valueAsNumber): Use parseToDouble().
              * html/HTMLInputElement.h: Declare parseToDouble().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dec81420
    • ossy@webkit.org's avatar
      [Qt] Skip test introduced in r53972 because of missing eventSender.beginDragWithFiles() · 244d2ac6
      ossy@webkit.org authored
      * platform/qt/Skipped: fast/dom/Window/window-postmessage-clone-frames.html skipped.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      244d2ac6
  3. 27 Jan, 2010 14 commits
    • oliver@apple.com's avatar
      2010-01-27 Oliver Hunt <oliver@apple.com> · 5deb8d8e
      oliver@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              MessageEvent.data should deserialize in the context of the MessageEvent's global object
              https://bugs.webkit.org/show_bug.cgi?id=34227
      
              Add logic to allow us to create an Object, Array, or Date instance
              so we can create them in the context of a specific global object,
              rather than just using the current lexical global object.
      
              * JavaScriptCore.exp:
              * runtime/DateInstance.cpp:
              (JSC::DateInstance::DateInstance):
              * runtime/DateInstance.h:
              * runtime/JSGlobalObject.h:
              (JSC::constructEmptyObject):
              (JSC::constructEmptyArray):
      2010-01-27  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              MessageEvent.data should deserialize in the context of the MessageEvent's global object
              https://bugs.webkit.org/show_bug.cgi?id=34227
      
              Test that the object returned from postMessage.data is created in the correct context
      
              * fast/dom/Window/resources/window-postmessage-clone-frames-frame.html: Added.
              * fast/dom/Window/window-postmessage-clone-frames-expected.txt: Added.
              * fast/dom/Window/window-postmessage-clone-frames.html: Added.
      2010-01-27  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              MessageEvent.data should deserialize in the context of the MessageEvent's global object
              https://bugs.webkit.org/show_bug.cgi?id=34227
      
              Make ScriptValue deserialisation support the provision of a specific global
              object to use when creating new objects.  This then allows us to make
              MessageEvent.data and PopStateEvent.state deserialize in the correct
              context.
      
              Test: fast/dom/Window/window-postmessage-clone-frames.html
      
              * bindings/js/JSPopStateEventCustom.cpp:
                Remove custom implementation of state getter
              * bindings/js/SerializedScriptValue.cpp:
              (WebCore::DeserializingTreeWalker::DeserializingTreeWalker):
              (WebCore::DeserializingTreeWalker::createOutputArray):
              (WebCore::DeserializingTreeWalker::createOutputObject):
              (WebCore::DeserializingTreeWalker::convertIfTerminal):
              (WebCore::SerializedScriptValueData::deserialize):
              (WebCore::SerializedScriptValue::deserialize):
              * bindings/js/SerializedScriptValue.h:
              (WebCore::SerializedScriptValue::deserialize):
              * bindings/scripts/CodeGeneratorJS.pm:
                Update bindings generation to pass the correct global object, and to
                treat "any" as synonymous with SerializedValue.
              * dom/PopStateEvent.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5deb8d8e
    • eric@webkit.org's avatar
      2010-01-27 John Abd-El-Malek <jam@chromium.org> · 7ab941c4
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Tests that when a page removes an iframe that sleeps in its unload handler and
              terminates its JS execution, the outer page's JS continues running.
      
              https://bugs.webkit.org/show_bug.cgi?id=34226
      
              * fast/dom/Window/slow-unload-handler-expected.txt: Copied from LayoutTests/fast/dom/Window/slow_unload_handler-expected.txt.
              * fast/dom/Window/slow-unload-handler-only-frame-is-stopped.html: Added.
              * fast/dom/Window/slow-unload-handler-only-frame-is-stopped-expected.txt: Added.
              * fast/dom/Window/slow-unload-handler.html: Copied from LayoutTests/fast/dom/Window/slow_unload_handler.html.
              * fast/dom/Window/slow_unload_handler-expected.txt: Removed.
              * fast/dom/Window/slow_unload_handler.html: Removed.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-01-27  John Abd-El-Malek  <jam@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Tests that when a page removes an iframe that sleeps in its unload handler and
              terminates its JS execution, the outer page's JS continues running.
      
              https://bugs.webkit.org/show_bug.cgi?id=34226
      
              Tests: fast/dom/Window/slow-unload-handler-only-frame-is-stopped.html
                     fast/dom/Window/slow-unload-handler.html
      
              * bindings/v8/DateExtension.cpp:
              (WebCore::DateExtension::OnSleepDetected):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ab941c4
    • eric@webkit.org's avatar
      2010-01-27 Kent Tamura <tkent@chromium.org> · 113b0464
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add valueAsNumber support for type=datetime-local.
              https://bugs.webkit.org/show_bug.cgi?id=34200
      
              The test data is equivalent to input-valueasnumber-datetime.html.
              The expectation contains two FAIL lines because they check
              unimplemented features.
      
              * fast/forms/input-valueasnumber-datetimelocal-expected.txt: Added.
              * fast/forms/input-valueasnumber-datetimelocal.html: Added.
              * fast/forms/script-tests/input-valueasnumber-datetimelocal.js: Added.
      2010-01-27  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add valueAsNumber support for type=datetime-local.
              https://bugs.webkit.org/show_bug.cgi?id=34200
      
              Implement necessary methods of ISODateTime, and call them from
              HTMLInputElement.
      
              Test: fast/forms/input-valueasnumber-datetimelocal.html
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::valueAsNumber):
              (WebCore::HTMLInputElement::setValueAsNumber):
              * html/ISODateTime.cpp:
              (WebCore::ISODateTime::setMillisecondsSinceEpochForDateTimeLocal):
                Implemented.  Just call setMillisecondsSinceEpochForDateTime().
              (WebCore::ISODateTime::millisecondsSinceEpochForTime):
                Accept to be called for m_type=DateTimeLocal.
              (WebCore::ISODateTime::toString): Add DateTimeLocal support.
              * html/ISODateTime.h: Declare new methods.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      113b0464
    • bweinstein@apple.com's avatar
      Rubber-stamped by Adam Roben. · 00a33333
      bweinstein@apple.com authored
      Add platform specific failing Windows results for two recently
      added tests. I will comment on their originating bugs saying that
      failing results were landed for Windows.
              
      <https://bugs.webkit.org/show_bug.cgi?id=29564>
      <https://bugs.webkit.org/show_bug.cgi?id=32696>
      
      * platform/win/fast/css/button-height-expected.txt: Added.
      * platform/win/fast/forms/input-valueasnumber-datetime-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00a33333
    • eric@webkit.org's avatar
      2010-01-27 Diego Gonzalez <diego.gonzalez@openbossa.org> · 0125bd08
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT Provide worker thread ability to track counters
              https://bugs.webkit.org/show_bug.cgi?id=34221
      
              Implement workerThreadCount() in LayoutTestController of Qt DRT
      
              Tests:
              fast/workers/dedicated-worker-lifecycle.html
              fast/workers/shared-worker-frame-lifecycle.html
              fast/workers/shared-worker-lifecycle.html
              fast/workers/worker-lifecycle.html
      
              * platform/qt/Skipped:
      2010-01-27  Diego Gonzalez  <diego.gonzalez@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT Provide worker thread ability to track counters
              https://bugs.webkit.org/show_bug.cgi?id=34221
      
              Implement workerThreadCount() in LayoutTestController of Qt DRT
      
              Tests:
              fast/workers/dedicated-worker-lifecycle.html
              fast/workers/shared-worker-frame-lifecycle.html
              fast/workers/shared-worker-lifecycle.html
              fast/workers/worker-lifecycle.html
      
              * Api/qwebpage.cpp:
              (qt_drt_workerThreadCount):
      2010-01-27  Diego Gonzalez  <diego.gonzalez@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] DRT Provide worker thread ability to track counters
              https://bugs.webkit.org/show_bug.cgi?id=34221
      
              Implement workerThreadCount() in LayoutTestController of Qt DRT
      
              Tests:
              fast/workers/dedicated-worker-lifecycle.html
              fast/workers/shared-worker-frame-lifecycle.html
              fast/workers/shared-worker-lifecycle.html
              fast/workers/worker-lifecycle.html
      
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::workerThreadCount):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0125bd08
    • darin@chromium.org's avatar
      2010-01-26 Darin Fisher <darin@chromium.org> · e5915f11
      darin@chromium.org authored
              Reviewed by Brady Eidson and David Levin.
      
              Chains of history items representing same-document navigation need to
              always remember that association
      
              https://bugs.webkit.org/show_bug.cgi?id=33224
      
              Replace HistoryItem's Document pointer with a DocumentSequenceNumber.
              During session history traversal, if the current HistoryItem and the
              target HistoryItem have the same DocumentSequenceNumber, then it means
              that the current Document should remain.
      
              NOTE: To support Chromium's serialization of HistoryItems, I generate
              DocumentSequenceNumbers that are unique across application launches.
              DocumentSequenceNumbers are generated using a counter initialized with
              the time of day.
      
              Test: fast/loader/stateobjects/document-destroyed-navigate-back.html
      
              * dom/Document.cpp:
              (WebCore::Document::detach):
              * dom/Document.h:
              * history/BackForwardList.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/BackForwardListChromium.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/HistoryItem.cpp:
              (WebCore::generateDocumentSequenceNumber):
              (WebCore::HistoryItem::HistoryItem):
              (WebCore::HistoryItem::~HistoryItem):
              (WebCore::HistoryItem::setStateObject):
              * history/HistoryItem.h:
              (WebCore::HistoryItem::setDocumentSequenceNumber):
              (WebCore::HistoryItem::documentSequenceNumber):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::navigateWithinDocument):
              (WebCore::FrameLoader::loadItem):
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::updateBackForwardListForFragmentScroll):
              (WebCore::HistoryController::pushState):
              (WebCore::HistoryController::replaceState):
              * loader/RedirectScheduler.cpp:
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
              * page/History.cpp:
              (WebCore::History::stateObjectAdded):
              * page/Page.cpp:
              (WebCore::Page::goToItem):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5915f11
    • eric@webkit.org's avatar
      2010-01-27 Yael Aharon <yael.aharon@nokia.com> · 380a5aae
      eric@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] Enable websockets support in QtWebKit
              https://bugs.webkit.org/show_bug.cgi?id=34180
      
              Remove websockets tests from skiplist.
      
              * platform/qt/Skipped:
      2010-01-27  Yael Aharon  <yael.aharon@nokia.com>
      
              Reviewed by Laszlo Gombos.
      
              [Qt] Enable websockets support in QtWebKit
              https://bugs.webkit.org/show_bug.cgi?id=34180
      
              Connected between SocketStreamHandle and QTcpSocket/QSslSocket
              to enable support for websockets.
              Proxy authentication is not yet supported.
              SSL certificate errors are ignored while this is under development.
      
              * WebCore.pro:
              * platform/network/qt/SocketStreamHandle.h:
              * platform/network/qt/SocketStreamHandlePrivate.h: Added.
              * platform/network/qt/SocketStreamHandleQt.cpp:
              (WebCore::SocketStreamHandlePrivate::SocketStreamHandlePrivate):
              (WebCore::SocketStreamHandlePrivate::~SocketStreamHandlePrivate):
              (WebCore::SocketStreamHandlePrivate::socketConnected):
              (WebCore::SocketStreamHandlePrivate::socketReadyRead):
              (WebCore::SocketStreamHandlePrivate::send):
              (WebCore::SocketStreamHandlePrivate::close):
              (WebCore::SocketStreamHandlePrivate::socketSentdata):
              (WebCore::SocketStreamHandlePrivate::socketClosed):
              (WebCore::SocketStreamHandlePrivate::socketError):
              (WebCore::SocketStreamHandlePrivate::socketClosedCallback):
              (WebCore::SocketStreamHandlePrivate::socketErrorCallback):
              (WebCore::SocketStreamHandlePrivate::socketSslErrors):
              (WebCore::SocketStreamHandle::SocketStreamHandle):
              (WebCore::SocketStreamHandle::~SocketStreamHandle):
              (WebCore::SocketStreamHandle::platformSend):
              (WebCore::SocketStreamHandle::platformClose):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      380a5aae
    • eric@webkit.org's avatar
      2010-01-27 Mads Ager <ager@chromium.org> · 3a43f91f
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Support getting integer-named properties using indexing notation on document object
              https://bugs.webkit.org/show_bug.cgi?id=34211
      
              * fast/dom/HTMLDocument/get-iframe-with-integer-name-expected.txt: Added.
              * fast/dom/HTMLDocument/get-iframe-with-integer-name.html: Added.
      2010-01-27  Mads Ager  <ager@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              [V8] Support getting integer-named properties using indexing notation on document object
              https://bugs.webkit.org/show_bug.cgi?id=34211
      
              Add indexed property getter to HTMLDocument to support getting
              elements with integer names using indexing notation on document.
      
              Test: fast/dom/HTMLDocument/get-iframe-with-integer-name.html
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              (WebCore::V8HTMLDocument::indexedPropertyGetter):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a43f91f
    • eric@webkit.org's avatar
      2010-01-27 Kinuko Yasuda <kinuko@chromium.org> · a54ce78b
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Remove fast/events/keydown-numpad-keys.html from gtk's Skipped list.
              https://bugs.webkit.org/show_bug.cgi?id=28247
      
              * platform/gtk/Skipped:
      2010-01-27  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Add key event mappings for numpad keys for Gtk and Chromium/Gtk.
              http://bugs.webkit.org/show_bug.cgi?id=28247
      
              Test: fast/events/keydown-numpad-keys.html
      
              * platform/chromium/KeyCodeConversionGtk.cpp:
              (WebCore::windowsKeyCodeForKeyEvent):
              * platform/gtk/KeyEventGtk.cpp:
              (WebCore::windowsKeyCodeForKeyEvent):
      2010-01-27  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Correctly handle the KeyLocation argument that has been introduced
              recently to test location-dependent key events in EventSender.keyDown.
              http://bugs.webkit.org/show_bug.cgi?id=28247
      
              Test: fast/events/keydown-numpad-keys.html
      
              * DumpRenderTree/gtk/EventSender.cpp:
              (keyDownCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a54ce78b
    • eric@webkit.org's avatar
      2010-01-27 Tony Chang <tony@chromium.org> · 1d23c496
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Fix a crash when trying to indent a block element that was contained
              in a list.  This was happening because enclosingBlock() in
              htmlediting.cpp can return the current the same Node when a block
              element (like an <hr> or a <table>) is passed in.  This causes
              the indent command to think that it is not in a list item.
      
              Work around this by checking to see if enclosingBlock returned the
              same Node.
      
              https://bugs.webkit.org/show_bug.cgi?id=32390
      
              * editing/execCommand/indent-block-in-list-expected.txt: Added.
              * editing/execCommand/indent-block-in-list.html: Added.
      2010-01-27  Tony Chang  <tony@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix a crash when trying to indent a block element that was contained
              in a list.  This was happening because enclosingBlock() in
              htmlediting.cpp can return the current the same Node when a block
              element (like an <hr> or a <table>) is passed in.  This causes
              the indent command to think that it is not in a list item.
      
              Work around this by checking to see if enclosingBlock returned the
              same Node.
      
              https://bugs.webkit.org/show_bug.cgi?id=32390
      
              Test: editing/execCommand/indent-block-in-list.html
      
              * editing/IndentOutdentCommand.cpp:
              (WebCore::IndentOutdentCommand::tryIndentingAsListItem):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d23c496
    • ossy@webkit.org's avatar
      [Qt] Qt port doesn't need platform dependent expected file anymore · fbeecb2c
      ossy@webkit.org authored
      for editing/pasteboard/paste-noscript-xhtml.html from r53873.
      
      * platform/qt/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbeecb2c
    • ossy@webkit.org's avatar
      [Qt] fast/backgrounds/animated-svg-as-background.html make... · bbddb38c
      ossy@webkit.org authored
      [Qt] fast/backgrounds/animated-svg-as-background.html make fast/backgrounds/svg-as-background-5.html crash.
      https://bugs.webkit.org/show_bug.cgi?id=34202
      
      * platform/qt/Skipped: fast/backgrounds/animated-svg-as-background.html enabled because bug rolled out by r53912.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbddb38c
    • eric@webkit.org's avatar
      2010-01-27 Matt Perry <mpcomplete@chromium.org> · 47d962de
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents.
              https://bugs.webkit.org/show_bug.cgi?id=33920
      
              * userscripts/resources: Added.
              * userscripts/resources/blank.xhtml: Added.
              * userscripts/script-not-run-for-fragments-expected.txt: Added.
              * userscripts/script-not-run-for-fragments.html: Added.
              * userscripts/script-run-at-start-expected.txt: Added.
              * userscripts/script-run-at-start.html: Added.
      2010-01-27  Matt Perry  <mpcomplete@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents.
              https://bugs.webkit.org/show_bug.cgi?id=33920
      
              Tests: userscripts/script-not-run-for-fragments.html
                     userscripts/script-run-at-start.html
      
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::startElementNs):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47d962de
    • ossy@webkit.org's avatar
      [Qt] fast/backgrounds/animated-svg-as-background.html make... · dba1a5b6
      ossy@webkit.org authored
      [Qt] fast/backgrounds/animated-svg-as-background.html make fast/backgrounds/svg-as-background-5.html crash.
      https://bugs.webkit.org/show_bug.cgi?id=34202
      
      * platform/qt/Skipped: fast/backgrounds/animated-svg-as-background.html skipped until fix.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dba1a5b6