1. 02 Apr, 2010 2 commits
    • abarth@webkit.org's avatar
      2010-04-02 Adam Barth <abarth@webkit.org> · a19484cb
      abarth@webkit.org authored
              Unreviewed.  Disabled fast/workers/worker-terminate.html because it
              randomly fails about 25% of the time.
      
              https://bugs.webkit.org/show_bug.cgi?id=36646
      
              * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a19484cb
    • scherkus@chromium.org's avatar
      2010-04-02 Andrew Scherkus <scherkus@chromium.org> · e479546e
      scherkus@chromium.org authored
              Reviewed by Eric Carlson and Eric Seidel.
      
              Don't stop the playback event timer when media resource loading has suspended.
              https://bugs.webkit.org/show_bug.cgi?id=37003
      
              When a user agent decides to suspend media resource loading and enters the
              NETWORK_IDLE state we are supposed to only stop the progress event timer but
              keep the playback timer running.
      
              Test: http/tests/media/video-play-suspend.html
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::setNetworkState): Only stop the progress event timer.
      
      2010-04-02  Andrew Scherkus  <scherkus@chromium.org>
      
              Reviewed by Eric Carlson and Eric Seidel.
      
              Don't stop the playback event timer when media resource loading has suspended.
              https://bugs.webkit.org/show_bug.cgi?id=37003
      
              When a user agent decides to suspend media resource loading and enters the
              NETWORK_IDLE state we are supposed to only stop the progress event timer but
              keep the playback timer running.
      
              Currently Chromium is the only platform that fires the suspend event
              hence most platforms skipping this test.
      
              * http/tests/media/video-play-suspend-expected.txt: Added.
              * http/tests/media/video-play-suspend.html: Added.
              * platform/gtk/Skipped: Doesn't fire a suspend event.
              * platform/mac/Skipped: Ditto.
              * platform/win/Skipped: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e479546e
  2. 01 Apr, 2010 1 commit
  3. 29 Mar, 2010 1 commit
    • kenneth@webkit.org's avatar
      JavaScriptCore: Add an enable flag for the Widgets (http://www.w3.org/TR/widgets-reqs/) · 3c5ec8fd
      kenneth@webkit.org authored
      and turn it on for Qt only.
      
      Reviewed by Simon Fraser.
      
      * wtf/Platform.h:
      
      WebCore: When enabling Web Widgets, add support for the view-mode media
      feature (http://www.w3.org/TR/widgets-vmmf/).
      
      Reviewed by Simon Fraser.
      
      Test: fast/media/media-feature-wgt-view-mode.html
      
      * css/CSSValueKeywords.in:
      * css/MediaFeatureNames.h:
      * css/MediaQueryEvaluator.cpp:
      (WebCore::view_modeMediaFeatureEval):
      * page/ChromeClient.h:
      (WebCore::ChromeClient::isDocked):
      (WebCore::ChromeClient::isFloating):
      (WebCore::ChromeClient::isApplication):
      (WebCore::ChromeClient::isFullscreen):
      
      WebKit/qt: Add an internal Qt API for changing the view mode media feature
      (http://www.w3.org/TR/widgets-vmmf/).
      
      Reviewed by Simon Fraser.
      
      * Api/qwebpage.cpp:
      (qt_wrt_setViewMode):
      (QWebPagePrivate::priv):
      * Api/qwebpage_p.h:
      * WebCoreSupport/ChromeClientQt.cpp:
      (WebCore::ChromeClientQt::isDocked):
      (WebCore::ChromeClientQt::isFloating):
      (WebCore::ChromeClientQt::isApplication):
      (WebCore::ChromeClientQt::isFullscreen):
      * WebCoreSupport/ChromeClientQt.h:
      
      WebKitTools: Add hooks to the Qt DRT for testing the view mode media feature.
      
      Reviewed by Simon Fraser.
      
      * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
      (LayoutTestController::setViewModeMediaFeature):
      * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      LayoutTests: Add a test and an expected result for the Widgets 1.0: View Mode
      Media Feature (http://www.w3.org/TR/widgets-vmmf/).
      
      Reviewed by Simon Fraser.
      
      Skip on all other platforms than Qt, that has Skipped files.
      
      * fast/media/media-feature-wgt-view-mode.html: Added.
      * fast/media/media-feature-wgt-view-mode-expected.txt: Added.
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c5ec8fd
  4. 18 Mar, 2010 1 commit
    • eric@webkit.org's avatar
      2010-03-18 Kenneth Rohde Christiansen <kenneth@webkit.org> · f6a6237c
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Add a new test for testing whether the media type is restores
              properly after printing a page (changing media type to 'print').
      
              Add expected result and skip the test for platform that do not
              implement setMediaType().
      
              * fast/media/print-restores-previous-mediatype-expected.txt: Added.
              * fast/media/print-restores-previous-mediatype.html: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/win/Skipped:
      2010-03-18  Kenneth Rohde Christiansen  <kenneth@webkit.org>
      
              Reviewed by Darin Adler.
      
              Make setPrinting() with printing=false, restore the previous
              media type in use.
      
              Test: fast/media/print-restores-previous-mediatype.html
      
              * page/Frame.cpp:
              (WebCore::Frame::setPrinting):
              * page/FrameView.cpp:
              (WebCore::FrameView::adjustMediaTypeForPrinting):
              * page/FrameView.h:
      2010-03-18  Kenneth Rohde Christiansen  <kenneth@webkit.org>
      
              Reviewed by Darin Adler.
      
              Make it possible for the Qt DRT to set the media type from
              the LayoutTestController.
      
              * Api/qwebframe.cpp:
              (qt_drt_setMediaType):
      2010-03-18  Kenneth Rohde Christiansen  <kenneth@webkit.org>
      
              Reviewed by Darin Adler.
      
              Add a new method to the Qt LayoutTestController for
              changing media type and make the DRT support dry-run printing.
      
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::DumpRenderTree::DumpRenderTree):
              (WebCore::DumpRenderTree::dryRunPrint):
              * DumpRenderTree/qt/DumpRenderTreeQt.h:
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setMediaType):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6a6237c
  5. 17 Mar, 2010 1 commit
    • kbr@google.com's avatar
      2010-03-17 Kenneth Russell <kbr@google.com> · e34ffedc
      kbr@google.com authored
              Reviewed by Darin Fisher.
      
              Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
              https://bugs.webkit.org/show_bug.cgi?id=36233
      
              The patch for bug 33416, which added multisampling support to the
              WebGL back buffer, uncovered some OpenGL driver bugs on the build
              bots which need further investigation to determine the appropriate
              workaround. Reverting this change, the minor build fix in 36189,
              and the skipping of the affected tests in bug 36200.
      
              Built and tested WebKit and Chromium and ran all WebGL layout
              tests in both.
      
              * src/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
              (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
              (WebCore::GraphicsContext3DInternal::reshape):
              (WebCore::GraphicsContext3DInternal::beginPaint):
              (WebCore::GraphicsContext3DInternal::bindFramebuffer):
              (WebCore::GraphicsContext3D::readPixels):
      2010-03-17  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
              https://bugs.webkit.org/show_bug.cgi?id=36233
      
              The patch for bug 33416, which added multisampling support to the
              WebGL back buffer, uncovered some OpenGL driver bugs on the build
              bots which need further investigation to determine the appropriate
              workaround. Reverting this change, the minor build fix in 36189,
              and the skipping of the affected tests in bug 36200.
      
              Built and tested WebKit and Chromium and ran all WebGL layout
              tests in both.
      
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              (WebCore::V8HTMLCanvasElement::getContextCallback):
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/mac/Canvas3DLayer.h:
              * platform/graphics/mac/Canvas3DLayer.mm:
              (-[Canvas3DLayer drawInCGLContext:pixelFormat:forLayerTime:displayTime:]):
              * platform/graphics/mac/GraphicsContext3DMac.cpp:
              (WebCore::GraphicsContext3D::GraphicsContext3D):
              (WebCore::GraphicsContext3D::~GraphicsContext3D):
              (WebCore::GraphicsContext3D::reshape):
              (WebCore::GraphicsContext3D::bindFramebuffer):
              (WebCore::GraphicsContext3D::readPixels):
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::setContentsToGraphicsContext3D):
      2010-03-17  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Darin Fisher.
      
              Revert WebGL context attributes changes 33416 / r56074 and 36200 / r56093
              https://bugs.webkit.org/show_bug.cgi?id=36233
      
              The patch for bug 33416, which added multisampling support to the
              WebGL back buffer, uncovered some OpenGL driver bugs on the build
              bots which need further investigation to determine the appropriate
              workaround. Reverting this change, the minor build fix in 36189,
              and the skipping of the affected tests in bug 36200.
      
              Built and tested WebKit and Chromium and ran all WebGL layout
              tests in both.
      
              * fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias-expected.txt: Removed.
              * fast/canvas/webgl/context-attributes-alpha-depth-stencil-antialias.html: Removed.
              * fast/canvas/webgl/context-attributes-expected.txt:
              * fast/canvas/webgl/context-attributes.html:
              * fast/canvas/webgl/gl-get-calls-expected.txt:
              * fast/canvas/webgl/gl-get-calls.html:
              * platform/mac/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e34ffedc
  6. 16 Mar, 2010 3 commits
  7. 14 Mar, 2010 1 commit
    • yael.aharon@nokia.com's avatar
      Support for HTMLProgressElement · 93e750a0
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=35937
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      Added support for HTMLProgressElement.
      This implementation is enabled only for Qt, because only RenderThemeQt
      was modified to actually draw the progress element.
      The labels attribute of the progress element will be implemented in a
      separate patch.
      
      Tests: fast/dom/HTMLProgressElement/progress-element.html
             fast/dom/HTMLProgressElement/set-progress-properties.html
      
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::extractPseudoType):
      * css/CSSValueKeywords.in:
      * css/html.css:
      * html/HTMLElement.cpp:
      (WebCore::inlineTagList):
      * html/HTMLElementsAllInOne.cpp:
      * html/HTMLFormControlElement.cpp:
      * html/HTMLFormControlElement.h:
      * html/HTMLProgressElement.cpp: Added.
      * html/HTMLProgressElement.h: Added.
      * html/HTMLProgressElement.idl: Added.
      * html/HTMLTagNames.in:
      * page/DOMWindow.idl:
      * platform/ThemeTypes.h:
      * platform/qt/RenderThemeQt.cpp:
      * platform/qt/RenderThemeQt.h:
      * rendering/RenderObject.h:
      * rendering/RenderProgress.cpp: Added.
      * rendering/RenderProgress.h: Added.
      * rendering/RenderTheme.cpp:
      * rendering/RenderTheme.h:
      
      LayoutTests: 
      
      * fast/dom/HTMLProgressElement: Added.
      * fast/dom/HTMLProgressElement/progress-element.html: Added.
      * fast/dom/HTMLProgressElement/script-tests: Added.
      * fast/dom/HTMLProgressElement/script-tests/TEMPLATE.html: Added.
      * fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js: Added.
      * fast/dom/HTMLProgressElement/set-progress-properties.html: Added.
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/fast/dom/HTMLProgressElement: Added.
      * platform/qt/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
      * platform/qt/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
      * platform/qt/fast/dom/HTMLProgressElement/progress-element-expected.txt: Added.
      * platform/qt/fast/dom/HTMLProgressElement/set-progress-properties-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93e750a0
  8. 09 Mar, 2010 1 commit
    • rolandsteiner@chromium.org's avatar
      Bug 28293 - [Chromium] event.datatransfer.getdata("text/uri-list") is treated... · c8cdfb93
      rolandsteiner@chromium.org authored
      Bug 28293 -  [Chromium] event.datatransfer.getdata("text/uri-list") is treated the same as getdata("URL")
      https://bugs.webkit.org/show_bug.cgi?id=28293
              
      Reviewed by David Levin.
      
      WebCore: 
      
      Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
      correctly for event.dataTransfer.getData/setData. Currently both are treated
      as synonyms, but for "URL", getData is supposed to only return the first valid URL
      contained within the data for "text/uri-list" (see HTML5 spec).
      
      Tests: editing/pasteboard/dataTransfer-setData-getData.html
      
      * platform/chromium/ChromiumDataObject.cpp:
      (WebCore::ChromiumDataObject::clear):
      (WebCore::ChromiumDataObject::clearAllExceptFiles):
      (WebCore::ChromiumDataObject::hasData):
      (WebCore::ChromiumDataObject::ChromiumDataObject):
      * platform/chromium/ChromiumDataObject.h:
      (WebCore::ChromiumDataObject::clearURL):
      (WebCore::ChromiumDataObject::hasValidURL):
      (WebCore::ChromiumDataObject::getURL):
      (WebCore::ChromiumDataObject::setURL):
      * platform/chromium/ClipboardChromium.cpp:
      (WebCore::):
      (WebCore::clipboardTypeFromMIMEType):
      (WebCore::ClipboardChromium::clearData):
      (WebCore::ClipboardChromium::getData):
      (WebCore::ClipboardChromium::setData):
      (WebCore::ClipboardChromium::types):
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::asURL):
      (WebCore::DragData::canSmartReplace):
      
      WebKit/chromium: 
      
      Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
      correctly for event.dataTransfer.getData/setData. Currently both are treated
      as synonyms, but for "URL", getData is supposed to only return the first valid URL
      contained within the data for "text/uri-list" (see HTML5 spec).
      
      Tests: editing/pasteboard/dataTransfer-setData-getData.html
      
      * src/WebDragData.cpp:
      (WebKit::WebDragData::url):
      (WebKit::WebDragData::setURL):
      
      LayoutTests: 
      
      Change ChromiumDataObject such that it treats types "URL" and "text/uri-list"
      correctly for event.dataTransfer.getData/setData. Currently both are treated
      as synonyms, but for "URL", getData is supposed to only return the first valid URL
      contained within the data for "text/uri-list" (see HTML5 spec).
              
      Layout test checks various combinations in a drag-n-drop operation.
      Skipping on all other platforms since they don't implement this correctly, either.
      
      * editing/pasteboard/dataTransfer-setData-getData.html: Added.
      * editing/pasteboard/script-tests/dataTransfer-setData-getData.js: Added.
      (dragTarget):
      (moveMouseToCenterOfElement):
      (dragOntoDragTarget):
      (doDrop):
      (test):
      (runTest):
      * platform/mac/Skipped:
      * platform/gtk/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8cdfb93
  9. 08 Mar, 2010 1 commit
  10. 05 Mar, 2010 1 commit
  11. 04 Mar, 2010 1 commit
    • eric@webkit.org's avatar
      2010-03-04 Evan Stade <estade@chromium.org> · 6c5bb944
      eric@webkit.org authored
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=35261
              [skia] crash when attempting to render certain SVGs with Skia
      
              This test passes if it doesn't crash.
      
              * platform/mac/Skipped: Skip the test on Mac, where it crashes.
              * svg/custom/tiling-regular-hexagonal-crash-expected.txt: Added.
              * svg/custom/tiling-regular-hexagonal-crash.svg: Added.
      2010-03-04  Evan Stade  <estade@chromium.org>
      
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=35261
              [skia] crash when attempting to render certain SVGs
      
              This fixes the crash, but the SVG still doesn't render properly.
      
              Test: svg/custom/tiling-regular-hexagonal-crash.svg
      
              * platform/graphics/skia/ImageSkia.cpp:
              (WebCore::BitmapImageSingleFrameSkia::create): don't return 0 when
              the copy fails; instead return a blank bitmap. The caller doesn't
              check for 0 before dereferencing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c5bb944
  12. 17 Feb, 2010 1 commit
  13. 12 Feb, 2010 1 commit
    • eric@webkit.org's avatar
      2010-02-12 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> · 32246d3e
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Support frameset flattening
              https://bugs.webkit.org/show_bug.cgi?id=32717
      
              Add expected results of the FrameSet Flattening tests.
      
              * platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Added.
              * platform/mac/Skipped:
      2010-02-12  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Support frameset flattening
              https://bugs.webkit.org/show_bug.cgi?id=32717
      
              Add FrameSet Flattening support to Mac DRT.
      
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setFrameSetFlatteningEnabled):
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setXSSAuditorEnabled):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setFrameSetFlatteningEnabled):
              * DumpRenderTree/LayoutTestController.cpp:
              (setFrameSetFlatteningEnabledCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setFrameSetFlatteningEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32246d3e
  14. 10 Feb, 2010 2 commits
    • ossy@webkit.org's avatar
      Unreviewed. Roll out r54626, because it broke GTK and Win build. · 7821b0b0
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32717
      
      WebKitTools: 
      
      * DumpRenderTree/LayoutTestController.cpp:
      (LayoutTestController::staticFunctions):
      * DumpRenderTree/LayoutTestController.h:
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      
      LayoutTests: 
      
      * platform/mac/Skipped:
      * platform/mac/fast/frames/flattening: Removed.
      * platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Removed.
      * platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt: Removed.
      * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt: Removed.
      * platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Removed.
      * platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7821b0b0
    • eric@webkit.org's avatar
      2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> · efce4a82
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Support frameset flattening
              https://bugs.webkit.org/show_bug.cgi?id=32717
      
              Add expected results of the FrameSet Flattening tests.
      
              * platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Added.
              * platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Added.
              * platform/mac/Skipped:
      2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Support frameset flattening
              https://bugs.webkit.org/show_bug.cgi?id=32717
      
              Add FrameSet Flattening support to Mac DRT.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setFrameSetFlatteningEnabledCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setFrameSetFlatteningEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efce4a82
  15. 09 Feb, 2010 1 commit
  16. 05 Feb, 2010 1 commit
    • kenneth@webkit.org's avatar
      Implement flattening of framesets · 7889ba28
      kenneth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32717
      
      Reviewed by Dave Hyatt.
      
      WebCore:
      
      The following patch, builds ontop of Antti Koivisto's frameset
      flattening code from the iPhone source, which itself is based on
      the old Nokia Series 60 source.
      
      Layout tests have been added to test the functionality and the original
      code which has then been fixed to make these pass, as well as support
      frameset grids.
      
      Tests: fast/frames/flattening/frameset-flattening-advanced.html
             fast/frames/flattening/frameset-flattening-grid.html
             fast/frames/flattening/frameset-flattening-simple.html
             fast/frames/flattening/frameset-flattening-subframe-resize.html
             fast/frames/flattening/frameset-flattening-subframesets.html
      
      * page/FrameView.cpp:
      (WebCore::FrameView::layout):
      (WebCore::FrameView::scheduleRelayout):
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      (WebCore::Settings::setFrameSetFlatteningEnabled):
      * page/Settings.h:
      (WebCore::Settings::frameSetFlatteningEnabled):
      * rendering/RenderFrame.cpp:
      (WebCore::RenderFrame::layoutWithFlattening):
      * rendering/RenderFrame.h:
      * rendering/RenderFrameSet.cpp:
      (WebCore::RenderFrameSet::layout):
      (WebCore::RenderFrameSet::positionFramesWithFlattening):
      (WebCore::RenderFrameSet::flattenFrameSet):
      (WebCore::RenderFrameSet::userResize):
      * rendering/RenderFrameSet.h:
      
      WebKit/qt:
      
      Privately export the setFrameSetFlatteningEnabled setting for
      use with the Qt DRT.
      
      * Api/qwebpage.cpp:
      (qt_drt_setFrameSetFlatteningEnabled):
      (QWebPagePrivate::core):
      * Api/qwebpage_p.h:
      
      WebKitTools:
      
      Add support for testing frame flattening with the Qt DRT
      
      * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
      (LayoutTestController::setFrameSetFlatteningEnabled):
      * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      LayoutTests:
      
      Frameset flattening layout test, plus expected result for Qt.
      
      * fast/frames/flattening/frameset-flattening-advanced.html: Added.
      * fast/frames/flattening/frameset-flattening-grid.html: Added.
      * fast/frames/flattening/frameset-flattening-simple.html: Added.
      * fast/frames/flattening/frameset-flattening-subframe-resize.html: Added.
      * fast/frames/flattening/frameset-flattening-subframesets.html: Added.
      * fast/frames/flattening/resources/frameset-flattening-subframe-resize.html: Added.
      * platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Added.
      * platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.txt: Added.
      * platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.txt: Added.
      * platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Added.
      * platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7889ba28
  17. 01 Feb, 2010 1 commit
    • hamaji@chromium.org's avatar
      2010-02-01 Shinichiro Hamaji <hamaji@chromium.org> · 1adb83a4
      hamaji@chromium.org authored
              Reviewed by Eric Seidel.
      
              Provide a way to get page number with layoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=33840
      
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
              * printing/page-break-always-expected.txt: Added.
              * printing/page-break-always.html: Added.
              * printing/pageNumerForElementById-expected.txt: Added.
              * printing/pageNumerForElementById.html: Added.
              * printing/script-tests/TEMPLATE.html: Added.
              * printing/script-tests/page-break-always.js: Added.
              (createParagraph):
              * printing/script-tests/pageNumerForElementById.js: Added.
              (createParagraph):
      2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Provide a way to get page number with layoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=33840
      
              Test: printing/page-break-always.html
      
              * WebCore.base.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * page/PrintContext.cpp:
              (WebCore::PrintContext::pageRect): Added a getter function.
              (WebCore::PrintContext::computePageRects): Move its logic into computePageRectsWithPageSize.
              (WebCore::PrintContext::computePageRectsWithPageSize): Factored out from computePageRects for pageNumberForElement.
              (WebCore::enclosingBoxModelObject): Added for pageNumberForElement.
              (WebCore::PrintContext::pageNumberForElement): Added for testing.
              * page/PrintContext.h:
      2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Provide a way to get page number with layoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=33840
      
              * Misc/WebCoreStatistics.h:
              * Misc/WebCoreStatistics.mm:
              (-[WebFrame pageNumberForElement:element:pageWidth:]):
      2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Provide a way to get page number with layoutTestController
              https://bugs.webkit.org/show_bug.cgi?id=33840
      
              * DumpRenderTree/LayoutTestController.cpp:
              (pageNumberForElementByIdCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::pageNumberForElementById):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::pageNumberForElementById):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::pageNumberForElementById):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1adb83a4
  18. 29 Jan, 2010 1 commit
  19. 28 Jan, 2010 1 commit
  20. 27 Jan, 2010 1 commit
    • 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
  21. 22 Jan, 2010 3 commits
  22. 21 Jan, 2010 1 commit
  23. 20 Jan, 2010 1 commit
  24. 13 Jan, 2010 3 commits
    • ukai@chromium.org's avatar
      2010-01-13 Fumitoshi Ukai <ukai@chromium.org> · e4479111
      ukai@chromium.org authored
              Unreviewed.
      
              Enable websocket/tests/workers/worker-simple.html again.
      
              * platform/mac/Skipped: rm websocket/tests/workers/worker-simple.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4479111
    • jhoneycutt@apple.com's avatar
      MSAA: selected, selectable, extended selectable, and multiple · 8acea080
      jhoneycutt@apple.com authored
      selectable states are not reported
      
      https://bugs.webkit.org/show_bug.cgi?id=33574
      <rdar://problem/7536826>
      
      Reviewed by Darin Adler.
      
      WebCore:
      
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::isMultiSelectable):
      Use the correct function name - the function name overriden by
      and used in AccessiblityRenderObject.
      
      * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
      (setAtkStateSetFromCoreObject):
      Update for function rename.
      (webkit_accessible_selection_select_all_selection):
      Ditto.
      
      WebKit/chromium:
      
      * public/WebAccessibilityObject.h:
      Update for WebCore::AccessibilityObject function rename.
      
      * src/WebAccessibilityObject.cpp:
      (WebKit::WebAccessibilityObject::isMultiSelectable):
      Ditto.
      
      WebKit/win:
      
      * AccessibleBase.cpp:
      (AccessibleBase::get_accState):
      Remove the call to isMultiSelect(). Call the correctly-named
      isMultiSelectable(), and if it returns true, set both the "extended
      selectable" and "multiple selectable" states. Check whether the object
      is selected or selectable, and report those states.
      
      WebKitTools:
      
      * DumpRenderTree/AccessibilityUIElement.cpp:
      (getIsSelectableCallback):
      Return the result of calling isSelectable().
      (getIsMultiSelectableCallback):
      Return the result of calling isMultiSelectable().
      (AccessibilityUIElement::getJSClass):
      Add isSelected and isMultiSelectable properties to the JSClass
      definition.
      
      * DumpRenderTree/AccessibilityUIElement.h:
      Declare isSelectable() and isMultiSelectable().
      
      * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
      (AccessibilityUIElement::isSelectable):
      Stubbed.
      (AccessibilityUIElement::isMultiSelectable):
      Stubbed.
      
      * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
      (AccessibilityUIElement::isSelectable):
      Stubbed.
      (AccessibilityUIElement::isMultiSelectable):
      Stubbed.
      
      * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
      (accessibilityState):
      Get the object's state, and return it.
      (AccessibilityUIElement::isSelected):
      Check the object's selected state.
      (AccessibilityUIElement::isSelectable):
      Check the object's selectable state.
      (AccessibilityUIElement::isMultiSelectable):
      Check the object's extended/multiple selectable state.
      
      LayoutTests:
      
      * accessibility/selection-states-expected.txt: Added.
      
      * accessibility/selection-states.html: Added.
      
      * platform/gtk/Skipped:
      Add new test to skipped list due to stubbed AccessibilityUIElement
      functions.
      
      * platform/mac/Skipped:
      Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8acea080
    • ukai@chromium.org's avatar
      2010-01-13 Fumitoshi Ukai <ukai@chromium.org> · 01ef650f
      ukai@chromium.org authored
              Unreviewed.
      
              Add websocket/tests/workers/worker-simple.html, because it starts
              crash after r53174
      
              * platform/mac/Skipped: Add websocket/tests/workers/worker-simple.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01ef650f
  25. 12 Jan, 2010 1 commit
  26. 11 Jan, 2010 1 commit
  27. 08 Jan, 2010 5 commits
  28. 07 Jan, 2010 1 commit