WebKit-https.git
12 years ago2009-09-19 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 19 Sep 2009 17:17:20 +0000 (17:17 +0000)]
2009-09-19  Adam Barth  <abarth@webkit.org>

        Reviewed by Oliver Hunt.

        Canvas drawn with data URL image raises SECURITY_ERR when toDataUrl() called.
        https://bugs.webkit.org/show_bug.cgi?id=29305

        Test that drawing a data URL image onto a canvas behaves as expected.
        Note the tricky case involving a data URL SVG image with an embedded
        remote image.

        Also, test that document.domain state doesn't affect canvas taint
        state.

        * http/tests/security/canvas-remote-read-data-url-image-expected.txt: Added.
        * http/tests/security/canvas-remote-read-data-url-image.html: Added.
        * http/tests/security/canvas-remote-read-data-url-svg-image-expected.txt: Added.
        * http/tests/security/canvas-remote-read-data-url-svg-image.html: Added.
        * http/tests/security/canvas-remote-read-remote-image-document-domain-expected.txt: Added.
        * http/tests/security/canvas-remote-read-remote-image-document-domain.html: Added.
2009-09-19  Adam Barth  <abarth@webkit.org>

        Reviewed by Oliver Hunt.

        Canvas drawn with data URL image raises SECURITY_ERR when toDataUrl() called.
        https://bugs.webkit.org/show_bug.cgi?id=29305

        We need to special-case data URLs when tainting a canvas because we
        treat data URLs has having no security origin, unlike other
        browsers.  The reason we do this is to help sites avoid XSS via data
        URLs, but that consideration doesn't apply to canvas taint.

        Also, we were previously incorrectly taking document.domain state
        into account when tainting canvas.

        Tests: http/tests/security/canvas-remote-read-data-url-image.html
               http/tests/security/canvas-remote-read-data-url-svg-image.html
               http/tests/security/canvas-remote-read-remote-image-document-domain.html

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::checkOrigin):
        (WebCore::CanvasRenderingContext2D::createPattern):
        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::taintsCanvas):
        * page/SecurityOrigin.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48556 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWindows build fix part 1
oliver@apple.com [Sat, 19 Sep 2009 17:09:28 +0000 (17:09 +0000)]
Windows build fix part 1

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48555 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 09:46:09 +0000 (09:46 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for svg directory.

        * svg/custom/SVGException.html:
        * svg/custom/getSubStringLength.html:
        * svg/custom/immutable-properties.html:
        * svg/custom/resources/SVGException.js: Removed.
        * svg/custom/resources/TEMPLATE.html: Removed.
        * svg/custom/resources/getSubStringLength.js: Removed.
        * svg/custom/resources/immutable-properties.js: Removed.
        * svg/custom/resources/selectSubString.js: Removed.
        * svg/custom/resources/svg-fonts-in-text-controls.js: Removed.
        * svg/custom/resources/svg-modify-currentTranslate.js: Removed.
        * svg/custom/resources/svg-xml-dom-sync.js: Removed.
        * svg/custom/resources/tearoffs-with-tearoffs.js: Removed.
        * svg/custom/script-tests: Added.
        * svg/custom/script-tests/SVGException.js: Copied from LayoutTests/svg/custom/resources/SVGException.js.
        * svg/custom/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/custom/resources/TEMPLATE.html.
        * svg/custom/script-tests/getSubStringLength.js: Copied from LayoutTests/svg/custom/resources/getSubStringLength.js.
        * svg/custom/script-tests/immutable-properties.js: Copied from LayoutTests/svg/custom/resources/immutable-properties.js.
        * svg/custom/script-tests/selectSubString.js: Copied from LayoutTests/svg/custom/resources/selectSubString.js.
        * svg/custom/script-tests/svg-fonts-in-text-controls.js: Copied from LayoutTests/svg/custom/resources/svg-fonts-in-text-controls.js.
        * svg/custom/script-tests/svg-modify-currentTranslate.js: Copied from LayoutTests/svg/custom/resources/svg-modify-currentTranslate.js.
        * svg/custom/script-tests/svg-xml-dom-sync.js: Copied from LayoutTests/svg/custom/resources/svg-xml-dom-sync.js.
        * svg/custom/script-tests/tearoffs-with-tearoffs.js: Copied from LayoutTests/svg/custom/resources/tearoffs-with-tearoffs.js.
        * svg/custom/selectSubString.html:
        * svg/custom/svg-fonts-in-text-controls.html:
        * svg/custom/svg-modify-currentTranslate.html:
        * svg/custom/svg-xml-dom-sync.html:
        * svg/custom/tearoffs-with-tearoffs.html:
        * svg/dom/SVGStyleElement/resources/TEMPLATE.html: Removed.
        * svg/dom/SVGStyleElement/resources/style-langspace.js: Removed.
        * svg/dom/SVGStyleElement/script-tests: Added.
        * svg/dom/SVGStyleElement/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/dom/SVGStyleElement/resources/TEMPLATE.html.
        * svg/dom/SVGStyleElement/script-tests/style-langspace.js: Copied from LayoutTests/svg/dom/SVGStyleElement/resources/style-langspace.js.
        * svg/dom/SVGStyleElement/style-langspace.html:
        * svg/dom/path-parser.html:
        * svg/dom/path-segments.html:
        * svg/dom/resources/TEMPLATE.html: Removed.
        * svg/dom/resources/path-parser.js: Removed.
        * svg/dom/resources/path-segments.js: Removed.
        * svg/dom/resources/style-reflect.js: Removed.
        * svg/dom/resources/text-rotate-live.js: Removed.
        * svg/dom/script-tests: Added.
        * svg/dom/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/dom/resources/TEMPLATE.html.
        * svg/dom/script-tests/path-parser.js: Copied from LayoutTests/svg/dom/resources/path-parser.js.
        * svg/dom/script-tests/path-segments.js: Copied from LayoutTests/svg/dom/resources/path-segments.js.
        * svg/dom/script-tests/style-reflect.js: Copied from LayoutTests/svg/dom/resources/style-reflect.js.
        * svg/dom/script-tests/text-rotate-live.js: Copied from LayoutTests/svg/dom/resources/text-rotate-live.js.
        * svg/dom/style-reflect.html:
        * svg/dom/text-rotate-live.html:
        * svg/dynamic-updates/SVGAElement-dom-href-attr.html:
        * svg/dynamic-updates/SVGAElement-dom-target-attr.html:
        * svg/dynamic-updates/SVGAElement-svgdom-href-prop.html:
        * svg/dynamic-updates/SVGAElement-svgdom-target-prop.html:
        * svg/dynamic-updates/SVGCircleElement-dom-cx-attr.html:
        * svg/dynamic-updates/SVGCircleElement-dom-cy-attr.html:
        * svg/dynamic-updates/SVGCircleElement-dom-r-attr.html:
        * svg/dynamic-updates/SVGCircleElement-svgdom-cx-prop.html:
        * svg/dynamic-updates/SVGCircleElement-svgdom-cy-prop.html:
        * svg/dynamic-updates/SVGCircleElement-svgdom-r-prop.html:
        * svg/dynamic-updates/SVGClipPathElement-dom-clipPathUnits-attr.html:
        * svg/dynamic-updates/SVGClipPathElement-svgdom-clipPathUnits-prop.html:
        * svg/dynamic-updates/SVGCursorElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGCursorElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGCursorElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGCursorElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-cx-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-cy-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-rx-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-dom-ry-attr.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-cx-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-cy-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-rx-prop.html:
        * svg/dynamic-updates/SVGEllipseElement-svgdom-ry-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGImageElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGImageElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGImageElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGLineElement-dom-x1-attr.html:
        * svg/dynamic-updates/SVGLineElement-dom-x2-attr.html:
        * svg/dynamic-updates/SVGLineElement-dom-y1-attr.html:
        * svg/dynamic-updates/SVGLineElement-dom-y2-attr.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-x1-prop.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-x2-prop.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-y1-prop.html:
        * svg/dynamic-updates/SVGLineElement-svgdom-y2-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-gradientTransform-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-gradientUnits-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-x1-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-x2-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-y1-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-dom-y2-attr.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientUnits-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-x1-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-x2-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-y1-prop.html:
        * svg/dynamic-updates/SVGLinearGradientElement-svgdom-y2-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-markerHeight-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-markerUnits-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-markerWidth-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-orient-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-refX-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-dom-refY-attr.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-markerHeight-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-markerUnits-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-markerWidth-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-orientAngle-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-orientType-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call.html:
        * svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call.html:
        * svg/dynamic-updates/SVGMaskElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-maskContentUnits-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-maskUnits-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGMaskElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-maskContentUnits-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-maskUnits-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGMaskElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGPatternElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-patternTransform-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-patternUnits-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGPatternElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-patternUnits-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGPatternElement-svgdom-y-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-cx-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-cy-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-fx-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-fy-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-gradientTransform-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-gradientUnits-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-dom-r-attr.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-cx-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-cy-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-fx-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-fy-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientUnits-prop.html:
        * svg/dynamic-updates/SVGRadialGradientElement-svgdom-r-prop.html:
        * svg/dynamic-updates/SVGRectElement-dom-height-attr.html:
        * svg/dynamic-updates/SVGRectElement-dom-width-attr.html:
        * svg/dynamic-updates/SVGRectElement-dom-x-attr.html:
        * svg/dynamic-updates/SVGRectElement-dom-y-attr.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-height-prop.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-width-prop.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-x-prop.html:
        * svg/dynamic-updates/SVGRectElement-svgdom-y-prop.html:
        * svg/dynamic-updates/resources/SVGAElement-dom-href-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGAElement-dom-target-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGAElement-svgdom-href-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGAElement-svgdom-target-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-dom-cx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-dom-cy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-dom-r-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-svgdom-cx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-svgdom-cy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCircleElement-svgdom-r-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGClipPathElement-dom-clipPathUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGClipPathElement-svgdom-clipPathUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGCursorElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-cx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-cy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-rx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-dom-ry-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-rx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGEllipseElement-svgdom-ry-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-preserveAspectRatio-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-preserveAspectRatio-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGImageElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-x1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-x2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-y1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-dom-y2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-x1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-x2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-y1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLineElement-svgdom-y2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientTransform-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y1-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y2-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientTransform-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y1-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y2-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-markerHeight-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-markerUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-markerWidth-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-orient-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-refX-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-dom-refY-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerHeight-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerWidth-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientAngle-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientType-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refX-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refY-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAngle-call.js: Removed.
        * svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAuto-call.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-maskContentUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-maskUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskContentUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGMaskElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-patternContentUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-patternTransform-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-patternUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternContentUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternTransform-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGPatternElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fx-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fy-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientTransform-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientUnits-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-dom-r-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fx-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fy-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientTransform-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientUnits-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-r-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-height-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-width-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-x-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-dom-y-attr.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-height-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-width-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-x-prop.js: Removed.
        * svg/dynamic-updates/resources/SVGRectElement-svgdom-y-prop.js: Removed.
        * svg/dynamic-updates/resources/TEMPLATE.html: Removed.
        * svg/dynamic-updates/script-tests: Added.
        * svg/dynamic-updates/script-tests/SVGAElement-dom-href-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-dom-href-attr.js.
        * svg/dynamic-updates/script-tests/SVGAElement-dom-target-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-dom-target-attr.js.
        * svg/dynamic-updates/script-tests/SVGAElement-svgdom-href-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-svgdom-href-prop.js.
        * svg/dynamic-updates/script-tests/SVGAElement-svgdom-target-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGAElement-svgdom-target-prop.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-dom-cx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-dom-cx-attr.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-dom-cy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-dom-cy-attr.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-dom-r-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-dom-r-attr.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-svgdom-cx-prop.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-cy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-svgdom-cy-prop.js.
        * svg/dynamic-updates/script-tests/SVGCircleElement-svgdom-r-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCircleElement-svgdom-r-prop.js.
        * svg/dynamic-updates/script-tests/SVGClipPathElement-dom-clipPathUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGClipPathElement-dom-clipPathUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGClipPathElement-svgdom-clipPathUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGClipPathElement-svgdom-clipPathUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGCursorElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGCursorElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-cx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-cx-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-cy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-cy-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-rx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-rx-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-dom-ry-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-dom-ry-attr.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cx-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-cy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-cy-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-rx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-rx-prop.js.
        * svg/dynamic-updates/script-tests/SVGEllipseElement-svgdom-ry-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGEllipseElement-svgdom-ry-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGForeignObjectElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGForeignObjectElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-preserveAspectRatio-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-preserveAspectRatio-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-preserveAspectRatio-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-preserveAspectRatio-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGImageElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGImageElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-x1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-x1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-x2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-x2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-y1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-y1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-dom-y2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-dom-y2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-x1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-x1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-x2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-x2-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-y1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-y1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-y2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLineElement-svgdom-y2-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-gradientTransform-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientTransform-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-gradientUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-gradientUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-x1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-x2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-x2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-y1-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y1-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-dom-y2-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-dom-y2-attr.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-gradientTransform-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientTransform-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-gradientUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-gradientUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-x1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-x2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-x2-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-y1-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y1-prop.js.
        * svg/dynamic-updates/script-tests/SVGLinearGradientElement-svgdom-y2-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGLinearGradientElement-svgdom-y2-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-markerHeight-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-markerHeight-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-markerUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-markerUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-markerWidth-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-markerWidth-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-orient-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-orient-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-refX-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-refX-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-dom-refY-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-dom-refY-attr.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-markerHeight-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerHeight-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-markerUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-markerWidth-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-markerWidth-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-orientAngle-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientAngle-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-orientType-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-orientType-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-refX-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refX-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-refY-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-refY-prop.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-setOrientToAngle-call.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAngle-call.js.
        * svg/dynamic-updates/script-tests/SVGMarkerElement-svgdom-setOrientToAuto-call.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMarkerElement-svgdom-setOrientToAuto-call.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-maskContentUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-maskContentUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-maskUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-maskUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-maskContentUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskContentUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-maskUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-maskUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGMaskElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGMaskElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-patternContentUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-patternContentUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-patternTransform-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-patternTransform-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-patternUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-patternUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-patternContentUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternContentUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-patternTransform-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternTransform-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-patternUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-patternUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGPatternElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGPatternElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-cx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cx-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-cy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-cy-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-fx-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fx-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-fy-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-fy-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-gradientTransform-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientTransform-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-gradientUnits-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-gradientUnits-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-dom-r-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-dom-r-attr.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-cx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cx-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-cy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-cy-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-fx-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fx-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-fy-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-fy-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-gradientTransform-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientTransform-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-gradientUnits-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-gradientUnits-prop.js.
        * svg/dynamic-updates/script-tests/SVGRadialGradientElement-svgdom-r-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRadialGradientElement-svgdom-r-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-height-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-height-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-width-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-width-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-x-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-x-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-dom-y-attr.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-dom-y-attr.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-height-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-height-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-width-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-width-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-x-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-x-prop.js.
        * svg/dynamic-updates/script-tests/SVGRectElement-svgdom-y-prop.js: Copied from LayoutTests/svg/dynamic-updates/resources/SVGRectElement-svgdom-y-prop.js.
        * svg/dynamic-updates/script-tests/TEMPLATE.html: Copied from LayoutTests/svg/dynamic-updates/resources/TEMPLATE.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48554 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 09:35:47 +0000 (09:35 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for http, platform, plugins, traversal, and wml directories.

        * http/tests/cookies/double-quoted-value-with-semi-colon.html:
        * http/tests/cookies/multiple-cookies.html:
        * http/tests/cookies/resources/TEMPLATE.html: Removed.
        * http/tests/cookies/resources/double-quoted-value-with-semi-colon.js: Removed.
        * http/tests/cookies/resources/multiple-cookies.js: Removed.
        * http/tests/cookies/resources/simple-cookies-expired.js: Removed.
        * http/tests/cookies/resources/simple-cookies-max-age.js: Removed.
        * http/tests/cookies/script-tests: Added.
        * http/tests/cookies/script-tests/TEMPLATE.html: Copied from LayoutTests/http/tests/cookies/resources/TEMPLATE.html.
        * http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js: Copied from LayoutTests/http/tests/cookies/resources/double-quoted-value-with-semi-colon.js.
        * http/tests/cookies/script-tests/multiple-cookies.js: Copied from LayoutTests/http/tests/cookies/resources/multiple-cookies.js.
        * http/tests/cookies/script-tests/simple-cookies-expired.js: Copied from LayoutTests/http/tests/cookies/resources/simple-cookies-expired.js.
        * http/tests/cookies/script-tests/simple-cookies-max-age.js: Copied from LayoutTests/http/tests/cookies/resources/simple-cookies-max-age.js.
        * http/tests/cookies/simple-cookies-expired.html:
        * http/tests/cookies/simple-cookies-max-age.html:
        * http/tests/security/clipboard/clipboard-file-access.html:
        * http/tests/security/clipboard/resources/TEMPLATE.html: Removed.
        * http/tests/security/clipboard/resources/clipboard-file-access.js: Removed.
        * http/tests/security/clipboard/script-tests: Added.
        * http/tests/security/clipboard/script-tests/TEMPLATE.html: Copied from LayoutTests/http/tests/security/clipboard/resources/TEMPLATE.html.
        * http/tests/security/clipboard/script-tests/clipboard-file-access.js: Copied from LayoutTests/http/tests/security/clipboard/resources/clipboard-file-access.js.
        * http/tests/wml/access-target-domain-deny.html:
        * http/tests/wml/access-target-path-deny.html:
        * http/tests/wml/access-target.html:
        * http/tests/wml/go-task-get-method-accept-charset.html:
        * http/tests/wml/go-task-get-method.html:
        * http/tests/wml/go-task-post-method-accept-charset.html:
        * http/tests/wml/go-task-post-method.html:
        * http/tests/wml/post-data-to-server.html:
        * http/tests/wml/resources/TEMPLATE.html: Removed.
        * http/tests/wml/resources/access-target-domain-deny.js: Removed.
        * http/tests/wml/resources/access-target-path-deny.js: Removed.
        * http/tests/wml/resources/access-target.js: Removed.
        * http/tests/wml/resources/go-task-get-method-accept-charset.js: Removed.
        * http/tests/wml/resources/go-task-get-method.js: Removed.
        * http/tests/wml/resources/go-task-post-method-accept-charset.js: Removed.
        * http/tests/wml/resources/go-task-post-method.js: Removed.
        * http/tests/wml/resources/post-data-to-server.js: Removed.
        * http/tests/wml/script-tests: Added.
        * http/tests/wml/script-tests/TEMPLATE.html: Copied from LayoutTests/http/tests/wml/resources/TEMPLATE.html.
        * http/tests/wml/script-tests/access-target-domain-deny.js: Copied from LayoutTests/http/tests/wml/resources/access-target-domain-deny.js.
        * http/tests/wml/script-tests/access-target-path-deny.js: Copied from LayoutTests/http/tests/wml/resources/access-target-path-deny.js.
        * http/tests/wml/script-tests/access-target.js: Copied from LayoutTests/http/tests/wml/resources/access-target.js.
        * http/tests/wml/script-tests/go-task-get-method-accept-charset.js: Copied from LayoutTests/http/tests/wml/resources/go-task-get-method-accept-charset.js.
        * http/tests/wml/script-tests/go-task-get-method.js: Copied from LayoutTests/http/tests/wml/resources/go-task-get-method.js.
        * http/tests/wml/script-tests/go-task-post-method-accept-charset.js: Copied from LayoutTests/http/tests/wml/resources/go-task-post-method-accept-charset.js.
        * http/tests/wml/script-tests/go-task-post-method.js: Copied from LayoutTests/http/tests/wml/resources/go-task-post-method.js.
        * http/tests/wml/script-tests/post-data-to-server.js: Copied from LayoutTests/http/tests/wml/resources/post-data-to-server.js.
        * platform/gtk/editing/pasteboard/resources/TEMPLATE.html: Removed.
        * platform/gtk/editing/pasteboard/resources/middle-click-onpaste.js: Removed.
        * platform/gtk/editing/pasteboard/script-tests: Added.
        * platform/gtk/editing/pasteboard/script-tests/TEMPLATE.html: Copied from LayoutTests/platform/gtk/editing/pasteboard/resources/TEMPLATE.html.
        * platform/gtk/editing/pasteboard/script-tests/middle-click-onpaste.js: Copied from LayoutTests/platform/gtk/editing/pasteboard/resources/middle-click-onpaste.js.
        * platform/win/fast/events/context-click-events.html:
        * platform/win/fast/events/resources/TEMPLATE.html: Removed.
        * platform/win/fast/events/resources/context-click-events.js: Removed.
        * platform/win/fast/events/script-tests: Added.
        * platform/win/fast/events/script-tests/TEMPLATE.html: Copied from LayoutTests/platform/win/fast/events/resources/TEMPLATE.html.
        * platform/win/fast/events/script-tests/context-click-events.js: Copied from LayoutTests/platform/win/fast/events/resources/context-click-events.js.
        * plugins/netscape-identifier-conversion.html:
        * plugins/resources/TEMPLATE.html: Removed.
        * plugins/resources/netscape-identifier-conversion.js: Removed.
        * plugins/script-tests: Added.
        * plugins/script-tests/TEMPLATE.html: Copied from LayoutTests/plugins/resources/TEMPLATE.html.
        * plugins/script-tests/netscape-identifier-conversion.js: Copied from LayoutTests/plugins/resources/netscape-identifier-conversion.js.
        * traversal/acid3-test-2.html:
        * traversal/exception-forwarding.html:
        * traversal/resources/TEMPLATE.html: Removed.
        * traversal/resources/acid3-test-2.js: Removed.
        * traversal/resources/exception-forwarding.js: Removed.
        * traversal/script-tests: Added.
        * traversal/script-tests/TEMPLATE.html: Copied from LayoutTests/traversal/resources/TEMPLATE.html.
        * traversal/script-tests/acid3-test-2.js: Copied from LayoutTests/traversal/resources/acid3-test-2.js.
        * traversal/script-tests/exception-forwarding.js: Copied from LayoutTests/traversal/resources/exception-forwarding.js.
        * wml/access-target-deny.html:
        * wml/access-target.html:
        * wml/enter-card-with-events.html:
        * wml/enter-first-card-with-events.html:
        * wml/go-task-get-method-external-deck-with-href.html:
        * wml/go-task-get-method-external-deck.html:
        * wml/go-task-get-method-same-deck.html:
        * wml/input-format.html:
        * wml/newcontext-same-deck.html:
        * wml/onenterforward-event.html:
        * wml/onenterforward-inline-event.html:
        * wml/ontimer-event.html:
        * wml/ontimer-inline-event.html:
        * wml/option-element-onpick-recursion.html:
        * wml/option-element-onpick.html:
        * wml/resources/TEMPLATE.html: Removed.
        * wml/resources/access-target-deny.js: Removed.
        * wml/resources/access-target.js: Removed.
        * wml/resources/enter-card-with-events.js: Removed.
        * wml/resources/enter-first-card-with-events.js: Removed.
        * wml/resources/go-task-get-method-external-deck-with-href.js: Removed.
        * wml/resources/go-task-get-method-external-deck.js: Removed.
        * wml/resources/go-task-get-method-same-deck.js: Removed.
        * wml/resources/input-format.js: Removed.
        * wml/resources/newcontext-same-deck.js: Removed.
        * wml/resources/onenterforward-event.js: Removed.
        * wml/resources/onenterforward-inline-event.js: Removed.
        * wml/resources/ontimer-event.js: Removed.
        * wml/resources/ontimer-inline-event.js: Removed.
        * wml/resources/option-element-onpick-recursion.js: Removed.
        * wml/resources/option-element-onpick.js: Removed.
        * wml/resources/select-element-variables.js: Removed.
        * wml/resources/variable-reference-invalid-character.js: Removed.
        * wml/resources/variable-reference-valid.js: Removed.
        * wml/script-tests: Added.
        * wml/script-tests/TEMPLATE.html: Copied from LayoutTests/wml/resources/TEMPLATE.html.
        * wml/script-tests/access-target-deny.js: Copied from LayoutTests/wml/resources/access-target-deny.js.
        * wml/script-tests/access-target.js: Copied from LayoutTests/wml/resources/access-target.js.
        * wml/script-tests/enter-card-with-events.js: Copied from LayoutTests/wml/resources/enter-card-with-events.js.
        * wml/script-tests/enter-first-card-with-events.js: Copied from LayoutTests/wml/resources/enter-first-card-with-events.js.
        * wml/script-tests/go-task-get-method-external-deck-with-href.js: Copied from LayoutTests/wml/resources/go-task-get-method-external-deck-with-href.js.
        * wml/script-tests/go-task-get-method-external-deck.js: Copied from LayoutTests/wml/resources/go-task-get-method-external-deck.js.
        * wml/script-tests/go-task-get-method-same-deck.js: Copied from LayoutTests/wml/resources/go-task-get-method-same-deck.js.
        * wml/script-tests/input-format.js: Copied from LayoutTests/wml/resources/input-format.js.
        * wml/script-tests/newcontext-same-deck.js: Copied from LayoutTests/wml/resources/newcontext-same-deck.js.
        * wml/script-tests/onenterforward-event.js: Copied from LayoutTests/wml/resources/onenterforward-event.js.
        * wml/script-tests/onenterforward-inline-event.js: Copied from LayoutTests/wml/resources/onenterforward-inline-event.js.
        * wml/script-tests/ontimer-event.js: Copied from LayoutTests/wml/resources/ontimer-event.js.
        * wml/script-tests/ontimer-inline-event.js: Copied from LayoutTests/wml/resources/ontimer-inline-event.js.
        * wml/script-tests/option-element-onpick-recursion.js: Copied from LayoutTests/wml/resources/option-element-onpick-recursion.js.
        * wml/script-tests/option-element-onpick.js: Copied from LayoutTests/wml/resources/option-element-onpick.js.
        * wml/script-tests/select-element-variables.js: Copied from LayoutTests/wml/resources/select-element-variables.js.
        * wml/script-tests/variable-reference-invalid-character.js: Copied from LayoutTests/wml/resources/variable-reference-invalid-character.js.
        * wml/script-tests/variable-reference-valid.js: Copied from LayoutTests/wml/resources/variable-reference-valid.js.
        * wml/select-element-variables.html:
        * wml/variable-reference-invalid-character.html:
        * wml/variable-reference-valid.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48553 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 08:49:05 +0000 (08:49 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for fast/* directories except fast js directory.

        * fast/events/blur-focus-window-should-blur-focus-element.html:
        * fast/events/create-document-crash-on-attach-event.html:
        * fast/events/event-function-toString.html:
        * fast/events/event-instanceof.html:
        * fast/events/event-listener-sharing.html:
        * fast/events/init-events.html:
        * fast/events/mouse-click-events.html:
        * fast/events/resources/TEMPLATE.html: Removed.
        * fast/events/resources/blur-focus-window-should-blur-focus-element.js: Removed.
        * fast/events/resources/create-document-crash-on-attach-event.js: Removed.
        * fast/events/resources/event-function-toString.js: Removed.
        * fast/events/resources/event-instanceof.js: Removed.
        * fast/events/resources/event-listener-sharing.js: Removed.
        * fast/events/resources/init-events.js: Removed.
        * fast/events/resources/mouse-click-events.js: Removed.
        * fast/events/resources/tab-is-focusable-assert.js: Removed.
        * fast/events/script-tests: Added.
        * fast/events/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/events/resources/TEMPLATE.html.
        * fast/events/script-tests/blur-focus-window-should-blur-focus-element.js: Copied from LayoutTests/fast/events/resources/blur-focus-window-should-blur-focus-element.js.
        * fast/events/script-tests/create-document-crash-on-attach-event.js: Copied from LayoutTests/fast/events/resources/create-document-crash-on-attach-event.js.
        * fast/events/script-tests/event-function-toString.js: Copied from LayoutTests/fast/events/resources/event-function-toString.js.
        * fast/events/script-tests/event-instanceof.js: Copied from LayoutTests/fast/events/resources/event-instanceof.js.
        * fast/events/script-tests/event-listener-sharing.js: Copied from LayoutTests/fast/events/resources/event-listener-sharing.js.
        * fast/events/script-tests/init-events.js: Copied from LayoutTests/fast/events/resources/init-events.js.
        * fast/events/script-tests/mouse-click-events.js: Copied from LayoutTests/fast/events/resources/mouse-click-events.js.
        * fast/events/script-tests/tab-is-focusable-assert.js: Copied from LayoutTests/fast/events/resources/tab-is-focusable-assert.js.
        * fast/events/tab-is-focusable-assert.html:
        * fast/forms/ValidityState-patternMismatch-unsupported.html:
        * fast/forms/ValidityState-typeMismatch-color.html:
        * fast/forms/ValidityState-typeMismatch-number.html:
        * fast/forms/ValidityState-typeMismatch-url.html:
        * fast/forms/formnovalidate-attribute.html:
        * fast/forms/input-maxlength-ime-completed.html:
        * fast/forms/input-maxlength-ime-preedit.html:
        * fast/forms/novalidate-attribute.html:
        * fast/forms/placeholder-dom-property.html:
        * fast/forms/resources/TEMPLATE.html: Removed.
        * fast/forms/resources/ValidityState-patternMismatch-unsupported.js: Removed.
        * fast/forms/resources/ValidityState-typeMismatch-color.js: Removed.
        * fast/forms/resources/ValidityState-typeMismatch-number.js: Removed.
        * fast/forms/resources/ValidityState-typeMismatch-url.js: Removed.
        * fast/forms/resources/formnovalidate-attribute.js: Removed.
        * fast/forms/resources/input-maxlength-ime-completed.js: Removed.
        * fast/forms/resources/input-maxlength-ime-preedit.js: Removed.
        * fast/forms/resources/novalidate-attribute.js: Removed.
        * fast/forms/resources/placeholder-dom-property.js: Removed.
        * fast/forms/resources/shadow-tree-exposure.js: Removed.
        * fast/forms/resources/text-control-intrinsic-widths.js: Removed.
        * fast/forms/resources/textarea-metrics.js: Removed.
        * fast/forms/resources/textarea-placeholder-dom-property.js: Removed.
        * fast/forms/resources/textarea-textlength.js: Removed.
        * fast/forms/script-tests: Added.
        * fast/forms/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/forms/resources/TEMPLATE.html.
        * fast/forms/script-tests/ValidityState-patternMismatch-unsupported.js: Copied from LayoutTests/fast/forms/resources/ValidityState-patternMismatch-unsupported.js.
        * fast/forms/script-tests/ValidityState-typeMismatch-color.js: Copied from LayoutTests/fast/forms/resources/ValidityState-typeMismatch-color.js.
        * fast/forms/script-tests/ValidityState-typeMismatch-number.js: Copied from LayoutTests/fast/forms/resources/ValidityState-typeMismatch-number.js.
        * fast/forms/script-tests/ValidityState-typeMismatch-url.js: Copied from LayoutTests/fast/forms/resources/ValidityState-typeMismatch-url.js.
        * fast/forms/script-tests/formnovalidate-attribute.js: Copied from LayoutTests/fast/forms/resources/formnovalidate-attribute.js.
        * fast/forms/script-tests/input-maxlength-ime-completed.js: Copied from LayoutTests/fast/forms/resources/input-maxlength-ime-completed.js.
        * fast/forms/script-tests/input-maxlength-ime-preedit.js: Copied from LayoutTests/fast/forms/resources/input-maxlength-ime-preedit.js.
        * fast/forms/script-tests/novalidate-attribute.js: Copied from LayoutTests/fast/forms/resources/novalidate-attribute.js.
        * fast/forms/script-tests/placeholder-dom-property.js: Copied from LayoutTests/fast/forms/resources/placeholder-dom-property.js.
        * fast/forms/script-tests/shadow-tree-exposure.js: Copied from LayoutTests/fast/forms/resources/shadow-tree-exposure.js.
        * fast/forms/script-tests/text-control-intrinsic-widths.js: Copied from LayoutTests/fast/forms/resources/text-control-intrinsic-widths.js.
        * fast/forms/script-tests/textarea-metrics.js: Copied from LayoutTests/fast/forms/resources/textarea-metrics.js.
        * fast/forms/script-tests/textarea-placeholder-dom-property.js: Copied from LayoutTests/fast/forms/resources/textarea-placeholder-dom-property.js.
        * fast/forms/script-tests/textarea-textlength.js: Copied from LayoutTests/fast/forms/resources/textarea-textlength.js.
        * fast/forms/shadow-tree-exposure.html:
        * fast/forms/text-control-intrinsic-widths.html:
        * fast/forms/textarea-metrics.html:
        * fast/forms/textarea-placeholder-dom-property.html:
        * fast/forms/textarea-textlength.html:
        * fast/images/border.html:
        * fast/images/resources/TEMPLATE.html: Removed.
        * fast/images/resources/border.js: Removed.
        * fast/images/script-tests: Added.
        * fast/images/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/images/resources/TEMPLATE.html.
        * fast/images/script-tests/border.js: Copied from LayoutTests/fast/images/resources/border.js.
        * fast/parser/block-nesting-cap.html:
        * fast/parser/pre-first-line-break.html:
        * fast/parser/resources/TEMPLATE.html: Removed.
        * fast/parser/resources/block-nesting-cap.js: Removed.
        * fast/parser/resources/pre-first-line-break.js: Removed.
        * fast/parser/script-tests: Added.
        * fast/parser/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/parser/resources/TEMPLATE.html.
        * fast/parser/script-tests/block-nesting-cap.js: Copied from LayoutTests/fast/parser/resources/block-nesting-cap.js.
        * fast/parser/script-tests/pre-first-line-break.js: Copied from LayoutTests/fast/parser/resources/pre-first-line-break.js.
        * fast/regex/alternative-length-miscalculation.html:
        * fast/regex/cross-frame-callable.html:
        * fast/regex/early-acid3-86.html:
        * fast/regex/malformed-escapes.html:
        * fast/regex/non-capturing-backtracking.html:
        * fast/regex/non-pattern-characters.html:
        * fast/regex/quantified-assertions.html:
        * fast/regex/resources/TEMPLATE.html: Removed.
        * fast/regex/resources/alternative-length-miscalculation.js: Removed.
        * fast/regex/resources/cross-frame-callable.js: Removed.
        * fast/regex/resources/early-acid3-86.js: Removed.
        * fast/regex/resources/malformed-escapes.js: Removed.
        * fast/regex/resources/non-capturing-backtracking.js: Removed.
        * fast/regex/resources/non-pattern-characters.js: Removed.
        * fast/regex/resources/quantified-assertions.js: Removed.
        * fast/regex/resources/slow.js: Removed.
        * fast/regex/script-tests: Added.
        * fast/regex/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/regex/resources/TEMPLATE.html.
        * fast/regex/script-tests/alternative-length-miscalculation.js: Copied from LayoutTests/fast/regex/resources/alternative-length-miscalculation.js.
        * fast/regex/script-tests/cross-frame-callable.js: Copied from LayoutTests/fast/regex/resources/cross-frame-callable.js.
        * fast/regex/script-tests/early-acid3-86.js: Copied from LayoutTests/fast/regex/resources/early-acid3-86.js.
        * fast/regex/script-tests/malformed-escapes.js: Copied from LayoutTests/fast/regex/resources/malformed-escapes.js.
        * fast/regex/script-tests/non-capturing-backtracking.js: Copied from LayoutTests/fast/regex/resources/non-capturing-backtracking.js.
        * fast/regex/script-tests/non-pattern-characters.js: Copied from LayoutTests/fast/regex/resources/non-pattern-characters.js.
        * fast/regex/script-tests/quantified-assertions.js: Copied from LayoutTests/fast/regex/resources/quantified-assertions.js.
        * fast/regex/script-tests/slow.js: Copied from LayoutTests/fast/regex/resources/slow.js.
        * fast/regex/slow.html:
        * fast/table/border-changes.html:
        * fast/table/resources/TEMPLATE.html: Removed.
        * fast/table/resources/border-changes.js: Removed.
        * fast/table/script-tests: Added.
        * fast/table/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/table/resources/TEMPLATE.html.
        * fast/table/script-tests/border-changes.js: Copied from LayoutTests/fast/table/resources/border-changes.js.
        * fast/text/find-backwards.html:
        * fast/text/resources/TEMPLATE.html: Removed.
        * fast/text/resources/find-backwards.js: Removed.
        * fast/text/script-tests: Added.
        * fast/text/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/text/resources/TEMPLATE.html.
        * fast/text/script-tests/find-backwards.js: Copied from LayoutTests/fast/text/resources/find-backwards.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48552 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 08:41:51 +0000 (08:41 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for fast/dom directories.

        * fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html:
        * fast/dom/CSSStyleDeclaration/resources/TEMPLATE.html: Removed.
        * fast/dom/CSSStyleDeclaration/resources/css-properties-case-sensitive.js: Removed.
        * fast/dom/CSSStyleDeclaration/resources/transition-property-names.js: Removed.
        * fast/dom/CSSStyleDeclaration/script-tests: Added.
        * fast/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/CSSStyleDeclaration/resources/TEMPLATE.html.
        * fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js: Copied from LayoutTests/fast/dom/CSSStyleDeclaration/resources/css-properties-case-sensitive.js.
        * fast/dom/CSSStyleDeclaration/script-tests/transition-property-names.js: Copied from LayoutTests/fast/dom/CSSStyleDeclaration/resources/transition-property-names.js.
        * fast/dom/CSSStyleDeclaration/transition-property-names.html:
        * fast/dom/DOMImplementation/createDocument-namespace-err.html:
        * fast/dom/DOMImplementation/createDocumentType-err.html:
        * fast/dom/DOMImplementation/resources/TEMPLATE.html: Removed.
        * fast/dom/DOMImplementation/resources/createDocument-namespace-err.js: Removed.
        * fast/dom/DOMImplementation/resources/createDocumentType-err.js: Removed.
        * fast/dom/DOMImplementation/script-tests: Added.
        * fast/dom/DOMImplementation/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/DOMImplementation/resources/TEMPLATE.html.
        * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js: Copied from LayoutTests/fast/dom/DOMImplementation/resources/createDocument-namespace-err.js.
        * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js: Copied from LayoutTests/fast/dom/DOMImplementation/resources/createDocumentType-err.js.
        * fast/dom/Document/createAttributeNS-namespace-err.html:
        * fast/dom/Document/createElementNS-namespace-err.html:
        * fast/dom/Document/document-write-doctype.html:
        * fast/dom/Document/replaceChild-null-oldChild.html:
        * fast/dom/Document/resources/TEMPLATE.html: Removed.
        * fast/dom/Document/resources/createAttributeNS-namespace-err.js: Removed.
        * fast/dom/Document/resources/createElementNS-namespace-err.js: Removed.
        * fast/dom/Document/resources/document-write-doctype.js: Removed.
        * fast/dom/Document/resources/replaceChild-null-oldChild.js: Removed.
        * fast/dom/Document/script-tests: Added.
        * fast/dom/Document/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Document/resources/TEMPLATE.html.
        * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js: Copied from LayoutTests/fast/dom/Document/resources/createAttributeNS-namespace-err.js.
        * fast/dom/Document/script-tests/createElementNS-namespace-err.js: Copied from LayoutTests/fast/dom/Document/resources/createElementNS-namespace-err.js.
        * fast/dom/Document/script-tests/document-write-doctype.js: Copied from LayoutTests/fast/dom/Document/resources/document-write-doctype.js.
        * fast/dom/Document/script-tests/replaceChild-null-oldChild.js: Copied from LayoutTests/fast/dom/Document/resources/replaceChild-null-oldChild.js.
        * fast/dom/Element/attr-param-typechecking.html:
        * fast/dom/Element/contains-method.html:
        * fast/dom/Element/dimension-properties-unrendered.html:
        * fast/dom/Element/element-traversal.html:
        * fast/dom/Element/getAttribute-check-case-sensitivity.html:
        * fast/dom/Element/resources/TEMPLATE.html: Removed.
        * fast/dom/Element/resources/attr-param-typechecking.js: Removed.
        * fast/dom/Element/resources/contains-method.js: Removed.
        * fast/dom/Element/resources/dimension-properties-unrendered.js: Removed.
        * fast/dom/Element/resources/element-traversal.js: Removed.
        * fast/dom/Element/resources/getAttribute-check-case-sensitivity.js: Removed.
        * fast/dom/Element/script-tests: Added.
        * fast/dom/Element/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Element/resources/TEMPLATE.html.
        * fast/dom/Element/script-tests/attr-param-typechecking.js: Copied from LayoutTests/fast/dom/Element/resources/attr-param-typechecking.js.
        * fast/dom/Element/script-tests/contains-method.js: Copied from LayoutTests/fast/dom/Element/resources/contains-method.js.
        * fast/dom/Element/script-tests/dimension-properties-unrendered.js: Copied from LayoutTests/fast/dom/Element/resources/dimension-properties-unrendered.js.
        * fast/dom/Element/script-tests/element-traversal.js: Copied from LayoutTests/fast/dom/Element/resources/element-traversal.js.
        * fast/dom/Element/script-tests/getAttribute-check-case-sensitivity.js: Copied from LayoutTests/fast/dom/Element/resources/getAttribute-check-case-sensitivity.js.
        * fast/dom/EntityReference/readonly-exceptions.html:
        * fast/dom/EntityReference/resources/TEMPLATE.html: Removed.
        * fast/dom/EntityReference/resources/readonly-exceptions.js: Removed.
        * fast/dom/EntityReference/script-tests: Added.
        * fast/dom/EntityReference/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/EntityReference/resources/TEMPLATE.html.
        * fast/dom/EntityReference/script-tests/readonly-exceptions.js: Copied from LayoutTests/fast/dom/EntityReference/resources/readonly-exceptions.js.
        * fast/dom/HTMLFontElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLFontElement/resources/size-attribute.js: Removed.
        * fast/dom/HTMLFontElement/script-tests: Added.
        * fast/dom/HTMLFontElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLFontElement/resources/TEMPLATE.html.
        * fast/dom/HTMLFontElement/script-tests/size-attribute.js: Copied from LayoutTests/fast/dom/HTMLFontElement/resources/size-attribute.js.
        * fast/dom/HTMLFontElement/size-attribute.html:
        * fast/dom/HTMLFormElement/elements-not-in-document.html:
        * fast/dom/HTMLFormElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLFormElement/resources/elements-not-in-document.js: Removed.
        * fast/dom/HTMLFormElement/script-tests: Added.
        * fast/dom/HTMLFormElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLFormElement/resources/TEMPLATE.html.
        * fast/dom/HTMLFormElement/script-tests/elements-not-in-document.js: Copied from LayoutTests/fast/dom/HTMLFormElement/resources/elements-not-in-document.js.
        * fast/dom/HTMLInputElement/checked-pseudo-selector.html:
        * fast/dom/HTMLInputElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLInputElement/resources/checked-pseudo-selector.js: Removed.
        * fast/dom/HTMLInputElement/resources/size-attribute.js: Removed.
        * fast/dom/HTMLInputElement/script-tests: Added.
        * fast/dom/HTMLInputElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLInputElement/resources/TEMPLATE.html.
        * fast/dom/HTMLInputElement/script-tests/checked-pseudo-selector.js: Copied from LayoutTests/fast/dom/HTMLInputElement/resources/checked-pseudo-selector.js.
        * fast/dom/HTMLInputElement/script-tests/size-attribute.js: Copied from LayoutTests/fast/dom/HTMLInputElement/resources/size-attribute.js.
        * fast/dom/HTMLInputElement/size-attribute.html:
        * fast/dom/HTMLSelectElement/named-options.html:
        * fast/dom/HTMLSelectElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLSelectElement/resources/named-options.js: Removed.
        * fast/dom/HTMLSelectElement/script-tests: Added.
        * fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLSelectElement/resources/TEMPLATE.html.
        * fast/dom/HTMLSelectElement/script-tests/named-options.js: Copied from LayoutTests/fast/dom/HTMLSelectElement/resources/named-options.js.
        * fast/dom/HTMLTableElement/cellpadding-attribute.html:
        * fast/dom/HTMLTableElement/early-acid3-65-excerpt.html:
        * fast/dom/HTMLTableElement/early-acid3-66-excerpt.html:
        * fast/dom/HTMLTableElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLTableElement/resources/cellpadding-attribute.js: Removed.
        * fast/dom/HTMLTableElement/resources/early-acid3-65-excerpt.js: Removed.
        * fast/dom/HTMLTableElement/resources/early-acid3-66-excerpt.js: Removed.
        * fast/dom/HTMLTableElement/resources/rows.js: Removed.
        * fast/dom/HTMLTableElement/resources/tBodies.js: Removed.
        * fast/dom/HTMLTableElement/rows.html:
        * fast/dom/HTMLTableElement/script-tests: Added.
        * fast/dom/HTMLTableElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/TEMPLATE.html.
        * fast/dom/HTMLTableElement/script-tests/cellpadding-attribute.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/cellpadding-attribute.js.
        * fast/dom/HTMLTableElement/script-tests/early-acid3-65-excerpt.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/early-acid3-65-excerpt.js.
        * fast/dom/HTMLTableElement/script-tests/early-acid3-66-excerpt.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/early-acid3-66-excerpt.js.
        * fast/dom/HTMLTableElement/script-tests/rows.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/rows.js.
        * fast/dom/HTMLTableElement/script-tests/tBodies.js: Copied from LayoutTests/fast/dom/HTMLTableElement/resources/tBodies.js.
        * fast/dom/HTMLTableElement/tBodies.html:
        * fast/dom/HTMLTableRowElement/cells.html:
        * fast/dom/HTMLTableRowElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLTableRowElement/resources/cells.js: Removed.
        * fast/dom/HTMLTableRowElement/script-tests: Added.
        * fast/dom/HTMLTableRowElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLTableRowElement/resources/TEMPLATE.html.
        * fast/dom/HTMLTableRowElement/script-tests/cells.js: Copied from LayoutTests/fast/dom/HTMLTableRowElement/resources/cells.js.
        * fast/dom/HTMLTableSectionElement/resources/TEMPLATE.html: Removed.
        * fast/dom/HTMLTableSectionElement/resources/rows.js: Removed.
        * fast/dom/HTMLTableSectionElement/rows.html:
        * fast/dom/HTMLTableSectionElement/script-tests: Added.
        * fast/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/HTMLTableSectionElement/resources/TEMPLATE.html.
        * fast/dom/HTMLTableSectionElement/script-tests/rows.js: Copied from LayoutTests/fast/dom/HTMLTableSectionElement/resources/rows.js.
        * fast/dom/Node/DOMNodeRemovedEvent.html:
        * fast/dom/Node/initial-values.html:
        * fast/dom/Node/resources/DOMNodeRemovedEvent.js: Removed.
        * fast/dom/Node/resources/TEMPLATE.html: Removed.
        * fast/dom/Node/resources/initial-values.js: Removed.
        * fast/dom/Node/script-tests: Added.
        * fast/dom/Node/script-tests/DOMNodeRemovedEvent.js: Copied from LayoutTests/fast/dom/Node/resources/DOMNodeRemovedEvent.js.
        * fast/dom/Node/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Node/resources/TEMPLATE.html.
        * fast/dom/Node/script-tests/initial-values.js: Copied from LayoutTests/fast/dom/Node/resources/initial-values.js.
        * fast/dom/Range/mutation.html:
        * fast/dom/Range/range-clone-empty.html:
        * fast/dom/Range/range-exceptions.html:
        * fast/dom/Range/range-insertNode-separate-endContainer.html:
        * fast/dom/Range/range-insertNode-splittext.html:
        * fast/dom/Range/range-modifycontents.html:
        * fast/dom/Range/resources/TEMPLATE.html: Removed.
        * fast/dom/Range/resources/mutation.js: Removed.
        * fast/dom/Range/resources/range-clone-empty.js: Removed.
        * fast/dom/Range/resources/range-exceptions.js: Removed.
        * fast/dom/Range/resources/range-insertNode-separate-endContainer.js: Removed.
        * fast/dom/Range/resources/range-insertNode-splittext.js: Removed.
        * fast/dom/Range/resources/range-modifycontents.js: Removed.
        * fast/dom/Range/script-tests: Added.
        * fast/dom/Range/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Range/resources/TEMPLATE.html.
        * fast/dom/Range/script-tests/mutation.js: Copied from LayoutTests/fast/dom/Range/resources/mutation.js.
        * fast/dom/Range/script-tests/range-clone-empty.js: Copied from LayoutTests/fast/dom/Range/resources/range-clone-empty.js.
        * fast/dom/Range/script-tests/range-exceptions.js: Copied from LayoutTests/fast/dom/Range/resources/range-exceptions.js.
        * fast/dom/Range/script-tests/range-insertNode-separate-endContainer.js: Copied from LayoutTests/fast/dom/Range/resources/range-insertNode-separate-endContainer.js.
        * fast/dom/Range/script-tests/range-insertNode-splittext.js: Copied from LayoutTests/fast/dom/Range/resources/range-insertNode-splittext.js.
        * fast/dom/Range/script-tests/range-modifycontents.js: Copied from LayoutTests/fast/dom/Range/resources/range-modifycontents.js.
        * fast/dom/Selection/getRangeAt.html:
        * fast/dom/Selection/resources/TEMPLATE.html: Removed.
        * fast/dom/Selection/resources/getRangeAt.js: Removed.
        * fast/dom/Selection/script-tests: Added.
        * fast/dom/Selection/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Selection/resources/TEMPLATE.html.
        * fast/dom/Selection/script-tests/getRangeAt.js: Copied from LayoutTests/fast/dom/Selection/resources/getRangeAt.js.
        * fast/dom/SelectorAPI/detached-element.html:
        * fast/dom/SelectorAPI/elementRoot.html:
        * fast/dom/SelectorAPI/id-fastpath.html:
        * fast/dom/SelectorAPI/resources/TEMPLATE.html: Removed.
        * fast/dom/SelectorAPI/resources/detached-element.js: Removed.
        * fast/dom/SelectorAPI/resources/elementRoot.js: Removed.
        * fast/dom/SelectorAPI/resources/id-fastpath.js: Removed.
        * fast/dom/SelectorAPI/resources/undefined-null-stringify.js: Removed.
        * fast/dom/SelectorAPI/resources/viewless-document.js: Removed.
        * fast/dom/SelectorAPI/script-tests: Added.
        * fast/dom/SelectorAPI/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/SelectorAPI/resources/TEMPLATE.html.
        * fast/dom/SelectorAPI/script-tests/detached-element.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/detached-element.js.
        * fast/dom/SelectorAPI/script-tests/elementRoot.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/elementRoot.js.
        * fast/dom/SelectorAPI/script-tests/id-fastpath.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/id-fastpath.js.
        * fast/dom/SelectorAPI/script-tests/undefined-null-stringify.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/undefined-null-stringify.js.
        * fast/dom/SelectorAPI/script-tests/viewless-document.js: Copied from LayoutTests/fast/dom/SelectorAPI/resources/viewless-document.js.
        * fast/dom/SelectorAPI/undefined-null-stringify.html:
        * fast/dom/SelectorAPI/viewless-document.html:
        * fast/dom/Text/replaceWholeText.html:
        * fast/dom/Text/resources/TEMPLATE.html: Removed.
        * fast/dom/Text/resources/replaceWholeText.js: Removed.
        * fast/dom/Text/script-tests: Added.
        * fast/dom/Text/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Text/resources/TEMPLATE.html.
        * fast/dom/Text/script-tests/replaceWholeText.js: Copied from LayoutTests/fast/dom/Text/resources/replaceWholeText.js.
        * fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html:
        * fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html:
        * fast/dom/Window/dispatchEvent.html:
        * fast/dom/Window/resources/HTMLBodyElement-window-eventListener-attributes.js: Removed.
        * fast/dom/Window/resources/HTMLFrameSetElement-window-eventListener-attributes.js: Removed.
        * fast/dom/Window/resources/TEMPLATE.html: Removed.
        * fast/dom/Window/resources/dispatchEvent.js: Removed.
        * fast/dom/Window/resources/window-custom-prototype.js: Removed.
        * fast/dom/Window/script-tests: Added.
        * fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js: Copied from LayoutTests/fast/dom/Window/resources/HTMLBodyElement-window-eventListener-attributes.js.
        * fast/dom/Window/script-tests/HTMLFrameSetElement-window-eventListener-attributes.js: Copied from LayoutTests/fast/dom/Window/resources/HTMLFrameSetElement-window-eventListener-attributes.js.
        * fast/dom/Window/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/Window/resources/TEMPLATE.html.
        * fast/dom/Window/script-tests/dispatchEvent.js: Copied from LayoutTests/fast/dom/Window/resources/dispatchEvent.js.
        * fast/dom/Window/script-tests/window-custom-prototype.js: Copied from LayoutTests/fast/dom/Window/resources/window-custom-prototype.js.
        * fast/dom/Window/window-custom-prototype.html:
        * fast/dom/constructed-objects-prototypes.html:
        * fast/dom/constructors-cached.html:
        * fast/dom/css-RGBValue.html:
        * fast/dom/domListEnumeration.html:
        * fast/dom/event-attribute-availability.html:
        * fast/dom/javascript-url-exception-isolation.html:
        * fast/dom/location-new-window-no-crash.html:
        * fast/dom/non-numeric-values-numeric-parameters.html:
        * fast/dom/prototype-inheritance-2.html:
        * fast/dom/prototype-inheritance.html:
        * fast/dom/resources/TEMPLATE.html: Removed.
        * fast/dom/resources/constructed-objects-prototypes.js: Removed.
        * fast/dom/resources/constructors-cached.js: Removed.
        * fast/dom/resources/css-RGBValue.js: Removed.
        * fast/dom/resources/domListEnumeration.js: Removed.
        * fast/dom/resources/event-attribute-availability.js: Removed.
        * fast/dom/resources/javascript-url-exception-isolation.js: Removed.
        * fast/dom/resources/location-new-window-no-crash.js: Removed.
        * fast/dom/resources/non-numeric-values-numeric-parameters.js: Removed.
        * fast/dom/resources/prototype-inheritance-2.js: Removed.
        * fast/dom/resources/prototype-inheritance.js: Removed.
        * fast/dom/script-tests: Added.
        * fast/dom/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/dom/resources/TEMPLATE.html.
        * fast/dom/script-tests/constructed-objects-prototypes.js: Copied from LayoutTests/fast/dom/resources/constructed-objects-prototypes.js.
        * fast/dom/script-tests/constructors-cached.js: Copied from LayoutTests/fast/dom/resources/constructors-cached.js.
        * fast/dom/script-tests/css-RGBValue.js: Copied from LayoutTests/fast/dom/resources/css-RGBValue.js.
        * fast/dom/script-tests/domListEnumeration.js: Copied from LayoutTests/fast/dom/resources/domListEnumeration.js.
        * fast/dom/script-tests/event-attribute-availability.js: Copied from LayoutTests/fast/dom/resources/event-attribute-availability.js.
        * fast/dom/script-tests/javascript-url-exception-isolation.js: Copied from LayoutTests/fast/dom/resources/javascript-url-exception-isolation.js.
        * fast/dom/script-tests/location-new-window-no-crash.js: Copied from LayoutTests/fast/dom/resources/location-new-window-no-crash.js.
        * fast/dom/script-tests/non-numeric-values-numeric-parameters.js: Copied from LayoutTests/fast/dom/resources/non-numeric-values-numeric-parameters.js.
        * fast/dom/script-tests/prototype-inheritance-2.js: Copied from LayoutTests/fast/dom/resources/prototype-inheritance-2.js.
        * fast/dom/script-tests/prototype-inheritance.js: Copied from LayoutTests/fast/dom/resources/prototype-inheritance.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48551 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 08:35:22 +0000 (08:35 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for fast/canvas and fast/css directories.

        * fast/canvas/canvas-copyPixels.html:
        * fast/canvas/canvas-gradient-addStop-error.html:
        * fast/canvas/canvas-gradient-without-path.html:
        * fast/canvas/canvas-modify-emptyPath.html:
        * fast/canvas/canvas-set-properties-with-non-invertible-ctm.html:
        * fast/canvas/canvas-setTransform.html:
        * fast/canvas/canvas-strokeRect.html:
        * fast/canvas/canvas-transparency-and-composite.html:
        * fast/canvas/gradient-addColorStop-with-invalid-color.html:
        * fast/canvas/gradient-with-clip.html:
        * fast/canvas/linearGradient-infinite-values.html:
        * fast/canvas/pattern-with-transform.html:
        * fast/canvas/radialGradient-infinite-values.html:
        * fast/canvas/resources/TEMPLATE.html: Removed.
        * fast/canvas/resources/canvas-copyPixels.js: Removed.
        * fast/canvas/resources/canvas-gradient-addStop-error.js: Removed.
        * fast/canvas/resources/canvas-gradient-without-path.js: Removed.
        * fast/canvas/resources/canvas-modify-emptyPath.js: Removed.
        * fast/canvas/resources/canvas-set-properties-with-non-invertible-ctm.js: Removed.
        * fast/canvas/resources/canvas-setTransform.js: Removed.
        * fast/canvas/resources/canvas-strokeRect.js: Removed.
        * fast/canvas/resources/canvas-transparency-and-composite.js: Removed.
        * fast/canvas/resources/gradient-addColorStop-with-invalid-color.js: Removed.
        * fast/canvas/resources/gradient-with-clip.js: Removed.
        * fast/canvas/resources/linearGradient-infinite-values.js: Removed.
        * fast/canvas/resources/pattern-with-transform.js: Removed.
        * fast/canvas/resources/radialGradient-infinite-values.js: Removed.
        * fast/canvas/resources/set-colors.js: Removed.
        * fast/canvas/resources/translate-text.js: Removed.
        * fast/canvas/script-tests: Added.
        * fast/canvas/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/canvas/resources/TEMPLATE.html.
        * fast/canvas/script-tests/canvas-copyPixels.js: Copied from LayoutTests/fast/canvas/resources/canvas-copyPixels.js.
        * fast/canvas/script-tests/canvas-gradient-addStop-error.js: Copied from LayoutTests/fast/canvas/resources/canvas-gradient-addStop-error.js.
        * fast/canvas/script-tests/canvas-gradient-without-path.js: Copied from LayoutTests/fast/canvas/resources/canvas-gradient-without-path.js.
        * fast/canvas/script-tests/canvas-modify-emptyPath.js: Copied from LayoutTests/fast/canvas/resources/canvas-modify-emptyPath.js.
        * fast/canvas/script-tests/canvas-set-properties-with-non-invertible-ctm.js: Copied from LayoutTests/fast/canvas/resources/canvas-set-properties-with-non-invertible-ctm.js.
        * fast/canvas/script-tests/canvas-setTransform.js: Copied from LayoutTests/fast/canvas/resources/canvas-setTransform.js.
        * fast/canvas/script-tests/canvas-strokeRect.js: Copied from LayoutTests/fast/canvas/resources/canvas-strokeRect.js.
        * fast/canvas/script-tests/canvas-transparency-and-composite.js: Copied from LayoutTests/fast/canvas/resources/canvas-transparency-and-composite.js.
        * fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js: Copied from LayoutTests/fast/canvas/resources/gradient-addColorStop-with-invalid-color.js.
        * fast/canvas/script-tests/gradient-with-clip.js: Copied from LayoutTests/fast/canvas/resources/gradient-with-clip.js.
        * fast/canvas/script-tests/linearGradient-infinite-values.js: Copied from LayoutTests/fast/canvas/resources/linearGradient-infinite-values.js.
        * fast/canvas/script-tests/pattern-with-transform.js: Copied from LayoutTests/fast/canvas/resources/pattern-with-transform.js.
        * fast/canvas/script-tests/radialGradient-infinite-values.js: Copied from LayoutTests/fast/canvas/resources/radialGradient-infinite-values.js.
        * fast/canvas/script-tests/set-colors.js: Copied from LayoutTests/fast/canvas/resources/set-colors.js.
        * fast/canvas/script-tests/translate-text.js: Copied from LayoutTests/fast/canvas/resources/translate-text.js.
        * fast/canvas/set-colors.html:
        * fast/canvas/translate-text.html:
        * fast/css/getComputedStyle/computed-style-font-family-monospace.html:
        * fast/css/getComputedStyle/font-family-fallback-reset.html:
        * fast/css/getComputedStyle/getComputedStyle-text-decoration.html:
        * fast/css/getComputedStyle/resources/TEMPLATE.html: Removed.
        * fast/css/getComputedStyle/resources/computed-style-font-family-monospace.js: Removed.
        * fast/css/getComputedStyle/resources/font-family-fallback-reset.js: Removed.
        * fast/css/getComputedStyle/resources/getComputedStyle-text-decoration.js: Removed.
        * fast/css/getComputedStyle/script-tests: Added.
        * fast/css/getComputedStyle/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/css/getComputedStyle/resources/TEMPLATE.html.
        * fast/css/getComputedStyle/script-tests/computed-style-font-family-monospace.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/computed-style-font-family-monospace.js.
        * fast/css/getComputedStyle/script-tests/font-family-fallback-reset.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/font-family-fallback-reset.js.
        * fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js: Copied from LayoutTests/fast/css/getComputedStyle/resources/getComputedStyle-text-decoration.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48550 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 07:30:19 +0000 (07:30 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Migration for editing directory.

        * editing/inserting/font-size-clears-from-typing-style.html:
        * editing/inserting/resources/TEMPLATE.html: Removed.
        * editing/inserting/resources/font-size-clears-from-typing-style.js: Removed.
        * editing/inserting/script-tests: Added.
        * editing/inserting/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/inserting/resources/TEMPLATE.html.
        * editing/inserting/script-tests/font-size-clears-from-typing-style.js: Copied from LayoutTests/editing/inserting/resources/font-size-clears-from-typing-style.js.
        * editing/pasteboard/file-input-files-access.html:
        * editing/pasteboard/files-during-page-drags.html:
        * editing/pasteboard/get-data-text-plain-paste.html:
        * editing/pasteboard/resources/TEMPLATE.html: Removed.
        * editing/pasteboard/resources/file-input-files-access.js: Removed.
        * editing/pasteboard/resources/files-during-page-drags.js: Removed.
        * editing/pasteboard/resources/get-data-text-plain-paste.js: Removed.
        * editing/pasteboard/script-tests: Added.
        * editing/pasteboard/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/pasteboard/resources/TEMPLATE.html.
        * editing/pasteboard/script-tests/file-input-files-access.js: Copied from LayoutTests/editing/pasteboard/resources/file-input-files-access.js.
        * editing/pasteboard/script-tests/files-during-page-drags.js: Copied from LayoutTests/editing/pasteboard/resources/files-during-page-drags.js.
        * editing/pasteboard/script-tests/get-data-text-plain-paste.js: Copied from LayoutTests/editing/pasteboard/resources/get-data-text-plain-paste.js.
        * editing/selection/click-in-margins-inside-editable-div.html:
        * editing/selection/click-in-padding-with-multiple-line-boxes.html:
        * editing/selection/click-outside-editable-div.html:
        * editing/selection/resources/TEMPLATE.html: Removed.
        * editing/selection/resources/click-in-margins-inside-editable-div.js: Removed.
        * editing/selection/resources/click-in-padding-with-multiple-line-boxes.js: Removed.
        * editing/selection/resources/click-outside-editable-div.js: Removed.
        * editing/selection/script-tests: Added.
        * editing/selection/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/selection/resources/TEMPLATE.html.
        * editing/selection/script-tests/click-in-margins-inside-editable-div.js: Copied from LayoutTests/editing/selection/resources/click-in-margins-inside-editable-div.js.
        * editing/selection/script-tests/click-in-padding-with-multiple-line-boxes.js: Copied from LayoutTests/editing/selection/resources/click-in-padding-with-multiple-line-boxes.js.
        * editing/selection/script-tests/click-outside-editable-div.js: Copied from LayoutTests/editing/selection/resources/click-outside-editable-div.js.
        * editing/style/resources/TEMPLATE.html: Removed.
        * editing/style/resources/text-decoration-state.js: Removed.
        * editing/style/script-tests: Added.
        * editing/style/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/style/resources/TEMPLATE.html.
        * editing/style/script-tests/text-decoration-state.js: Copied from LayoutTests/editing/style/resources/text-decoration-state.js.
        * editing/style/text-decoration-state.html:
        * editing/text-iterator/basic-iteration.html:
        * editing/text-iterator/resources/TEMPLATE.html: Removed.
        * editing/text-iterator/resources/basic-iteration.js: Removed.
        * editing/text-iterator/script-tests: Added.
        * editing/text-iterator/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/text-iterator/resources/TEMPLATE.html.
        * editing/text-iterator/script-tests/basic-iteration.js: Copied from LayoutTests/editing/text-iterator/resources/basic-iteration.js.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48549 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-19 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Sat, 19 Sep 2009 07:22:01 +0000 (07:22 +0000)]
2009-09-19  Shinichiro Hamaji  <hamaji@chromium.org>

        Rubber-stamped by Eric Seidel.

        js tests should move into jstests subdirectory instead of resources/
        https://bugs.webkit.org/show_bug.cgi?id=25880

        Attempt to split the huge patch as I failed to commit it...

        * editing/execCommand/break-out-of-empty-list-item.html:
        * editing/execCommand/convert-style-elements-to-spans.html:
        * editing/execCommand/empty-span-removal.html:
        * editing/execCommand/enabling-and-selection-2.html:
        * editing/execCommand/enabling-and-selection.html:
        * editing/execCommand/inline-style-after-indentoutdent.html:
        * editing/execCommand/resources/TEMPLATE.html: Removed.
        * editing/execCommand/resources/break-out-of-empty-list-item.js: Removed.
        * editing/execCommand/resources/convert-style-elements-to-spans.js: Removed.
        * editing/execCommand/resources/empty-span-removal.js: Removed.
        * editing/execCommand/resources/enabling-and-selection-2.js: Removed.
        * editing/execCommand/resources/enabling-and-selection.js: Removed.
        * editing/execCommand/resources/inline-style-after-indentoutdent.js: Removed.
        * editing/execCommand/resources/toggle-compound-styles.js: Removed.
        * editing/execCommand/resources/toggle-style-2.js: Removed.
        * editing/execCommand/resources/toggle-styles.js: Removed.
        * editing/execCommand/resources/toggle-text-decorations.js: Removed.
        * editing/execCommand/script-tests: Added.
        * editing/execCommand/script-tests/TEMPLATE.html: Copied from LayoutTests/editing/execCommand/resources/TEMPLATE.html.
        * editing/execCommand/script-tests/break-out-of-empty-list-item.js: Copied from LayoutTests/editing/execCommand/resources/break-out-of-empty-list-item.js.
        * editing/execCommand/script-tests/convert-style-elements-to-spans.js: Copied from LayoutTests/editing/execCommand/resources/convert-style-elements-to-spans.js.
        * editing/execCommand/script-tests/empty-span-removal.js: Copied from LayoutTests/editing/execCommand/resources/empty-span-removal.js.
        * editing/execCommand/script-tests/enabling-and-selection-2.js: Copied from LayoutTests/editing/execCommand/resources/enabling-and-selection-2.js.
        * editing/execCommand/script-tests/enabling-and-selection.js: Copied from LayoutTests/editing/execCommand/resources/enabling-and-selection.js.
        * editing/execCommand/script-tests/inline-style-after-indentoutdent.js: Copied from LayoutTests/editing/execCommand/resources/inline-style-after-indentoutdent.js.
        * editing/execCommand/script-tests/toggle-compound-styles.js: Copied from LayoutTests/editing/execCommand/resources/toggle-compound-styles.js.
        * editing/execCommand/script-tests/toggle-style-2.js: Copied from LayoutTests/editing/execCommand/resources/toggle-style-2.js.
        * editing/execCommand/script-tests/toggle-styles.js: Copied from LayoutTests/editing/execCommand/resources/toggle-styles.js.
        * editing/execCommand/script-tests/toggle-text-decorations.js: Copied from LayoutTests/editing/execCommand/resources/toggle-text-decorations.js.
        * editing/execCommand/toggle-compound-styles.html:
        * editing/execCommand/toggle-style-2.html:
        * editing/execCommand/toggle-styles.html:
        * editing/execCommand/toggle-text-decorations.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48548 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 19 Sep 2009 03:46:03 +0000 (03:46 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Fix stylistic issue raised in code review for previous commit.

        * rendering/RenderLayerBacking.cpp:
        (WebCore::hasNonZeroTransformOrigin):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48547 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 19 Sep 2009 03:44:10 +0000 (03:44 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Element is misplaced during opacity transition with certain configuration of transform-origin and clipping
        https://bugs.webkit.org/show_bug.cgi?id=29495

        If an element has zero size, but has a transform origin with absolute values,
        then the transform origin would not be applied because it is implemented via
        anchorPoint, which is expressed as a fraction of the layer size.

        Work around this by artificially inflating the size of the backing store when we need to.

        Test: compositing/geometry/transfrom-origin-on-zero-size-layer.html

        * rendering/RenderLayerBacking.h:
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::RenderLayerBacking):
        Init m_artificiallyInflatedBounds to false.

        (WebCore::hasNonZeroTransformOrigin):
        Utility function that describes whether the transform-origin contains non-percentage
        x or y offsets.

        (WebCore::RenderLayerBacking::updateCompositedBounds):
        New wrapper method around setCompositedBounds() that applies the size inflation
        when necessary, setting the m_artificiallyInflatedBounds as appropriate.

        (WebCore::RenderLayerBacking::updateAfterLayout): Call updateCompositedBounds().
        (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): Ditto

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree): Ditto
        (WebCore::RenderLayerCompositor::updateCompositingDescendantGeometry): Ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48546 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=29512
antti@apple.com [Sat, 19 Sep 2009 01:19:04 +0000 (01:19 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=29512
Don't recalculate style when restoring from the page cache

Patch by Antti Koivisto <antti@apple.com> on 2009-09-18
Reviewed by Maciej Stachowiak.

FrameLoaderClient::forceLayout() also forces style recalc. Instead call FrameView::forceLayout()
directly to update the scrollbars while keeping the existing style.

Makes back/forward really fast on complex pages (in cases where page cache works).

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::commitProvisionalLoad):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48545 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agowx build fixes. Fix the config name under git and allow users to specify
kevino@webkit.org [Sat, 19 Sep 2009 00:21:40 +0000 (00:21 +0000)]
wx build fixes. Fix the config name under git and allow users to specify
their own waf install for experimenting with new versions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoREGRESSION: fast/workers/worker-cloneport.html failing intermttently on leopard bot
atwilson@chromium.org [Sat, 19 Sep 2009 00:18:46 +0000 (00:18 +0000)]
REGRESSION: fast/workers/worker-cloneport.html failing intermttently on leopard bot
https://bugs.webkit.org/show_bug.cgi?id=29341

Reviewed by Eric Seidel.

* fast/workers/worker-cloneport-expected.txt:
Updated to reflect new output (lower clone count threshold).
* fast/workers/worker-cloneport.html:
Updated test to have a more lenient performance requirement and timeout, to address flakiness on Leopard and Chromium.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48543 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoImplement ES5 Object.defineProperty function
oliver@apple.com [Fri, 18 Sep 2009 23:12:03 +0000 (23:12 +0000)]
Implement ES5 Object.defineProperty function
https://bugs.webkit.org/show_bug.cgi?id=29503

Reviewed by Geoff Garen

Implement Object.defineProperty.  This requires adding the API to
ObjectConstructor, along with a helper function that implements the
ES5 internal [[ToPropertyDescriptor]] function.  It then adds
JSObject::defineOwnProperty that implements the appropriate ES5 semantics.
Currently defineOwnProperty uses a delete followed by a put to redefine
attributes of a property, clearly this is less efficient than it could be
but we can improve this if it needs to be possible in future.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48542 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSpeculative fix for:
beidson@apple.com [Fri, 18 Sep 2009 22:25:23 +0000 (22:25 +0000)]
Speculative fix for:
https://bugs.webkit.org/show_bug.cgi?id=29322
and
https://bugs.webkit.org/show_bug.cgi?id=29505

Reviewed by Alexey Proskuryakov.

Adding a "Connection: close" header might make the tests work more reliably,
and doesn't seem to make anything worse: They all continue to pass on my machine!

* http/tests/loading/resources/basic-auth-testing.php:
* http/tests/loading/resources/othersubresources/protected-resource.php:
* http/tests/loading/resources/protected-resource.php:
* http/tests/loading/resources/subresources/protected-resource.php:
* http/tests/xmlhttprequest/resources/cross-origin-authorization.php:
* http/tests/xmlhttprequest/resources/cross-origin-check-cookies.php:
* http/tests/xmlhttprequest/resources/cross-origin-no-authorization.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48541 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago Reviewed by Darin Adler.
ap@apple.com [Fri, 18 Sep 2009 22:24:50 +0000 (22:24 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=29510
        Active DOM objects should be suspended while a modal dialog is displayed

        * manual-tests/js-timers-beneath-modal-dialog.html: Added a test for JS timers.

        * page/PageGroupLoadDeferrer.cpp:
        (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
        (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
        Match other platforms, and make Mac also suspend active DOM objects. Since a page that
        currently displays a modal dialog cannot go into page cache, there is no danger of suspending
        an object twice.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48540 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Alpha Lam <hclam@chromium.org>
eric@webkit.org [Fri, 18 Sep 2009 22:20:01 +0000 (22:20 +0000)]
2009-09-18  Alpha Lam  <hclam@chromium.org>

        Reviewed by Eric Carlson.

        Media layout tests should have a way to provide test files in different formats
        https://bugs.webkit.org/show_bug.cgi?id=28327

        Updating 25 media layout tests to use media files based on supported codecs.

        * media/progress-event-at-least-one.html: Use findMediaFile() to locate a supported media file.
        * media/video-pause-empty-events.html: ditto.
        * media/video-play-empty-events.html: ditto.
        * media/video-play-pause-events.html: ditto.
        * media/video-played-collapse.html: ditto.
        * media/video-played-ranges-1.html: ditto.
        * media/video-played-reset.html: ditto.
        * media/video-played.js: ditto.
        (videoPlayedMain):
        * media/video-seek-past-end-paused.html: ditto.
        * media/video-seek-past-end-playing.html: ditto.
        * media/video-seekable.html: ditto.
        * media/video-seeking.html: ditto.
        * media/video-size.html: ditto.
        * media/video-source-error.html: ditto.
        * media/video-source-type-params.html: ditto.
        * media/video-source-type.html: ditto.
        * media/video-source.html: ditto.
        * media/video-src-change.html: ditto.
        * media/video-src-invalid-remove.html: ditto.
        * media/video-src-remove.html: ditto. Use counting.mp4 instead of silence.mpg.
        * media/video-src-remove-expected.txt: Updated results.
        * media/video-src-set.html: ditto.
        * media/video-src-source.html: ditto.
        * media/video-src.html: ditto.
        * media/video-timeupdate-during-playback.html: ditto.
        * media/video-volume.html: ditto.
        * media/video-zoom.html: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
eric@webkit.org [Fri, 18 Sep 2009 22:12:14 +0000 (22:12 +0000)]
2009-09-18  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>

        Reviewed by Eric Seidel.

        [Qt] Buildfix caused by http://trac.webkit.org/changeset/48513
        https://bugs.webkit.org/show_bug.cgi?id=29351

        * bridge/qt/qt_instance.h: createRuntimeObject method renamed to newRuntimeObject.
        * bridge/runtime.h: Visibility of newRuntimeObject method modified to protected.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48538 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAdd failing tests to the skipped list.
andersca@apple.com [Fri, 18 Sep 2009 22:04:04 +0000 (22:04 +0000)]
Add failing tests to the skipped list.

* platform/mac-snowleopard/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48537 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Yury Semikhatsky <yurys@chromium.org>
eric@webkit.org [Fri, 18 Sep 2009 21:58:39 +0000 (21:58 +0000)]
2009-09-18  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Timothy Hatcher.

        Fix parameter substitutions in console.log().

        https://bugs.webkit.org/show_bug.cgi?id=29366

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._format):
        * inspector/front-end/InjectedScript.js:
        (InjectedScript.getPrototypes):
        (InjectedScript.CallFrameProxy.prototype._wrapScopeChain):
        * inspector/front-end/utilities.js:
        ():

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoVersioning.
mrowe@apple.com [Fri, 18 Sep 2009 21:39:42 +0000 (21:39 +0000)]
Versioning.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48535 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoTemporarily remove an assertion that was getting hit when going
weinig@apple.com [Fri, 18 Sep 2009 21:34:54 +0000 (21:34 +0000)]
Temporarily remove an assertion that was getting hit when going
back to a page in the page cache while a banner in Safari was visible.
We should re-enable this once that is fixed. See <rdar://problem/7218118>

Reviewed by Geoffrey Garen and Brady Eidson.

* page/FrameView.cpp:
(WebCore::FrameView::scheduleRelayout):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48533 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoTry fixing the build again.
andersca@apple.com [Fri, 18 Sep 2009 21:28:40 +0000 (21:28 +0000)]
Try fixing the build again.

* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::wndProc):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix windows build.
andersca@apple.com [Fri, 18 Sep 2009 21:23:55 +0000 (21:23 +0000)]
Fix windows build.

* platform/win/PopupMenuWin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoConvert another callback type object to store the global object
weinig@apple.com [Fri, 18 Sep 2009 20:56:37 +0000 (20:56 +0000)]
Convert another callback type object to store the global object
instead of the frame.

Reviewed by Gavin 'BearClaw' Barraclough.

* bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::create):
(WebCore::JSCustomXPathNSResolver::JSCustomXPathNSResolver):
(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
* bindings/js/JSCustomXPathNSResolver.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48530 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=29332
andersca@apple.com [Fri, 18 Sep 2009 20:52:01 +0000 (20:52 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=29332
<rdar://problem/7231652>
REGRESSION (r48446): While a <select> popup menu is open, the
rest of the WebView doesn't respond to mouse move events.

Reviewed by Sam Weinig.

* platform/win/PopupMenuWin.cpp:
(WebCore::translatePoint):
New helper function that translates a point between HWND coordinates.

(WebCore::PopupMenu::show):
Protect the PopupMenu if someone removes the <select> in response to a mouse
event. Handle WM_HOST_WINDOW_MOUSEMOVE events.

(WebCore::PopupMenu::wndProc):
in the WM_MOUSEMOVE handler, if the mouse is not over the popup, post a
WM_HOST_WINDOW_MOUSEMOVE event so that the host window (the WebView) gets the
mouse move event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48529 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Norbert Leser <norbert.leser@nokia.com>
eric@webkit.org [Fri, 18 Sep 2009 20:49:10 +0000 (20:49 +0000)]
2009-09-18  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Eric Seidel.

        Corrected the Symbian specific UID3 values to be assigned
        from the "unprotected" pool that permits self-signing of
        those test and demo executables. (Added new UID3 values
        where they were missing for new components.)

        * QGVLauncher/QGVLauncher.pro:
        * QtLauncher/QtLauncher.pro:
        * tests/benchmarks/loading/tst_loading.pro:
        * tests/benchmarks/painting/tst_painting.pro:
        * tests/qwebelement/qwebelement.pro:
        * tests/qwebframe/qwebframe.pro:
        * tests/qwebhistory/qwebhistory.pro:
        * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
        * tests/qwebpage/qwebpage.pro:
        * tests/qwebplugindatabase/qwebplugindatabase.pro:
        * tests/qwebview/qwebview.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Gabor Loki <loki@inf.u-szeged.hu>
barraclough@apple.com [Fri, 18 Sep 2009 20:35:30 +0000 (20:35 +0000)]
2009-09-18  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Gavin Barraclough.

        Build fix to enable ARM_THUMB2 on Linux
        https://bugs.webkit.org/show_bug.cgi?id=

        * jit/ExecutableAllocator.h:
        (JSC::ExecutableAllocator::cacheFlush):
        * jit/JITStubs.cpp:
        * wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48527 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 18 Sep 2009 20:30:32 +0000 (20:30 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Compositing layers are incorrectly positioned after scrolling with position:fixed
        https://bugs.webkit.org/show_bug.cgi?id=29262

        When scrolling a page with compositing layers inside a position:fixed element,
        we need to update the compositing layer positions when the scroll position changes.

        Test: compositing/geometry/fixed-position.html

        * WebCore.base.exp:
        Export FrameView::scrollPositionChanged()

        * page/FrameView.h:
        * page/FrameView.cpp:
        (WebCore::FrameView::scrollPositionChanged):
        New method that sends the scroll event, and updates compositing layers positions if necessary.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48526 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Gabor Loki <loki@inf.u-szeged.hu>
barraclough@apple.com [Fri, 18 Sep 2009 20:18:27 +0000 (20:18 +0000)]
2009-09-18  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Gavin Barraclough.

        Defines two pseudo-platforms for ARM and Thumb-2 instruction set.
        https://bugs.webkit.org/show_bug.cgi?id=29122

        Introduces WTF_PLATFORM_ARM_TRADITIONAL and WTF_PLATFORM_ARM_THUMB2
        macros on ARM platforms. The PLATFORM(ARM_THUMB2) should be used
        when Thumb-2 instruction set is the required target. The
        PLATFORM(ARM_TRADITIONAL) is for generic ARM instruction set. In
        case where the code is common the PLATFORM(ARM) have to be used.

        * assembler/ARMAssembler.cpp:
        * assembler/ARMAssembler.h:
        * assembler/ARMv7Assembler.h:
        * assembler/MacroAssembler.h:
        * assembler/MacroAssemblerARM.cpp:
        * assembler/MacroAssemblerARM.h:
        * assembler/MacroAssemblerCodeRef.h:
        (JSC::MacroAssemblerCodePtr::MacroAssemblerCodePtr):
        * jit/ExecutableAllocator.h:
        * jit/JIT.h:
        * jit/JITInlineMethods.h:
        (JSC::JIT::beginUninterruptedSequence):
        (JSC::JIT::preserveReturnAddressAfterCall):
        (JSC::JIT::restoreReturnAddressBeforeReturn):
        (JSC::JIT::restoreArgumentReference):
        (JSC::JIT::restoreArgumentReferenceForTrampoline):
        * jit/JITOpcodes.cpp:
        * jit/JITStubs.cpp:
        (JSC::JITThunks::JITThunks):
        * jit/JITStubs.h:
        * wtf/Platform.h:
        * yarr/RegexJIT.cpp:
        (JSC::Yarr::RegexGenerator::generateEnter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48525 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 18 Sep 2009 20:15:15 +0000 (20:15 +0000)]
2009-09-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Transformed elements inside position:fixed container are clipped incorrectly
        https://bugs.webkit.org/show_bug.cgi?id=29346

        Fix clipping and hit testing on transformed elements inside a position:fixed element.
        Previously, the code used the overflowClipRect of the parent clip rects, but
        this is not correct for fixed postion elements. Instead, share code that is
        already present in calculateRects() to get the correct rect.

        Test: fast/overflow/position-fixed-transform-clipping.html

        * rendering/RenderLayer.h:
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::paintLayer):
        (WebCore::RenderLayer::hitTestLayer):
        Call the new backgroundClipRect() to get the correct clipRect.

        (WebCore::RenderLayer::backgroundClipRect):
        New method, factored out of calculateRects(), that computes the clip rect,
        doing the right thing for fixed position elements.

        (WebCore::RenderLayer::calculateRects):
        Call the new backgroundClipRect() method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48524 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoUpdated test result for <rdar://problem/7050773>
mitz@apple.com [Fri, 18 Sep 2009 19:41:59 +0000 (19:41 +0000)]
Updated test result for <rdar://problem/7050773>

* platform/mac/accessibility/document-attributes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Alex Milowski <alex@milowski.com>
eric@webkit.org [Fri, 18 Sep 2009 19:06:13 +0000 (19:06 +0000)]
2009-09-18  Alex Milowski  <alex@milowski.com>

        Reviewed by Maciej Stachowiak.

        Added checkWebCoreMathMLSupport and hasMathMLSupport to support
        checking for whether MathML tests should be run

        * Scripts/run-webkit-tests:
        * Scripts/webkitdirs.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48522 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: Fix <rdar://problem/7050773> REGRESSION (r40098) Crash at
mitz@apple.com [Fri, 18 Sep 2009 19:00:28 +0000 (19:00 +0000)]
WebCore: Fix <rdar://problem/7050773> REGRESSION (r40098) Crash at
WebCore::RenderBlock::layoutBlock()
https://bugs.webkit.org/show_bug.cgi?id=29498

Reviewed by Darin Adler.

Test: accessibility/nested-layout-crash.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::updateBackingStore): Changed to
    call Document::updateLayoutIgnorePendingStylesheets() instead of
    calling RenderObject::layoutIfNeeded(). The latter requires that
    there be no pending style recalc, which allows methods that call
    Document::updateLayout() to be called during layout without risking
    re-entry into layout.
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityActionNames]): Null-check
    m_object after calling updateBackingStore(), since style recalc may
    destroy the renderer, which destroys the accessibility object and
    detaches it from the wrapper.
(-[AccessibilityObjectWrapper accessibilityAttributeNames]): Ditto.
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]): Ditto.
(-[AccessibilityObjectWrapper accessibilityFocusedUIElement]): Ditto.
(-[AccessibilityObjectWrapper accessibilityHitTest:]): Ditto.
(-[AccessibilityObjectWrapper accessibilityIsAttributeSettable:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityIsIgnored]): Ditto.
(-[AccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
     Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformPressAction]): Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformIncrementAction]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformDecrementAction]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityPerformAction:]): Ditto.
(-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityIndexOfChild:]): Ditto.
(-[AccessibilityObjectWrapper accessibilityArrayAttributeCount:]):
    Ditto.
(-[AccessibilityObjectWrapper accessibilityArrayAttributeValues:index:maxCount:]):
    Ditto.

LayoutTests: Test for <rdar://problem/7050773> REGRESSION (r40098) Crash at
WebCore::RenderBlock::layoutBlock()
https://bugs.webkit.org/show_bug.cgi?id=29498

Reviewed by Darin Adler.

* accessibility/nested-layout-crash-expected.txt: Added.
* accessibility/nested-layout-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Fumitoshi Ukai <ukai@chromium.org>
eric@webkit.org [Fri, 18 Sep 2009 18:57:13 +0000 (18:57 +0000)]
2009-09-18  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Simon Hausmann.

        Update Qt build system for Web Socket.
        https://bugs.webkit.org/show_bug.cgi?id=29270

        * WebCore.pro:
        * platform/network/qt/SocketStreamError.h: Added.
        * platform/network/qt/SocketStreamHandle.h: Added.
        * platform/network/qt/SocketStreamHandleSoup.cpp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Fri, 18 Sep 2009 18:45:06 +0000 (18:45 +0000)]
2009-09-18  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Darin Adler.

        NULL check HTMLMediaElement::m_playedTimeRanges.
        Fix for https://bugs.webkit.org/show_bug.cgi?id=29494

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::addPlayedRange): New. Create m_playedTimeRanges if
        necessary, add range specified.
        (WebCore::HTMLMediaElement::seek): Use addPlayedRange.
        (WebCore::HTMLMediaElement::played): Use addPlayedRange. Change time comparison
        to be more readable.
        (WebCore::HTMLMediaElement::updatePlayState): Ditto.
        * html/HTMLMediaElement.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Fri, 18 Sep 2009 18:30:21 +0000 (18:30 +0000)]
2009-09-18  Xan Lopez  <xlopez@igalia.com>

        Build fix.

        Add missing file to the repository.

        * tests/testhittestresult.c: Added.
        (test_info_new):
        (test_info_destroy):
        (hit_test_result_fixture_setup):
        (hit_test_result_fixture_teardown):
        (load_status_cb):
        (test_webkit_hit_test_result):
        (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAdded bug number.
darin@apple.com [Fri, 18 Sep 2009 18:17:22 +0000 (18:17 +0000)]
Added bug number.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSome small steps toward improving run-webkit-tests. My goal is to
darin@apple.com [Fri, 18 Sep 2009 18:16:53 +0000 (18:16 +0000)]
Some small steps toward improving run-webkit-tests. My goal is to
refactor much more of the script into functions. Later we can add
parallel test running to the tool. But better structure may help
even if someone decides to translate this into another scripting
language instead.

Patch by Darin Adler <darin@apple.com> on 2009-08-28
Reviewed by Mark Rowe.

* Scripts/run-webkit-tests: Break more pieces of the script into
seprate functions. Added readSkippedFiles, findTestsToRun, and
printResults functions. Removed custom code to skip results.html
and instead just put it into the ignoredFiles hash. Fixed some
indentation. Sorted function declarations, global variables,
and options at the top of the file alphabetically so they're not
in a semi-random order.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: Follow up fix for https://bugs.webkit.org/show_bug.cgi?id=29276
weinig@apple.com [Fri, 18 Sep 2009 18:01:59 +0000 (18:01 +0000)]
WebCore: Follow up fix for https://bugs.webkit.org/show_bug.cgi?id=29276
REGRESSION(r48334): WebKit crashes on file select by drag

Reviewed by Adele Peterson.

Don't use Document.elementFromPoint since it returns null if the point
is outside the viewport.  Instead, just hit test ourselves.

Test: fast/events/drag-file-crash.html

* page/DragController.cpp:
(WebCore::elementUnderMouse):
(WebCore::DragController::tryDocumentDrag):
(WebCore::DragController::concludeEditDrag):

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=29276
REGRESSION(r48334): WebKit crashes on file select by drag

Reviewed by Adele Peterson.

* fast/events/drag-file-crash-expected.txt: Added.
* fast/events/drag-file-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix date on a change log entry.
darin@apple.com [Fri, 18 Sep 2009 17:48:55 +0000 (17:48 +0000)]
Fix date on a change log entry.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoEach wrapped Objective-C object should use a single RuntimeObjectImp
darin@apple.com [Fri, 18 Sep 2009 17:48:23 +0000 (17:48 +0000)]
Each wrapped Objective-C object should use a single RuntimeObjectImp
https://bugs.webkit.org/show_bug.cgi?id=29351
rdar://problem/7142294

Patch by Darin Adler <darin@apple.com> on 2009-09-18
Reviewed by Sam Weinig.

* WebCore.base.exp: Added a newly-needed exported symbol.

* bindings/objc/DOMInternal.h: Eliminated unused
createWrapperCacheWithIntegerKeys; it has not been needed since the
RGBColor wrappers were reworked.
* bindings/objc/DOMInternal.mm: Ditto.

* bridge/objc/objc_instance.h: Made the create function non-inline.
* bridge/objc/objc_instance.mm:
(createInstanceWrapperCache): Added. Creates an appropriate map table.
(ObjcInstance::create): Moved here from header. Uses NSMapGet and
NSMapInsert to cache the instance in a map table.
(ObjcInstance::~ObjcInstance): Added a call to NSMapRemove to remove
the instance from the map table.

* bridge/qt/qt_instance.cpp:
(JSC::Bindings::QtInstance::~QtInstance): Remove unneeded code to remove
the instance from cachedObjects, which no longer exists.
(JSC::Bindings::QtInstance::newRuntimeObject): Renamed to overload new
bottleneck. Caching is now handled by the base class.

* bridge/runtime.cpp:
(JSC::Bindings::Instance::Instance): Initialize m_runtimeObject to 0.
(JSC::Bindings::Instance::~Instance): Assert m_runtimeObject is 0.
(JSC::Bindings::Instance::createRuntimeObject): Use m_runtimeObject
if it's already set. Set m_runtimeObject and call addRuntimeObject
if it's not.
(JSC::Bindings::Instance::newRuntimeObject): Added. Virtual function,
used only by createRuntimeObject.
(JSC::Bindings::Instance::willDestroyRuntimeObject): Added.
Calls removeRuntimeObject and then clears m_runtimeObject.
(JSC::Bindings::Instance::willInvalidateRuntimeObject): Added.
Clears m_runtimeObject.

* bridge/runtime.h: Made createRuntimeObject non-virtual. Added
willDestroyRuntimeObject, willInvalidateRuntimeObject,
newRuntimeObject, and m_runtimeObject.

* bridge/runtime_object.cpp:
(JSC::RuntimeObjectImp::RuntimeObjectImp): Removed addRuntimeObject
call, now handled by caller.
(JSC::RuntimeObjectImp::~RuntimeObjectImp): Replaced removeRuntimeObject
call with willDestroyRuntimeObject call; the latter nows calls
removeRuntimeObject.
(JSC::RuntimeObjectImp::invalidate): Added willInvalidateRuntimeObject
call.

* bridge/runtime_object.h: Made invalidate non-virtual.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Gtk] Unreviewed build fix.
kenneth@webkit.org [Fri, 18 Sep 2009 17:46:09 +0000 (17:46 +0000)]
[Gtk] Unreviewed build fix.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-18
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::platformPageClient):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoMake PlatformWindow return something else than PlatformWidget
kenneth@webkit.org [Fri, 18 Sep 2009 17:34:17 +0000 (17:34 +0000)]
Make PlatformWindow return something else than PlatformWidget
https://bugs.webkit.org/show_bug.cgi?id=29085

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-17
Reviewed by Simon Hausmann.

WebCore:

Make platformWindow return a PlatformPageClient
(for now typedef'ed to PlatformWidget)

Also, change the name of platformWindow to platformPageClient()

* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(getPangoLayoutForAtk):
* accessibility/win/AXObjectCacheWin.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
* loader/EmptyClients.h:
(WebCore::EmptyChromeClient::platformPageClient):
* page/Chrome.cpp:
(WebCore::Chrome::platformPageClient):
* page/Chrome.h:
* page/ChromeClient.h:
* page/mac/EventHandlerMac.mm:
(WebCore::EventHandler::wheelEvent):
(WebCore::EventHandler::currentPlatformMouseEvent):
(WebCore::EventHandler::sendContextMenuEvent):
(WebCore::EventHandler::eventMayStartDrag):
* platform/HostWindow.h:
* platform/Widget.h:
* platform/gtk/PlatformScreenGtk.cpp:
(WebCore::getVisual):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
* platform/gtk/PopupMenuGtk.cpp:
(WebCore::PopupMenu::show):
* platform/gtk/ScrollViewGtk.cpp:
(WebCore::ScrollView::platformAddChild):
(WebCore::ScrollView::platformRemoveChild):
(WebCore::ScrollView::visibleContentRect):
* platform/gtk/WidgetGtk.cpp:
(WebCore::Widget::setFocus):
(WebCore::Widget::setCursor):
* platform/qt/PlatformScreenQt.cpp:
(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenIsMonochrome):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
* platform/qt/PopupMenuQt.cpp:
(WebCore::PopupMenu::show):
* platform/qt/WidgetQt.cpp:
(WebCore::Widget::setCursor):
* platform/win/PlatformScreenWin.cpp:
(WebCore::monitorInfoForWidget):
* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenu::show):
(WebCore::PopupMenu::calculatePositionAndSize):
(WebCore::PopupMenu::wndProc):
* platform/wx/RenderThemeWx.cpp:
(WebCore::nativeWindowForRenderObject):
* platform/wx/ScrollbarThemeWx.cpp:
(WebCore::ScrollbarThemeWx::paint):
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::getValue):
(WebCore::PluginView::forceRedraw):
(WebCore::PluginView::platformStart):
* plugins/mac/PluginViewMac.cpp:
(WebCore::PluginView::platformStart):
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::handleKeyboardEvent):
(WebCore::PluginView::getValue):
(WebCore::PluginView::platformStart):
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::getValue):
(WebCore::PluginView::forceRedraw):
(WebCore::PluginView::platformStart):

WebKit/gtk:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::platformPageClient):
(WebKit::ChromeClient::runOpenPanel):
* WebCoreSupport/ChromeClientGtk.h:
* webkit/webkitprivate.cpp:
(currentToplevelCallback):
* webkit/webkitwebview.cpp:
(webkit_web_view_popup_menu_handler):

WebKit/haiku:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/ChromeClientHaiku.cpp:
(WebCore::ChromeClientHaiku::platformPageClient):
* WebCoreSupport/ChromeClientHaiku.h:

WebKit/mac:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/WebChromeClient.h:
* WebCoreSupport/WebChromeClient.mm:
(WebChromeClient::platformPageClient):

WebKit/qt:

Reflect the rename of platformWindow and it's return type.

* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::platformPageClient):
* WebCoreSupport/ChromeClientQt.h:

WebKit/win:

Reflect the rename of platformWindow and it's return type.

* AccessibleBase.cpp:
(AccessibleBase::get_accParent):
* WebCoreSupport/WebChromeClient.cpp:
(WebChromeClient::platformPageClient):
* WebCoreSupport/WebChromeClient.h:

WebKit/wx:

Reflect the rename of platformWindow and it's return type.

* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::platformPageClient):
* WebKitSupport/ChromeClientWx.h:
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isEditable):
(WebCore::EditorClientWx::registerCommandForUndo):
(WebCore::EditorClientWx::registerCommandForRedo):
(WebCore::EditorClientWx::clearUndoRedoOperations):
(WebCore::EditorClientWx::canUndo):
(WebCore::EditorClientWx::canRedo):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Web inspector UI adjustments specific to the Qt platform:
hausmann@webkit.org [Fri, 18 Sep 2009 15:47:34 +0000 (15:47 +0000)]
[Qt] Web inspector UI adjustments specific to the Qt platform:
- Hide the close button
- Hide the dock button
- Disable the draggable toolbar

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=29384

* inspector/front-end/inspector.css:
* inspector/front-end/inspector.js:
(WebInspector.toolbarDragStart):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix the Qt/Windows CE build.
hausmann@webkit.org [Fri, 18 Sep 2009 15:34:46 +0000 (15:34 +0000)]
Fix the Qt/Windows CE build.

Patch by Joerg Bornemann <joerg.bornemann@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

* JavaScriptCore.pri: Build the ce_time.cpp functions from
within Qt externally.
* wtf/DateMath.cpp: Removed unnecessary Qt #ifdef, for the
Qt build these functions are no external, too.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoQtWebKit Windows CE compile fixes
hausmann@webkit.org [Fri, 18 Sep 2009 14:28:13 +0000 (14:28 +0000)]
QtWebKit Windows CE compile fixes

Patch by Joerg Bornemann <joerg.bornemann@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

Exclude certain pure-WINCE specific code paths from the Qt build.

* platform/graphics/BitmapImage.h:
* platform/graphics/FontCache.h:
* platform/graphics/MediaPlayer.cpp:
* platform/text/TextEncodingRegistry.cpp:
(WebCore::buildBaseTextCodecMaps):
(WebCore::extendTextCodecMaps):
* plugins/PluginView.cpp:
(WebCore::PluginView::stop): Guard this code block with NETSCAPE_PLUGIN_API as
the corresponding PluginViewWndProc has the same guard in the header file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Fri, 18 Sep 2009 14:08:54 +0000 (14:08 +0000)]
2009-09-18  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Jan Alonzo.

        Document webkit_web_view_stop_loading.

        * webkit/webkitwebview.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Fri, 18 Sep 2009 13:53:22 +0000 (13:53 +0000)]
2009-09-18  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha and Jan Alonzo.

        [GTK] context menu overriding API is very limited
        https://bugs.webkit.org/show_bug.cgi?id=27546

        Add new tests to the build.

        * GNUmakefile.am:

WebKit/gtk:

2009-09-18  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha and Jan Alonzo.

        [GTK] context menu overriding API is very limited
        https://bugs.webkit.org/show_bug.cgi?id=27546

        Add webkit_web_view_get_hit_test_result, a function to get a hit
        test result from a GdkEventButton. Useful to let applications
        decide between several actions on button press depending on what
        is being pressed.

        * webkit/webkitwebview.cpp:
        (webkit_web_view_stop_loading):
        (documentPointForWindowPoint):
        (webkit_web_view_get_hit_test_result):
        * webkit/webkitwebview.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-14 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Fri, 18 Sep 2009 13:53:10 +0000 (13:53 +0000)]
2009-09-14  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha and Jan Alonzo.

        [GTK] context menu overriding API is very limited
        https://bugs.webkit.org/show_bug.cgi?id=27546

        Add WebKitHitTestResult to the build.

        * GNUmakefile.am:

WebKit/gtk:

2009-09-18  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha and Jan Alonzo.

        [GTK] context menu overriding API is very limited
        https://bugs.webkit.org/show_bug.cgi?id=27546

        Add WebKitHitTestResult, a wrapper over HitTestResult. It contains
        context information about a point in the web page.

        * webkit/webkit.h:
        * webkit/webkitdefines.h:
        * webkit/webkithittestresult.cpp: Added.
        (webkit_hit_test_result_finalize):
        (webkit_hit_test_result_get_property):
        (webkit_hit_test_result_set_property):
        (webkit_hit_test_result_class_init):
        (webkit_hit_test_result_init):
        * webkit/webkithittestresult.h: Added.
        * webkit/webkitprivate.cpp:
        (WebKit::kit):
        * webkit/webkitprivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Add persistence support for configuration options in the
hausmann@webkit.org [Fri, 18 Sep 2009 13:01:54 +0000 (13:01 +0000)]
[Qt] Add persistence support for configuration options in the
inspector.

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

* Api/qwebinspector.cpp:
* QtLauncher/main.cpp:
(main):
* WebCoreSupport/InspectorClientQt.cpp:
(WebCore::InspectorClientQt::populateSetting):
(WebCore::InspectorClientQt::storeSetting):
(WebCore::variantToSetting):
(WebCore::settingToVariant):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48504 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-18 Steve Block <steveblock@google.com>
eric@webkit.org [Fri, 18 Sep 2009 09:35:20 +0000 (09:35 +0000)]
2009-09-18  Steve Block  <steveblock@google.com>

        Reviewed by Dimitri Glazkov.

        Geolocation does not correctly handle Infinity for PositionOptions properties.
        https://bugs.webkit.org/show_bug.cgi?id=29099

        * fast/dom/Geolocation/resources/argument-types.js: Modified. Test passing positive and negative Infinity to Geolocation methods.
        * fast/dom/Geolocation/argument-types-expected.txt: Modified. Expected result for above test.
2009-09-18  Steve Block  <steveblock@google.com>

        Reviewed by Dimitri Glazkov.

        Geolocation does not correctly handle Infinity for PositionOptions properties.
        https://bugs.webkit.org/show_bug.cgi?id=29099

        * bindings/js/JSGeolocationCustom.cpp: Modified.
        (WebCore::createPositionOptions): Modified. If timeout or maximumAge is positive infinity, applies these values as a special case.
        * page/PositionOptions.h: Modified.
        (WebCore::PositionOptions::hasMaximumAge): Added. Determines whether the object has a maximum age.
        (WebCore::PositionOptions::maximumAge): Modified. Asserts that the object has a maximum age.
        (WebCore::PositionOptions::clearMaximumAge): Added. Clears the maximum age.
        (WebCore::PositionOptions::setMaximumAge): Modified. Registers that the maximum age has been set.
        (WebCore::PositionOptions::PositionOptions): Modified. Registers that the maximum age has been set.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFixed a bunch of documentation warnings.
hausmann@webkit.org [Fri, 18 Sep 2009 09:18:24 +0000 (09:18 +0000)]
Fixed a bunch of documentation warnings.

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2009-09-18
Reviewed by Ariya Hidayat.

* Api/qwebgraphicsitem.cpp:
* Api/qwebplugindatabase.cpp:
* Api/qwebpluginfactory.cpp:
* Api/qwebsecurityorigin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48502 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAdded a test that console output works.
hausmann@webkit.org [Fri, 18 Sep 2009 08:45:04 +0000 (08:45 +0000)]
Added a test that console output works.

Patch by Warwick Allison <warwick.allison@nokia.com> on 2009-09-18
Reviewed by Simon Hausmann.

* tests/qwebpage/tst_qwebpage.cpp:
(ConsolePage::ConsolePage):
(ConsolePage::javaScriptConsoleMessage):
(tst_QWebPage::consoleOutput):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=29276
weinig@apple.com [Fri, 18 Sep 2009 05:21:11 +0000 (05:21 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=29276
REGRESSION(r48334): WebKit crashes on file select by drag

Reviewed by Adele Peterson.

Document.elementFromPoint now takes point in client space, not page space.

* page/DragController.cpp:
(WebCore::DragController::tryDocumentDrag):
(WebCore::DragController::concludeEditDrag):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48500 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Albert J. Wong <ajwong@chromium.org>
ajwong@chromium.org [Fri, 18 Sep 2009 01:32:04 +0000 (01:32 +0000)]
2009-09-17  Albert J. Wong  <ajwong@chromium.org>

        Reviewed by David Levin.

        Reimplement default media UI for Mac Chromium to match the style
        of the Windows and Linux versions.  Also breaks the dependency
        on the internal wk* functions that were previously used to
        render the media controller widgets.
        https://bugs.webkit.org/show_bug.cgi?id=29161

        No media layout tests are currently enabled in Mac Chromium, so
        nothing needs rebaselineing, etc.

        This is a recommit of r48438 with a compile fix and merges of
        recent changes to the file.

        * css/mediaControlsChromium.css:
        * rendering/RenderThemeChromiumMac.h:
        * rendering/RenderThemeChromiumMac.mm:
        (WebCore::mediaElementParent):
        (WebCore::RenderThemeChromiumMac::extraMediaControlsStyleSheet):
        (WebCore::mediaSliderThumbImage):
        (WebCore::mediaVolumeSliderThumbImage):
        (WebCore::RenderThemeChromiumMac::paintSliderTrack):
        (WebCore::RenderThemeChromiumMac::adjustSliderThumbSize):
        (WebCore::RenderThemeChromiumMac::paintMediaButtonInternal):
        (WebCore::RenderThemeChromiumMac::paintMediaPlayButton):
        (WebCore::RenderThemeChromiumMac::paintMediaMuteButton):
        (WebCore::RenderThemeChromiumMac::paintMediaSliderTrack):
        (WebCore::RenderThemeChromiumMac::paintMediaVolumeSliderTrack):
        (WebCore::RenderThemeChromiumMac::paintMediaSliderThumb):
        (WebCore::RenderThemeChromiumMac::paintMediaVolumeSliderThumb):
        (WebCore::RenderThemeChromiumMac::paintMediaControlsBackground):
        * rendering/RenderThemeChromiumSkia.cpp:
        (WebCore::RenderThemeChromiumSkia::adjustSliderThumbSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48499 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Brian Weinstein <bweinstein@apple.com>
bweinstein@apple.com [Fri, 18 Sep 2009 00:06:08 +0000 (00:06 +0000)]
2009-09-17  Brian Weinstein  <bweinstein@apple.com>

        Rubber-stamped by Steve Falkenburg.

        Add failing test on both Windows Debug and Release to the
        Windows Skipped List.

        http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception.html is
        being tracked by <https://bugs.webkit.org/show_bug.cgi?id=29353>.

        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48498 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Brian Weinstein <bweinstein@apple.com>
bweinstein@apple.com [Thu, 17 Sep 2009 23:59:31 +0000 (23:59 +0000)]
2009-09-17  Brian Weinstein  <bweinstein@apple.com>

        Reviewed by Timothy Hatcher.

        The Console scope bar should have a divider between All and the other possible
        values (Errors, Warnings, Logs). It will look something like:

        All | Errors Warnings Logs.

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.createDividerElement):
        (WebInspector.ConsoleView):
        * inspector/front-end/inspector.css:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48497 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Brian Weinstein <bweinstein@apple.com>
bweinstein@apple.com [Thu, 17 Sep 2009 23:03:31 +0000 (23:03 +0000)]
2009-09-17  Brian Weinstein  <bweinstein@apple.com>

        Reviewed by Adam Roben.

        Remove assertions that were being hit by calls to
        m_verticalScrollbar->invalidate(). These assertions were valid,
        but they were causing tests to fail, so replacing with a FIXME
        until we can find out the real cause/solution that is being tracked
        by http://webkit.org/b/29350.

        * WebView.cpp:
        (WebView::addToDirtyRegion):
        (WebView::paintIntoBackingStore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48496 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRemove additional references to JSVoidCallback which no longer exists.
weinig@apple.com [Thu, 17 Sep 2009 22:54:45 +0000 (22:54 +0000)]
Remove additional references to JSVoidCallback which no longer exists.

Reviewed by Mark Rowe.

* DerivedSources.cpp:
* WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48495 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Alpha Lam <hclam@chromium.org>
eric@webkit.org [Thu, 17 Sep 2009 22:48:32 +0000 (22:48 +0000)]
2009-09-17  Alpha Lam  <hclam@chromium.org>

        Reviewed by Eric Carlson.

        Media layout tests should have a way to provide test files in different formats
        https://bugs.webkit.org/show_bug.cgi?id=28327

        Updating 19 media layout tests to use media files based on supported codecs.

        * media/media-file.js: Prefer .wav over other formats as this is used the most in tests for mac port.
        Most of audio tests use media/content/test.wav as test file for mac, so this change would make sure
        findMediaFile() will return test.wav but not test.mp3 or other formats.
        (setSrcById): Fixing bug in code.
        * media/video-canvas-source.html: Use findMediaFile() to locate a media file based on supported types.
        * media/video-click-dblckick-standalone.html: ditto.
        * media/video-controls-transformed.html: ditto.
        * media/video-controls-visible-audio-only.html: ditto.
        * media/video-controls-zoomed.html: ditto.
        * media/video-controls.html: ditto.
        * media/video-currentTime-set.html: ditto.
        * media/video-currentTime-set2.html: ditto.
        * media/video-currentTime.html: ditto.
        * media/video-display-none-crash.html: ditto.
        * media/video-display-toggle.html: ditto.
        * media/video-dom-autoplay.html: ditto.
        * media/video-dom-src.html: ditto.
        * media/video-error-abort.html: ditto.
        * media/video-load-networkState.html: ditto.
        * media/video-load-readyState.html: ditto.
        * media/video-loop.html: ditto.
        * media/video-muted.html: ditto.
        * media/video-no-autoplay.html: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48494 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRemove commented out onhashchange attribute now that it is implemented.
weinig@apple.com [Thu, 17 Sep 2009 22:48:10 +0000 (22:48 +0000)]
Remove commented out onhashchange attribute now that it is implemented.

Reviewed by Brady Eidson.

* page/DOMWindow.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: <rdar://problem/7007541>
andersca@apple.com [Thu, 17 Sep 2009 22:23:37 +0000 (22:23 +0000)]
WebCore: <rdar://problem/7007541>
CrashTracer: 4800+ crashes in Safari at com.apple.WebKit • WTF::HashTableIterator...

Reviewed by Oliver Hunt.

Make RuntimeObjectImp more robust against m_instance being a null (which can happen if an OOP plug-in
crashes while we're calling into it).

* bridge/runtime_object.cpp:
(JSC::RuntimeObjectImp::RuntimeObjectImp):
(JSC::RuntimeObjectImp::~RuntimeObjectImp):
(JSC::RuntimeObjectImp::invalidate):
(JSC::RuntimeObjectImp::fallbackObjectGetter):
(JSC::RuntimeObjectImp::fieldGetter):
(JSC::RuntimeObjectImp::methodGetter):
(JSC::RuntimeObjectImp::getOwnPropertySlot):
(JSC::RuntimeObjectImp::getOwnPropertyDescriptor):
(JSC::RuntimeObjectImp::put):
(JSC::RuntimeObjectImp::defaultValue):
(JSC::RuntimeObjectImp::getCallData):
(JSC::RuntimeObjectImp::getConstructData):
(JSC::RuntimeObjectImp::getPropertyNames):
* bridge/runtime_object.h:
(JSC::RuntimeObjectImp::getInternalInstance):

WebKit/mac: <rdar://problem/7007541>
CrashTracer: 4800+ crashes in Safari at com.apple.WebKit • WTF::HashTableIterator...

Reviewed by Oliver Hunt.

Add null checks for m_instanceProxy (It will be null when a plug-in has crashed).

* Plugins/Hosted/ProxyInstance.mm:
(WebKit::ProxyInstance::invoke):
(WebKit::ProxyInstance::supportsInvokeDefaultMethod):
(WebKit::ProxyInstance::supportsConstruct):
(WebKit::ProxyInstance::getPropertyNames):
(WebKit::ProxyInstance::methodsNamed):
(WebKit::ProxyInstance::fieldNamed):
(WebKit::ProxyInstance::fieldValue):
(WebKit::ProxyInstance::setFieldValue):
(WebKit::ProxyInstance::invalidate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Yury Semikhatsky <yurys@chromium.org>
eric@webkit.org [Thu, 17 Sep 2009 20:54:57 +0000 (20:54 +0000)]
2009-09-17  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Timothy Hatcher.

        Wrap primitive values (as objects) in InspectorController::wrap.

        https://bugs.webkit.org/show_bug.cgi?id=28983

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::wrapObject): objects of any type will be wrapped into proxies,
         only object proxies will have objectId.
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.completions): there is InjectedScript.getCompletionsi
         that accepts an expression and returns possible completions. This way we don't need to wrap
         and unwrap the completions result into a proxy object.
        * inspector/front-end/InjectedScript.js:
        (InjectedScript.getCompletions):
        (InjectedScript.evaluate):
        (InjectedScript._evaluateOn):
        (InjectedScript.createProxyObject):
        * inspector/front-end/InjectedScriptAccess.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48491 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 17 Sep 2009 20:45:40 +0000 (20:45 +0000)]
2009-09-17  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Wrap PageTransitionEvents properly for V8's use.

        https://bugs.webkit.org/show_bug.cgi?id=29340

        Fixes Chromium's failures for LayoutTests/fast/events/pageshow-pagehide.html.

        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::convertEventToV8Object): Wrap PageTransitionEvents properly.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48490 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 17 Sep 2009 20:12:50 +0000 (20:12 +0000)]
2009-09-17  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Hardware-accelerated opacity transition on inline asserts
        https://bugs.webkit.org/show_bug.cgi?id=29342

        Remove an erroneous toRenderBox() that could be called on a RenderInline; we can just
        pass an empty size, because the box size is only required for transform animations.

        Test: compositing/transitions/opacity-on-inline.html

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::startTransition):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48489 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 17 Sep 2009 20:07:11 +0000 (20:07 +0000)]
2009-09-17  Eric Seidel  <eric@webkit.org>

        Reviewed by Darin Adler.

        Update contributing.html to mention recently added tools.
        https://bugs.webkit.org/show_bug.cgi?id=29318

        Update our contributing instructions to mention
        the new tools (check-webkit-style and commit-queue)
        recently added to make contributions easier.

        * coding/contributing.html:
         - Mention check-webkit-style as an optional helper tool.
         - Mention checking the 'patch' checkbox.
         - Mention the commit-queue as an optional helper tool.
         - Remove "or in email" since patch reviews are all done via bugzilla.
         - Encourage contributers to be responsible for getting their patch landed.  Provide a list of committers.
         - Mention commit-queue as an optional help in getting your patch landed.
         - Give an overview of the commit-queue process and link to the Commit Queue docs.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48488 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Thu, 17 Sep 2009 20:03:37 +0000 (20:03 +0000)]
2009-09-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Rubber-stamped by Brady Eidson.

        Tiger fails test http/tests/loading/redirect-with-no-location-crash.html added in r48413
        https://bugs.webkit.org/show_bug.cgi?id=29329

        Skip test that fails on Tiger because of a bug in its version of
        CFNetwork.

        * platform/mac-tiger/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Adam Barth <abarth@webkit.org>
eric@webkit.org [Thu, 17 Sep 2009 19:59:50 +0000 (19:59 +0000)]
2009-09-17  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        [V8] OwnHandle might get a weak callback after destruction
        https://bugs.webkit.org/show_bug.cgi?id=29172

        Be sure to clear out weak reference so we don't get a weak callback
        after we've destructed ourselves.  Also, removed some tricky methods
        that had no clients.

        * bindings/v8/OwnHandle.h:
        (WebCore::OwnHandle::clear):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48486 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 17 Sep 2009 19:52:11 +0000 (19:52 +0000)]
2009-09-17  Eric Seidel  <eric@webkit.org>

        Reviewed by Simon Fraser.

        REGRESSION: media/video-size-intrinsic-scale.html (and other media tests?) crashing/timing-out intermittently
        https://bugs.webkit.org/show_bug.cgi?id=28845

        Skip media/video-size-intrinsic-scale.html in hopes of stopping the crashers.
        I ran the media tests with --iterations 30 w/o seeing a crash.
        I also re-enabled media/video-source-add-src.html now that we know it is not at fault.

        * media/video-source-add-src.html: Renamed from LayoutTests/media/video-source-add-src.html-disabled.
        * platform/mac-leopard/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Anton Muhin <antonm@chromium.org>
eric@webkit.org [Thu, 17 Sep 2009 19:43:49 +0000 (19:43 +0000)]
2009-09-17  Anton Muhin  <antonm@chromium.org>

        Reviewed by Adam Barth.

        Add layout tests to verify there is no security leaks if someone sets a prototype of top
        window to its child window.
        https://bugs.webkit.org/show_bug.cgi?id=29334

        * http/tests/security/resources/iframe-with-element.html: Added.
        * http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto-expected.txt: Added.
        * http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html: Added.
        * http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt: Added.
        * http/tests/security/xss-DENIED-method-with-iframe-proto.html: Added.
        * http/tests/security/xss-DENIED-non-shadowable-propterty-with-iframe-proto-expected.txt: Added.
        * http/tests/security/xss-DENIED-non-shadowable-propterty-with-iframe-proto.html: Added.
        * http/tests/security/xss-DENIED-regular-propterty-with-iframe-proto-expected.txt: Added.
        * http/tests/security/xss-DENIED-regular-propterty-with-iframe-proto.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48484 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 17 Sep 2009 19:13:58 +0000 (19:13 +0000)]
2009-09-17  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, build fix.

        [V8] Partial roll out of http://trac.webkit.org/changeset/48455 to
        fix crashes that started happening in V8Proxy::getEnteredContext().

        * bindings/v8/ScheduledAction.cpp:
        (WebCore::ScheduledAction::execute):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48483 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAX: labels of checkboxes should, when hit-tested, return the checkbox
cfleizach@apple.com [Thu, 17 Sep 2009 19:10:19 +0000 (19:10 +0000)]
AX: labels of checkboxes should, when hit-tested, return the checkbox
https://bugs.webkit.org/show_bug.cgi?id=29335

Reviewed by Beth Dakin.

WebCore:

When an accessibility hit test is done and it hits the label of a control element,
the control element should be returned instead of nothing, since the label
itself is usually ignored.

Test: accessibility/label-for-control-hittest.html

* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::correspondingControlForLabelElement):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
(WebCore::AccessibilityRenderObject::correspondingControlForLabelElement):
* accessibility/AccessibilityRenderObject.h:

LayoutTests:

* accessibility/label-for-control-hittest-expected.txt: Added.
* accessibility/label-for-control-hittest.html: Added.
* platform/gtk/Skipped:
* platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48482 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Avi Drissman <avi@chromium.org>
dglazkov@chromium.org [Thu, 17 Sep 2009 19:08:14 +0000 (19:08 +0000)]
2009-09-17  Avi Drissman  <avi@chromium.org>

        Reviewed by Dimitri Glazkov, build fix.

        Change to make RenderThemeChromiumMac compile inside of non PLATFORM(MAC).
        https://bugs.webkit.org/show_bug.cgi?id=29243

        Covered by existing tests.

        * rendering/RenderThemeChromiumMac.mm:
        (WebCore::RenderThemeChromiumMac::paintMediaSliderTrack):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48481 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 17 Sep 2009 19:06:04 +0000 (19:06 +0000)]
2009-09-17  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Seidel.

        [V8] Accessing properties/methods of an object, created with document.implementation.createDocumentType
        creates nodes that have no document (ScriptExecutionContext), which in turn produces NULL-ref crashes.
        https://bugs.webkit.org/show_bug.cgi?id=26402

        Test: fast/dom/DOMImplementation/detached-doctype.html
              fast/dom/doctype-event-listener-crash.html

        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::getEventListener): Added an extra NULL-check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48480 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Brian Weinstein <bweinstein@apple.com>
bweinstein@apple.com [Thu, 17 Sep 2009 18:39:13 +0000 (18:39 +0000)]
2009-09-17  Brian Weinstein  <bweinstein@apple.com>

        Rubber-stamped by Adam Roben.

        Add a newline to the end of the expected file, should fix results.

        * platform/win/transforms/2d/hindi-rotated-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48479 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago Post WebViewDidChangeSelectionNotification when the text selection changes.
adachan@apple.com [Thu, 17 Sep 2009 18:32:22 +0000 (18:32 +0000)]
    Post WebViewDidChangeSelectionNotification when the text selection changes.

        Fixes <http://webkit.org/b/29321>

        Reviewed by Adam Roben.

        * Interfaces/IWebView.idl:
        * WebCoreSupport/WebEditorClient.cpp:
        (WebEditorClient::respondToChangedSelection):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48478 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agowx build fix, add missing dependency.
kevino@webkit.org [Thu, 17 Sep 2009 18:09:07 +0000 (18:09 +0000)]
wx build fix, add missing dependency.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48477 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Brian Weinstein <bweinstein@apple.com>
bweinstein@apple.com [Thu, 17 Sep 2009 18:05:18 +0000 (18:05 +0000)]
2009-09-17  Brian Weinstein  <bweinstein@apple.com>

        Rubber-stamped by Adam Roben.

        Updated Windows results on three failing tests, adding font-smoothing to computed-style,
        and udpated the hindi-rotated-expected to what it has been getting on the bots.

        * platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
        * platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
        * platform/win/transforms/2d/hindi-rotated-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAdd file that was missing from the last change
mitz@apple.com [Thu, 17 Sep 2009 17:44:14 +0000 (17:44 +0000)]
Add file that was missing from the last change

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48475 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFontDescription.h includes RenderStyleConstants.h, which violates layering
mitz@apple.com [Thu, 17 Sep 2009 17:33:48 +0000 (17:33 +0000)]
FontDescription.h includes RenderStyleConstants.h, which violates layering
https://bugs.webkit.org/show_bug.cgi?id=29327

Reviewed by Simon Fraser.

* GNUmakefile.am: Added FontSmoothingMode.h.
* WebCore.gypi: Added FontSmoothingMode.h.
* WebCore.vcproj/WebCore.vcproj: Added FontSmoothingMode.h.
* WebCore.xcodeproj/project.pbxproj: Added FontSmoothingMode.h and made
    it a private header.
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Get the
    font smoothing mode via the font description.
* css/CSSPrimitiveValueMappings.h: Include FontSmoothingMode.h
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Updated for the rename
    of FontSmoothing to FontSmoothingMode.
(WebCore::CSSPrimitiveValue::operator FontSmoothingMode): Ditto.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty): Get the font smoothing mode
    via the font description.
* platform/graphics/FontDescription.h: Do not include
    RenderStyleConstants.h.
(WebCore::FontDescription::fontSmoothing): Updated for the rename of
    FontSmoothing to FontSmoothingMode.
(WebCore::FontDescription::setFontSmoothing): Ditto.
* platform/graphics/FontSmoothingMode.h: Added.
(WebCore::FontSmoothingMode): Moved the FontSmoothing enum from
    RenderStyleConstants here and renamed it to this.
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::fontSmoothing): Removed this getter, since
    this can be accessed via the font description.
* rendering/style/RenderStyleConstants.h: Moved the FontSmoothing enum
    from here to FontSmoothingMode.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48474 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix a crash when a WebView's HWND is destroyed before IWebView::close is called
aroben@apple.com [Thu, 17 Sep 2009 17:32:46 +0000 (17:32 +0000)]
Fix a crash when a WebView's HWND is destroyed before IWebView::close is called

WebView's HWND was being sent a WM_TIMER message after the WebView was
destroyed. This normally isn't possible (we call DestroyWindow inside
WebView's destructor to ensure the HWND doesn't outlive the WebView),
but r48060 changed WebView to call SetParent(m_viewWindow,
HWND_MESSAGE) while handling WM_DESTROY, and apparently this puts the
HWND into some weird half-destroyed state where it can still receive
WM_TIMER messages.

Fixes <http://webkit.org/b/29337> <rdar://problem/7209897> REGRESSION
(r48060): unrepro but frequent crash in WebViewWndProc

Reviewed by Steve Falkenburg.

* WebView.cpp:
(WebViewWndProc): When handling WM_DESTROY, call setIsBeingDestroyed()
before calling close(). This allows setHostWindow to detect that we're
handling WM_DESTROY. No other code in close() cared whether
isBeingDestroyed() was true or not.
(WebView::setHostWindow): If our host window is being set to 0 and
we're being destroyed, don't become a message-only window. Doing this
while handling WM_DESTROY seems to lead to crashes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agowx 2.9 build fix.
kevino@webkit.org [Thu, 17 Sep 2009 17:10:38 +0000 (17:10 +0000)]
wx 2.9 build fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48472 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-16 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 17 Sep 2009 16:56:12 +0000 (16:56 +0000)]
2009-09-16  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Work around a bug in AppKit on Leopard which causes compositing layers to jitter, and
        become misplaced when the WebHTMLView is resized or scrolled sometimes.
        <rdar://problem/7071636>

        The previous fix didn't fix the case where the layers jiggle when resizing the docked
        inspector when the view size is over 2048px tall, on Leopard.

        * WebView/WebHTMLView.mm:
        (-[WebHTMLView _updateLayerHostingViewPosition]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48471 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-16 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 17 Sep 2009 16:41:53 +0000 (16:41 +0000)]
2009-09-16  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Elements appear behind <video> when they should be in front sometimes
        https://bugs.webkit.org/show_bug.cgi?id=29314

        r45598 added logic that tests for overlap with <video> to determine when to throw
        a layer into compositing mode. That logic was incorrect in some cases, and this patch
        fixes it. When testing overlap, the layer needs to be composited iff some previous layer
        is composited (which adds a rect to the overlay map), and there is overlap.

        Test: compositing/geometry/video-opacity-overlay.html

        * rendering/RenderLayerCompositor.cpp:
        (WebCore::CompositingState::CompositingState):
        (WebCore::RenderLayerCompositor::computeCompositingRequirements):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48470 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Avi Drissman <avi@google.com>
dglazkov@chromium.org [Thu, 17 Sep 2009 15:52:53 +0000 (15:52 +0000)]
2009-09-17  Avi Drissman  <avi@google.com>

        Reviewed by Darin Fisher.

        Update the Chromium Mac theming files (RenderTheme and Theme) to be
        up-to-date.

        https://bugs.webkit.org/show_bug.cgi?id=29243
        http://crbug.com/19604

        Covered by existing tests.

        * WebCore.gypi:
        * platform/chromium/ThemeChromiumMac.h: Added.
        (WebCore::ThemeChromiumMac::ThemeChromiumMac):
        (WebCore::ThemeChromiumMac::~ThemeChromiumMac):
        (WebCore::ThemeChromiumMac::controlRequiresPreWhiteSpace):
        * platform/chromium/ThemeChromiumMac.mm: Added.
        (WebCore::):
        (WebCore::platformTheme):
        (WebCore::controlSizeForFont):
        (WebCore::sizeFromFont):
        (WebCore::setControlSize):
        (WebCore::updateStates):
        (WebCore::inflateRect):
        (WebCore::checkboxSizes):
        (WebCore::checkboxMargins):
        (WebCore::checkboxSize):
        (WebCore::checkbox):
        (WebCore::paintCheckbox):
        (WebCore::radioSizes):
        (WebCore::radioMargins):
        (WebCore::radioSize):
        (WebCore::radio):
        (WebCore::paintRadio):
        (WebCore::buttonSizes):
        (WebCore::buttonMargins):
        (WebCore::button):
        (WebCore::paintButton):
        (WebCore::ThemeChromiumMac::baselinePositionAdjustment):
        (WebCore::ThemeChromiumMac::controlFont):
        (WebCore::ThemeChromiumMac::controlSize):
        (WebCore::ThemeChromiumMac::minimumControlSize):
        (WebCore::ThemeChromiumMac::controlBorder):
        (WebCore::ThemeChromiumMac::controlPadding):
        (WebCore::ThemeChromiumMac::inflateControlPaintRect):
        (WebCore::ThemeChromiumMac::paint):
        * platform/graphics/FloatPoint.h:
        * platform/graphics/FloatRect.h:
        * platform/graphics/FloatSize.h:
        * platform/graphics/IntRect.h:
        * rendering/RenderThemeChromiumMac.h:
        (WebCore::RenderThemeChromiumMac::supportsControlTints):
        (WebCore::RenderThemeChromiumMac::scrollbarControlSizeForPart):
        (WebCore::RenderThemeChromiumMac::supportsSelectionForegroundColors):
        * rendering/RenderThemeChromiumMac.mm:
        (-[WebCoreRenderThemeNotificationObserver systemColorsDidChange:]):
        (-[RTCMFlippedView isFlipped]):
        (-[RTCMFlippedView currentEditor]):
        (WebCore::):
        (WebCore::FlippedView):
        (WebCore::RenderTheme::themeForPage):
        (WebCore::RenderThemeChromiumMac::platformActiveListBoxSelectionForegroundColor):
        (WebCore::RenderThemeChromiumMac::platformInactiveListBoxSelectionForegroundColor):
        (WebCore::RenderThemeChromiumMac::platformInactiveListBoxSelectionBackgroundColor):
        (WebCore::RenderThemeChromiumMac::systemFont):
        (WebCore::convertNSColorToColor):
        (WebCore::menuBackgroundColor):
        (WebCore::RenderThemeChromiumMac::systemColor):
        (WebCore::RenderThemeChromiumMac::isControlStyled):
        (WebCore::RenderThemeChromiumMac::adjustRepaintRect):
        (WebCore::RenderThemeChromiumMac::inflateRect):
        (WebCore::RenderThemeChromiumMac::convertToPaintingRect):
        (WebCore::RenderThemeChromiumMac::setFontFromControlSize):
        (WebCore::RenderThemeChromiumMac::paintTextField):
        (WebCore::RenderThemeChromiumMac::paintCapsLockIndicator):
        (WebCore::RenderThemeChromiumMac::paintTextArea):
        (WebCore::RenderThemeChromiumMac::paintMenuList):
        (WebCore::TopGradientInterpolate):
        (WebCore::BottomGradientInterpolate):
        (WebCore::MainGradientInterpolate):
        (WebCore::TrackGradientInterpolate):
        (WebCore::RenderThemeChromiumMac::paintMenuListButtonGradients):
        (WebCore::RenderThemeChromiumMac::paintMenuListButton):
        (WebCore::RenderThemeChromiumMac::popupInternalPaddingLeft):
        (WebCore::RenderThemeChromiumMac::popupInternalPaddingRight):
        (WebCore::RenderThemeChromiumMac::popupInternalPaddingTop):
        (WebCore::RenderThemeChromiumMac::popupInternalPaddingBottom):
        (WebCore::RenderThemeChromiumMac::adjustMenuListButtonStyle):
        (WebCore::RenderThemeChromiumMac::adjustSliderTrackStyle):
        (WebCore::RenderThemeChromiumMac::adjustSliderThumbStyle):
        (WebCore::RenderThemeChromiumMac::paintSliderThumb):
        (WebCore::RenderThemeChromiumMac::paintSearchField):
        (WebCore::RenderThemeChromiumMac::setSearchCellState):
        (WebCore::RenderThemeChromiumMac::adjustSearchFieldStyle):
        (WebCore::RenderThemeChromiumMac::paintSearchFieldCancelButton):
        (WebCore::RenderThemeChromiumMac::adjustSearchFieldCancelButtonStyle):
        (WebCore::RenderThemeChromiumMac::adjustSearchFieldDecorationStyle):
        (WebCore::RenderThemeChromiumMac::paintSearchFieldDecoration):
        (WebCore::RenderThemeChromiumMac::adjustSearchFieldResultsDecorationStyle):
        (WebCore::RenderThemeChromiumMac::paintSearchFieldResultsDecoration):
        (WebCore::RenderThemeChromiumMac::adjustSearchFieldResultsButtonStyle):
        (WebCore::RenderThemeChromiumMac::paintSearchFieldResultsButton):
        (WebCore::mediaControllerTheme):
        (WebCore::RenderThemeChromiumMac::adjustSliderThumbSize):
        (WebCore::getMediaUIPartStateFlags):
        (WebCore::getUnzoomedRectAndAdjustCurrentContext):
        (WebCore::RenderThemeChromiumMac::paintMediaFullscreenButton):
        (WebCore::RenderThemeChromiumMac::paintMediaMuteButton):
        (WebCore::RenderThemeChromiumMac::paintMediaPlayButton):
        (WebCore::RenderThemeChromiumMac::paintMediaSeekBackButton):
        (WebCore::RenderThemeChromiumMac::paintMediaSeekForwardButton):
        (WebCore::RenderThemeChromiumMac::paintMediaSliderTrack):
        (WebCore::RenderThemeChromiumMac::paintMediaSliderThumb):
        (WebCore::RenderThemeChromiumMac::paintMediaRewindButton):
        (WebCore::RenderThemeChromiumMac::paintMediaReturnToRealtimeButton):
        (WebCore::RenderThemeChromiumMac::paintMediaControlsBackground):
        (WebCore::RenderThemeChromiumMac::paintMediaCurrentTime):
        (WebCore::RenderThemeChromiumMac::paintMediaTimeRemaining):
        (WebCore::RenderThemeChromiumMac::extraMediaControlsStyleSheet):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48469 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoImprove documentation for Page Cache.
kenneth@webkit.org [Thu, 17 Sep 2009 14:03:15 +0000 (14:03 +0000)]
Improve documentation for Page Cache.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-17
Reviewed by Simon Hausmann.

* Api/qwebsettings.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48468 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Andras Becsi <becsi.andras@stud.u-szeged.hu>
zoltan@webkit.org [Thu, 17 Sep 2009 13:03:23 +0000 (13:03 +0000)]
2009-09-17  Andras Becsi  <becsi.andras@stud.u-szeged.hu>

        Reviewed by Simon Hausmann.

        [Qt] Add expected file for passing font-smoothing test and update computed style tests since font smoothing is auto by default.

        * platform/qt/fast/css/font-smoothing-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48467 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-17 Andras Becsi <becsi.andras@stud.u-szeged.hu>
zoltan@webkit.org [Thu, 17 Sep 2009 13:01:23 +0000 (13:01 +0000)]
2009-09-17  Andras Becsi  <becsi.andras@stud.u-szeged.hu>

        Reviewed by Simon Hausmann.

        [Qt] Add expected file for passing font-smoothing test and update computed style tests since font smoothing is auto by default.

        * platform/qt/fast/css/font-smoothing-expected.txt: Added.
        * platform/qt/fast/css/getComputedStyle/computed-style-expected.txt:
        * platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48466 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Update QWebSettings::setUserStyleSheetUrl() docs and test
vestbo@webkit.org [Thu, 17 Sep 2009 12:46:41 +0000 (12:46 +0000)]
[Qt] Update QWebSettings::setUserStyleSheetUrl() docs and test

Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=29081

The documentation now specifies that the URL has to be a local file
or a a data-URL (with utf-8 and base64-encoded data), as these are the
only two schemes that the current code path accepts.

The auto-test has been updated to reflect this limitation.

At a later point we should concider adding API for the new way of
doing both user defined stylesheets and scripts.

* Api/qwebsettings.cpp:
* tests/qwebpage/tst_qwebpage.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48465 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Skip failing tests for now to prepare default font size reconciliation.
hausmann@webkit.org [Thu, 17 Sep 2009 11:51:13 +0000 (11:51 +0000)]
[Qt] Skip failing tests for now to prepare default font size reconciliation.

Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-09-17
Reviewed by Simon Hausmann.

* platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48464 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSymbian/WINSCW build fox.
hausmann@webkit.org [Thu, 17 Sep 2009 10:54:42 +0000 (10:54 +0000)]
Symbian/WINSCW build fox.

Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-09-17
Reviewed by Simon Hausmann.

Repeat Q_OS_WIN wchar_t hack for WINSCW, similar to
revision 24774.

WINSCW defines wchar_t, thus UChar has to be wchar_t

* wtf/unicode/qt4/UnicodeQt4.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSymbian/WINSCW build fix.
hausmann@webkit.org [Thu, 17 Sep 2009 10:47:13 +0000 (10:47 +0000)]
Symbian/WINSCW build fix.

Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-09-17
Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=29186

WINSCW Template specialisation name in declaration must the be the same as in implementation.

* runtime/LiteralParser.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48462 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=27060
hausmann@webkit.org [Thu, 17 Sep 2009 10:44:52 +0000 (10:44 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=27060

Patch by Norbert Leser <norbert.leser@nokia.com> on 2009-09-15
Reviewed by Darin Adler.

Symbian compiler for emulator target (WINSCW) fails with
"illegal operand" for m_attributesInPrevious in structure.ccp
(when calling make_pair functions).
This error is apparently due to the compiler not properly
resolving the unsigned type of the declared bitfield.

Initial patch explicitly casted m_attributesInPrevious
to unsigned, but since bitfield optimization is not critical for
the emulator target, this conditional change in header file
appears to be least intrusive.

* runtime/Structure.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48461 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSymbian build fix.
hausmann@webkit.org [Thu, 17 Sep 2009 10:31:10 +0000 (10:31 +0000)]
Symbian build fix.

Patch by Janne Koskinen <janne.p.koskinen@digia.com> on 2009-09-17
Reviewed by Simon Hausmann.

Moved the #ifdefs around _q_cleanupLeakMessages() into the function
definition.

QMake is not being able to distinguish between release and debug builds
in Symbian build. This is a Symbian toolchain issue.

* Api/qwebpage.cpp:
(QWebPagePrivate::_q_cleanupLeakMessages):
* Api/qwebpage.h:
* Api/qwebpage_p.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48460 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSmall cosmetic documentation fixlet in the QWebInspector.
hausmann@webkit.org [Thu, 17 Sep 2009 10:20:58 +0000 (10:20 +0000)]
Small cosmetic documentation fixlet in the QWebInspector.

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-17
Reviewed by Simon Hausmann.

* Api/qwebinspector.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48459 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-16 Daniel Bates <dbates@webkit.org>
abarth@webkit.org [Thu, 17 Sep 2009 06:45:17 +0000 (06:45 +0000)]
2009-09-16  Daniel Bates  <dbates@webkit.org>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=29306

        Tests that scripts with accented characters do not bypass the XSSAuditor.

        * http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt: Added.
        * http/tests/security/xssAuditor/img-onerror-accented-char.html: Added.
2009-09-16  Daniel Bates  <dbates@webkit.org>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=29306

        Fixes an issue where an attack that contains accented characters can
        bypass the XSSAuditor.

        XSSAuditor::decodeURL used the wrong length for the input string.
        When the input string was decoded, the decoded result was truncated.
        Hence, XSSAuditor was comparing the source code of the script to the
        truncated input parameters.

        Test: http/tests/security/xssAuditor/img-onerror-accented-char.html

        * page/XSSAuditor.cpp:
        (WebCore::XSSAuditor::decodeURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48458 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-09-16 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 17 Sep 2009 06:42:58 +0000 (06:42 +0000)]
2009-09-16  Adam Barth  <abarth@webkit.org>

        Unreviewed.  Added new isolated world test to the skipped list.

        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoExplore allowing pages with unload handlers into the Page Cache
beidson@apple.com [Thu, 17 Sep 2009 06:36:44 +0000 (06:36 +0000)]
Explore allowing pages with unload handlers into the Page Cache
https://bugs.webkit.org/show_bug.cgi?id=29021

Reviewed by Sam Weinig.

No new tests. (All previous tests continue to pass)

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::stopLoading): If the document is in the page cache, don't fire the unload event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@48456 268f45cc-cd09-0410-ab3c-d52691b4dbfc