WebKit-https.git
9 years ago2010-10-21 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Fri, 22 Oct 2010 05:16:24 +0000 (05:16 +0000)]
2010-10-21  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed build fix attempt for Chromium Linux Debug Clang

        * public/WebExternalPopupMenu.h:

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

9 years ago2010-10-21 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Fri, 22 Oct 2010 04:43:24 +0000 (04:43 +0000)]
2010-10-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kent Tamura.

        [BREWMP] Add a String constructor which takes AECHAR*
        https://bugs.webkit.org/show_bug.cgi?id=45043

        Add String(const AECHAR*) constructor for convenience.

        * wtf/text/WTFString.h:

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

9 years ago2010-10-21 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Fri, 22 Oct 2010 03:39:52 +0000 (03:39 +0000)]
2010-10-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by James Robinson.

        Make sure skia is not Chromium specific
        https://bugs.webkit.org/show_bug.cgi?id=39672

        GlyphPageTreeNodeLinux does not depend on Linux or Chromium.
        Move GlyphPageTreeNodeLinux to platform/graphics/skia and rename it to
        GlyphPageTreeNodeSkia.cpp so that other ports can use it.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * platform/graphics/chromium/GlyphPageTreeNodeLinux.cpp: Removed.
        * platform/graphics/skia/GlyphPageTreeNodeSkia.cpp: Added.

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

9 years ago2010-10-21 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 22 Oct 2010 02:58:02 +0000 (02:58 +0000)]
2010-10-21  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed; rebaseline for r70240.

        * platform/mac-leopard/inspector/extensions-resources-expected.txt: Replaced XHR by xhr.

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

9 years ago2010-10-21 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 22 Oct 2010 02:45:57 +0000 (02:45 +0000)]
2010-10-21  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Kent Tamura.

        REGRESSION(r70283): editing/execCommand/remove-format-elements.html fails on qt, gtk, and chromium
        https://bugs.webkit.org/show_bug.cgi?id=48108

        Modified the test to ignore the contents of keygen element.

        * editing/execCommand/remove-format-elements-expected.txt:
        * editing/execCommand/remove-format-elements.html:

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

9 years ago2010-10-21 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Fri, 22 Oct 2010 01:50:18 +0000 (01:50 +0000)]
2010-10-21  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-21 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 22 Oct 2010 01:30:04 +0000 (01:30 +0000)]
2010-10-21  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        removeFormat needs to be reimplemented
        https://bugs.webkit.org/show_bug.cgi?id=43017

        Reimplemented execCommand('RemoveFormat', false, null). New implementation removes
        the same elements removed by Internet Explorer. Because WebKit supports StyleWithCSS
        we also reset any editing styles to match that of the root editable element
        while Internet Explorer does not remove any CSS styles.

        New implementation uses ApplyStyleCommand to remove appropriate elements and reset the style.
        Added new constructor and member variable to ApplyStyleCommand to support mass-removal of elements
        since it's inefficient to call ApplyStyleCommand on each element we're removing.

        To avoid an infinite loop in pushDownInlineStyleAroundNode when mass-removing, WebKit no longer
        push down element one level at a time. Instead, we keep a stack of styled elements to be applied,
        and apply wrap siblings of targetNode's ancestors by all of them at once.

        Tests: editing/execCommand/remove-format-elements.html
               editing/execCommand/remove-format-multiple-elements.html

        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::ApplyStyleCommand): Added; this version takes style and a function pointer
        to a boolean function that determines which element needs to removed, and set m_removeOnly to true.
        (WebCore::ApplyStyleCommand::doApply): Added support for m_isInlineElementToRemoveFunction.
        (WebCore::ApplyStyleCommand::applyBlockStyle): Ditto.
        (WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange): Exits early if m_removeOnly is true.
        (WebCore::ApplyStyleCommand::isStyledInlineElementToRemove): Added.
        (WebCore::ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle): Calls isStyledInlineElementToRemove.
        (WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Ditto.
        (WebCore::ApplyStyleCommand::removeInlineStyle): Ditto.
        (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): See above.
        * editing/ApplyStyleCommand.h:
        (WebCore::ApplyStyleCommand::create): Added.
        * editing/RemoveFormatCommand.cpp:
        (WebCore::isElementForRemoveFormatCommand): Added.
        (WebCore::RemoveFormatCommand::doApply): Rewritten.
2010-10-21  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        removeFormat needs to be reimplemented
        https://bugs.webkit.org/show_bug.cgi?id=43017

        * editing/execCommand/19403-expected.txt: hr element is no longer removed erroneously.
        * editing/execCommand/19403.html: Updated the test description.
        * editing/execCommand/4786404-1-expected.txt: Change in text nodes but identical rendering.
        * editing/execCommand/4786404-2-expected.txt: Ditto.
        * editing/execCommand/4920488-expected.txt: Preserves anchor element on RemoveFormat.
        * editing/execCommand/4920488.html: Updated the test description.
        * editing/execCommand/4920742-1-expected.txt: Preserves div elements.
        * editing/execCommand/5049671.html: Updated the test to dump twice before and after RemoveFormat.
        This was a test to ensure WebKit removes anchor elements but we no longer removes anchor elements.
        * editing/execCommand/5049671-expected.txt:
        * editing/execCommand/5573879.html: Updated the test description because WebKit no longer removes
        lists on RemoveFormat.
        * editing/execCommand/5573879-expected.txt:
        * editing/execCommand/5770834-1-expected.txt: Removed redundant text-align property value.
        * editing/execCommand/remove-format-elements-expected.txt: Added.
        * editing/execCommand/remove-format-elements.html: Added.
        * editing/execCommand/remove-format-multiple-elements-expected.txt: Added.
        * editing/execCommand/remove-format-multiple-elements.html: Added.
        * editing/execCommand/remove-formatting-2-expected.txt: Change in text nodes but identical rendering.
        * editing/execCommand/remove-formatting-expected.txt: WebKit no longer removes anchor, table,
        tbody, tr, and td elements.
        * editing/execCommand/script-tests/remove-format-multiple-elements.js: Added.
        (testRemoveFormat):
        (selectAll):
        (selectSecondWord):
        (selectFirstTwoWords):
        (selectLastTwoWords):
        (selectLastWord):
        * editing/execCommand/script-tests/toggle-link.js: Anchor wraps div instead of div wrapping anchor.
        * editing/execCommand/script-tests/toggle-unlink.js: Ditto.
        * editing/execCommand/toggle-link-expected.txt: Ditto.
        * editing/execCommand/toggle-unlink-expected.txt: Ditto.
        * editing/execCommand/unlink-expected.txt: i wraps div instead of i wrapping anchor.
        * editing/inserting/space-after-removeformat-expected.txt: Editing delegate change.

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

9 years ago2010-10-21 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Fri, 22 Oct 2010 01:27:27 +0000 (01:27 +0000)]
2010-10-21  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Ignore document.write() when it comes from a network task
        https://bugs.webkit.org/show_bug.cgi?id=47560

        write()s from deferred scripts are now ignored. This matches the latest
        Firefox 4 beta behavior. The defer-write expectations are updated, and
        the other tests are now all moot since deferred scrits can't write().

        * fast/dom/HTMLScriptElement/defer-double-defer-write-expected.txt: Removed.
        * fast/dom/HTMLScriptElement/defer-double-defer-write.html: Removed.
        * fast/dom/HTMLScriptElement/defer-double-write-expected.txt: Removed.
        * fast/dom/HTMLScriptElement/defer-double-write.html: Removed.
        * fast/dom/HTMLScriptElement/defer-write.html: Updated to match FF4.
        * fast/dom/HTMLScriptElement/remove-source-expected.txt: Added.
        * fast/dom/HTMLScriptElement/remove-source.html: Added. Verifies that writes are still ignored when the src is removed after the script is requested but before it is executed.
        * fast/dom/HTMLScriptElement/two-defer-writes-expected.txt: Removed.
        * fast/dom/HTMLScriptElement/two-defer-writes.html: Removed.
        * fast/dom/HTMLScriptElement/write-after-ignored-write-expected.txt: Added. Verifies that after a write from a network task is ignored, a write which is not from a network task still blows away the document.
        * fast/dom/HTMLScriptElement/write-after-ignored-write.html: Added.
2010-10-21  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Ignore document.write() when it comes from a network task
        https://bugs.webkit.org/show_bug.cgi?id=47560

        This implements the update to the spec made by:
        http://www.w3.org/Bugs/Public/show_bug.cgi?id=9767

        It also matches the latest Firefox 4 beta. The notable change is that
        document.write from a deferred script no longer works. This avoids
        blowing the patch away.

        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::write):
        * dom/Document.h:
        (WebCore::DestructiveWriteCountIncrementer::DestructiveWriteCountIncrementer):
        (WebCore::Document::ignoreDestructiveWriteCountIncrementer):
        * dom/ScriptElement.cpp:
        (WebCore::ScriptElement::insertedIntoDocument):
        (WebCore::ScriptElementData::ScriptElementData):
        (WebCore::ScriptElementData::evaluateScript):
        * dom/ScriptElement.h:
        * html/parser/HTMLScriptRunner.cpp:
        (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent):

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

9 years agoUnreviewed Leopard build fix attempt.
rniwa@webkit.org [Fri, 22 Oct 2010 01:03:52 +0000 (01:03 +0000)]
Unreviewed Leopard build fix attempt.

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

9 years ago2010-10-21 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 22 Oct 2010 01:03:18 +0000 (01:03 +0000)]
2010-10-21  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed. Re-enable test that was mistakenly disabled by r67974.

        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:

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

9 years ago2010-10-21 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 22 Oct 2010 00:52:10 +0000 (00:52 +0000)]
2010-10-21  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed fix for rebaseline-chromium-webkit-tests.

        Port.diff_image no longer has a tolerance parameter. Also, use
        get_option('tolerance') which is safer if the options object doesn't
        define a tolerance attribute (it doesn't for the one used in
        rebaseline_chromium_webkit_tests).

        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:

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

9 years ago2010-10-21 James Robinson <jamesr@chromium.org>
jamesr@google.com [Fri, 22 Oct 2010 00:22:59 +0000 (00:22 +0000)]
2010-10-21  James Robinson  <jamesr@chromium.org>

        Update chromium baselines, primarly for underline pixel changes.

        * platform/chromium-linux/css2.1/t09-c5526c-display-00-e-expected.checksum:
        * platform/chromium-linux/css2.1/t09-c5526c-display-00-e-expected.png:
        * platform/chromium-linux/css2.1/t1504-c543-txt-decor-00-d-g-expected.checksum:
        * platform/chromium-linux/css2.1/t1504-c543-txt-decor-00-d-g-expected.png:
        * platform/chromium-linux/fast/backgrounds/background-clip-text-expected.checksum:
        * platform/chromium-linux/fast/backgrounds/background-clip-text-expected.png:
        * platform/chromium-linux/fast/backgrounds/background-inherit-color-bug-expected.checksum:
        * platform/chromium-linux/fast/backgrounds/background-inherit-color-bug-expected.png:
        * platform/chromium-linux/fast/css-generated-content/010-expected.checksum:
        * platform/chromium-linux/fast/css-generated-content/010-expected.png:
        * platform/chromium-linux/fast/css/compare-content-style-expected.checksum:
        * platform/chromium-linux/fast/css/compare-content-style-expected.png:
        * platform/chromium-linux/fast/css/css1_forward_compatible_parsing-expected.checksum:
        * platform/chromium-linux/fast/css/css1_forward_compatible_parsing-expected.png:
        * platform/chromium-linux/fast/css/line-height-font-order-expected.checksum:
        * platform/chromium-linux/fast/css/line-height-font-order-expected.png:
        * platform/chromium-linux/fast/css/text-overflow-ellipsis-strict-expected.checksum:
        * platform/chromium-linux/fast/css/text-overflow-ellipsis-strict-expected.png:
        * platform/chromium-linux/fast/forms/button-cannot-be-nested-expected.checksum:
        * platform/chromium-linux/fast/forms/button-cannot-be-nested-expected.png:
        * platform/chromium-linux/fast/layers/normal-flow-hit-test-expected.checksum:
        * platform/chromium-linux/fast/layers/normal-flow-hit-test-expected.png:
        * platform/chromium-linux/fast/lists/003-expected.checksum:
        * platform/chromium-linux/fast/lists/003-expected.png:
        * platform/chromium-linux/fast/multicol/float-multicol-expected.checksum:
        * platform/chromium-linux/fast/multicol/float-multicol-expected.png:
        * platform/chromium-linux/fast/parser/remove-block-in-residual-style-expected.checksum:
        * platform/chromium-linux/fast/parser/remove-block-in-residual-style-expected.png:
        * platform/chromium-linux/fast/reflections/reflection-overflow-hidden-expected.checksum:
        * platform/chromium-linux/fast/reflections/reflection-overflow-hidden-expected.png:
        * platform/chromium-linux/fast/repaint/overflow-scroll-body-appear-expected.checksum:
        * platform/chromium-linux/fast/repaint/overflow-scroll-body-appear-expected.png:
        * platform/chromium-linux/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum:
        * platform/chromium-linux/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
        * platform/chromium-linux/fast/repaint/shadow-multiple-strict-vertical-expected.checksum:
        * platform/chromium-linux/fast/repaint/shadow-multiple-strict-vertical-expected.png:
        * platform/chromium-linux/fast/selectors/016-expected.checksum:
        * platform/chromium-linux/fast/selectors/016-expected.png:
        * platform/chromium-linux/fast/selectors/017-expected.checksum:
        * platform/chromium-linux/fast/selectors/017-expected.png:
        * platform/chromium-linux/fast/selectors/020-expected.checksum:
        * platform/chromium-linux/fast/selectors/020-expected.png:
        * platform/chromium-linux/fast/selectors/061-expected.checksum:
        * platform/chromium-linux/fast/selectors/061-expected.png:
        * platform/chromium-linux/fast/selectors/062-expected.checksum:
        * platform/chromium-linux/fast/selectors/062-expected.png:
        * platform/chromium-linux/fast/selectors/065-expected.checksum:
        * platform/chromium-linux/fast/selectors/065-expected.png:
        * platform/chromium-linux/fast/selectors/166-expected.checksum:
        * platform/chromium-linux/fast/selectors/166-expected.png:
        * platform/chromium-linux/fast/text/international/bidi-LDB-2-CSS-expected.checksum:
        * platform/chromium-linux/fast/text/international/bidi-LDB-2-CSS-expected.png:
        * platform/chromium-linux/fast/text/international/bidi-LDB-2-HTML-expected.checksum:
        * platform/chromium-linux/fast/text/international/bidi-LDB-2-HTML-expected.png:
        * platform/chromium-linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
        * platform/chromium-linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
        * platform/chromium-linux/fast/text/international/khmer-selection-expected.checksum:
        * platform/chromium-linux/fast/text/international/khmer-selection-expected.png:
        * platform/chromium-linux/fast/transforms/transform-positioned-ancestor-expected.checksum:
        * platform/chromium-linux/fast/transforms/transform-positioned-ancestor-expected.png:
        * platform/chromium-linux/fast/transforms/transformed-caret-expected.checksum:
        * platform/chromium-linux/fast/transforms/transformed-caret-expected.png:
        * platform/chromium-linux/svg/custom/rootmost-svg-xy-attrs-expected.checksum:
        * platform/chromium-linux/svg/custom/rootmost-svg-xy-attrs-expected.png:
        * platform/chromium-linux/tables/mozilla/collapsing_borders/bug41262-3-expected.checksum:
        * platform/chromium-linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
        * platform/chromium-mac/css2.1/t1504-c543-txt-decor-00-d-g-expected.checksum: Added.
        * platform/chromium-mac/css2.1/t1504-c543-txt-decor-00-d-g-expected.png: Added.
        * platform/chromium-mac/fast/backgrounds/background-inherit-color-bug-expected.checksum: Added.
        * platform/chromium-mac/fast/backgrounds/background-inherit-color-bug-expected.png: Added.
        * platform/chromium-mac/fast/css-generated-content/010-expected.checksum: Added.
        * platform/chromium-mac/fast/css-generated-content/010-expected.png: Added.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.checksum: Added.
        * platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.png: Added.
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png: Added.
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png: Added.
        * platform/chromium-mac/fast/selectors: Added.
        * platform/chromium-mac/fast/selectors/166-expected.checksum: Added.
        * platform/chromium-mac/fast/selectors/166-expected.png: Added.
        * platform/chromium-mac/tables/mozilla/collapsing_borders: Added.
        * platform/chromium-mac/tables/mozilla/collapsing_borders/bug41262-3-expected.checksum: Added.
        * platform/chromium-mac/tables/mozilla/collapsing_borders/bug41262-3-expected.png: Added.
        * platform/chromium-win/css2.1/t1504-c543-txt-decor-00-d-g-expected.checksum:
        * platform/chromium-win/css2.1/t1504-c543-txt-decor-00-d-g-expected.png:
        * platform/chromium-win/fast/css-generated-content/010-expected.checksum:
        * platform/chromium-win/fast/css-generated-content/010-expected.png:
        * platform/chromium-win/fast/css/text-overflow-ellipsis-strict-expected.checksum:
        * platform/chromium-win/fast/css/text-overflow-ellipsis-strict-expected.png:
        * platform/chromium-win/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum:
        * platform/chromium-win/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
        * platform/chromium-win/fast/repaint/shadow-multiple-strict-vertical-expected.checksum:
        * platform/chromium-win/fast/repaint/shadow-multiple-strict-vertical-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-21 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 22 Oct 2010 00:04:39 +0000 (00:04 +0000)]
2010-10-21  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Ojan Vafai.

        Add support for --tolerance in NRWT
        https://bugs.webkit.org/show_bug.cgi?id=47959

        Add support for the --tolerance flag in NRWT. The Port.diff_image
        signature shouldn't need a tolerance parameter (it's not set per test),
        just have ports that use it (currently only WebKitPort) read it from
        the options object.

        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/port_testcase.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:
        * 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@70277 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-10-21 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 22 Oct 2010 00:00:25 +0000 (00:00 +0000)]
2010-10-21  Ojan Vafai  <ojan@chromium.org>

        Update some expectations to match the bots. A couple of these are to
        green the new webkit linux debug build slaves. For some reason these
        tests crashed on the old slaves, but now match other platforms on
        the new slaves.

        * platform/chromium/test_expectations.txt:

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

9 years ago<rdar://problem/8423766> Cursor does not become "busy" when a page is
jhoneycutt@apple.com [Thu, 21 Oct 2010 23:50:59 +0000 (23:50 +0000)]
<rdar://problem/8423766> Cursor does not become "busy" when a page is
loading with WebKit2

Reviewed by Sam Weinig.

* UIProcess/API/C/win/WKViewPrivate.cpp: Added.
(WKViewSetOverrideCursor):
Call the WebView's setOverrideCursor().

* UIProcess/API/C/win/WKViewPrivate.h: Added.
Declare WKViewSetOVerrideCursor().

* UIProcess/win/WebView.cpp:
(WebKit::WebView::WebView):
Initialize new member vars to 0.
(WebKit::WebView::updateNativeCursor):
If there is an override cursor, and the last cursor set from the web
process was the arrow cursor, use the override cursor. Otherwise, use
the cursor from the web process.
(WebKit::WebView::setCursor):
Record the web process's cursor, and call updateNativeCursor().
(WebKit::WebView::setOverrideCursor):
Record the override cursor, and call updateNativeCursor().

* UIProcess/win/WebView.h:
Declare setOverrideCursor() and updateNativeCursor(). Add members to
hold the last cursor set from the web process and the override cursor.

* win/WebKit2.vcproj:
Add new files to project.

* win/WebKit2Generated.make:
Copy WKViewPrivate.h with other headers.

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

9 years ago2010-10-21 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 21 Oct 2010 23:00:45 +0000 (23:00 +0000)]
2010-10-21  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Add --suggest-reviewers option to upload to auto-suggest reviewers for your patch
        https://bugs.webkit.org/show_bug.cgi?id=48088

        This is a first-pass.  Works, but we'll eventually
        turn this on by default, refine the suggestion algorithm
        and possibly move it to a different place in the upload step order.

        * Scripts/webkitpy/common/checkout/api.py:
        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/commands/upload.py:
        * Scripts/webkitpy/tool/commands/upload_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/__init__.py:
        * Scripts/webkitpy/tool/steps/options.py:

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

9 years ago2010-10-21 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 21 Oct 2010 22:58:39 +0000 (22:58 +0000)]
2010-10-21  Tony Chang  <tony@chromium.org>

        Reviewed by Dimitri Glazkov.

        [chromium] roll chromium DEPS to include forwarding headers refactor
        https://bugs.webkit.org/show_bug.cgi?id=48097

        * DEPS: Roll chromium forward to include new forwarding headers script
        * WebKit.gyp: This dependency always existed, it's just exposed now
            that the header files are in a different include dir.

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

9 years ago2010-10-21 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 21 Oct 2010 22:37:31 +0000 (22:37 +0000)]
2010-10-21  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by James Robinson.

        [Chromium] Fix Chromium Mac build
        https://bugs.webkit.org/show_bug.cgi?id=48096

        Fix Chromium Mac build after r70225 (Chromium uses Core Text but is not
        PLATFORM(MAC)).

        * platform/graphics/SimpleFontData.h:

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

9 years ago2010-10-21 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Thu, 21 Oct 2010 22:17:30 +0000 (22:17 +0000)]
2010-10-21  Julie Parent  <jparent@chromium.org>

        Reviewed by Tony Chang.

        [Chromium] Remove chromium baseline for http/tests/plugins/geturlnotify-from-npp-destroystream.html
        https://bugs.webkit.org/show_bug.cgi?id=48025

        * platform/chromium-win/http/tests/plugins/geturlnotify-from-npp-destroystream-expected.txt: Removed.
        * platform/chromium/test_expectations.txt: updated to account for expected results after this change

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

9 years ago2010-10-21 Mario Sanchez Prada <msanchez@igalia.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 22:14:07 +0000 (22:14 +0000)]
2010-10-21  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Chris Fleizach.

        [GTK] Segfault while testing accessibility/iframe-bastardization.html
        https://bugs.webkit.org/show_bug.cgi?id=30123

        Check m_element before actually using it to get the parent.

        * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
        (AccessibilityUIElement::parentElement): Add an extra check to
        make sure m_element points to a valid value before actually using
        it to get the parent. Also, assert ATK_IS_OBJECT(m_element).

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

9 years agoAdd two plug-in tests to the WebKit2 Skipped list.
andersca@apple.com [Thu, 21 Oct 2010 22:04:43 +0000 (22:04 +0000)]
Add two plug-in tests to the WebKit2 Skipped list.

Reviewed by Adam Roben.

* platform/mac-wk2/Skipped:

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

9 years agoCheck in ugly result for now.
hyatt@apple.com [Thu, 21 Oct 2010 21:46:30 +0000 (21:46 +0000)]
Check in ugly result for now.

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

9 years agoCrash evaluating JavaScript string that throws an exception
andersca@apple.com [Thu, 21 Oct 2010 21:46:10 +0000 (21:46 +0000)]
Crash evaluating JavaScript string that throws an exception
https://bugs.webkit.org/show_bug.cgi?id=48092
<rdar://problem/8487657>

Reviewed by Adam Roben.

WebKit2:

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::sendMessage):
m_connection can be null here; just return false if that is the case.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::runJavaScriptInMainFrame):
If the JSValue returned is null we just send along a null string.

WebKitTools:

Add a test that evaluates a JavaScript string that throws an exception and check that
the callback is called.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp: Added.
(TestWebKitAPI::didRunJavaScript):
(TestWebKitAPI::WebKit2_EvaluateJavaScript):
* TestWebKitAPI/win/TestWebKitAPI.vcproj:

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

9 years ago2010-10-21 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Thu, 21 Oct 2010 21:43:16 +0000 (21:43 +0000)]
2010-10-21  Xiaomei Ji  <xji@chromium.org>

        Reviewed by David Levin.

        Performance improvement for FontLinux.
        https://bugs.webkit.org/show_bug.cgi?id=47019

        Reduce the number of calls for the normalization function because converting
        to NFC form is very expensive.

        Combine space normalization and character mirroring into one text scan.

        Test: platform/chromium/fast/text/font-linux-normalize.html

        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::TextRunWalker::TextRunWalker):
        (WebCore::TextRunWalker::~TextRunWalker):
        (WebCore::TextRunWalker::getNormalizedTextRun):
        (WebCore::TextRunWalker::normalizeSpacesAndMirrorChars):
2010-10-21  Xiaomei Ji  <xji@chromium.org>

        Reviewed by David Levin.

        Performance improvement for FontLinux.
        https://bugs.webkit.org/show_bug.cgi?id=47019

        Reduce the number of calls for the normalization function because converting
        to NFC form is very expensive.

        Combine space normalization and character mirroring into one text scan.

        * platform/chromium/fast/text/font-linux-normalize-expected.txt: Added.
        * platform/chromium/fast/text/font-linux-normalize.html: Added.

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

9 years agoInvalidate the plugin's HWND when NPN_InvalidateRect is called
aroben@apple.com [Thu, 21 Oct 2010 21:40:47 +0000 (21:40 +0000)]
Invalidate the plugin's HWND when NPN_InvalidateRect is called

Fixes <http://webkit.org/b/48086> <rdar://problem/8482944> Silverlight
doesn't repaint in WebKit2

Reviewed by Anders Carlsson.

WebKit2:

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::invalidate): Call platformInvalidate before
invalidating via the PluginController.

* WebProcess/Plugins/Netscape/NetscapePlugin.h: Added platformInvalidate.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformInvalidate):
* WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp:
(WebKit::NetscapePlugin::platformInvalidate):
Stubbed out.

* WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
(WebKit::NetscapePlugin::platformInvalidate): If the plugin is
windowed, invalidate its HWND via ::InvalidateRect.

WebKitTools:

Test that the plugin's HWND is invalidated when NPN_InvalidateRect is
called

* DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
(PluginTest::NPN_InvalidateRect): Added. Calls through to the browser.
(executeScript): Added. Asks the browser to evaluate the script.

(PluginTest::waitUntilDone):
(PluginTest::notifyDone):
Added. Calls through to layoutTestController.

* DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added
* NPN_InvalidateRect and waitUntilDone/notifyDone.

* DumpRenderTree/TestNetscapePlugIn/Tests/win/NPNInvalidateRectInvalidatesWindow.cpp: Added.
(TemporaryWindowMover::moveSucceeded):
(TemporaryWindowMover::TemporaryWindowMover):
(TemporaryWindowMover::~TemporaryWindowMover):
This class moves a window on-screen and shows it, then moves it back and hides it.

(NPNInvalidateRectInvalidatesWindow::NPNInvalidateRectInvalidatesWindow):
Initialize our members.
(NPNInvalidateRectInvalidatesWindow::~NPNInvalidateRectInvalidatesWindow):
Delete our window mover if it hasn't been deleted already.
(NPNInvalidateRectInvalidatesWindow::NPP_SetWindow): Subclass the
plugin HWND and move the test harness window on screen.
(NPNInvalidateRectInvalidatesWindow::wndProc): Call through to onPaint
when we get a WM_PAINT message.
(NPNInvalidateRectInvalidatesWindow::onPaint): Do the test and tell
LayoutTestController we're done.
(NPNInvalidateRectInvalidatesWindow::testInvalidateRect): Validate
ourselves, invalidate our lower-right quadrant via NPN_InvalidateRect,
then check that our HWND's invalid region is the rect that we
invalidated.

* DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
* Added NPNInvalidateRectInvalidatesWindow.

LayoutTests:

Test that the plugin's HWND is invalidated when NPN_InvalidateRect is
called

* platform/win/plugins/npn-invalidate-rect-invalidates-window-expected.txt: Added.
* platform/win/plugins/npn-invalidate-rect-invalidates-window.html: Added.

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

9 years ago2010-10-21 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Thu, 21 Oct 2010 21:21:00 +0000 (21:21 +0000)]
2010-10-21  Daniel Bates  <dbates@rim.com>

        Add Git-support to do-file-rename
        https://bugs.webkit.org/show_bug.cgi?id=48015

        Fix tools. Export function scmMoveOrRenameFile so that it can be called from
        do-file-rename and do-webcore-rename. I inadvertently left this out of the patch.

        * Scripts/VCSUtils.pm:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=48085
hyatt@apple.com [Thu, 21 Oct 2010 21:16:55 +0000 (21:16 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=48085

Reviewed by Darin Adler.

Make basic vertical text painting work.  This includes the text itself, underlines, overlines, line-throughs and shadows.

Added fast/blockflow/english-lr-text.html

WebCore:

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paint):
* rendering/InlineFlowBox.h:
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::applyShadowToGraphicsContext):
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintTextMatchMarker):
* rendering/InlineTextBox.h:
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paintTextWithShadows):

LayoutTests:

* fast/blockflow/english-lr-text.html: Added.
* platform/mac/fast/blockflow/english-lr-text-expected.checksum: Added.
* platform/mac/fast/blockflow/english-lr-text-expected.png: Added.
* platform/mac/fast/blockflow/english-lr-text-expected.txt: Added.

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

9 years ago2010-10-21 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Thu, 21 Oct 2010 20:31:17 +0000 (20:31 +0000)]
2010-10-21  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] When doing rendering through tiling, it seems the tiles are not initialized before rendering
        https://bugs.webkit.org/show_bug.cgi?id=48070

        No new tests. Auto-tests for Tiled Backing Store should be added, see bug 48082

        * page/Frame.cpp:
        (WebCore::Frame::tiledBackingStoreBackgroundColor):
        * page/Frame.h:
        * platform/graphics/TiledBackingStoreClient.h:
        * platform/graphics/qt/TileQt.cpp:
        (WebCore::Tile::updateBackBuffer):

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

9 years agoFind indicator does not draw found text in WebKit2 when page is not scrolled to top
andersca@apple.com [Thu, 21 Oct 2010 20:24:22 +0000 (20:24 +0000)]
Find indicator does not draw found text in WebKit2 when page is not scrolled to top
<rdar://problem/8562647>
https://bugs.webkit.org/show_bug.cgi?id=48089

Reviewed by John Sullivan.

We always want the selection rectangle in "WebCore window coordinates" which is the same
as WKView coordinates in WebKit2.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::updateFindIndicator):

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

9 years ago2010-10-21 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 21 Oct 2010 20:08:48 +0000 (20:08 +0000)]
2010-10-21  James Robinson  <jamesr@chromium.org>

        Reviewed by Darin Adler.

        Spurious reference to undefined variable 'test' in fast/text/international/vertical-text-glyph-test.html
        https://bugs.webkit.org/show_bug.cgi?id=48084

        * fast/text/international/vertical-text-glyph-test.html:
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt:
        * platform/mac-leopard/fast/text/international/vertical-text-glyph-test-expected.txt:

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

9 years ago2010-10-21 Robert Hogan <robert@webkit.org>
robert@webkit.org [Thu, 21 Oct 2010 19:53:09 +0000 (19:53 +0000)]
2010-10-21  Robert Hogan  <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] Sending a QInputMethodEvent::Selection event forces the
             Editor to go into Composition mode

        Improve QWebPage handling of input method events:
         - Selections don't trigger entering composition mode.
         - Handle multiple selections

        Also remove redundant cancellation of composition in tst_qwebpage.
        There is no composition in progress at that point.

        Finally, move infiniteLoopJS() to the end of the tst_qwebpage unit
        tests - so you don't have to wait for it to complete when running
        other tests.

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

        * Api/qwebpage.cpp:
        (QWebPagePrivate::inputMethodEvent):
        (QWebPage::inputMethodQuery):
        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::inputMethods):

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

9 years agoAlways clear the selection when the find string isn't found
andersca@apple.com [Thu, 21 Oct 2010 19:51:54 +0000 (19:51 +0000)]
Always clear the selection when the find string isn't found
https://bugs.webkit.org/show_bug.cgi?id=48087
<rdar://problem/8564640>

Reviewed by David Hyatt.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):

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

9 years ago2010-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 19:33:10 +0000 (19:33 +0000)]
2010-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Use GCharsetConverter instead of g_iconv in TextCodecGtk
        https://bugs.webkit.org/show_bug.cgi?id=47896

        * wtf/gobject/GTypedefs.h:
2010-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Use GCharsetConverter instead of g_iconv in TextCodecGtk
        https://bugs.webkit.org/show_bug.cgi?id=47896

        It makes error handling easier. Fixes tests:
         fast/encoding/invalid-multi-byte-over-consumption.html
         fast/encoding/invalid-xml.html
         fast/encoding/japanese-encoding-mix.html
        when building with glib unicode

        * platform/text/gtk/TextCodecGtk.cpp:
        (WebCore::TextCodecGtk::TextCodecGtk):
        (WebCore::TextCodecGtk::~TextCodecGtk):
        (WebCore::TextCodecGtk::createIConvDecoder):
        (WebCore::TextCodecGtk::createIConvEncoder):
        (WebCore::TextCodecGtk::decode):
        (WebCore::TextCodecGtk::encode):
        * platform/text/gtk/TextCodecGtk.h:

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

9 years agoAX: contenteditable nodes do not return correct AXSelectedText* attributes
cfleizach@apple.com [Thu, 21 Oct 2010 19:22:43 +0000 (19:22 +0000)]
AX: contenteditable nodes do not return correct AXSelectedText* attributes
https://bugs.webkit.org/show_bug.cgi?id=48080

Reviewed by Beth Dakin.

WebCore:

The ariaSelectedDOMTextRange() method was not returning the correct values.
The fix is to return a plain text range that represents the current selection.

Test: platform/mac/accessibility/content-editable-range-properties.html

* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::accessibilityDescription):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::ariaSelectedTextRange):
(WebCore::AccessibilityRenderObject::selectedText):
(WebCore::AccessibilityRenderObject::selectedTextRange):
* accessibility/AccessibilityRenderObject.h:

LayoutTests:

* platform/mac/accessibility/content-editable-range-properties-expected.txt: Added.
* platform/mac/accessibility/content-editable-range-properties.html: Added.

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

9 years ago Reviewed by John Sullivan.
ap@apple.com [Thu, 21 Oct 2010 19:21:09 +0000 (19:21 +0000)]
    Reviewed by John Sullivan.

        https://bugs.webkit.org/show_bug.cgi?id=48083
        <rdar://problem/8489082> Need WebKit2 API for private browsing

        This just adds glue code for passing the preference from embedder to WebCore. The aspects of
        private browsing that WebCore is responsible for do work, but cookies are not handled yet.

        * Shared/WebPreferencesStore.cpp:
        (WebKit::WebPreferencesStore::WebPreferencesStore):
        (WebKit::WebPreferencesStore::encode):
        (WebKit::WebPreferencesStore::decode):
        * Shared/WebPreferencesStore.h:
        * UIProcess/API/C/WKPreferences.cpp:
        (WKPreferencesSetPrivateBrowsingEnabled):
        (WKPreferencesGetPrivateBrowsingEnabled):
        * UIProcess/API/C/WKPreferences.h:
        * UIProcess/WebPreferences.cpp:
        (WebKit::WebPreferences::setPrivateBrowsingEnabled):
        (WebKit::WebPreferences::privateBrowsingEnabled):
        * UIProcess/WebPreferences.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::updatePreferences):
        Do what it takes to pass a single boolean from WebKit2 to WebCore. And we aren't even syncing
        the preference to user defaults yet.

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

9 years ago2010-10-21 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 21 Oct 2010 19:19:38 +0000 (19:19 +0000)]
2010-10-21  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        mac-ews is not properly releasing patches
        https://bugs.webkit.org/show_bug.cgi?id=48076

        mac-ews overrides process_work_item, so it was not calling
        release_work_item like the default process_work_item would.
        To fix this I made all the status-reporting methods just
        release the patch.  I expect we'll iterate on this design further.

        * Scripts/webkitpy/common/net/statusserver.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

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

9 years ago2010-10-18 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 21 Oct 2010 19:11:27 +0000 (19:11 +0000)]
2010-10-18  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] mathml flaky tests after adding SystemFonts to the theme
        https://bugs.webkit.org/show_bug.cgi?id=47727

        Rebaseline, add pixel results for, and unskip all MathML tests.

        * platform/gtk/Skipped: Unskip MathML tests.
        * platform/gtk/mathml/presentation/attributes-expected.checksum:
        * platform/gtk/mathml/presentation/attributes-expected.png:
        * platform/gtk/mathml/presentation/attributes-expected.txt:
        * platform/gtk/mathml/presentation/fenced-expected.checksum: Added.
        * platform/gtk/mathml/presentation/fenced-expected.png: Added.
        * platform/gtk/mathml/presentation/fenced-expected.txt:
        * platform/gtk/mathml/presentation/fenced-mi-expected.checksum:
        * platform/gtk/mathml/presentation/fenced-mi-expected.png:
        * platform/gtk/mathml/presentation/fenced-mi-expected.txt:
        * platform/gtk/mathml/presentation/fractions-expected.checksum:
        * platform/gtk/mathml/presentation/fractions-expected.png:
        * platform/gtk/mathml/presentation/fractions-expected.txt:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.checksum:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.png:
        * platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt:
        * platform/gtk/mathml/presentation/mo-expected.checksum:
        * platform/gtk/mathml/presentation/mo-expected.png:
        * platform/gtk/mathml/presentation/mo-expected.txt:
        * platform/gtk/mathml/presentation/over-expected.checksum:
        * platform/gtk/mathml/presentation/over-expected.png:
        * platform/gtk/mathml/presentation/over-expected.txt:
        * platform/gtk/mathml/presentation/roots-expected.checksum: Added.
        * platform/gtk/mathml/presentation/roots-expected.png: Added.
        * platform/gtk/mathml/presentation/roots-expected.txt:
        * platform/gtk/mathml/presentation/row-alignment-expected.checksum:
        * platform/gtk/mathml/presentation/row-alignment-expected.png:
        * platform/gtk/mathml/presentation/row-alignment-expected.txt:
        * platform/gtk/mathml/presentation/row-expected.checksum:
        * platform/gtk/mathml/presentation/row-expected.png:
        * platform/gtk/mathml/presentation/row-expected.txt:
        * platform/gtk/mathml/presentation/style-expected.checksum:
        * platform/gtk/mathml/presentation/style-expected.png:
        * platform/gtk/mathml/presentation/style-expected.txt:
        * platform/gtk/mathml/presentation/sub-expected.checksum: Added.
        * platform/gtk/mathml/presentation/sub-expected.png: Added.
        * platform/gtk/mathml/presentation/sub-expected.txt:
        * platform/gtk/mathml/presentation/subsup-expected.checksum: Added.
        * platform/gtk/mathml/presentation/subsup-expected.png: Added.
        * platform/gtk/mathml/presentation/subsup-expected.txt:
        * platform/gtk/mathml/presentation/sup-expected.checksum: Added.
        * platform/gtk/mathml/presentation/sup-expected.png: Added.
        * platform/gtk/mathml/presentation/sup-expected.txt:
        * platform/gtk/mathml/presentation/tables-expected.checksum: Added.
        * platform/gtk/mathml/presentation/tables-expected.png: Added.
        * platform/gtk/mathml/presentation/tables-expected.txt:
        * platform/gtk/mathml/presentation/tokenElements-expected.checksum:
        * platform/gtk/mathml/presentation/tokenElements-expected.png:
        * platform/gtk/mathml/presentation/tokenElements-expected.txt:
        * platform/gtk/mathml/presentation/under-expected.checksum:
        * platform/gtk/mathml/presentation/under-expected.png:
        * platform/gtk/mathml/presentation/under-expected.txt:
        * platform/gtk/mathml/presentation/underover-expected.checksum:
        * platform/gtk/mathml/presentation/underover-expected.png:
        * platform/gtk/mathml/presentation/underover-expected.txt:
2010-10-18  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] mathml flaky tests after adding SystemFonts to the theme
        https://bugs.webkit.org/show_bug.cgi?id=47727

        The Fontconfig setup in the GTK+ now specifically checks for and
        loads the STIX fonts for MathML tests.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (initializeFonts): Add hooks for loading the STIX fonts specifically.

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

9 years ago2010-10-20 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Thu, 21 Oct 2010 18:19:04 +0000 (18:19 +0000)]
2010-10-20  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        Video -> Canvas doesn't work on Windows
        https://bugs.webkit.org/show_bug.cgi?id=47996
        rdar://problem/7884690

        * WebCore.vcproj/QTMovieWin.vcproj: Added QTDecompressionSession.{cpp,h}
        * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
        (WebCore::MediaPlayerPrivateQuickTimeVisualContext::paint): Create a
            QTDecompressionSession if necessary and convert the QTPixelBuffer
            into a CG-compatible one.
        * platform/graphics/win/QTDecompressionSession.cpp: Added.
        * platform/graphics/win/QTDecompressionSession.h: Added.
        * platform/graphics/win/QTPixelBuffer.cpp:
        (SetNumberValue): Moved from QTMovieVisualContext.
        (QTPixelBuffer::createPixelBufferAttributesDictionary): Moved from inside
            QTMovieVisualContext::createPixelBufferOptionsDictionary().
        * platform/graphics/win/QTPixelBuffer.h: Moved the Type enum
            from QTMovieVisualContext.h.

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

9 years ago2010-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 18:13:34 +0000 (18:13 +0000)]
2010-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] TextBreakIteratorGtk should initialize its internal index to 0
        https://bugs.webkit.org/show_bug.cgi?id=48065

        It fixes the following tests when using glib unicode:
          fast/forms/ValidityState-tooLong-input.html
          fast/forms/ValidityState-tooLong-textarea.html
          fast/forms/input-appearance-maxlength.html
          fast/forms/input-implicit-length-limit.html
          fast/forms/input-maxlength.html
          fast/forms/textarea-live-pseudo-selectors.html
          fast/forms/mailto/advanced-get.html
          fast/forms/mailto/advanced-put.html

        * platform/text/gtk/TextBreakIteratorGtk.cpp:
        (WebCore::setUpIterator):

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

9 years ago2010-10-21 takano takumi <takano1@asia.apple.com>
mitz@apple.com [Thu, 21 Oct 2010 18:03:47 +0000 (18:03 +0000)]
2010-10-21  takano takumi  <takano1@asia.apple.com>

        Reviewed by Dan Bernstein.

        Need to swap glyphs for vertical writing
        https://bugs.webkit.org/show_bug.cgi?id=46973

        Made changes to pass the writing-mode orientation flag in RenderStyle down to FontPlatformData,
        and ultimately to CoreText APIs in both font complex path and fast path.

        Tests: fast/text/international/vertical-text-glyph-test.html
               fast/text/international/vertical-text-metrics-test.html

        * WebCore.exp.in:
        * WebCore.xcodeproj/project.pbxproj: Added platform/graphics/FontOrientation.h.
        * css/CSSFontFaceSource.cpp:
        (WebCore::CSSFontFaceSource::getFontData): Added font orientation parameter to SimpleFontData.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty): Set appropriate font orientation to the font description
        when writing-mode is being specified.
        * loader/CachedFont.cpp:
        (WebCore::CachedFont::platformDataFromCustomData): Made to pass font orientation to FontPlatformData.
        * loader/CachedFont.h:
        * platform/graphics/FontCache.cpp: Added font orientation to FontPlatformDataCacheKey
        (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
        (WebCore::FontPlatformDataCacheKey::operator==):
        (WebCore::computeHash):
        (WebCore::FontCache::getCachedFontPlatformData):
        * platform/graphics/FontDescription.h: Added font orientation support to FontDescription class
        (WebCore::FontDescription::FontDescription):
        (WebCore::FontDescription::orientation):
        (WebCore::FontDescription::setOrientation):
        (WebCore::FontDescription::operator==):
        * platform/graphics/FontOrientation.h: Added.
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cairo/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/cairo/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/cocoa/FontPlatformData.h: Added font orientation support to FontPlatformData class
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::orientation):
        (WebCore::FontPlatformData::hash):
        (WebCore::FontPlatformData::operator==):
        * platform/graphics/cocoa/FontPlatformDataCocoa.mm: Added font orientation support
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::operator=):
        (WebCore::FontPlatformData::allowsLigatures): Don't allow ligatures when the font is vertical orientation.
        (WebCore::FontPlatformData::description):
        * platform/graphics/gtk/FontCustomPlatformDataPango.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/haiku/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/haiku/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/mac/FontCacheMac.mm: Added font orientation parameter when creating FontPlatformData object.
        (WebCore::FontCache::getFontDataForCharacters):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.cpp: Added font orientation parameter when creating FontPlatformData object.
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.h: Changed to pass font orientation parameter to fontPlatformData()
        * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
        (WebCore::GlyphPage::fill): Changed to use CoreText to extract glyphs when the current font is vertical orientation.
        CoreText automatically swaps glyphs with vertical variants when the font orientation is vertical.
        * platform/graphics/mac/SimpleFontDataCoreText.cpp: Added vertical form attribute to the attribute dictionary for a CTLine.
        (WebCore::SimpleFontData::getCFStringAttributes):
        * platform/graphics/mac/SimpleFontDataMac.mm:
        (WebCore::SimpleFontData::platformBoundsForGlyph): Changed to use CoreText (from CG) to support vertical metrics.
        (WebCore::SimpleFontData::platformWidthForGlyph): Made to use CoreText, instead of wkGetGlyphTransformedAdvances,
        to get vertical metrics when the font orientation is vertical.
        * platform/graphics/qt/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/qt/FontCustomPlatformDataQt.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/win/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/win/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/win/FontCustomPlatformDataCairo.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/win/FontCustomPlatformDataCairo.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/wince/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/wince/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/wx/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/wx/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()

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

9 years ago2010-10-21 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 21 Oct 2010 17:53:38 +0000 (17:53 +0000)]
2010-10-21  James Robinson  <jamesr@chromium.org>

        Add chromium pixel baselines for new SVG length tests.

        * platform/chromium-linux/svg/dom/SVGLengthList-appendItem-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-appendItem-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-basics-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-basics-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-getItem-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-getItem-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-initialize-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-initialize-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-insertItemBefore-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-removeItem-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-removeItem-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-replaceItem-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-xml-dom-modifications-expected.checksum: Added.
        * platform/chromium-linux/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-appendItem-expected.checksum: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-appendItem-expected.png: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-initialize-expected.checksum: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-initialize-expected.png: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-insertItemBefore-expected.checksum: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-removeItem-expected.checksum: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-removeItem-expected.png: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-replaceItem-expected.checksum: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-xml-dom-modifications-expected.checksum: Added.
        * platform/chromium-mac/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-appendItem-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-appendItem-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-basics-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-basics-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-getItem-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-getItem-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-initialize-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-initialize-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-insertItemBefore-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-removeItem-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-removeItem-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-replaceItem-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-xml-dom-modifications-expected.checksum: Added.
        * platform/chromium-win/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.

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

9 years ago2010-10-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 21 Oct 2010 17:20:48 +0000 (17:20 +0000)]
2010-10-21  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Fixed inspector extensions test expectations.

        * inspector/extensions-api-expected.txt:
        * inspector/extensions-resources-expected.txt:

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

9 years agoAsk the UI client to close the page when the WKView receives a WM_CLOSE message
aroben@apple.com [Thu, 21 Oct 2010 17:04:16 +0000 (17:04 +0000)]
Ask the UI client to close the page when the WKView receives a WM_CLOSE message

Fixes <http://webkit.org/b/48044> <rdar://problem/8488446> Pressing
Ctrl+W when viewing a full-page PDF destroys the WKView but doesn't
close its parent window

Reviewed by Jon Honeycutt.

WebKit2:

* UIProcess/win/WebView.cpp:
(WebKit::WebView::wndProc): Call through to WebPageProxy::tryClose when
we receive a WM_CLOSE message, rather than passing the message along to
::DefWindowProcW. tryClose will end up asking the UI client to close
the page, while ::DefWindowProcW would destroy us synchronously without
notifying the UI client at all. One case where we'll get sent a
WM_CLOSE message is when the user presses Ctrl+W when using the Adobe
Reader plugin to view a PDF.

WebKitTools:

Test that the UI client gets notified when WKView receives a WM_CLOSE message

* TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp: Added.
(TestWebKitAPI::close): Record that this function was called.
(TestWebKitAPI::WebKit2_WMCloseCallsUIClientClose): Create a WKView,
send it a WM_CLOSE message, and test that the UI client's close
callback got called. Note that this will hang if the bug is
reintroduced; <http://webkit.org/b/48043> covers making TestWebKitAPI
able to handle hangs.

* TestWebKitAPI/win/TestWebKitAPI.vcproj: Added the new test.

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

9 years agoMake prepare-ChangeLog much faster when using git
aroben@apple.com [Thu, 21 Oct 2010 17:03:47 +0000 (17:03 +0000)]
Make prepare-ChangeLog much faster when using git

This change also seems to make it detect renames better in some cases.

Fixes <http://webkit.org/b/48040> prepare-ChangeLog is slow when using
git

Reviewed by David Kilzer.

* Scripts/prepare-ChangeLog:
(statusCommand):
(createPatchCommand):
Use "-M -C" instead of "-C -C -M" to tell git-diff to detect renames
and copies. The two "-C"s were making it read many more files than were
necessary.

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

9 years agoRemove confusing and redundant "host window" terminology from WKView on Windows
aroben@apple.com [Thu, 21 Oct 2010 17:03:18 +0000 (17:03 +0000)]
Remove confusing and redundant "host window" terminology from WKView on Windows

WKView's "host window" is really just its HWND's parent window. The
terminology has been updated to reflect this. The unnecessary
WKViewGetHostWindow function has been removed, as it was a synonym for
::GetParent(WKViewGetWindow(view)).

Fixes <http://webkit.org/b/48039> WKView's "host window" API is
confusing

Reviewed by Sam Weinig.

* UIProcess/API/C/win/WKView.cpp:
(WKViewCreate):
(WKViewSetParentWindow):
* UIProcess/API/C/win/WKView.h:
Replaced "host window" with "parent window". Removed
WKViewGetHostWindow.

* UIProcess/win/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::setParentWindow):
(WebKit::WebView::windowAncestryDidChange):
(WebKit::WebView::close):
* UIProcess/win/WebView.h:
(WebKit::WebView::create):
Replaced "host window" with "parent window". Removed m_hostWindow and
hostWindow().

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

9 years agoNull frame passed when running alert from UserScript run at document start
weinig@apple.com [Thu, 21 Oct 2010 16:45:39 +0000 (16:45 +0000)]
Null frame passed when running alert from UserScript run at document start
<rdar://problem/8573809>
https://bugs.webkit.org/show_bug.cgi?id=48036

Reviewed by Adam Roben.

WebKit2:

Don't initialize a Frame until after we have notified the UIProcess of its creation.
This is necessary since arbitrary actions can happen during the call to Frame::init()
such as the running of UserScripts.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createFrame):
* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::createMainFrame):
(WebKit::WebFrame::createSubframe):
(WebKit::WebFrame::create):
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::init):
* WebProcess/WebPage/WebFrame.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):

WebKitTools:

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* TestWebKitAPI/InjectedBundleController.cpp:
(TestWebKitAPI::InjectedBundleController::didReceiveMessage):
(TestWebKitAPI::InjectedBundleController::initializeTestNamed):
* TestWebKitAPI/InjectedBundleController.h:
* TestWebKitAPI/InjectedBundleTest.h:
(TestWebKitAPI::InjectedBundleTest::initialize):
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp: Added.
(TestWebKitAPI::runJavaScriptAlert):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp: Added.
(TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::DocumentStartUserScriptAlertCrashTest):
(TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::initialize):
Add test for invoking an alert during a UserScript run at document start.

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

9 years agoUnskip plugins/pass-different-npp-struct.html on SnowLeopard
aroben@apple.com [Thu, 21 Oct 2010 16:44:34 +0000 (16:44 +0000)]
Unskip plugins/pass-different-npp-struct.html on SnowLeopard

The test seems to be passing when run manually on the bots.

* platform/mac/Skipped:

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

9 years ago2010-10-21 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 21 Oct 2010 16:44:05 +0000 (16:44 +0000)]
2010-10-21  Andreas Kling  <kling@webkit.org>

        Reviewed by Adam Roben.

        TestNetscapePlugIn: Actually call NPP_SetWindow on Unix

        We were just returning NPERR_NO_ERROR previously.

        * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
        (webkit_test_plugin_set_window):

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

9 years ago<http://webkit.org/b/48051> Move macros from DumpRenderTreeMac.h to config.h
ddkilzer@apple.com [Thu, 21 Oct 2010 16:38:35 +0000 (16:38 +0000)]
<webkit.org/b/48051> Move macros from DumpRenderTreeMac.h to config.h

Reviewed by Adam Roben.

* DumpRenderTree/config.h: Moved macros to here...
* DumpRenderTree/mac/DumpRenderTreeMac.h: ...from here.
Addresses a FIXME comment from r28419.

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

9 years ago2010-10-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 21 Oct 2010 16:31:35 +0000 (16:31 +0000)]
2010-10-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: provide resource tree in the Storage panel (behind the flag).
        https://bugs.webkit.org/show_bug.cgi?id=48069

        * WebCore.gypi:
        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::frameDetachedFromParent):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::buildObjectForDocumentLoader):
        (WebCore::buildObjectForFrameResource):
        (WebCore::buildObjectForCachedResource):
        (WebCore::populateObjectWithFrameResources):
        (WebCore::InspectorResourceAgent::identifierForInitialRequest):
        (WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache):
        (WebCore::buildObjectForFrameTree):
        (WebCore::InspectorResourceAgent::didCommitLoad):
        (WebCore::InspectorResourceAgent::frameDetachedFromParent):
        (WebCore::InspectorResourceAgent::cachedResources):
        (WebCore::InspectorResourceAgent::resourceContent):
        * inspector/InspectorResourceAgent.h:
        * inspector/front-end/Images/frame.png: Added.
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.refreshResource):
        (WebInspector.NetworkPanel.prototype._showResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.Type.toString):
        (WebInspector.Resource.prototype.getContents):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager):
        (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
        (WebInspector.ResourceManager.prototype._createResource):
        (WebInspector.ResourceManager.prototype.willSendRequest):
        (WebInspector.ResourceManager.prototype._appendRedirect):
        (WebInspector.ResourceManager.prototype.markResourceAsCached):
        (WebInspector.ResourceManager.prototype.didReceiveResponse):
        (WebInspector.ResourceManager.prototype._updateResourceWithResponse):
        (WebInspector.ResourceManager.prototype.didReceiveContentLength):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        (WebInspector.ResourceManager.prototype.didFailLoading):
        (WebInspector.ResourceManager.prototype.didLoadResourceFromMemoryCache):
        (WebInspector.ResourceManager.prototype._updateResourceWithCachedResource):
        (WebInspector.ResourceManager.prototype.setOverrideContent):
        (WebInspector.ResourceManager.prototype.didCommitLoadForFrame):
        (WebInspector.ResourceManager.prototype.frameDetachedFromParent):
        (WebInspector.ResourceManager.prototype._clearResources):
        (WebInspector.ResourceManager.prototype.didCreateWebSocket):
        (WebInspector.ResourceManager.prototype.willSendWebSocketHandshakeRequest):
        (WebInspector.ResourceManager.prototype.didReceiveWebSocketHandshakeResponse):
        (WebInspector.ResourceManager.prototype.didCloseWebSocket):
        (WebInspector.ResourceManager.prototype._processCachedResources):
        (WebInspector.ResourceManager.prototype._appendFramesRecursively.comparator):
        (WebInspector.ResourceManager.prototype._appendFramesRecursively):
        (WebInspector.ResourceManager.createResourceView):
        (WebInspector.ResourceManager.resourceViewTypeMatchesResource):
        (WebInspector.ResourceManager.resourceViewForResource):
        (WebInspector.ResourceManager.getContents):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.get searchableViews):
        (WebInspector.ResourcesPanel.prototype.addMessageToResource):
        (WebInspector.ResourcesPanel.prototype._recreateViewForResourceIfNeeded):
        (WebInspector.ResourcesPanel.prototype.showResource):
        (WebInspector.ResourcesPanel.prototype.sourceFrameForResource):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel):
        (WebInspector.StoragePanel.prototype.addFrame):
        (WebInspector.StoragePanel.prototype.removeFrame):
        (WebInspector.StoragePanel.prototype.addFrameResource):
        (WebInspector.StoragePanel.prototype.removeFrameResources):
        (WebInspector.StoragePanel.prototype.showResource):
        (WebInspector.BaseStorageTreeElement.prototype.onattach):
        (WebInspector.BaseStorageTreeElement.prototype.onreveal):
        (WebInspector.FrameTreeElement):
        (WebInspector.FrameTreeElement.prototype.onselect):
        (WebInspector.FrameResourceTreeElement):
        (WebInspector.FrameResourceTreeElement.prototype.onselect):
        (WebInspector.FrameResourceTreeElement.prototype.onattach):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.css:
        (.frame-storage-tree-item .icon):
        (.storage.panel .sidebar.outline-disclosure > ol):
        (.resources-category-images .image-resource-icon-preview):
        (.children.small .resources-category-images .image-resource-icon-preview):
        * inspector/front-end/inspector.js:

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

9 years ago<http://webkit.org/b/48047> Fix warnings found by check-Xcode-source-file-types
ddkilzer@apple.com [Thu, 21 Oct 2010 16:21:29 +0000 (16:21 +0000)]
<webkit.org/b/48047> Fix warnings found by check-Xcode-source-file-types

Reviewed by Adam Roben.

WebCore:

Fixes the following warning:

    WARNING: Unknown file type 'sourcecode' for file 'CSSPrimitiveValue.idl'.
    1 issues found for WebCore/WebCore.xcodeproj/project.pbxproj.

* WebCore.xcodeproj/project.pbxproj: Removed explicit file type
for CSSPrimitiveValue.idl to make it match other IDL files.

WebKit:

Fixes the following warning:

    WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'WebStringTruncator.h'.
    1 issues found for WebKit/WebKit.xcodeproj/project.pbxproj.

* WebKit.xcodeproj/project.pbxproj: Removed explicit file type
for WebStringTruncator.h to make it match other header files.

WebKitTools:

Fixes the following warnings:

    WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'PixelDumpSupport.cpp'.
    WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'LayoutTestController.cpp'.
    WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'WorkQueue.cpp'.
    WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'cg/PixelDumpSupportCG.cpp'.
    WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'GCController.cpp'.
    5 issues found for WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Removed explicit file type for *.cpp files above to make them
match other C++ source files.  This exposed the fact that
DumpRenderTreeMac.h was not safe to include in C++ source, which
caused PixelDumpSupport.cpp and PixelDumpSupportCG.cpp to fail
to build.
* DumpRenderTree/PixelDumpSupport.cpp: Adjusted header order.
* DumpRenderTree/mac/DumpRenderTreeMac.h: Made safe to include
in C++ source files.  Included CoreFoundation/CoreFoundation.h
to make sure all CF types were defined.  Removed CFStringRef
typedef.

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

9 years agoAttempt to fix plugins/pass-different-npp-struct.html on GTK.
aroben@apple.com [Thu, 21 Oct 2010 16:11:29 +0000 (16:11 +0000)]
Attempt to fix plugins/pass-different-npp-struct.html on GTK.

See <http://webkit.org/b/47690>.

LayoutTests:

* platform/gtk/Skipped: Stop skipping this test.

WebKitTools:

* GNUmakefile.am: Added PassDifferentNPPStruct.cpp.

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

9 years ago2010-10-21 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 21 Oct 2010 15:51:05 +0000 (15:51 +0000)]
2010-10-21  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] PluginInfoStore does not set up mime types for plugins
        https://bugs.webkit.org/show_bug.cgi?id=48063

        * UIProcess/Plugins/qt/PluginInfoStoreQt.cpp:
        (WebKit::PluginInfoStore::getPluginInfo): Store the mime types
        that are supported by the plugin into the plugin argument.

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

9 years ago2010-10-21 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 21 Oct 2010 15:33:53 +0000 (15:33 +0000)]
2010-10-21  Andreas Kling  <kling@webkit.org>

        Reviewed by Nikolas Zimmermann.

        'transparent' should be a valid color
        https://bugs.webkit.org/show_bug.cgi?id=45482

        Reworked testcase to use SVG animation testing framework.

        * svg/animations/animate-color-transparent-expected.txt: Added.
        * svg/animations/animate-color-transparent.html: Added.
        * svg/animations/script-tests/animate-color-transparent.js: Added.
        * svg/animations/svg-animate-color-transparent-expected.txt: Removed.
        * svg/animations/svg-animate-color-transparent.svg: Removed.

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

9 years ago2010-10-21 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 21 Oct 2010 13:58:06 +0000 (13:58 +0000)]
2010-10-21  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Revert r70232. Chromium compilation failure.

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

9 years ago2010-10-21 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 21 Oct 2010 13:39:08 +0000 (13:39 +0000)]
2010-10-21  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Revert r70233 and r70232. Too many failures.

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

9 years ago2010-10-21 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 21 Oct 2010 12:56:30 +0000 (12:56 +0000)]
2010-10-21  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Remove references to deleted headers from WebCore.pro

        * WebCore.pro:

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

9 years ago2010-10-21 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 21 Oct 2010 12:31:37 +0000 (12:31 +0000)]
2010-10-21  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: decouple ScriptArguments from ScriptCallStack
        https://bugs.webkit.org/show_bug.cgi?id=48058

        ScriptCallFrame and ScriptCallStack are now the same for both JSC and V8.
        The factory functions that allow to create ScriptCallStack from VM-specific
        objects are defined in ScriptCallStackFactory.cpp.

        ScriptArguments class is used for passing arguments from JS code to the native
        part.

        No new tests. This refactoring is covered with existing Console tests.

        * WebCore.gypi:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/ScriptCallFrame.cpp: Removed.
        * bindings/js/ScriptCallFrame.h: Removed.
        * bindings/js/ScriptCallStack.cpp: Removed.
        * bindings/js/ScriptCallStack.h: Removed.
        * bindings/js/ScriptCallStackFactory.cpp: Added.
        (WebCore::createScriptCallStack):
        (WebCore::createScriptArguments):
        (WebCore::ScriptCallStack::stackTrace):
        * bindings/js/ScriptCallStackFactory.h: Added.
        * bindings/js/ScriptState.h:
        (WebCore::ScriptStateProtectedPtr::get):
        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/v8/ScriptCallFrame.cpp: Removed.
        * bindings/v8/ScriptCallFrame.h: Removed.
        * bindings/v8/ScriptCallStack.cpp: Removed.
        * bindings/v8/ScriptCallStack.h: Removed.
        * bindings/v8/ScriptCallStackFactory.cpp: Added.
        (WebCore::toScriptCallFrame):
        (WebCore::toScriptCallFramesVector):
        (WebCore::createScriptCallStack):
        (WebCore::createScriptArguments):
        (WebCore::ScriptCallStack::stackTrace):
        * bindings/v8/ScriptCallStackFactory.h: Added.
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::setCaptureCallStackForUncaughtExceptions):
        * bindings/v8/ScriptState.h:
        (WebCore::ScriptStateProtectedPtr::get):
        * bindings/v8/V8ConsoleMessage.cpp:
        (WebCore::V8ConsoleMessage::handler):
        (WebCore::V8ConsoleMessage::dispatchNow):
        * bindings/v8/V8ConsoleMessage.h:
        * bindings/v8/custom/V8ConsoleCustom.cpp:
        (WebCore::V8Console::traceCallback):
        (WebCore::V8Console::assertCallback):
        * inspector/ConsoleMessage.cpp:
        (WebCore::ConsoleMessage::ConsoleMessage):
        (WebCore::ConsoleMessage::addToFrontend):
        (WebCore::ConsoleMessage::updateRepeatCountInConsole):
        (WebCore::ConsoleMessage::isEqual):
        * inspector/ConsoleMessage.h:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::addMessageToConsole):
        (WebCore::InspectorController::startGroup):
        * inspector/InspectorController.h:
        * inspector/ScriptArguments.cpp: Added.
        (WebCore::ScriptArguments::ScriptArguments):
        (WebCore::ScriptArguments::~ScriptArguments):
        (WebCore::ScriptArguments::argumentAt):
        (WebCore::ScriptArguments::globalState):
        (WebCore::ScriptArguments::getFirstArgumentAsString):
        (WebCore::ScriptArguments::isEqual):
        * inspector/ScriptArguments.h: Added.
        (WebCore::ScriptArguments::argumentCount):
        * inspector/ScriptCallFrame.cpp: Added.
        (WebCore::ScriptCallFrame::ScriptCallFrame):
        (WebCore::ScriptCallFrame::~ScriptCallFrame):
        (WebCore::ScriptCallFrame::isEqual):
        (WebCore::ScriptCallFrame::buildInspectorObject):
        * inspector/ScriptCallFrame.h: Added.
        (WebCore::ScriptCallFrame::functionName):
        (WebCore::ScriptCallFrame::sourceURL):
        (WebCore::ScriptCallFrame::lineNumber):
        * inspector/ScriptCallStack.cpp: Added.
        (WebCore::ScriptCallStack::ScriptCallStack):
        (WebCore::ScriptCallStack::~ScriptCallStack):
        (WebCore::ScriptCallStack::at):
        (WebCore::ScriptCallStack::size):
        (WebCore::ScriptCallStack::isEqual):
        (WebCore::ScriptCallStack::buildInspectorObject):
        * inspector/ScriptCallStack.h: Added.
        * page/Console.cpp:
        (WebCore::Console::addMessage):
        (WebCore::Console::debug):
        (WebCore::Console::error):
        (WebCore::Console::info):
        (WebCore::Console::log):
        (WebCore::Console::dir):
        (WebCore::Console::dirxml):
        (WebCore::Console::trace):
        (WebCore::Console::assertCondition):
        (WebCore::Console::count):
        (WebCore::Console::markTimeline):
        (WebCore::Console::profile):
        (WebCore::Console::profileEnd):
        (WebCore::Console::timeEnd):
        (WebCore::Console::group):
        (WebCore::Console::groupCollapsed):
        (WebCore::Console::shouldCaptureFullStackTrace):
        (WebCore::Console::warn):
        * page/Console.h:

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

9 years ago2010-10-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 21 Oct 2010 12:19:28 +0000 (12:19 +0000)]
2010-10-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium: use dedicated event listener type in EventListenerWrapper.
        https://bugs.webkit.org/show_bug.cgi?id=48059

        This change introduces new EventListener::Type NativeEventListenerType.
        This new type is intended to be used by any code that wants to protect
        itself from unsafe casts to particular event listener implementations.

        * dom/EventListener.h:
2010-10-21  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium: use dedicated event listener type in EventListenerWrapper.
        https://bugs.webkit.org/show_bug.cgi?id=48059

        * src/EventListenerWrapper.cpp:
        (WebKit::EventListenerWrapper::EventListenerWrapper):

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

9 years ago2010-10-21 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
commit-queue@webkit.org [Thu, 21 Oct 2010 11:43:03 +0000 (11:43 +0000)]
2010-10-21  Gabor Rapcsanyi  <rgabor@inf.u-szeged.hu>

        Reviewed by Csaba Osztrogon√°c.

        [NRWT] Set ImageDiff path on Qt port
        https://bugs.webkit.org/show_bug.cgi?id=48052

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

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

9 years ago2010-10-21 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 11:37:26 +0000 (11:37 +0000)]
2010-10-21  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70225.
        http://trac.webkit.org/changeset/70225
        https://bugs.webkit.org/show_bug.cgi?id=48061

        Build breakage on Leopard. (Requested by pfeldman on #webkit).

        * fast/text/international/vertical-text-glyph-test.html: Removed.
        * fast/text/international/vertical-text-metrics-test.html: Removed.
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.checksum: Removed.
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.png: Removed.
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt: Removed.
        * platform/mac/fast/text/international/vertical-text-metrics-test-expected.txt: Removed.
2010-10-21  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70225.
        http://trac.webkit.org/changeset/70225
        https://bugs.webkit.org/show_bug.cgi?id=48061

        Build breakage on Leopard. (Requested by pfeldman on #webkit).

        * WebCore.exp.in:
        * WebCore.xcodeproj/project.pbxproj:
        * css/CSSFontFaceSource.cpp:
        (WebCore::CSSFontFaceSource::getFontData):
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * loader/CachedFont.cpp:
        (WebCore::CachedFont::platformDataFromCustomData):
        * loader/CachedFont.h:
        * platform/graphics/FontCache.cpp:
        (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
        (WebCore::FontPlatformDataCacheKey::operator==):
        (WebCore::computeHash):
        (WebCore::FontCache::getCachedFontPlatformData):
        * platform/graphics/FontDescription.h:
        (WebCore::FontDescription::FontDescription):
        (WebCore::FontDescription::operator==):
        * platform/graphics/FontOrientation.h: Removed.
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cairo/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/cairo/FontCustomPlatformData.h:
        * platform/graphics/cocoa/FontPlatformData.h:
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::hash):
        (WebCore::FontPlatformData::operator==):
        * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::operator=):
        (WebCore::FontPlatformData::allowsLigatures):
        (WebCore::FontPlatformData::description):
        * platform/graphics/gtk/FontCustomPlatformDataPango.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/haiku/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/haiku/FontCustomPlatformData.h:
        * platform/graphics/mac/FontCacheMac.mm:
        (WebCore::FontCache::getFontDataForCharacters):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.h:
        * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
        (WebCore::GlyphPage::fill):
        * platform/graphics/mac/SimpleFontDataCoreText.cpp:
        (WebCore::SimpleFontData::getCFStringAttributes):
        * platform/graphics/mac/SimpleFontDataMac.mm:
        (WebCore::SimpleFontData::platformBoundsForGlyph):
        (WebCore::SimpleFontData::platformWidthForGlyph):
        * platform/graphics/qt/FontCustomPlatformData.h:
        * platform/graphics/qt/FontCustomPlatformDataQt.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.h:
        * platform/graphics/win/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/win/FontCustomPlatformData.h:
        * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/win/FontCustomPlatformDataCairo.h:
        * platform/graphics/wince/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/wince/FontCustomPlatformData.h:
        * platform/graphics/wx/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/wx/FontCustomPlatformData.h:

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

9 years ago2010-10-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 21 Oct 2010 11:26:57 +0000 (11:26 +0000)]
2010-10-21  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Don't CC authors of flaky tests
        https://bugs.webkit.org/show_bug.cgi?id=48038

        Some authors found this too annoying.  We'll look for another way to
        close the flaky test loop.

        * Scripts/webkitpy/tool/commands/queues.py:
        * Scripts/webkitpy/tool/commands/queues_unittest.py:

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

9 years ago2010-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 11:26:01 +0000 (11:26 +0000)]
2010-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Tests LayoutTests/fast/encoding/utf-32* fail when using glib unicode
        https://bugs.webkit.org/show_bug.cgi?id=47805

        Register UTF-32 encodings in TextCodecGtk.

        * platform/text/gtk/TextCodecGtk.cpp:
        (WebCore::TextCodecGtk::registerBaseEncodingNames):
        (WebCore::TextCodecGtk::registerBaseCodecs):

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

9 years ago2010-10-21 Luiz Agostini <luiz.agostini@openbossa.org>
commit-queue@webkit.org [Thu, 21 Oct 2010 11:04:00 +0000 (11:04 +0000)]
2010-10-21  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Adler.

        Adding MediaQueryListListener binding test cases
        https://bugs.webkit.org/show_bug.cgi?id=48028

        MediaQueryListListener type will need special handling of the code generators. Adding the test cases.

        * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.cpp: Added.
        (WebDOMTestMediaQueryListListener::WebDOMTestMediaQueryListListenerPrivate::WebDOMTestMediaQueryListListenerPrivate):
        (WebDOMTestMediaQueryListListener::WebDOMTestMediaQueryListListener):
        (WebDOMTestMediaQueryListListener::operator=):
        (WebDOMTestMediaQueryListListener::impl):
        (WebDOMTestMediaQueryListListener::~WebDOMTestMediaQueryListListener):
        (WebDOMTestMediaQueryListListener::method):
        (toWebCore):
        (toWebKit):
        * bindings/scripts/test/CPP/WebDOMTestMediaQueryListListener.h: Added.
        * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp: Added.
        (WebKit::kit):
        (webkit_dom_test_media_query_list_listener_method):
        (WebKit::core):
        (webkit_dom_test_media_query_list_listener_finalize):
        (webkit_dom_test_media_query_list_listener_set_property):
        (webkit_dom_test_media_query_list_listener_get_property):
        (webkit_dom_test_media_query_list_listener_constructed):
        (webkit_dom_test_media_query_list_listener_class_init):
        (webkit_dom_test_media_query_list_listener_init):
        (WebKit::wrapTestMediaQueryListListener):
        * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h: Added.
        * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListenerPrivate.h: Added.
        * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: Added.
        (WebCore::JSTestMediaQueryListListenerConstructor::classInfo):
        (WebCore::JSTestMediaQueryListListenerConstructor::createStructure):
        (WebCore::JSTestMediaQueryListListenerConstructor::JSTestMediaQueryListListenerConstructor):
        (WebCore::JSTestMediaQueryListListenerConstructor::getOwnPropertySlot):
        (WebCore::JSTestMediaQueryListListenerConstructor::getOwnPropertyDescriptor):
        (WebCore::JSTestMediaQueryListListenerPrototype::self):
        (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertySlot):
        (WebCore::JSTestMediaQueryListListenerPrototype::getOwnPropertyDescriptor):
        (WebCore::JSTestMediaQueryListListener::JSTestMediaQueryListListener):
        (WebCore::JSTestMediaQueryListListener::~JSTestMediaQueryListListener):
        (WebCore::JSTestMediaQueryListListener::createPrototype):
        (WebCore::JSTestMediaQueryListListener::getOwnPropertySlot):
        (WebCore::JSTestMediaQueryListListener::getOwnPropertyDescriptor):
        (WebCore::jsTestMediaQueryListListenerConstructor):
        (WebCore::JSTestMediaQueryListListener::getConstructor):
        (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
        (WebCore::toJS):
        (WebCore::toTestMediaQueryListListener):
        * bindings/scripts/test/JS/JSTestMediaQueryListListener.h: Added.
        (WebCore::JSTestMediaQueryListListener::classInfo):
        (WebCore::JSTestMediaQueryListListener::createStructure):
        (WebCore::JSTestMediaQueryListListener::impl):
        (WebCore::JSTestMediaQueryListListenerPrototype::classInfo):
        (WebCore::JSTestMediaQueryListListenerPrototype::createStructure):
        (WebCore::JSTestMediaQueryListListenerPrototype::JSTestMediaQueryListListenerPrototype):
        * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h: Added.
        * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm: Added.
        (-[DOMTestMediaQueryListListener dealloc]):
        (-[DOMTestMediaQueryListListener finalize]):
        (-[DOMTestMediaQueryListListener method:]):
        (core):
        (kit):
        * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h: Added.
        * bindings/scripts/test/TestMediaQueryListListener.idl: Added.
        * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp: Added.
        (WebCore::TestMediaQueryListListenerInternal::V8_USE):
        (WebCore::TestMediaQueryListListenerInternal::methodCallback):
        (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
        (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
        (WebCore::V8TestMediaQueryListListener::GetTemplate):
        (WebCore::V8TestMediaQueryListListener::HasInstance):
        (WebCore::V8TestMediaQueryListListener::wrapSlow):
        (WebCore::V8TestMediaQueryListListener::derefObject):
        * bindings/scripts/test/V8/V8TestMediaQueryListListener.h: Added.
        (WebCore::V8TestMediaQueryListListener::toNative):
        (WebCore::V8TestMediaQueryListListener::wrap):
        (WebCore::toV8):

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

9 years ago2010-10-21 takano takumi <takano1@asia.apple.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 10:42:44 +0000 (10:42 +0000)]
2010-10-21  takano takumi  <takano1@asia.apple.com>

        Reviewed by Dan Bernstein.

        Need to swap glyphs for vertical writing
        https://bugs.webkit.org/show_bug.cgi?id=46973

        * fast/text/international/vertical-text-glyph-test.html: Added.
        * fast/text/international/vertical-text-metrics-test.html: Added.
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.checksum: Added.
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.png: Added.
        * platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt: Added.
        * platform/mac/fast/text/international/vertical-text-metrics-test-expected.txt: Added.
2010-10-21  takano takumi  <takano1@asia.apple.com>

        Reviewed by Dan Bernstein.

        Need to swap glyphs for vertical writing
        https://bugs.webkit.org/show_bug.cgi?id=46973

        Made changes to pass the writing-mode orientation flag in RenderStyle down to FontPlatformData,
        and ultimately to CoreText APIs in both font complex path and fast path.

        Tests: fast/text/international/vertical-text-glyph-test.html
               fast/text/international/vertical-text-metrics-test.html

        * WebCore.exp.in:
        * WebCore.xcodeproj/project.pbxproj: Added platform/graphics/FontOrientation.h.
        * css/CSSFontFaceSource.cpp:
        (WebCore::CSSFontFaceSource::getFontData): Added font orientation parameter to SimpleFontData.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty): Set appropriate font orientation to the font description
        when writing-mode is being specified.
        * loader/CachedFont.cpp:
        (WebCore::CachedFont::platformDataFromCustomData): Made to pass font orientation to FontPlatformData.
        * loader/CachedFont.h:
        * platform/graphics/FontCache.cpp: Added font orientation to FontPlatformDataCacheKey
        (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
        (WebCore::FontPlatformDataCacheKey::operator==):
        (WebCore::computeHash):
        (WebCore::FontCache::getCachedFontPlatformData):
        * platform/graphics/FontDescription.h: Added font orientation support to FontDescription class
        (WebCore::FontDescription::FontDescription):
        (WebCore::FontDescription::orientation):
        (WebCore::FontDescription::setOrientation):
        (WebCore::FontDescription::operator==):
        * platform/graphics/FontOrientation.h: Added.
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cairo/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/cairo/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/cocoa/FontPlatformData.h: Added font orientation support to FontPlatformData class
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::orientation):
        (WebCore::FontPlatformData::hash):
        (WebCore::FontPlatformData::operator==):
        * platform/graphics/cocoa/FontPlatformDataCocoa.mm: Added font orientation support
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::operator=):
        (WebCore::FontPlatformData::allowsLigatures): Don't allow ligatures when the font is vertical orientation.
        (WebCore::FontPlatformData::description):
        * platform/graphics/gtk/FontCustomPlatformDataPango.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/haiku/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/haiku/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/mac/FontCacheMac.mm: Added font orientation parameter when creating FontPlatformData object.
        (WebCore::FontCache::getFontDataForCharacters):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.cpp: Added font orientation parameter when creating FontPlatformData object.
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.h: Changed to pass font orientation parameter to fontPlatformData()
        * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
        (WebCore::GlyphPage::fill): Changed to use CoreText to extract glyphs when the current font is vertical orientation.
        CoreText automatically swaps glyphs with vertical variants when the font orientation is vertical.
        * platform/graphics/mac/SimpleFontDataCoreText.cpp: Added vertical form attribute to the attribute dictionary for a CTLine.
        (WebCore::SimpleFontData::getCFStringAttributes):
        * platform/graphics/mac/SimpleFontDataMac.mm:
        (WebCore::SimpleFontData::platformBoundsForGlyph): Changed to use CoreText (from CG) to support vertical metrics.
        (WebCore::SimpleFontData::platformWidthForGlyph): Made to use CoreText, instead of wkGetGlyphTransformedAdvances,
        to get vertical metrics when the font orientation is vertical.
        * platform/graphics/qt/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/qt/FontCustomPlatformDataQt.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/skia/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/win/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/win/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/win/FontCustomPlatformDataCairo.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/win/FontCustomPlatformDataCairo.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/wince/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/wince/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()
        * platform/graphics/wx/FontCustomPlatformData.cpp: Changed to pass font orientation to fontPlatformData()
        (WebCore::FontCustomPlatformData::fontPlatformData):
        * platform/graphics/wx/FontCustomPlatformData.h: Changed to pass font orientation to fontPlatformData()

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

9 years ago2010-10-21 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Thu, 21 Oct 2010 10:33:29 +0000 (10:33 +0000)]
2010-10-21  Julie Parent  <jparent@chromium.org>

        Reviewed by Tony Chang.

        [Chromium] fast/repaint/renderer-destruction-by-invalidateSelection-crash needs image rebaseline for linux
        https://bugs.webkit.org/show_bug.cgi?id=48009

        Was incorrectly rebaselined in r61912 (massive rebaseline for
        scrollbar changes, but this test has no scrollbars).

        * platform/chromium-linux/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.checksum:
        * platform/chromium-linux/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:

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

9 years ago2010-10-20 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 21 Oct 2010 10:25:25 +0000 (10:25 +0000)]
2010-10-20  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Redesign SVGAnimatedProperty concept to share "POD type wrappers" between all bindings (-> add ObjC SVG bindings)
        https://bugs.webkit.org/show_bug.cgi?id=47905

        Tests: svg/dom/SVGLengthList-appendItem.xhtml
               svg/dom/SVGLengthList-basics.xhtml
               svg/dom/SVGLengthList-getItem.xhtml
               svg/dom/SVGLengthList-initialize.xhtml
               svg/dom/SVGLengthList-insertItemBefore.xhtml
               svg/dom/SVGLengthList-removeItem.xhtml
               svg/dom/SVGLengthList-replaceItem.xhtml
               svg/dom/SVGLengthList-xml-dom-modifications.xhtml

        Introduce a more lightweight, less intrusive way to expose SVGAnimated* DOM bindings.

        Concrete example:
        The SVG DOM defines a 'SVGAnimatedLength' object, that's used to represent the x / y / width / height attributes of a 'SVGRectElement'.
        Each 'SVGAnimatedLength' object exposes a baseVal (markup defined attribute value) and an animVal (reflects the current state during animations),
        both of type 'SVGLength'. These objects are all _live_. That means you can do:
        var foobar = rect.x.baseVal; foobar.value += 150;

        If we'd implement the SVG DOM straightforward, we'd have to store a refcounted SVGAnimatedLength object, containing two refcounted SVGLength objects
        in SVGRectElement, for each of the x/y/width/height attributes. Our solution, to reduce memory footprint and increase performance is to store
        SVGLength stack-allocated, non refcounted types in SVGRectElement for x/y/width/height, and don't implement the SVGAnimatedLength object at all.

        In the past the JS bindings had to expose wrappers for SVGAnimatedLength on their own, and wrap each SVGLength object in an object called JSSVGPODTypeWrapper<SVGLength>.
        When JS changed the 'value' of the 'SVGLength', we constructed a copy of the SVGLength object, modified it, and called rectElement->setXBaseValue(newLength).
        This is not efficient at all, as we have to construct several copies of the SVGLength object, utilize callbacks to propagate the value changes in the SVG DOM.
        Furthermore, all bindings had to expose a similar concept, otherwhise SVG DOM wouldn't work. Up until now, only JSC and V8 bindings were available, that worked properly.

        The new SVGAnimatedProperty concept removes the need for JSSVGPODTypeWrapper (and friends like JSSVGContextCache, that associated a SVGLength with its SVGRectElement).
        Instead a solution is offered, that all bindings can use simultaneously, without adding new types or special concepts like JSSVGPODTypeWrapper.

        It works like this:
        A new refcounted SVGAnimatedProperty<PropertyType> template class is available, that stores a QualifiedName to associate the SVG DOM property with a XML DOM attribute.
        It also stores a RefPtr to the SVGElement that created it.

        In SVGRectElement we still store SVGLength m_x/m_y/m_width/m_height members, and offer a new "xAnimated()" method which looks up or creates a SVGAnimatedProperty<SVGLength>
        object. The JS/V8/ObjC bindings call this method whenever someone requests "rect.x/y/width/height", and a new wrapper is created, and stored in a HashMap.

        The SVGAnimatedProperty<PropertyType> is a base class for SVGAnimatedPropertyTearOff and SVGAnimatedListPropertyTearOff, the latter is used for all types of lists (SVGLengthList).
        SVGAnimatedProperty contains two methods used in the bindings: SVGProperty* baseVal and SVGProperty* animVal. SVGProperty is a base class for SVGPropertyTearOff and
        SVGListPropertyTearOff. Upon invocation of the baseVal/animVal methods a new SVG(List)PropertyTearOff object is created and stored in a RefPtr.
        The SVGPropertyTearOff objects stores a _reference_ to the type it wraps. Concrete example:
        When calling rect.x, a SVGAnimatedPropertyTearOff<SVGLength> is created, that stores a pointer to the SVGRectElement, and a SVGNames::xAttr.
        When calling rect.x.baseVal, a SVGPropertyTearOf<SVGLength> is created, that stores a reference to the "m_x" member variable of the SVGRectElement.
        Any changes applied to the SVGLength object, through the wrapper, are immediately live, as no copies are involved anymore, nor the need to fire any callback methods.
        This is the key concept of the new tear offs, no copies, no callbacks, no virtual methods (except one, needed for lists, but it's a detail).

        The SVGAnimatedListPropertyTearOff and SVGListPropertyTearOff work the same, but for SVG*List objects. The whole SVG*List API is _removed_ from the SVG DOM classes
        like SVGLengthList. It now inherits from Vector<SVGLength>, where it used to store a Vector<RefPtr<SVGListItem<SVGLength> > >. The SVGList API (insertItemBefore, appendItem, etc.)
        is exposed through SVGListPropertyTearOff, and there's no need anymore for SVGLengthList to deal with it at all.
        SVGLengthList is live just like most other SVG DOM object. Concrete example:
        var item0 = text.x.baseVal.getItem(0); item0.value += 150;

        Previously we chose to store a refcounted SVGListItem object, which wrapped the SVGLength object, to achieve liveness. We could change a single list item from DOM
        w/o copying the whole list. The drawback is that a simple type likeSVGLengthList, was heavy to store, as it contained a list of RefPtrs around a wrapper object
        around the real object 'SVGLength'. This complexity is completly gone.

        The SVGListPropertyTearOff<SVGLengthList> stores a reference to the SVGLengthList object (eg. SVGTextElement::m_x) and maintains a list of SVGPropertyTearOff<SVGLength>
        wrappers, that are created when necessary (getItem(2), will create a wrapper around the third list item), and cached. These SVGPropertyTearOff<SVGLength> objects
        store references to the SVGLength object _in the SVGLengthList_. One has to be extra carefully, to keep those lists synchronized.
        The SVGLengthList API is fully implemented for the first time, including moving items between lists, and is extensively tested with 8 new testcases.

        This patch only changed SVGLength/SVGLengthList to the new concept. All other types remain using the old DeprecatedSVGAnimatedProperty* concept.
        This will change in follow-up patches.

        * GNUmakefile.am: Add new files from svg/properties to build.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * bindings/js/JSSVGLengthCustom.cpp: Adapt to context cache removal for SVGLength.
        (WebCore::JSSVGLength::value):
        (WebCore::JSSVGLength::convertToSpecifiedUnits):
        * bindings/scripts/CodeGenerator.pm: Add new isSVGNewStyleAnimatedProperty() helper method, return true for "SVGAnimatedLength" and "SVGAnimatedLengthList".
        * bindings/scripts/CodeGeneratorJS.pm: Generate new style SVG JS bindings, that don't need JSSVGContextCache / JSSVGPODTypeWrapper.
        * bindings/scripts/CodeGeneratorObjC.pm: Ditto. (+ Finally expose a working set of SVG DOM API for Objective C).
        * bindings/scripts/CodeGeneratorV8.pm: Ditto.
        * bindings/v8/custom/V8SVGLengthCustom.cpp: Adapt to context cache removal for SVGLength.
        (WebCore::V8SVGLength::valueAccessorGetter):
        (WebCore::V8SVGLength::convertToSpecifiedUnitsCallback):
        * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
        (WebCore::extractFloatValuesFromSVGLengthList): SVGLengthList is a POD type now, passed as const reference.
        * svg/DeprecatedSVGAnimatedPropertyTraits.h: Remove handling for SVGLength/SVGLengthList, those are converted to the new SVGAnimatedProperty design now.
        * svg/DeprecatedSVGAnimatedTemplate.h: Ditto.
        * svg/SVGAnimatedLength.h: Added.
        * svg/SVGAnimatedLength.idl: Mark as [SVGAnimatedProperty].
        * svg/SVGAnimatedLengthList.h: Added.
        * svg/SVGAnimatedLengthList.idl: Mark as [SVGAnimatedProperty].
        * svg/SVGCircleElement.h: s/DECLARE_ANIMATED_PROPERTY/DECLARE_ANIMATED_PROPERTY_NEW/ until the transition to the new concept is finished.
        * svg/SVGCursorElement.h: Ditto.
        * svg/SVGEllipseElement.h: Ditto.
        * svg/SVGFilterElement.h: Ditto.
        * svg/SVGFilterPrimitiveStandardAttributes.h: Ditto.
        * svg/SVGForeignObjectElement.h: Ditto.
        * svg/SVGImageElement.h: Ditto.
        * svg/SVGLength.idl: Mark as [SVGProperty].
        * svg/SVGLengthList.cpp: Use Vector API (appendItem -> append). No need to ever use the SVGList API internally. SVGLengthList is a Vector<SVGLength> now.
        (WebCore::SVGLengthList::parse):
        (WebCore::SVGLengthList::valueAsString):
        * svg/SVGLengthList.h: Inherit from Vector<SVGLength> - not from the SVGList base class. It's a simple, non-refcounted POD type now.
        (WebCore::SVGLengthList::SVGLengthList):
        * svg/SVGLengthList.idl: Mark as [SVGListProperty].
        * svg/SVGLineElement.h: s/DECLARE_ANIMATED_PROPERTY/DECLARE_ANIMATED_PROPERTY_NEW/ until the transition to the new concept is finished.
        * svg/SVGLinearGradientElement.h: Ditto.
        * svg/SVGMarkerElement.h: Ditto.
        * svg/SVGMaskElement.h: Ditto.
        * svg/SVGPatternElement.h: Ditto.
        * svg/SVGRadialGradientElement.h: Ditto.
        * svg/SVGRectElement.h: Ditto.
        * svg/SVGSVGElement.h: Ditto.
        * svg/SVGSVGElement.idl: Mark createSVGLength() as [SVGLiveProperty] - a wrapper for the returned object has to be created.
        * svg/SVGTextContentElement.h: s/DECLARE_ANIMATED_PROPERTY/DECLARE_ANIMATED_PROPERTY_NEW/ until the transition to the new concept is finished.
        * svg/SVGTextPathElement.h: Ditto.
        * svg/SVGTextPositioningElement.cpp:
        (WebCore::SVGTextPositioningElement::SVGTextPositioningElement):
        (WebCore::SVGTextPositioningElement::parseMappedAttribute): Detach wrappers pointing to the old x/y/dx/dy list, if the underlying list changes via XML DOM.
        (WebCore::listContainsRelativeValue): Adapt to SVGLengthList interface changes, it's a POD type now.
        * svg/SVGTextPositioningElement.h: s/DECLARE_ANIMATED_PROPERTY/DECLARE_ANIMATED_LIST_PROPERTY_NEW/ until the transition to the new concept is finished.
        * svg/SVGUseElement.h:
        * svg/properties/SVGAnimatedListPropertyTearOff.h: Added.
        * svg/properties/SVGAnimatedProperty.h: Added. This is the base class for SVGAnimatedPropertyTearOff and SVGAnimatedListPropertyTearOff.
        * svg/properties/SVGAnimatedPropertyDescription.h: Added. Refactored from DeprecatedSVGAnimatedProperty.h.
        * svg/properties/SVGAnimatedPropertyMacros.h: Added. These macros will be _removed_ as soon as the transition to the new concept is finished.
        * svg/properties/SVGAnimatedPropertyTearOff.h: Added.
        * svg/properties/SVGListPropertyTearOff.h: Added.
        * svg/properties/SVGProperty.h: Added. This is the base class for SVGPropertyTearOff and SVGListPropertyTearOff.
        * svg/properties/SVGPropertyTearOff.h: Added.
        * svg/properties/SVGPropertyTraits.h: Added.

2010-10-20  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Redesign SVGAnimatedProperty concept to share "POD type wrappers" between all bindings (-> add ObjC SVG bindings)
        https://bugs.webkit.org/show_bug.cgi?id=47905

        Add extensive set of SVGLengthList tests, that all PASS now.

        * platform/mac-leopard/svg/dom: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-appendItem-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-appendItem-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-basics-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-basics-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-getItem-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-getItem-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-initialize-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-initialize-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-insertItemBefore-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-removeItem-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-removeItem-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-replaceItem-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-xml-dom-modifications-expected.checksum: Added.
        * platform/mac-leopard/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-appendItem-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-appendItem-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-basics-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-basics-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-getItem-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-getItem-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-initialize-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-initialize-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-insertItemBefore-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-removeItem-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-removeItem-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-replaceItem-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
        * platform/mac/svg/dom/SVGLengthList-xml-dom-modifications-expected.checksum: Added.
        * platform/mac/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
        * svg/dom/SVGLengthList-appendItem-expected.txt: Added.
        * svg/dom/SVGLengthList-appendItem.xhtml: Added.
        * svg/dom/SVGLengthList-basics-expected.txt: Added.
        * svg/dom/SVGLengthList-basics.xhtml: Added.
        * svg/dom/SVGLengthList-getItem-expected.txt: Added.
        * svg/dom/SVGLengthList-getItem.xhtml: Added.
        * svg/dom/SVGLengthList-initialize-expected.txt: Added.
        * svg/dom/SVGLengthList-initialize.xhtml: Added.
        * svg/dom/SVGLengthList-insertItemBefore-expected.txt: Added.
        * svg/dom/SVGLengthList-insertItemBefore.xhtml: Added.
        * svg/dom/SVGLengthList-removeItem-expected.txt: Added.
        * svg/dom/SVGLengthList-removeItem.xhtml: Added.
        * svg/dom/SVGLengthList-replaceItem-expected.txt: Added.
        * svg/dom/SVGLengthList-replaceItem.xhtml: Added.
        * svg/dom/SVGLengthList-xml-dom-modifications-expected.txt: Added.
        * svg/dom/SVGLengthList-xml-dom-modifications.xhtml: Added.

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

9 years ago2010-10-21 Jay Civelli <jcivelli@chromium.org>
jcivelli@chromium.org [Thu, 21 Oct 2010 10:11:24 +0000 (10:11 +0000)]
2010-10-21  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Adding an API that allows external
        popup menus, without the use of WebCore::PopupMenuChromium.
        Once this is hooked up in Chromium, the plan is to remove
        entirely the external case from PopupMenuChromium.
        https://bugs.webkit.org/show_bug.cgi?id=46016

        * WebKit.gyp:
        * public/WebExternalPopupMenu.h: Added.
        * public/WebExternalPopupMenuClient.h: Added.
        * public/WebMenuItemInfo.h:
        (WebKit::WebMenuItemInfo::WebMenuItemInfo):
        * public/WebView.h:
        * public/WebViewClient.h:
        (WebKit::WebViewClient::createExternalPopupMenu):
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::createPopupMenu):
        * src/ExternalPopupMenu.cpp: Added.
        * src/ExternalPopupMenu.h: Added.
        * src/WebViewImpl.cpp:
        (WebKit::WebView::setUseExternalPopupMenus):
        (WebKit::WebViewImpl::useExternalPopupMenus):
        * src/WebViewImpl.h:

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

9 years ago2010-10-21 Alex Milowski <alex@milowski.com>
commit-queue@webkit.org [Thu, 21 Oct 2010 10:08:19 +0000 (10:08 +0000)]
2010-10-21  Alex Milowski  <alex@milowski.com>

        Reviewed by Kenneth Rohde Christiansen.

        Updated the tests results with changes from the new row layout algorithm.

        * mathml/presentation/row.xhtml:
           Added an mrow to make the tests more consistent.
        * platform/mac/mathml/presentation/fenced-expected.txt:
        * platform/mac/mathml/presentation/fenced-mi-expected.txt:
        * platform/mac/mathml/presentation/fractions-expected.checksum:
        * platform/mac/mathml/presentation/fractions-expected.png:
        * platform/mac/mathml/presentation/fractions-expected.txt:
        * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.checksum:
        * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.png:
        * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
        * platform/mac/mathml/presentation/roots-expected.txt:
        * platform/mac/mathml/presentation/row-alignment-expected.checksum:
        * platform/mac/mathml/presentation/row-alignment-expected.png:
        * platform/mac/mathml/presentation/row-alignment-expected.txt:
        * platform/mac/mathml/presentation/row-expected.txt:
        * platform/mac/mathml/presentation/sub-expected.checksum:
        * platform/mac/mathml/presentation/sub-expected.png:
        * platform/mac/mathml/presentation/sub-expected.txt:
        * platform/mac/mathml/presentation/subsup-expected.txt:
        * platform/mac/mathml/presentation/sup-expected.txt:
        * platform/mac/mathml/presentation/tables-expected.txt:
2010-10-21  Alex Milowski  <alex@milowski.com>

        Reviewed by Kenneth Rohde Christiansen.

        Changed the layout algorithm for rows to avoid unnecessary recursion
        into child rows.  This solves the long rendering time experienced in
        https://bugs.webkit.org/show_bug.cgi?id=43462 as well as reports in
        various other bugs.  The change in the algorithm required some
        tweaks to other rendering objects to make sure that the baseline
        alignment still works.

        In addition, an attempt was made to go through the various
        rendering objects for MathML and reduce unnecessary calls that
        mark the tree in need of layout.

        * mathml/RenderMathMLFenced.cpp:
        * mathml/RenderMathMLFenced.h:
        * mathml/RenderMathMLFraction.cpp:
        (WebCore::RenderMathMLFraction::layout):
        * mathml/RenderMathMLOperator.cpp:
        (WebCore::RenderMathMLOperator::stretchToHeight):
        * mathml/RenderMathMLRoot.cpp:
        (WebCore::RenderMathMLRoot::layout):
        * mathml/RenderMathMLRow.cpp:
        (WebCore::RenderMathMLRow::layout):
        * mathml/RenderMathMLRow.h:
        (WebCore::RenderMathMLRow::stretchToHeight):
        * mathml/RenderMathMLSubSup.cpp:
        (WebCore::RenderMathMLSubSup::addChild):
        (WebCore::RenderMathMLSubSup::stretchToHeight):
        (WebCore::RenderMathMLSubSup::nonOperatorHeight):
        (WebCore::RenderMathMLSubSup::layout):
        (WebCore::RenderMathMLSubSup::baselinePosition):
        * mathml/RenderMathMLUnderOver.cpp:
        (WebCore::RenderMathMLUnderOver::stretchToHeight):
        (WebCore::RenderMathMLUnderOver::layout):
        (WebCore::RenderMathMLUnderOver::nonOperatorHeight):
        * mathml/mathtags.in:

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

9 years ago2010-10-21 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 21 Oct 2010 09:53:04 +0000 (09:53 +0000)]
2010-10-21  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        commit-queue should run run-webkit-tests with --no-new-test-results
        https://bugs.webkit.org/show_bug.cgi?id=47998

        * Scripts/webkitpy/tool/steps/runtests.py:
        * Scripts/webkitpy/tool/steps/steps_unittest.py:

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

9 years ago2010-10-21 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 21 Oct 2010 09:53:02 +0000 (09:53 +0000)]
2010-10-21  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        sqlite: show extended error codes in error logs
        https://bugs.webkit.org/show_bug.cgi?id=47859

        SQLite can provide "extended" error codes, where extra information
        about the error is potentially encoded in the high bits of the error
        code.  It's only off by default in case older apps rely on equality
        testing on the older error codes, which WebKit doesn't do.

        * platform/sql/SQLiteDatabase.cpp:
        (WebCore::SQLiteDatabase::open):
        * platform/sql/SQLiteStatement.cpp:
        (WebCore::SQLiteStatement::step):

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

9 years ago2010-10-21 Juha Savolainen <juha.savolainen@weego.fi>
commit-queue@webkit.org [Thu, 21 Oct 2010 09:39:47 +0000 (09:39 +0000)]
2010-10-21  Juha Savolainen  <juha.savolainen@weego.fi>

        Reviewed by Kenneth Rohde Christiansen.

        This is initial implementation of QWKHistory. The QWKHistory class represents the history of a QWKPage.
        https://bugs.webkit.org/show_bug.cgi?id=47716

        Each QWKPage instance contains a history of a visited pages that can be accessed by QWKHistory::history().
        The QWKPagePrivate class creates QWKHistory in constructor.

        * UIProcess/API/qt/qwkhistory.cpp: Added.
        (QWKHistoryPrivate::QWKHistoryPrivate):
        (QWKHistoryPrivate::createHistory): Creates history object.
        (QWKHistoryPrivate::~QWKHistoryPrivate):
        (QWKHistory::QWKHistory):
        (QWKHistory::~QWKHistory):
        (QWKHistory::backListCount): Gets items count in back.
        (QWKHistory::forwardListCount): Gets items count in forward.
        (QWKHistory::count): Gets items count.
        * UIProcess/API/qt/qwkhistory.h: Added.
        * UIProcess/API/qt/qwkhistory_p.h: Added.
        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::QWKPagePrivate):
        (QWKPagePrivate::~QWKPagePrivate):
        (QWKPage::history): Returns history object.
        * UIProcess/API/qt/qwkpage.h:
        * UIProcess/API/qt/qwkpage_p.h: Added history member variable.
        * WebKit2.pro: Added WKBackForwardList.h, WKBackForwardList.cpp and new files.

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

9 years ago2010-10-21 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
commit-queue@webkit.org [Thu, 21 Oct 2010 09:35:01 +0000 (09:35 +0000)]
2010-10-21  Gabor Rapcsanyi  <rgabor@inf.u-szeged.hu>

        Reviewed by Ojan Vafai.

        [NRWT] Get child process number from an environment variable
        https://bugs.webkit.org/show_bug.cgi?id=47981

        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

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

9 years ago2010-10-21 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Thu, 21 Oct 2010 09:23:39 +0000 (09:23 +0000)]
2010-10-21  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Handle WebSocket events via InspectorInstrumentation
        https://bugs.webkit.org/show_bug.cgi?id=47968

        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::didCreateWebSocketImpl):
        (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequestImpl):
        (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponseImpl):
        (WebCore::InspectorInstrumentation::didCloseWebSocketImpl):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::didCreateWebSocket):
        (WebCore::InspectorInstrumentation::willSendWebSocketHandshakeRequest):
        (WebCore::InspectorInstrumentation::didReceiveWebSocketHandshakeResponse):
        (WebCore::InspectorInstrumentation::didCloseWebSocket):
        * websockets/WebSocketChannel.cpp:
        (WebCore::WebSocketChannel::WebSocketChannel):
        Now we do not depend on InspectorController to generate a resource identifier.
        (WebCore::WebSocketChannel::disconnect):
        Check if m_identifier is valid in case we could not obtain an identifier.
        (WebCore::WebSocketChannel::didOpen):
        (WebCore::WebSocketChannel::didClose):
        (WebCore::WebSocketChannel::processBuffer):
        * websockets/WebSocketChannel.h:

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

9 years ago2010-10-21 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 21 Oct 2010 09:07:04 +0000 (09:07 +0000)]
2010-10-21  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed, skip test failing in the GTK bots.
        https://bugs.webkit.org/show_bug.cgi?id=47690

        * platform/gtk/Skipped:

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

9 years ago2010-10-20 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 21 Oct 2010 08:44:32 +0000 (08:44 +0000)]
2010-10-20  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Convert sidebar into the browsing tree in the Storage panel.
        https://bugs.webkit.org/show_bug.cgi?id=47988

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ApplicationCacheItemsView.js:
        (WebInspector.ApplicationCacheItemsView):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._formatMessage):
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView):
        * inspector/front-end/DatabaseTableView.js:
        (WebInspector.DatabaseTableView.prototype._queryFinished):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel):
        (WebInspector.StoragePanel.prototype.reset):
        (WebInspector.StoragePanel.prototype.addDatabase):
        (WebInspector.StoragePanel.prototype.addCookieDomain):
        (WebInspector.StoragePanel.prototype.addDOMStorage):
        (WebInspector.StoragePanel.prototype.addApplicationCache):
        (WebInspector.StoragePanel.prototype.showDatabase):
        (WebInspector.StoragePanel.prototype.showDOMStorage):
        (WebInspector.StoragePanel.prototype.showCookies):
        (WebInspector.StoragePanel.prototype.showApplicationCache):
        (WebInspector.StoragePanel.prototype.showCategoryView):
        (WebInspector.StoragePanel.prototype._innerShowView):
        (WebInspector.BaseStorageTreeElement):
        (WebInspector.BaseStorageTreeElement.prototype.onattach):
        (WebInspector.StorageCategoryTreeElement):
        (WebInspector.StorageCategoryTreeElement.prototype.onselect):
        (WebInspector.DatabaseTreeElement):
        (WebInspector.DatabaseTreeElement.prototype.onselect):
        (WebInspector.DatabaseTreeElement.prototype.onpopulate.tableNamesCallback):
        (WebInspector.DatabaseTreeElement.prototype.onpopulate):
        (WebInspector.DatabaseTableTreeElement):
        (WebInspector.DatabaseTableTreeElement.prototype.onselect):
        (WebInspector.DOMStorageTreeElement):
        (WebInspector.DOMStorageTreeElement.prototype.onselect):
        (WebInspector.CookieTreeElement):
        (WebInspector.CookieTreeElement.prototype.onselect):
        (WebInspector.ApplicationCacheTreeElement):
        (WebInspector.ApplicationCacheTreeElement.prototype.onselect):
        (WebInspector.StorageCategoryView):
        (WebInspector.StorageCategoryView.prototype.setText):
        * inspector/front-end/inspector.css:
        (.properties-tree ol):
        (.properties-tree ol.expanded):
        (.database-storage-tree-item .icon):
        (.database-table-storage-tree-item .icon):
        (.domstorage-storage-tree-item.local-storage .icon):
        (.domstorage-storage-tree-item.session-storage .icon):
        (.cookie-storage-tree-item .icon):
        (.application-cache-storage-tree-item .icon):
        (.storage.panel .sidebar):
        (.storage.panel .outline-disclosure > ol):
        (.storage.panel .outline-disclosure li):
        (.storage.panel .outline-disclosure li .selection):
        (.storage.panel .sidebar-resizer-vertical):
        (.storage-base-tree-element-title):
        (.storage.panel .outline-disclosure ol):
        (.storage.panel .outline-disclosure li.selected):
        (.storage.panel .outline-disclosure .icon):
        (.storage-empty-view, .storage-view.table .storage-table-error):

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

9 years ago2010-10-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 21 Oct 2010 08:42:36 +0000 (08:42 +0000)]
2010-10-21  Adam Barth  <abarth@webkit.org>

        Skip new test that's failing on Snow Leopard.  Author of patch poked.
        https://bugs.webkit.org/show_bug.cgi?id=47690

        * platform/mac/Skipped:

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

9 years ago2010-10-21 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 21 Oct 2010 08:36:20 +0000 (08:36 +0000)]
2010-10-21  Adam Barth  <abarth@webkit.org>

        Unreviewed, rolling out r70174.
        http://trac.webkit.org/changeset/70174
        https://bugs.webkit.org/show_bug.cgi?id=41948

        This patch reverts a change that causes
        http/tests/xmlhttprequest/origin-whitelisting-removal.html to crash.

        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::throwException):
2010-10-21  Adam Barth  <abarth@webkit.org>

        Unreviewed, rolling out r70174.
        http://trac.webkit.org/changeset/70174
        https://bugs.webkit.org/show_bug.cgi?id=41948

        This patch reverts a change that causes
        http/tests/xmlhttprequest/origin-whitelisting-removal.html to crash.

        * fast/js/exception-registerfile-shrink-expected.txt: Removed.
        * fast/js/exception-registerfile-shrink.html: Removed.
        * fast/js/script-tests/exception-registerfile-shrink.js: Removed.

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

9 years ago2010-10-21 Carlos Garcia Campos <cgarcia@igalia.com>
mrobinson@webkit.org [Thu, 21 Oct 2010 08:08:12 +0000 (08:08 +0000)]
2010-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Replace encodings multi-dimensional array with calls to registrar method
        https://bugs.webkit.org/show_bug.cgi?id=47990

        * platform/text/gtk/TextCodecGtk.cpp:
        (WebCore::isEncodingAvailable):
        (WebCore::registerEncodingNameIfAvailable):
        (WebCore::registerEncodingAliasIfAvailable):
        (WebCore::registerCodecIfAvailable):
        (WebCore::TextCodecGtk::registerBaseEncodingNames):
        (WebCore::TextCodecGtk::registerBaseCodecs):
        (WebCore::TextCodecGtk::registerExtendedEncodingNames):
        (WebCore::TextCodecGtk::registerExtendedCodecs):
        (WebCore::TextCodecGtk::createIConvDecoder):
        (WebCore::TextCodecGtk::createIConvEncoder):
        * platform/text/gtk/TextCodecGtk.h:

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

9 years ago2010-10-21 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 21 Oct 2010 08:02:00 +0000 (08:02 +0000)]
2010-10-21  Martin Robinson  <mrobinson@igalia.com>

        Rebaseline some tests after r70170.

        * platform/gtk/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt:
        * platform/gtk/fast/borders/border-image-rotate-transform-expected.txt:
        * platform/gtk/fast/borders/border-image-scale-transform-expected.txt:
        * platform/gtk/transforms/2d/hindi-rotated-expected.txt:

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

9 years ago2010-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
hayato@chromium.org [Thu, 21 Oct 2010 06:25:04 +0000 (06:25 +0000)]
2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70040.
        http://trac.webkit.org/changeset/70040
        https://bugs.webkit.org/show_bug.cgi?id=48042

        "Reverting a performance regression detected by page_cycler"
        (Requested by hayato on #webkit).

        * fast/css/long-css-selector-matches-expected.txt: Removed.
        * fast/css/long-css-selector-matches.html: Removed.
2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r70040.
        http://trac.webkit.org/changeset/70040
        https://bugs.webkit.org/show_bug.cgi?id=48042

        "Reverting a performance regression detected by page_cycler"
        (Requested by hayato on #webkit).

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
        (WebCore::CSSStyleSelector::checkSelector):
        * css/CSSStyleSelector.h:

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

9 years agoRemove some no-longer-needed Windows-specific results
aroben@apple.com [Thu, 21 Oct 2010 04:26:31 +0000 (04:26 +0000)]
Remove some no-longer-needed Windows-specific results

* platform/win/fast/media/mq-transform-02-expected.txt: Removed.
* platform/win/fast/media/mq-transform-03-expected.txt: Removed.

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

9 years ago<http://webkit.org/b/47754> New script to verify explicit source file types in Xcode...
ddkilzer@apple.com [Thu, 21 Oct 2010 04:03:10 +0000 (04:03 +0000)]
<webkit.org/b/47754> New script to verify explicit source file types in Xcode project files

Reviewed by Darin Adler.

The script parses an Xcode project file and makes sure the file
extension matches the explicit file type set for all source
files.  Note that the majority of source files will have their
type set by Xcode, so the script doesn't check them since there
is no need to second-guess Xcode.

* Scripts/check-Xcode-source-file-types: Added.  Code borrowed
heavily from sort-Xcode-project-file.

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

9 years ago2010-10-20 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 21 Oct 2010 02:23:28 +0000 (02:23 +0000)]
2010-10-20  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        * platform/chromium-mac/fast/forms/search-transformed-expected.checksum:
        * platform/chromium-mac/fast/forms/search-transformed-expected.png:

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

9 years ago2010-10-20 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 21 Oct 2010 02:14:02 +0000 (02:14 +0000)]
2010-10-20  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.
        fast/transforms/scrollIntoView-transformed.html now passes for WIN and LINUX.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-20 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 21 Oct 2010 02:03:59 +0000 (02:03 +0000)]
2010-10-20  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        * platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png: Removed.

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

9 years ago2010-10-19 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 21 Oct 2010 01:44:05 +0000 (01:44 +0000)]
2010-10-19  Mihai Parparita  <mihaip@chromium.org>

        css2.1/ layout tests need new Mac baselines for Snow Leopard
        https://bugs.webkit.org/show_bug.cgi?id=47760

        Unreviewed rebaseline of 66 more css2.1/ test for Snow Leopard using
        the experimental local rebaselining tool.

        * platform/mac-leopard/css2.1/t040103-escapes-01-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-01-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-01-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-01-b-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-02-d-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-02-d-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-02-d-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-02-d-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-03-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-03-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-03-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-03-b-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-04-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-04-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-04-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-04-b-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-05-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-05-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-05-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-05-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-06-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-06-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-06-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-06-b-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-07-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-07-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-07-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-07-b-expected.png.
        * platform/mac-leopard/css2.1/t040103-escapes-08-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-08-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-escapes-08-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-escapes-08-b-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-00-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-00-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-00-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-00-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-01-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-01-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-01-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-01-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-02-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-02-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-02-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-02-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-03-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-03-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-03-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-03-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-04-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-04-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-04-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-04-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-05-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-05-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-05-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-05-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-06-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-06-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-06-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-06-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-07-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-07-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-07-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-07-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-08-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-08-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-08-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-08-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-09-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-09-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-09-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-09-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-10-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-10-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-10-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-10-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-11-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-11-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-11-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-11-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-12-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-12-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-12-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-12-c-expected.png.
        * platform/mac-leopard/css2.1/t040103-ident-13-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-13-c-expected.checksum.
        * platform/mac-leopard/css2.1/t040103-ident-13-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040103-ident-13-c-expected.png.
        * platform/mac-leopard/css2.1/t040105-atkeyw-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atkeyw-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atkeyw-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atkeyw-00-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atkeyw-01-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atkeyw-01-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atkeyw-01-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atkeyw-01-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atkeyw-02-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atkeyw-02-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atkeyw-02-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atkeyw-02-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atrule-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atrule-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-00-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atrule-01-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-01-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atrule-01-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-01-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atrule-02-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-02-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atrule-02-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-02-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atrule-03-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-03-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atrule-03-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-03-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-atrule-04-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-04-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-atrule-04-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-atrule-04-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-import-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-import-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-import-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-import-00-b-expected.png.
        * platform/mac-leopard/css2.1/t040105-import-01-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040105-import-01-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040105-import-01-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040105-import-01-b-expected.png.
        * platform/mac-leopard/css2.1/t040109-c17-comments-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040109-c17-comments-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040109-c17-comments-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040109-c17-comments-00-b-expected.png.
        * platform/mac-leopard/css2.1/t040109-c17-comments-01-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040109-c17-comments-01-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040109-c17-comments-01-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040109-c17-comments-01-b-expected.png.
        * platform/mac-leopard/css2.1/t040302-c61-ex-len-00-b-a-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040302-c61-ex-len-00-b-a-expected.checksum.
        * platform/mac-leopard/css2.1/t040302-c61-ex-len-00-b-a-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040302-c61-ex-len-00-b-a-expected.png.
        * platform/mac-leopard/css2.1/t040302-c61-phys-len-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040302-c61-phys-len-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040302-c61-phys-len-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040302-c61-phys-len-00-b-expected.png.
        * platform/mac-leopard/css2.1/t040302-c61-rel-len-00-b-ag-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040302-c61-rel-len-00-b-ag-expected.checksum.
        * platform/mac-leopard/css2.1/t040302-c61-rel-len-00-b-ag-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040302-c61-rel-len-00-b-ag-expected.png.
        * platform/mac-leopard/css2.1/t040303-c62-percent-00-b-ag-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040303-c62-percent-00-b-ag-expected.checksum.
        * platform/mac-leopard/css2.1/t040303-c62-percent-00-b-ag-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040303-c62-percent-00-b-ag-expected.png.
        * platform/mac-leopard/css2.1/t040304-c64-uri-00-a-g-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040304-c64-uri-00-a-g-expected.checksum.
        * platform/mac-leopard/css2.1/t040304-c64-uri-00-a-g-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040304-c64-uri-00-a-g-expected.png.
        * platform/mac-leopard/css2.1/t040306-c63-color-00-b-ag-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040306-c63-color-00-b-ag-expected.checksum.
        * platform/mac-leopard/css2.1/t040306-c63-color-00-b-ag-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040306-c63-color-00-b-ag-expected.png.
        * platform/mac-leopard/css2.1/t040306-syntax-01-f-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040306-syntax-01-f-expected.checksum.
        * platform/mac-leopard/css2.1/t040306-syntax-01-f-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040306-syntax-01-f-expected.png.
        * platform/mac-leopard/css2.1/t040307-syntax-01-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t040307-syntax-01-b-expected.checksum.
        * platform/mac-leopard/css2.1/t040307-syntax-01-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t040307-syntax-01-b-expected.png.
        * platform/mac-leopard/css2.1/t050201-c12-grouping-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t050201-c12-grouping-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t050201-c12-grouping-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t050201-c12-grouping-00-b-expected.png.
        * platform/mac-leopard/css2.1/t050803-c14-classes-00-e-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t050803-c14-classes-00-e-expected.checksum.
        * platform/mac-leopard/css2.1/t050803-c14-classes-00-e-expected.png: Copied from LayoutTests/platform/mac/css2.1/t050803-c14-classes-00-e-expected.png.
        * platform/mac-leopard/css2.1/t051103-c21-activ-ln-00-e-i-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051103-c21-activ-ln-00-e-i-expected.checksum.
        * platform/mac-leopard/css2.1/t051103-c21-activ-ln-00-e-i-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051103-c21-activ-ln-00-e-i-expected.png.
        * platform/mac-leopard/css2.1/t051103-c21-focus-ln-00-e-i-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051103-c21-focus-ln-00-e-i-expected.checksum.
        * platform/mac-leopard/css2.1/t051103-c21-focus-ln-00-e-i-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051103-c21-focus-ln-00-e-i-expected.png.
        * platform/mac-leopard/css2.1/t051103-c21-hover-ln-00-e-i-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051103-c21-hover-ln-00-e-i-expected.checksum.
        * platform/mac-leopard/css2.1/t051103-c21-hover-ln-00-e-i-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051103-c21-hover-ln-00-e-i-expected.png.
        * platform/mac-leopard/css2.1/t051103-dom-hover-01-c-io-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051103-dom-hover-01-c-io-expected.checksum.
        * platform/mac-leopard/css2.1/t051103-dom-hover-01-c-io-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051103-dom-hover-01-c-io-expected.png.
        * platform/mac-leopard/css2.1/t051103-dom-hover-02-c-io-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051103-dom-hover-02-c-io-expected.checksum.
        * platform/mac-leopard/css2.1/t051103-dom-hover-02-c-io-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051103-dom-hover-02-c-io-expected.png.
        * platform/mac-leopard/css2.1/t051201-c23-first-line-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051201-c23-first-line-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t051201-c23-first-line-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051201-c23-first-line-00-b-expected.png.
        * platform/mac-leopard/css2.1/t051202-c24-first-lttr-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051202-c24-first-lttr-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t051202-c24-first-lttr-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051202-c24-first-lttr-00-b-expected.png.
        * platform/mac-leopard/css2.1/t051202-c26-psudo-nest-00-c-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t051202-c26-psudo-nest-00-c-expected.checksum.
        * platform/mac-leopard/css2.1/t051202-c26-psudo-nest-00-c-expected.png: Copied from LayoutTests/platform/mac/css2.1/t051202-c26-psudo-nest-00-c-expected.png.
        * platform/mac-leopard/css2.1/t060401-c32-cascading-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t060401-c32-cascading-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t060401-c32-cascading-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t060401-c32-cascading-00-b-expected.png.
        * platform/mac-leopard/css2.1/t060402-c31-important-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t060402-c31-important-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t060402-c31-important-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t060402-c31-important-00-b-expected.png.
        * platform/mac-leopard/css2.1/t060403-c21-pseu-cls-00-e-i-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t060403-c21-pseu-cls-00-e-i-expected.checksum.
        * platform/mac-leopard/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png: Copied from LayoutTests/platform/mac/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png.
        * platform/mac-leopard/css2.1/t060403-c21-pseu-id-00-e-i-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t060403-c21-pseu-id-00-e-i-expected.checksum.
        * platform/mac-leopard/css2.1/t060403-c21-pseu-id-00-e-i-expected.png: Copied from LayoutTests/platform/mac/css2.1/t060403-c21-pseu-id-00-e-i-expected.png.
        * platform/mac-leopard/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t080301-c411-vt-mrgn-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-00-b-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-02-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-02-b-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-02-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-02-b-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-03-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-03-b-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5513-brdr-bw-03-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-brdr-bw-03-b-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-00-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-00-b-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-00-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-00-b-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-02-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-02-b-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-02-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-02-b-expected.png.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-03-b-expected.checksum: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-03-b-expected.checksum.
        * platform/mac-leopard/css2.1/t0805-c5514-brdr-lw-03-b-expected.png: Copied from LayoutTests/platform/mac/css2.1/t0805-c5514-brdr-lw-03-b-expected.png.
        * platform/mac/css2.1/t040103-escapes-01-b-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-01-b-expected.png:
        * platform/mac/css2.1/t040103-escapes-02-d-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-02-d-expected.png:
        * platform/mac/css2.1/t040103-escapes-03-b-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-03-b-expected.png:
        * platform/mac/css2.1/t040103-escapes-04-b-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-04-b-expected.png:
        * platform/mac/css2.1/t040103-escapes-05-c-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-05-c-expected.png:
        * platform/mac/css2.1/t040103-escapes-06-b-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-06-b-expected.png:
        * platform/mac/css2.1/t040103-escapes-07-b-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-07-b-expected.png:
        * platform/mac/css2.1/t040103-escapes-08-b-expected.checksum:
        * platform/mac/css2.1/t040103-escapes-08-b-expected.png:
        * platform/mac/css2.1/t040103-ident-00-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-00-c-expected.png:
        * platform/mac/css2.1/t040103-ident-01-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-01-c-expected.png:
        * platform/mac/css2.1/t040103-ident-02-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-02-c-expected.png:
        * platform/mac/css2.1/t040103-ident-03-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-03-c-expected.png:
        * platform/mac/css2.1/t040103-ident-04-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-04-c-expected.png:
        * platform/mac/css2.1/t040103-ident-05-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-05-c-expected.png:
        * platform/mac/css2.1/t040103-ident-06-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-06-c-expected.png:
        * platform/mac/css2.1/t040103-ident-07-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-07-c-expected.png:
        * platform/mac/css2.1/t040103-ident-08-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-08-c-expected.png:
        * platform/mac/css2.1/t040103-ident-09-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-09-c-expected.png:
        * platform/mac/css2.1/t040103-ident-10-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-10-c-expected.png:
        * platform/mac/css2.1/t040103-ident-11-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-11-c-expected.png:
        * platform/mac/css2.1/t040103-ident-12-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-12-c-expected.png:
        * platform/mac/css2.1/t040103-ident-13-c-expected.checksum:
        * platform/mac/css2.1/t040103-ident-13-c-expected.png:
        * platform/mac/css2.1/t040105-atkeyw-00-b-expected.checksum:
        * platform/mac/css2.1/t040105-atkeyw-00-b-expected.png:
        * platform/mac/css2.1/t040105-atkeyw-01-b-expected.checksum:
        * platform/mac/css2.1/t040105-atkeyw-01-b-expected.png:
        * platform/mac/css2.1/t040105-atkeyw-02-b-expected.checksum:
        * platform/mac/css2.1/t040105-atkeyw-02-b-expected.png:
        * platform/mac/css2.1/t040105-atrule-00-b-expected.checksum:
        * platform/mac/css2.1/t040105-atrule-00-b-expected.png:
        * platform/mac/css2.1/t040105-atrule-01-b-expected.checksum:
        * platform/mac/css2.1/t040105-atrule-01-b-expected.png:
        * platform/mac/css2.1/t040105-atrule-02-b-expected.checksum:
        * platform/mac/css2.1/t040105-atrule-02-b-expected.png:
        * platform/mac/css2.1/t040105-atrule-03-b-expected.checksum:
        * platform/mac/css2.1/t040105-atrule-03-b-expected.png:
        * platform/mac/css2.1/t040105-atrule-04-b-expected.checksum:
        * platform/mac/css2.1/t040105-atrule-04-b-expected.png:
        * platform/mac/css2.1/t040105-import-00-b-expected.checksum:
        * platform/mac/css2.1/t040105-import-00-b-expected.png:
        * platform/mac/css2.1/t040105-import-01-b-expected.checksum:
        * platform/mac/css2.1/t040105-import-01-b-expected.png:
        * platform/mac/css2.1/t040109-c17-comments-00-b-expected.checksum:
        * platform/mac/css2.1/t040109-c17-comments-00-b-expected.png:
        * platform/mac/css2.1/t040109-c17-comments-01-b-expected.checksum:
        * platform/mac/css2.1/t040109-c17-comments-01-b-expected.png:
        * platform/mac/css2.1/t040302-c61-ex-len-00-b-a-expected.checksum:
        * platform/mac/css2.1/t040302-c61-ex-len-00-b-a-expected.png:
        * platform/mac/css2.1/t040302-c61-phys-len-00-b-expected.checksum:
        * platform/mac/css2.1/t040302-c61-phys-len-00-b-expected.png:
        * platform/mac/css2.1/t040302-c61-rel-len-00-b-ag-expected.checksum:
        * platform/mac/css2.1/t040302-c61-rel-len-00-b-ag-expected.png:
        * platform/mac/css2.1/t040303-c62-percent-00-b-ag-expected.checksum:
        * platform/mac/css2.1/t040303-c62-percent-00-b-ag-expected.png:
        * platform/mac/css2.1/t040304-c64-uri-00-a-g-expected.checksum:
        * platform/mac/css2.1/t040304-c64-uri-00-a-g-expected.png:
        * platform/mac/css2.1/t040306-c63-color-00-b-ag-expected.checksum:
        * platform/mac/css2.1/t040306-c63-color-00-b-ag-expected.png:
        * platform/mac/css2.1/t040306-syntax-01-f-expected.checksum:
        * platform/mac/css2.1/t040306-syntax-01-f-expected.png:
        * platform/mac/css2.1/t040307-syntax-01-b-expected.checksum:
        * platform/mac/css2.1/t040307-syntax-01-b-expected.png:
        * platform/mac/css2.1/t050201-c12-grouping-00-b-expected.checksum:
        * platform/mac/css2.1/t050201-c12-grouping-00-b-expected.png:
        * platform/mac/css2.1/t050803-c14-classes-00-e-expected.checksum:
        * platform/mac/css2.1/t050803-c14-classes-00-e-expected.png:
        * platform/mac/css2.1/t051103-c21-activ-ln-00-e-i-expected.checksum:
        * platform/mac/css2.1/t051103-c21-activ-ln-00-e-i-expected.png:
        * platform/mac/css2.1/t051103-c21-focus-ln-00-e-i-expected.checksum:
        * platform/mac/css2.1/t051103-c21-focus-ln-00-e-i-expected.png:
        * platform/mac/css2.1/t051103-c21-hover-ln-00-e-i-expected.checksum:
        * platform/mac/css2.1/t051103-c21-hover-ln-00-e-i-expected.png:
        * platform/mac/css2.1/t051103-dom-hover-01-c-io-expected.checksum:
        * platform/mac/css2.1/t051103-dom-hover-01-c-io-expected.png:
        * platform/mac/css2.1/t051103-dom-hover-02-c-io-expected.checksum:
        * platform/mac/css2.1/t051103-dom-hover-02-c-io-expected.png:
        * platform/mac/css2.1/t051201-c23-first-line-00-b-expected.checksum:
        * platform/mac/css2.1/t051201-c23-first-line-00-b-expected.png:
        * platform/mac/css2.1/t051202-c24-first-lttr-00-b-expected.checksum:
        * platform/mac/css2.1/t051202-c24-first-lttr-00-b-expected.png:
        * platform/mac/css2.1/t051202-c26-psudo-nest-00-c-expected.checksum:
        * platform/mac/css2.1/t051202-c26-psudo-nest-00-c-expected.png:
        * platform/mac/css2.1/t060401-c32-cascading-00-b-expected.checksum:
        * platform/mac/css2.1/t060401-c32-cascading-00-b-expected.png:
        * platform/mac/css2.1/t060402-c31-important-00-b-expected.checksum:
        * platform/mac/css2.1/t060402-c31-important-00-b-expected.png:
        * platform/mac/css2.1/t060403-c21-pseu-cls-00-e-i-expected.checksum:
        * platform/mac/css2.1/t060403-c21-pseu-cls-00-e-i-expected.png:
        * platform/mac/css2.1/t060403-c21-pseu-id-00-e-i-expected.checksum:
        * platform/mac/css2.1/t060403-c21-pseu-id-00-e-i-expected.png:
        * platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum:
        * platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-00-b-expected.checksum:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-00-b-expected.png:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.checksum:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-01-b-g-expected.png:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-02-b-expected.checksum:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-02-b-expected.png:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-03-b-expected.checksum:
        * platform/mac/css2.1/t0805-c5513-brdr-bw-03-b-expected.png:
        * platform/mac/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.checksum:
        * platform/mac/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.png:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-00-b-expected.checksum:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-00-b-expected.png:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.checksum:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-01-b-g-expected.png:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-02-b-expected.checksum:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-02-b-expected.png:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-03-b-expected.checksum:
        * platform/mac/css2.1/t0805-c5514-brdr-lw-03-b-expected.png:

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

9 years ago2010-10-20 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Thu, 21 Oct 2010 01:39:05 +0000 (01:39 +0000)]
2010-10-20  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectation change.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-10-20 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 21 Oct 2010 01:36:54 +0000 (01:36 +0000)]
2010-10-20  Simon Fraser  <simon.fraser@apple.com>

        Fix the EFL build.

        * wtf/CMakeLists.txt:

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

9 years ago2010-10-20 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 21 Oct 2010 01:28:58 +0000 (01:28 +0000)]
2010-10-20  Simon Fraser  <simon.fraser@apple.com>

        Fix Windows build: export needed symbols.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

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

9 years ago2010-10-20 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 21 Oct 2010 01:17:35 +0000 (01:17 +0000)]
2010-10-20  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Composited elements drawn twice when WebView is layer-backed
        https://bugs.webkit.org/show_bug.cgi?id=48024
        <rdar://problem/7916580>

        When drawing content in a layer-backed WebView, WebFrame's test
        for drawing to a bitmap succeeded, causing us to paint flattened
        compositing layers into the view. They would also be rendered
        by the normal compositing path, resulting in double rendering.

        Fix this by detecting when the WebHTMLView is being drawn into
        a layer, and avoiding flattening in that case.

        * WebView/WebFrame.mm:
        (-[WebFrame _showFlattenedCompositingLayers:]):
        (-[WebFrame _drawRect:contentsOnly:]):
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView drawLayer:inContext:]):
        (-[WebHTMLView _web_isDrawingIntoLayer]):
        * WebView/WebHTMLViewInternal.h:

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

9 years ago2010-10-19 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 21 Oct 2010 01:15:07 +0000 (01:15 +0000)]
2010-10-19  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Gavin Barraclough.

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

        Add methods to DecimalNumber to return the buffer length
        required for decimal and exponential output.

        Make some of the DecimalNumber code non-inline (no
        effect on Sunspider), adding DecimalNumber.cpp to various
        build systems.

        Make some DecimalNumber methods 'const'.

        * Android.mk:
        * Android.v8.wtf.mk:
        * GNUmakefile.am:
        * JavaScriptCore.exp:
        * JavaScriptCore.gypi:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * runtime/NumberPrototype.cpp:
        (JSC::numberProtoFuncToExponential):
        (JSC::numberProtoFuncToFixed):
        (JSC::numberProtoFuncToPrecision):
        * wtf/DecimalNumber.cpp: Added.
        (WTF::DecimalNumber::bufferLengthForStringDecimal):
        (WTF::DecimalNumber::bufferLengthForStringExponential):
        (WTF::DecimalNumber::toStringDecimal):
        (WTF::DecimalNumber::toStringExponential):
        * wtf/DecimalNumber.h:
        (WTF::DecimalNumber::sign):
        (WTF::DecimalNumber::exponent):
        (WTF::DecimalNumber::significand):
        (WTF::DecimalNumber::precision):
        * wtf/dtoa.cpp:
        (WTF::dtoa):
        * wtf/dtoa.h:
        * wtf/wtf.pri:

2010-10-19  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Gavin Barraclough.

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

        Avoid buffer overflows in CSSPrimitiveValue's use of
        DecimalNumber, and pass the buffer size in InspectorBasicValue.

        Test: fast/css/large-value-csstext.html

        * css/CSSPrimitiveValue.cpp:
        (WebCore::formatNumber):
        * inspector/InspectorValues.cpp:
        (WebCore::InspectorBasicValue::writeJSON):

2010-10-20  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Gavin Barraclough.

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

        Fix buffer overflow in the printing of very large and very small numbers in
        CSSPrimitiveValues.

        * fast/css/large-value-csstext-expected.txt: Added.
        * fast/css/large-value-csstext.html: Added.

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

9 years agoWindows build fix
aroben@apple.com [Thu, 21 Oct 2010 00:39:50 +0000 (00:39 +0000)]
Windows build fix

* TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Added missing #include.

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

9 years agoQt test fix
aroben@apple.com [Thu, 21 Oct 2010 00:35:44 +0000 (00:35 +0000)]
Qt test fix

* DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: Added
PassDifferentNPPStruct.cpp.

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

9 years agoWebCore: Add SecurityOrigin::threadsafeCopy() to the list of exported symbols.
dumi@chromium.org [Thu, 21 Oct 2010 00:25:37 +0000 (00:25 +0000)]
WebCore: Add SecurityOrigin::threadsafeCopy() to the list of exported symbols.
https://bugs.webkit.org/show_bug.cgi?id=40655

Reviewed by David Levin.

* WebCore.exp.in:

WebKit/mac: Repost the DatabaseTracker notifications to the main thread, if needed.
https://bugs.webkit.org/show_bug.cgi?id=40655

Reviewed by David Levin.

* Storage/WebDatabaseTrackerClient.mm:
(DidModifyOriginData::dispatchToMainThread):
(DidModifyOriginData::DidModifyOriginData):
(DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
(WebDatabaseTrackerClient::dispatchDidModifyOrigin):
(WebDatabaseTrackerClient::dispatchDidModifyDatabase):

WebKit/win: Repost the DatabaseTracker notifications to the main thread, if needed.
https://bugs.webkit.org/show_bug.cgi?id=40655

Reviewed by David Levin.

* WebDatabaseManager.cpp:
(DidModifyOriginData::dispatchToMainThread):
(DidModifyOriginData::DidModifyOriginData):
(DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
(WebDatabaseManager::dispatchDidModifyOrigin):
(WebDatabaseManager::dispatchDidModifyDatabase):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=48027
weinig@apple.com [Thu, 21 Oct 2010 00:22:13 +0000 (00:22 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=48027
Add ability to test injected bundle API using TestWebKitAPI

Reviewed by Adam Roben.

* TestWebKitAPI/InjectedBundleController.cpp: Added.
* TestWebKitAPI/InjectedBundleController.h: Added.
Shared main object for bundle functionality.

* TestWebKitAPI/InjectedBundleMain.cpp: Added.
Bundle entry point.

* TestWebKitAPI/InjectedBundleTest.h: Added.
Base class for which the bundle portion of a test derives from.

* TestWebKitAPI/PlatformUtilities.h:
* TestWebKitAPI/PlatformUtilities.cpp: Added.
* TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
* TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
(TestWebKitAPI::Util::createInjectedBundlePath):
(TestWebKitAPI::Util::createURLForResource):
(TestWebKitAPI::Util::URLForNonExistentResource):
Add helper to create a context with the shared injected bundle,
and send the initial message to set up the test.

* TestWebKitAPI/Configurations/InjectedBundle.xcconfig: Added.
* TestWebKitAPI/InjectedBundle-Info.plist: Added.
Add mac configuration files.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
Add the new files.

* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp: Added.
* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp: Added.
Add a simple initial bundle test.

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

9 years ago2010-10-20 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 21 Oct 2010 00:11:29 +0000 (00:11 +0000)]
2010-10-20  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Fixing /release-patch url used by the EWS bots.

        EWS should test patches with r+
        https://bugs.webkit.org/show_bug.cgi?id=35460

        * Scripts/webkitpy/common/net/statusserver.py:
         - I changed the URL during development, and 404s are
         intentionally silenced during release_patch.

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

9 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=48023
bdakin@apple.com [Thu, 21 Oct 2010 00:11:02 +0000 (00:11 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=48023
fast/transforms/scrollIntoView-transformed.html should have
different expectations now that transforms affect overflow

Reviewed by Simon Fraser.

* fast/transforms/scrollIntoView-transformed-expected.txt:
* fast/transforms/scrollIntoView-transformed.html:

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

9 years ago2010-10-20 Kenneth Russell <kbr@google.com>
kbr@google.com [Wed, 20 Oct 2010 23:54:25 +0000 (23:54 +0000)]
2010-10-20  Kenneth Russell  <kbr@google.com>

        Unreviewed, test expectations update.

        Added skip entries for crashing plugin-related compositing/ layout
        tests on the chromium-gpu-mac platform. Aside from this, the
        common (Mac) test expectations can be reused. At this point, it
        should be possible to expect that the enabled compositing/ tests
        will all pass.

        * platform/chromium-gpu/test_expectations.txt:

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

9 years agoDon't require the plugin to always use the same NPP struct we gave it in NPP_New
aroben@apple.com [Wed, 20 Oct 2010 23:39:37 +0000 (23:39 +0000)]
Don't require the plugin to always use the same NPP struct we gave it in NPP_New

Neither WebCore, nor WebKit/mac, nor Firefox requires this, and
Shockwave (at least) seems to use a different NPP struct that contains
the same ndata member. So we shouldn't enforce it, either.

Fixes <http://webkit.org/b/47690> <rdar://problem/8553020> Assertion
failure in NetscapePlugin::fromNPP when using Shockwave in WebKit2

Reviewed by John Sullivan.

WebKit2:

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::fromNPP): Removed the bogus assertion.

WebKitTools:

Test that passing a different NPP struct back to the browser doesn't
cause an assertion failure

* DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp: Copied from WebKitTools/DumpRenderTree/TestNetscapePlugIn/Tests/win/GetValueNetscapeWindow.cpp.
(PassDifferentNPPStruct::PassDifferentNPPStruct): Initialize our
members.
(PassDifferentNPPStruct::NPP_SetWindow): Pass a different NPP to the
browser than the one it gave us in NPP_New and see if it works.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
Added PassDifferentNPPStruct.

LayoutTests:

Test that passing a different NPP struct back to the browser doesn't
cause an assertion failure

* plugins/pass-different-npp-struct-expected.txt: Added.
* plugins/pass-different-npp-struct.html: Added.

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