2011-06-10  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Update expectations after r88555.

        * platform/chromium-win/svg/custom/focus-ring-expected.txt: Updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=55347
"name" and "message" enumerable on *Error.prototype

Reviewed by Sam Weinig.

This arises from chapter 15 of the spec:
    "Every other property described in this clause has the attributes
    { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
    unless otherwise specified."
Standardized properties are not enumerable.

Source/JavaScriptCore: 

* runtime/ErrorInstance.cpp:
(JSC::ErrorInstance::ErrorInstance):
* runtime/NativeErrorPrototype.cpp:
(JSC::NativeErrorPrototype::NativeErrorPrototype):

LayoutTests: 

* fast/js/exception-properties-expected.txt: Added.
* fast/js/exception-properties.html: Added.
* fast/js/script-tests/exception-properties.js: Added.
(enumerableProperties):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Remove expectation of crash, fixed in r88551.

        * platform/chromium/test_expectations.txt: Removed expectation.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-08  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Lighten the --no-svg build a little
        https://bugs.webkit.org/show_bug.cgi?id=62314

        Only generate source from SVG*.idl if the build is svg-enabled.

        * CodeGenerators.pri:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Dimitri Glazkov  <dglazkov@chromium.org>

        [V8] Add failure expectation for a test, added in r88559.

        * platform/chromium/test_expectations.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Land expectations for a test, added in r88556.

        * platform/chromium-mac/printing/page-count-relayout-shrink-expected.txt: Added.
        * platform/chromium-win/printing/page-count-relayout-shrink-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Null-check the layer owner again when painting layers
        https://bugs.webkit.org/show_bug.cgi?id=62473

        Speculative fix for a crash that occurs when the layer's owner
        gets destroyed during painting.

        * platform/graphics/mac/WebLayer.mm:
        (drawLayerContents):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB: setVersion() version argument is required
        https://bugs.webkit.org/show_bug.cgi?id=62401

        * storage/indexeddb/setVersion-undefined-expected.txt: Added.
        * storage/indexeddb/setVersion-undefined.html: Added.
2011-06-10  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB: setVersion() version argument is required
        https://bugs.webkit.org/show_bug.cgi?id=62401

        Test: storage/indexeddb/setVersion-undefined.html

        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::setVersion): check for null version
        * storage/IDBDatabase.idl: add IDL magic to force undefined to null so we can handle both missing and null arguments

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove Document::finishParsing
        https://bugs.webkit.org/show_bug.cgi?id=62474

        This function appears to exist only to confuse and befuddle us.  This
        patch prepares for DocumentWriter to grab hold of the parser.

        This patch removes one of the print statements from
        INSTRUMENT_LAYOUT_SCHEDULING, but I'm not sure
        INSTRUMENT_LAYOUT_SCHEDULING works anymore anyway.

        * dom/Document.cpp:
        * dom/Document.h:
        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::finish):
        * html/parser/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::finish):
        * loader/DocumentWriter.cpp:
        (WebCore::DocumentWriter::addData):
        (WebCore::DocumentWriter::endIfNotLoadingMainResource):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::stop):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Emil A Eklund  <eae@chromium.org>

        Land Windows expectations for new test added in r88556.

        * platform/win/printing/page-count-relayout-shrink-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Common crash in ApplicationCacheHost::isApplicationCacheEnabled
<rdar://problem/9328684>

Reviewed by Beth Dakin.

* loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
Speculative fix for a null frame on ApplicationCacheHost's DocumentLoader.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB: indexedDB.open() name argument is required
        https://bugs.webkit.org/show_bug.cgi?id=62398

        * storage/indexeddb/database-name-undefined-expected.txt: Added.
        * storage/indexeddb/database-name-undefined.html: Added.
2011-06-10  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB: indexedDB.open() name argument is required
        https://bugs.webkit.org/show_bug.cgi?id=62398

        Test: storage/indexeddb/database-name-undefined.html

        * storage/IDBFactory.idl: use appropriate IDL magic to force undefined values to null, so we handle missing arguments as well as null arguments

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Add a scheduleSetNeedsStyleRecalc() method to ContainerNode for use by RenderLayerCompositor
        https://bugs.webkit.org/show_bug.cgi?id=62471

        RenderLayerCompositor had some code that did a setNeedsStyleRecalc(), but
        in a way that was safe to call during existing style recalc or layout.

        Move this code to ContainerElement so it can be called elsewhere.
        Also add a param to the node callback so we can pass the style change type.

        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::queuePostAttachCallback):
        (WebCore::ContainerNode::dispatchPostAttachCallbacks):
        (WebCore::needsStyleRecalcCallback):
        (WebCore::ContainerNode::scheduleSetNeedsStyleRecalc):
        * dom/ContainerNode.h:
        * dom/Node.h:
        (WebCore::Node::scheduleSetNeedsStyleRecalc):
        * html/HTMLFormControlElement.cpp:
        (WebCore::focusPostAttach):
        (WebCore::updateFromElementCallback):
        * html/HTMLPlugInImageElement.cpp:
        (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
        * html/HTMLPlugInImageElement.h:
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::attachRootPlatformLayer):
        (WebCore::RenderLayerCompositor::detachRootPlatformLayer):
        (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange):
        * rendering/RenderLayerCompositor.h:
        * svg/SVGUseElement.cpp:
        (WebCore::updateFromElementCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
<rdar://problem/9562114> Fix DumpRenderTree build for production configuration.

Reviewed by Dimitri Glazkov.

Source/WebCore:

Rename the built WebCoreTestSupport dylib to libWebCoreTestSupport.dylib so
that it can be found via the library search path rather than requiring an
absolute path be passed to the linker.

Install the library and its associated header file in a more appropriate location
for the production configuration.

* Configurations/WebCoreTestSupport.xcconfig:

Tools:

Ensure that DumpRenderTree can find libWebCoreTestSupport.dylib and the associated
header file.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations/Base.xcconfig:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Dimitri Glazkov  <dglazkov@chromium.org>

        Remove all spurious copies of test expectations that somehow made it into the tree.

        * platform/chromium-linux/fast/dom/navigator-detached-no-crash-expected.txt: Removed.
        * platform/chromium-mac-leopard/fast/dom/navigator-detached-no-crash-expected.txt: Removed.
        * platform/chromium-mac/fast/dom/navigator-detached-no-crash-expected.txt: Removed.
        * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Roll out r88568. It is not the right fix for the problem.

* loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::isApplicationCacheEnabled):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Turns out, linux baseline isn't spurious.

        * platform/chromium-linux/fast/dom/navigator-detached-no-crash-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  David Levin  <levin@chromium.org>

        Reviewed by Adam Barth.

        Add tests for Web Workers at invalid urls.
        https://bugs.webkit.org/show_bug.cgi?id=62486

        * http/tests/workers/shared-worker-invalid-url-expected.txt: Added.
        * http/tests/workers/shared-worker-invalid-url.html: Added.
        * http/tests/workers/worker-invalid-url-expected.txt: Added.
        * http/tests/workers/worker-invalid-url.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        add a compile guard ENABLE(FLEXBOX)
        https://bugs.webkit.org/show_bug.cgi?id=62049

        * Configurations/FeatureDefines.xcconfig:
2011-06-10  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        add a compile guard ENABLE(FLEXBOX)
        https://bugs.webkit.org/show_bug.cgi?id=62049

        * Configurations/FeatureDefines.xcconfig:
2011-06-10  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        add a compile guard ENABLE(FLEXBOX)
        https://bugs.webkit.org/show_bug.cgi?id=62049

        * Configurations/FeatureDefines.xcconfig:
2011-06-10  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        add a compile guard ENABLE(FLEXBOX)
        https://bugs.webkit.org/show_bug.cgi?id=62049

        * Configurations/FeatureDefines.xcconfig:
2011-06-10  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        add a compile guard ENABLE(FLEXBOX)
        https://bugs.webkit.org/show_bug.cgi?id=62049

        * Scripts/build-webkit:
2011-06-10  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        add a compile guard ENABLE(FLEXBOX)
        https://bugs.webkit.org/show_bug.cgi?id=62049

        * win/tools/vsprops/FeatureDefines.vsprops:
        * win/tools/vsprops/FeatureDefinesCairo.vsprops:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-06-10  Alok Priyadarshi  <alokp@chromium.org>

        Reviewed by James Robinson.

        [chromium] Top portion of page is rendered messed up with accelerated drawing
        https://bugs.webkit.org/show_bug.cgi?id=62484

        Fixed the math in flipping the texture from bottom-up to top-down.
        Test: compositing/repaint/shrink-layer.html (existing)

        * platform/graphics/chromium/LayerTilerChromium.cpp:
        (WebCore::LayerTilerChromium::draw):

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