WebKit-https.git
11 years agoUnreviewed. Updating test expectations for chromium due to http://trac.webkit.org...
jparent@chromium.org [Fri, 21 May 2010 23:55:59 +0000 (23:55 +0000)]
Unreviewed.  Updating test expectations for chromium due to trac.webkit.org/changeset/59968.

* platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:

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

11 years agoInterpreter fix following r59939.
barraclough@apple.com [Fri, 21 May 2010 23:52:56 +0000 (23:52 +0000)]
Interpreter fix following r59939.

Rubber stamped by Oliver Hunt.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):

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

11 years agoUnreviewed build fix.
barraclough@apple.com [Fri, 21 May 2010 23:49:48 +0000 (23:49 +0000)]
Unreviewed build fix.

Patch by David Levin <levin@chromium.org> on 2010-05-21
* wtf/SizeLimits.cpp: Removed a check while I figure out how to write it properly.

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

11 years agoUnreviewed.
jparent@chromium.org [Fri, 21 May 2010 23:37:36 +0000 (23:37 +0000)]
Unreviewed.

Updating Chromium test_expectations to mark drop-link test as failing in win debug.

* platform/chromium/test_expectations.txt:

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

11 years ago2010-05-21 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 21 May 2010 23:34:34 +0000 (23:34 +0000)]
2010-05-21  Victor Wang  <victorw@chromium.org>

        Unreviewed. Update test expectations for chromium.

        * platform/chromium-linux/fast/lists/alpha-boundary-values-expected.checksum: Added.
        * platform/chromium-linux/fast/lists/alpha-boundary-values-expected.png: Added.
        * platform/chromium-mac/fast/lists/alpha-boundary-values-expected.checksum: Added.
        * platform/chromium-mac/fast/lists/alpha-boundary-values-expected.png: Added.
        * platform/chromium-win/fast/lists/alpha-boundary-values-expected.checksum: Added.
        * platform/chromium-win/fast/lists/alpha-boundary-values-expected.png: Added.
        * platform/chromium-win/fast/lists/alpha-boundary-values-expected.txt: Added.

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

11 years agoUnreviewed.
jparent@chromium.org [Fri, 21 May 2010 23:19:41 +0000 (23:19 +0000)]
Unreviewed.

Updating Chromium test_expectations to mark two websockets tests as failing in debug mode.

* platform/chromium/test_expectations.txt:

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

11 years ago Unreviewed build fix.
levin@chromium.org [Fri, 21 May 2010 23:15:46 +0000 (23:15 +0000)]
    Unreviewed build fix.

        * wtf/SizeLimits.cpp: Removed a check while I figure out how to write it properly.

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

11 years agoEnforce size constraints on various data structures in JavaScriptCore/wtf.
levin@chromium.org [Fri, 21 May 2010 23:06:09 +0000 (23:06 +0000)]
Enforce size constraints on various data structures in JavaScriptCore/wtf.
https://bugs.webkit.org/show_bug.cgi?id=39327

Reviewed by Darin Adler.

I only modified the default build for OSX and Chromium's build file to include WTFCompileAsserts.cpp
as those should be sufficient to catch regressions on the size of the data structures.

* JavaScriptCore.gypi: Added the WTFCompileAsserts.cpp file.
* JavaScriptCore.xcodeproj/project.pbxproj: Added the WTFCompileAsserts.cpp file.
* runtime/UString.cpp: Added a compile assert for UString size.
* wtf/SizeLimits.cpp: Added compile asserts for data structures that didn't have cpp files.
* wtf/text/StringImpl.cpp: Added a compile assert for StringImpl size.

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=39516, back end support for column-span property.
hyatt@apple.com [Fri, 21 May 2010 22:45:58 +0000 (22:45 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=39516, back end support for column-span property.

Reviewed by Dan Bernstein.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::columnSpan):
(WebCore::InheritedFlags::setColumnSpan):
(WebCore::InheritedFlags::initialColumnSpan):
* rendering/style/StyleMultiColData.cpp:
(WebCore::StyleMultiColData::StyleMultiColData):
(WebCore::StyleMultiColData::operator==):
* rendering/style/StyleMultiColData.h:

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

11 years agoUnreviewed. Skip failing test until fix.
ossy@webkit.org [Fri, 21 May 2010 22:31:22 +0000 (22:31 +0000)]
Unreviewed. Skip failing test until fix.

[Qt] need an implementation of LayoutTestController::computedStyleIncludingVisitedInfo
https://bugs.webkit.org/show_bug.cgi?id=37759

The implementation of LayoutTestController::computedStyleIncludingVisitedInfo
is incorrect now, this bug was revealed by r59956.

* platform/qt/Skipped: fast/history/self-is-visited.html skipped.

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

11 years ago2010-05-21 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Fri, 21 May 2010 22:19:23 +0000 (22:19 +0000)]
2010-05-21  Jer Noble  <jer.noble@apple.com>

        Reviewed by Anders Carlsson.

        Disable full-screen video on Windows
        https://bugs.webkit.org/show_bug.cgi?id=39506
        rdar://problem/8012516

        Disable full-screen video through MediaPlayerPrivateVisualContext since
        we no longer use GWorlds and QuickTime's built in full-screen support.

        Media layout tests updated with new expected results.

        * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::supportsFullscreen):
2010-05-21  Jer Noble  <jer.noble@apple.com>

        Reviewed by Anders Carlsson.

        Disable full-screen video on Windows
        https://bugs.webkit.org/show_bug.cgi?id=39506
        rdar://problem/8012516

        Disable full-screen video through MediaPlayerPrivateVisualContext since
        we no longer use GWorlds and QuickTime's built in full-screen support.

        Media layout tests updated with new expected results.

        * platform/win/media/controls-after-reload-expected.txt:
        * platform/win/media/controls-drag-timebar-expected.txt:
        * platform/win/media/controls-strict-expected.txt:
        * platform/win/media/controls-styling-expected.txt:
        * platform/win/media/video-controls-rendering-expected.txt:
        * platform/win/media/video-display-toggle-expected.txt:
        * platform/win/media/video-no-audio-expected.txt:

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

11 years ago2010-05-21 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 21 May 2010 21:49:55 +0000 (21:49 +0000)]
2010-05-21  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Avoid creating huge tiled layers with accelerated compositing
        https://bugs.webkit.org/show_bug.cgi?id=39515

        Constrain the size of huge composited layers, to avoid bad behavior. We only
        need to do this if we detect that we need a tiled layer, since we'll make tiled
        layers for elements over a certain size that need to draw already.

        Constrain the size by attempting to shrink the longer dimension first.

        Test: compositing/geometry/huge-layer.html

        * platform/graphics/mac/GraphicsLayerCA.h:
        * platform/graphics/mac/GraphicsLayerCA.mm:
        (WebCore::GraphicsLayerCA::updateLayerPosition):
        (WebCore::GraphicsLayerCA::updateLayerSize):
        (WebCore::GraphicsLayerCA::constrainedSize):

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

11 years agoFix interpreter build.
barraclough@apple.com [Fri, 21 May 2010 21:31:42 +0000 (21:31 +0000)]
Fix interpreter build.

Reviewed by NOBODY (build fix).

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):

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

11 years agoBack out unintended RenderStyle checkin just now.
hyatt@apple.com [Fri, 21 May 2010 21:24:27 +0000 (21:24 +0000)]
Back out unintended RenderStyle checkin just now.

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

11 years agoFix Windows Chromium build bustage.
hyatt@apple.com [Fri, 21 May 2010 21:23:30 +0000 (21:23 +0000)]
Fix Windows Chromium build bustage.

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

11 years agoFix Windows build bustage.
hyatt@apple.com [Fri, 21 May 2010 21:13:49 +0000 (21:13 +0000)]
Fix Windows build bustage.

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

11 years ago2010-05-21 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Fri, 21 May 2010 20:58:22 +0000 (20:58 +0000)]
2010-05-21  Alejandro G. Castro  <alex@igalia.com>

        Rubber-stamped by Xan Lopez.

        Updated test results, added web sockets lines.

        * platform/gtk/fast/dom/prototype-inheritance-expected.txt:

* platform/gtk/fast/dom/prototype-inheritance-expected.txt:

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

11 years agoWebCore: https://bugs.webkit.org/show_bug.cgi?id=39420, :visited not working with...
hyatt@apple.com [Fri, 21 May 2010 20:56:24 +0000 (20:56 +0000)]
WebCore: https://bugs.webkit.org/show_bug.cgi?id=39420, :visited not working with background-color.

Reviewed by Dan Bernstein.

Make the RenderStyle color accessors private.  This forces callers to use visitedDependentColor
instead (or to make the decision to become friends of the RenderStyle class in order to get access
to the real style information).

Modified history/self-is-visited.html to also test background colors.

* WebCore.base.exp:
* accessibility/AccessibilityTable.cpp:
(WebCore::AccessibilityTable::isTableExposableThroughAccessibility):
* accessibility/mac/AccessibilityObjectWrapper.mm:
(AXAttributeStringSetStyle):
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::currentColorOrValidColor):
* css/CSSComputedStyleDeclaration.h:
* css/SVGCSSStyleSelector.cpp:
(WebCore::colorFromSVGColorCSSValue):
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::editingStyleAtPosition):
(WebCore::prepareEditingStyleToApplyAt):
(WebCore::removeStylesAddedByNode):
(WebCore::fontColorChangesComputedStyle):
(WebCore::ApplyStyleCommand::addInlineStyleIfNeeded):
* editing/ApplyStyleCommand.h:
(WebCore::):
* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::moveParagraphs):
(WebCore::CompositeEditCommand::breakOutOfEmptyListItem):
* editing/DeleteButtonController.cpp:
(WebCore::isDeletableElement):
* editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::saveTypingStyleState):
* editing/InsertParagraphSeparatorCommand.cpp:
(WebCore::InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion):
* editing/RemoveFormatCommand.cpp:
(WebCore::RemoveFormatCommand::doApply):
* editing/ReplaceSelectionCommand.cpp:
(WebCore::handleStyleSpansBeforeInsertion):
(WebCore::ReplaceSelectionCommand::handleStyleSpans):
(WebCore::ReplaceSelectionCommand::doApply):
* editing/SelectionController.cpp:
(WebCore::SelectionController::paintCaret):
* editing/markup.cpp:
(WebCore::createMarkup):
* page/animation/AnimationBase.cpp:
(WebCore::AnimationBase::ensurePropertyMap):
* page/animation/AnimationBase.h:
* page/mac/FrameMac.mm:
(WebCore::Frame::fontAttributesForSelectionStart):
* rendering/EllipsisBox.cpp:
(WebCore::EllipsisBox::paint):
(WebCore::EllipsisBox::paintSelection):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::paint):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):
(WebCore::RenderBox::paintRootBoxDecorations):
(WebCore::RenderBox::paintBoxDecorationsWithSize):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintBoxShadow):
* rendering/RenderFieldset.cpp:
(WebCore::RenderFieldset::paintBoxDecorations):
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):
* rendering/RenderFrameSet.cpp:
(WebCore::RenderFrameSet::paintColumnBorder):
(WebCore::RenderFrameSet::paintRowBorder):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::paintReplaced):
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::rendererBackgroundColor):
* rendering/RenderLayerBacking.h:
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::paintItemForeground):
(WebCore::RenderListBox::paintItemBackground):
* rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::paint):
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::itemStyle):
(WebCore::RenderMenuList::itemBackgroundColor):
(WebCore::RenderMenuList::menuStyle):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::selectionBackgroundColor):
(WebCore::RenderObject::selectionForegroundColor):
* rendering/RenderSVGResource.cpp:
(WebCore::RenderSVGResource::adjustColorForPseudoRules):
(WebCore::RenderSVGResource::fillPaintingResource):
(WebCore::RenderSVGResource::strokePaintingResource):
* rendering/RenderSVGResource.h:
* rendering/RenderTable.cpp:
(WebCore::RenderTable::paintBoxDecorations):
* rendering/RenderTable.h:
(WebCore::RenderTable::bgColor):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintBackgroundsBehindCell):
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::adjustInnerTextStyle):
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::menuStyle):
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::isControlStyled):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::paintMenuListButton):
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):
(WebCore::write):
* rendering/RenderTreeAsText.h:
* rendering/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paintSelection):
* rendering/SVGRenderTreeAsText.cpp:
(WebCore::writeRenderSVGTextBox):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::colorIncludingFallback):
(WebCore::RenderStyle::visitedDependentColor):
* rendering/style/RenderStyle.h:
(WebCore::):
(WebCore::InheritedFlags::hasBackground):
(WebCore::InheritedFlags::borderLeftStyle):
(WebCore::InheritedFlags::borderRightStyle):
(WebCore::InheritedFlags::borderTopStyle):
(WebCore::InheritedFlags::borderBottomStyle):
(WebCore::InheritedFlags::textShadow):
(WebCore::InheritedFlags::textStrokeWidth):
(WebCore::InheritedFlags::hasNormalColumnGap):
(WebCore::InheritedFlags::borderLeftColor):
(WebCore::InheritedFlags::borderRightColor):
(WebCore::InheritedFlags::borderTopColor):
(WebCore::InheritedFlags::borderBottomColor):
(WebCore::InheritedFlags::backgroundColor):
(WebCore::InheritedFlags::color):
(WebCore::InheritedFlags::columnRuleColor):
(WebCore::InheritedFlags::outlineColor):
(WebCore::InheritedFlags::textFillColor):
(WebCore::InheritedFlags::textStrokeColor):
* svg/SVGAnimationElement.cpp:
(WebCore::adjustForCurrentColor):

WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=39420

Reviewed by Dan Bernstein.

Make sure everyone who needs to is using visitedDependentColor rather than accessing styles
directly.

* Misc/WebNSAttributedStringExtras.mm:
(+[NSAttributedString _web_attributedStringFromRange:]):
* WebView/WebFrame.mm:
(-[WebFrame _bodyBackgroundColor]):

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

11 years ago2010-05-21 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Fri, 21 May 2010 20:52:30 +0000 (20:52 +0000)]
2010-05-21  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Gavin Barraclough.

        Split out JITCall32_64.cpp, and tightened up some #ifdefs in the hopes
        of improving compile times.
        https://bugs.webkit.org/show_bug.cgi?id=39507

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * jit/JIT.cpp:
        * jit/JITArithmetic.cpp:
        * jit/JITArithmetic32_64.cpp:
        * jit/JITCall.cpp:
        * jit/JITCall32_64.cpp: Copied from jit/JITCall.cpp.
        * jit/JITOpcodes.cpp:
        * jit/JITOpcodes32_64.cpp:
        * jit/JITPropertyAccess.cpp:
        * jit/JITPropertyAccess32_64.cpp:
        * jit/JITStubs.cpp:

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

11 years ago2010-05-14 Chang Shu <chang.shu@nokia.com>
chang.shu@nokia.com [Fri, 21 May 2010 20:47:13 +0000 (20:47 +0000)]
2010-05-14  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Eric Seidel.

        Import Philip Taylor's HTML5 <canavs> test suite from
        http://philip.html5.org/tests/canvas/suite/tests. These
        test cases are skipped for now.
        https://bugs.webkit.org/show_bug.cgi?id=20553

        * fast/canvas/philip: Added.
        * fast/canvas/philip/fonts: Added.
        * fast/canvas/philip/fonts/CanvasTest.sfd: Added.
        * fast/canvas/philip/fonts/CanvasTest.ttf: Added.
        * fast/canvas/philip/images: Added.
        * fast/canvas/philip/images/anim-gr.gif: Added.
        * fast/canvas/philip/images/anim-gr.png: Added.
        * fast/canvas/philip/images/anim-poster-gr.png: Added.
        * fast/canvas/philip/images/background.png: Added.
        * fast/canvas/philip/images/broken.png: Added.
        * fast/canvas/philip/images/ggrr-256x256.png: Added.
        * fast/canvas/philip/images/green-16x16.png: Added.
        * fast/canvas/philip/images/green-1x1.png: Added.
        * fast/canvas/philip/images/green-256x256.png: Added.
        * fast/canvas/philip/images/green-2x2.png: Added.
        * fast/canvas/philip/images/green.png: Added.
        * fast/canvas/philip/images/grgr-256x256.png: Added.
        * fast/canvas/philip/images/red-16x16.png: Added.
        * fast/canvas/philip/images/red.png: Added.
        * fast/canvas/philip/images/redtransparent.png: Added.
        * fast/canvas/philip/images/rgrg-256x256.png: Added.
        * fast/canvas/philip/images/rrgg-256x256.png: Added.
        * fast/canvas/philip/images/transparent.png: Added.
        * fast/canvas/philip/images/transparent50.png: Added.
        * fast/canvas/philip/images/yellow.png: Added.
        * fast/canvas/philip/images/yellow75.png: Added.
        * fast/canvas/philip/tests: Added.
        * fast/canvas/philip/tests.css: Added.
        * fast/canvas/philip/tests/.reportgen.html.swp: Added.
        * fast/canvas/philip/tests/.reportgen.js.swp: Added.
        * fast/canvas/philip/tests/2d.canvas.readonly.html: Added.
        * fast/canvas/philip/tests/2d.canvas.reference.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.basic.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.clip.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.globalalpha.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.globalcomposite.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.negative.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.path.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.shadow.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.transform.html: Added.
        * fast/canvas/philip/tests/2d.clearRect.zero.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.destination-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.lighter.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.lighter.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.source-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.xor.html: Added.
        * fast/canvas/philip/tests/2d.composite.canvas.xor.png: Added.
        * fast/canvas/philip/tests/2d.composite.clip.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.destination-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.destination-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.lighter.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.source-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.source-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.clip.xor.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.canvas.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.canvaspattern.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.default.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.fill.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.image.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.imagepattern.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.invalid.html: Added.
        * fast/canvas/philip/tests/2d.composite.globalAlpha.range.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.destination-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.lighter.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.lighter.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.source-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.image.xor.html: Added.
        * fast/canvas/philip/tests/2d.composite.image.xor.png: Added.
        * fast/canvas/philip/tests/2d.composite.operation.casesensitive.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.clear.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.darker.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.default.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.get.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.highlight.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.nullsuffix.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.over.html: Added.
        * fast/canvas/philip/tests/2d.composite.operation.unrecognised.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.destination-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.lighter.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.lighter.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.source-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.solid.xor.html: Added.
        * fast/canvas/philip/tests/2d.composite.solid.xor.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.destination-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.lighter.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.lighter.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-over.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.source-over.png: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.xor.html: Added.
        * fast/canvas/philip/tests/2d.composite.transparent.xor.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.fill.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.image.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.nocontext.source-out.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.copy.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.copy.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.destination-atop.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.destination-atop.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.destination-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.destination-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.source-in.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.source-in.png: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.source-out.html: Added.
        * fast/canvas/philip/tests/2d.composite.uncovered.pattern.source-out.png: Added.
        * fast/canvas/philip/tests/2d.coordinatespace.html: Added.
        * fast/canvas/philip/tests/2d.coordinatespace.png: Added.
        * fast/canvas/philip/tests/2d.drawImage.3arg.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.5arg.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.9arg.basic.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.9arg.destpos.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.9arg.destsize.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.9arg.sourcepos.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.9arg.sourcesize.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.alpha.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.animated.apng.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.animated.gif.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.animated.poster.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.broken.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.canvas.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.clip.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.composite.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.floatsource.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.incomplete.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.negativedest.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.negativedir.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.negativesource.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.nowrap.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.null.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.outsidesource.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.path.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.self.1.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.self.2.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.transform.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.wrongtype.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.zerocanvas.html: Added.
        * fast/canvas/philip/tests/2d.drawImage.zerosource.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.basic.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.clip.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.negative.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.path.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.shadow.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.transform.html: Added.
        * fast/canvas/philip/tests/2d.fillRect.zero.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.default.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.get.semitransparent.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.get.solid.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.get.transparent.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.invalidstring.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.invalidtype.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.current.basic.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.current.changed.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.current.removed.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.current.removed.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hex3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hex3.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hex6.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hex6.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-3.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-4.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-5.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-3.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsl-clamp-4.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-3.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-4.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-5.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-6.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.hsla-clamp-6.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.html4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.html4.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex6.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex7.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hex8.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsl-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsl-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsl-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsl-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsl-5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsla-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.hsla-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.name-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.name-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.name-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-6.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgb-7.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.invalid.rgba-5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-3.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-3.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-4.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-4.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-5.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-clamp-5.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-num.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-num.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-percent.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgb-percent.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-clamp-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-clamp-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-clamp-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-clamp-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-num-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-num-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-num-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-num-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-percent.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-percent.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-solid-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-solid-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-solid-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.rgba-solid-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.svg-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.svg-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.svg-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.svg-2.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.system.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.transparent-1.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.transparent-1.png: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.transparent-2.html: Added.
        * fast/canvas/philip/tests/2d.fillStyle.parse.transparent-2.png: Added.
        * fast/canvas/philip/tests/2d.getcontext.exists.html: Added.
        * fast/canvas/philip/tests/2d.getcontext.shared.html: Added.
        * fast/canvas/philip/tests/2d.getcontext.unique.html: Added.
        * fast/canvas/philip/tests/2d.gradient.empty.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.alpha.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.alpha.png: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.colour.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.colour.png: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.colouralpha.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.colouralpha.png: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.multiple.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.multiple.png: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.outside.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.overlap.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.overlap.png: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.overlap2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.solid.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.vertical.html: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.vertical.png: Added.
        * fast/canvas/philip/tests/2d.gradient.interpolate.zerosize.html: Added.
        * fast/canvas/philip/tests/2d.gradient.linear.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.gradient.linear.transform.1.html: Added.
        * fast/canvas/philip/tests/2d.gradient.linear.transform.2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.linear.transform.3.html: Added.
        * fast/canvas/philip/tests/2d.gradient.object.compare.html: Added.
        * fast/canvas/philip/tests/2d.gradient.object.crosscanvas.html: Added.
        * fast/canvas/philip/tests/2d.gradient.object.invalidcolour.html: Added.
        * fast/canvas/philip/tests/2d.gradient.object.invalidoffset.html: Added.
        * fast/canvas/philip/tests/2d.gradient.object.return.html: Added.
        * fast/canvas/philip/tests/2d.gradient.object.update.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.behind.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.beside.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.bottom.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.cylinder.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.front.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.shape1.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.shape2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.cone.top.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.equal.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.inside1.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.inside2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.inside3.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.negative.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.outside1.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.outside2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.outside3.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.touch1.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.touch2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.touch3.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.transform.1.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.transform.2.html: Added.
        * fast/canvas/philip/tests/2d.gradient.radial.transform.3.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create1.basic.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create1.initial.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create1.type.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create1.zero.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.basic.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.initial.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.large.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.negative.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.round.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.tiny.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.type.html: Added.
        * fast/canvas/philip/tests/2d.imageData.create2.zero.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.basic.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.clamp.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.length.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.nonpremul.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.order.alpha.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.order.cols.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.order.rgb.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.order.rows.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.range.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.source.negative.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.source.outside.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.source.size.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.tiny.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.type.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.imageData.get.zero.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.ctor.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.nan.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.properties.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.readonly.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.round.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.set.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.string.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.undefined.html: Added.
        * fast/canvas/philip/tests/2d.imageData.object.wrap.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.alpha.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.alpha.png: Added.
        * fast/canvas/philip/tests/2d.imageData.put.basic.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.clip.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.created.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.cross.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.dirty.negative.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.dirty.outside.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.dirty.rect1.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.dirty.rect2.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.dirty.zero.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.modified.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.null.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.path.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.unchanged.html: Added.
        * fast/canvas/philip/tests/2d.imageData.put.wrongtype.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.butt.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.closed.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.invalid.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.open.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.round.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.square.html: Added.
        * fast/canvas/philip/tests/2d.line.cap.valid.html: Added.
        * fast/canvas/philip/tests/2d.line.cross.html: Added.
        * fast/canvas/philip/tests/2d.line.defaults.html: Added.
        * fast/canvas/philip/tests/2d.line.join.bevel.html: Added.
        * fast/canvas/philip/tests/2d.line.join.closed.html: Added.
        * fast/canvas/philip/tests/2d.line.join.invalid.html: Added.
        * fast/canvas/philip/tests/2d.line.join.miter.html: Added.
        * fast/canvas/philip/tests/2d.line.join.open.html: Added.
        * fast/canvas/philip/tests/2d.line.join.parallel.html: Added.
        * fast/canvas/philip/tests/2d.line.join.round.html: Added.
        * fast/canvas/philip/tests/2d.line.join.valid.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.acute.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.exceeded.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.invalid.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.lineedge.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.obtuse.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.rightangle.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.valid.html: Added.
        * fast/canvas/philip/tests/2d.line.miter.within.html: Added.
        * fast/canvas/philip/tests/2d.line.union.html: Added.
        * fast/canvas/philip/tests/2d.line.width.basic.html: Added.
        * fast/canvas/philip/tests/2d.line.width.invalid.html: Added.
        * fast/canvas/philip/tests/2d.line.width.scaledefault.html: Added.
        * fast/canvas/philip/tests/2d.line.width.transformed.html: Added.
        * fast/canvas/philip/tests/2d.line.width.valid.html: Added.
        * fast/canvas/philip/tests/2d.missingargs.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.angle.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.angle.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.angle.3.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.angle.4.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.angle.5.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.angle.6.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.empty.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.end.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.negative.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.nonempty.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.scale.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.scale.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.selfintersect.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.selfintersect.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.shape.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.shape.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.shape.3.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.shape.4.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.shape.5.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.twopie.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.twopie.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.twopie.3.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.twopie.4.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.zero.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.zero.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arc.zeroradius.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.coincide.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.coincide.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.collinear.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.collinear.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.collinear.3.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.ensuresubpath.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.ensuresubpath.2.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.negative.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.scale.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.shape.curve1.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.shape.curve2.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.shape.end.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.shape.start.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.transformation.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.zero.1.html: Added.
        * fast/canvas/philip/tests/2d.path.arcTo.zero.2.html: Added.
        * fast/canvas/philip/tests/2d.path.beginPath.html: Added.
        * fast/canvas/philip/tests/2d.path.bezierCurveTo.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.bezierCurveTo.ensuresubpath.1.html: Added.
        * fast/canvas/philip/tests/2d.path.bezierCurveTo.ensuresubpath.2.html: Added.
        * fast/canvas/philip/tests/2d.path.bezierCurveTo.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.bezierCurveTo.scaled.html: Added.
        * fast/canvas/philip/tests/2d.path.bezierCurveTo.shape.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.basic.1.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.basic.2.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.empty.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.intersect.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.winding.1.html: Added.
        * fast/canvas/philip/tests/2d.path.clip.winding.2.html: Added.
        * fast/canvas/philip/tests/2d.path.closePath.empty.html: Added.
        * fast/canvas/philip/tests/2d.path.closePath.newline.html: Added.
        * fast/canvas/philip/tests/2d.path.closePath.nextpoint.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.closed.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.closed.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.overlap.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.overlap.png: Added.
        * fast/canvas/philip/tests/2d.path.fill.winding.add.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.winding.subtract.1.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.winding.subtract.2.html: Added.
        * fast/canvas/philip/tests/2d.path.fill.winding.subtract.3.html: Added.
        * fast/canvas/philip/tests/2d.path.initial.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.arc.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.basic.1.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.basic.2.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.bezier.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.bigarc.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.edge.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.empty.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.outside.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.subpath.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.transform.1.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.transform.2.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.transform.3.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.unclosed.html: Added.
        * fast/canvas/philip/tests/2d.path.isPointInPath.winding.html: Added.
        * fast/canvas/philip/tests/2d.path.lineTo.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.lineTo.ensuresubpath.1.html: Added.
        * fast/canvas/philip/tests/2d.path.lineTo.ensuresubpath.2.html: Added.
        * fast/canvas/philip/tests/2d.path.lineTo.nextpoint.html: Added.
        * fast/canvas/philip/tests/2d.path.lineTo.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.moveTo.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.moveTo.multiple.html: Added.
        * fast/canvas/philip/tests/2d.path.moveTo.newsubpath.html: Added.
        * fast/canvas/philip/tests/2d.path.moveTo.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.quadraticCurveTo.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.quadraticCurveTo.ensuresubpath.1.html: Added.
        * fast/canvas/philip/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html: Added.
        * fast/canvas/philip/tests/2d.path.quadraticCurveTo.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.quadraticCurveTo.scaled.html: Added.
        * fast/canvas/philip/tests/2d.path.quadraticCurveTo.shape.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.closed.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.end.1.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.end.2.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.negative.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.newsubpath.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.selfintersect.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.winding.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.zero.1.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.zero.2.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.zero.3.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.zero.4.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.zero.5.html: Added.
        * fast/canvas/philip/tests/2d.path.rect.zero.6.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.empty.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.overlap.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.overlap.png: Added.
        * fast/canvas/philip/tests/2d.path.stroke.prune.arc.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.prune.closed.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.prune.corner.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.prune.curve.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.prune.line.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.prune.rect.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.scale1.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.scale2.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.skew.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.path.stroke.union.html: Added.
        * fast/canvas/philip/tests/2d.path.transformation.basic.html: Added.
        * fast/canvas/philip/tests/2d.path.transformation.changing.html: Added.
        * fast/canvas/philip/tests/2d.path.transformation.multiple.html: Added.
        * fast/canvas/philip/tests/2d.pattern.animated.gif.html: Added.
        * fast/canvas/philip/tests/2d.pattern.basic.canvas.html: Added.
        * fast/canvas/philip/tests/2d.pattern.basic.image.html: Added.
        * fast/canvas/philip/tests/2d.pattern.basic.nocontext.html: Added.
        * fast/canvas/philip/tests/2d.pattern.basic.type.html: Added.
        * fast/canvas/philip/tests/2d.pattern.basic.zerocanvas.html: Added.
        * fast/canvas/philip/tests/2d.pattern.crosscanvas.html: Added.
        * fast/canvas/philip/tests/2d.pattern.image.broken.html: Added.
        * fast/canvas/philip/tests/2d.pattern.image.incomplete.html: Added.
        * fast/canvas/philip/tests/2d.pattern.image.null.html: Added.
        * fast/canvas/philip/tests/2d.pattern.image.string.html: Added.
        * fast/canvas/philip/tests/2d.pattern.image.undefined.html: Added.
        * fast/canvas/philip/tests/2d.pattern.modify.canvas1.html: Added.
        * fast/canvas/philip/tests/2d.pattern.modify.canvas2.html: Added.
        * fast/canvas/philip/tests/2d.pattern.modify.image1.html: Added.
        * fast/canvas/philip/tests/2d.pattern.modify.image2.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.norepeat.basic.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.norepeat.coord1.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.norepeat.coord2.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.norepeat.coord3.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.norepeat.outside.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.orientation.canvas.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.orientation.image.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeat.basic.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeat.coord1.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeat.coord2.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeat.coord3.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeat.outside.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeatx.basic.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeatx.coord1.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeatx.outside.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeaty.basic.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeaty.coord1.html: Added.
        * fast/canvas/philip/tests/2d.pattern.paint.repeaty.outside.html: Added.
        * fast/canvas/philip/tests/2d.pattern.repeat.case.html: Added.
        * fast/canvas/philip/tests/2d.pattern.repeat.empty.html: Added.
        * fast/canvas/philip/tests/2d.pattern.repeat.null.html: Added.
        * fast/canvas/philip/tests/2d.pattern.repeat.nullsuffix.html: Added.
        * fast/canvas/philip/tests/2d.pattern.repeat.undefined.html: Added.
        * fast/canvas/philip/tests/2d.pattern.repeat.unrecognised.html: Added.
        * fast/canvas/philip/tests/2d.scaled.html: Added.
        * fast/canvas/philip/tests/2d.scaled.png: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.2.png: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.3.html: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.3.png: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.4.html: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.4.png: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.5.html: Added.
        * fast/canvas/philip/tests/2d.shadow.alpha.5.png: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowBlur.initial.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowBlur.invalid.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowBlur.valid.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowColor.initial.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowColor.invalid.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowColor.valid.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowOffset.initial.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowOffset.invalid.html: Added.
        * fast/canvas/philip/tests/2d.shadow.attributes.shadowOffset.valid.html: Added.
        * fast/canvas/philip/tests/2d.shadow.blur.high.html: Added.
        * fast/canvas/philip/tests/2d.shadow.blur.high.png: Added.
        * fast/canvas/philip/tests/2d.shadow.blur.low.html: Added.
        * fast/canvas/philip/tests/2d.shadow.blur.low.png: Added.
        * fast/canvas/philip/tests/2d.shadow.canvas.alpha.html: Added.
        * fast/canvas/philip/tests/2d.shadow.canvas.alpha.png: Added.
        * fast/canvas/philip/tests/2d.shadow.canvas.basic.html: Added.
        * fast/canvas/philip/tests/2d.shadow.canvas.transparent.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.canvas.transparent.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.clip.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.clip.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.clip.3.html: Added.
        * fast/canvas/philip/tests/2d.shadow.composite.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.composite.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.composite.3.html: Added.
        * fast/canvas/philip/tests/2d.shadow.enable.blur.html: Added.
        * fast/canvas/philip/tests/2d.shadow.enable.off.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.enable.off.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.enable.x.html: Added.
        * fast/canvas/philip/tests/2d.shadow.enable.y.html: Added.
        * fast/canvas/philip/tests/2d.shadow.gradient.alpha.html: Added.
        * fast/canvas/philip/tests/2d.shadow.gradient.alpha.png: Added.
        * fast/canvas/philip/tests/2d.shadow.gradient.basic.html: Added.
        * fast/canvas/philip/tests/2d.shadow.gradient.transparent.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.gradient.transparent.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.image.alpha.html: Added.
        * fast/canvas/philip/tests/2d.shadow.image.alpha.png: Added.
        * fast/canvas/philip/tests/2d.shadow.image.basic.html: Added.
        * fast/canvas/philip/tests/2d.shadow.image.scale.html: Added.
        * fast/canvas/philip/tests/2d.shadow.image.section.html: Added.
        * fast/canvas/philip/tests/2d.shadow.image.transparent.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.image.transparent.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.offset.negativeX.html: Added.
        * fast/canvas/philip/tests/2d.shadow.offset.negativeY.html: Added.
        * fast/canvas/philip/tests/2d.shadow.offset.positiveX.html: Added.
        * fast/canvas/philip/tests/2d.shadow.offset.positiveY.html: Added.
        * fast/canvas/philip/tests/2d.shadow.outside.html: Added.
        * fast/canvas/philip/tests/2d.shadow.pattern.alpha.html: Added.
        * fast/canvas/philip/tests/2d.shadow.pattern.alpha.png: Added.
        * fast/canvas/philip/tests/2d.shadow.pattern.basic.html: Added.
        * fast/canvas/philip/tests/2d.shadow.pattern.transparent.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.pattern.transparent.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.stroke.basic.html: Added.
        * fast/canvas/philip/tests/2d.shadow.stroke.cap.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.stroke.cap.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.stroke.join.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.stroke.join.2.html: Added.
        * fast/canvas/philip/tests/2d.shadow.stroke.join.3.html: Added.
        * fast/canvas/philip/tests/2d.shadow.transform.1.html: Added.
        * fast/canvas/philip/tests/2d.shadow.transform.2.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.bitmap.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.clip.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.fillStyle.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.font.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.globalAlpha.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.globalCompositeOperation.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.lineCap.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.lineJoin.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.lineWidth.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.miterLimit.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.path.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.shadowBlur.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.shadowColor.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.shadowOffsetX.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.shadowOffsetY.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.stack.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.stackdepth.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.strokeStyle.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.textAlign.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.textBaseline.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.transformation.html: Added.
        * fast/canvas/philip/tests/2d.state.saverestore.underflow.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.basic.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.clip.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.globalalpha.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.globalcomposite.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.negative.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.path.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.shadow.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.transform.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.zero.1.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.zero.2.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.zero.3.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.zero.4.html: Added.
        * fast/canvas/philip/tests/2d.strokeRect.zero.5.html: Added.
        * fast/canvas/philip/tests/2d.strokeStyle.default.html: Added.
        * fast/canvas/philip/tests/2d.text.align.default.html: Added.
        * fast/canvas/philip/tests/2d.text.align.invalid.html: Added.
        * fast/canvas/philip/tests/2d.text.align.valid.html: Added.
        * fast/canvas/philip/tests/2d.text.baseline.default.html: Added.
        * fast/canvas/philip/tests/2d.text.baseline.invalid.html: Added.
        * fast/canvas/philip/tests/2d.text.baseline.valid.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.center.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.end.ltr.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.end.rtl.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.left.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.right.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.start.ltr.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.align.start.rtl.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.baseline.alphabetic.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.baseline.bottom.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.baseline.hanging.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.baseline.ideographic.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.baseline.middle.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.baseline.top.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.basic.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.basic.png: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.maxWidth.bound.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.maxWidth.large.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.maxWidth.large.png: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.maxWidth.small.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.maxWidth.zero.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.rtl.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.rtl.png: Added.
        * fast/canvas/philip/tests/2d.text.draw.fill.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fontface.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fontface.notinpage.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.fontface.repeat.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.kern.consistent.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.space.basic.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.space.collapse.end.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.space.collapse.nonspace.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.space.collapse.other.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.space.collapse.space.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.space.collapse.start.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.stroke.basic.html: Added.
        * fast/canvas/philip/tests/2d.text.draw.stroke.basic.png: Added.
        * fast/canvas/philip/tests/2d.text.draw.stroke.unaffected.html: Added.
        * fast/canvas/philip/tests/2d.text.font.default.html: Added.
        * fast/canvas/philip/tests/2d.text.font.parse.basic.html: Added.
        * fast/canvas/philip/tests/2d.text.font.parse.complex.html: Added.
        * fast/canvas/philip/tests/2d.text.font.parse.invalid.html: Added.
        * fast/canvas/philip/tests/2d.text.font.parse.size.percentage.default.html: Added.
        * fast/canvas/philip/tests/2d.text.font.parse.size.percentage.html: Added.
        * fast/canvas/philip/tests/2d.text.font.parse.system.html: Added.
        * fast/canvas/philip/tests/2d.text.measure.width.basic.html: Added.
        * fast/canvas/philip/tests/2d.text.measure.width.empty.html: Added.
        * fast/canvas/philip/tests/2d.text.measure.width.space.html: Added.
        * fast/canvas/philip/tests/2d.transformation.order.html: Added.
        * fast/canvas/philip/tests/2d.transformation.rotate.direction.html: Added.
        * fast/canvas/philip/tests/2d.transformation.rotate.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.transformation.rotate.radians.html: Added.
        * fast/canvas/philip/tests/2d.transformation.rotate.wrap.html: Added.
        * fast/canvas/philip/tests/2d.transformation.rotate.wrapnegative.html: Added.
        * fast/canvas/philip/tests/2d.transformation.rotate.zero.html: Added.
        * fast/canvas/philip/tests/2d.transformation.scale.basic.html: Added.
        * fast/canvas/philip/tests/2d.transformation.scale.large.html: Added.
        * fast/canvas/philip/tests/2d.transformation.scale.multiple.html: Added.
        * fast/canvas/philip/tests/2d.transformation.scale.negative.html: Added.
        * fast/canvas/philip/tests/2d.transformation.scale.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.transformation.scale.zero.html: Added.
        * fast/canvas/philip/tests/2d.transformation.setTransform.multiple.html: Added.
        * fast/canvas/philip/tests/2d.transformation.setTransform.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.transformation.setTransform.skewed.html: Added.
        * fast/canvas/philip/tests/2d.transformation.transform.identity.html: Added.
        * fast/canvas/philip/tests/2d.transformation.transform.multiply.html: Added.
        * fast/canvas/philip/tests/2d.transformation.transform.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.transformation.transform.skewed.html: Added.
        * fast/canvas/philip/tests/2d.transformation.translate.basic.html: Added.
        * fast/canvas/philip/tests/2d.transformation.translate.nonfinite.html: Added.
        * fast/canvas/philip/tests/2d.voidreturn.html: Added.
        * fast/canvas/philip/tests/clear-100x50.png: Added.
        * fast/canvas/philip/tests/context.casesensitive.html: Added.
        * fast/canvas/philip/tests/context.emptystring.html: Added.
        * fast/canvas/philip/tests/context.unrecognised.badname.html: Added.
        * fast/canvas/philip/tests/context.unrecognised.badsuffix.html: Added.
        * fast/canvas/philip/tests/context.unrecognised.nullsuffix.html: Added.
        * fast/canvas/philip/tests/context.unrecognised.unicode.html: Added.
        * fast/canvas/philip/tests/fallback.basic.html: Added.
        * fast/canvas/philip/tests/fallback.multiple.html: Added.
        * fast/canvas/philip/tests/fallback.nested.html: Added.
        * fast/canvas/philip/tests/green-100x50.png: Added.
        * fast/canvas/philip/tests/initial.colour.html: Added.
        * fast/canvas/philip/tests/initial.colour.png: Added.
        * fast/canvas/philip/tests/initial.reset.2dstate.html: Added.
        * fast/canvas/philip/tests/initial.reset.clip.html: Added.
        * fast/canvas/philip/tests/initial.reset.different.html: Added.
        * fast/canvas/philip/tests/initial.reset.different.png: Added.
        * fast/canvas/philip/tests/initial.reset.gradient.html: Added.
        * fast/canvas/philip/tests/initial.reset.path.html: Added.
        * fast/canvas/philip/tests/initial.reset.path.png: Added.
        * fast/canvas/philip/tests/initial.reset.pattern.html: Added.
        * fast/canvas/philip/tests/initial.reset.same.html: Added.
        * fast/canvas/philip/tests/initial.reset.same.png: Added.
        * fast/canvas/philip/tests/initial.reset.transform.html: Added.
        * fast/canvas/philip/tests/security.dataURI.html: Added.
        * fast/canvas/philip/tests/security.drawImage.canvas.html: Added.
        * fast/canvas/philip/tests/security.drawImage.image.html: Added.
        * fast/canvas/philip/tests/security.pattern.canvas.fillStyle.html: Added.
        * fast/canvas/philip/tests/security.pattern.canvas.strokeStyle.html: Added.
        * fast/canvas/philip/tests/security.pattern.canvas.timing.html: Added.
        * fast/canvas/philip/tests/security.pattern.create.html: Added.
        * fast/canvas/philip/tests/security.pattern.cross.html: Added.
        * fast/canvas/philip/tests/security.pattern.image.fillStyle.html: Added.
        * fast/canvas/philip/tests/security.pattern.image.strokeStyle.html: Added.
        * fast/canvas/philip/tests/security.reset.html: Added.
        * fast/canvas/philip/tests/size.attributes.default.html: Added.
        * fast/canvas/philip/tests/size.attributes.default.png: Added.
        * fast/canvas/philip/tests/size.attributes.get.html: Added.
        * fast/canvas/philip/tests/size.attributes.get.png: Added.
        * fast/canvas/philip/tests/size.attributes.idl.html: Added.
        * fast/canvas/philip/tests/size.attributes.idl.set.zero.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.decimal.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.decimal.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.em.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.em.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.empty.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.empty.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.exp.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.exp.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.hex.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.junk.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.junk.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.minus.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.minus.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.octal.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.octal.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.onlyspace.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.onlyspace.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.percent.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.percent.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.plus.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.plus.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.space.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.space.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.trailingjunk.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.trailingjunk.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.whitespace.html: Added.
        * fast/canvas/philip/tests/size.attributes.parse.whitespace.png: Added.
        * fast/canvas/philip/tests/size.attributes.parse.zero.html: Added.
        * fast/canvas/philip/tests/size.attributes.reflect.setcontent.html: Added.
        * fast/canvas/philip/tests/size.attributes.reflect.setcontent.png: Added.
        * fast/canvas/philip/tests/size.attributes.reflect.setidl.html: Added.
        * fast/canvas/philip/tests/size.attributes.reflect.setidl.png: Added.
        * fast/canvas/philip/tests/size.attributes.reflect.setidlzero.html: Added.
        * fast/canvas/philip/tests/size.attributes.removed.html: Added.
        * fast/canvas/philip/tests/size.attributes.removed.png: Added.
        * fast/canvas/philip/tests/size.attributes.set.html: Added.
        * fast/canvas/philip/tests/size.attributes.set.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.decimal.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.decimal.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.em.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.em.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.empty.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.empty.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.exp.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.exp.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.hex.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.junk.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.junk.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.minus.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.minus.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.octal.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.octal.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.onlyspace.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.onlyspace.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.percent.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.percent.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.plus.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.plus.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.space.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.space.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.trailingjunk.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.trailingjunk.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.whitespace.html: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.whitespace.png: Added.
        * fast/canvas/philip/tests/size.attributes.setAttribute.zero.html: Added.
        * fast/canvas/philip/tests/size.attributes.style.html: Added.
        * fast/canvas/philip/tests/size.attributes.style.png: Added.
        * fast/canvas/philip/tests/toDataURL.arguments.1.html: Added.
        * fast/canvas/philip/tests/toDataURL.arguments.2.html: Added.
        * fast/canvas/philip/tests/toDataURL.arguments.3.html: Added.
        * fast/canvas/philip/tests/toDataURL.bogustype.html: Added.
        * fast/canvas/philip/tests/toDataURL.default.html: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.alpha.html: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.alpha.png: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.primarycolours.html: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.primarycolours.png: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.quality.basic.html: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.quality.basic.png: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.quality.notnumber.html: Added.
        * fast/canvas/philip/tests/toDataURL.jpeg.quality.outsiderange.html: Added.
        * fast/canvas/philip/tests/toDataURL.lowercase.ascii.html: Added.
        * fast/canvas/philip/tests/toDataURL.lowercase.unicode.html: Added.
        * fast/canvas/philip/tests/toDataURL.nocontext.html: Added.
        * fast/canvas/philip/tests/toDataURL.png.complexcolours.html: Added.
        * fast/canvas/philip/tests/toDataURL.png.complexcolours.png: Added.
        * fast/canvas/philip/tests/toDataURL.png.html: Added.
        * fast/canvas/philip/tests/toDataURL.png.primarycolours.html: Added.
        * fast/canvas/philip/tests/toDataURL.png.primarycolours.png: Added.
        * fast/canvas/philip/tests/toDataURL.unrecognised.html: Added.
        * fast/canvas/philip/tests/toDataURL.zerosize.html: Added.
        * fast/canvas/philip/tests/type.delete.html: Added.
        * fast/canvas/philip/tests/type.exists.html: Added.
        * fast/canvas/philip/tests/type.extend.html: Added.
        * fast/canvas/philip/tests/type.name.html: Added.
        * fast/canvas/philip/tests/type.prototype.html: Added.
        * fast/canvas/philip/tests/type.replace.html: Added.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:

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

11 years agoUnreviewed. Update Qt specific expected file after r59941.
ossy@webkit.org [Fri, 21 May 2010 20:25:25 +0000 (20:25 +0000)]
Unreviewed. Update Qt specific expected file after r59941.

* platform/qt/fast/dom/prototype-inheritance-expected.txt: updated.

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

11 years ago2010-05-21 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Fri, 21 May 2010 20:20:55 +0000 (20:20 +0000)]
2010-05-21  Alejandro G. Castro  <alex@igalia.com>

        Rubber-stamped by Xan Lopez.

        Updated test results.

        * platform/gtk/fast/dom/prototype-inheritance-expected.txt:

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

11 years agoUnreviewed buildfix for Qt after r59941.
ossy@webkit.org [Fri, 21 May 2010 20:07:26 +0000 (20:07 +0000)]
Unreviewed buildfix for Qt after r59941.

* JavaScriptCore.pro: missing runtime/JSObjectWithGlobalObject.cpp added to SOURCES.

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

11 years agoWebCore: Fix for <rdar://problem/8009118> Crash in WebCore::toAlphabetic()
bdakin@apple.com [Fri, 21 May 2010 19:53:29 +0000 (19:53 +0000)]
WebCore: Fix for <rdar://problem/8009118> Crash in WebCore::toAlphabetic()
while running MangleMe
-and corresponding-
https://bugs.webkit.org/show_bug.cgi?id=39508

Reviewed by Darin Adler.

The math was slightly off here, and we wound up trying to access an
array at index -1 in some cases. We need to decrement numberShadow
rather than subtracting one from the result of the modulo
operation.

* rendering/RenderListMarker.cpp:
(WebCore::toAlphabeticOrNumeric):

LayoutTests: Test for <rdar://problem/8009118> Crash in WebCore::toAlphabetic()
while running MangleMe
-and corresponding-
https://bugs.webkit.org/show_bug.cgi?id=39508

Reviewed by Darin Adler.

* fast/lists/alpha-boundary-values.html: Added.
* platform/mac/fast/lists/alpha-boundary-values-expected.checksum: Added.
* platform/mac/fast/lists/alpha-boundary-values-expected.png: Added.
* platform/mac/fast/lists/alpha-boundary-values-expected.txt: Added.

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

11 years agoQt buildfix #2
oliver@apple.com [Fri, 21 May 2010 19:20:41 +0000 (19:20 +0000)]
Qt buildfix #2

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

11 years agoWindows build fix #3
oliver@apple.com [Fri, 21 May 2010 19:11:05 +0000 (19:11 +0000)]
Windows build fix #3

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

11 years agoQt buildfix #1
oliver@apple.com [Fri, 21 May 2010 19:06:00 +0000 (19:06 +0000)]
Qt buildfix #1

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

11 years agoWindows build fix #2
oliver@apple.com [Fri, 21 May 2010 18:57:21 +0000 (18:57 +0000)]
Windows build fix #2

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

11 years agoFixed failure seen on buildbot (due to flaky test).
ggaren@apple.com [Fri, 21 May 2010 18:56:00 +0000 (18:56 +0000)]
Fixed failure seen on buildbot (due to flaky test).

Reviewed by Oliver Hunt.

Don't report an exception in a nested script evaluation -- just pass the
exception on to our caller. Our caller can decide to report the exception,
if it fully propagates -- but we don't want to report an exception that's
going to get caught.

* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::ScriptController):
(WebCore::ScriptController::evaluateInWorld):
* bindings/js/ScriptController.h:

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

11 years agoWindows build fix #1
oliver@apple.com [Fri, 21 May 2010 18:42:07 +0000 (18:42 +0000)]
Windows build fix #1

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

11 years ago2010-05-21 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Fri, 21 May 2010 18:19:42 +0000 (18:19 +0000)]
2010-05-21  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        All callable objects should have a global object reference
        https://bugs.webkit.org/show_bug.cgi?id=39495

        All objects that may ever return a value other CallTypeNone
        or ConstructTypeNone now get a global object in their constructor
        and store that in their first anonymous slot.  We add a new type
        JSObjectWithGlobalObject to allow us to share this logic as much
        as possible, however some objects have specific inheritance
        requirements so we can't just use it universally.

        To enforce this requirement JSValue::getCallData and getConstructData
        make use of a new "isValidCallee" function to assert that any object
        that returns a value other than CallType/ConstructTypeNone has a
        global object in anonymous slot 0.

        In order to ensure that static function slots are converted into
        function objects with the correct global object, all prototype objects
        and other classes with static function slots also gain a global object
        reference.  Happily this fixes the long standing issue where host
        function objects get a prototype from the lexical global object of the
        first function that calls them, instead of the global object that they
        are defined on.

        * API/JSCallbackConstructor.cpp:
        (JSC::JSCallbackConstructor::JSCallbackConstructor):
        * API/JSCallbackConstructor.h:
        * API/JSCallbackFunction.cpp:
        (JSC::JSCallbackFunction::JSCallbackFunction):
        * API/JSCallbackFunction.h:
        * API/JSCallbackObject.cpp:
        (JSC::):
        * API/JSCallbackObject.h:
        * API/JSCallbackObjectFunctions.h:
        (JSC::::JSCallbackObject):
        (JSC::::staticFunctionGetter):
        * API/JSClassRef.cpp:
        (OpaqueJSClass::prototype):
        * API/JSContextRef.cpp:
        * API/JSObjectRef.cpp:
        (JSObjectMake):
        (JSObjectMakeFunctionWithCallback):
        (JSObjectMakeConstructor):
        (JSObjectGetPrivate):
        (JSObjectSetPrivate):
        (JSObjectGetPrivateProperty):
        (JSObjectSetPrivateProperty):
        (JSObjectDeletePrivateProperty):
        * API/JSValueRef.cpp:
        (JSValueIsObjectOfClass):
        * API/JSWeakObjectMapRefPrivate.cpp:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * JavaScriptCore.exp:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        * jit/JITStubs.cpp:
        (JSC::DEFINE_STUB_FUNCTION):
        * jsc.cpp:
        (GlobalObject::GlobalObject):
        * runtime/ArrayConstructor.cpp:
        (JSC::ArrayConstructor::ArrayConstructor):
        * runtime/ArrayConstructor.h:
        * runtime/ArrayPrototype.cpp:
        (JSC::ArrayPrototype::ArrayPrototype):
        * runtime/ArrayPrototype.h:
        (JSC::ArrayPrototype::createStructure):
        * runtime/BooleanConstructor.cpp:
        (JSC::BooleanConstructor::BooleanConstructor):
        * runtime/BooleanConstructor.h:
        * runtime/BooleanPrototype.cpp:
        (JSC::BooleanPrototype::BooleanPrototype):
        * runtime/BooleanPrototype.h:
        * runtime/DateConstructor.cpp:
        (JSC::DateConstructor::DateConstructor):
        * runtime/DateConstructor.h:
        * runtime/DatePrototype.cpp:
        (JSC::DatePrototype::DatePrototype):
        * runtime/DatePrototype.h:
        * runtime/ErrorConstructor.cpp:
        (JSC::ErrorConstructor::ErrorConstructor):
        * runtime/ErrorConstructor.h:
        * runtime/ErrorPrototype.cpp:
        (JSC::ErrorPrototype::ErrorPrototype):
        * runtime/ErrorPrototype.h:
        * runtime/FunctionConstructor.cpp:
        (JSC::FunctionConstructor::FunctionConstructor):
        * runtime/FunctionConstructor.h:
        * runtime/FunctionPrototype.cpp:
        (JSC::FunctionPrototype::FunctionPrototype):
        (JSC::FunctionPrototype::addFunctionProperties):
        * runtime/FunctionPrototype.h:
        * runtime/GlobalEvalFunction.cpp:
        (JSC::GlobalEvalFunction::GlobalEvalFunction):
        * runtime/GlobalEvalFunction.h:
        * runtime/InternalFunction.cpp:
        (JSC::InternalFunction::InternalFunction):
        * runtime/InternalFunction.h:
        * runtime/JSCell.h:
        (JSC::JSValue::getCallData):
        (JSC::JSValue::getConstructData):
        * runtime/JSFunction.cpp:
        (JSC::JSFunction::JSFunction):
        * runtime/JSFunction.h:
        * runtime/JSGlobalObject.cpp:
        (JSC::JSGlobalObject::reset):
        * runtime/JSGlobalObject.h:
        (JSC::JSGlobalObject::JSGlobalObject):
        * runtime/JSONObject.cpp:
        (JSC::JSONObject::JSONObject):
        * runtime/JSONObject.h:
        * runtime/JSObject.h:
        * runtime/JSObjectWithGlobalObject.cpp: Added.
        (JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
        * runtime/JSObjectWithGlobalObject.h: Added.
        (JSC::JSObjectWithGlobalObject::createStructure):
        (JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
        * runtime/JSValue.cpp:
        (JSC::JSValue::isValidCallee):
        * runtime/JSValue.h:
        * runtime/Lookup.cpp:
        (JSC::setUpStaticFunctionSlot):
        * runtime/MathObject.cpp:
        (JSC::MathObject::MathObject):
        * runtime/MathObject.h:
        * runtime/NativeErrorConstructor.cpp:
        (JSC::NativeErrorConstructor::NativeErrorConstructor):
        * runtime/NativeErrorConstructor.h:
        * runtime/NativeErrorPrototype.cpp:
        (JSC::NativeErrorPrototype::NativeErrorPrototype):
        * runtime/NativeErrorPrototype.h:
        * runtime/NumberConstructor.cpp:
        (JSC::NumberConstructor::NumberConstructor):
        * runtime/NumberConstructor.h:
        * runtime/NumberPrototype.cpp:
        (JSC::NumberPrototype::NumberPrototype):
        * runtime/NumberPrototype.h:
        * runtime/ObjectConstructor.cpp:
        (JSC::ObjectConstructor::ObjectConstructor):
        * runtime/ObjectConstructor.h:
        * runtime/ObjectPrototype.cpp:
        (JSC::ObjectPrototype::ObjectPrototype):
        * runtime/ObjectPrototype.h:
        * runtime/PrototypeFunction.cpp:
        (JSC::PrototypeFunction::PrototypeFunction):
        * runtime/PrototypeFunction.h:
        * runtime/RegExpConstructor.cpp:
        (JSC::RegExpConstructor::RegExpConstructor):
        (JSC::constructRegExp):
        * runtime/RegExpConstructor.h:
        * runtime/RegExpObject.cpp:
        (JSC::RegExpObject::RegExpObject):
        * runtime/RegExpObject.h:
        * runtime/RegExpPrototype.cpp:
        (JSC::RegExpPrototype::RegExpPrototype):
        * runtime/RegExpPrototype.h:
        * runtime/StringConstructor.cpp:
        (JSC::StringConstructor::StringConstructor):
        * runtime/StringConstructor.h:
        * runtime/StringPrototype.cpp:
        (JSC::StringPrototype::StringPrototype):
        * runtime/StringPrototype.h:
2010-05-21  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        All callable objects should have a global object reference
        https://bugs.webkit.org/show_bug.cgi?id=39495

        Update expected results as we now give all function objects
        get their prototypes from the correct global object.

        * fast/dom/prototype-inheritance-expected.txt:
2010-05-21  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        All callable objects should have a global object reference
        https://bugs.webkit.org/show_bug.cgi?id=39495

        Update the bindings generator to give prototype objects a
        global object.  Update all the manually written JSObject
        subclasses to pass a global object.

        * ForwardingHeaders/runtime/JSObjectWithGlobalObject.h: Added.
        * WebCore.PluginHostProcess.exp:
        * bindings/js/JSDOMBinding.cpp:
        (WebCore::objectToStringFunctionGetter):
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::nonCachingStaticFunctionGetter):
        * bindings/js/JSDOMWindowShell.cpp:
        (WebCore::JSDOMWindowShell::setWindow):
        * bindings/js/JSHistoryCustom.cpp:
        (WebCore::nonCachingStaticBackFunctionGetter):
        (WebCore::nonCachingStaticForwardFunctionGetter):
        (WebCore::nonCachingStaticGoFunctionGetter):
        * bindings/js/JSLocationCustom.cpp:
        (WebCore::nonCachingStaticReplaceFunctionGetter):
        (WebCore::nonCachingStaticReloadFunctionGetter):
        (WebCore::nonCachingStaticAssignFunctionGetter):
        * bindings/js/WorkerScriptController.cpp:
        (WebCore::WorkerScriptController::initScript):
        * bindings/scripts/CodeGeneratorJS.pm:
        * bridge/c/CRuntimeObject.cpp:
        (JSC::Bindings::CRuntimeObject::CRuntimeObject):
        * bridge/c/CRuntimeObject.h:
        * bridge/c/c_instance.cpp:
        (JSC::Bindings::CInstance::newRuntimeObject):
        (JSC::Bindings::CRuntimeMethod::CRuntimeMethod):
        (JSC::Bindings::CInstance::getMethod):
        * bridge/jni/jsc/JavaInstanceJSC.cpp:
        (JavaInstance::newRuntimeObject):
        (JavaRuntimeMethod::JavaRuntimeMethod):
        (JavaInstance::getMethod):
        * bridge/jni/jsc/JavaRuntimeObject.cpp:
        (JSC::Bindings::JavaRuntimeObject::JavaRuntimeObject):
        * bridge/jni/jsc/JavaRuntimeObject.h:
        * bridge/jsc/BridgeJSC.cpp:
        (JSC::Bindings::Instance::newRuntimeObject):
        * bridge/objc/ObjCRuntimeObject.h:
        * bridge/objc/ObjCRuntimeObject.mm:
        (JSC::Bindings::ObjCRuntimeObject::ObjCRuntimeObject):
        * bridge/objc/objc_class.mm:
        (JSC::Bindings::ObjcClass::fallbackObject):
        * bridge/objc/objc_instance.mm:
        (ObjcInstance::newRuntimeObject):
        (ObjCRuntimeMethod::ObjCRuntimeMethod):
        (ObjcInstance::getMethod):
        * bridge/objc/objc_runtime.h:
        * bridge/objc/objc_runtime.mm:
        (JSC::Bindings::ObjcFallbackObjectImp::ObjcFallbackObjectImp):
        * bridge/runtime_method.cpp:
        (JSC::RuntimeMethod::RuntimeMethod):
        * bridge/runtime_method.h:
        * bridge/runtime_object.cpp:
        (JSC::Bindings::RuntimeObject::RuntimeObject):
        * bridge/runtime_object.h:
2010-05-21  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        All callable objects should have a global object reference
        https://bugs.webkit.org/show_bug.cgi?id=39495

        Update the plugin proxy to handle the need for global object.

        * Plugins/Hosted/ProxyInstance.mm:
        (WebKit::ProxyInstance::newRuntimeObject):
        (WebKit::ProxyRuntimeMethod::ProxyRuntimeMethod):
        (WebKit::ProxyInstance::getMethod):
        * Plugins/Hosted/ProxyRuntimeObject.h:
        * Plugins/Hosted/ProxyRuntimeObject.mm:
        (WebKit::ProxyRuntimeObject::ProxyRuntimeObject):

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

11 years ago2010-05-21 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 21 May 2010 18:14:11 +0000 (18:14 +0000)]
2010-05-21  Victor Wang  <victorw@chromium.org>

        Unremivewed. Update test expecations for chromium.

        * platform/chromium/test_expectations.txt:

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

11 years ago2010-05-21 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Fri, 21 May 2010 17:20:53 +0000 (17:20 +0000)]
2010-05-21  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Need a short description and bug URL (OOPS!)

        Removed the unused entry in the CallFrame, and reordered CallFrame
        writes on the hot path to be in forwards order.

        SunSpider says 0.3% faster.

        * interpreter/RegisterFile.h:
        (JSC::RegisterFile::):
        * jit/JITCall.cpp:
        (JSC::JIT::compileOpCall):

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

11 years ago2010-05-21 Robin Cao <robin.cao@torchmobile.com.cn>
eric@webkit.org [Fri, 21 May 2010 16:55:52 +0000 (16:55 +0000)]
2010-05-21  Robin Cao  <robin.cao@torchmobile.com.cn>

        Reviewed by Adam Roben.

        fast/dom/HTMLObjectElement/children-changed.html times out on Windows run-webkit-tests
        https://bugs.webkit.org/show_bug.cgi?id=31315

        * platform/win/Skipped: The test should pass now.
2010-05-21  Robin Cao  <robin.cao@torchmobile.com.cn>

        Reviewed by Adam Roben.

        fast/dom/HTMLObjectElement/children-changed.html times out on Windows run-webkit-tests
        https://bugs.webkit.org/show_bug.cgi?id=31315

        * DumpRenderTree/win/FrameLoadDelegate.cpp:
        (FrameLoadDelegate::didFailProvisionalLoadWithError): Need to invoke locationChangeDone here as mac port does.

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

11 years agoUnreviewed build fix for WebKit2
steveblock@google.com [Fri, 21 May 2010 16:31:18 +0000 (16:31 +0000)]
Unreviewed build fix for WebKit2

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

11 years agoUnreviewed.
jparent@chromium.org [Fri, 21 May 2010 16:27:11 +0000 (16:27 +0000)]
Unreviewed.

Updating Chromium test_expectations for newly added test,
svg/animations/animate-points.html which uses unsupported API.

* platform/chromium/test_expectations.txt:

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

11 years ago2010-05-21 Steve Block <steveblock@google.com>
steveblock@google.com [Fri, 21 May 2010 16:06:54 +0000 (16:06 +0000)]
2010-05-21  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Add DeviceOrientation and DeviceOrientationClient
        https://bugs.webkit.org/show_bug.cgi?id=39479

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):
2010-05-21  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Add DeviceOrientation and DeviceOrientationClient
        https://bugs.webkit.org/show_bug.cgi?id=39479

        * Api/qwebpage.cpp:
        (QWebPagePrivate::QWebPagePrivate):
2010-05-21  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Add DeviceOrientation and DeviceOrientationClient
        https://bugs.webkit.org/show_bug.cgi?id=39479

        * webkit/webkitwebview.cpp:
        (webkit_web_view_init):
2010-05-21  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Add DeviceOrientation and DeviceOrientationClient
        https://bugs.webkit.org/show_bug.cgi?id=39479

        * WebView.cpp:
        (WebView::initWithFrame):
2010-05-21  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Add DeviceOrientation and DeviceOrientationClient
        https://bugs.webkit.org/show_bug.cgi?id=39479

        * WebView/WebView.mm:
        (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
2010-05-21  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Add DeviceOrientation and DeviceOrientationClient
        https://bugs.webkit.org/show_bug.cgi?id=39479

        The page owns a DeviceOrientation object, which has a pointer to a
        DeviceOrientationClient object provided by the embedder. The
        DeviceOrientation object forwards requests to start listening to
        orientation to the client, and when updates are available, fires a
        DeviceOrientationEvent on the window object.

        No new tests are possible at this time as the implementation is
        incomplete. Future patches will add LayoutTestController methods
        to provide mock orientation events to test this.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.base.exp:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj
        * WebCore.xcodeproj/project.pbxproj:
        * dom/DeviceOrientation.cpp: Added.
        (WebCore::DeviceOrientation::DeviceOrientation):
        (WebCore::DeviceOrientation::onDeviceOrientationChange):
        * dom/DeviceOrientation.h: Added.
        * dom/DeviceOrientationClient.h: Added.
        (WebCore::DeviceOrientationClient::~DeviceOrientationClient):
        * page/Page.cpp:
        (WebCore::Page::Page):
        * page/Page.h:
        (WebCore::Page::deviceOrientation):
        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::dataChanged):

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

11 years ago2010-05-21 Tasuku Suzuki <tasuku.suzuki@nokia.com>
eric@webkit.org [Fri, 21 May 2010 15:28:36 +0000 (15:28 +0000)]
2010-05-21  Tasuku Suzuki  <tasuku.suzuki@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix compilation with QT_NO_GRAPHICSEFFECT
        https://bugs.webkit.org/show_bug.cgi?id=38324

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQtImpl::flushChanges):

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

11 years ago2010-05-21 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Fri, 21 May 2010 15:01:23 +0000 (15:01 +0000)]
2010-05-21  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Darin Fisher.

        Fix the HistoryController::pushState.

        It should be possible to call the pushState method from
        the first page in a window.

        history.pushState doesn't work for the first page in a window.
        https://bugs.webkit.org/show_bug.cgi?id=39418

        * loader/HistoryController.cpp:
        (WebCore::HistoryController::pushState):

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

11 years ago2010-05-21 Victoria Kirst <vrk@google.com>
eric@webkit.org [Fri, 21 May 2010 14:44:02 +0000 (14:44 +0000)]
2010-05-21  Victoria Kirst  <vrk@google.com>

        Reviewed by David Levin.

        [chromium] Fix slider status when buffering
        https://bugs.webkit.org/show_bug.cgi?id=39370
        Adjusts the buffering bar to be aligned with the slider thumb.

        No new tests. (Covered by existing layout tests.)

        * rendering/RenderMediaControlsChromium.cpp:
        (WebCore::paintMediaSlider):
        Added logic to align the buffering bar with the thumb. Half of the
        thumb image is transparent, so the buffer bar is adjusted to fill in
        this gap.

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

11 years ago2010-05-21 Jesus Sanchez-Palencia <jesus@webkit.org>
eric@webkit.org [Fri, 21 May 2010 14:21:38 +0000 (14:21 +0000)]
2010-05-21  Jesus Sanchez-Palencia  <jesus@webkit.org>

        Reviewed by Eric Seidel.

        Extra processesArguments() calls in Document::processViewport
        https://bugs.webkit.org/show_bug.cgi?id=39358

        The viewport arguments are only needed when there is a frame->page(),
        therefore we don't need to always call processArguments().

        * dom/Document.cpp:
        (WebCore::Document::processViewport):

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

11 years ago2010-05-21 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Fri, 21 May 2010 13:42:27 +0000 (13:42 +0000)]
2010-05-21  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Split the QScriptValue autotest into smaller chunks.

        File tst_qscriptvalue_generated.cpp was huge and it was difficult to compile
        it with MSVS2008, because of the code optimization.

        Tests were splited into a few files for better use of distributed
        compilation.
        Repeated calls to insert() and operator<<() where replaced by loops,
        that should reduce time of code optimizing.

        New files were generated by the same application, test logic wasn't changed.

        [Qt] The QScriptValue autotest should be refactored.
        https://bugs.webkit.org/show_bug.cgi?id=38987

        * qt/tests/qscriptvalue/qscriptvalue.pro:
        * qt/tests/qscriptvalue/tst_qscriptvalue.h:
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp: Removed.
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated_init.cpp: Added.
        (tst_QScriptValue::initScriptValues):
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated_istype.cpp: Added.
        (tst_QScriptValue::isValid_initData):
        (tst_QScriptValue::isValid_makeData):
        (tst_QScriptValue::isValid_test):
        (tst_QScriptValue::isBool_initData):
        (tst_QScriptValue::isBool_makeData):
        (tst_QScriptValue::isBool_test):
        (tst_QScriptValue::isBoolean_initData):
        (tst_QScriptValue::isBoolean_makeData):
        (tst_QScriptValue::isBoolean_test):
        (tst_QScriptValue::isNumber_initData):
        (tst_QScriptValue::isNumber_makeData):
        (tst_QScriptValue::isNumber_test):
        (tst_QScriptValue::isFunction_initData):
        (tst_QScriptValue::isFunction_makeData):
        (tst_QScriptValue::isFunction_test):
        (tst_QScriptValue::isNull_initData):
        (tst_QScriptValue::isNull_makeData):
        (tst_QScriptValue::isNull_test):
        (tst_QScriptValue::isString_initData):
        (tst_QScriptValue::isString_makeData):
        (tst_QScriptValue::isString_test):
        (tst_QScriptValue::isUndefined_initData):
        (tst_QScriptValue::isUndefined_makeData):
        (tst_QScriptValue::isUndefined_test):
        (tst_QScriptValue::isObject_initData):
        (tst_QScriptValue::isObject_makeData):
        (tst_QScriptValue::isObject_test):
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated_totype.cpp: Added.
        (tst_QScriptValue::toString_initData):
        (tst_QScriptValue::toString_makeData):
        (tst_QScriptValue::toString_test):
        (tst_QScriptValue::toNumber_initData):
        (tst_QScriptValue::toNumber_makeData):
        (tst_QScriptValue::toNumber_test):
        (tst_QScriptValue::toBool_initData):
        (tst_QScriptValue::toBool_makeData):
        (tst_QScriptValue::toBool_test):
        (tst_QScriptValue::toBoolean_initData):
        (tst_QScriptValue::toBoolean_makeData):
        (tst_QScriptValue::toBoolean_test):
        (tst_QScriptValue::toInteger_initData):
        (tst_QScriptValue::toInteger_makeData):
        (tst_QScriptValue::toInteger_test):
        (tst_QScriptValue::toInt32_initData):
        (tst_QScriptValue::toInt32_makeData):
        (tst_QScriptValue::toInt32_test):
        (tst_QScriptValue::toUInt32_initData):
        (tst_QScriptValue::toUInt32_makeData):
        (tst_QScriptValue::toUInt32_test):
        (tst_QScriptValue::toUInt16_initData):
        (tst_QScriptValue::toUInt16_makeData):
        (tst_QScriptValue::toUInt16_test):

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

11 years ago2010-05-17 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 21 May 2010 13:18:41 +0000 (13:18 +0000)]
2010-05-17  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        [GStreamer] video painting support on mac port
        https://bugs.webkit.org/show_bug.cgi?id=39206

        ImageGStreamer support for mac port. A CG Image is created using
        the GstBuffer data. It can then be painted by the gstreamer player.

        * platform/graphics/gstreamer/ImageGStreamer.h:
        * platform/graphics/gstreamer/ImageGStreamerCG.mm: Added.
        (ImageGStreamer::createImage):
        (ImageGStreamer::ImageGStreamer):
        (ImageGStreamer::~ImageGStreamer):

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

11 years ago2010-05-21 Robin Cao <robin.cao@torchmobile.com.cn>
eric@webkit.org [Fri, 21 May 2010 12:53:06 +0000 (12:53 +0000)]
2010-05-21  Robin Cao  <robin.cao@torchmobile.com.cn>

        Reviewed by Eric Seidel.

        animateTransform does not work on gradientTransform
        https://bugs.webkit.org/show_bug.cgi?id=38115

        Tests if gradientTransform of a gradient is animateable.

        * svg/animations/animate-gradient-transform-expected.txt: Added.
        * svg/animations/animate-gradient-transform.html: Added.
        * svg/animations/script-tests/animate-gradient-transform.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
2010-05-21  Robin Cao  <robin.cao@torchmobile.com.cn>

        Reviewed by Eric Seidel.

        animateTransform does not work on gradientTransform
        https://bugs.webkit.org/show_bug.cgi?id=38115

        Tests: svg/animations/animate-gradient-transform.html

        * svg/SVGAnimateTransformElement.cpp:
        (WebCore::SVGAnimateTransformElement::hasValidTarget): Check if the target element is gradient.
        (WebCore::transformListFor): Ditto.
        (WebCore::SVGAnimateTransformElement::resetToBaseValue): Ditto.
        (WebCore::SVGAnimateTransformElement::applyResultsToTarget): Ditto.

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

11 years ago2010-05-21 Young Han Lee <joybro@company100.net>
eric@webkit.org [Fri, 21 May 2010 12:15:29 +0000 (12:15 +0000)]
2010-05-21  Young Han Lee  <joybro@company100.net>

        Reviewed by Eric Seidel.

        Fix guard around DatabaseSync
        https://bugs.webkit.org/show_bug.cgi?id=38897

        * storage/DatabaseSync.cpp:

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

11 years agoGeolocation LayoutTests should use standard template pattern
steveblock@google.com [Fri, 21 May 2010 11:59:34 +0000 (11:59 +0000)]
Geolocation LayoutTests should use standard template pattern
https://bugs.webkit.org/show_bug.cgi?id=39301

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

11 years ago[Qt] Prospective Qt/Mac build fix
hausmann@webkit.org [Fri, 21 May 2010 11:14:53 +0000 (11:14 +0000)]
[Qt] Prospective Qt/Mac build fix

My cpp is paranoid and doesn't like #if Q_WS_MAC:
error: #if with no expression

* page/qt/EventHandlerQt.cpp:

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

11 years ago2010-05-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
eric@webkit.org [Fri, 21 May 2010 11:03:21 +0000 (11:03 +0000)]
2010-05-21  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Eric Seidel.

        [EFL] Update Localized Strings. Remove markers from strings
        since we are not using them and they are only polluting output.
        https://bugs.webkit.org/show_bug.cgi?id=39371

        No new tests required.

        * platform/efl/LocalizedStringsEfl.cpp:
        (WebCore::contextMenuItemTagOpenLinkInNewWindow):
        (WebCore::contextMenuItemTagDownloadLinkToDisk):
        (WebCore::contextMenuItemTagCopyLinkToClipboard):
        (WebCore::contextMenuItemTagOpenImageInNewWindow):
        (WebCore::contextMenuItemTagDownloadImageToDisk):
        (WebCore::contextMenuItemTagCopyImageToClipboard):
        (WebCore::contextMenuItemTagOpenFrameInNewWindow):
        (WebCore::contextMenuItemTagSelectAll):
        (WebCore::contextMenuItemTagUnicode):
        (WebCore::contextMenuItemTagInputMethods):
        (WebCore::contextMenuItemTagGoBack):
        (WebCore::contextMenuItemTagGoForward):
        (WebCore::contextMenuItemTagReload):
        (WebCore::contextMenuItemTagIgnoreSpelling):
        (WebCore::contextMenuItemTagLearnSpelling):
        (WebCore::contextMenuItemTagSearchWeb):
        (WebCore::contextMenuItemTagLookUpInDictionary):
        (WebCore::contextMenuItemTagOpenLink):
        (WebCore::contextMenuItemTagIgnoreGrammar):
        (WebCore::contextMenuItemTagSpellingMenu):
        (WebCore::contextMenuItemTagCheckSpelling):
        (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
        (WebCore::contextMenuItemTagFontMenu):
        (WebCore::contextMenuItemTagOutline):
        (WebCore::contextMenuItemTagInspectElement):
        (WebCore::searchMenuClearRecentSearchesText):
        (WebCore::missingPluginText): Add missing message.
        (WebCore::multipleFileUploadText):
        (WebCore::crashedPluginText):

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

11 years ago2010-05-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
eric@webkit.org [Fri, 21 May 2010 10:34:33 +0000 (10:34 +0000)]
2010-05-21  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Eric Seidel.

        [EF] Fix support for focus ring.
        https://bugs.webkit.org/show_bug.cgi?id=39387

        No new tests required.

        * html/HTMLAnchorElement.cpp: Add EFL to #ifdef
        (WebCore::HTMLAnchorElement::isMouseFocusable):

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

11 years ago2010-05-21 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 09:56:55 +0000 (09:56 +0000)]
2010-05-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add missing localized string symbols.
        https://bugs.webkit.org/show_bug.cgi?id=39394

        Add missingPluginText and crashedPluginText.

        * platform/brew/LocalizedStringsBrew.cpp:
        (WebCore::missingPluginText):
        (WebCore::crashedPluginText):

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

11 years ago2010-05-21 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 09:40:04 +0000 (09:40 +0000)]
2010-05-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        Add COMPILER(MSVC) guard for strnstr
        https://bugs.webkit.org/show_bug.cgi?id=39397

        BREWMP uses MSVC for simulator build, but it is not OS(WINDOWS).
        Add COMPILER(MSVC) guard for strnstr.

        * wtf/StringExtras.h:

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

11 years ago2010-05-21 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 09:24:47 +0000 (09:24 +0000)]
2010-05-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add !PLATFORM(BREWMP) guard for isMainThread
        https://bugs.webkit.org/show_bug.cgi?id=39396

        BREWMP sets ENABLE(SINGLE_THREADED), so it uses isMainThread from ThreadingNone.cpp.
        Exclude isMainThread in MainThread.cpp.

        * wtf/MainThread.cpp:

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

11 years agoSymbian build fix.
hausmann@webkit.org [Fri, 21 May 2010 09:23:15 +0000 (09:23 +0000)]
Symbian build fix.

[Qt] Updated the wins def file with one new export.

The DRT symbols are still missing, but I can't build DRT ;(

* symbian/bwins/QtWebKitu.def:

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

11 years agoCalls to CallJNIMethodIDA() in JavaInstance::invokeMethod() are required on Android
steveblock@google.com [Fri, 21 May 2010 08:52:22 +0000 (08:52 +0000)]
Calls to CallJNIMethodIDA() in JavaInstance::invokeMethod() are required on Android

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

11 years ago2010-05-20 Tony Chang <tony@chromium.org>
tony@chromium.org [Fri, 21 May 2010 07:57:42 +0000 (07:57 +0000)]
2010-05-20  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        escape link text when copying or dragging links on win or chromium
        https://bugs.webkit.org/show_bug.cgi?id=39413

        * editing/pasteboard/drop-link-expected.txt: Added.
        * editing/pasteboard/drop-link.html:
        * platform/chromium-linux/editing/pasteboard/drop-link-expected.checksum: Removed.
        * platform/chromium-linux/editing/pasteboard/drop-link-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/drop-link-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/drop-link-expected.checksum: Removed.
        * platform/chromium-win/editing/pasteboard/drop-link-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/drop-link-expected.txt: Removed.
        * platform/mac/editing/pasteboard/drop-link-expected.checksum: Removed.
        * platform/mac/editing/pasteboard/drop-link-expected.png: Removed.
        * platform/mac/editing/pasteboard/drop-link-expected.txt: Removed.
2010-05-20  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        escape link text when copying or dragging links on win or chromium
        https://bugs.webkit.org/show_bug.cgi?id=39413

        * editing/markup.cpp:
        (WebCore::urlToMarkup):
        * editing/markup.h:
        * platform/chromium/ClipboardUtilitiesChromium.cpp:
        * platform/chromium/ClipboardUtilitiesChromium.h:
        * platform/win/ClipboardUtilitiesWin.cpp:
        * platform/win/ClipboardUtilitiesWin.h:

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

11 years ago2010-05-20 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Fri, 21 May 2010 06:17:42 +0000 (06:17 +0000)]
2010-05-20  Daniel Bates  <dbates@rim.com>

        Rubber-stamped by Simon Fraser.

        Spelling correction; change "acces" [sic] to "access".

        * quality/lifecycle.html:

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

11 years ago2010-05-18 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Fri, 21 May 2010 06:10:12 +0000 (06:10 +0000)]
2010-05-18  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Eric Carlson.

        [GStreamer] PlatformMedia support
        https://bugs.webkit.org/show_bug.cgi?id=39300

        Basic support for PlatformMedia in the gst player. The
        PlatformMedia object contains a GStreamerGWorld object. That
        object is empty for now. XOverlay features will be added later
        on for easy review sake.

        * GNUmakefile.am:
        * platform/graphics/MediaPlayer.h:
        (WebCore::PlatformMedia::):
        * platform/graphics/gstreamer/GStreamerGWorld.cpp: Added.
        (WebCore::GStreamerGWorld::createGWorld):
        (WebCore::GStreamerGWorld::GStreamerGWorld):
        (WebCore::GStreamerGWorld::~GStreamerGWorld):
        * platform/graphics/gstreamer/GStreamerGWorld.h: Added.
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivateGStreamer::platformMedia):
        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:

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

11 years ago2010-05-20 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 05:58:38 +0000 (05:58 +0000)]
2010-05-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add dummy SSLKeyGenerator
        https://bugs.webkit.org/show_bug.cgi?id=39403

        Add dummy implementation of SSLKeyGenerator.

        * platform/brew/SSLKeyGeneratorBrew.cpp: Added.
        (WebCore::WebCore::getSupportedKeySizes):
        (WebCore::WebCore::signedPublicKeyAndChallengeString):

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

11 years ago<rdar://problem/7848154> Remove the dependency on Foundation's private __COCOA_FORMAL...
mrowe@apple.com [Fri, 21 May 2010 05:23:58 +0000 (05:23 +0000)]
<rdar://problem/7848154> Remove the dependency on Foundation's private __COCOA_FORMAL_PROTOCOLS_2__ define.

Rubber-stamped by Dan Bernstein.

WebCore:

* platform/mac/EmptyProtocolDefinitions.h:

WebKitTools:

* DumpRenderTree/mac/LayoutTestControllerMac.mm:

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

11 years ago2010-05-20 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 21 May 2010 05:15:24 +0000 (05:15 +0000)]
2010-05-20  Simon Fraser  <simon.fraser@apple.com>

        Build fix, no review.

        Fix the non-accelerated-compositing Windows build with some
        #if USE(ACCELERATED_COMPOSITING) loving.

        * WebView.cpp:
        * WebView.h:

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

11 years ago2010-05-20 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 05:09:03 +0000 (05:09 +0000)]
2010-05-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add Editor
        https://bugs.webkit.org/show_bug.cgi?id=39404

        Implement Editor::newGeneralClipboard.

        * editing/brew/EditorBrew.cpp: Added.
        (WebCore::Editor::newGeneralClipboard):

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

11 years ago2010-05-20 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 21 May 2010 04:49:20 +0000 (04:49 +0000)]
2010-05-20  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Adam Roben.

        Avoid flushing CA layers when a layout is pending
        https://bugs.webkit.org/show_bug.cgi?id=39463
        <rdar://problem/7999463>

        Avoid rendering the compositing layers to the screen if there's a layout pending,
        since the layer tree not in a state that should be presented to the user.

        This fixes flashes in some types of content that dynamically add and remove layers.

        Do this by adding a WKCACFLayerRendererClient for WKCACFLayerRenderer, which it can
        call through to ask whether now is a good time to render. If not, it schedules
        another render soon.

        * platform/graphics/win/WKCACFLayerRenderer.h:
        (WebCore::WKCACFLayerRendererClient::~WKCACFLayerRendererClient):
        * platform/graphics/win/WKCACFLayerRenderer.cpp:
        (WebCore::WKCACFLayerRenderer::acceleratedCompositingAvailable):
        (WebCore::WKCACFLayerRenderer::create):
        (WebCore::WKCACFLayerRenderer::WKCACFLayerRenderer):
        (WebCore::WKCACFLayerRenderer::render):

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

11 years ago2010-05-20 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 04:41:54 +0000 (04:41 +0000)]
2010-05-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Don't include CoreFoundation.h when building for BREW MP
        https://bugs.webkit.org/show_bug.cgi?id=39405

        Add !defined(BUILDING_BREWMP__) guard for CoreFoundation.h.

        * WebCorePrefix.h:

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

11 years ago2010-05-20 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 04:19:35 +0000 (04:19 +0000)]
2010-05-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Use skia as BREW MP's graphics backend.
        https://bugs.webkit.org/show_bug.cgi?id=39407

        Define WTF_PLATFORM_SKIA=1 for BREW MP.

        * wtf/Platform.h:

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

11 years ago2010-05-20 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Fri, 21 May 2010 03:56:14 +0000 (03:56 +0000)]
2010-05-20  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add ScrollTheme
        https://bugs.webkit.org/show_bug.cgi?id=39406

        As BREW MP always uses frame flattening, there is no need to render scorllbars.
        Use the default scrollbar theme with thickness 0.

        * platform/brew/ScrollbarThemeBrew.cpp: Added.
        (WebCore::ScrollbarTheme::nativeTheme):
        (WebCore::ScrollbarThemeBrew::~ScrollbarThemeBrew):
        * platform/brew/ScrollbarThemeBrew.h: Added.

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

11 years ago2010-05-20 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Fri, 21 May 2010 03:42:55 +0000 (03:42 +0000)]
2010-05-20  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Daniel Bates.

        Look in /proc/registry64 for the Platform SDK on 64-bit Windows.
        https://bugs.webkit.org/show_bug.cgi?id=39296

        The build-webkit script failed for me on Vista 64. A web search turned
        up this blog post with a patch that worked for me:
        http://www.nicholaswilson.me.uk/2010/04/hacking-webkit-fail/

        * Scripts/webkitdirs.pm:

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

11 years agoFixed naming mixup: it's op_call_put_result, not ret_result.
ggaren@apple.com [Fri, 21 May 2010 03:39:00 +0000 (03:39 +0000)]
Fixed naming mixup: it's op_call_put_result, not ret_result.

Reviewed by Beth Dakin.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):

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

11 years agoREGRESSION(r53637): DivX plug-in fails to start until window is resized
jhoneycutt@apple.com [Fri, 21 May 2010 03:20:27 +0000 (03:20 +0000)]
REGRESSION(r53637): DivX plug-in fails to start until window is resized
https://bugs.webkit.org/show_bug.cgi?id=39457
<rdar://problem/8006102>

Before r53637, we called Widget::move() (which caused us to call
NPP_SetWindow) before painting a plug-in. r53637 removed the call to
Widget::move(), and we end up never calling NPP_SetWindow for plug-ins
with the "DeferFirstSetWindowCall" quirk, including the DivX plug-in.

Reviewed by Simon Fraser.

* manual-tests/divx-plugin-fails-to-draw.html: Added.

* plugins/PluginView.cpp:
(WebCore::PluginView::PluginView):
Initialize new member to false.

* plugins/PluginView.h:
Added new member.

* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::paint):
Call setNPWindowRect() before painting to ensure that NPP_SetWindow gets
called.
(WebCore::PluginView::setNPWindowRect):
Set m_haveCalledSetWindow.

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

11 years ago2010-05-20 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Fri, 21 May 2010 03:06:42 +0000 (03:06 +0000)]
2010-05-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        WebSocket handshake incompatible change in draft-hixie-thewebsocketprotocol-76
        https://bugs.webkit.org/show_bug.cgi?id=35572

        Fix LayoutTests for new WebSocket protocol.
        It requires https://bugs.webkit.org/show_bug.cgi?id=38034 to pass websocket tests.

        * websocket/tests/handshake-error-expected.txt: Update expected data.
        * websocket/tests/handshake-error_wsh.py: Without CRLF, the wsh will sends "ThisWillCauseHandshakeErrorHTTP/1.1 101 WebSocket Protocol Handshake\r\n", which is legal for the first line of draft 76 WebSocket opening handshake. (4.1 Opening Handhshake, step 28 to 30).  To fail handshake, it needs \r\n.
        * websocket/tests/long-invalid-header-expected.txt:  Originally, it expects Upgrade header after status line.  In draft 76, order is not important.  But "pppp..\r\n" would fail because it misses ":" (end of name) before \r.
2010-05-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        WebSocket handshake incompatible change in draft-hixie-thewebsocketprotocol-76
        https://bugs.webkit.org/show_bug.cgi?id=35572

        WebSocket opening handshake is changed.  New protocol draft could be found at http://www.whatwg.org/specs/web-socket-protocol/
        It requires https://bugs.webkit.org/show_bug.cgi?id=38034 to pass websocket tests.

        * websockets/WebSocketHandshake.cpp:
        (WebCore::extractResponseCode):
        add lineLength parameter to return length of status line.
        (WebCore::hostName): Added.
        (WebCore::generateSecWebSocketKey): Added.
        (WebCore::generateKey3): Added.
        (WebCore::setChallengeNumber): Added.
        (WebCore::generateChallengeResponseExpected): Added.
        (WebCore::WebSocketHandshake::WebSocketHandshake):
         generate challenge response key and expected data.
        (WebCore::WebSocketHandshake::clientLocation):
         use hostName.
        (WebCore::WebSocketHandshake::clientHandshakeMessage):
         changed for draft 76 spec.
        (WebCore::WebSocketHandshake::clientHandshakeRequest):
        (WebCore::WebSocketHandshake::readServerHandshake):
         changed for draft 76 spec.
         m_mode is managed in this method.
        (WebCore::WebSocketHandshake::readHTTPHeaders):
         change error log messages.
        (WebCore::WebSocketHandshake::processHeaders):
         chagned for draft 76 spec.
        (WebCore::WebSocketHandshake::checkResponseHeaders):
         return boolean whether response header is ok or not and not change m_mode in it.
        * websockets/WebSocketHandshake.h:

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

11 years ago2010-05-20 Eric Seidel <eric@webkit.org>
eric@webkit.org [Fri, 21 May 2010 03:04:28 +0000 (03:04 +0000)]
2010-05-20  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        ThreadedMessageQueue should use with_statement for exception safety
        https://bugs.webkit.org/show_bug.cgi?id=39233

        * Scripts/webkitpy/common/thread/threadedmessagequeue.py:

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

11 years ago2010-05-20 Viet-Trung Luu <viettrungluu@chromium.org>
eric@webkit.org [Fri, 21 May 2010 02:52:36 +0000 (02:52 +0000)]
2010-05-20  Viet-Trung Luu  <viettrungluu@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Don't rely on focused node to route mouse events to plugins.
        https://bugs.webkit.org/show_bug.cgi?id=39375
        http://crbug.com/43935

        On mouse down, do a hit test and check if a plugin was hit. If so, then
        save the node for future mouse events (until mouse up or capture lost).

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):
        (WebKit::WebViewImpl::mouseDown):
        (WebKit::WebViewImpl::handleInputEvent):
        (WebKit::WebViewImpl::mouseCaptureLost):
        * src/WebViewImpl.h: Remove m_haveMouseCapture; add m_mouseCaptureNode.

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

11 years ago2010-05-20 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Fri, 21 May 2010 02:44:41 +0000 (02:44 +0000)]
2010-05-20  Victor Wang  <victorw@chromium.org>

        Unreviewed. Update test expectations for chromium.

        * platform/chromium-linux/fast/css/font-face-in-shadow-DOM-expected.checksum: Added.
        * platform/chromium-linux/fast/css/font-face-in-shadow-DOM-expected.png: Added.
        * platform/chromium-win/fast/css/font-face-in-shadow-DOM-expected.checksum: Added.
        * platform/chromium-win/fast/css/font-face-in-shadow-DOM-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

11 years ago2010-05-20 Zhenyao Mo <zmo@google.com>
eric@webkit.org [Fri, 21 May 2010 02:34:43 +0000 (02:34 +0000)]
2010-05-20  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        fast/canvas/webgl/texture-npot.html failed on leopard bot
        https://bugs.webkit.org/show_bug.cgi?id=39128

        * fast/canvas/webgl/texture-npot-expected.txt: Adding the failed test cases back.
        * fast/canvas/webgl/texture-npot.html:
        * platform/mac-leopard/Skipped: Skip texture-npot.html on leopard for now.

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

11 years ago2010-05-20 Dominic Mazzoni <dmazzoni@chromium.org>
eric@webkit.org [Fri, 21 May 2010 02:19:35 +0000 (02:19 +0000)]
2010-05-20  Dominic Mazzoni  <dmazzoni@chromium.org>

        Reviewed by Darin Fisher.

        Add headingLevel and setFocused methods.

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

        * public/WebAccessibilityObject.h:
        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::headingLevel):
        (WebKit::WebAccessibilityObject::setFocused):

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

11 years agoStop leaking all CACFContexts
aroben@apple.com [Fri, 21 May 2010 02:14:10 +0000 (02:14 +0000)]
Stop leaking all CACFContexts

Fixes <http://webkit.org/b/39466> <rdar://problem/8007141>.

Reviewed by Simon Fraser.

* platform/graphics/win/WKCACFContextFlusher.cpp:
(WebCore::WKCACFContextFlusher::addContext): Only retain the context
when we first add it to the m_contexts set. Otherwise we'll retain the
same context multiple times, causing it to leak.

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

11 years ago2010-05-20 Diego Gonzalez <diegohcg@webkit.org>
eric@webkit.org [Fri, 21 May 2010 02:02:29 +0000 (02:02 +0000)]
2010-05-20  Diego Gonzalez  <diegohcg@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QtTestBrowser does not support websites which requires HTTP Authentication via dialogs
        https://bugs.webkit.org/show_bug.cgi?id=38456

        * QtTestBrowser/webpage.cpp:
        (WebPage::WebPage):
        (WebPage::authenticationRequired):
        * QtTestBrowser/webpage.h:

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

11 years ago2010-05-20 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Fri, 21 May 2010 02:01:25 +0000 (02:01 +0000)]
2010-05-20  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Whittling away at CodeBlock use: Removed a little wonkiness in closure lookup
        https://bugs.webkit.org/show_bug.cgi?id=39444

        Calculate all lookup depths at compile time. I'm not sure why we couldn't
        do this before, but whatever the reason, it seems to be gone now.

        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::findScopedProperty):
        * bytecompiler/BytecodeGenerator.h:
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::resolveSkip):
        (JSC::Interpreter::resolveGlobalDynamic):
        (JSC::Interpreter::privateExecute):
        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_get_scoped_var):
        (JSC::JIT::emit_op_put_scoped_var):
        (JSC::JIT::emit_op_resolve_skip):
        (JSC::JIT::emit_op_resolve_global_dynamic):
        (JSC::JIT::emitSlow_op_resolve_global_dynamic):
        * jit/JITOpcodes32_64.cpp:
        (JSC::JIT::emit_op_get_scoped_var):
        (JSC::JIT::emit_op_put_scoped_var):
        (JSC::JIT::emit_op_resolve_skip):

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

11 years ago2010-05-20 Young Han Lee <joybro@company100.net>
eric@webkit.org [Fri, 21 May 2010 01:45:42 +0000 (01:45 +0000)]
2010-05-20  Young Han Lee  <joybro@company100.net>

        Reviewed by Darin Adler.

        Create filenameFromString for all ports except GTK and EFL.
        https://bugs.webkit.org/show_bug.cgi?id=39348

        * platform/FileSystem.cpp: Added.
        (WebCore::filenameFromString):
        * platform/FileSystem.h:

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

11 years agoWhen using a scale factor > 1, scrollbars sometimes appear when not necessary
mthole@apple.com [Fri, 21 May 2010 01:40:26 +0000 (01:40 +0000)]
When using a scale factor > 1, scrollbars sometimes appear when not necessary
https://bugs.webkit.org/show_bug.cgi?id=39458

Reviewed by Dave Hyatt.

* WebView/WebDynamicScrollBarsView.mm:
(-[WebDynamicScrollBarsView updateScrollers]): Round up non-integral sizes from AppKit
so that they can be compared against the integral document size.

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

11 years ago2010-05-20 Young Han Lee <joybro@company100.net>
eric@webkit.org [Fri, 21 May 2010 01:19:40 +0000 (01:19 +0000)]
2010-05-20  Young Han Lee  <joybro@company100.net>

        Reviewed by Darin Adler.

        Port SharedBuffer to POSIX.
        https://bugs.webkit.org/show_bug.cgi?id=39283

        * platform/posix/SharedBufferPOSIX.cpp: Added.
        (WebCore::SharedBuffer::createWithContentsOfFile):

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

11 years ago2010-05-20 Zhenyao Mo <zmo@google.com>
eric@webkit.org [Fri, 21 May 2010 01:06:34 +0000 (01:06 +0000)]
2010-05-20  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
        https://bugs.webkit.org/show_bug.cgi?id=39077

        * fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Add the test cases for color renderbuffer creation and attachment to framebuffer.
        * fast/canvas/webgl/framebuffer-object-attachment.html: Ditto.
2010-05-20  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
        https://bugs.webkit.org/show_bug.cgi?id=39077

        * platform/graphics/mac/GraphicsContext3DMac.cpp:
        (WebCore::GraphicsContext3D::renderbufferStorage): Mapping the enums.
2010-05-20  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        Map RGBA4/RGB5_A1 to RGBA and RGB565 to RGB in RenderbufferStorage
        https://bugs.webkit.org/show_bug.cgi?id=39077

        * src/WebGraphicsContext3DDefaultImpl.cpp:
        (WebKit::WebGraphicsContext3DDefaultImpl::renderbufferStorage): Mapping the enums.

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

11 years ago<rdar://problem/8007953> Textarea using custom font appears blank
mitz@apple.com [Fri, 21 May 2010 00:37:06 +0000 (00:37 +0000)]
<rdar://problem/8007953> Textarea using custom font appears blank

Reviewed by Dave Hyatt.

WebCore:

Test: fast/css/font-face-in-shadow-DOM.html

When a remote font is loaded, CSSFontSelector forces a style recalc, which replaces all
RenderSyles that have FontFallbackLists referencing the placeholder font with fresh
RenderStyles. However, it does not descend into shadow DOM trees, so those may end up with
styles that still reference the placeholder font.

The fix is to add RenderObject::requiresForcedStyleRecalcPropagation() and have it return
true from renderers that maintain shadow DOM trees or otherwise keep their own RenderStyles.

* dom/Element.cpp:
(WebCore::Element::recalcStyle): Check if forced style recalc needs to propagated.
* rendering/RenderButton.h:
(WebCore::RenderButton::requiresForcedStyleRecalcPropagation):
* rendering/RenderDataGrid.h:
(WebCore::RenderDataGrid::requiresForcedStyleRecalcPropagation):
* rendering/RenderFileUploadControl.h:
(WebCore::RenderFileUploadControl::requiresForcedStyleRecalcPropagation):
* rendering/RenderListItem.h:
(WebCore::RenderListItem::requiresForcedStyleRecalcPropagation):
* rendering/RenderMedia.h:
(WebCore::RenderMedia::requiresForcedStyleRecalcPropagation):
* rendering/RenderMenuList.h:
(WebCore::RenderMenuList::RenderMenuList::requiresForcedStyleRecalcPropagation):
* rendering/RenderObject.h:
(WebCore::RenderObject::requiresForcedStyleRecalcPropagation):
* rendering/RenderProgress.h:
(WebCore::RenderProgress::requiresForcedStyleRecalcPropagation):
* rendering/RenderSlider.h:
(WebCore::RenderSlider::requiresForcedStyleRecalcPropagation):
* rendering/RenderTextControl.h:
(WebCore::RenderTextControl::requiresForcedStyleRecalcPropagation):

LayoutTests:

* fast/css/font-face-in-shadow-DOM.html: Added.
* platform/mac/fast/css/font-face-in-shadow-DOM-expected.checksum: Added.
* platform/mac/fast/css/font-face-in-shadow-DOM-expected.png: Added.
* platform/mac/fast/css/font-face-in-shadow-DOM-expected.txt: Added.

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

11 years agoNo review; build fix only.
jer.noble@apple.com [Thu, 20 May 2010 23:02:40 +0000 (23:02 +0000)]
No review; build fix only.

When WTF_USE_ACCELERATED_COMPOSITING is turned off, MediaPlayerPrivateQuickTimeVisualContext.cpp
must include CoreGraphics/CGContext.h.

* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:

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

11 years ago2010-05-20 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 20 May 2010 22:51:52 +0000 (22:51 +0000)]
2010-05-20  Martin Robinson  <mrobinson@igalia.com>

        Not reviewed.

        Tests that use Geolocation.getCurrentPosition fail
        https://bugs.webkit.org/show_bug.cgi?id=39454

        * platform/gtk/Skipped: Skip failing tests until this bug is resolved.

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

11 years ago2010-05-20 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Thu, 20 May 2010 22:41:42 +0000 (22:41 +0000)]
2010-05-20  Jer Noble  <jer.noble@apple.com>

        Reviewed by Sam Weinig.

        Video elements show no video on Windows machines that do not support accelerated compositing
        https://bugs.webkit.org/show_bug.cgi?id=39446
        rdar://problem/7999794

        Implement the paint() method in MediaPlayerPrivateQuickTimeVisualContext.  The visual context should
        be set up in load() and torn down in the destructor (as opposed to setUpVideoRendering and
        tearDownVideoRendering, which won't get called in a non-accelerated compositing case).

        * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::~MediaPlayerPrivateQuickTimeVisualContext):
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::load):
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::paint):
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::visualContextTimerFired):
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::retrieveCurrentImage):
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::setUpVideoRendering):
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::tearDownVideoRendering):

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

11 years ago2010-05-20 Abhishek Arya <inferno@chromium.org>
victorw@chromium.org [Thu, 20 May 2010 22:32:45 +0000 (22:32 +0000)]
2010-05-20  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Added method to WebSecurityOrigin for invoking
        SecurityOrigin::canAccessPasswordManager.
        https://bugs.webkit.org/show_bug.cgi?id=38916

        * public/WebSecurityOrigin.h:
        * src/WebSecurityOrigin.cpp:
        (WebKit::WebSecurityOrigin::canAccessPasswordManager):
2010-05-20  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Added a method to check if the security origin can access
        password manager.
        https://bugs.webkit.org/show_bug.cgi?id=38916

        * page/SecurityOrigin.h:
        (WebCore::SecurityOrigin::canAccessPasswordManager):

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

11 years ago2010-05-20 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Thu, 20 May 2010 22:27:39 +0000 (22:27 +0000)]
2010-05-20  Victor Wang  <victorw@chromium.org>

        Unreviewed. Update test expectations for chromium.

        * platform/chromium-mac/svg/filters/feLighting-crash-expected.checksum: Added.
        * platform/chromium-mac/svg/filters/feLighting-crash-expected.png: Added.
        * platform/chromium-win/svg/filters/feLighting-crash-expected.checksum: Added.
        * platform/chromium-win/svg/filters/feLighting-crash-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

11 years ago2010-05-20 Darin Adler <darin@apple.com>
darin@apple.com [Thu, 20 May 2010 22:17:49 +0000 (22:17 +0000)]
2010-05-20  Darin Adler  <darin@apple.com>

        Reviewed by Eric Seidel.

        Fix warnings seen on the buildbots today
        https://bugs.webkit.org/show_bug.cgi?id=39368

        * profiler/ProfileNode.cpp:
        (JSC::getCount): Removed unneeded initialization of global variable.
        These are all initialized to zero anyway, so no need to try to initialize
        it and get a warning.

        * wtf/CurrentTime.cpp:
        (WTF::currentTime): Removed unused global variable.
2010-05-20  Darin Adler  <darin@apple.com>

        Reviewed by Eric Seidel.

        Fix warnings seen on the buildbots today
        https://bugs.webkit.org/show_bug.cgi?id=39368

        * loader/icon/IconDatabase.cpp:
        (WebCore::IconDatabase::pruneUnretainedIcons): Use the type "long long" for
        things being printed with "%lli". There is no guaranteed that int64_t is the
        same thing as long long.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleMousePressEvent): Added parentheses as suggested
        by warnings in newer versions of GCC.

        * platform/ContextMenu.cpp: Fix #if around the functions to match the #if
        around the call sites to avoid unused function warning.

        * platform/graphics/gtk/ImageGtk.cpp:
        (WebCore::Image::loadPlatformResource): Use NULL to end a variable argument list
        rather than 0. This is a case where the WebKit "use 0 instead of NULL" guideline
        is incorrect and won't work properly.

        * platform/win/SystemTimeWin.cpp:
        (WebCore::userIdleTime): Removed unnecessary initialization of LASTINPUTINFO.

        * platform/win/WebCoreInstanceHandle.h: Added property svn:eol-style.
        Made functions inline instead of static. It's not correct to have functions with
        internal linkage in a header file. Marking them inline makes more sense.

        * plugins/win/PluginMessageThrottlerWin.cpp:
        (WebCore::PluginMessageThrottlerWin::PluginMessageThrottlerWin): Reordered the
        initializers to match the order of the data members from the class definition.

        * plugins/win/PluginViewWin.cpp:
        (WebCore::PluginView::paintIntoTransformedContext): Initialized all the fields
        of WINDOWPOS. I know this goes against the traditions of Windows programming,
        but it's correct and silences the warning. Also removed the unneeded separate
        code path for non-WinCE platforms that translates only the corner of the window
        rectangle; the WinCE version is correct for normal Windows as well. Not sure
        why this wasn't caught when the code was originally checked in.

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

11 years ago2010-05-20 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 20 May 2010 22:05:24 +0000 (22:05 +0000)]
2010-05-20  Martin Robinson  <mrobinson@igalia.com>

        Not reviewed.

        https://bugs.webkit.org/show_bug.cgi?id=39388
        Re-enable geolocation tests on GTK+ now that this bug is closed.

        * platform/gtk/Skipped: Re-enable geolocation tests.

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

11 years ago2010-05-20 Justin Schuh <jschuh@chromium.org>
yaar@chromium.org [Thu, 20 May 2010 21:56:45 +0000 (21:56 +0000)]
2010-05-20  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Adam Barth.

        Moving frame.src checks out of the bindings
        https://bugs.webkit.org/show_bug.cgi?id=37815

        Moved JavaScript frame.src checks out of bindings and into
        HTMLFrameElementBase. Added main thread state stack to JavaScriptCore
        so ExecState is available inside core DOM. Updated affected bindings
        (except for GObject, which will need to be updated to avoid origin
        failures inside native code).

        * Android.jscbindings.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSBindingsAllInOne.cpp:
        * bindings/js/JSCallbackData.cpp:
        (WebCore::JSCallbackData::invokeCallback):
        * bindings/js/JSEventListener.cpp:
        (WebCore::JSEventListener::handleEvent):
        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::createInjectedScript):
        * bindings/js/JSMainThreadExecState.cpp: Added.
        * bindings/js/JSMainThreadExecState.h: Added.
        (WebCore::JSMainThreadExecState::currentState):
        (WebCore::JSMainThreadExecState::call):
        (WebCore::JSMainThreadExecState::evaluate):
        (WebCore::JSMainThreadExecState::JSMainThreadExecState):
        (WebCore::JSMainThreadExecState::~JSMainThreadExecState):
        (WebCore::JSMainThreadNullState::JSMainThreadNullState):
        * bindings/js/ScheduledAction.cpp:
        (WebCore::ScheduledAction::executeFunctionInContext):
        (WebCore::ScheduledAction::execute):
        * bindings/js/ScheduledAction.h:
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::evaluateInWorld):
        (WebCore::ScriptController::canAccessFromCurrentOrigin):
        * bindings/js/ScriptController.h:
        * bindings/js/ScriptFunctionCall.cpp:
        (WebCore::ScriptFunctionCall::call):
        * bindings/objc/ObjCEventListener.mm:
        * bindings/objc/WebScriptObject.mm:
        (-[WebScriptObject callWebScriptMethod:withArguments:]):
        (-[WebScriptObject evaluateWebScript:]):
        * bindings/scripts/CodeGeneratorObjC.pm:
        * bindings/scripts/test/ObjC/DOMTestCallback.mm:
        (-[DOMTestCallback callbackWithClass1Param:]):
        (-[DOMTestCallback callbackWithClass2Param:strArg:]):
        (-[DOMTestCallback callbackWithNonBoolReturnType:]):
        (-[DOMTestCallback customCallback:class6Param:]):
        * bindings/scripts/test/ObjC/DOMTestInterface.mm:
        * bindings/scripts/test/ObjC/DOMTestObj.mm:
        (-[DOMTestObj readOnlyIntAttr]):
        (-[DOMTestObj readOnlyStringAttr]):
        (-[DOMTestObj readOnlyTestObjAttr]):
        (-[DOMTestObj intAttr]):
        (-[DOMTestObj setIntAttr:]):
        (-[DOMTestObj longLongAttr]):
        (-[DOMTestObj setLongLongAttr:]):
        (-[DOMTestObj unsignedLongLongAttr]):
        (-[DOMTestObj setUnsignedLongLongAttr:]):
        (-[DOMTestObj stringAttr]):
        (-[DOMTestObj setStringAttr:]):
        (-[DOMTestObj testObjAttr]):
        (-[DOMTestObj setTestObjAttr:]):
        (-[DOMTestObj attrWithException]):
        (-[DOMTestObj setAttrWithException:]):
        (-[DOMTestObj attrWithSetterException]):
        (-[DOMTestObj setAttrWithSetterException:]):
        (-[DOMTestObj attrWithGetterException]):
        (-[DOMTestObj setAttrWithGetterException:]):
        (-[DOMTestObj customAttr]):
        (-[DOMTestObj setCustomAttr:]):
        (-[DOMTestObj scriptStringAttr]):
        (-[DOMTestObj voidMethod]):
        (-[DOMTestObj voidMethodWithArgs:strArg:objArg:]):
        (-[DOMTestObj intMethod]):
        (-[DOMTestObj intMethodWithArgs:strArg:objArg:]):
        (-[DOMTestObj objMethod]):
        (-[DOMTestObj objMethodWithArgs:strArg:objArg:]):
        (-[DOMTestObj methodThatRequiresAllArgs:objArg:]):
        (-[DOMTestObj methodThatRequiresAllArgsAndThrows:objArg:]):
        (-[DOMTestObj serializedValue:]):
        (-[DOMTestObj methodWithException]):
        (-[DOMTestObj customMethod]):
        (-[DOMTestObj customMethodWithArgs:strArg:objArg:]):
        (-[DOMTestObj customArgsAndException:]):
        (-[DOMTestObj addEventListener:listener:useCapture:]):
        (-[DOMTestObj removeEventListener:listener:useCapture:]):
        (-[DOMTestObj withDynamicFrame]):
        (-[DOMTestObj withDynamicFrameAndArg:]):
        (-[DOMTestObj withDynamicFrameAndOptionalArg:optionalArg:]):
        (-[DOMTestObj withDynamicFrameAndUserGesture:]):
        (-[DOMTestObj withDynamicFrameAndUserGestureASAD:optionalArg:]):
        (-[DOMTestObj withScriptStateVoid]):
        (-[DOMTestObj withScriptStateObj]):
        (-[DOMTestObj withScriptStateVoidException]):
        (-[DOMTestObj withScriptStateObjException]):
        (-[DOMTestObj methodWithOptionalArg:]):
        (-[DOMTestObj methodWithNonOptionalArgAndOptionalArg:opt:]):
        (-[DOMTestObj methodWithNonOptionalArgAndTwoOptionalArgs:opt1:opt2:]):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::canAccessFromCurrentOrigin):
        * bindings/v8/ScriptController.h:
        * html/HTMLFrameElementBase.cpp:
        (WebCore::HTMLFrameElementBase::isURLAllowed):
2010-05-20  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Adam Barth.

        Moving frame.src checks out of the bindings
        https://bugs.webkit.org/show_bug.cgi?id=37815

        * http/tests/security/xss-DENIED-iframe-src-alias-expected.txt:
        * http/tests/security/xss-DENIED-iframe-src-alias.html:

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

11 years ago Reviewed by Anders Carlsson.
kdecker@apple.com [Thu, 20 May 2010 21:55:56 +0000 (21:55 +0000)]
    Reviewed by Anders Carlsson.

        https://bugs.webkit.org/show_bug.cgi?id=39441
        <rdar://problem/7985715> Flash context menu is both horizontally and vertically offset from point of click
        <rdar://problem/7986109> Youtube video controller UI entirely missing
        <rdar://problem/7986154> Flash content paints at horizontally and vertically shifted locations (within the plug-in region)

        * Plugins/Hosted/WebHostedNetscapePluginView.mm:
        (-[WebHostedNetscapePluginView updateAndSetWindow]): The base coordinates of a window and
         it's contentView happen to be the equal at a userSpaceScaleFactor of 1. For non-1.0 scale
         factors this assumption is false. Accordingly we now convert to the window contentView
        coordinate system when computing bounds in "window" and the visible rect.
        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView saveAndSetNewPortStateForUpdate:]): Ditto.

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

11 years agoFix an HRGN leak in WKCACFLayerRenderer
aroben@apple.com [Thu, 20 May 2010 21:30:59 +0000 (21:30 +0000)]
Fix an HRGN leak in WKCACFLayerRenderer

Fixes <http://webkit.org/b/39312> <rdar://problem/7998728> REGRESSION
(r53686-r55990): Graphics corruption when watching video (affects
youtube.com)

Reviewed by Darin Adler.

* platform/graphics/win/WKCACFLayerRenderer.cpp:
(WebCore::getDirtyRects): Use an OwnPtr to hold the HRGN we allocate.
That way we don't have to remember to destroy it (as we were
forgetting to do) when we bail out of this function early.

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

11 years ago2010-05-20 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Thu, 20 May 2010 21:20:03 +0000 (21:20 +0000)]
2010-05-20  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Darin Adler.

        Removed some reliance on callFame[CodeBlock] by storing CodeBlock in a
        local variable in the Interpreter.
        https://bugs.webkit.org/show_bug.cgi?id=39447

        Small speedup on SunSpider in Interpreter mode.

        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        * jsc.cpp:
        * wtf/Platform.h:

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

11 years ago2010-05-20 Darin Fisher <darin@chromium.org>
darin@chromium.org [Thu, 20 May 2010 20:49:26 +0000 (20:49 +0000)]
2010-05-20  Darin Fisher  <darin@chromium.org>

        Reviewed by Nate Chapin.

        [chromium] Provide a way to catch exceptions thrown while interacting
        with a NPObject via WebBindings methods.
        https://bugs.webkit.org/show_bug.cgi?id=39378

        This change also includes a small bit of cleanup in V8NPObject and
        friends.  I moved code into the WebCore namespace where appropriate.

        In _NPN_Invoke, I also moved the call to _NPN_Evaluate outside of the
        context scope.  I did this to avoid having nested ExceptionCatcher
        objects, which is not strictly necessary, but it seemed cleaner.
        _NPN_Evaluate already takes care of creating a context scope.

        * bindings/v8/NPV8Object.cpp:
        (WebCore::v8ObjectToNPObject):
        (WebCore::npCreateV8ScriptObject):
        (_NPN_Invoke):
        (_NPN_InvokeDefault):
        (_NPN_Evaluate):
        (_NPN_EvaluateHelper):
        (_NPN_GetProperty):
        (_NPN_SetProperty):
        (_NPN_RemoveProperty):
        (_NPN_HasProperty):
        (_NPN_HasMethod):
        (_NPN_SetException):
        (_NPN_Enumerate):
        (_NPN_Construct):
        * bindings/v8/NPV8Object.h:
        * bindings/v8/V8NPObject.cpp:
        * bindings/v8/V8NPObject.h:
        * bindings/v8/V8NPUtils.cpp:
        (WebCore::convertV8ObjectToNPVariant):
        (WebCore::pushExceptionHandler):
        (WebCore::popExceptionHandler):
        (WebCore::ExceptionCatcher::ExceptionCatcher):
        (WebCore::ExceptionCatcher::~ExceptionCatcher):
        * bindings/v8/V8NPUtils.h:
        * bindings/v8/npruntime.cpp:

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

11 years ago2010-05-20 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 20 May 2010 20:20:57 +0000 (20:20 +0000)]
2010-05-20  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Eric Seidel.

        editingBehavior settings needs to be set back to a reasonable default between tests
        https://bugs.webkit.org/show_bug.cgi?id=39433

        For now, hard code the default setting during reset, so that the serialized
        version of the setting stays in sync with expectations.

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues): Reset editing behavior to the appropriate platform default.
        * DumpRenderTree/win/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues): Ditto.

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

11 years agoBug 39408 - Unify JIT/interpreter return behaviour.
barraclough@apple.com [Thu, 20 May 2010 20:12:44 +0000 (20:12 +0000)]
Bug 39408 - Unify JIT/interpreter return behaviour.

Reviewed by Oliver Hunt.

Presently the JIT and the interpreter have differing implementations in how
they handle storing the result of a function call back to the register file.
In both cases the op_call ( / _eval / _varargs / op_construct) opcode has an
operand indicating the VM register in which the result should be stored.
The JIT plants code after the call to store the result, so the value will be
stored as soon as the callee has returned.  In the interpreter the call
passes the return value register id into the callee via the callee callframe,
and the callee is responsible for writing the result back into its callers
register file after it has restored the parents callframe pointer, but before
returning.

Instead, move the task of writing the call result to the register file into a
new opcode (op_call_put_result), and after returning the callee should leave
the return value in a canonical location.  In the case of the interpreter,
this canonical location is a local variable in privateExecute
(functionReturnValue), in the case of the JIT this is the normal return value
registers (regT0, or regT1:regT0 in JSVALUE32_64).  op_call_put_result stores
the result from the canonical location to the registerfile.

In addition to unifying JIT & interpreter behaviour this change allows us to
remove a slot from the callframe, omit the write of the result where the
return value from the call is not used, and provides a 2% speedup on sunspider
in the interpreter.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
* bytecode/Opcode.h:
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitCall):
(JSC::BytecodeGenerator::emitCallVarargs):
(JSC::BytecodeGenerator::emitConstruct):
* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::finalDestinationOrIgnored):
* bytecompiler/NodesCodegen.cpp:
(JSC::NewExprNode::emitBytecode):
(JSC::FunctionCallValueNode::emitBytecode):
(JSC::FunctionCallResolveNode::emitBytecode):
(JSC::FunctionCallBracketNode::emitBytecode):
(JSC::FunctionCallDotNode::emitBytecode):
(JSC::CallFunctionCallDotNode::emitBytecode):
(JSC::ApplyFunctionCallDotNode::emitBytecode):
* interpreter/CallFrame.h:
(JSC::ExecState::init):
(JSC::ExecState::noCaller):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::dumpRegisters):
(JSC::Interpreter::throwException):
(JSC::Interpreter::privateExecute):
* interpreter/RegisterFile.h:
(JSC::RegisterFile::):
* jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
* jit/JIT.h:
* jit/JITCall.cpp:
(JSC::JIT::compileOpCallSetupArgs):
(JSC::JIT::compileOpConstructSetupArgs):
(JSC::JIT::emit_op_call_put_result):
(JSC::JIT::compileOpCallVarargs):
(JSC::JIT::compileOpCallVarargsSlowCase):
(JSC::JIT::compileOpCall):
(JSC::JIT::compileOpCallSlowCase):
(JSC::JIT::compileOpCallVarargsSetupArgs):

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

11 years ago2010-05-20 Marcus Bulach <bulach@chromium.org>
steveblock@google.com [Thu, 20 May 2010 20:10:12 +0000 (20:10 +0000)]
2010-05-20  Marcus Bulach  <bulach@chromium.org>

        Reviewed by Steve Block.

        Ensure timers are stopped on Geolocation::disconnectFrame()
        https://bugs.webkit.org/show_bug.cgi?id=39388

        fast/dom/Geolocation/notimer-after-unload.html, plus it should be possible to re-enable Gtk LayoutTests.

        * page/Geolocation.cpp:
        (WebCore::Geolocation::disconnectFrame):

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

11 years agoBuild fix. No review.
bfulgham@webkit.org [Thu, 20 May 2010 19:44:30 +0000 (19:44 +0000)]
Build fix.  No review.

The WebKitAPITest targets do not use the "_debug" suffix needed
by the WinCairo port.  Added Debug_Cairo target to correct this.

* WebKitAPITest/WebKitAPITest.vcproj:

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

11 years ago2010-05-20 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 20 May 2010 19:32:07 +0000 (19:32 +0000)]
2010-05-20  Martin Robinson  <mrobinson@igalia.com>

        Unreviewed.

        editingBehavior settings needs to be set back to a reasonable default between tests
        https://bugs.webkit.org/show_bug.cgi?id=39433

        I forgot to revert the expected results for this test after reverting it.

        * editing/selection/extend-selection-after-double-click-expected.txt:

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

11 years ago2010-05-20 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 20 May 2010 19:18:29 +0000 (19:18 +0000)]
2010-05-20  James Robinson  <jamesr@chromium.org>

        Reviewed by Eric Seidel.

        Ensures styles are up-to-date before determining selection
        https://bugs.webkit.org/show_bug.cgi?id=39389

        This adds a call to document::updateStyleIfNeeded() to
        Frame::notifyRendererOfSelectionChange(). Without this call, if there
        is a pending style update that will detach part of the DOM and the
        the selection is within that part of the DOM when
        notifyRendererOfSeletionChange is called, the rootEditableElement
        algorithm ends up walking through detached parts of the render tree.

        Test: editing/selection/focus-and-display-none.html

        * page/Frame.cpp:
        (WebCore::Frame::notifyRendererOfSelectionChange):
2010-05-20  James Robinson  <jamesr@chromium.org>

        Reviewed by Eric Seidel.

        Tests putting focus into a textarea and setting display:none
        https://bugs.webkit.org/show_bug.cgi?id=39389

        * editing/selection/focus-and-display-none-expected.txt: Added.
        * editing/selection/focus-and-display-none.html: Added.

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