WebKit-https.git
9 years ago2010-08-24 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Wed, 25 Aug 2010 03:12:15 +0000 (03:12 +0000)]
2010-08-24  Daniel Bates  <dbates@rim.com>

        Fix code comment as per Darin Adler's suggestion in <https://bugs.webkit.org/show_bug.cgi?id=44486#c2>.
        I inadvertently did not update this comment when I landed changeset 65967 <http://trac.webkit.org/changeset/65967>.

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

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

9 years agoWebKit2 should launch the WebProcess in 32-bit mode if the UIProcess is in 32-bit...
weinig@apple.com [Wed, 25 Aug 2010 03:10:12 +0000 (03:10 +0000)]
WebKit2 should launch the WebProcess in 32-bit mode if the UIProcess is in 32-bit mode
<rdar://problem/8348100>
https://bugs.webkit.org/show_bug.cgi?id=44537

Reviewed by Mark Rowe.

* UIProcess/Launcher/mac/ProcessLauncherMac.mm:
(WebKit::ProcessLauncher::launchProcess): Use posix_spawnattr_setbinpref_np
to tell posix_spawn to launch the WebProcess in 32-bit mode when the UIProcess
is running in 32-bit mode.

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

9 years ago2010-08-23 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Wed, 25 Aug 2010 03:05:10 +0000 (03:05 +0000)]
2010-08-23  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Suffix for CSS alphabetic list style types should fallback to
        decimal for ordinals outside of their representable range
        https://bugs.webkit.org/show_bug.cgi?id=44486

        Test: fast/lists/w3-css3-list-styles-fallback-style.html

        Fixes an issue where the decimal suffix is not used for
        ordinals that cannot be represented by the alphabetic list
        style type.

        Currently, for ordinals that cannot be represented in the
        alphabetic list style we use the suffix associated with the
        list style. Instead, we should use the suffix for the decimal
        list style ('.'). For instance, when the list style type is
        Afar and the starting ordinal is 0, then we fallback to the
        decimal list style suffix '.' because 0 cannot be represented
        in Afar.

        * rendering/RenderListMarker.cpp:
        (WebCore::toRoman): Moved bounds check into WebCore::effectiveListMarkerType().
        (WebCore::toAlphabetic): Ditto.
        (WebCore::toHebrew): Ditto.
        (WebCore::toArmenian): Ditto.
        (WebCore::toGeorgian): Ditto.
        (WebCore::toCJKIdeographic): Ditto.
        (WebCore::effectiveListMarkerType): Added.
        (WebCore::listMarkerSuffix): Added value parameter to prototype.
        Modified to call WebCore::effectiveListMarkerType.
        (WebCore::listMarkerText): Modified to call WebCore::effectiveListMarkerType().
        (WebCore::RenderListMarker::paint): Modified to pass list item ordinal (i.e. m_listItem->value()) to WebCore::listMarkerSuffix().
        (WebCore::RenderListMarker::calcPrefWidths): Ditto.
        (WebCore::RenderListMarker::getRelativeMarkerRect): Ditto.
2010-08-23  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Suffix for CSS alphabetic list style types should fallback to
        decimal for ordinals outside of their representable range
        https://bugs.webkit.org/show_bug.cgi?id=44486

        Tests that CSS list styles fallback to the decimal list style
        for ordinals that cannot be represented. We need to implement
        DRT support to test the actual suffix (see bug #44489).

        Also, adds test for ordinal 0 for each numeric list style type.

        * fast/lists/resources/w3-css3-list-styles-alphabetic.css: Added.
        * fast/lists/w3-css3-list-styles-alphabetic.html: Moved CSS list styles to file w3-css3-list-styles-alphabetic.css,
        * fast/lists/w3-css3-list-styles-fallback-style-expected.txt: Added.
        * fast/lists/w3-css3-list-styles-fallback-style.html: Added.
        * fast/lists/w3-css3-list-styles-numeric-expected.txt: Added test for ordinal 0 for each list style type.
        * fast/lists/w3-css3-list-styles-numeric.html: Rebased result.

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

9 years ago2010-08-24 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 25 Aug 2010 02:59:44 +0000 (02:59 +0000)]
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Fix 28 inspector test crashes
        https://bugs.webkit.org/show_bug.cgi?id=44574

        * platform/chromium/drt_expectations.txt:
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Fix 28 inspector test crashes
        https://bugs.webkit.org/show_bug.cgi?id=44574

        Reset DevToolsClient and DevToolsAgent before closing a DevTools
        WebView in order to avoid accessing to a deleted WebView instance.

        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::closeDevTools):

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

9 years agoWindows build fix.
barraclough@apple.com [Wed, 25 Aug 2010 01:51:26 +0000 (01:51 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 25 Aug 2010 01:49:24 +0000 (01:49 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] Hulu popups are blocked
        https://bugs.webkit.org/show_bug.cgi?id=44572

        We were blocking popups created by Flash Player because we were never
        setting the UserGestureIndicator for events.  Most WebKit ports handle
        events through EventHandler, but Chromium is special (for some unknown
        reason) and dispatches events directly.  That means Chromium misses out
        on some of the work done by EventHandler, including setting the
        UserGestureIndicator.

        I suspect this is covered by an existing LayoutTest, but I don't have
        the ability to run the Chromium LayoutTests on this machine.  :(

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::handleInputEvent):

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

9 years agoWindows build fix.
barraclough@apple.com [Wed, 25 Aug 2010 01:34:49 +0000 (01:34 +0000)]
Windows build fix.

* ForwardingHeaders/wtf/DecimalNumber.h: Added.

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

9 years agoWindows build fix.
barraclough@apple.com [Wed, 25 Aug 2010 01:21:16 +0000 (01:21 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* wtf/DecimalNumber.h:
(WTF::DecimalNumber::intPow10):
* wtf/dtoa.cpp:
* wtf/dtoa.h:

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

9 years ago2010-08-24 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 25 Aug 2010 01:09:41 +0000 (01:09 +0000)]
2010-08-24  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Darin Adler.

        GC before running an iteration in the perf tests
        https://bugs.webkit.org/show_bug.cgi?id=44570

        This is a speculative attempt at reducing flakiness.
        There definitely are a lot of collected for some tests,
        so, having GC happen in the middle of a run may very well
        be causing flakiness.

        * resources/magnitude-perf.js:
        (Magnitude._runIteration):
        (Magnitude):

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

9 years ago2010-08-24 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 25 Aug 2010 01:06:11 +0000 (01:06 +0000)]
2010-08-24  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] rebaseline chromium linux svg tests
        https://bugs.webkit.org/show_bug.cgi?id=44562

        These are anti-aliasing (rounding) differences on Linux.

        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.checksum: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.png: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt: The number 600 has a few pixels of extra space between characters.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-path-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-path-01-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png:
        * platform/chromium-linux/svg/custom/animate-path-morphing-expected.checksum:
        * platform/chromium-linux/svg/custom/animate-path-morphing-expected.png:
        * platform/chromium-linux/svg/custom/use-transform-expected.checksum:
        * platform/chromium-linux/svg/custom/use-transform-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years agoJavaScriptCore: https://bugs.webkit.org/show_bug.cgi?id=44487
barraclough@apple.com [Wed, 25 Aug 2010 01:04:31 +0000 (01:04 +0000)]
JavaScriptCore: https://bugs.webkit.org/show_bug.cgi?id=44487

Reviewed by Oliver Hunt.

Number.toExponential/toFixed/toPrecision all contain a spaghetti of duplicated
code & unnecessary complexity. Add a new DecimalNumber class to encapsulate
double to string conversion, share the implementations of rounding &
decimal-fraction/exponential formatting.

* JavaScriptCore.exp:
    Update exports.

* runtime/NumberPrototype.cpp:
(JSC::toThisNumber):
(JSC::getIntegerArgumentInRange):
    Helper methods used in implementing toExponential/toFixed/toString.
(JSC::numberProtoFuncToExponential):
(JSC::numberProtoFuncToFixed):
(JSC::numberProtoFuncToPrecision):
    Reimplemented using new DecimalNumber class.

* runtime/UString.cpp:
(JSC::UString::number):
    Updated to call numberToString.

* wtf/DecimalNumber.h: Added.
(WTF::):
(WTF::DecimalNumber::DecimalNumber):
(WTF::DecimalNumber::toStringDecimal):
(WTF::DecimalNumber::toStringExponential):
(WTF::DecimalNumber::sign):
(WTF::DecimalNumber::exponent):
(WTF::DecimalNumber::significand):
(WTF::DecimalNumber::precision):
(WTF::DecimalNumber::init):
(WTF::DecimalNumber::isZero):
(WTF::DecimalNumber::roundToPrecision):
    New class to perform double to string conversion.
    Has three constructors, which allow conversion with no rounding,
    rounding to significant-figures, or rounding to decimal-places,
    and two methods for formatting strings, either using decimal
    fraction or exponential encoding. Internal implementation uses
    pre-rounding of the values before calling dtoa rather than
    relying on dtoa to correctly round, which does not produce
    fully accurate results. Hopefully we can address this in the
    near future.

* wtf/dtoa.cpp:
(WTF::intPow10):
* wtf/dtoa.h:
    intPow10 is used internally by DecimalNumber.

* wtf/text/WTFString.cpp:
(WTF::copyToString):
(WTF::nanOrInfToString):
    Used internally in numberToString for NaN/Infinity handling.
(WTF::numberToString):
    Added new method to convert doubles to strings.

* wtf/text/WTFString.h:
    Added declaration for numberToString. This is here because
    we should switch over to using this for all double to string
    conversion in WebCore (see section 2.4.4.3 of the HTML5 spec).

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

Reviewed by Oliver Hunt.

* ForwardingHeaders/wtf/text/WTFString.h: Added.

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

Reviewed by Oliver Hunt.

* html/LegacyHTMLTreeBuilder.cpp:
(WebCore::serializeForNumberType):
    Update function call to numberToString.

LayoutTests: Bug 44487 - Clean up NumberPrototype.cpp

Reviewed by Oliver Hunt.

This patch changes some layout test results - in all these cases we were
not previously accurate to spec defined behaviour, and we are still not
- but overall this changes reduces the overall magnitude of error due to
rounding differences. The underlying problem is that we should be using
dtoa to generate results to a specified accuracy, rather than relying on
pre-rounding the input values. We should look at reenabling our dtoa
implementation to work in this fashion as a separate change.

* fast/js/kde/Number-expected.txt:
* fast/js/kde/script-tests/Number.js:
* fast/js/number-toExponential-expected.txt:
* fast/js/number-tofixed-expected.txt:
* fast/js/number-toprecision-expected.txt:
* fast/js/script-tests/number-toExponential.js:
* fast/js/script-tests/number-tofixed.js:
* fast/js/script-tests/number-toprecision.js:

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

9 years ago2010-08-24 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 25 Aug 2010 00:40:18 +0000 (00:40 +0000)]
2010-08-24  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        XMLDocumentParser needs to implement DocumentParser::detach()
        https://bugs.webkit.org/show_bug.cgi?id=44533

        Added a test which uses an image as an SVG font (decoding errors galore).

        XML versions of one of the tests from
        http://trac.webkit.org/changeset/65692

        * fast/css/font-face-svg-decoding-error.html: Added.
        * fast/frames/resources/set-src-to-javascript-url.xhtml: Added.
        * fast/frames/set-parent-src-synchronously.xhtml: Added.
2010-08-24  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        XMLDocumentParser needs to implement DocumentParser::detach()
        https://bugs.webkit.org/show_bug.cgi?id=44533

        Test: fast/frames/set-parent-src-synchronously.xhtml

        In the example from the page we were accessing document()
        after DocumentParser::detach() was called.  To prevent this
        I added an ASSERT(m_document) to document(), causing many
        test cases to cover the bug shown in bug 44533.

        To fix the bug, I implemented XMLDocumentParser::detach()
        and had it call clearCurrentNodeStack(), thus making
        it impossible for XMLDocumentParser to still have the Document
        on the node stack after detach (which was what was causing this bug).

        While fixing this, I noticed that XMLDocumentParser may have the
        same trouble crashing that the HTMLDocumentParser did when
        synchronously deleted from JS (for example by an iframe navigation).
        I added a test case to cover this and protected the parser after
        the two places it executes scripts.

        * dom/DocumentParser.h:
        (WebCore::DocumentParser::document):
        (WebCore::DocumentParser::isDetached):
        * dom/RawDataDocumentParser.h:
        (WebCore::RawDataDocumentParser::finish):
        * dom/XMLDocumentParser.cpp:
        (WebCore::XMLDocumentParser::append):
        (WebCore::XMLDocumentParser::detach):
        (WebCore::XMLDocumentParser::notifyFinished):
        * dom/XMLDocumentParser.h:
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::doWrite):
        (WebCore::XMLDocumentParser::endElementNs):
        (WebCore::XMLDocumentParser::resumeParsing):
        * html/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::pumpTokenizer):
        (WebCore::HTMLDocumentParser::willPumpLexer):
        (WebCore::HTMLDocumentParser::didPumpLexer):
        (WebCore::HTMLDocumentParser::end):
        (WebCore::HTMLDocumentParser::endIfDelayed):
        (WebCore::HTMLDocumentParser::script):
        * html/HTMLViewSourceParser.cpp:
        (WebCore::HTMLViewSourceParser::updateTokenizerState):
        * html/HTMLViewSourceParser.h:
        (WebCore::HTMLViewSourceParser::document):
        * loader/ImageDocument.cpp:
        (WebCore::ImageDocumentParser::document):

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

9 years ago2010-08-24 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Wed, 25 Aug 2010 00:39:01 +0000 (00:39 +0000)]
2010-08-24  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Adam Roben.

        Add SynchronousLoader for ResourceHandleWin
        https://bugs.webkit.org/show_bug.cgi?id=44452

        * platform/network/win/ResourceHandleWin.cpp:
        (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader):
        (WebCore::WebCoreSynchronousLoader::didReceiveResponse):
        (WebCore::WebCoreSynchronousLoader::didReceiveData):
        (WebCore::WebCoreSynchronousLoader::didFinishLoading):
        (WebCore::WebCoreSynchronousLoader::didFail):
        (WebCore::ResourceHandle::loadResourceSynchronously):

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

9 years agoUnreviewed, updating a chromium-linux expectation.
dumi@chromium.org [Wed, 25 Aug 2010 00:31:45 +0000 (00:31 +0000)]
Unreviewed, updating a chromium-linux expectation.

* platform/chromium-linux/svg/css/shadow-changes-expected.checksum: Added.
* platform/chromium-linux/svg/css/shadow-changes-expected.png: Added.

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

9 years ago2010-08-24 Kenneth Russell <kbr@google.com>
kbr@google.com [Wed, 25 Aug 2010 00:24:05 +0000 (00:24 +0000)]
2010-08-24  Kenneth Russell  <kbr@google.com>

        Unreviewed, test expectations update. Skip
        fast/canvas/webgl/tex-image-and-sub-image-2d-with-video.html while
        root cause of failure is being investigated. See
        https://bugs.webkit.org/show_bug.cgi?id=44459 .

        * platform/mac-snowleopard/Skipped:

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

9 years ago2010-08-24 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 25 Aug 2010 00:22:17 +0000 (00:22 +0000)]
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/drt_expectations.txt: Add inspector test failures.

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

9 years ago2010-08-24 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 25 Aug 2010 00:10:30 +0000 (00:10 +0000)]
2010-08-24  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: clean up code for test_types, test_failures

        Add a bunch of unit tests for webkitpy.layout_tests.test_types and
        webkitpy.layout_tests.layout_package.test_failures, and remove
        some dead code and otherwise clean up things.

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

        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py: Added.
        * Scripts/webkitpy/layout_tests/test_types/text_diff.py:

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

9 years ago Reviewed by Steve Falkenburg.
adachan@apple.com [Wed, 25 Aug 2010 00:09:54 +0000 (00:09 +0000)]
    Reviewed by Steve Falkenburg.

        <rdar://problem/8185379> Possible null dereference in WebView::canShowMIMEType.
        https://bugs.webkit.org/show_bug.cgi?id=44564

        * WebView.cpp:
        (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL
        if plugins are disabled.

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

9 years ago2010-08-24 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 25 Aug 2010 00:02:27 +0000 (00:02 +0000)]
2010-08-24  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        new-run-webkit-tests: revise unit testing strategy for test failures

        This change revamps the way we store test data for new-run-webkit-tests.
        Previously we had a few copies of test files from the main test tree.
        Now we have a bunch of completely fake test data and use the test
        data to generate different kinds of test failures, getting
        much better coverage.

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

        * Scripts/webkitpy/layout_tests/data/failures/expected/crash.html: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image.html: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/missing_text.html: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/text-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/text.html: Added.
        * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum.html: Added.
        * Scripts/webkitpy/layout_tests/data/image/canvas-bg.html: Removed.
        * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.checksum: Removed.
        * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.png: Removed.
        * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.txt: Removed.
        * Scripts/webkitpy/layout_tests/data/image/canvas-zoom.html: Removed.
        * Scripts/webkitpy/layout_tests/data/misc/crash-expected.txt: Removed.
        * Scripts/webkitpy/layout_tests/data/misc/crash.html: Removed.
        * Scripts/webkitpy/layout_tests/data/misc/missing-expectation.html: Removed.
        * Scripts/webkitpy/layout_tests/data/misc/passing-expected.txt: Removed.
        * Scripts/webkitpy/layout_tests/data/misc/passing.html: Removed.
        * Scripts/webkitpy/layout_tests/data/passes/image-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/passes/image-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/passes/image-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/passes/image.html: Added.
        * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/passes/platform_image.html: Added.
        * Scripts/webkitpy/layout_tests/data/passes/text-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/passes/text.html: Added.
        * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.checksum: Removed.
        * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.png: Removed.
        * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.txt: Removed.
        * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
        * Scripts/webkitpy/layout_tests/data/text/article-element-expected.txt: Removed.
        * Scripts/webkitpy/layout_tests/data/text/article-element.html: Removed.
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
        * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:

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

9 years ago2010-08-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 24 Aug 2010 23:48:35 +0000 (23:48 +0000)]
2010-08-24  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed.

        Replaced soft tab indentation by hard tab indentation for LegacyWebArchive.h.

        * WebCore.xcodeproj/project.pbxproj:

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

9 years ago2010-08-24 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 24 Aug 2010 23:45:28 +0000 (23:45 +0000)]
2010-08-24  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        speed up new-run-webkit-tests unit tests

        Add a --no-record-results flag that turns off generating the JSON
        results file on every test run. Generating the file requires us to
        fetch the old results down from the bots, which can be slow. This
        flag is off by default.

        Reduce the sleep time in wait_for_threads_to_finish from 0.1s to 0.01s.

        These changes together shorten the test cycle from ~4.5s to ~1.5s
        - a 3x speedup.

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

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

9 years agoUnreviewed, more Chromium-specific expectations.
dumi@chromium.org [Tue, 24 Aug 2010 23:17:21 +0000 (23:17 +0000)]
Unreviewed, more Chromium-specific expectations.

* platform/chromium-mac/fast/repaint/multicol-repaint-expected.checksum: Added.
* platform/chromium-mac/fast/repaint/multicol-repaint-expected.png: Added.
* platform/chromium-win/fast/repaint/multicol-repaint-expected.checksum: Added.
* platform/chromium-win/fast/repaint/multicol-repaint-expected.png: Added.
* platform/chromium-win/fast/repaint/multicol-repaint-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years ago2010-08-24 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Tue, 24 Aug 2010 22:55:49 +0000 (22:55 +0000)]
2010-08-24  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoff Garen.

        Don't seed the JS random number generator from time()
        https://bugs.webkit.org/show_bug.cgi?id=41868
        <rdar://problem/8171025>

        Switch to using the secure random number generator to
        seed the fast random generator, and make the generator
        be per global object.

        * runtime/JSGlobalData.cpp:
        (JSC::JSGlobalData::JSGlobalData):
        * runtime/JSGlobalData.h:
        * runtime/JSGlobalObject.h:
        (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData):
        (JSC::JSGlobalObject::weakRandomNumber):
        * runtime/MathObject.cpp:
        (JSC::mathProtoFuncRandom):

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

9 years ago[chromium] Update WebBlobData.
jianli@chromium.org [Tue, 24 Aug 2010 22:47:15 +0000 (22:47 +0000)]
[chromium] Update WebBlobData.
https://bugs.webkit.org/show_bug.cgi?id=44481

Reviewed by Darin Fisher.

Some changes to WebBlobData to match with chromium implementation.
1) Change to use WebCString for data, instead of WebData.
2) Separate path from URL.

* public/WebBlobData.h:
* src/WebBlobData.cpp:
(WebKit::WebBlobData::itemAt):
(WebKit::WebBlobData::appendData):
(WebKit::WebBlobData::appendBlob):
* src/WebBlobStorageData.cpp:
(WebKit::WebBlobStorageData::itemAt):

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

9 years agoUnreviewed, updating Chromium-specific expectations.
dumi@chromium.org [Tue, 24 Aug 2010 22:41:19 +0000 (22:41 +0000)]
Unreviewed, updating Chromium-specific expectations.

* platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.png:
* platform/chromium-win/svg/css/shadow-changes-expected.checksum: Added.
* platform/chromium-win/svg/css/shadow-changes-expected.png: Added.
* platform/chromium-win/svg/css/shadow-changes-expected.txt: Added.
* platform/chromium-win/svg/custom/non-scaling-stroke-markers-expected.checksum: Added.
* platform/chromium-win/svg/custom/non-scaling-stroke-markers-expected.png: Added.

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

9 years ago2010-08-24 Tony Chang <tony@chromium.org>
tony@chromium.org [Tue, 24 Aug 2010 22:37:39 +0000 (22:37 +0000)]
2010-08-24  Tony Chang  <tony@chromium.org>

        Reviewed by Eric Seidel.

        [chromium] fix the platform result fallback order on mac/win
        https://bugs.webkit.org/show_bug.cgi?id=44483

        * Scripts/webkitpy/layout_tests/port/google_chrome.py:

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

9 years ago2010-08-24 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 24 Aug 2010 22:33:55 +0000 (22:33 +0000)]
2010-08-24  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Mark Rowe.

        Web Inspector: RemoteInspectorFrontend can be renamed to InspectorFrontend
        https://bugs.webkit.org/show_bug.cgi?id=44499

        Follow-up. No longer generate the RemoteInspectorFrontend files, just
        generate the required InspectorFrontend files.

        * DerivedSources.make:

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

9 years ago2010-08-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 24 Aug 2010 22:33:39 +0000 (22:33 +0000)]
2010-08-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Backend Should Provide Full Supported CSS Properties List
        https://bugs.webkit.org/show_bug.cgi?id=40886

        This allows the backend to send the front-end its complete list of
        supported CSS Properties. This is used in CSS Autocompletion and
        CSS Syntax Highlighting to show which styles are supported.

        * css/makeprop.pl: moved CSS properties to the header file.
        * inspector/Inspector.idl: expose getSupportedCSSProperties.
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::getSupportedCSSProperties):
        * inspector/InspectorDOMAgent.h:
        * inspector/front-end/CSSCompletions.js:
        (WebInspector.CSSCompletions._firstIndexOfPrefix): handle a possible error case before properties have loaded.
        (WebInspector.CSSCompletions._load): fill up the special array with the received properties.
        * inspector/front-end/SourceCSSTokenizer.js:
        (WebInspector.SourceCSSTokenizer): use the list of support properties from the backend.
        * inspector/front-end/SourceCSSTokenizer.re2js:
        * inspector/front-end/inspector.js: request the list of supported CSS properties on load.
        (WebInspector.doLoadedDone):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 22:27:36 +0000 (22:27 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Delete LegacyHTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=44554

        There were some free functions in LegacyHTMLTreeBuilder that needed a
        new home.  I've put them in HTMLTreeBuilder, but they'll probably need
        a better home eventually.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/Document.cpp:
        (WebCore::shouldCreateImplicitHead):
        * dom/DocumentParser.h:
        * dom/ScriptableDocumentParser.h:
        * html/HTMLConstructionSite.cpp:
        * html/HTMLFormControlElement.cpp:
        (WebCore::HTMLFormControlElement::removedFromTree):
        * html/HTMLInputElement.cpp:
        * html/HTMLMeterElement.cpp:
        * html/HTMLProgressElement.cpp:
        * html/HTMLTreeBuilder.cpp:
        (WebCore::serializeForNumberType):
        (WebCore::parseToDoubleForNumberType):
        * html/HTMLTreeBuilder.h:
        * html/HTMLViewSourceParser.h:
        * html/LegacyHTMLTreeBuilder.cpp: Removed.
        * html/LegacyHTMLTreeBuilder.h: Removed.
        * html/StepRange.cpp:
        * html/ValidityState.cpp:
        * rendering/RenderSlider.cpp:

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

9 years ago2010-08-24 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Tue, 24 Aug 2010 22:22:14 +0000 (22:22 +0000)]
2010-08-24  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        perf tests are flaky
        https://bugs.webkit.org/show_bug.cgi?id=44199

        Speculative fix for perf test flakiness. Use chromium.Interval
        to get a microsecond granularity timer. If this does end up
        reducing flakiness, then we can expose something similar for
        JSC and/or layoutTestController.

        * resources/magnitude-perf.js:
        (Magnitude._runIteration):
        (Magnitude):

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

9 years ago2010-08-24 Pavel Podivilov <podivilov@chromium.org>
commit-queue@webkit.org [Tue, 24 Aug 2010 22:16:55 +0000 (22:16 +0000)]
2010-08-24  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: show DOM breakpoints in sidebar pane
        https://bugs.webkit.org/show_bug.cgi?id=44424

        * inspector/dom-breakpoints.html:
2010-08-24  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: show DOM breakpoints in sidebar pane
        https://bugs.webkit.org/show_bug.cgi?id=44424

        * inspector/front-end/BreakpointManager.js:
        (WebInspector.BreakpointManager.prototype._setBreakpoint):
        (WebInspector.BreakpointManager.prototype._breakpointRemoved):
        (WebInspector.BreakpointManager.prototype._setBreakpointOnBackend):
        (WebInspector.Breakpoint.prototype.set enabled):
        (WebInspector.Breakpoint.prototype.set condition):
        (WebInspector.Breakpoint.prototype.remove):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.BreakpointsSidebarPane):
        (WebInspector.BreakpointsSidebarPane.prototype.addBreakpoint):
        (WebInspector.BreakpointsSidebarPane.prototype._breakpointRemoved):
        (WebInspector.BreakpointsSidebarPane.prototype._contextMenuEventFired):
        (WebInspector.BreakpointItem):
        (WebInspector.BreakpointItem.prototype.element):
        (WebInspector.BreakpointItem.prototype.remove):
        (WebInspector.BreakpointItem.prototype._checkboxClicked):
        (WebInspector.BreakpointItem.prototype._enableChanged):
        (WebInspector.BreakpointItem.prototype._removed):
        (WebInspector.JSBreakpointItem):
        (WebInspector.JSBreakpointItem.prototype._textChanged):
        (WebInspector.DOMBreakpointItem):
        (WebInspector.DOMBreakpointItem.prototype.compareTo):
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMBreakpointManager):
        (WebInspector.DOMBreakpointManager.prototype.setBreakpoint):
        (WebInspector.DOMBreakpointManager.prototype.removeBreakpointsForNode):
        (WebInspector.DOMBreakpointManager.prototype._breakpointRemoved):
        (WebInspector.DOMBreakpoint):
        (WebInspector.DOMBreakpoint.prototype.get enabled):
        (WebInspector.DOMBreakpoint.prototype.set enabled):
        (WebInspector.DOMBreakpoint.prototype.remove):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel):
        (WebInspector.ElementsPanel.prototype.reset):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype._populateTagContextMenu):
        * inspector/front-end/ScriptView.js:
        (WebInspector.ScriptView):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel):
        (WebInspector.ScriptsPanel.prototype._breakpointAdded):
        (WebInspector.ScriptsPanel.prototype.reset):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame):
        (WebInspector.SourceFrame.prototype.set visible):
        (WebInspector.SourceFrame.prototype.addBreakpoint):
        (WebInspector.SourceFrame.prototype._breakpointRemoved):
        (WebInspector.SourceFrame.prototype._addBreakpointToSource):
        (WebInspector.SourceFrame.prototype._removeBreakpointFromSource):
        (WebInspector.SourceFrame.prototype._contextMenu.addConditionalBreakpoint):
        (WebInspector.SourceFrame.prototype._contextMenu):
        (WebInspector.SourceFrame.prototype._mouseDown):
        * inspector/front-end/SourceView.js:
        (WebInspector.SourceView):
        (WebInspector.SourceView.prototype.updateLocalContent):
        * inspector/front-end/inspector.js:
        (WebInspector.createJSBreakpointsSidebarPane.breakpointAdded):
        (WebInspector.createJSBreakpointsSidebarPane):
        (WebInspector.createDOMBreakpointsSidebarPane.breakpointAdded):
        (WebInspector.createDOMBreakpointsSidebarPane):
        (WebInspector.doLoadedDone):

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

9 years ago2010-08-24 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 24 Aug 2010 21:51:47 +0000 (21:51 +0000)]
2010-08-24  Stephen White  <senorblanco@chromium.org>

        Reviewed by Dumitru Daniliuc.

        Speculative fix for layout test failures on Chrome/Linux.
        https://bugs.webkit.org/show_bug.cgi?id=44550

        Tests fast/canvas/arc-crash.html, fast/canvas/canvas-state-intact-after-putImageData.html, and fast/canvas/toDataURL-supportedTypes.html are failing on Chrome/Linux.  Can't repro the failure locally, but this fix can't hurt.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::paintRenderingResultsToCanvas):

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

9 years agoWebCore: Fix the NodeFilter wrapper and the binding for acceptNode.
dumi@chromium.org [Tue, 24 Aug 2010 21:42:33 +0000 (21:42 +0000)]
WebCore: Fix the NodeFilter wrapper and the binding for acceptNode.
https://bugs.webkit.org/show_bug.cgi?id=44542

Reviewed by Dimitri Glazkov.

* bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::wrapNativeNodeFilter): This function
should always create a filter. V8NodeFilterCondition::acceptNode()
will check if the given object can be used as a filter, and throw
an exception if it can't.
* bindings/v8/V8NodeFilterCondition.cpp:
(WebCore::V8NodeFilterCondition::acceptNode): Update this binding
to do the same thing that the JS binding does.

LayoutTests: acceptNode-filter.html should pass after this patch.
https://bugs.webkit.org/show_bug.cgi?id=44542

Reviewed by Dimitri Glazkov.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-08-24 Tony Chang <tony@chromium.org>
tony@chromium.org [Tue, 24 Aug 2010 21:24:21 +0000 (21:24 +0000)]
2010-08-24  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] linux layout test results for svg tests
        https://bugs.webkit.org/show_bug.cgi?id=44303

        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/carto.net/slider-expected.checksum:
        * platform/chromium-linux/svg/carto.net/slider-expected.png:
        * platform/chromium-linux/svg/carto.net/textbox-expected.checksum:
        * platform/chromium-linux/svg/carto.net/textbox-expected.png:
        * platform/chromium-linux/svg/carto.net/window-expected.txt: Added.
        * platform/chromium-linux/svg/custom/coords-relative-units-transforms-expected.checksum:
        * platform/chromium-linux/svg/custom/coords-relative-units-transforms-expected.png: Added.
        * platform/chromium-linux/svg/custom/use-referencing-nonexisting-symbol-expected.checksum:
        * platform/chromium-linux/svg/custom/use-referencing-nonexisting-symbol-expected.png:
        * platform/chromium-linux/svg/hixie/perf/003-expected.txt: Added.
        * platform/chromium-linux/svg/hixie/perf/004-expected.txt: Added.
        * platform/chromium-linux/svg/hixie/perf/005-expected.txt: Added.
        * platform/chromium-linux/svg/hixie/perf/006-expected.txt: Added.
        * platform/chromium-linux/svg/hixie/text/003b-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-24 Tony Chang <tony@chromium.org>
tony@chromium.org [Tue, 24 Aug 2010 21:14:55 +0000 (21:14 +0000)]
2010-08-24  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] linux baselines for a few svg tests
        https://bugs.webkit.org/show_bug.cgi?id=44286

        These are all font differences from the windows and mac results.  On
        Linux, we have stronger anti-aliasing of fonts than windows although
        we match the windows font metrics (which is why these are only pixel
        results).

        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-02-t-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-02-t-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.checksum: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png: Added.
        * platform/chromium/drt_expectations.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-24 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 24 Aug 2010 21:01:16 +0000 (21:01 +0000)]
2010-08-24  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Tony Chang.

        After r65681, caret no longer displays promptly while editing form fields
        https://bugs.webkit.org/show_bug.cgi?id=44294

        The caret no longer eagerly updates its rect on every paint, so we have
        to manually update it after scrolling the selection into view when
        the selection changes.

        Tested by the pixel results of fast/forms/input-text-scroll-left-on-blur.html

        * page/Frame.cpp:
        (WebCore::Frame::revealSelection):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 20:55:02 +0000 (20:55 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Remove redundant call to OwnPtr::clear
        https://bugs.webkit.org/show_bug.cgi?id=44548

        As pointed out by Darin, this call to clear is not needed.

        * editing/TextIterator.cpp:
        (WebCore::plainTextToMallocAllocatedBuffer):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 20:49:16 +0000 (20:49 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        HTMLTokenizer::create
        https://bugs.webkit.org/show_bug.cgi?id=44477

        * html/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::HTMLDocumentParser):
        * html/HTMLPreloadScanner.cpp:
        (WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
        (WebCore::HTMLPreloadScanner::scan):
        (WebCore::HTMLPreloadScanner::processToken):
        * html/HTMLPreloadScanner.h:
        * html/HTMLTokenizer.h:
        (WebCore::HTMLTokenizer::create):
        * html/HTMLViewSourceParser.cpp:
        (WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
        (WebCore::HTMLViewSourceParser::pumpTokenizer):
        (WebCore::HTMLViewSourceParser::updateTokenizerState):
        * html/HTMLViewSourceParser.h:

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 20:43:28 +0000 (20:43 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Remove references to LegacyHTMLTreebuilder from HTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=44544

        * html/HTMLDocumentParser.cpp:
        * html/HTMLDocumentParser.h:
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
        (WebCore::HTMLTreeBuilder::FragmentParsingContext::FragmentParsingContext):
        (WebCore::HTMLTreeBuilder::FragmentParsingContext::document):
        (WebCore::HTMLTreeBuilder::constructTreeFromToken):
        (WebCore::HTMLTreeBuilder::finished):
        * html/HTMLTreeBuilder.h:
        (WebCore::HTMLTreeBuilder::FragmentParsingContext::contextElement):

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

9 years agoSet the install path of WebKit2.framework to the build directory for debug and releas...
mrowe@apple.com [Tue, 24 Aug 2010 20:38:41 +0000 (20:38 +0000)]
Set the install path of WebKit2.framework to the build directory for debug and release builds
to match our other frameworks.

Rubber-stamped by Sam Weinig.

* WebKit2.xcodeproj/project.pbxproj:

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

9 years ago2010-08-24 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 24 Aug 2010 20:26:41 +0000 (20:26 +0000)]
2010-08-24  Xan Lopez  <xlopez@igalia.com>

        Build fix, strike 2.

        The unit tests are C files, so put the flag in global_cflags.

        * GNUmakefile.am:

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

9 years ago2010-08-24 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 24 Aug 2010 20:22:55 +0000 (20:22 +0000)]
2010-08-24  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        Add test for a NodeFilter throwing
        https://bugs.webkit.org/show_bug.cgi?id=44480

        The TreeWalker DOM spec says that an exception thrown inside the NodeFilter should
        propagate out to the caller. This tests that.

        * fast/dom/TreeWalker/filter-throw-expected.txt: Added.
        * fast/dom/TreeWalker/filter-throw.html: Added.
        * fast/dom/TreeWalker/script-tests/filter-throw.js: Added.
        (walker.document.createTreeWalker):

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

9 years ago2010-08-24 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 24 Aug 2010 20:20:37 +0000 (20:20 +0000)]
2010-08-24  Xan Lopez  <xlopez@igalia.com>

        Try to fix GTK+ build.

        Move GTK_API_VERSION_2 define to here, since we want to use it
        outside of WebCore/WebKit.

        * GNUmakefile.am:

WebCore:

2010-08-24  Xan Lopez  <xlopez@igalia.com>

        Try to fix GTK+ build.

        Move GTK_API_VERSION_2 define out.

        * GNUmakefile.am:

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

9 years ago2010-08-24 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 24 Aug 2010 20:08:41 +0000 (20:08 +0000)]
2010-08-24  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        TreeWalker traversal order is wrong when skipping and rejecting
        https://bugs.webkit.org/show_bug.cgi?id=44377

        TreeWalker's nextSibling() and previousSibling() behaved incorrectly
        when traversing down a subtree where all nodes are skipped; it backed all
        the way up to the root of the subtree, then jump to the subtree's parentNode.
        This would skip later siblings.

        Fix by resetting 'node' when traversing to children so that node = node->parentNode()
        gets the correct node later.

        Test: fast/dom/TreeWalker/traversal-skip-most.html

        * dom/TreeWalker.cpp:
        (WebCore::TreeWalker::previousSibling):
        (WebCore::TreeWalker::nextSibling):

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

9 years agoWebKit/gtk:
xan@webkit.org [Tue, 24 Aug 2010 19:55:22 +0000 (19:55 +0000)]
WebKit/gtk:

2010-08-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Set a device to the event struct when building with GTK+ 3.x, it's
        mandatory.

        * tests/testcopyandpaste.c:
        (runPasteTestCallback):

WebKitTools:

2010-08-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Set a device to the event struct when building with GTK+ 3.x, it's
        mandatory.

        * DumpRenderTree/gtk/EventSender.cpp:
        (keyDownCallback):

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

9 years ago2010-08-24 Hans Wennborg <hans@chromium.org>
commit-queue@webkit.org [Tue, 24 Aug 2010 19:52:25 +0000 (19:52 +0000)]
2010-08-24  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        Remove null-checks from DeviceOrientationController
        https://bugs.webkit.org/show_bug.cgi?id=44504

        Remove checks for m_client being NULL from DeviceOrientationController.
        It will never be NULL, and this is checked by an ASSERT on construction.

        Will be covered by layout tests for device orientation.

        * dom/DeviceOrientationController.cpp:
        (WebCore::DeviceOrientationController::timerFired):
        (WebCore::DeviceOrientationController::addListener):
        (WebCore::DeviceOrientationController::removeListener):
        (WebCore::DeviceOrientationController::removeAllListeners):

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

9 years ago2010-08-24 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 24 Aug 2010 19:39:06 +0000 (19:39 +0000)]
2010-08-24  Martin Robinson  <mrobinson@igalia.com>

        Build fix for GTK+.

        * tests/testkeyevents.c:
        (key_press_event_cb):
        (key_release_event_cb):

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

9 years ago2010-08-24 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 24 Aug 2010 19:26:40 +0000 (19:26 +0000)]
2010-08-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
        https://bugs.webkit.org/show_bug.cgi?id=44534

        Fix an issue where a GdkEvent* is treated like a GdkEvent.

        * tests/testkeyevents.c:
        (key_press_event_cb):
        (key_release_event_cb):
2010-08-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
        https://bugs.webkit.org/show_bug.cgi?id=44534

        Fix two double-frees introduced in my previous commit.

        * DumpRenderTree/gtk/EventSender.cpp:
        (contextClickCallback): Copy the event before using it again.
        (keyDownCallback): Ditto.

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

9 years ago2010-08-24 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 24 Aug 2010 19:17:19 +0000 (19:17 +0000)]
2010-08-24  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Fix accelerated 2d canvas with accelerated compositing off.
        https://bugs.webkit.org/show_bug.cgi?id=44525

        Tested by running with --enable-accelerated-2d-canvas with
        --enable-accelerated-compositing off.
        ImageBuffer::copyImage changes covered by
        LayoutTests/fast/canvas/canvas-pattern-*.html.

        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::paint):
        Extend the accelerated compositing check and the readback for
        non-accelerated compositing to accelerated 2D canvas also.
        * html/canvas/CanvasRenderingContext.cpp:
        * html/canvas/CanvasRenderingContext.h:
        (WebCore::CanvasRenderingContext::paintsIntoCanvasBuffer):
        Move this logic from WebGL to common canvas context code.
        * html/canvas/WebGLRenderingContext.h:
        Remove implementation of paintsIntoCanvasBuffer.
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::copyImage):
        When copying the image for patterns, sync the software canvas.
        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::prepareForSoftwareDraw):
        Use SkDevice::eraseColor() to clear the canvas for mixed mode rendering.

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

9 years ago2010-08-24 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Tue, 24 Aug 2010 19:00:56 +0000 (19:00 +0000)]
2010-08-24  Oliver Hunt  <oliver@apple.com>

        Reviewed by Beth Dakin.

        Make overflow guards in UString::utf8 explicit
        https://bugs.webkit.org/show_bug.cgi?id=44540

        Add an explicit overflow check prior to allocating our buffer,
        rather than implicitly relying on the guard in convertUTF16ToUTF8.

        * runtime/UString.cpp:
        (JSC::UString::utf8):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 18:37:32 +0000 (18:37 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Deploy adoptPtr in WebCore/editing
        https://bugs.webkit.org/show_bug.cgi?id=44501

        * editing/Editor.cpp:
        (WebCore::Editor::Editor):
        * editing/TextIterator.cpp:
        (WebCore::plainTextToMallocAllocatedBuffer):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 18:35:39 +0000 (18:35 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Deploy adoptPtr in WebCore/history
        https://bugs.webkit.org/show_bug.cgi?id=44502

        * history/HistoryItem.cpp:
        (WebCore::HistoryItem::HistoryItem):
        (WebCore::HistoryItem::addRedirectURL):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 18:33:27 +0000 (18:33 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Partial deployment of adoptPtr to WebCore/html
        https://bugs.webkit.org/show_bug.cgi?id=44507

        Deploy adoptPtr to some more places in WebCore/html.  The big chunk
        that I haven't done yet is createRenderer, but that's going to be a big
        patch unto itself.

        * html/HTMLFormCollection.cpp:
        (WebCore::HTMLFormCollection::formCollectionInfo):
        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::addElementAlias):
        * html/HTMLInputElement.cpp:
        (WebCore::createTypeMap):
        (WebCore::HTMLInputElement::setInputType):
        (WebCore::HTMLInputElement::parseMappedAttribute):
        (WebCore::HTMLInputElement::attach):
        (WebCore::HTMLInputElement::preDispatchEventHandler):
        * html/HTMLObjectElement.cpp:
        (WebCore::HTMLObjectElement::parseMappedAttribute):
        (WebCore::HTMLObjectElement::attach):
        * html/HTMLToken.h:
        (WebCore::HTMLToken::beginDOCTYPE):
        * html/HTMLVideoElement.cpp:
        (WebCore::HTMLVideoElement::attach):
        (WebCore::HTMLVideoElement::parseMappedAttribute):
        * html/ValidityState.h:
        (WebCore::ValidityState::create):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 18:31:25 +0000 (18:31 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Partial deployment of adoptPtr to WebCore/html
        https://bugs.webkit.org/show_bug.cgi?id=44507

        There's a lot of places that need adoptPtr in WebCore/html.  This patch
        does some of them.  More will follow.

        * html/FileThreadTask.h:
        (WebCore::FileThreadTask0::create):
        (WebCore::FileThreadTask1::create):
        (WebCore::FileThreadTask2::create):
        (WebCore::FileThreadTask3::create):
        * html/HTMLAreaElement.cpp:
        (WebCore::HTMLAreaElement::mapMouseEvent):
        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::getContext):
        * html/HTMLElementStack.cpp:
        (WebCore::HTMLElementStack::insertAbove):
        (WebCore::HTMLElementStack::pushCommon):
        * html/HTMLEmbedElement.cpp:
        (WebCore::HTMLEmbedElement::parseMappedAttribute):
        (WebCore::HTMLEmbedElement::attach):

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

9 years ago2010-08-24 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 24 Aug 2010 18:08:15 +0000 (18:08 +0000)]
2010-08-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
        https://bugs.webkit.org/show_bug.cgi?id=44534

        * tests/testcopyandpaste.c:
        (runPasteTestCallback): Switch to using gdk_event_new and also reference the GdkWindow.
        when setting it on the event. It is dereferenced by gdk_event_free(...).
        * tests/testhittestresult.c:
        (load_status_cb): Switch to using gdk_event_new.
2010-08-24  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
        https://bugs.webkit.org/show_bug.cgi?id=44534

        * DumpRenderTree/gtk/EventSender.cpp:
        (prepareMouseButtonEvent): Use gdk_event_new and reference the reference the GdkWindow
        when setting it on the event. It is dereferenced by gdk_event_free(...).
        (contextClickCallback): Ditto.
        (mouseDownCallback): Ditto.
        (mouseUpCallback): Ditto.
        (mouseMoveToCallback): Ditto.
        (mouseWheelToCallback): Ditto.
        (sendOrQueueEvent): Take a GdkEvent* instead of a GdkEvent.
        (dispatchEvent): Ditto. Also free the event when we are done with it.
        (keyDownCallback): Use gdk_event_new and reference the GdkWindow.

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

9 years ago2010-08-24 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 24 Aug 2010 18:05:09 +0000 (18:05 +0000)]
2010-08-24  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        TreeWalker traversal order is wrong when skipping and rejecting
        https://bugs.webkit.org/show_bug.cgi?id=44377

        Add some tests for TreeWalker with node filters that skip and reject.

        * fast/dom/TreeWalker/script-tests/traversal-reject.js: Added.
        (rejectB1Filter.acceptNode):
        (rejectB2Filter.acceptNode):
        * fast/dom/TreeWalker/script-tests/traversal-skip.js: Added.
        (skipB1Filter.acceptNode):
        (skipB2Filter.acceptNode):
        * fast/dom/TreeWalker/traversal-reject-expected.txt: Added.
        * fast/dom/TreeWalker/traversal-reject.html: Added.
        * fast/dom/TreeWalker/traversal-skip-expected.txt: Added.
        * fast/dom/TreeWalker/traversal-skip.html: Added.

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

9 years agoImprove comment for Simon.
weinig@apple.com [Tue, 24 Aug 2010 18:03:45 +0000 (18:03 +0000)]
Improve comment for Simon.

Reviewed by Simon Fraser.

* editing/Editor.h:

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

9 years agoPaste event fires twice for mac WebKit
weinig@apple.com [Tue, 24 Aug 2010 17:59:22 +0000 (17:59 +0000)]
Paste event fires twice for mac WebKit
<rdar://problem/8094611>
https://bugs.webkit.org/show_bug.cgi?id=44535

Reviewed by Oliver Hunt.

WebCore:

The mac implementation of paste in WebKit was accidentally calling
Editor::tryDHTMLPaste twice, once in -[WebHTMLView paste:] and once
in Editor::pasteAsPlainText (which is called -[WebHTMLView paste:]).
Use the new pasteAsPlainTextBypassingDHTML function to bypass the
second call.

Test: editing/pasteboard/paste-event-only-once.html

* WebCore.exp.in:
* editing/Editor.cpp:
(WebCore::Editor::pasteAsPlainTextBypassingDHTML):
* editing/Editor.h:
Expose a function which just pastes using from the general pasteboard,
bypassing all the checking and DHTML pasting.

WebKit/mac:

The mac implementation of paste in WebKit was accidentally calling
Editor::tryDHTMLPaste twice, once in -[WebHTMLView paste:] and once
in Editor::pasteAsPlainText (which is called -[WebHTMLView paste:]).
Use the new pasteAsPlainTextBypassingDHTML function to bypass the
second call.

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

LayoutTests:

* editing/pasteboard/paste-event-only-once-expected.txt: Added.
* editing/pasteboard/paste-event-only-once.html: Added.

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

9 years ago2010-08-24 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 24 Aug 2010 17:53:27 +0000 (17:53 +0000)]
2010-08-24  Nate Chapin  <japhet@chromium.org>

        Unreviewed.

        Chromium build fix (add a #include missing in PingLoader.cpp)

        * loader/PingLoader.cpp:

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

9 years ago2010-08-24 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 24 Aug 2010 17:26:13 +0000 (17:26 +0000)]
2010-08-24  Nate Chapin  <japhet@chromium.org>

        Reviewed by David Levin.

        Allow image loads triggered from unload handlers to run entirely
        independently of any other loads or navigations.

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

        Test: http/tests/navigation/image-load-in-unload-handler.html

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * loader/DocLoader.cpp:
        (WebCore::DocLoader::requestImage): Use PingLoader for image
            loads in unload handlers.
        * loader/FrameLoader.h:
        (WebCore::FrameLoader::pageDismissalEventBeingDispatched):
        * loader/PingLoader.cpp: Added.
        (WebCore::PingLoader::loadImage): Set the appropriate
            headers for an image load in unload handler (since we're
            not using SubresourceLoader, we need to do this manually here).
        (WebCore::PingLoader::PingLoader):
        * loader/PingLoader.h: Added.
        (WebCore::PingLoader::~PingLoader):
        (WebCore::PingLoader::didReceiveResponse):
        (WebCore::PingLoader::didReceiveData):
        (WebCore::PingLoader::didFinishLoading):
        (WebCore::PingLoader::didFail):

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

9 years ago2010-08-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 24 Aug 2010 17:10:25 +0000 (17:10 +0000)]
2010-08-24  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: fix new inspector test expectation.

        * inspector/styles-computed-trace-expected.txt:

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

9 years agoUpdate profile.
weinig@apple.com [Tue, 24 Aug 2010 16:50:50 +0000 (16:50 +0000)]
Update profile.

Reviewed by John Sullivan.

* WebProcess/com.apple.WebProcess.sb:

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

9 years ago2010-08-24 Lukasz Slachciak <l.slachciak@samsung.com>
demarchi@webkit.org [Tue, 24 Aug 2010 16:48:39 +0000 (16:48 +0000)]
2010-08-24  Lukasz Slachciak  <l.slachciak@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Extended EFL WebView API to allow enable/disable Frame Flattening
        https://bugs.webkit.org/show_bug.cgi?id=44253

        * ewk/ewk_view.cpp:
        (ewk_view_setting_enable_frame_flattening_get):
        (ewk_view_setting_enable_frame_flattening_set):
        * ewk/ewk_view.h:

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

9 years ago2010-08-24 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Tue, 24 Aug 2010 16:40:36 +0000 (16:40 +0000)]
2010-08-24  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        [EFL] Unreviewed build fix after r65891.

        r65891 renamed RemoteInspectorFrontend to InspectorFrontend. Rename
        accordingly in CMake build system.

        * cmake/WebKitGenerators.cmake:

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

9 years ago2010-08-24 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 24 Aug 2010 16:15:46 +0000 (16:15 +0000)]
2010-08-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Trace to the style that contributes to
        the computed styles panel.
        https://bugs.webkit.org/show_bug.cgi?id=44448

        Test: inspector/styles-computed-trace.html

        * English.lproj/localizedStrings.js:
        * inspector/front-end/Section.js:
        (WebInspector.Section.prototype.set subtitle):
        (WebInspector.Section.prototype.get subtitleAsTextForTest):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylesSidebarPane.prototype._refreshUpdate):
        (WebInspector.StylesSidebarPane.prototype._rebuildUpdate):
        (WebInspector.StylesSidebarPane.prototype._rebuildStyleRules):
        (WebInspector.StylesSidebarPane.prototype._refreshSectionsForStyleRules):
        (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules):
        (WebInspector.StylePropertiesSection.linkifyUncopyable):
        (WebInspector.StylePropertiesSection):
        (WebInspector.StylePropertiesSection.prototype.isPropertyInherited):
        (WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
        (WebInspector.StylePropertiesSection.prototype.isPropertyDisabled):
        (WebInspector.StylePropertiesSection.prototype.update):
        (WebInspector.StylePropertiesSection.prototype.onpopulate):
        (WebInspector.ComputedStylePropertiesSection):
        (WebInspector.ComputedStylePropertiesSection.prototype.collapse):
        (WebInspector.ComputedStylePropertiesSection.prototype._isPropertyInherited):
        (WebInspector.ComputedStylePropertiesSection.prototype.update):
        (WebInspector.ComputedStylePropertiesSection.prototype.onpopulate):
        (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace):
        (WebInspector.BlankStylePropertiesSection):
        * inspector/front-end/inspector.css:
        (.styles-section a::before):
        * inspector/front-end/inspector.js:
        (WebInspector.documentClick.followLink):
        (WebInspector.documentClick):
        (WebInspector.linkifyResourceAsNode):
2010-08-24  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Trace to the style that contributes to
        the computed styles panel.
        https://bugs.webkit.org/show_bug.cgi?id=44448

        * inspector/elements-panel-styles-expected.txt:
        * inspector/elements-tests.js:
        (frontend_getSelectedElementStyles):
        (frontend_dumpStyleTreeItem):
        * inspector/styles-computed-trace-expected.txt: Added.
        * inspector/styles-computed-trace.html: Added.
        * inspector/styles-disable-inherited-expected.txt:
        * inspector/styles-disable-inherited.html:
        * inspector/styles-disable-then-delete-expected.txt:
        * inspector/styles-source-lines-inline-expected.txt:

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

9 years ago2010-08-24 Daniel Cheng <dcheng@chromium.org>
commit-queue@webkit.org [Tue, 24 Aug 2010 16:06:36 +0000 (16:06 +0000)]
2010-08-24  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Eric Seidel.

        [chromium] Generate drag images for HTML elements and selections.
        https://bugs.webkit.org/show_bug.cgi?id=43449

        We weren't properly generating drag images if an HTML element was set
        as the drag feedback image. I also implemented dragImageForSelection
        while I was working on this part of the code.

        No new tests.

        * WebCore.exp.in:
        * bindings/objc/DOM.mm:
        (-[DOMNode renderedImage]):
        * page/Frame.h:
        * page/brew/FrameBrew.cpp:
        (WebCore::Frame::nodeImage):
        * page/chromium/FrameChromium.cpp:
        (WebCore::):
        (WebCore::Frame::nodeImage):
        (WebCore::Frame::dragImageForSelection):
        * page/efl/FrameEfl.cpp:
        (WebCore::Frame::nodeImage):
        * page/gtk/FrameGtk.cpp:
        (WebCore::Frame::nodeImage):
        * page/haiku/FrameHaiku.cpp:
        (WebCore::Frame::nodeImage):
        * page/mac/FrameMac.mm:
        (WebCore::Frame::nodeImage):
        (WebCore::Frame::dragImageForSelection):
        * page/qt/FrameQt.cpp:
        (WebCore::Frame::nodeImage):
        (WebCore::Frame::dragImageForSelection):
        * page/win/FrameCGWin.cpp:
        (WebCore::Frame::nodeImage):
        * page/win/FrameCairoWin.cpp:
        (WebCore::Frame::nodeImage):
        * page/wince/FrameWince.cpp:
        (WebCore::Frame::nodeImage):
        * page/wx/FrameWx.cpp:
        (WebCore::Frame::nodeImage):
        * platform/chromium/ClipboardChromium.cpp:
        (WebCore::ClipboardChromium::createDragImage):
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::selectionForegroundColor):
2010-08-24  Daniel Cheng  <dcheng@chromium.org>

        Reviewed by Eric Seidel.

        [chromium] Generate drag images for HTML elements and selections.
        https://bugs.webkit.org/show_bug.cgi?id=43449

        Fix up calls to Frame::nodeImage, which has a new signature.

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView halt]):

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

9 years agoUnreviewed trivial fix.
ossy@webkit.org [Tue, 24 Aug 2010 15:53:42 +0000 (15:53 +0000)]
Unreviewed trivial fix.

After r65845 we don't need Qt specific expected result.

* platform/qt/editing/execCommand/insert-list-xml-expected.txt: Removed.

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

9 years ago2010-08-24 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 24 Aug 2010 15:44:07 +0000 (15:44 +0000)]
2010-08-24  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        IndexedDB needs to manually delete all objectStore data and indexes
        https://bugs.webkit.org/show_bug.cgi?id=44522

        * storage/indexeddb/objectstore-removeobjectstore-expected.txt: Added.
        * storage/indexeddb/objectstore-removeobjectstore.html: Added.
        * storage/indexeddb/resources/shared.js:
        (unexpectedSuccessCallback):
2010-08-24  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        IndexedDB needs to manually delete all objectStore data and indexes
        https://bugs.webkit.org/show_bug.cgi?id=44522

        Apparently it's only newer versions of SQLite that handle cascade
        delete.  The rest silently fail.  So do it manually.

        Test: storage/indexeddb/objectstore-removeobjectstore.html

        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::doDelete):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::createTables):
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::removeIndex):
        * storage/IDBObjectStoreBackendImpl.h:
        (WebCore::IDBObjectStoreBackendImpl::create):
        (WebCore::IDBObjectStoreBackendImpl::id):

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

9 years agoUpdate skipped list for WebKit2.
weinig@apple.com [Tue, 24 Aug 2010 15:03:26 +0000 (15:03 +0000)]
Update skipped list for WebKit2.

* platform/mac-wk2/Skipped:

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

9 years agoFix for <rdar://problem/8153271> and <rdar://problem/8153288>
weinig@apple.com [Tue, 24 Aug 2010 14:59:26 +0000 (14:59 +0000)]
Fix for <rdar://problem/8153271> and <rdar://problem/8153288>
Change behavior of javascript: urls in <embed> and <object> back to
how they behaved before r50698.

Reviewed by Adam Barth.

WebCore:

Tests: fast/loader/javascript-url-in-embed.html
       fast/loader/javascript-url-in-object.html

* loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::requestFrame):
(WebCore::SubframeLoader::requestObject):
(WebCore::SubframeLoader::loadOrRedirectSubframe):
* loader/SubframeLoader.h:

LayoutTests:

* fast/loader/javascript-url-in-embed-expected.txt: Added.
* fast/loader/javascript-url-in-embed.html: Added.
* fast/loader/javascript-url-in-object-expected.txt: Added.
* fast/loader/javascript-url-in-object.html: Added.

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

9 years ago2010-08-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Tue, 24 Aug 2010 14:58:45 +0000 (14:58 +0000)]
2010-08-24  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Rubber-stamped by Xan Lopez.

        Do not initialize the GSettings object in webkit_init - the other
        call sites are always called in the main thread so this is
        unnecessary.

        * webkit/webkitprivate.cpp:
        (webkit_init):

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

9 years ago2010-08-24 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 24 Aug 2010 14:14:55 +0000 (14:14 +0000)]
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/drt_expectations.txt: Remove a duplicated entry.

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

9 years ago2010-08-24 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 24 Aug 2010 14:13:43 +0000 (14:13 +0000)]
2010-08-24  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Update code to compile with latest GTK+ 3.x.

        * platform/gtk/gtk2drawing.c:
        (TSOffsetStyleGCs):
        (moz_gtk_entry_paint):
        * plugins/gtk/gtk2xtbin.c:
        (gtk_xtbin_new):

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

9 years ago2010-08-24 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 24 Aug 2010 14:04:02 +0000 (14:04 +0000)]
2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Landed wrong results in my last commit.

        * platform/mac/svg/css/shadow-changes-expected.txt:

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

9 years ago2010-08-24 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 24 Aug 2010 14:00:41 +0000 (14:00 +0000)]
2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        -webkit-svg-shadow doesn't repaint on changes
        https://bugs.webkit.org/show_bug.cgi?id=44521

        Trivial fix, to make -webkit-svg-shadow react on changes.

        Test: svg/css/shadow-changes.svg

        * rendering/style/SVGRenderStyle.cpp:
        (WebCore::SVGRenderStyle::diff): If 'svgShadow' is not equal, cause a repaint.

2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        -webkit-svg-shadow doesn't repaint on changes
        https://bugs.webkit.org/show_bug.cgi?id=44521

        * platform/mac/svg/css/shadow-changes-expected.checksum: Added.
        * platform/mac/svg/css/shadow-changes-expected.png: Added.
        * platform/mac/svg/css/shadow-changes-expected.txt: Added.
        * svg/css/shadow-changes.svg: Added.

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

9 years ago2010-08-24 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Tue, 24 Aug 2010 13:40:49 +0000 (13:40 +0000)]
2010-08-24  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Cg logs "<Error>: CGPathCloseSubpath: no current point. " in lots of tests
        https://bugs.webkit.org/show_bug.cgi?id=43026

        Check if the path is empty before closing it.

        * svg/SVGPathBuilder.cpp:
        (WebCore::SVGPathBuilder::moveTo):

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

9 years ago2010-08-24 Marcus Bulach <bulach@chromium.org>
bulach@chromium.org [Tue, 24 Aug 2010 13:25:39 +0000 (13:25 +0000)]
2010-08-24  Marcus Bulach  <bulach@chromium.org>

        Reviewed by Jeremy Orlow.

        Hooks IDBKeyPath with IDBObjectStorage::put.
        https://bugs.webkit.org/show_bug.cgi?id=44275

        Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath
        during IDBObjectStorage::put.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * platform/chromium/ChromiumBridge.h:
        * storage/IDBKeyPathBackendImpl.cpp: Added.
        (IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
        * storage/IDBKeyPathBackendImpl.h: Added.
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::put):
        * storage/chromium/IDBKeyPathBackendImpl.cpp: Added.
        (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
2010-08-24  Marcus Bulach  <bulach@chromium.org>

        Reviewed by Jeremy Orlow.

        Hooks IDBKeyPath with IDBObjectStorage::put.
        https://bugs.webkit.org/show_bug.cgi?id=44275

        Adds a mechanism to extract an IDBKey from SerializedScriptValue using IDBKeyPath
        during IDBObjectStorage::put.

        * public/WebIDBKey.h:
        (WebKit::WebIDBKey::WebIDBKey):
        * public/WebKitClient.h:
        (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath):
        * src/ChromiumBridge.cpp:
        (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):

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

9 years ago2010-08-24 Andras Becsi <abecsi@inf.u-szeged.hu>
abecsi@webkit.org [Tue, 24 Aug 2010 13:04:40 +0000 (13:04 +0000)]
2010-08-24  Andras Becsi  <abecsi@inf.u-szeged.hu>

        Reviewed by Simon Hausmann.

        [Qt] Fix predeclared variables for Symbian to be able to build QtWebKit for Symbian on Linux.

        * Api/DerivedSources.pro:

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

9 years ago2010-08-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 24 Aug 2010 12:26:55 +0000 (12:26 +0000)]
2010-08-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: RemoteInspectorFrontend can be renamed to InspectorFrontend.
        The old version of InspectorFrontend was removed some time ago and now
        it is possible to rename the new version of inspector frontend class to its
        original name.
        https://bugs.webkit.org/show_bug.cgi?id=44499

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.pri:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/ConsoleMessage.cpp:
        * inspector/ConsoleMessage.h:
        * inspector/InjectedScriptHost.cpp:
        * inspector/InjectedScriptHost.h:
        * inspector/InspectorApplicationCacheAgent.cpp:
        * inspector/InspectorApplicationCacheAgent.h:
        * inspector/InspectorBackend.cpp:
        * inspector/InspectorBackend.h:
        * inspector/InspectorCSSStore.cpp:
        * inspector/InspectorCSSStore.h:
        * inspector/InspectorController.cpp:
        * inspector/InspectorController.h:
        * inspector/InspectorDOMAgent.cpp:
        * inspector/InspectorDOMAgent.h:
        * inspector/InspectorDOMStorageResource.cpp:
        * inspector/InspectorDOMStorageResource.h:
        * inspector/InspectorDatabaseResource.cpp:
        * inspector/InspectorDatabaseResource.h:
        * inspector/InspectorDebuggerAgent.cpp:
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorProfilerAgent.cpp:
        * inspector/InspectorProfilerAgent.h:
        * inspector/InspectorResource.cpp:
        * inspector/InspectorResource.h:
        * inspector/InspectorStorageAgent.cpp:
        * inspector/InspectorStorageAgent.h:
        * inspector/InspectorTimelineAgent.cpp:
        * inspector/InspectorTimelineAgent.h:

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

9 years agoUnreviewed trivial fix.
ossy@webkit.org [Tue, 24 Aug 2010 12:11:15 +0000 (12:11 +0000)]
Unreviewed trivial fix.

Remove wrong code from Qt that's dumping extra markup into the clipboard
https://bugs.webkit.org/show_bug.cgi?id=44506

After r65888 we don't need Qt specific expected result.

* platform/qt/editing/pasteboard/onpaste-text-html-expected.txt: Removed.

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

9 years ago2010-08-24 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 24 Aug 2010 11:22:12 +0000 (11:22 +0000)]
2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Markers don't render, when applied to a target using vector-effect="non-scaling-stroke"
        https://bugs.webkit.org/show_bug.cgi?id=44511

        Make fillAndStrokePath a member function of RenderPath, to avoid having to pass the const Path& and this paramters.
        Don't leave the GraphicsContext mutated after applying non-scaling-stroke transformation, otherwhise markers will be renderer
        in the wrong coordinate space, and thus don't show up anymore.

        Test: svg/custom/non-scaling-stroke-markers.svg

        * rendering/RenderPath.cpp:
        (WebCore::RenderPath::fillAndStrokePath):
        (WebCore::RenderPath::paint):
        * rendering/RenderPath.h:

2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Markers don't render, when applied to a target using vector-effect="non-scaling-stroke"
        https://bugs.webkit.org/show_bug.cgi?id=44511

        Add new test verifying that markers can be appplied to objects using vector-effect="non-scaling-stroke".

        * platform/mac/svg/custom/non-scaling-stroke-markers-expected.checksum: Added.
        * platform/mac/svg/custom/non-scaling-stroke-markers-expected.png: Added.
        * platform/mac/svg/custom/non-scaling-stroke-markers-expected.txt: Added.
        * svg/custom/non-scaling-stroke-markers.svg: Added.

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

9 years agoRemove wrong code from Qt that's dumping extra markup into the clipboard
ossy@webkit.org [Tue, 24 Aug 2010 11:16:43 +0000 (11:16 +0000)]
Remove wrong code from Qt that's dumping extra markup into the clipboard
https://bugs.webkit.org/show_bug.cgi?id=44506

Patch by Adam Barth <abarth@webkit.org> on 2010-08-24
Reviewed by Kenneth Rohde Christiansen.

I have no way of testing this patch, but hopefully it should fix a
bunch of newly failing tests.  This code seems very confused.

* platform/qt/PasteboardQt.cpp:
(WebCore::Pasteboard::writeSelection):

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

9 years agoWeb Inspector: fix gcc warnings introduced in 65731
ossy@webkit.org [Tue, 24 Aug 2010 11:00:15 +0000 (11:00 +0000)]
Web Inspector: fix gcc warnings introduced in 65731
https://bugs.webkit.org/show_bug.cgi?id=44468

Patch by Pavel Podivilov <podivilov@chromium.org> on 2010-08-24
Reviewed by Yury Semikhatsky.

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::didInsertDOMNode):
(WebCore::InspectorDOMAgent::pauseOnBreakpoint):

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

9 years ago[Symbian] Fix commit/decommit of system memory using RChunk
hausmann@webkit.org [Tue, 24 Aug 2010 10:38:35 +0000 (10:38 +0000)]
[Symbian] Fix commit/decommit of system memory using RChunk

Patch by Yael Aharon <yael.aharon@nokia.com> on 2010-08-24
Reviewed by Simon Hausmann.

Swap accidentially reversed start and m_base values for determining the
offset within the RChunk.

* wtf/PageReservation.h:
(WTF::PageReservation::systemCommit):
(WTF::PageReservation::systemDecommit):

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

9 years ago2010-08-24 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Tue, 24 Aug 2010 10:11:05 +0000 (10:11 +0000)]
2010-08-24  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        r65878 broke fast/dom/document-attribute-js-null.html

        * fast/dom/document-attribute-js-null-expected.txt:
        * fast/dom/document-attribute-js-null.html:

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

9 years ago2010-08-24 Roland Steiner <rolandsteiner@chromium.org>
rolandsteiner@chromium.org [Tue, 24 Aug 2010 10:05:02 +0000 (10:05 +0000)]
2010-08-24  Roland Steiner  <rolandsteiner@chromium.org>

        Unreviewed: trim duplicated entry from Chromium test_expectations.txt

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-24 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Tue, 24 Aug 2010 10:03:52 +0000 (10:03 +0000)]
2010-08-24  Andras Becsi  <abecsi@webkit.org>

        [Qt] WebKit2 build fix.

        * Scripts/enumerate-included-framework-headers:
        Remove stray global option form sed.

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

9 years ago[Qt] Blur shadow for rectangle fill
ariya@webkit.org [Tue, 24 Aug 2010 09:58:01 +0000 (09:58 +0000)]
[Qt] Blur shadow for rectangle fill
https://bugs.webkit.org/show_bug.cgi?id=44488

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-24
Reviewed by Simon Hausmann.

Refactor fillRect() function to support blur radius in the shadow.

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::fillRect):

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

9 years ago2010-08-24 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 24 Aug 2010 09:27:22 +0000 (09:27 +0000)]
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Reviewed by Jeremy Orlow.

        [DRT/Chromium] Support for IndexedDB tests
        https://bugs.webkit.org/show_bug.cgi?id=44490

        * platform/chromium/drt_expectations.txt:
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Reviewed by Jeremy Orlow.

        [DRT/Chromium] Support for IndexedDB tests
        https://bugs.webkit.org/show_bug.cgi?id=44490

        * DEPS: Roll Chromium to r57145 to have a webkit_support change.
2010-08-24  Kent Tamura  <tkent@chromium.org>

        Reviewed by Jeremy Orlow.

        [DRT/Chromium] Support for IndexedDB tests
        https://bugs.webkit.org/show_bug.cgi?id=44490

        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell): Enable IndexedDB.

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

9 years ago2010-08-24 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 24 Aug 2010 09:25:11 +0000 (09:25 +0000)]
2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze

        clip-path does not work inside mask element
        https://bugs.webkit.org/show_bug.cgi?id=41428

        Add new tests covering nesting of clippers and maskers, with different unitTypes for the content coordinate system.
        Scale all ImageBuffer content to take into account that ImageBuffers use integer based sizes, where the content
        is floating-point sized. This compensates rounded errors, when scaling the document.

        Tests: svg/clip-path/clip-in-mask-objectBoundingBox.svg
               svg/clip-path/clip-in-mask-userSpaceOnUse.svg
               svg/clip-path/clip-in-mask.svg
               svg/clip-path/deep-nested-clip-in-mask-different-unitTypes.svg
               svg/clip-path/deep-nested-clip-in-mask-panning.svg
               svg/clip-path/deep-nested-clip-in-mask.svg
               svg/clip-path/nested-clip-in-mask-image-based-clipping.svg
               svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping.svg
               svg/clip-path/nested-clip-in-mask-path-based-clipping.svg

        * rendering/RenderSVGResourceClipper.cpp:
        (WebCore::RenderSVGResourceClipper::applyResource): Return the value of applyClippingToContext, instead of always true.
        (WebCore::RenderSVGResourceClipper::applyClippingToContext): Moved some code from createClipData, to avoid having to pass 5 arguments to createClipData.
        (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage): Renamed from createClipData.
        * rendering/RenderSVGResourceClipper.h:
        * rendering/RenderSVGResourceGradient.cpp:
        (WebCore::createMaskAndSwapContextForTextGradient): Pass absoluteTargetRect to createImageBuffer.
        (WebCore::clipToTextMask): Ditto.
        * rendering/RenderSVGResourceMasker.cpp:
        (WebCore::RenderSVGResourceMasker::applyResource): Ditto.
        (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage): Pass content transformation to renderSubtreeToImageBuffer, to support nesting objectBoundingBox resources.
        * rendering/RenderSVGResourcePattern.cpp:
        (WebCore::RenderSVGResourcePattern::applyResource): Adapt to calculateTransformationToOutermostSVGCoordinateSystem changes. AffineTransform is now passed as reference.
        (WebCore::RenderSVGResourcePattern::createTileImage): ImageBuffer content scaling is now handled by createImageBuffer.
        * rendering/SVGImageBufferTools.cpp:
        (WebCore::SVGImageBufferTools::calculateTransformationToOutermostSVGCoordinateSystem): Renamed. Don't return an AffineTransform copy, but instead pass it as reference.
        (WebCore::SVGImageBufferTools::createImageBuffer): Always scale the ImageBuffer content, to compensate rounding effects (code was only present in patterns so far).
                                                           Now also needs the 'absoluteTargetRect' parameter, not only 'clampedAbsoluteTargetRect'.
        (WebCore::SVGImageBufferTools::renderSubtreeToImageBuffer): Moved from SVGRenderSupport.
        (WebCore::SVGImageBufferTools::clipToImageBuffer): Pass ImageBuffer as OwnPtr reference, to allow to clear it under certain circumstances (see comment).
        (WebCore::SVGImageBufferTools::clampedAbsoluteTargetRectForRenderer): Remove AffineTransform parameter, absoluteTargetRect is calculated before passing into this function.
        * rendering/SVGImageBufferTools.h:
        * rendering/SVGRenderSupport.cpp:
        (WebCore::SVGRenderSupport::prepareToRenderSVGContent): Important change, respect the RenderSVGResourceClipper::applyResource() return value!
        * rendering/SVGRenderSupport.h:
        * svg/SVGFEImageElement.cpp:
        (WebCore::SVGFEImageElement::build): renderSubtreeToImage now lives in SVGImageBufferTools, adapt code.

2010-08-24  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        clip-path does not work inside mask element
        https://bugs.webkit.org/show_bug.cgi?id=41428

        Update results of all tests containing <mask> / <pattern> and/or gradient on text (using CG).
        The ImageBuffer content is now scaled to account for rounding differences, when zooming.

        * platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
        * platform/mac/svg/clip-path/clip-in-mask-expected.checksum: Added.
        * platform/mac/svg/clip-path/clip-in-mask-expected.png: Added.
        * platform/mac/svg/clip-path/clip-in-mask-expected.txt: Added.
        * platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.checksum: Added.
        * platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png: Added.
        * platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Added.
        * platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.checksum: Added.
        * platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png: Added.
        * platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Added.
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.checksum: Added.
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Added.
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Added.
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.checksum: Added.
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.png: Added.
        * platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.checksum: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.checksum: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.checksum: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Added.
        * platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Added.
        * platform/mac/svg/custom/absolute-sized-content-with-resources-expected.checksum:
        * platform/mac/svg/custom/absolute-sized-content-with-resources-expected.png:
        * platform/mac/svg/custom/grayscale-gradient-mask-expected.checksum:
        * platform/mac/svg/custom/grayscale-gradient-mask-expected.png:
        * platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.checksum:
        * platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.png:
        * platform/mac/svg/custom/text-rotated-gradient-expected.checksum:
        * platform/mac/svg/custom/text-rotated-gradient-expected.png:
        * platform/mac/svg/text/selection-background-color-expected.checksum:
        * platform/mac/svg/text/selection-background-color-expected.png:
        * platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.checksum:
        * platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.png:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.checksum:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
        * svg/clip-path/clip-in-mask-objectBoundingBox.svg: Added.
        * svg/clip-path/clip-in-mask-userSpaceOnUse.svg: Added.
        * svg/clip-path/clip-in-mask.svg: Added.
        * svg/clip-path/deep-nested-clip-in-mask-different-unitTypes.svg: Added.
        * svg/clip-path/deep-nested-clip-in-mask.svg: Added.
        * svg/clip-path/nested-clip-in-mask-image-based-clipping.svg: Added.
        * svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping.svg: Added.
        * svg/clip-path/nested-clip-in-mask-path-based-clipping.svg: Added.

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

9 years ago2010-08-24 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>
andreip@google.com [Tue, 24 Aug 2010 09:05:38 +0000 (09:05 +0000)]
2010-08-24  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>

        Reviewed by Jeremy Orlow.

        Implement IDBTransaction::objectStore

        [IndexedDB] IDBTransaction is missing the implementation for objectStore method
        https://bugs.webkit.org/show_bug.cgi?id=44446

        * storage/indexeddb/script-tests/transaction-basics.js:
        (test):
        (openSuccess):
        (createSuccess):
        (abortCallback):
        * storage/indexeddb/transaction-basics-expected.txt:
2010-08-24  Andrei Popescu  <andreip@dhcp-172-16-14-12.lon.corp.google.com>

        Reviewed by Jeremy Orlow.

        [IndexedDB] IDBTransaction is missing the implementation for objectStore method
        https://bugs.webkit.org/show_bug.cgi?id=44446

        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::transaction):
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::create):
        (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
        (WebCore::IDBTransactionBackendImpl::objectStore):
        * storage/IDBTransactionBackendImpl.h:
        * storage/IDBTransactionCoordinator.cpp:
        (WebCore::IDBTransactionCoordinator::createTransaction):
        * storage/IDBTransactionCoordinator.h:

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

9 years ago2010-08-24 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Tue, 24 Aug 2010 08:55:29 +0000 (08:55 +0000)]
2010-08-24  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        Disallow setting Document.xmlVersion to unsupported versions
        https://bugs.webkit.org/show_bug.cgi?id=44494

        Added XMLDocumentParser::supportsXMLVersion() - only returns true for "1.0"
        in both implementations.

        * dom/Document.cpp:
        (WebCore::Document::setXMLVersion): Throw NOT_SUPPORTED_ERR
        if XMLDocumentParser::supportsXMLVersion() returns false for the version.
        * dom/XMLDocumentParser.h:
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::supportsXMLVersion):
        * dom/XMLDocumentParserQt.cpp:
        (WebCore::XMLDocumentParser::supportsXMLVersion):
2010-08-24  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        Disallow setting Document.xmlVersion to unsupported versions
        https://bugs.webkit.org/show_bug.cgi?id=44494

        Rebaselined tests (to expect success in 9/10 cases)
        documentsetxmlversion03.xhtml fails now (but legitimately.)

        * dom/xhtml/level3/core/canonicalform06-expected.txt:
        * dom/xhtml/level3/core/documentsetxmlversion01-expected.txt:
        * dom/xhtml/level3/core/documentsetxmlversion03-expected.txt:
        * dom/xhtml/level3/core/documentsetxmlversion05-expected.txt:
        * dom/xhtml/level3/core/infoset06-expected.txt:
        * dom/xhtml/level3/core/infoset07-expected.txt:
        * dom/xhtml/level3/core/wellformed01-expected.txt:
        * dom/xhtml/level3/core/wellformed02-expected.txt:
        * dom/xhtml/level3/core/wellformed03-expected.txt:
        * dom/xhtml/level3/core/wellformed04-expected.txt:

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

9 years ago[Qt][Symbian] Make sure WebKit headers are included before platform headers on Symbian
hausmann@webkit.org [Tue, 24 Aug 2010 08:51:39 +0000 (08:51 +0000)]
[Qt][Symbian] Make sure WebKit headers are included before platform headers on Symbian
https://bugs.webkit.org/show_bug.cgi?id=31273

Patch by Laszlo Gombos <laszlo.1.gombos@nokia.com> on 2010-08-24
Reviewed by Simon Hausmann.

On Symbian PREPEND_INCLUDEPATH is the best way to make sure that
WebKit headers are included before platform headers. On all other
platforms continue to use INCLUDEPATH (as before).

This patch also removed the workarounds that are put in place
now that we have a better solution.

No new tests as there is no new functionality.

* WebCore.pro:

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

9 years ago[Qt] Support text-shadow blur
ariya@webkit.org [Tue, 24 Aug 2010 08:38:35 +0000 (08:38 +0000)]
[Qt] Support text-shadow blur
https://bugs.webkit.org/show_bug.cgi?id=19728

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-24
Reviewed by Kenneth Rohde Christiansen.

Implement blur for text shadow using the shadow layer in r65782.

* platform/graphics/qt/ContextShadow.cpp:
(WebCore::ContextShadow::beginShadowLayer):
* platform/graphics/qt/FontQt.cpp:
(WebCore::drawTextCommon):

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 08:16:44 +0000 (08:16 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Update baselines for Tiger bot.  I'm not sure why these didn't turn up
        when running the tests locally.  The limits are slightly different in
        the new parser, so we'll need to adjust these tests.

        * fast/parser/block-nesting-cap-expected.txt:
        * fast/parser/block-nesting-cap-table-expected.txt:
        * fast/parser/element-nesting-cap-expected.txt:

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

9 years ago2010-08-23 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Tue, 24 Aug 2010 08:15:16 +0000 (08:15 +0000)]
2010-08-23  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø.

        setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace
        https://bugs.webkit.org/show_bug.cgi?id=44432

        Test: fast/dom/setAttributeNS-prefix-and-null-namespace.html

        * dom/Element.cpp:
        (WebCore::Element::setAttributeNS): Throw NAMESPACE_ERR if namespace is null
        and the qualifiedName has a prefix.
2010-08-24  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Tor Arne Vestbø and Nikolas Zimmermann.

        setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace
        https://bugs.webkit.org/show_bug.cgi?id=44432

        - Added a test for the new behavior.
        - Rebaselined svg/custom/missing-xlink.svg

        * fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Added.
        * fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Added.
        * fast/dom/setAttributeNS-prefix-and-null-namespace.html: Added.
        * platform/chromium-mac/svg/custom/missing-xlink-expected.txt:
        * platform/chromium-win/svg/custom/missing-xlink-expected.txt:
        * platform/mac-leopard/svg/custom/missing-xlink-expected.txt:
        * platform/mac/svg/custom/missing-xlink-expected.txt:
        * platform/win/svg/custom/missing-xlink-expected.txt:

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 07:58:07 +0000 (07:58 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Build fix.  leakPtr doesn't exist, contrary to my dreams.

        * storage/IDBKeyTree.h:
        (WebCore::::put):
        * storage/IDBPendingTransactionMonitor.cpp:
        (WebCore::IDBPendingTransactionMonitor::addPendingTransaction):

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

9 years ago2010-08-24 Roland Steiner <rolandsteiner@chromium.org>
rolandsteiner@chromium.org [Tue, 24 Aug 2010 07:46:13 +0000 (07:46 +0000)]
2010-08-24  Roland Steiner  <rolandsteiner@chromium.org>

        Unreviewed: upstreaming chromium test suppressions.

        Moving entries to LayoutTests/platform/chromium/test_expectations.txt

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-24 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 24 Aug 2010 07:34:52 +0000 (07:34 +0000)]
2010-08-24  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Deploy adoptPtr in WebCore/storage
        https://bugs.webkit.org/show_bug.cgi?id=44491

        There are still some naked news for a future patch.  The next step is
        to make create methods.

        * storage/Database.cpp:
        (WebCore::DatabaseCreationCallbackTask::create):
        (WebCore::DerefContextTask::create):
        (WebCore::DeliverPendingCallbackTask::create):
        * storage/DatabaseSync.cpp:
        (WebCore::CloseSyncDatabaseOnContextThreadTask::create):
        * storage/DatabaseTask.h:
        (WebCore::Database::DatabaseOpenTask::create):
        (WebCore::Database::DatabaseCloseTask::create):
        (WebCore::Database::DatabaseTransactionTask::create):
        (WebCore::Database::DatabaseTableNamesTask::create):
        * storage/DatabaseThread.cpp:
        (WebCore::DatabaseThread::DatabaseThread):
        * storage/DatabaseTracker.cpp:
        (WebCore::DatabaseTracker::populateOrigins):
        (WebCore::DatabaseTracker::addOpenDatabase):
        * storage/IDBKeyTree.h:
        (WebCore::::put):
        * storage/IDBPendingTransactionMonitor.cpp:
        (WebCore::IDBPendingTransactionMonitor::addPendingTransaction):
        * storage/LocalStorageTask.h:
        (WebCore::LocalStorageTask::createImport):
        (WebCore::LocalStorageTask::createSync):
        (WebCore::LocalStorageTask::createDeleteEmptyDatabase):
        (WebCore::LocalStorageTask::createTerminate):
        * storage/LocalStorageThread.cpp:
        (WebCore::LocalStorageThread::create):
        * storage/SQLTransaction.cpp:
        (WebCore::SQLTransaction::openTransactionAndPreflight):
        * storage/SQLTransactionSync.cpp:
        (WebCore::SQLTransactionSync::SQLTransactionSync):
        (WebCore::SQLTransactionSync::begin):
        * storage/StorageNamespaceImpl.cpp:
        (WebCore::StorageNamespaceImpl::copy):

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

9 years ago2010-08-24 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 24 Aug 2010 07:32:22 +0000 (07:32 +0000)]
2010-08-24  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: setAttachedWindow was modified at r65809 but it should be implemented another way.
        https://bugs.webkit.org/show_bug.cgi?id=44493

        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        * inspector/InspectorController.h:
        * inspector/InspectorFrontendClientLocal.cpp:
        (WebCore::InspectorFrontendClientLocal::setAttachedWindow):

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