Timeline



Aug 26, 2010:

11:55 PM Changeset in webkit [66185] by jhoneycutt@apple.com
  • 2 edits in trunk/WebKitTools

Add Windows WebKit2 Tester to buildbot
<rdar://problem/7887703>

Reviewed by Dan Bernstein.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
11:48 PM Changeset in webkit [66184] by Philippe Normand
  • 4 edits in trunk

2010-08-26 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
https://bugs.webkit.org/show_bug.cgi?id=42152

  • DumpRenderTree/gtk/WorkQueueItemGtk.cpp: (LoadHTMLStringItem::invoke): Implementation using webkit_web_frame_load_string().

LayoutTests:

Reviewed by Martin Robinson.

[GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
https://bugs.webkit.org/show_bug.cgi?id=42152

  • platform/gtk/Skipped: Unskip now passing test.
11:29 PM Changeset in webkit [66183] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, Chromium expectations update.

  • platform/chromium/test_expectations.txt:
11:10 PM Changeset in webkit [66182] by Girish Ramakrishnan
  • 2 edits in trunk/WebKit/qt

[Qt] Remove dead code.

Reviewed by Antonio Gomes.

  • WebCoreSupport/ChromeClientQt.cpp:

(WebCore::ChromeClientQt::statusbarVisible):

10:27 PM Changeset in webkit [66181] by dumi@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-mac/fast/css/percent-top-relative-container-height-unspecified-expected.checksum: Added.
  • platform/chromium-mac/fast/css/percent-top-relative-container-height-unspecified-expected.png: Added.
9:27 PM Changeset in webkit [66180] by dumi@chromium.org
  • 2 edits in trunk/WebKit/chromium

Unreviewed, Chromium build fix.

  • src/WebFrameImpl.cpp:

(WebKit::WebFrameImpl::markerTextForListItem):

9:26 PM Changeset in webkit [66179] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, Chromium expectations update.

  • platform/chromium/test_expectations.txt:
9:15 PM Changeset in webkit [66178] by dbates@webkit.org
  • 4 edits in trunk/WebKitSite

2010-08-26 Daniel Bates <dbates@rim.com>

Reviewed by Dumitru Daniliuc.

Fix misspelled words on WebKit.org contact.html,
demos/index.html, and quality/leakhunting.html
https://bugs.webkit.org/show_bug.cgi?id=44747

Fix some misspelled words on the WebKit.org site.

  • contact.html: Change "bugreports" [sic] to "bug reports".
  • demos/index.html: Change "testcase" [sic] to "test case".
  • quality/leakhunting.html: Change "formating" [sic] to "formatting".
9:09 PM Changeset in webkit [66177] by dumi@chromium.org
  • 3 edits
    3 adds in trunk/LayoutTests

Unreviewed, Chromium expectations update.

  • platform/chromium-mac/fast/forms/select-style-expected.checksum: Added.
  • platform/chromium-mac/fast/forms/select-style-expected.png: Added.
  • platform/chromium-mac/fast/forms/select-style-expected.txt: Added.
  • platform/chromium-win/fast/forms/select-style-expected.checksum:
  • platform/chromium-win/fast/forms/select-style-expected.png:
9:01 PM Changeset in webkit [66176] by dumi@chromium.org
  • 6 edits in trunk/WebKit/chromium

Add support for markerTextForListItem() to Chromium's LayoutTestController.
https://bugs.webkit.org/show_bug.cgi?id=44724

Reviewed by Darin Fisher.

  • public/WebBindings.h:
  • public/WebFrame.h:
  • src/WebBindings.cpp:

(WebKit::getElementImpl):
(WebKit::WebBindings::getElement):

  • src/WebFrameImpl.cpp:

(WebKit::WebFrameImpl::markerTextForListItem):

  • src/WebFrameImpl.h:
8:54 PM Changeset in webkit [66175] by dbates@webkit.org
  • 2 edits in trunk/WebKit2

2010-08-26 Daniel Bates <dbates@rim.com>

Attempt to fix the Qt WebKit2 build.

  • WebProcess/WebPage/qt/WebPageQt.cpp: (WebKit::WebPage::performDefaultBehaviorForKeyEvent): Pass m_page.get() to WebKit::scroll() instead of m_page since it expects a raw pointer.
8:26 PM Changeset in webkit [66174] by dumi@chromium.org
  • 1 edit
    6 adds in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-linux/fast/css/percent-top-relative-container-height-unspecified-expected.checksum: Added.
  • platform/chromium-linux/fast/css/percent-top-relative-container-height-unspecified-expected.png: Added.
  • platform/chromium-linux/fast/css/percent-top-relative-container-height-unspecified-expected.txt: Added.
  • platform/chromium-win/fast/css/percent-top-relative-container-height-unspecified-expected.checksum: Added.
  • platform/chromium-win/fast/css/percent-top-relative-container-height-unspecified-expected.png: Added.
  • platform/chromium-win/fast/css/percent-top-relative-container-height-unspecified-expected.txt: Added.
8:23 PM Changeset in webkit [66173] by aestes@apple.com
  • 2 edits in trunk/LayoutTests

Fix a flakey test.

Rubber-stamped by Jon Honeycutt.

  • fast/replaced/object-with-embed-url-param.html:
8:17 PM Changeset in webkit [66172] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium/test_expectations.txt:
7:58 PM Changeset in webkit [66171] by yuzo@google.com
  • 2 edits in trunk/LayoutTests

2010-08-26 Yuzo Fujishima <yuzo@google.com>

Unreviewed Chromium test expectation change.

  • platform/chromium/test_expectations.txt:
7:38 PM Changeset in webkit [66170] by aestes@apple.com
  • 3 edits
    4 adds in trunk

Based on a patch by Mihnea Ovidenie <mihnea@adobe.com>.

Reviewed by Darin Adler.

Percentage top value on position:relative descendant not resolved
correctly if containing block height is not specified explicitly.
https://bugs.webkit.org/show_bug.cgi?id=26396

WebCore:

If the containing block height is auto and the element is positioned
relatively, and if the element's top/bottom is percent, then resolve the
top/bottom as auto.

Test: fast/css/percent-top-relative-container-height-unspecified.html

  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::relativePositionOffsetY):

LayoutTests:

  • fast/css/percent-top-relative-container-height-unspecified.html: Added.
  • platform/mac/fast/css/percent-top-relative-container-height-unspecified-expected.checksum: Added.
  • platform/mac/fast/css/percent-top-relative-container-height-unspecified-expected.png: Added.
  • platform/mac/fast/css/percent-top-relative-container-height-unspecified-expected.txt: Added.
7:37 PM Changeset in webkit [66169] by barraclough@apple.com
  • 2 edits in trunk/WebKit2

Speculative windows build fix.

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::WebView):

7:18 PM Changeset in webkit [66168] by jamesr@google.com
  • 2 edits in trunk/WebCore

2010-08-26 James Robinson <jamesr@chromium.org>

Another chromium mac build fix. What a dumb version of GCC.

  • platform/graphics/chromium/GLES2Texture.cpp: (WebCore::GLES2Texture::create):
7:13 PM Changeset in webkit [66167] by tkent@chromium.org
  • 2 edits in trunk/WebCore

2010-08-26 Kent Tamura <tkent@chromium.org>

Unreviewed, build fix for Chromium-mac.

  • platform/graphics/chromium/Shader.cpp: (WebCore::loadShader):
7:09 PM Changeset in webkit [66166] by barraclough@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix.

  • wtf/dtoa.cpp:
6:49 PM Changeset in webkit [66165] by weinig@apple.com
  • 28 edits in trunk/WebKit2

Adopt more uses OwnPtr/OwnArray in WebKit2.
https://bugs.webkit.org/show_bug.cgi?id=44728

Reviewed by Darin Adler.

Also clears up weird create vs. adoption semantics. Now both create
and adopt both don't ref their pointers, adoption is just about the
buffer.

  • Shared/ImmutableArray.cpp:

(WebKit::ImmutableArray::ImmutableArray):
(WebKit::ImmutableArray::~ImmutableArray):

  • Shared/ImmutableArray.h:

(WebKit::ImmutableArray::adopt):

  • Shared/ImmutableDictionary.cpp:

(WebKit::ImmutableDictionary::keys):

  • Shared/WebData.h:
  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::create):

  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:pageNamespaceRef:]):
(-[WKView _switchToDrawingAreaTypeIfNecessary:DrawingAreaProxy::]):

  • UIProcess/API/qt/qgraphicswkview.cpp:

(QGraphicsWKView::QGraphicsWKView):

  • UIProcess/API/qt/qwkpage.cpp:

(QWKPagePrivate::init):

  • UIProcess/API/qt/qwkpage_p.h:
  • UIProcess/ChunkedUpdateDrawingAreaProxy.cpp:

(WebKit::ChunkedUpdateDrawingAreaProxy::create):

  • UIProcess/ChunkedUpdateDrawingAreaProxy.h:
  • UIProcess/LayerBackedDrawingAreaProxy.cpp:

(WebKit::LayerBackedDrawingAreaProxy::create):

  • UIProcess/LayerBackedDrawingAreaProxy.h:
  • UIProcess/WebBackForwardList.cpp:

(WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
(WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):

  • UIProcess/WebContext.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::decode):

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::decode):

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::createPopupMenu):
(WebKit::WebChromeClient::createSearchPopupMenu):

  • WebProcess/WebCoreSupport/WebPopupMenu.cpp:

(WebKit::WebPopupMenu::create):

  • WebProcess/WebCoreSupport/WebPopupMenu.h:
  • WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp:

(WebKit::WebSearchPopupMenu::create):
(WebKit::WebSearchPopupMenu::WebSearchPopupMenu):

  • WebProcess/WebCoreSupport/WebSearchPopupMenu.h:
  • WebProcess/WebPage/WebFrame.cpp:

(WebKit::WebFrame::childFrames):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):
(WebKit::WebPage::close):

  • WebProcess/WebPage/WebPage.h:

(WebKit::WebPage::corePage):

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

6:41 PM Changeset in webkit [66164] by jamesr@google.com
  • 3 edits in trunk/WebCore

2010-08-26 James Robinson <jamesr@chromium.org>

Fix chromium mac build. Unreviewed.

  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::GLES2Canvas):
  • platform/graphics/chromium/GLES2Texture.cpp: (WebCore::GLES2Texture::load):
6:17 PM Changeset in webkit [66163] by barraclough@apple.com
  • 2 edits in trunk/JavaScriptCore

Bug 44735 - Clean up dtoa.cpp
Remove unused & unmaintained code paths, reformat code to match
coding standard & use platform #defines from Platform.h directly.

Patch by Gavin Barraclough <baraclough@apple.com> on 2010-08-26
Reviewed by Sam Weinig.

  • wtf/dtoa.cpp:

(WTF::storeInc):
(WTF::multadd):
(WTF::s2b):
(WTF::lo0bits):
(WTF::mult):
(WTF::pow5mult):
(WTF::lshift):
(WTF::diff):
(WTF::ulp):
(WTF::b2d):
(WTF::d2b):
(WTF::ratio):
(WTF::):
(WTF::strtod):
(WTF::quorem):
(WTF::dtoa):

6:17 PM Changeset in webkit [66162] by bweinstein@apple.com
  • 2 edits in trunk/LayoutTests

Skip tests that were added in r66144, because WebKit2 doesn't support
layoutTestController.addUserScript yet.

Rubber-stamped by Mark Rowe.

  • platform/mac-wk2/Skipped:
5:56 PM Changeset in webkit [66161] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Darin pointed out that the braces are unnecessary in an Objective-C interface
declaration when there are no data members.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: Begone, evil braces!
5:55 PM Changeset in webkit [66160] by dumi@chromium.org
  • 3 edits
    13 adds in trunk/LayoutTests

Unreviewed, more Chromium expectations updates.

  • platform/chromium-linux/fast/doctypes/003-expected.checksum:
  • platform/chromium-linux/fast/doctypes/003-expected.png: Added.
  • platform/chromium-linux/fast/doctypes/003-expected.txt: Added.
  • platform/chromium-linux/svg/css/composite-shadow-text-expected.checksum: Added.
  • platform/chromium-linux/svg/css/composite-shadow-text-expected.png: Added.
  • platform/chromium-linux/transitions/svg-text-shadow-transition-expected.checksum: Added.
  • platform/chromium-linux/transitions/svg-text-shadow-transition-expected.png: Added.
  • platform/chromium-mac/fast/doctypes/003-expected.checksum: Added.
  • platform/chromium-mac/fast/doctypes/003-expected.png: Added.
  • platform/chromium-win/fast/doctypes/003-expected.checksum: Added.
  • platform/chromium-win/fast/doctypes/003-expected.png: Added.
  • platform/chromium-win/fast/doctypes/003-expected.txt: Added.
  • platform/chromium-win/fast/multicol/span/span-as-nested-columns-child-expected.txt: Added.
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug56024-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
5:38 PM Changeset in webkit [66159] by barraclough@apple.com
  • 12 edits in trunk

Rubber Stamped by Oliver Hunt.

Partially revert r65959. The toString changes regressed the v8 tests,
but keep the toFixed/toExponential/toPrecision changes.

JavaScriptCore:

(JSC::UString::number):

  • wtf/DecimalNumber.h:
  • wtf/dtoa.cpp:

(WTF::append):
(WTF::doubleToStringInJavaScriptFormat):

  • wtf/dtoa.h:
  • wtf/text/WTFString.cpp:
  • wtf/text/WTFString.h:

WebCore:

  • html/HTMLTreeBuilder.cpp:

(WebCore::serializeForNumberType):

5:34 PM Changeset in webkit [66158] by mrowe@apple.com
  • 3 edits in trunk/WebCore

Fix two build issues that are revealed when building with clang.

Reviewed by Adam Roben.

  • platform/mac/PopupMenuMac.h: Forward-declare as an Objective-C class when compiling for Objective-C.
  • platform/network/BlobResourceHandle.h: Forward-declare as a struct to match the real declaration.
5:33 PM Changeset in webkit [66157] by mrowe@apple.com
  • 2 edits in trunk/WebCore

<rdar://problem/8339008> WebCore's MediaPlayerPrivateQTKit.mm fails to build with clang.

Reviewed by Sam Weinig.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm:

(WebCore::mainThreadSetNeedsDisplay): Remove some ambiguity in the return type of -delegate.
Since the message was being sent to a receiver of type id the compiler cannot accurately
determine the return type. Typically this would be resolved by using a more specific type
for the receiver. However, due to lazy loading shenanigans that we play with QTKit we're
unable to directly cast to the relevant type (QTMovieView*). Instead we fake up an interface
with the correct type of the method we care about (-delegate) and cast to that type instead.

5:32 PM Changeset in webkit [66156] by aestes@apple.com
  • 193 edits
    4 adds in trunk

WebCore: If an <embed> is part of an <object> element's fallback content, WebKit
should only render the <embed> if the <object> fails to load.
https://bugs.webkit.org/show_bug.cgi?id=44567
<rdar://problem/7699852>

Reviewed by Darin Adler.

Tests: fast/replaced/invalid-object-with-fallback.html

fast/replaced/object-with-embed-url-param.html

  • html/HTMLEmbedElement.cpp:

(WebCore::HTMLEmbedElement::rendererIsNeeded): An <embed> now needs a
renderer if its parent is an <object> but the <object> is using fallback
content.

  • html/HTMLObjectElement.h:

(WebCore::HTMLObjectElement::useFallbackContent): Add a public getter
for m_useFallbackContent for use in HTMLEmbedElement::rendererIsNeeded.

  • rendering/RenderEmbeddedObject.cpp:

(WebCore::RenderEmbeddedObject::updateWidget): Change the logic that
determines the plug-in parameters to pass to the loader. Do not override
parameters from <object> with those from a child <embed>.

LayoutTests: If an <embed> is part of an <object> element's fallback content, WebKit
should only render it if the <object> fails to load.
https://bugs.webkit.org/show_bug.cgi?id=44567
<rdar://problem/7699852>

Reviewed by Darin Adler.

Add tests for the updated <object>/<embed> behavior.

  • fast/dom/object-embed-plugin-scripting-expected.txt: Updated expected

results.

  • fast/dom/object-embed-plugin-scripting.html: Added additional test

coverage.

  • fast/replaced/invalid-object-with-fallback-expected.txt: Added.
  • fast/replaced/invalid-object-with-fallback.html: Added.
  • fast/replaced/object-with-embed-url-param-expected.txt: Added.
  • fast/replaced/object-with-embed-url-param.html: Added.


The following tests needed to be rebaselined due to WebKit's change in
behavior. There is now an extra space in the output due to WebKit
rendering the fallback content of the <object>'s that fail to load.

  • java/lc3/ArrayMethods/byte-001-expected.txt:
  • java/lc3/ArrayMethods/byte-001.html:
  • java/lc3/ArrayMethods/byte-002-expected.txt:
  • java/lc3/CallStatic/boolean-001-expected.txt:
  • java/lc3/CallStatic/number-001-expected.txt:
  • java/lc3/CallStatic/object-001-expected.txt:
  • java/lc3/Constructors/construct-001-expected.txt:
  • java/lc3/ConvertBoolean/boolean-001-expected.txt:
  • java/lc3/ConvertBoolean/boolean-002-expected.txt:
  • java/lc3/ConvertBoolean/boolean-003-expected.txt:
  • java/lc3/ConvertBoolean/boolean-004-expected.txt:
  • java/lc3/ConvertBoolean/boolean-005-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-006-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-007-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-008-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-009-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-010-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-011-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-012-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-013-n-expected.txt:
  • java/lc3/ConvertBoolean/boolean-014-expected.txt:
  • java/lc3/ConvertJSObject/ToBoolean-001-expected.txt:
  • java/lc3/ConvertJSObject/ToByte-001-expected.txt:
  • java/lc3/ConvertJSObject/ToByte-002-expected.txt:
  • java/lc3/ConvertJSObject/ToChar-001-expected.txt:
  • java/lc3/ConvertJSObject/ToChar-002-expected.txt:
  • java/lc3/ConvertJSObject/ToDouble-001-expected.txt:
  • java/lc3/ConvertJSObject/ToFloat-001-expected.txt:
  • java/lc3/ConvertJSObject/ToInt-001-expected.txt:
  • java/lc3/ConvertJSObject/ToInt-002-expected.txt:
  • java/lc3/ConvertJSObject/ToJSObject-001-expected.txt:
  • java/lc3/ConvertJSObject/ToLong-001-expected.txt:
  • java/lc3/ConvertJSObject/ToLong-002-expected.txt:
  • java/lc3/ConvertJSObject/ToObject-001-expected.txt:
  • java/lc3/ConvertJSObject/ToShort-001-expected.txt:
  • java/lc3/ConvertJSObject/ToShort-002-expected.txt:
  • java/lc3/ConvertJSObject/ToString-001-expected.txt:
  • java/lc3/ConvertNull/null-001-expected.txt:
  • java/lc3/ConvertNull/null-002-expected.txt:
  • java/lc3/ConvertNull/null-003-n-expected.txt:
  • java/lc3/ConvertNull/null-004-n-expected.txt:
  • java/lc3/ConvertNull/null-005-expected.txt:
  • java/lc3/ConvertNull/null-006-n-expected.txt:
  • java/lc3/ConvertNumber/number-001-expected.txt:
  • java/lc3/ConvertNumber/number-002-expected.txt:
  • java/lc3/ConvertNumber/number-003-expected.txt:
  • java/lc3/ConvertNumber/number-004-expected.txt:
  • java/lc3/ConvertNumber/number-005-expected.txt:
  • java/lc3/ConvertNumber/number-006-expected.txt:
  • java/lc3/ConvertNumber/number-007-expected.txt:
  • java/lc3/ConvertNumber/number-008-expected.txt:
  • java/lc3/ConvertNumber/number-009-expected.txt:
  • java/lc3/ConvertNumber/number-010-expected.txt:
  • java/lc3/ConvertNumber/number-011-expected.txt:
  • java/lc3/ConvertString/string-001-expected.txt:
  • java/lc3/ConvertString/string-002-expected.txt:
  • java/lc3/ConvertString/string-003-expected.txt:
  • java/lc3/ConvertString/string-004-n-expected.txt:
  • java/lc3/ConvertString/string-005-n-expected.txt:
  • java/lc3/ConvertString/string-006-expected.txt:
  • java/lc3/ConvertString/string-007-n-expected.txt:
  • java/lc3/ConvertUndefined/undefined-001-n-expected.txt:
  • java/lc3/ConvertUndefined/undefined-002-expected.txt:
  • java/lc3/ConvertUndefined/undefined-003-expected.txt:
  • java/lc3/Exceptions/throw_js_types-expected.txt:
  • java/lc3/JSBoolean/boolean-001-expected.txt:
  • java/lc3/JSBoolean/boolean-002-n-expected.txt:
  • java/lc3/JSBoolean/boolean-003-n-expected.txt:
  • java/lc3/JSBoolean/boolean-004-n-expected.txt:
  • java/lc3/JSBoolean/boolean-005-n-expected.txt:
  • java/lc3/JSBoolean/boolean-006-n-expected.txt:
  • java/lc3/JSBoolean/boolean-007-n-expected.txt:
  • java/lc3/JSBoolean/boolean-008-n-expected.txt:
  • java/lc3/JSNull/ToBoolean-001-n-expected.txt:
  • java/lc3/JSNull/ToFloat-001-n-expected.txt:
  • java/lc3/JSNull/ToLong-001-n-expected.txt:
  • java/lc3/JSNull/ToNumber-001-n-expected.txt:
  • java/lc3/JSNull/ToObject-001-expected.txt:
  • java/lc3/JSNumber/ToByte-001-expected.txt:
  • java/lc3/JSNumber/ToByte-002-n-expected.txt:
  • java/lc3/JSNumber/ToByte-003-n-expected.txt:
  • java/lc3/JSNumber/ToByte-004-expected.txt:
  • java/lc3/JSNumber/ToByte-005-n-expected.txt:
  • java/lc3/JSNumber/ToChar-001-expected.txt:
  • java/lc3/JSNumber/ToChar-002-n-expected.txt:
  • java/lc3/JSNumber/ToChar-003-n-expected.txt:
  • java/lc3/JSNumber/ToChar-004-expected.txt:
  • java/lc3/JSNumber/ToChar-005-n-expected.txt:
  • java/lc3/JSNumber/ToChar-006-n-expected.txt:
  • java/lc3/JSNumber/ToDouble-001-expected.txt:
  • java/lc3/JSNumber/ToDouble-002-expected.txt:
  • java/lc3/JSNumber/ToDouble-003-expected.txt:
  • java/lc3/JSNumber/ToInt-001-expected.txt:
  • java/lc3/JSNumber/ToInt-002-n-expected.txt:
  • java/lc3/JSNumber/ToInt-003-n-expected.txt:
  • java/lc3/JSNumber/ToInt-004-expected.txt:
  • java/lc3/JSNumber/ToInt-005-n-expected.txt:
  • java/lc3/JSNumber/ToLong-001-expected.txt:
  • java/lc3/JSNumber/ToLong-002-n-expected.txt:
  • java/lc3/JSNumber/ToLong-003-n-expected.txt:
  • java/lc3/JSNumber/ToLong-004-n-expected.txt:
  • java/lc3/JSNumber/ToLong-005-n-expected.txt:
  • java/lc3/JSNumber/ToLong-006-n-expected.txt:
  • java/lc3/JSNumber/ToLong-007-n-expected.txt:
  • java/lc3/JSNumber/ToLong-008-n-expected.txt:
  • java/lc3/JSNumber/ToLong-009-n-expected.txt:
  • java/lc3/JSNumber/ToLong-010-n-expected.txt:
  • java/lc3/JSNumber/ToLong-011-n-expected.txt:
  • java/lc3/JSNumber/ToShort-001-expected.txt:
  • java/lc3/JSNumber/ToShort-002-n-expected.txt:
  • java/lc3/JSNumber/ToShort-003-n-expected.txt:
  • java/lc3/JSNumber/ToShort-004-expected.txt:
  • java/lc3/JSNumber/ToShort-005-n-expected.txt:
  • java/lc3/JSObject/ToByte-001-expected.txt:
  • java/lc3/JSObject/ToChar-001-expected.txt:
  • java/lc3/JSObject/ToDouble-001-expected.txt:
  • java/lc3/JSObject/ToDouble-002-n-expected.txt:
  • java/lc3/JSObject/ToDouble-003-n-expected.txt:
  • java/lc3/JSObject/ToFloat-001-expected.txt:
  • java/lc3/JSObject/ToFloat-002-n-expected.txt:
  • java/lc3/JSObject/ToFloat-003-n-expected.txt:
  • java/lc3/JSObject/ToInt-001-expected.txt:
  • java/lc3/JSObject/ToInt-002-expected.txt:
  • java/lc3/JSObject/ToJSObject-001-expected.txt:
  • java/lc3/JSObject/ToLong-001-expected.txt:
  • java/lc3/JSObject/ToObject-001-expected.txt:
  • java/lc3/JSObject/ToShort-001-expected.txt:
  • java/lc3/JSObject/ToString-001-expected.txt:
  • java/lc3/JSUndefined/undefined-001-expected.txt:
  • java/lc3/JSUndefined/undefined-002-n-expected.txt:
  • java/lc3/JSUndefined/undefined-003-n-expected.txt:
  • java/lc3/JSUndefined/undefined-004-n-expected.txt:
  • java/lc3/JSUndefined/undefined-005-n-expected.txt:
  • java/lc3/JSUndefined/undefined-006-n-expected.txt:
  • java/lc3/JSUndefined/undefined-007-n-expected.txt:
  • java/lc3/JSUndefined/undefined-008-n-expected.txt:
  • java/lc3/JSUndefined/undefined-009-n-expected.txt:
  • java/lc3/JSUndefined/undefined-010-n-expected.txt:
  • java/lc3/JavaArray/ToArray-001-expected.txt:
  • java/lc3/JavaArray/ToArray-002-n-expected.txt:
  • java/lc3/JavaArray/ToBoolean-001-n-expected.txt:
  • java/lc3/JavaArray/ToString-001-expected.txt:
  • java/lc3/JavaClass/ToClass-001-expected.txt:
  • java/lc3/JavaClass/ToJSObject-001-expected.txt:
  • java/lc3/JavaClass/ToObject-001-expected.txt:
  • java/lc3/JavaClass/ToString-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectBeanProps-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectFieldOrMethod-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToBoolean-002-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-002-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-003-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-004-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-005-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-006-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-007-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToByte-008-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToChar-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToChar-002-expected.txt:
  • java/lc3/JavaObject/JavaObjectToChar-003-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToChar-004-expected.txt:
  • java/lc3/JavaObject/JavaObjectToChar-005-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToChar-006-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToDouble-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToFloat-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToInt-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToInt-002-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToInt-003-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToInt-004-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToLong-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToLong-002-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToLong-003-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToLong-004-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToLong-005-expected.txt:
  • java/lc3/JavaObject/JavaObjectToLong-006-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToShort-001-expected.txt:
  • java/lc3/JavaObject/JavaObjectToShort-002-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToShort-003-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToShort-004-n-expected.txt:
  • java/lc3/JavaObject/JavaObjectToShort-005-expected.txt:
  • java/lc3/JavaObject/JavaObjectToShort-006-expected.txt:
  • java/lc3/JavaObject/JavaObjectToString-001-expected.txt:
  • java/lc3/StringMethods/string-001-expected.txt:
  • java/lc3/forin/object-001-expected.txt:
  • java/lc3/instanceof/instanceof-001-expected.txt:
5:17 PM Changeset in webkit [66155] by jamesr@google.com
  • 17 edits in trunk

2010-08-26 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

[chromium] Remove the USE(GLES2_RENDERING) define and associated code
https://bugs.webkit.org/show_bug.cgi?id=43761

Remove WTF_USE_GLES2_RENDERING from the list of defines in chromium, it's unused.

  • wtf/Platform.h:

2010-08-26 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

[chromium] Remove the USE(GLES2_RENDERING) define and associated code
https://bugs.webkit.org/show_bug.cgi?id=43761

USE(GLES2_RENDERING) will not be useful since we'll be coding to GraphicsContext3D
instead of OpenGL and can use ENABLE(ACCELERATED_2D_CANVAS) for canvas 2d specific
changes. This deletes the macro and deletes the ChromeClient API to query
GLES2Contexts since we'll never need one of these outside of the compositor, which
is created in platform-specific code.

  • loader/EmptyClients.h:
  • page/ChromeClient.h:
  • platform/graphics/chromium/GLES2Canvas.cpp:
  • platform/graphics/chromium/GLES2Canvas.h:
  • platform/graphics/chromium/GLES2Texture.cpp:
  • platform/graphics/chromium/GLES2Texture.h:
  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::savePlatformState): (WebCore::GraphicsContext::restorePlatformState): (WebCore::GraphicsContext::clearRect): (WebCore::GraphicsContext::concatCTM): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::scale): (WebCore::GraphicsContext::setAlpha): (WebCore::GraphicsContext::setCompositeOperation): (WebCore::GraphicsContext::setPlatformFillColor): (WebCore::GraphicsContext::rotate): (WebCore::GraphicsContext::translate): (WebCore::GraphicsContext::setGraphicsContext3D): (WebCore::GraphicsContext::syncSoftwareCanvas):
  • platform/graphics/skia/ImageSkia.cpp: (WebCore::drawBitmapGLES2): (WebCore::BitmapImage::draw): (WebCore::BitmapImageSingleFrameSkia::draw):
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::PlatformContextSkia): (WebCore::PlatformContextSkia::~PlatformContextSkia):
  • platform/graphics/skia/PlatformContextSkia.h:

2010-08-26 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

[chromium] Remove the USE(GLES2_RENDERING) define and associated code
https://bugs.webkit.org/show_bug.cgi?id=43761

Removes API support to grab a GLES2Context from within WebCore. The compositor
has a special codepath to grab its GLES2Context and no other codepaths
need access to a raw context. Accelerated drawing elsewhere will go through
GraphicsContext3D.

  • src/ChromeClientImpl.cpp:
  • src/ChromeClientImpl.h:
5:09 PM Changeset in webkit [66154] by rniwa@webkit.org
  • 2 edits in trunk/LayoutTests

2010-08-26 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Dan Bernstein.

REGRESSION: rebaseline needed for tables/mozilla_expected_failures/bugs/bug56024.html
https://bugs.webkit.org/show_bug.cgi?id=44733

The failure was caused by color property moving from anonymous block to the form element inside
the anonymous block. Rebaselined /tables/mozilla_expected_failures/bugs/bug56024.html for mac.

  • platform/mac/tables/mozilla_expected_failures/bugs/bug56024-expected.txt:
5:04 PM Changeset in webkit [66153] by Darin Adler
  • 2 edits in trunk/LayoutTests

Fix tests that rely on incorrect implementation of HTMLBaseElement
to work even if it's implemented as described in HTML5.

Reviewed by Sam Weinig.

  • fast/url/resources/utilities.js:

(setBaseURL): Remove existing base elements as well as adding a new
base element.

5:02 PM Changeset in webkit [66152] by weinig@apple.com
  • 1 edit in trunk/JavaScriptCore/ChangeLog

Remove conflict markers.

4:43 PM Changeset in webkit [66151] by Martin Robinson
  • 2 edits in trunk/WebCore

2010-08-26 Martin Robinson <mrobinson@igalia.com>

Build fix for GTK+, after a bad merge.

  • platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::paintMozillaGtkWidget):
4:21 PM Changeset in webkit [66150] by barraclough@apple.com
  • 23 edits in trunk/JavaScriptCore

Rolling out r64608, this regressed performance.

  • JavaScriptCore.xcodeproj/project.pbxproj:
  • assembler/ARMAssembler.cpp:

(JSC::ARMAssembler::executableCopy):

  • assembler/LinkBuffer.h:

(JSC::LinkBuffer::LinkBuffer):
(JSC::LinkBuffer::~LinkBuffer):
(JSC::LinkBuffer::performFinalization):

  • assembler/MIPSAssembler.h:

(JSC::MIPSAssembler::executableCopy):

  • assembler/X86Assembler.h:

(JSC::X86Assembler::executableCopy):

  • bytecode/StructureStubInfo.h:

(JSC::StructureStubInfo::initGetByIdProto):
(JSC::StructureStubInfo::initGetByIdChain):
(JSC::StructureStubInfo::initGetByIdSelfList):
(JSC::StructureStubInfo::initGetByIdProtoList):
(JSC::StructureStubInfo::initPutByIdTransition):

  • jit/ExecutableAllocator.cpp:

(JSC::ExecutablePool::systemAlloc):

  • jit/ExecutableAllocator.h:

(JSC::ExecutablePool::create):
(JSC::ExecutableAllocator::ExecutableAllocator):
(JSC::ExecutableAllocator::poolForSize):
(JSC::ExecutablePool::ExecutablePool):
(JSC::ExecutablePool::poolAllocate):

  • jit/ExecutableAllocatorFixedVMPool.cpp:

(JSC::FixedVMPoolAllocator::allocInternal):

  • jit/JIT.cpp:

(JSC::JIT::privateCompile):

  • jit/JIT.h:

(JSC::JIT::compileGetByIdProto):
(JSC::JIT::compileGetByIdSelfList):
(JSC::JIT::compileGetByIdProtoList):
(JSC::JIT::compileGetByIdChainList):
(JSC::JIT::compileGetByIdChain):
(JSC::JIT::compilePutByIdTransition):
(JSC::JIT::compilePatchGetArrayLength):

  • jit/JITOpcodes.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::privateCompileCTIMachineTrampolines):
(JSC::JIT::privateCompileCTINativeCall):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::stringGetByValStubGenerator):
(JSC::JIT::privateCompilePutByIdTransition):
(JSC::JIT::privateCompilePatchGetArrayLength):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):

  • jit/JITPropertyAccess32_64.cpp:

(JSC::JIT::stringGetByValStubGenerator):
(JSC::JIT::privateCompilePutByIdTransition):
(JSC::JIT::privateCompilePatchGetArrayLength):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):

  • jit/JITStubs.cpp:

(JSC::JITThunks::tryCachePutByID):
(JSC::JITThunks::tryCacheGetByID):
(JSC::DEFINE_STUB_FUNCTION):
(JSC::getPolymorphicAccessStructureListSlot):

  • jit/JITStubs.h:
  • jit/SpecializedThunkJIT.h:

(JSC::SpecializedThunkJIT::finalize):

  • runtime/ExceptionHelpers.cpp:
  • runtime/ExceptionHelpers.h:
  • runtime/Executable.cpp:

(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):
(JSC::FunctionExecutable::reparseExceptionInfo):
(JSC::EvalExecutable::reparseExceptionInfo):

  • yarr/RegexJIT.cpp:

(JSC::Yarr::RegexGenerator::compile):

4:11 PM Changeset in webkit [66149] by dumi@chromium.org
  • 3 edits
    8 adds
    7 deletes in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-mac/fast/doctypes/003-expected.checksum: Removed.
  • platform/chromium-mac/fast/doctypes/003-expected.png: Removed.
  • platform/chromium-mac/fast/multicol/span/span-as-nested-columns-child-expected.txt: Added.
  • platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug56024-expected.txt: Added.
  • platform/chromium-win/fast/doctypes/003-expected.checksum: Removed.
  • platform/chromium-win/fast/doctypes/003-expected.png: Removed.
  • platform/chromium-win/fast/doctypes/003-expected.txt: Removed.
  • platform/chromium-win/fast/multicol/span/span-as-nested-columns-child-expected.txt: Removed.
  • platform/chromium-win/svg/css/composite-shadow-text-expected.checksum: Added.
  • platform/chromium-win/svg/css/composite-shadow-text-expected.png: Added.
  • platform/chromium-win/svg/css/composite-shadow-text-expected.txt: Added.
  • platform/chromium-win/svg/css/text-shadow-multiple-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug56024-expected.txt: Removed.
  • platform/chromium-win/transitions/svg-text-shadow-transition-expected.checksum: Added.
  • platform/chromium-win/transitions/svg-text-shadow-transition-expected.png: Added.
  • platform/chromium-win/transitions/svg-text-shadow-transition-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
4:06 PM Changeset in webkit [66148] by Martin Robinson
  • 5 edits in trunk/WebCore

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] ScrollbarThemeGtk is incomplete
https://bugs.webkit.org/show_bug.cgi?id=44471

Add theme drawing code for GTK+ scrollbars. Turn RenderThemeGtk::paintMozillaWidget
into a public method so that ScrollbarThemeGtk can access Mozilla theme API properly.

Tests for this issue will be activated in the form of pixel tests, but
only after fully-fake scrollbars are activated.

  • platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::paintMozillaGtkWidget): Added this public method which takes the proper widget state, widget type, graphics context and rectangle and renders a widget using the Mozilla theming API. (WebCore::RenderThemeGtk::paintRenderObject): Added this method which first calculates the widget state before passing the information on to paintMozillaGtkWidget. (WebCore::RenderThemeGtk::paintCheckbox): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintRadio): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintButton): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintMenuList): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintTextField): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintSliderTrack): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintSliderThumb): Switch to use paintRenderObject. (WebCore::RenderThemeGtk::paintProgressBar): Switch to use paintRenderObject.
  • platform/gtk/RenderThemeGtk.h: Added new method declarations.
  • platform/gtk/ScrollbarThemeGtk.cpp: Added code which can render GTK+ scrollbars. (WebCore::ScrollbarThemeGtk::hasThumb): Added. (WebCore::ScrollbarThemeGtk::backButtonRect): Added. (WebCore::ScrollbarThemeGtk::forwardButtonRect): Added. (WebCore::ScrollbarThemeGtk::trackRect): Added. (WebCore::ScrollbarThemeGtk::paintTrackBackground): Added. (WebCore::ScrollbarThemeGtk::paintScrollbarBackground): Added. (WebCore::ScrollbarThemeGtk::paintThumb): Added. (WebCore::ScrollbarThemeGtk::thumbRect): Added. (WebCore::ScrollbarThemeGtk::paint): Added. (WebCore::ScrollbarThemeGtk::paintButton): Added. (WebCore::ScrollbarThemeGtk::paintScrollCorner): Added. (WebCore::ScrollbarThemeGtk::shouldCenterOnThumb): Added. (WebCore::ScrollbarThemeGtk::scrollbarThickness): Always get the metrics from the theme drawing API so that it stays up to date with theme changes. (WebCore::ScrollbarThemeGtk::buttonSize): Added. (WebCore::ScrollbarThemeGtk::minimumThumbLength): Added.
  • platform/gtk/ScrollbarThemeGtk.h: (WebCore::ScrollbarThemeGtk::hasButtons): Added. (WebCore::ScrollbarThemeGtk::initialAutoscrollTimerDelay): Added. (WebCore::ScrollbarThemeGtk::autoscrollTimerDelay): Added.
4:03 PM Changeset in webkit [66147] by rniwa@webkit.org
  • 3 edits in trunk/LayoutTests

2010-08-26 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed; rebaseline for r66122.

  • platform/mac/fast/multicol/span/span-as-nested-columns-child-expected.txt:
  • platform/qt/fast/multicol/span/span-as-nested-columns-child-expected.txt:
4:03 PM Changeset in webkit [66146] by ap@apple.com
  • 13 edits in trunk

Reviewed by Sam Weinig.

https://bugs.webkit.org/show_bug.cgi?id=44726
<rdar://problem/7935518> WebFrameProxies aren't destroyed until a page is destroyed

Since frames can be moved across documents, they are not really a Page level concept.
Moved frame tracking to WebProcess/WebProcessProxy.

3:59 PM Changeset in webkit [66145] by Martin Robinson
  • 2 edits in trunk/LayoutTests

2010-08-26 Martin Robinson <mrobinson@igalia.com>

Updating expected results after r66115.

  • platform/gtk/fast/multicol/span/span-as-nested-columns-child-expected.txt:
3:54 PM Changeset in webkit [66144] by bweinstein@apple.com
  • 1 edit
    3 copies
    8 adds in trunk/LayoutTests

Userscripts on special documents should be tested
<https://bugs.webkit.org/show_bug.cgi?id=44725>

Reviewed by Dave Hyatt.

Add tests of user script injection in audio, image, plugin, and video documents.

  • userscripts/user-script-audio-document.html: Added. Test injection of user scripts

in an audio document.

  • userscripts/user-script-audio-document-expected.txt: Added.
  • userscripts/user-script-image-document.html: Added. Test injection of user scripts

in an image document.

  • userscripts/user-script-image-document-expected.txt: Added.
  • userscripts/user-script-plugin-document.html: Added. Test injection of user scripts

in a plugin document.

  • userscripts/user-script-plugin-document-expected.txt: Added.
  • userscripts/user-script-video-document.html: Added. Test injection of user scripts

in a video document.

  • userscripts/user-script-video-document-expected.txt: Added.


  • userscripts/resources/abe.png: Copied from media/content/abe.png.
  • userscripts/resources/counting.mp4: Copied from media/content/counting.mp4.
  • userscripts/resources/test.wav: Copied from media/content/test.wav.
3:36 PM Changeset in webkit [66143] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-08-26 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed; build fix.

Speculative chromium mac fix by including "Color.h".

  • platform/graphics/chromium/Shader.cpp:
3:22 PM Changeset in webkit [66142] by barraclough@apple.com
  • 2 edits in trunk/JavaScriptCore

Bug 44655 - Add debug only convenience methods to obtain a Vector<char> from a String/StringImpl.

Reviewed by Brady Eidson.

  • wtf/text/WTFString.cpp:

(asciiDebug):

Return a Vector<char> containing the contents of a string as ASCII.

3:15 PM Changeset in webkit [66141] by Simon Fraser
  • 15 edits
    7 adds in trunk

2010-08-26 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt.

CSS downloads all background images related to element, instead of just final rule
https://bugs.webkit.org/show_bug.cgi?id=24223

We used to kick off image loads at the point where the style selector
applies a CSS rule to an element, even if that rule was overridden
by a rule in a later block of rules. This caused loads of images that
weren't actually used.

Fix this by delaying image loads until the style has been fully
resolved. This is achieved by inserting a StylePendingImage into
the RenderStyle for duration of the style resolution, and keeping
an entry in a hash for the relevant CSS property.

At the end of style resolution, we iterate through the hash, and
replace the StylePendingImage with StyleCachedImages, which
causes the loads to happen only for images that are in the final style.

Tests: http/tests/css/border-image-loading.html

http/tests/css/mask-image-loading.html
http/tests/css/reflection-mask-image-loading.html

  • GNUmakefile.am: Add StylePendingImage.h
  • WebCore.gypi: Ditto
  • WebCore.vcproj/WebCore.vcproj: Ditto
  • css/CSSImageValue.h: Change m_image to a RefPtr<StyleImage>, since it may be a StylePendingImage or StyleCachedImage.
  • css/CSSImageValue.cpp: (WebCore::CSSImageValue::~CSSImageValue): Only call removeClient if it's a cachedImage. (WebCore::CSSImageValue::cachedOrPendingImage): If we have an image (pending or cached), return it. Otherwise make a pending image and return it. (WebCore::CSSImageValue::cachedImage): Only return the image if it's a cached image. (WebCore::CSSImageValue::cachedImageURL): (WebCore::CSSImageValue::clearCachedImage):
  • css/CSSStyleSelector.h:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::initForStyleResolve): Clear m_pendingImageProperties. (WebCore::CSSStyleSelector::styleForElement): Load pending images. (WebCore::CSSStyleSelector::styleForKeyframe): Ditto. (WebCore::CSSStyleSelector::pseudoStyleForElement): Ditto. (WebCore::CSSStyleSelector::styleForPage): Ditto. (WebCore::CSSStyleSelector::applyProperty): Pull property into a local variable so we can use it in macros. (WebCore::CSSStyleSelector::mapFillAttachment): Pass the property down (needed to avoid additional macro complexity). (WebCore::CSSStyleSelector::mapFillClip): Ditto (WebCore::CSSStyleSelector::mapFillComposite): Ditto (WebCore::CSSStyleSelector::mapFillOrigin): Ditto (WebCore::CSSStyleSelector::styleImage): Call cachedOrPendingFromValue() (WebCore::CSSStyleSelector::cachedOrPendingFromValue): Get the cachedOrPendingImage() from the CSSValue, and if it's a pending image, record the property. (WebCore::CSSStyleSelector::mapFillImage): Pass the property down (needed to avoid additional macro complexity). (WebCore::CSSStyleSelector::mapFillRepeatX): Ditto (WebCore::CSSStyleSelector::mapFillRepeatY): Ditto (WebCore::CSSStyleSelector::mapFillSize): Ditto (WebCore::CSSStyleSelector::mapFillXPosition): Ditto (WebCore::CSSStyleSelector::mapFillYPosition): Ditto (WebCore::CSSStyleSelector::mapNinePieceImage): Ditto (WebCore::CSSStyleSelector::loadPendingImages): Iterate through the m_pendingImageProperties hash, and replace the pending images with cached images.
  • rendering/style/StyleCachedImage.h: Make cssValue() const.
  • rendering/style/StyleCachedImage.cpp: (WebCore::StyleCachedImage::cssValue):
  • rendering/style/StyleGeneratedImage.h: Make cssValue() const.
  • rendering/style/StyleGeneratedImage.cpp: (WebCore::StyleGeneratedImage::cssValue):
  • rendering/style/StyleImage.h: (WebCore::StyleImage::operator==): Make const. (WebCore::StyleImage::isPendingImage):
  • rendering/style/StylePendingImage.h: Added.
3:15 PM Changeset in webkit [66140] by jhoneycutt@apple.com
  • 2 edits in trunk/WebKitTools

<rdar://problem/8334338> run-webkit-tests sometimes hangs when using
WebKitTestRunner (44331)

Reviewed by Darin Adler.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::initialize):
The hang occurs when WebKitTestRunner begins launching the WebKit2
web process then exits before it finishes launching. Work around this by
looking for the --print-supported-features argument and exiting without
creating the web process.

2:56 PM WebKitGTKFonts edited by Martin Robinson
(diff)
2:54 PM WebKitGTKFonts edited by Martin Robinson
(diff)
2:38 PM Changeset in webkit [66139] by weinig@apple.com
  • 11 edits
    5 adds in trunk

Add PassOwnArrayPtr
https://bugs.webkit.org/show_bug.cgi?id=44627

Reviewed by Darin Adler.

JavaScriptCore:

Add the new files.

  • wtf/Forward.h:

Forward declare PassOwnArrayPtr.

  • wtf/OwnArrayPtr.h:

Mimic the OwnPtr interface.

  • wtf/OwnArrayPtrCommon.h: Added.

(WTF::deleteOwnedArrayPtr):
Move delete function here so it can be shared by OwnArrayPtr and
PassOwnArrayPtr.

  • wtf/PassOwnArrayPtr.h: Added.

Mimic the PassOwnPtr interface.

JavaScriptGlue:

Add new forwarding header.

  • ForwardingHeaders/wtf/OwnArrayPtrCommon.h: Added.

WebCore:

Add new forwarding headers.

  • ForwardingHeaders/wtf/OwnArrayPtrCommon.h: Added.
  • ForwardingHeaders/wtf/PassOwnArrayPtr.h: Added.

WebKit2:

  • UIProcess/WebContext.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::decode):

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::PostMessageEncoder::PostMessageDecoder::decode):

2:34 PM Changeset in webkit [66138] by Martin Robinson
  • 2 edits in trunk/WebCore

2010-08-26 Stanislav Brabec <sbrabec@suse.cz>

Reviewed by Martin Robinson.

[GTK] [PATCH] plugin loading invalid symlink evaluation deadlock
https://bugs.webkit.org/show_bug.cgi?id=44683

Fix symlink resolution in PluginPackageGtk.

  • plugins/gtk/PluginPackageGtk.cpp: (WebCore::PluginPackage::load): g_file_resolve_relative_path must be called with a a directory, not a file.
2:32 PM Changeset in webkit [66137] by aestes@apple.com
  • 3 edits
    2 adds in trunk

A URL in a <param> should be parsed the same as if it were specified as
the data attribute of an <object>.
https://bugs.webkit.org/show_bug.cgi?id=44671

Reviewed by Eric Carlson.

WebCore:

Test: fast/replaced/object-param-url-control-char.html

  • rendering/RenderEmbeddedObject.cpp:

(WebCore::RenderEmbeddedObject::updateWidget): Call deprecatedParseURL()
on <param> values of names that we treat as URLs ("src", "movie", "code"
and "url").

LayoutTests:

  • fast/replaced/object-param-url-control-char-expected.txt: Added.
  • fast/replaced/object-param-url-control-char.html: Added.
2:31 PM Changeset in webkit [66136] by senorblanco@chromium.org
  • 2 edits in trunk/WebCore

2010-08-26 Stephen White <senorblanco@chromium.org>

Unreviewed; build fix.

Fix for Chromium/Mac.

  • platform/graphics/chromium/Shader.cpp:
2:24 PM Changeset in webkit [66135] by oliver@apple.com
  • 4 edits
    3 adds in trunk

2010-08-26 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

[JSC] JavaScript parsing error when loading Equifax web page
https://bugs.webkit.org/show_bug.cgi?id=42900

'-->' is ostensibly only meant to occur when there is only
whitespace preceeding it on the line. However firefox treats
multiline comments as a space character, so they are allowed.
One side effect of the firefox model is that any line terminators
inside the multiline comment are ignored, so

foo/*
*/-->

is treated as

foo -->

and so '-->' will not be a comment in this case. Happily this simply
means that to fix this issue all we need to do is stop updating
m_atLineStart when handling multiline comments.

  • parser/Lexer.cpp: (JSC::Lexer::lex):

2010-08-26 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

[JSC] JavaScript parsing error when loading Equifax web page
https://bugs.webkit.org/show_bug.cgi?id=42900

Add tests for the many idiosyncrasies of --> comments

  • fast/js/parser-xml-close-comment-expected.txt: Added.
  • fast/js/parser-xml-close-comment.html: Added.
  • fast/js/script-tests/parser-high-byte-character.js:
  • fast/js/script-tests/parser-xml-close-comment.js: Added.
2:22 PM Changeset in webkit [66134] by tony@chromium.org
  • 1 edit
    1 move
    1 add in trunk/LayoutTests

2010-08-26 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

Rename platform/chromium/plugins/get-url-with-blank-target.html to
platform/chromium/plugins/get-url-with-blank-target2.html so it
doesn't confuse the deduplicate tests script.

  • platform/chromium/plugins/get-url-with-blank-target2-expected.txt: Copied from LayoutTests/plugins/get-url-with-blank-target-expected.txt.
  • platform/chromium/plugins/get-url-with-blank-target2.html: Renamed from LayoutTests/platform/chromium/plugins/get-url-with-blank-target.html.
2:05 PM Changeset in webkit [66133] by tony@chromium.org
  • 3 edits
    2 adds in trunk

2010-08-26 Tony Chang <tony@chromium.org>

Reviewed by David Hyatt.

crash when rendering scrollbar gradient
https://bugs.webkit.org/show_bug.cgi?id=44549

  • scrollbars/scrollbar-gradient-crash-expected.txt: Added.
  • scrollbars/scrollbar-gradient-crash.html: Added.

2010-08-26 Tony Chang <tony@chromium.org>

Reviewed by David Hyatt.

crash when rendering scrollbar gradient
https://bugs.webkit.org/show_bug.cgi?id=44549

Test: scrollbars/scrollbar-gradient-crash.html

  • css/CSSImageGeneratorValue.cpp: (WebCore::CSSImageGeneratorValue::getImage): Keep this alive.
1:56 PM Changeset in webkit [66132] by ojan@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-26 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

increase number of gc's in perf tests
https://bugs.webkit.org/show_bug.cgi?id=44710

Extending the speculative attempt to make the perf tests less flaky.

  • resources/magnitude-perf.js: (Magnitude._runIteration): (Magnitude):
1:54 PM Changeset in webkit [66131] by rniwa@webkit.org
  • 2 edits in trunk/WebKit/chromium

2010-08-26 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

[chromium] WebEntities is broken
https://bugs.webkit.org/show_bug.cgi?id=44708

For serialization purposes, we don't need to convert all entity references.
This patch modifies WebEntities::WebEntities to use hard-coded entity lists for both HTML and XML,
and deletes populateMapFromXMLEntities and populateMapFromHTMLEntityTable.

No tests are added since the code is tested in DomSerializerTests

  • src/WebEntities.cpp: (WebKit::): (WebKit::WebEntities::WebEntities):
1:33 PM Changeset in webkit [66130] by senorblanco@chromium.org
  • 4 edits
    2 adds in trunk/WebCore

2010-08-26 Stephen White <senorblanco@chromium.org>

Reviewed by Kenneth Russell.

[CHROMIUM] Give <canvas> 2D shaders their own class hierarchy.
https://bugs.webkit.org/show_bug.cgi?id=44682

Covered by fast/canvas layout tests.

  • WebCore.gypi: Add Shader.cpp, Shader.h to chromium build.
  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::GLES2Canvas): (WebCore::GLES2Canvas::~GLES2Canvas): (WebCore::GLES2Canvas::fillRect): (WebCore::GLES2Canvas::drawTexturedRect): (WebCore::GLES2Canvas::drawTexturedRectTile): Rip out all shader initialization and compilation code. Instantiate specialized shaders instead.
  • platform/graphics/chromium/GLES2Canvas.h:
  • platform/graphics/chromium/Shader.cpp: Added. (WebCore::affineTo3x3): (WebCore::Shader::Shader): (WebCore::Shader::~Shader): Implement Shader base class. (WebCore::loadShader): (WebCore::loadProgram): Utility functions refactored from GLES2Canvas. (WebCore::SolidFillShader::SolidFillShader): (WebCore::TexShader::TexShader): (WebCore::SolidFillShader::create): (WebCore::SolidFillShader::use): (WebCore::TexShader::create): (WebCore::TexShader::use):
  • platform/graphics/chromium/Shader.h: Added.
1:20 PM Changeset in webkit [66129] by bweinstein@apple.com
  • 3 edits in trunk/WebCore

User scripts injected at start are not run for plugin and media documents
<https://bugs.webkit.org/show_bug.cgi?id=44711>
<rdar://problem/8359288>

Reviewed by Adam Roben.

http://trac.webkit.org/changeset/61271 made scripts injected at start run on ImageDocuments,
but didn't implement this behavior for MediaDocuments and PluginDocuments.

  • loader/MediaDocument.cpp:

(WebCore::MediaDocumentParser::createDocumentStructure): Make sure we fire dispatchDocumentElementAvailable.

  • loader/PluginDocument.cpp:

(WebCore::PluginDocumentParser::createDocumentStructure): Ditto.

1:15 PM Changeset in webkit [66128] by Simon Fraser
  • 2 edits
    5 adds in trunk/LayoutTests

2010-08-26 Simon Fraser <Simon Fraser>

Reviewed by Alexey Proskuryakov.

Make it possible for http tests to log resource requests
https://bugs.webkit.org/show_bug.cgi?id=44702

Enhance network-simulator.php to be able to log resource
requests to a file, and then return the list of requests.

Test with a new loading test that logs CSS-related image requests.

  • http/tests/css/css-image-loading-expected.txt: Added.
  • http/tests/css/css-image-loading.html: Added.
  • http/tests/css/resources/request-logging.js: Added. (CallCommand): (startTest): (endTest): (getResourceLog):
  • http/tests/resources/network-simulator.php:
1:00 PM Changeset in webkit [66127] by tony@chromium.org
  • 1 edit
    82 deletes in trunk/LayoutTests

2010-08-26 Tony Chang <tony@chromium.org>

Not reviewed. Removing chromium-mac and chromium test results that deduplicate-tests says are not necessary.

  • platform/chromium-mac/animations/3d/state-at-end-event-transform-expected.checksum: Removed.
  • platform/chromium-mac/animations/state-at-end-event-expected.checksum: Removed.
  • platform/chromium-mac/editing/deleting/5390681-2-expected.checksum: Removed.
  • platform/chromium-mac/editing/execCommand/4641880-2-expected.txt: Removed.
  • platform/chromium-mac/editing/execCommand/4916541-expected.txt: Removed.
  • platform/chromium-mac/editing/execCommand/5138441-expected.checksum: Removed.
  • platform/chromium-mac/editing/execCommand/5138441-expected.txt: Removed.
  • platform/chromium-mac/editing/execCommand/5481523-expected.checksum: Removed.
  • platform/chromium-mac/editing/execCommand/5481523-expected.txt: Removed.
  • platform/chromium-mac/editing/execCommand/indent-selection-expected.checksum: Removed.
  • platform/chromium-mac/editing/execCommand/indent-selection-expected.txt: Removed.
  • platform/chromium-mac/editing/selection/4960116-expected.checksum: Removed.
  • platform/chromium-mac/editing/selection/select-text-overflow-ellipsis-expected.checksum: Removed.
  • platform/chromium-mac/fast/backgrounds/quirks-mode-line-box-backgrounds-expected.checksum: Removed.
  • platform/chromium-mac/fast/backgrounds/svg-as-background-2-expected.checksum: Removed.
  • platform/chromium-mac/fast/backgrounds/svg-as-mask-expected.checksum: Removed.
  • platform/chromium-mac/fast/block/positioning/absolute-positioning-no-scrollbar-expected.checksum: Removed.
  • platform/chromium-mac/fast/borders/svg-as-border-image-2-expected.checksum: Removed.
  • platform/chromium-mac/fast/borders/svg-as-border-image-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/apple-prefix-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/compare-content-style-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/compare-content-style-expected.txt: Removed.
  • platform/chromium-mac/fast/css/css3-space-in-nth-and-lang-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/first-letter-first-line-hover-expected.txt: Removed.
  • platform/chromium-mac/fast/css/font-face-woff-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/font-face-woff-expected.txt: Removed.
  • platform/chromium-mac/fast/css/namespaces/namespaces-comments-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/namespaces/namespaces-empty-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/namespaces/namespaces-escapes-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/namespaces/namespaces-invalid-at-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/pseudo-cache-stale-expected.checksum: Removed.
  • platform/chromium-mac/fast/dom/Window/window-open-pending-url-expected.txt: Removed.
  • platform/chromium-mac/fast/dom/clone-contents-0-end-offset-expected.txt: Removed.
  • platform/chromium-mac/fast/dom/replaceChild-expected.txt: Removed.
  • platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/menulist-style-color-expected.txt: Removed.
  • platform/chromium-mac/fast/forms/placeholder-stripped-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/textarea-scrollbar-expected.checksum: Removed.
  • platform/chromium-mac/fast/frames/take-focus-from-iframe-expected.checksum: Removed.
  • platform/chromium-mac/fast/js/missing-title-end-tag-js-expected.checksum: Removed.
  • platform/chromium-mac/fast/lists/anonymous-items-expected.checksum: Removed.
  • platform/chromium-mac/fast/lists/markers-in-selection-expected.checksum: Removed.
  • platform/chromium-mac/fast/multicol/column-count-with-rules-expected.checksum: Removed.
  • platform/chromium-mac/fast/multicol/nested-columns-expected.checksum: Removed.
  • platform/chromium-mac/fast/overflow/line-clamp-expected.checksum: Removed.
  • platform/chromium-mac/fast/reflections/opacity-reflection-transform-expected.checksum: Removed.
  • platform/chromium-mac/fast/runin/generated2-expected.checksum: Removed.
  • platform/chromium-mac/fast/runin/generated3-expected.checksum: Removed.
  • platform/chromium-mac/fast/runin/generated4-expected.checksum: Removed.
  • platform/chromium-mac/fast/table/early-table-layout-expected.txt: Removed.
  • platform/chromium-mac/fast/text/format-control-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/stripNullFromText-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/text-letter-spacing-expected.txt: Removed.
  • platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-no-file-access-expected.txt: Removed.
  • platform/chromium-mac/http/tests/misc/slow-loading-mask-expected.checksum: Removed.
  • platform/chromium-mac/media/video-layer-crash-expected.txt: Removed.
  • platform/chromium-mac/media/video-transformed-expected.txt: Removed.
  • platform/chromium-mac/media/video-zoom-expected.txt: Removed.
  • platform/chromium-mac/svg/css/circle-in-mask-with-shadow-expected.checksum: Removed.
  • platform/chromium-mac/svg/css/css-box-min-width-expected.checksum: Removed.
  • platform/chromium-mac/svg/css/mask-with-shadow-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/container-opacity-clip-viewBox-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/fill-opacity-hsl-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/fill-opacity-rgba-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/gradient-stop-corner-cases-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/js-update-bounce-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/mask-invalidation-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/massive-coordinates-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-curve-with-relative-cordinates-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/transformedMaskFails-expected.checksum: Removed.
  • platform/chromium-mac/svg/filters/feColorMatrix-values-expected.checksum: Removed.
  • platform/chromium-mac/tables/layering/paint-test-layering-1-expected.txt: Removed.
  • platform/chromium-mac/tables/layering/paint-test-layering-2-expected.txt: Removed.
  • platform/chromium-mac/tables/mozilla/bugs/bug1296-expected.txt: Removed.
  • platform/chromium-mac/tables/mozilla/bugs/bug1430-expected.txt: Removed.
  • platform/chromium-mac/tables/mozilla/bugs/bug6674-expected.checksum: Removed.
  • platform/chromium-mac/transforms/svg-vs-css-expected.checksum: Removed.
  • platform/chromium-mac/transitions/transition-end-event-rendering-expected.checksum: Removed.
  • platform/chromium-mac/webarchive/test-link-rel-icon-expected.checksum: Removed.
  • platform/chromium/http/tests/inspector/resource-parameters-expected.txt: Removed.
  • platform/chromium/plugins/get-url-with-blank-target-expected.txt: Removed.
12:57 PM Changeset in webkit [66126] by pkasting@chromium.org
  • 20 edits in trunk

Misc. cleanup split off from bug 32356.
https://bugs.webkit.org/show_bug.cgi?id=44696

Reviewed by Dimitri Glazkov.

WebCore:

  • WebCore.gyp/WebCore.gyp:
  • dom/Element.cpp:

(WebCore::localZoomForRenderer):

  • platform/ScrollView.cpp:

(WebCore::ScrollView::wheelEvent):

  • platform/ScrollView.h:
  • platform/Scrollbar.cpp:

(WebCore::Scrollbar::scroll):

  • platform/Scrollbar.h:

(WebCore::Scrollbar::isScrollbar):

  • platform/ScrollbarClient.h:

(WebCore::ScrollbarClient::~ScrollbarClient):

  • platform/qt/ScrollbarQt.cpp:

(WebCore::Scrollbar::contextMenu):

  • rendering/RenderBox.h:
  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::scroll):

  • rendering/RenderLayer.h:
  • rendering/RenderListBox.h:
  • rendering/RenderTextControlSingleLine.h:

WebKit/chromium:

  • src/WebScrollbarImpl.cpp:

(WebKit::WebScrollbarImpl::setLocation):
(WebKit::WebScrollbarImpl::onMouseWheel):

  • src/WebViewImpl.cpp:

(WebKit::WebViewImpl::propagateScroll):

  • src/win/WebInputEventFactory.cpp:

(WebKit::WebInputEventFactory::mouseWheelEvent):

WebKit2:

  • WebProcess/WebPage/qt/WebPageQt.cpp:

(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

12:46 PM Changeset in webkit [66125] by dpranke@chromium.org
  • 5 edits in trunk/WebKitTools

2010-08-26 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

new-run-webkit-tests: add rebaselining tests for test_expectations

This patch adds more unit tests for the rebaselining code in the
test_expectations module. It doesn't add any tests for
rebaseline_chromium_webkit_tests itself; that will come some other
time.

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

  • Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
12:44 PM Changeset in webkit [66124] by tony@chromium.org
  • 1 edit
    388 deletes in trunk/LayoutTests

2010-08-26 Tony Chang <tony@chromium.org>

Not reviewed. Removing chromium-win test results that deduplicate-tests says are not necessary.

  • platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Removed.
  • platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Removed.
  • platform/chromium-win-vista/fast/css/css2-system-fonts-expected.checksum: Removed.
  • platform/chromium-win-vista/fast/css/css2-system-fonts-expected.png: Removed.
  • platform/chromium-win-vista/fast/forms/search-styled-expected.checksum: Removed.
  • platform/chromium-win-vista/fast/forms/search-styled-expected.png: Removed.
  • platform/chromium-win-vista/fast/text/basic/006-expected.checksum: Removed.
  • platform/chromium-win-vista/fast/text/basic/006-expected.png: Removed.
  • platform/chromium-win-vista/fast/text/cg-vs-atsui-expected.checksum: Removed.
  • platform/chromium-win-vista/fast/text/cg-vs-atsui-expected.png: Removed.
  • platform/chromium-win-vista/fast/text/complex-text-opacity-expected.checksum: Removed.
  • platform/chromium-win-vista/fast/text/complex-text-opacity-expected.png: Removed.
  • platform/chromium-win-vista/svg/W3C-SVG-1.1/text-fonts-01-t-expected.checksum: Removed.
  • platform/chromium-win-vista/svg/W3C-SVG-1.1/text-fonts-01-t-expected.png: Removed.
  • platform/chromium-win-xp/editing/pasteboard/block-wrappers-necessary-expected.checksum: Removed.
  • platform/chromium-win-xp/editing/pasteboard/block-wrappers-necessary-expected.png: Removed.
  • platform/chromium-win-xp/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Removed.
  • platform/chromium-win-xp/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Removed.
  • platform/chromium-win-xp/fast/css/nested-rounded-corners-expected.png: Removed.
  • platform/chromium-win-xp/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt: Removed.
  • platform/chromium-win-xp/fast/forms/search-styled-expected.txt: Removed.
  • platform/chromium-win-xp/fast/lists/anonymous-items-expected.png: Removed.
  • platform/chromium-win-xp/fast/repaint/fixed-tranformed-expected.png: Removed.
  • platform/chromium-win-xp/fast/replaced/border-radius-clip-expected.checksum: Removed.
  • platform/chromium-win-xp/fast/replaced/border-radius-clip-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-empty-rt-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-length-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-run-break-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-runs-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-runs-spans-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-simple-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-simple-rp-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/ruby-trailing-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-insert-rt-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-insert-text1-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-insert-text2-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-insert-text3-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-remove-rt1-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-remove-rt2-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-remove-text1-expected.png: Removed.
  • platform/chromium-win-xp/fast/ruby/rubyDOM-remove-text2-expected.png: Removed.
  • platform/chromium-win-xp/fast/text/atsui-kerning-and-ligatures-expected.checksum: Removed.
  • platform/chromium-win-xp/fast/text/atsui-kerning-and-ligatures-expected.png: Removed.
  • platform/chromium-win-xp/fast/text/stroking-decorations-expected.checksum: Removed.
  • platform/chromium-win-xp/fast/text/stroking-decorations-expected.png: Removed.
  • platform/chromium-win-xp/fast/text/stroking-expected.checksum: Removed.
  • platform/chromium-win-xp/fast/text/stroking-expected.png: Removed.
  • platform/chromium-win-xp/svg/batik/text/textEffect2-expected.png: Removed.
  • platform/chromium-win-xp/svg/batik/text/textFeatures-expected.txt: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-child-clipped-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-childs-clipped-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-clipped-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-evenodd-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-evenodd-nonzero-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-nonzero-evenodd-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-nonzero-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-on-g-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-on-svg-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-text-and-shape-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-text-and-stroke-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-text-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child2-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child3-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child4-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Removed.
  • platform/chromium-win-xp/svg/clip-path/clip-path-with-text-clipped-expected.png: Removed.
  • platform/chromium-win-xp/svg/custom/foreign-object-skew-expected.checksum: Removed.
  • platform/chromium-win-xp/svg/custom/foreign-object-skew-expected.png: Removed.
  • platform/chromium-win-xp/svg/custom/js-late-gradient-and-object-creation-expected.checksum: Removed.
  • platform/chromium-win-xp/svg/custom/js-late-gradient-and-object-creation-expected.png: Removed.
  • platform/chromium-win-xp/svg/custom/js-late-pattern-and-object-creation-expected.checksum: Removed.
  • platform/chromium-win-xp/svg/custom/js-late-pattern-and-object-creation-expected.png: Removed.
  • platform/chromium-win-xp/svg/custom/mask-invalidation-expected.png: Removed.
  • platform/chromium-win/editing/deleting/transpose-empty-expected.txt: Removed.
  • platform/chromium-win/editing/execCommand/boldSelection-expected.txt: Removed.
  • platform/chromium-win/editing/pasteboard/paste-plaintext-user-select-none-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/bgCompositeCopy-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize02-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize03-expected.checksum: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize10-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize11-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize13-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize14-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize17-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize18-expected.txt: Removed.
  • platform/chromium-win/fast/backgrounds/size/backgroundSize19-expected.txt: Removed.
  • platform/chromium-win/fast/block/float/009-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/034-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/4145535Crash-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/br-with-clear-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/float-on-zero-height-line-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/narrow-after-wide-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/negative-margin-clear-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/nowrap-clear-min-width-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/overhanging-after-height-decrease-offsets-expected.checksum: Removed.
  • platform/chromium-win/fast/block/float/relative-painted-twice-expected.txt: Removed.
  • platform/chromium-win/fast/block/positioning/003-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/004-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/005-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/006-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/007-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/008-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/009-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/010-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/011-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/012-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/013-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/014-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/015-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/016-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/017-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/018-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/019-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/020-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/021-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/022-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/023-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/024-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/025-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/026-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/027-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/028-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/029-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/030-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/031-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/032-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/033-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/034-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/035-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/036-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/037-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/038-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/039-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/040-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/041-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/042-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/043-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/044-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/045-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/046-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/048-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/049-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/050-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/062-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/move-with-auto-width-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/relative-overconstrained-expected.checksum: Removed.
  • platform/chromium-win/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Removed.
  • platform/chromium-win/fast/borders/border-image-omit-right-slice-expected.txt: Removed.
  • platform/chromium-win/fast/borders/outline-offset-min-assert-expected.checksum: Removed.
  • platform/chromium-win/fast/canvas/access-zero-sized-canvas-expected.txt: Removed.
  • platform/chromium-win/fast/canvas/canvas-as-image-expected.txt: Removed.
  • platform/chromium-win/fast/canvas/canvas-as-image-incremental-repaint-expected.txt: Removed.
  • platform/chromium-win/fast/canvas/canvas-bg-zoom-expected.txt: Removed.
  • platform/chromium-win/fast/canvas/canvas-text-alignment-expected.txt: Removed.
  • platform/chromium-win/fast/canvas/canvas-text-baseline-expected.txt: Removed.
  • platform/chromium-win/fast/canvas/canvas-transform-identity-expected.checksum: Removed.
  • platform/chromium-win/fast/canvas/canvas-transform-infinity-expected.checksum: Removed.
  • platform/chromium-win/fast/canvas/canvas-transform-multiply-expected.checksum: Removed.
  • platform/chromium-win/fast/canvas/canvas-transform-nan-expected.checksum: Removed.
  • platform/chromium-win/fast/canvas/canvas-transform-non-invertible-expected.checksum: Removed.
  • platform/chromium-win/fast/clip/017-expected.checksum: Removed.
  • platform/chromium-win/fast/css/006-expected.checksum: Removed.
  • platform/chromium-win/fast/css/affected-by-hover-after-style-change-expected.checksum: Removed.
  • platform/chromium-win/fast/css/content-dynamic-expected.checksum: Removed.
  • platform/chromium-win/fast/css/last-child-style-sharing-expected.checksum: Removed.
  • platform/chromium-win/fast/css/transition-color-unspecified-expected.checksum: Removed.
  • platform/chromium-win/fast/css/variables/invalid-identifier-expected.txt: Removed.
  • platform/chromium-win/fast/dom/HTMLStyleElement/insert-parser-generated-expected.checksum: Removed.
  • platform/chromium-win/fast/dom/Window/console-trace-expected.txt: Removed.
  • platform/chromium-win/fast/dom/Window/window-open-pending-url-expected.txt: Removed.
  • platform/chromium-win/fast/dom/css-cached-import-rule-expected.checksum: Removed.
  • platform/chromium-win/fast/dom/css-insert-import-rule-expected.checksum: Removed.
  • platform/chromium-win/fast/dom/delete-contents-expected.checksum: Removed.
  • platform/chromium-win/fast/dom/delete-contents-expected.txt: Removed.
  • platform/chromium-win/fast/dynamic/001-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/005-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/float-no-longer-overhanging-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/float-withdrawal-2-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/floating-to-positioned-2-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/floating-to-positioned-2-expected.txt: Removed.
  • platform/chromium-win/fast/dynamic/floating-to-positioned-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/floating-to-positioned-expected.txt: Removed.
  • platform/chromium-win/fast/dynamic/genContentDestroyChildren-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/insertAdjacentElement-expected.txt: Removed.
  • platform/chromium-win/fast/dynamic/positioned-movement-with-positioned-children-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/staticY-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/subtree-boundary-percent-height-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/subtree-no-common-root-static-y-expected.checksum: Removed.
  • platform/chromium-win/fast/dynamic/subtree-table-cell-height-expected.checksum: Removed.
  • platform/chromium-win/fast/events/mouse-drag-from-frame-to-other-frame-expected.txt: Removed.
  • platform/chromium-win/fast/events/onloadFrameCrash-expected.checksum: Removed.
  • platform/chromium-win/fast/events/onunload-clears-onbeforeunload-expected.txt: Removed.
  • platform/chromium-win/fast/events/onunload-not-on-body-expected.txt: Removed.
  • platform/chromium-win/fast/forms/005-expected.txt: Removed.
  • platform/chromium-win/fast/forms/drag-out-of-textarea-expected.txt: Removed.
  • platform/chromium-win/fast/forms/form-and-frame-interaction-retains-values-expected.txt: Removed.
  • platform/chromium-win/fast/forms/selected-index-assert-expected.txt: Removed.
  • platform/chromium-win/fast/forms/slider-onchange-event-expected.txt: Removed.
  • platform/chromium-win/fast/forms/slider-transformed-expected.txt: Removed.
  • platform/chromium-win/fast/forms/textarea-no-scroll-on-blur-expected.txt: Removed.
  • platform/chromium-win/fast/forms/textarea-scrolled-endline-caret-expected.txt: Removed.
  • platform/chromium-win/fast/frames/002-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/calculate-fixed-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/calculate-order-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/calculate-percentage-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/calculate-relative-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/calculate-round-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/empty-cols-attribute-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/empty-frame-src-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/frame-length-fractional-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/frame-set-whitespace-attributes-expected.checksum: Removed.
  • platform/chromium-win/fast/frames/no-frame-borders-expected.checksum: Removed.
  • platform/chromium-win/fast/gradients/background-clipped-expected.txt: Removed.
  • platform/chromium-win/fast/gradients/border-image-gradient-expected.txt: Removed.
  • platform/chromium-win/fast/gradients/border-image-gradient-sides-and-corners-expected.txt: Removed.
  • platform/chromium-win/fast/images/image-in-map-expected.checksum: Removed.
  • platform/chromium-win/fast/images/pdf-as-tiled-background-expected.checksum: Removed.
  • platform/chromium-win/fast/images/svg-as-background-expected.checksum: Removed.
  • platform/chromium-win/fast/images/svg-as-image-expected.checksum: Removed.
  • platform/chromium-win/fast/images/svg-as-relative-image-expected.checksum: Removed.
  • platform/chromium-win/fast/images/svg-width-100p-as-background-expected.checksum: Removed.
  • platform/chromium-win/fast/inline-block/004-expected.checksum: Removed.
  • platform/chromium-win/fast/inline-block/005-expected.checksum: Removed.
  • platform/chromium-win/fast/invalid/015-expected.checksum: Removed.
  • platform/chromium-win/fast/invalid/table-residual-style-crash-expected.checksum: Removed.
  • platform/chromium-win/fast/js/exception-linenums-in-html-3-expected.checksum: Removed.
  • platform/chromium-win/fast/js/missing-style-end-tag-js-expected.checksum: Removed.
  • platform/chromium-win/fast/js/missing-title-end-tag-js-expected.checksum: Removed.
  • platform/chromium-win/fast/layers/positioned-inside-root-with-margins-expected.checksum: Removed.
  • platform/chromium-win/fast/layers/self-painting-outline-expected.txt: Removed.
  • platform/chromium-win/fast/layers/zindex-ridonkulous-expected.checksum: Removed.
  • platform/chromium-win/fast/overflow/position-relative-expected.checksum: Removed.
  • platform/chromium-win/fast/overflow/unreachable-content-test-expected.checksum: Removed.
  • platform/chromium-win/fast/parser/comment-in-script-expected.txt: Removed.
  • platform/chromium-win/fast/parser/external-entities-expected.txt: Removed.
  • platform/chromium-win/fast/parser/style-script-head-test-expected.checksum: Removed.
  • platform/chromium-win/fast/reflections/reflection-computed-style-expected.txt: Removed.
  • platform/chromium-win/fast/reflections/table-cell-expected.checksum: Removed.
  • platform/chromium-win/fast/reflections/table-cell-expected.txt: Removed.
  • platform/chromium-win/fast/reflections/teardown-crash-expected.txt: Removed.
  • platform/chromium-win/fast/repaint/button-spurious-layout-hint-expected.checksum: Removed.
  • platform/chromium-win/fast/repaint/float-in-new-block-with-layout-delta-expected.checksum: Removed.
  • platform/chromium-win/fast/replaced/008-expected.checksum: Removed.
  • platform/chromium-win/fast/table/024-expected.checksum: Removed.
  • platform/chromium-win/fast/table/031-expected.checksum: Removed.
  • platform/chromium-win/fast/table/caption-relayout-expected.checksum: Removed.
  • platform/chromium-win/fast/table/div-as-col-span-expected.checksum: Removed.
  • platform/chromium-win/fast/table/giantCellspacing-expected.checksum: Removed.
  • platform/chromium-win/fast/table/growCellForImageQuirk-expected.checksum: Removed.
  • platform/chromium-win/fast/table/max-width-integer-overflow-expected.checksum: Removed.
  • platform/chromium-win/fast/table/percent-widths-stretch-expected.checksum: Removed.
  • platform/chromium-win/fast/table/vertical-align-baseline-readjust-expected.checksum: Removed.
  • platform/chromium-win/fast/text/align-center-rtl-spill-expected.checksum: Removed.
  • platform/chromium-win/fast/text/apply-start-width-after-skipped-text-expected.checksum: Removed.
  • platform/chromium-win/fast/text/fixed-pitch-control-characters-expected.checksum: Removed.
  • platform/chromium-win/fast/text/selection-painted-separately-expected.checksum: Removed.
  • platform/chromium-win/fast/text/soft-hyphen-3-expected.checksum: Removed.
  • platform/chromium-win/fast/text/stripNullFromText-expected.checksum: Removed.
  • platform/chromium-win/fast/text/whitespace/017-expected.txt: Removed.
  • platform/chromium-win/fast/tokenizer/missing-style-end-tag-1-expected.checksum: Removed.
  • platform/chromium-win/fast/tokenizer/missing-style-end-tag-2-expected.checksum: Removed.
  • platform/chromium-win/fast/tokenizer/script-after-frameset-expected.checksum: Removed.
  • platform/chromium-win/fast/xsl/mozilla-tests-expected.txt: Removed.
  • platform/chromium-win/fast/xsl/xslt-mismatched-tags-in-xslt-expected.checksum: Removed.
  • platform/chromium-win/media/video-play-pause-events-expected.txt: Removed.
  • platform/chromium-win/plugins/embed-attributes-setting-expected.txt: Removed.
  • platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-01-t-expected.checksum: Removed.
  • platform/chromium-win/svg/carto.net/tabgroup-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/SVGNumber-interface-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/SVGPoint-interface-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/SVGRect-interface-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/attribute-namespace-check-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/class-selector-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/clip-path-child-changes-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/clip-path-href-changes-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/clip-path-units-changes-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/clip-path-with-transform-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/conditional-processing-outside-switch-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/create-metadata-element-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/createelement-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/css-pixels-dpi-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/display-none-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/dynamic-viewBox-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/evt-onload-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/fill-update-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/filter-source-alpha-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/gradient-add-stops-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/gradient-attr-update-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/gradient-stop-style-change-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/hover-default-fill-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/image-clipped-hit-expected.txt: Removed.
  • platform/chromium-win/svg/custom/image-with-aspect-ratio-stretch-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/inner-percent-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/inner-svg-hit-test-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/invalid-transforms-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/mask-excessive-malloc-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/mask-inside-defs-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/pattern-in-defs-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/percentage-rect2-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/poly-identify-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/polyline-hittest-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/polyline-invalid-points-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/polyline-setattribute-points-null-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/prevent-default-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/repaint-on-image-bounds-change-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/resource-client-removal-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/rgbcolor-syntax-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/rootelement-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/scroll-hit-test-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/sheet-title-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/svg-absolute-children-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/text-gradient-no-content-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/transform-ignore-after-invalid-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/transform-invalid-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/transform-removeAttributeNS-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/transform-scale-parse-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/transform-with-ending-space-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/transformedMaskFails-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/use-empty-reference-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/use-infinite-recursion-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/use-recalcStyle-crash-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/use-symbol-overflow-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/viewport-clip-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/viewport-no-width-height-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/viewport-update-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/viewport-update2-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/visibility-override-clip-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/visibility-override-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/visibility-override-mask-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/xhtml-no-svg-renderer-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/xml-stylesheet-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/dynamic/003-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/dynamic/004-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/dynamic/006-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/001-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/006-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/007-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/008-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/009-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/014-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/014-test-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/015-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/error/016-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/painting/001-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/processing-model/005-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/rendering-model/003a-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/use/001-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/use/002-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/use/002-test-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/viewbox/001-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/viewbox/002-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/viewbox/003-expected.checksum: Removed.
  • platform/chromium-win/svg/hixie/viewbox/004-expected.checksum: Removed.
  • platform/chromium-win/svg/webarchive/svg-script-subresouces-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/adforce_imgis_com-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug103533-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug1818-6-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug196870-expected.txt: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug222336-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug222467-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug269566-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug277062-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug28933-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug2954-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug8032-2-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/bugs/bug9024-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla/core/col_widths_fix_autoFixPer-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug128876-expected.checksum: Removed.
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug3517-expected.checksum: Removed.
  • platform/chromium-win/transforms/3d/hit-testing/backface-hit-test-expected.txt: Removed.
  • platform/chromium-win/transitions/transition-end-event-rendering-expected.checksum: Removed.
  • platform/chromium-win/webarchive/archive-with-unencoded-url-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-body-background-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-img-src-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-input-src-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-link-rel-icon-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-object-data-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-script-src-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-table-background-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-td-background-expected.checksum: Removed.
  • platform/chromium-win/webarchive/test-xml-stylesheet-expected.checksum: Removed.
12:43 PM Changeset in webkit [66123] by hyatt@apple.com
  • 1 edit in trunk/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp

Fix QT bustage.

12:33 PM Changeset in webkit [66122] by hyatt@apple.com
  • 4 edits in trunk/WebCore

https://bugs.webkit.org/show_bug.cgi?id=39647, font face loads do a synchronous recalcStyle(Force)
on the whole document. Change these calls to do async recalcStyles instead.

Reviewed by Simon Fraser.

  • css/CSSFontSelector.cpp:

(WebCore::CSSFontSelector::fontLoaded):
(WebCore::CSSFontSelector::fontCacheInvalidated):

  • dom/Document.cpp:

(WebCore::Document::scheduleForcedStyleRecalc):
(WebCore::Document::styleSelectorChanged):

  • dom/Document.h:
12:23 PM Changeset in webkit [66121] by tony@chromium.org
  • 1 edit
    38 deletes in trunk/LayoutTests

2010-08-26 Tony Chang <tony@chromium.org>

Not reviewed. Removing chromium-linux test results that deduplicate-tests says are not necessary.

  • platform/chromium-linux/fast/block/basic/min-pref-width-nowrap-floats-expected.txt: Removed.
  • platform/chromium-linux/fast/block/positioning/complex-percentage-height-expected.txt: Removed.
  • platform/chromium-linux/fast/frames/invalid-expected.txt: Removed.
  • platform/chromium-linux/fast/frames/valid-expected.txt: Removed.
  • platform/chromium-linux/fast/lists/item-not-in-list-line-wrapping-expected.txt: Removed.
  • platform/chromium-linux/fast/repaint/multicol-repaint-expected.png: Removed.
  • platform/chromium-linux/fast/ruby/ruby-inline-table-expected.txt: Removed.
  • platform/chromium-linux/fast/runin/generated2-expected.txt: Removed.
  • platform/chromium-linux/fast/runin/generated3-expected.txt: Removed.
  • platform/chromium-linux/fast/runin/generated4-expected.txt: Removed.
  • platform/chromium-linux/fast/text/stripNullFromText-expected.checksum: Removed.
  • platform/chromium-linux/fast/text/stripNullFromText-expected.png: Removed.
  • platform/chromium-linux/fast/url/host-expected.txt: Removed.
  • platform/chromium-linux/fast/url/mailto-expected.txt: Removed.
  • platform/chromium-linux/fast/url/path-expected.txt: Removed.
  • platform/chromium-linux/fast/url/scheme-expected.txt: Removed.
  • platform/chromium-linux/fast/url/standard-url-expected.txt: Removed.
  • platform/chromium-linux/media/video-zoom-expected.txt: Removed.
  • platform/chromium-linux/svg/css/svg-ellipse-render-crash-expected.txt: Removed.
  • platform/chromium-linux/svg/custom/fill-opacity-hsl-expected.png: Removed.
  • platform/chromium-linux/svg/custom/fill-opacity-rgba-expected.png: Removed.
  • platform/chromium-linux/svg/custom/mask-changes-expected.checksum: Removed.
  • platform/chromium-linux/svg/custom/visibility-override-filter-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/big-sized-filter-2-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/big-sized-filter-2-expected.png: Removed.
  • platform/chromium-linux/svg/filters/big-sized-filter-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/big-sized-filter-expected.png: Removed.
  • platform/chromium-linux/svg/filters/feColorMatrix-values-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/feColorMatrix-values-expected.png: Removed.
  • platform/chromium-linux/svg/filters/feMerge-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/feMerge-expected.png: Removed.
  • platform/chromium-linux/svg/filters/feOffset-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/feTile-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/feTile-expected.png: Removed.
  • platform/chromium-linux/svg/filters/parent-children-with-same-filter-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/parent-children-with-same-filter-expected.png: Removed.
  • platform/chromium-linux/svg/filters/subRegion-in-userSpace-expected.checksum: Removed.
  • platform/chromium-linux/svg/filters/subRegion-in-userSpace-expected.png: Removed.
12:14 PM Changeset in webkit [66120] by kov@webkit.org
  • 2 edits in trunk/WebKitTools

2010-08-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Add HTTP caching support
https://bugs.webkit.org/show_bug.cgi?id=44261

Ignore new soup API that we decided to merge into the soup backend
while it is being cooked. It follows the libsoup style, and will
be removed from WebKit as soon as it is merged into libsoup.

  • Scripts/webkitpy/style/checker.py:
12:00 PM Changeset in webkit [66119] by oliver@apple.com
  • 2 edits in trunk/JavaScriptCore

2010-08-25 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

Improve overflow handling in StringImpl::Replace
https://bugs.webkit.org/show_bug.cgi?id=42502
<rdar://problem/8203794>

Harden StringImpl::replace against overflow -- I can't see how this
could be abused, but it's better to be safe than sorry.

  • wtf/text/StringImpl.cpp: (WTF::StringImpl::replace):
11:54 AM Changeset in webkit [66118] by xan@webkit.org
  • 2 edits in trunk/WebCore

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

Reviewed by Martin Robinson.

Fix double free (we were passing const memory to a GOwnPtr) by
getting rid of unneeded temp variable.

  • platform/gtk/FileSystemGtk.cpp: (WebCore::directoryName):
11:27 AM Changeset in webkit [66117] by mnaganov@chromium.org
  • 27 edits
    2 copies
    1 move
    1 add
    2 deletes in trunk

2010-08-26 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Store heap snapshots in InspectorProfilerAgent.

Change the way heap snapshots are transported to Inspector
to be aligned with CPU profiles. As a result, the Heap snapshots
view of Profiles panel was upstreamed into WebCore.

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

  • English.lproj/localizedStrings.js:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/ScriptHeapSnapshot.h: Added. (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot): (WebCore::ScriptHeapSnapshot::title): (WebCore::ScriptHeapSnapshot::uid): (WebCore::ScriptHeapSnapshot::buildInspectorObjectForHead): (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
  • bindings/js/ScriptProfiler.h: (WebCore::ScriptProfiler::takeHeapSnapshot):
  • bindings/v8/ScriptHeapSnapshot.cpp: Added. (WebCore::ScriptHeapSnapshot::title): (WebCore::ScriptHeapSnapshot::uid): (WebCore::buildInspectorObjectFor): (WebCore::ScriptHeapSnapshot::buildInspectorObjectForHead):
  • bindings/v8/ScriptHeapSnapshot.h: Added. (WebCore::ScriptHeapSnapshot::create): (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot): (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
  • bindings/v8/ScriptProfile.cpp: (WebCore::buildInspectorObjectFor):
  • bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::takeHeapSnapshot):
  • bindings/v8/ScriptProfiler.h:
  • inspector/Inspector.idl:
  • inspector/InspectorBackend.cpp:
  • inspector/InspectorBackend.h:
  • inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::InspectorProfilerAgent): (WebCore::InspectorProfilerAgent::createSnapshotHeader): (WebCore::InspectorProfilerAgent::getProfileHeaders): (WebCore::InspectorProfilerAgent::getProfile): (WebCore::InspectorProfilerAgent::removeProfile): (WebCore::InspectorProfilerAgent::resetState): (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
  • inspector/InspectorProfilerAgent.h:
  • inspector/front-end/HeapSnapshotView.js: Added. (WebInspector.HeapSnapshotView.profileCallback): (WebInspector.HeapSnapshotView.resetCompleted): (WebInspector.HeapSnapshotView): (WebInspector.HeapSnapshotView.prototype.get statusBarItems): (WebInspector.HeapSnapshotView.prototype.get profile): (WebInspector.HeapSnapshotView.prototype.set profile): (WebInspector.HeapSnapshotView.prototype.show): (WebInspector.HeapSnapshotView.prototype.hide): (WebInspector.HeapSnapshotView.prototype.resize): (WebInspector.HeapSnapshotView.prototype.refresh): (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents): (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags): (WebInspector.HeapSnapshotView.prototype.searchCanceled): (WebInspector.HeapSnapshotView.prototype.performSearch): (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData): (WebInspector.HeapSnapshotView.prototype._changeBase.resetCompleted): (WebInspector.HeapSnapshotView.prototype._changeBase): (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList): (WebInspector.HeapSnapshotView.prototype._getProfiles): (WebInspector.HeapSnapshotView.prototype._loadProfile.loadedCallback): (WebInspector.HeapSnapshotView.prototype._loadProfile): (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid): (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent): (WebInspector.HeapSnapshotView.prototype._percentClicked): (WebInspector.HeapSnapshotView.prototype._prepareProfile.mergeRetainers): (WebInspector.HeapSnapshotView.prototype._prepareProfile): (WebInspector.HeapSnapshotView.prototype._resetDataGridList.profileLoaded): (WebInspector.HeapSnapshotView.prototype._resetDataGridList): (WebInspector.HeapSnapshotView.prototype._sortData): (WebInspector.HeapSnapshotView.prototype._updateBaseOptions): (WebInspector.HeapSnapshotView.prototype._updatePercentButton): (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph): (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS): (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL): (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL): (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL): (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER): (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber): (WebInspector.HeapSummaryCalculator): (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues): (WebInspector.HeapSummaryCalculator.prototype.formatValue): (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent): (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent): (WebInspector.HeapSummaryCountCalculator): (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow): (WebInspector.HeapSummaryCountCalculator.prototype._valueToString): (WebInspector.HeapSummarySizeCalculator): (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow): (WebInspector.HeapSnapshotDataGridNodeWithRetainers): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data): (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell): (WebInspector.HeapSnapshotDataGridNode): (WebInspector.HeapSnapshotDataGridList): (WebInspector.HeapSnapshotDataGridList.prototype.appendChild): (WebInspector.HeapSnapshotDataGridList.prototype.insertChild): (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren): (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren): (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator): (WebInspector.HeapSnapshotDataGridList.propertyComparator): (WebInspector.HeapSnapshotDataGridRetainerNode): (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent): (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent): (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers): (WebInspector.HeapSnapshotProfileType): (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip): (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle): (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked): (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage): (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile): (WebInspector.HeapSnapshotProfileType.prototype.createView):
  • inspector/front-end/ProfileView.js: (WebInspector.CPUProfileView): (WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.addProfileHeader): (WebInspector.ProfilesPanel.prototype.removeProfileHeader): (WebInspector.ProfilesPanel.prototype.getProfiles): (WebInspector.ProfilesPanel.prototype.updateProfile): (WebInspector.ProfileSidebarTreeElement): (WebInspector.ProfileSidebarTreeElement.prototype.get mainTitle):
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.css: (.heap-snapshot-sidebar-tree-item .icon): (.heap-snapshot-sidebar-tree-item.small .icon): (.heap-snapshot-view): (.heap-snapshot-view.visible): (.heap-snapshot-view .data-grid): (.heap-snapshot-view .data-grid th.count-column): (.heap-snapshot-view .data-grid td.count-column): (.heap-snapshot-view .data-grid th.size-column): (.heap-snapshot-view .data-grid td.size-column): (.heap-snapshot-view .data-grid th.countDelta-column): (.heap-snapshot-view .data-grid td.countDelta-column): (.heap-snapshot-view .data-grid th.sizeDelta-column): (.heap-snapshot-view .data-grid td.sizeDelta-column): (#heap-snapshot-summary-container): (.heap-snapshot-summary): (.heap-snapshot-summary canvas.summary-graph): (.heap-snapshot-summary-label):
  • inspector/front-end/inspector.html:
  • inspector/front-end/inspector.js: (WebInspector._createPanels):
  • DEPS:
  • WebKit.gypi:
  • src/js/DevTools.js: ():
  • src/js/HeapProfilerPanel.js: Removed.
  • src/js/ProfilerAgent.js: Removed.
  • src/js/ProfilerProcessor.js: Removed.
  • src/js/devTools.css:
11:19 AM Changeset in webkit [66116] by hyatt@apple.com
  • 2 edits in trunk/LayoutTests

Reset results for an incorrect test after my previous checkin.

11:17 AM Changeset in webkit [66115] by hyatt@apple.com
  • 17 edits in trunk/WebCore

<rdar://problem/8302217> recalcStyles called immediately on each change when updating document-level stylesheets
https://bugs.webkit.org/show_bug.cgi?id=36303

Reviewed by Simon Fraser.

Parameterize updateStyleSelector to optionally defer the forced style recalc following the rebuilding of the
sheets used by the CSSStyleSelector. Rename the method to styleSelectorChanged(). Add the capability to do
a forced style recalc to the style recalc timer.

  • css/CSSMutableStyleDeclaration.cpp:

(WebCore::CSSMutableStyleDeclaration::setNeedsStyleRecalc):

  • css/CSSStyleSheet.cpp:

(WebCore::CSSStyleSheet::styleSheetChanged):

  • css/CSSVariablesDeclaration.cpp:

(WebCore::CSSVariablesDeclaration::setNeedsStyleRecalc):

  • dom/Document.cpp:

(WebCore::Document::Document):
(WebCore::Document::scheduleStyleRecalc):
(WebCore::Document::updateStyleIfNeeded):
(WebCore::Document::updateLayoutIgnorePendingStylesheets):
(WebCore::Document::clearPageUserSheet):
(WebCore::Document::clearPageGroupUserSheets):
(WebCore::Document::processHttpEquiv):
(WebCore::Document::setSelectedStylesheetSet):
(WebCore::Document::removePendingSheet):
(WebCore::Document::styleSelectorChanged):
(WebCore::Document::setInPageCache):

  • dom/Document.h:

(WebCore::):

  • dom/ProcessingInstruction.cpp:

(WebCore::ProcessingInstruction::removedFromDocument):

  • dom/StyleElement.cpp:

(WebCore::StyleElement::removedFromDocument):

  • dom/XMLDocumentParser.cpp:

(WebCore::XMLDocumentParser::end):

  • dom/XMLDocumentParserLibxml2.cpp:

(WebCore::XMLDocumentParser::doEnd):

  • html/HTMLDocument.cpp:

(WebCore::HTMLDocument::determineParseMode):

  • html/HTMLLinkElement.cpp:

(WebCore::HTMLLinkElement::setDisabledState):
(WebCore::HTMLLinkElement::process):
(WebCore::HTMLLinkElement::removedFromDocument):

  • page/Frame.cpp:

(WebCore::Frame::setPrinting):
(WebCore::Frame::reapplyStyles):

  • page/FrameView.cpp:

(WebCore::FrameView::layout):

  • page/Page.cpp:

(WebCore::Page::setViewMode):

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::setDesiredColumnCountAndWidth):

  • svg/SVGFontFaceElement.cpp:

(WebCore::SVGFontFaceElement::rebuildFontFace):
(WebCore::SVGFontFaceElement::removeFromMappedElementSheet):

11:13 AM WebKitGTKFonts edited by Martin Robinson
(diff)
11:09 AM Changeset in webkit [66114] by vangelis@chromium.org
  • 5 edits in trunk/WebCore

2010-08-24 Vangelis Kokkevis <vangelis@chromium.org>

Reviewed by Kenneth Russell.

[chromium] Implementing clipping for composited layers. Two
types of clipping are added: Scissoring for layers that don't
contain any rotations and stencil-buffer based clipping for
all other layers.
https://bugs.webkit.org/show_bug.cgi?id=44573

Tests: Compositor layout tests that test clipping such as
compositing/geometry/{clip.html, clipping-foreground.html} now
work properly.

  • platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::SharedValues::SharedValues): (WebCore::LayerChromium::getDrawRect): (WebCore::LayerChromium::drawAsMask):
  • platform/graphics/chromium/LayerChromium.h:
  • platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::drawLayers): (WebCore::LayerRendererChromium::drawLayerIntoStencilBuffer): (WebCore::LayerRendererChromium::drawLayersRecursive): (WebCore::LayerRendererChromium::scissorToRect): (WebCore::LayerRendererChromium::initializeSharedObjects):
  • platform/graphics/chromium/LayerRendererChromium.h:
11:06 AM WebKitGTKFonts edited by Martin Robinson
(diff)
11:01 AM WebKitGTKFonts edited by Martin Robinson
(diff)
10:52 AM Changeset in webkit [66113] by kbr@google.com
  • 3 edits in trunk/WebCore

2010-08-25 Kenneth Russell <kbr@google.com>

Reviewed by Dimitri Glazkov.

Expose Vector3 and associated operations
https://bugs.webkit.org/show_bug.cgi?id=44666

No new tests; ran several 3D CSS demos and did full layout test
run. New code paths have also been tested by new calling code
which will be checked in soon.

  • platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::decompose):
  • platform/graphics/transforms/TransformationMatrix.h: (WebCore::Vector3::Vector3): (WebCore::Vector3::x): (WebCore::Vector3::y): (WebCore::Vector3::z): (WebCore::Vector3::setX): (WebCore::Vector3::setY): (WebCore::Vector3::setZ): (WebCore::Vector3::set): (WebCore::Vector3::operator =): (WebCore::Vector3::operator +): (WebCore::Vector3::operator -): (WebCore::Vector3::operator[]): (WebCore::Vector3::length): (WebCore::Vector3::lengthSquared): (WebCore::Vector3::scaleTo): (WebCore::Vector3::normalize): (WebCore::Vector3::dot): (WebCore::Vector3::combine): (WebCore::Vector3::cross):
10:45 AM WebKitGTKFonts created by Martin Robinson
10:27 AM Changeset in webkit [66112] by mnaganov@chromium.org
  • 2 edits in trunk/WebCore

2010-08-26 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: fix CPU profile header entries doubling on Inspector re-opening.

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

  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.show):
9:52 AM Changeset in webkit [66111] by commit-queue@webkit.org
  • 3 edits in trunk/WebKit/efl

2010-08-26 Miroslaw Szymanski <miroslaw.s@samsung.com>

Reviewed by Kenneth Rohde Christiansen.

[EFL] Added new callback when view's size is changed to fix issue with changing layout size
https://bugs.webkit.org/show_bug.cgi?id=44337

  • ewk/ewk_view.cpp: (_ewk_view_smart_calculate):
9:45 AM Changeset in webkit [66110] by eric.carlson@apple.com
  • 8 edits
    2 adds in trunk

2010-08-26 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler and Maciej Stachowiak.

https://bugs.webkit.org/show_bug.cgi?id=44013
HTMLMediaElement should delay document load event

Test: media/video-delay-load-event.html

  • dom/Document.cpp: (WebCore::Document::Document): Initialize incrementLoadEventDelayCount. (WebCore::Document::decrementLoadEventDelayCount): New, decrement incrementLoadEventDelayCount and call loader->checkCompleted() when it reaches zero.
  • dom/Document.h: (WebCore::Document::incrementLoadEventDelayCount): New. (WebCore::Document::isDelayingLoadEvent): New.
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::~HTMLMediaElement): Stop delaying the load event if necessary. (WebCore::HTMLMediaElement::willMoveToNewOwnerDocument): Ditto. (WebCore::HTMLMediaElement::didMoveToNewOwnerDocument): Delay the load event if we don't the meta data for the movie yet. (WebCore::HTMLMediaElement::prepareForLoad): Delay the load event. (WebCore::HTMLMediaElement::selectMediaResource): Don't delay the load event when there are no more sources to consider. Don't change m_delayingTheLoadEvent directly, call setShouldDelayLoadEvent() instead. (WebCore::HTMLMediaElement::waitForSourceChange): Stop delaying the load event. (WebCore::HTMLMediaElement::noneSupported): Ditto. (WebCore::HTMLMediaElement::mediaEngineError): Ditto. (WebCore::HTMLMediaElement::setReadyState): Ditto. (WebCore::HTMLMediaElement::userCancelledLoad): Ditto. (WebCore::HTMLMediaElement::setShouldDelayLoadEvent): New, increment/decrement the document's load event delay count.
  • html/HTMLMediaElement.h:
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted): See if the document wants to delay completion for elements that don't go through a FrameLoader. (WebCore::FrameLoader::checkCallImplicitClose): Ditto
  • page/Frame.cpp:

2010-08-26 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler and Maciej Stachowiak.

https://bugs.webkit.org/show_bug.cgi?id=44013
HTMLMediaElement should delay document load event

  • media/video-delay-load-event-expected.txt: Added.
  • media/video-delay-load-event.html: Added.
  • media/video-layer-crash.html: Trigger test with script inline in the <body> instead of from an onload handler as that runs too late. Reformat script to make it readable.
9:18 AM Changeset in webkit [66109] by mitz@apple.com
  • 5 edits in trunk

WebCore: Fix the same issue as https://bugs.webkit.org/show_bug.cgi?id=41585
but this time for the -webkit-font-smoothing property.

Reviewed by Simon Fraser.

Updated fast/css/text-rendering-priority.html to cover all properties that
affect the font.

  • css/CSSPropertyNames.in: Moved text-rendering to the “high priority” section at the top.
  • css/CSSStyleSelector.cpp:

(WebCore::CSSStyleSelector::styleForElement): Assert that the font is not dirtied by
applying any of the “low priority” properties, but still handle the case that the assertion
is false.
(WebCore::CSSStyleSelector::applyDeclarations): Updated compile-time assertion.

LayoutTests: Extended this test to cover all properties that dirty the font and therefore
need to have high priority.

Reviewed by Simon Fraser.

  • fast/css/text-rendering-priority.html:
9:16 AM Changeset in webkit [66108] by Martin Robinson
  • 6 edits in trunk

2010-08-26 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] The GNUmakefile.am files contain a myriad of confusing preprocessor and compiler flag definitions
https://bugs.webkit.org/show_bug.cgi?id=44624

Clean up GNUmakefile.am.

  • GNUmakefile.am: Make the comments describing the global_* variables more readable and correct. Move WebKit-specific include lines and definitions out of webkitgtk_cppflags, corekit_cppflags and webcoregtk_cppflags and straight to the appropriate CPPFLAGS definition. Use global_cppflags for compiler flags that apply to both C++ and C code. Move some JavaScriptCore specific includes to the appropriate sub-directory GNUmakefile.am. Make sure the tests build with the global CPP flags as well.

2010-08-26 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] The GNUmakefile.am files contain a myriad of confusing preprocessor and compiler flag definitions
https://bugs.webkit.org/show_bug.cgi?id=44624

Clean up GNUmakefile.am.

  • GNUmakefile.am: Alphabetize the include order in javascriptcore_cppflags. Move a couple include lines from the top-level GNUmakefile.am.

2010-08-26 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[GTK] The GNUmakefile.am files contain a myriad of confusing preprocessor and compiler flag definitions
https://bugs.webkit.org/show_bug.cgi?id=44624

Clean up GNUmakefile.am.

  • GNUmakefile.am: Remove some WebKit includes from webcore_cppflags. These includes are added to the build line by the top-level GNUmakefile.am, since WebCore isn't build as an intermediate library.
8:59 AM Changeset in webkit [66107] by kevino@webkit.org
  • 10 edits in trunk/WebKit/wx

Reviewed by Kevin Ollivier.

A few tweaks to the wxWebView editing APIs after addition of DOM bindings.
https://bugs.webkit.org/show_bug.cgi?id=44656

8:58 AM Changeset in webkit [66106] by yurys@chromium.org
  • 24 edits in trunk

2010-08-26 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Revert r66103 since Qt tests are failing.

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::inspectedPageDestroyed): (WebCore::InspectorController::close):
  • inspector/InspectorFrontendClient.h:
  • inspector/InspectorFrontendHost.cpp:
  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/InspectorFrontendHostStub.js:
  • inspector/front-end/inspector.js: (WebInspector.inspectedPageDestroyed):
8:55 AM Changeset in webkit [66105] by wsiegrist@apple.com
  • 2 edits in trunk/BugsSite

2010-08-26 William Siegrist <wsiegrist@apple.com>

Back out part of the changes in r66104 that were accidentally included.

8:51 AM Changeset in webkit [66104] by wsiegrist@apple.com
  • 3 edits in trunk/BugsSite

2010-08-26 William Siegrist <wsiegrist@apple.com>

Fix PATH for PrettyPatch so it can find git.

8:38 AM Changeset in webkit [66103] by yurys@chromium.org
  • 24 edits in trunk

2010-08-26 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
https://bugs.webkit.org/show_bug.cgi?id=44230

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::inspectedPageDestroyed): (WebCore::InspectorController::close):
  • inspector/InspectorFrontendClient.h:
  • inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::disconnectFromBackend): don't try to notify InspectorController that frontend closes if InspectorController triggered the action.
  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/InspectorFrontendHostStub.js: (.WebInspector.InspectorFrontendHostStub.prototype.disconnectFromBackend):
  • inspector/front-end/inspector.js: (WebInspector.disconnectFromBackend):
7:22 AM Changeset in webkit [66102] by tkent@chromium.org
  • 4 edits in trunk

2010-08-26 Kent Tamura <tkent@chromium.org>

Reviewed by Tony Chang.

[DRT/Chromium] Enable DEVICE_ORIENTATION
https://bugs.webkit.org/show_bug.cgi?id=44587

  • platform/chromium/drt_expectations.txt:

2010-08-26 Kent Tamura <tkent@chromium.org>

Reviewed by Tony Chang.

[DRT/Chromium] Enable DEVICE_ORIENTATION
https://bugs.webkit.org/show_bug.cgi?id=44587

  • features.gypi:
7:14 AM Changeset in webkit [66101] by loislo@chromium.org
  • 2 edits in trunk/WebCore

2010-08-26 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: It would be better to have an explicit type check for the all
arguments of InspectorBackend functions on front-end side.
https://bugs.webkit.org/show_bug.cgi?id=44684

  • inspector/CodeGeneratorInspector.pm:
6:13 AM Changeset in webkit [66100] by Nikolas Zimmermann
  • 2 edits in trunk/LayoutTests

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

Not reviewed. Update gtk specific result after r66093.

  • platform/gtk/svg/css/text-shadow-multiple-expected.txt:
6:12 AM Changeset in webkit [66099] by kov@webkit.org
  • 2 edits in trunk/WebKit/gtk

2010-08-26 Gustavo Noronha Silva <Gustavo Noronha Silva>

Reviewed by Martin Robinson.

[GTK] WebKitGTK+ needs proper introspection annotation for most types and methods
https://bugs.webkit.org/show_bug.cgi?id=44565

Add documentation and introspection specific information to a few
getter and setter methods.

  • webkit/webkitwebview.cpp:
6:11 AM Changeset in webkit [66098] by loislo@chromium.org
  • 12 edits in trunk/WebCore

2010-08-26 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: It would be better to rename setBool, pushBool and asBool accessors
to setBoolean, pushBoolean and asBoolean for better matching with the results of
JS typeof operator.
https://bugs.webkit.org/show_bug.cgi?id=44680

  • bindings/js/ScriptProfile.cpp: (WebCore::buildInspectorObjectFor):
  • bindings/v8/ScriptProfile.cpp: (WebCore::buildInspectorObjectFor):
  • inspector/CodeGeneratorInspector.pm:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::buildObjectForCookie):
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::buildObjectForEventListener): (WebCore::InspectorDOMAgent::populateObjectWithStyleProperties): (WebCore::InspectorDOMAgent::buildObjectForStyleSheet): (WebCore::InspectorDOMAgent::buildObjectForRule):
  • inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::bind):
  • inspector/InspectorResource.cpp: (WebCore::InspectorResource::updateScriptObject):
  • inspector/InspectorValues.cpp: (WebCore::InspectorValue::asBoolean): (WebCore::InspectorBasicValue::asBoolean): (WebCore::InspectorBasicValue::asNumber): (WebCore::InspectorBasicValue::writeJSON): (WebCore::InspectorObject::getBoolean):
  • inspector/InspectorValues.h: (WebCore::InspectorValue::): (WebCore::InspectorBasicValue::InspectorBasicValue): (WebCore::InspectorObject::setBoolean): (WebCore::InspectorArray::pushBoolean):
  • inspector/ScriptBreakpoint.cpp: (WebCore::ScriptBreakpoint::sourceBreakpointsFromInspectorObject): (WebCore::ScriptBreakpoint::inspectorObjectFromSourceBreakpoints):
  • inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createTimerInstallData): (WebCore::TimelineRecordFactory::createResourceSendRequestData): (WebCore::TimelineRecordFactory::createResourceFinishData):
6:09 AM WikiStart edited by chang.shu@nokia.com
(diff)
5:45 AM Changeset in webkit [66097] by Simon Hausmann
  • 2 edits in trunk/LayoutTests

Unreviewed.

Update test results after clip-rect changes as part of
https://bugs.webkit.org/show_bug.cgi?id=44594

  • platform/qt/plugins/resize-from-plugin-expected.txt:
5:06 AM Changeset in webkit [66096] by benjamin.poulain@nokia.com
  • 2 edits in trunk/WebKit/qt

2010-08-26 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Simon Hausmann.

[Qt] tst_QWebFrame::popupFocus() hardcode the element position
https://bugs.webkit.org/show_bug.cgi?id=44674

This patch dynamically find the position of the combo element instead
of hardcoding a position to click.

  • tests/qwebframe/tst_qwebframe.cpp:
4:56 AM Changeset in webkit [66095] by Girish Ramakrishnan
  • 2 edits in trunk/WebCore

[Qt] Set the clipRect correctly in windowed and windowless mode.
In Windowed mode, the values are in page coordinates. In Windowless
mode the values are in drawable coordinates. Setting these values is
purely academic since they are not used by Flash. However, there is a
possibility that plugins might infer a 'null' clipRect to mean 'invisible'.

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

Reviewed by Simon Hausmann.

  • plugins/qt/PluginViewQt.cpp:

(WebCore::PluginView::setNPWindowIfNeeded):

3:55 AM Changeset in webkit [66094] by pfeldman@chromium.org
  • 2 edits in trunk/WebCore

2010-08-26 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: enable debugger after resources are pushed to front-end
https://bugs.webkit.org/show_bug.cgi?id=44673

  • inspector/InspectorController.cpp: (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::populateScriptObjects):
3:27 AM Changeset in webkit [66093] by Nikolas Zimmermann
  • 12 edits
    8 adds in trunk

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

Reviewed by Dirk Schulze.

text-shadow is not respected in RenderSVGText::repaintRectInLocalCoordinates()
https://bugs.webkit.org/show_bug.cgi?id=44616

Centralize code to calculate the shadow extents in ShadowData.
Respect textShadow() when calculating the repaint rect of RenderSVGText.

Tests: svg/css/composite-shadow-text.svg

transitions/svg-text-shadow-transition.html

  • rendering/RenderObject.cpp: (WebCore::RenderObject::adjustRectForOutlineAndShadow):
  • rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::repaintRectInLocalCoordinates): (WebCore::RenderSVGRoot::computeRectForRepaint):
  • rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::repaintRectInLocalCoordinates):
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::computeRectForRepaint): (WebCore::SVGRenderSupport::prepareToRenderSVGContent): (WebCore::SVGRenderSupport::finishRenderSVGContent): (WebCore::SVGRenderSupport::intersectRepaintRectWithResources):
  • rendering/style/SVGRenderStyle.cpp:
  • rendering/style/SVGRenderStyle.h:
  • rendering/style/ShadowData.cpp: (WebCore::calculateShadowExtent): (WebCore::ShadowData::adjustRectForShadow):
  • rendering/style/ShadowData.h:

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

Reviewed by Dirk Schulze.

text-shadow is not respected in RenderSVGText::repaintRectInLocalCoordinates()
https://bugs.webkit.org/show_bug.cgi?id=44616

  • platform/mac/svg/css/composite-shadow-text-expected.checksum: Added.
  • platform/mac/svg/css/composite-shadow-text-expected.png: Added.
  • platform/mac/svg/css/composite-shadow-text-expected.txt: Added.
  • platform/mac/svg/css/text-shadow-multiple-expected.txt:
  • platform/mac/transitions/svg-text-shadow-transition-expected.checksum: Added.
  • platform/mac/transitions/svg-text-shadow-transition-expected.png: Added.
  • platform/mac/transitions/svg-text-shadow-transition-expected.txt: Added.
  • svg/css/composite-shadow-text.svg: Added.
  • transitions/svg-text-shadow-transition.html: Added.
  • transitions/transition-test-helpers.js: Cleanup code, accept negative offsets in the regexp for shadow.
3:17 AM Changeset in webkit [66092] by abecsi@webkit.org
  • 4 edits in trunk/WebKitTools

[Qt] DumpRenderTree runs only one test from command mode
https://bugs.webkit.org/show_bug.cgi?id=44012

Patch by Mahesh Kulkarni <mahesh.kulkarni@nokia.com> on 2010-08-26
Reviewed by Kenneth Rohde Christiansen.

Enables support to run multiple test files and single
folder containing html files in stand alone mode

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:

(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::processArgsLine):
(WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
(WebCore::DumpRenderTree::processLine):
(WebCore::DumpRenderTree::dump):

  • DumpRenderTree/qt/DumpRenderTreeQt.h:

(WebCore::DumpRenderTree::setStandAloneMode):
(WebCore::DumpRenderTree::isStandAloneMode):

  • DumpRenderTree/qt/main.cpp:

(main):

3:05 AM Changeset in webkit [66091] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-08-26 Philippe Normand <pnormand@igalia.com>

Unreviewed, skip a flakey test.

  • platform/gtk/Skipped: Skip media/video-buffered.html
1:58 AM Changeset in webkit [66090] by xan@webkit.org
  • 2 edits in trunk/WebCore

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

Reviewed by Martin Robinson.

[GTK] Rework event definition in the DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=44597

Define DOM events in the base classes that implement EventTarget,
since theoretically you can dispatch any event to any of those
classes whether it makes sense semantically or not.

All the existing events in WebKit are not listed anywhere in the
IDL files, so we need to have the list in the generator script.

  • bindings/scripts/CodeGeneratorGObject.pm:
1:54 AM Changeset in webkit [66089] by xan@webkit.org
  • 2 edits in trunk/JavaScriptCore

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

Reviewed by Kent Tamura.

Local variables 'k' and 'y' in s2b() in dtoa.cpp are computed but not used
https://bugs.webkit.org/show_bug.cgi?id=29259

Remove unused code in dtoa.cpp, spotted by Wan-Teh Chang.

  • wtf/dtoa.cpp: (WTF::s2b):
1:32 AM Changeset in webkit [66088] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, updating Chromium's expectations for a flaky test.

  • platform/chromium/test_expectations.txt:
1:29 AM Changeset in webkit [66087] by loislo@chromium.org
  • 28 edits in trunk

2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

WebInspector: as far as we have 'seq' property in the each inspector message
it would be better to remove explicit callId argument from Inspector.idl functions
declarations.
https://bugs.webkit.org/show_bug.cgi?id=44617

  • WebCore.xcodeproj/project.pbxproj:
  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/front-end/AuditRules.js:
  • inspector/front-end/BreakpointManager.js:
  • inspector/front-end/CSSStyleModel.js:
  • inspector/front-end/DOMAgent.js:
  • inspector/front-end/DOMStorage.js:
  • inspector/front-end/Database.js:
  • inspector/front-end/ElementsPanel.js:
  • inspector/front-end/ElementsTreeOutline.js:
  • inspector/front-end/InjectedScriptAccess.js:
  • inspector/front-end/MetricsSidebarPane.js:
  • inspector/front-end/ProfileView.js:
  • inspector/front-end/ProfilesPanel.js:
  • inspector/front-end/ResourcesPanel.js:
  • inspector/front-end/ScriptView.js:
  • inspector/front-end/ScriptsPanel.js:
  • inspector/front-end/inspector.js:

2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

WebInspector: as far as we have 'seq' property in the each inspector message
it would be better to remove explicit callId argument from Inspector.idl functions
declarations.
https://bugs.webkit.org/show_bug.cgi?id=44617

  • inspector/elements-panel-search.html:
  • inspector/styles-iframe.html:
  • inspector/styles-source-lines.html:
  • inspector/styles-source-offsets.html:
  • http/tests/inspector/inspect-iframe-from-different-domain.html

2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

WebInspector: as far as we have 'seq' property in the each inspector message
it would be better to remove explicit callId argument from Inspector.idl functions
declarations.
https://bugs.webkit.org/show_bug.cgi?id=44617

  • src/js/ProfilerAgent.js: (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest): (devtools.ProfilerAgent.prototype._getNextLogLines):
1:19 AM Changeset in webkit [66086] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-26 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kent Tamura.

Add ENABLE(INDEXED_DATABASE) guard
https://bugs.webkit.org/show_bug.cgi?id=44659

Build fix for ports with index database disabled.

  • storage/IDBKeyPathBackendImpl.cpp:
12:59 AM Changeset in webkit [66085] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-08-26 Philippe Normand <pnormand@igalia.com>

Unreviewed, skipping a flakey test.

[GStreamer] multiple <video> elements + PulseAudio are crash-prone
https://bugs.webkit.org/show_bug.cgi?id=44235

  • platform/gtk/Skipped: Skip media/video-transformed.html
12:33 AM Changeset in webkit [66084] by Girish Ramakrishnan
  • 2 edits in trunk/WebCore

[Qt] Replace QLibrary("libgdk-x11-2.0.so.0") with QLibrary("libgdk-x11-2.0", 0)

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

Reviewed by Ariya Hidayat.

  • plugins/qt/PluginViewQt.cpp:

(WebCore::getPluginDisplay):

12:27 AM Changeset in webkit [66083] by abarth@webkit.org
  • 11 edits in trunk/WebCore

2010-08-26 Adam Barth <abarth@webkit.org>

Reviewed by Sam Weinig.

Deploy adoptPtr to WebCore/loader
https://bugs.webkit.org/show_bug.cgi?id=44591

This patch covers the easy cases. There are a handful of tougher cases
that I'm leaving to a future patch. I filed one bug about a possible
memory leak and I emailed webkit-dev about some infrastructure we'll
need to tackle some of the harder cases.

  • loader/CrossOriginAccessControl.cpp: (WebCore::createAllowedCrossOriginResponseHeadersSet): (WebCore::isOnAccessControlResponseHeaderWhitelist):
  • loader/DocLoader.cpp: (WebCore::DocLoader::requestPreload):
  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::DocumentLoader): (WebCore::DocumentLoader::addAllArchiveResources): (WebCore::DocumentLoader::addArchiveResource):
  • loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): (WebCore::DocumentThreadableLoader::didReceiveResponse):
  • loader/PingLoader.cpp: (WebCore::PingLoader::loadImage):
  • loader/ProgressTracker.cpp: (WebCore::ProgressTracker::incrementProgress):
  • loader/RedirectScheduler.cpp: (WebCore::RedirectScheduler::scheduleRedirect): (WebCore::RedirectScheduler::scheduleLocationChange): (WebCore::RedirectScheduler::scheduleFormSubmission): (WebCore::RedirectScheduler::scheduleRefresh): (WebCore::RedirectScheduler::scheduleHistoryNavigation):
  • loader/WorkerThreadableLoader.cpp: (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
  • loader/icon/IconDatabase.cpp: (WebCore::readySQLiteStatement):
  • loader/icon/IconLoader.cpp: (WebCore::IconLoader::create):
12:23 AM Changeset in webkit [66082] by alex
  • 16 edits in trunk/WebCore

2010-08-26 Alejandro G. Castro <alex@igalia.com>

Reviewed by Dan Bernstein.

shadowSize parameter is used to pass shadow offset in the
GraphicsContext::setShadow and getShadow functions
https://bugs.webkit.org/show_bug.cgi?id=44603

Change the shadowSize parameter ot the functions getShadow and
setShadow in GraphicsContext to shadowOffset which is the current
use of that parameter in the code.

  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::setShadow): (WebCore::GraphicsContext::clearShadow): (WebCore::GraphicsContext::getShadow):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/GraphicsContextPrivate.h:
  • platform/graphics/cairo/FontCairo.cpp: (WebCore::Font::drawGlyphs):
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::calculateShadowBufferDimensions): (WebCore::drawPathShadow): (WebCore::drawBorderlessRectShadow): (WebCore::GraphicsContext::setPlatformShadow):
  • platform/graphics/cairo/ImageCairo.cpp: (WebCore::BitmapImage::draw):
  • platform/graphics/chromium/FontChromiumWin.cpp: (WebCore::TransparencyAwareFontPainter::TransparencyAwareGlyphPainter::drawGlyphs): (WebCore::Font::drawComplexText):
  • platform/graphics/gtk/FontGtk.cpp: (WebCore::Font::drawComplexText):
  • platform/graphics/mac/FontMac.mm: (WebCore::Font::drawGlyphs):
  • platform/graphics/qt/ImageQt.cpp: (WebCore::BitmapImage::draw):
  • platform/graphics/qt/StillImageQt.cpp: (WebCore::StillImage::draw):
  • platform/graphics/qt/GraphicsContextQt: (WebCore::GraphicsContext::setPlatformShadow):
  • platform/graphics/skia/SkiaFontWin.cpp: (WebCore::windowsCanHandleDrawTextShadow):
  • platform/graphics/win/FontCGWin.cpp: (WebCore::drawGDIGlyphs): (WebCore::Font::drawGlyphs):
  • platform/graphics/wince/GraphicsContextWince.cpp: (WebCore::GraphicsContext::fillRoundedRect): (WebCore::GraphicsContext::drawText):

Aug 25, 2010:

11:29 PM Changeset in webkit [66081] by commit-queue@webkit.org
  • 2 edits
    2 adds in trunk/WebKit/efl

2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Add dummy FullScreenVideoControllerEfl to WebKit EFL
https://bugs.webkit.org/show_bug.cgi?id=44590

Add FullScreenVideoControllerEfl to WebCoreSupport. However,
this is not implemented yet.

  • CMakeListsEfl.txt:
  • WebCoreSupport/FullscreenVideoControllerEfl.cpp: Added. (FullscreenVideoController::FullscreenVideoController): (FullscreenVideoController::~FullscreenVideoController): (FullscreenVideoController::setMediaElement): (FullscreenVideoController::showHud): (FullscreenVideoController::hideHud): (FullscreenVideoController::enterFullscreen): (FullscreenVideoController::updateHudPosition): (FullscreenVideoController::exitOnUserRequest): (FullscreenVideoController::exitFullscreen): (FullscreenVideoController::canPlay): (FullscreenVideoController::play): (FullscreenVideoController::pause): (FullscreenVideoController::playStateChanged): (FullscreenVideoController::togglePlay): (FullscreenVideoController::volume): (FullscreenVideoController::muted): (FullscreenVideoController::setVolume): (FullscreenVideoController::volumeChanged): (FullscreenVideoController::muteChanged): (FullscreenVideoController::currentTime): (FullscreenVideoController::setCurrentTime): (FullscreenVideoController::duration): (FullscreenVideoController::percentLoaded): (FullscreenVideoController::beginSeek): (FullscreenVideoController::doSeek): (FullscreenVideoController::endSeek): (timeToString): (FullscreenVideoController::updateHudProgressBar): (FullscreenVideoController::createHud):
  • WebCoreSupport/FullscreenVideoControllerEfl.h: Added. (FullscreenVideoController::mediaElement):
11:13 PM Changeset in webkit [66080] by commit-queue@webkit.org
  • 3 edits in trunk/WebKit/efl

2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Antonio Gomes.

[EFL] Add setting API for enabling local storage.
https://bugs.webkit.org/show_bug.cgi?id=44319

Add API for enabling/disabling local storage.

  • ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_local_storage_get): Added (ewk_view_setting_local_storage_set): Added
  • ewk/ewk_view.h:
9:02 PM Changeset in webkit [66079] by commit-queue@webkit.org
  • 12 edits in trunk

2010-08-25 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66074.
http://trac.webkit.org/changeset/66074
https://bugs.webkit.org/show_bug.cgi?id=44660

Chromium canary turned red (Requested by yuzo on #webkit).

  • bindings/generic/RuntimeEnabledFeatures.cpp:
  • bindings/generic/RuntimeEnabledFeatures.h:
  • bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::responseText):
  • bindings/v8/custom/V8XMLHttpRequestCustom.cpp: (WebCore::V8XMLHttpRequest::responseTextAccessorGetter):
  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseText): (WebCore::XMLHttpRequest::responseXML): (WebCore::XMLHttpRequest::open): (WebCore::XMLHttpRequest::abort): (WebCore::XMLHttpRequest::clearResponse): (WebCore::XMLHttpRequest::didFinishLoading):
  • xml/XMLHttpRequest.h:
  • xml/XMLHttpRequest.idl:

2010-08-25 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r66074.
http://trac.webkit.org/changeset/66074
https://bugs.webkit.org/show_bug.cgi?id=44660

Chromium canary turned red (Requested by yuzo on #webkit).

  • features.gypi:
  • public/WebRuntimeFeatures.h:
  • src/WebRuntimeFeatures.cpp:
8:40 PM Changeset in webkit [66078] by commit-queue@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-08-25 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kevin Ollivier.

[BREWMP] Add build system
https://bugs.webkit.org/show_bug.cgi?id=44645

Make waf script portable so that we can add more ports.

  • wscript:
8:35 PM Changeset in webkit [66077] by mrowe@apple.com
  • 3 edits in trunk/WebCore

<rdar://problem/8205479> WebCore's icon database often prevents Safari from being killable via sudden termination

Reviewed by Dan Bernstein.

We need to ensure that each call to disableSuddenTermination is balanced by a corresponding call to enableSuddenTermination.
It's possbile for several calls to IconDatabase::wakeSyncThread to correspond to only a single iteration of the loop within
IconDatabase::syncThreadMainLoop. This results in the sudden termination disable count growing without bound rather than
being balanced when the work completes. We can prevent this by ensuring that we only disable sudden termination once for each
corresponding iteration of the sync thread's main loop.

  • loader/icon/IconDatabase.cpp:

(WebCore::IconDatabase::IconDatabase):
(WebCore::IconDatabase::wakeSyncThread): Only disable sudden termination if it has not yet been disabled for this iteration of
the sync thread's main loop.
(WebCore::IconDatabase::syncThreadMainLoop): Clear the flag indicating that sudden termination has been disabled after reenabling it
so that future calls to wakeSyncThread disable sudden termination once more.

  • loader/icon/IconDatabase.h:
8:25 PM Changeset in webkit [66076] by commit-queue@webkit.org
  • 2 edits in trunk

2010-08-25 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kevin Ollivier.

[BREWMP] Add build system
https://bugs.webkit.org/show_bug.cgi?id=44645

Make waf script portable so that we can add more ports.

  • wscript:
8:09 PM Changeset in webkit [66075] by commit-queue@webkit.org
  • 1 edit
    3 adds in trunk/LayoutTests

2010-08-25 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

Added new test to check for regression as reported in
https://bugs.webkit.org/show_bug.cgi?id=44600.

  • fast/js/script-tests/string-split-double-empty.js: Added.
  • fast/js/string-split-double-empty-expected.txt: Added.
  • fast/js/string-split-double-empty.html: Added.
7:54 PM Changeset in webkit [66074] by commit-queue@webkit.org
  • 12 edits in trunk

2010-08-25 Michael Nordman <Michael Nordman>

Reviewed by David Levin.

https://bugs.webkit.org/show_bug.cgi?id=44133
IDL bindings for XmlHttpRequest.responseBlob support, doesn't do anything yet.
Adds two new attributes, asBlob and responseBlob.
Runtime disabled by default, also behind a new ENABLE_XHR_RESPONSE_BLOB compile time guard.

No new tests, just adding some stubs.

  • bindings/generic/RuntimeEnabledFeatures.cpp:
  • bindings/generic/RuntimeEnabledFeatures.h: (WebCore::RuntimeEnabledFeatures::setResponseBlobEnabled): (WebCore::RuntimeEnabledFeatures::responseBlobEnabled): (WebCore::RuntimeEnabledFeatures::asBlobEnabled):
  • bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::responseText): Changed to allow an exceptional return path.
  • bindings/v8/custom/V8XMLHttpRequestCustom.cpp: (WebCore::V8XMLHttpRequest::responseTextAccessorGetter): Changed to allow an exceptional return path.
  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseText): Changed to raise an exception when accessed with asBlob set to true. (WebCore::XMLHttpRequest::responseXML): Changed to raise an exception when accessed with asBlob set to true. (WebCore::XMLHttpRequest::responseBlob): Added stub method, returns 0 for now. (WebCore::XMLHttpRequest::setAsBlob): Sets the asBlob attribute, raises exception if called at an inappropriate time. (WebCore::XMLHttpRequest::open): Resets asBlob to false, the default value. (WebCore::XMLHttpRequest::abort): Clears m_responseBlob. (WebCore::XMLHttpRequest::clearResponse): Clears m_responseBlob. (WebCore::XMLHttpRequest::didFinishLoading): Added a FIXME to populate m_responseBlob.
  • xml/XMLHttpRequest.h: (WebCore::XMLHttpRequest::asBlob):
  • xml/XMLHttpRequest.idl:

2010-08-25 Michael Nordman <Michael Nordman>

Reviewed by David Levin.

https://bugs.webkit.org/show_bug.cgi?id=44133
WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.

  • features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
  • public/WebRuntimeFeatures.h:
  • src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableXHRResponseBlob): (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):
6:59 PM Changeset in webkit [66073] by Martin Robinson
  • 2 edits in trunk/LayoutTests

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Skip a test that requires editing delegate dumps.

  • platform/gtk/Skipped:
6:52 PM Changeset in webkit [66072] by crogers@google.com
  • 1 edit in branches/audio/WebCore/WebCore.xcodeproj/project.pbxproj

audio branch: tweak to WebCore.xcodeproj

6:45 PM Changeset in webkit [66071] by hclam@chromium.org
  • 9 edits
    4 copies
    1 add in trunk

WebCore: Adding a means of communication between WebKit/WebCore and
chromium in order to share video frames. This adds the necessary
WebKit-side classes and methods, but does not actually use them
yet - that will be committed in a separate patch after the
corresponding Chromium side is committed.

Reviewed by Darin Fisher.
Submitted for Victoria Kirst (vrk@google.com).

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

No new tests, as these new classes/APIs are not yet used.

  • platform/graphics/chromium/VideoFrameChromium.h: Added.

(WebCore::VideoFrameChromium::):

  • platform/graphics/chromium/VideoFrameProvider.h: Added.
  • platform/graphics/chromium/VideoLayerChromium.cpp:

(WebCore::VideoLayerChromium::create):
(WebCore::VideoLayerChromium::VideoLayerChromium):

  • platform/graphics/chromium/VideoLayerChromium.h:

WebKit/chromium: Adding a way to communicate video frames between Chromium and WebKit.
The WebKit side acts as a middleman between Chromium and WebCore.
The VideoFrameChromiumImpl is not being used by WebCore yet, as there
still needs to be an implementation of WebVideoFrame in Chromium
-- coming soon in a subsequent patch.

Reviewed by Darin Fisher.
Submitted for Victoria Kirst (vrk@google.com).

API changes for Video Frame sharing between WebKit and Chromium
https://bugs.webkit.org/show_bug.cgi?id=44539

  • WebKit.gyp:
  • public/WebMediaPlayer.h:

(WebKit::WebMediaPlayer::getCurrentFrame):
(WebKit::WebMediaPlayer::putCurrentFrame):

  • public/WebVideoFrame.h: Added.
  • src/VideoFrameChromiumImpl.cpp: Added.

(WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
(WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
(WebKit::VideoFrameChromiumImpl::type):
(WebKit::VideoFrameChromiumImpl::format):
(WebKit::VideoFrameChromiumImpl::width):
(WebKit::VideoFrameChromiumImpl::height):
(WebKit::VideoFrameChromiumImpl::planes):
(WebKit::VideoFrameChromiumImpl::stride):
(WebKit::VideoFrameChromiumImpl::data):

  • src/VideoFrameChromiumImpl.h: Added.
  • src/WebMediaPlayerClientImpl.cpp:

(WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
(WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
(WebKit::WebMediaPlayerClientImpl::create):

  • src/WebMediaPlayerClientImpl.h:
6:39 PM Changeset in webkit [66070] by Martin Robinson
  • 2 edits in trunk/WebKit/gtk

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

confirm dialog should show OK/Cancel instead of Yes/No for consistency
https://bugs.webkit.org/show_bug.cgi?id=32877

Change the button labels for the fallback confirmation dialog to be
OK and Cancel.

  • webkit/webkitwebview.cpp: (webkit_web_view_script_dialog):
6:37 PM Changeset in webkit [66069] by Martin Robinson
  • 2 edits in trunk/WebKitTools

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Updating webkitpy test expectations.

  • Scripts/webkitpy/tool/steps/steps_unittest.py:
6:32 PM Changeset in webkit [66068] by crogers@google.com
  • 1 edit in branches/audio/WebCore/DerivedSources.make

audio branch: DerivedSources.make WebCore/audio -> WebCore/webaudio

6:02 PM Changeset in webkit [66067] by crogers@google.com
  • 1 edit
    323 moves
    3 adds in branches/audio/WebCore

audio branch: move WebCore/audio to WebCore/webaudio

6:00 PM Changeset in webkit [66066] by kbr@google.com
  • 4 edits in trunk/WebCore

2010-08-25 Kenneth Russell <kbr@google.com>

Reviewed by Simon Fraser.

Source data passed to TypedArray creators should be const
https://bugs.webkit.org/show_bug.cgi?id=44649

Compiled and ran existing WebGL tests to verify.

  • html/canvas/Float32Array.cpp: (WebCore::Float32Array::create):
  • html/canvas/Float32Array.h:
  • html/canvas/TypedArrayBase.h: (WebCore::TypedArrayBase::create):
5:53 PM Changeset in webkit [66065] by crogers@google.com
  • 2432 deletes in branches/audio/WebCore/audio/AudioSpatialization

audio branch: remove all but composite spatialization HRIR files

5:40 PM Changeset in webkit [66064] by ojan@chromium.org
  • 3 edits in trunk/WebKitTools

2010-08-25 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

fix the always squash git config
https://bugs.webkit.org/show_bug.cgi?id=44651

Fix help text and apparently underscores are not allowed
in git config keys.

  • Scripts/webkitpy/common/checkout/scm.py:
  • Scripts/webkitpy/tool/steps/commit.py:
5:40 PM Changeset in webkit [66063] by cmarrin@apple.com
  • 2 edits in trunk/LayoutTests

2010-08-25 Chris Marrin <cmarrin@apple.com>

Unreviewed.

Skipping a couple of compositing tests because layerTreeAsText() is not implemented on Wk2 yet.

  • platform/mac-wk2/Skipped:
5:33 PM Changeset in webkit [66062] by eric@webkit.org
  • 2 edits in trunk/WebCore

2010-08-25 Eric Seidel <eric@webkit.org>

Unreviewed, just removing a dead enum.

Remove endTagRequirement now that the LegacyHTMLDocumentParser is dead
https://bugs.webkit.org/show_bug.cgi?id=44626

Remove HTMLTagStatus since it's not used anymore.

  • html/HTMLElement.h:
5:31 PM Changeset in webkit [66061] by Chris Fleizach
  • 3 edits
    2 adds in trunk

AX: CSS first letter text transform causes crash
https://bugs.webkit.org/show_bug.cgi?id=44352

Reviewed by David Kilzer.

WebCore:

Test: accessibility/first-letter-text-transform-causes-crash.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::nextContinuation):

LayoutTests:

  • accessibility/first-letter-text-transform-causes-crash-expected.txt: Added.
  • accessibility/first-letter-text-transform-causes-crash.html: Added.
5:23 PM Changeset in webkit [66060] by eric@webkit.org
  • 2 edits in trunk/WebKit/chromium

2010-08-25 Eric Seidel <eric@webkit.org>

Unreviewed. Build fix.

Make Chromiums Broken WebPageSerializerImpl compile again
https://bugs.webkit.org/show_bug.cgi?id=44652

Make it compile again. This code is still horribly wrong.

  • src/WebPageSerializerImpl.cpp: (WebKit::WebPageSerializerImpl::endTagToString):
5:10 PM Changeset in webkit [66059] by Darin Adler
  • 2 edits in trunk/WebKitTools
  • Scripts/commit-log-editor: Fix perl warning for people who have no

value for SVN_LOG_EDITOR or CVS_LOG_EDITOR.

Reviewed by John Sullivan.

5:07 PM Changeset in webkit [66058] by ojan@chromium.org
  • 4 edits in trunk/WebKitTools

2010-08-25 Ojan Vafai <ojan@chromium.org>

Reviewed by Eric Seidel.

stop blocking commits when the bots are red
https://bugs.webkit.org/show_bug.cgi?id=44644

This check currently is just annoying. It doesn't actually
help keep the tree green. We can always add it back later
if we decide the tree is generally more green.

  • Scripts/webkitpy/tool/commands/download_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
  • Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
5:02 PM Changeset in webkit [66057] by eric@webkit.org
  • 58 edits in trunk

2010-08-25 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Remove endTagRequirement now that the LegacyHTMLDocumentParser is dead
https://bugs.webkit.org/show_bug.cgi?id=44626

Serialization is covered by a bunch of tests. innerHTML behavior is sadly not.
In either case, this is just moving code and should have no functional change.

  • editing/markup.cpp: (WebCore::elementCannotHaveEndTag): (WebCore::MarkupAccumulator::shouldSelfClose): (WebCore::MarkupAccumulator::appendEndMarkup): (WebCore::serializeNodesWithNamespaces):
  • html/HTMLAnchorElement.h:
  • html/HTMLAreaElement.h:
  • html/HTMLBRElement.h:
  • html/HTMLBaseElement.h:
  • html/HTMLBaseFontElement.h:
  • html/HTMLBlockquoteElement.h:
  • html/HTMLBodyElement.h:
  • html/HTMLCanvasElement.cpp:
  • html/HTMLCanvasElement.h:
  • html/HTMLDListElement.h:
  • html/HTMLDataGridCellElement.h:
  • html/HTMLDataGridColElement.h:
  • html/HTMLDirectoryElement.h:
  • html/HTMLDivElement.h:
  • html/HTMLElement.cpp: (WebCore::HTMLElement::nodeName): (WebCore::HTMLElement::ieForbidsInsertHTML): (WebCore::HTMLElement::deprecatedCreateContextualFragment): (WebCore::HTMLElement::setInnerText): (WebCore::HTMLElement::setOuterText):
  • html/HTMLElement.h:
  • html/HTMLEmbedElement.h:
  • html/HTMLFontElement.h:
  • html/HTMLFormControlElement.h:
  • html/HTMLFormElement.h:
  • html/HTMLFrameElement.h:
  • html/HTMLFrameSetElement.h:
  • html/HTMLHRElement.h:
  • html/HTMLHeadElement.h:
  • html/HTMLHeadingElement.h:
  • html/HTMLHtmlElement.h:
  • html/HTMLIFrameElement.h:
  • html/HTMLImageElement.h:
  • html/HTMLInputElement.h:
  • html/HTMLIsIndexElement.h:
  • html/HTMLLIElement.h:
  • html/HTMLLinkElement.h:
  • html/HTMLMapElement.h:
  • html/HTMLMarqueeElement.h:
  • html/HTMLMenuElement.h:
  • html/HTMLMetaElement.h:
  • html/HTMLModElement.h:
  • html/HTMLOListElement.h:
  • html/HTMLOptionElement.h:
  • html/HTMLParagraphElement.h:
  • html/HTMLParamElement.h:
  • html/HTMLPlugInElement.h:
  • html/HTMLPreElement.h:
  • html/HTMLQuoteElement.h:
  • html/HTMLScriptElement.h:
  • html/HTMLSourceElement.h:
  • html/HTMLStyleElement.h:
  • html/HTMLTableCaptionElement.h:
  • html/HTMLTableCellElement.h:
  • html/HTMLTableColElement.cpp:
  • html/HTMLTableColElement.h:
  • html/HTMLTableElement.h:
  • html/HTMLTableRowElement.h:
  • html/HTMLTableSectionElement.h:
  • html/HTMLUListElement.h:
4:55 PM Changeset in webkit [66056] by rniwa@webkit.org
  • 3 edits
    1 add
    9 deletes in trunk/LayoutTests

2010-08-25 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

test conversion: editing/style/typing-style-003.html should use runDumpAsTextEditingTest instead of runEditingTest
https://bugs.webkit.org/show_bug.cgi?id=44646

  • editing/style/typing-style-003-expected.txt: Added.
  • editing/style/typing-style-003.html: Calls runDumpAsTextEditingTest instead of runEditingTest.
  • platform/chromium-linux/editing/style/typing-style-003-expected.checksum: Removed.
  • platform/chromium-win/editing/style/typing-style-003-expected.checksum: Removed.
  • platform/chromium-win/editing/style/typing-style-003-expected.png: Removed.
  • platform/chromium-win/editing/style/typing-style-003-expected.txt: Removed.
  • platform/gtk/editing/style/typing-style-003-expected.txt: Removed.
  • platform/mac/editing/style/typing-style-003-expected.checksum: Removed.
  • platform/mac/editing/style/typing-style-003-expected.png: Removed.
  • platform/mac/editing/style/typing-style-003-expected.txt: Removed.
  • platform/qt/Skipped: Run typing-style-003.html on qt again.
  • platform/qt/editing/style/typing-style-003-expected.txt: Removed.
4:40 PM Changeset in webkit [66055] by zmo@google.com
  • 14 edits in trunk

2010-08-20 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

WebGL must enforce restrictions even if running on OpenGL ES 2.0
https://bugs.webkit.org/show_bug.cgi?id=42908

  • public/WebGraphicsContext3D.h: Add two new flags.
  • src/GraphicsContext3D.cpp: Ditto. (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict): (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses): (WebCore::GraphicsContext3D::isGLES2NPOTStrict): (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
  • src/WebGraphicsContext3DDefaultImpl.cpp: Ditto. (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict): (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses):
  • src/WebGraphicsContext3DDefaultImpl.h: Ditto.

2010-08-20 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

WebGL must enforce restrictions even if running on OpenGL ES 2.0
https://bugs.webkit.org/show_bug.cgi?id=42908

  • html/canvas/WebGLFramebuffer.cpp: (WebCore::WebGLFramebuffer::getColorBufferFormat): Get format at given level instead of 0.
  • html/canvas/WebGLRenderingContext.cpp: Add two new flags and use them to replace the original isGLES2Compliant(). (WebCore::WebGLRenderingContext::WebGLRenderingContext): (WebCore::WebGLRenderingContext::bindTexture): (WebCore::WebGLRenderingContext::blendEquation): (WebCore::WebGLRenderingContext::blendEquationSeparate): (WebCore::WebGLRenderingContext::bufferData): (WebCore::WebGLRenderingContext::bufferSubData): (WebCore::WebGLRenderingContext::checkFramebufferStatus): (WebCore::WebGLRenderingContext::clear): (WebCore::WebGLRenderingContext::copyTexImage2D): (WebCore::WebGLRenderingContext::copyTexSubImage2D): (WebCore::WebGLRenderingContext::disable): (WebCore::WebGLRenderingContext::drawArrays): (WebCore::WebGLRenderingContext::drawElements): (WebCore::WebGLRenderingContext::enable): (WebCore::WebGLRenderingContext::generateMipmap): (WebCore::WebGLRenderingContext::hint): (WebCore::WebGLRenderingContext::isEnabled): (WebCore::WebGLRenderingContext::texImage2DBase): (WebCore::WebGLRenderingContext::texParameter): (WebCore::WebGLRenderingContext::isGLES2NPOTStrict): (WebCore::WebGLRenderingContext::isErrorGeneratedOnOutOfBoundsAccesses):
  • html/canvas/WebGLRenderingContext.h: Declare two new flags.
  • html/canvas/WebGLTexture.cpp: Get format at given level instead of 0. (WebCore::WebGLTexture::getInternalFormat):
  • html/canvas/WebGLTexture.h: Ditto.
  • platform/graphics/GraphicsContext3D.h: Add three new flags.
  • platform/graphics/mac/GraphicsContext3DMac.mm: Ditto. (WebCore::GraphicsContext3D::isGLES2NPOTStrict): (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
  • platform/graphics/qt/GraphicsContext3DQt.cpp: Ditto. (WebCore::GraphicsContext3D::isGLES2NPOTStrict): (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
4:38 PM Changeset in webkit [66054] by bfulgham@webkit.org
  • 4 edits in trunk

WebCore: Build correction, no review.

  • WebCore.vcproj/WebCore.vcproj: Add missing implementation for PlatformRefPtrCairo.

WebKit2: Build fix, no review.

Add conditional guards around Safari-specific
include files.

  • WebProcess/WebPage/win/WebPageWin.cpp:
4:37 PM Changeset in webkit [66053] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2010-08-25 Eric Seidel <eric@webkit.org>

Reviewed by Simon Fraser.

REGRESSION: media/video-loop.html is timing out on the commit-queue Leopard Bot
https://bugs.webkit.org/show_bug.cgi?id=38912

I know of nothing else to do but skip all media tests for the cq.

  • Scripts/webkitpy/tool/steps/runtests.py:
4:10 PM Changeset in webkit [66052] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

2010-08-25 Cris Neckar <cdn@chromium.org>

Reviewed by Darin Adler.

Added abort condition for RenderCounters when traversing a detached render tree.
https://bugs.webkit.org/show_bug.cgi?id=43812

Test: fast/css/counters/counter-traverse-object-crash.html

  • rendering/RenderCounter.cpp: (WebCore::findPlaceForCounter):

2010-08-25 Cris Neckar <cdn@chromium.org>

Reviewed by Darin Adler.

Assertion failure in RenderCounter when traversing a detached render trees.
https://bugs.webkit.org/show_bug.cgi?id=43812

  • fast/css/counters/counter-traverse-object-crash-expected.txt: Added.
  • fast/css/counters/counter-traverse-object-crash.html: Added.
3:55 PM Changeset in webkit [66051] by crogers@google.com
  • 1 edit
    79 moves
    2 adds in branches/audio/WebCore

audio branch: move relevant files to WebCore/platform/audio

3:49 PM Changeset in webkit [66050] by cmarrin@apple.com
  • 6 edits
    2 adds in trunk

2010-08-25 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

https://bugs.webkit.org/show_bug.cgi?id=44629
Add layer consistency checking and fix found crashing bug


The crash was being caused by some of the calls which mutated
the sublayer list leaving the list in an inconsistent state.
This eventually lead to a crash. It would also lead to visual
artifacts if the crash didn't occur. Added consistency checking
to catch this and any other inconsistencies in the sublayer list.


The particular bug in this case was caused by clamping an index
for insertion to the current size of the sublayer list. CACF uses
an index equal to the current length to indicate an append operation.
With tiled layers the apparent size of the list is one less than its
actual size (to accomodate the layer which holds the list of tiles)
so this clamping was causing the new layer to get inserted before the
tile parent. The tile parent was then mistaken for a WKCACFLayer and
it eventually tried to deref that layer, causing the crash.


I also added some protection when destroying a WKCACFLayer. The user data
for the corresponding CACFLayer is now changed to 0xDeadBeef rather than
null. This allows dangling layers to be more easily identified. This
value is checked and ASSERTed if seen. I also remove the sublayers
on destruction to make the consistency checks work properly while
a layer is being destroyed.

Test: compositing/tiling/crash-reparent-tiled-layer.html

3:17 PM Changeset in webkit [66049] by dpranke@chromium.org
  • 3 edits in trunk/WebKitTools

2010-08-25 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: add more unit tests for test_expectations
This adds unit tests to cover (almost?) all of the non-rebaselining
functionality.

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

  • Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
3:15 PM Changeset in webkit [66048] by rniwa@webkit.org
  • 4 edits
    2 adds in trunk

2010-08-25 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

WebCore::InsertListCommand::modifyRange infinite loop (100% CPU usage)
https://bugs.webkit.org/show_bug.cgi?id=33668

The bug was caused by enclosingListChild returning a list child whose enclosing list is
a sibling of the current list child. Fixed enclosingListChild to traverse upwards
in the DOM to find the list child which is a sibling of the current list child.
Also fixed adjacentEnclosingList to only returns the list that belongs to the same outer list.

In doApplyForSingleParagraph, if the start or the end of currentSelection existed inside a list content
moved by moveParagraphWithClones, either end could point to a wrong position after the move.
Fixed this problem by checking this condition upfront and restoring later.

In doApply, if moveParagraph or moveParagraphWithClones, endOfSelection or startOfLastParagraph
could be null or orphaned, fixed this problem by indexForVisiblePosition.

Test: editing/execCommand/insert-list-orphaned-item-with-nested-lists.html

  • editing/InsertListCommand.cpp: (WebCore::InsertListCommand::doApply): (WebCore::enclosingListChild): (WebCore::InsertListCommand::doApplyForSingleParagraph): (WebCore::adjacentEnclosingList): (WebCore::InsertListCommand::listifyParagraph):

2010-08-25 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

WebCore::InsertListCommand::modifyRange infinite loop (100% CPU usage)
https://bugs.webkit.org/show_bug.cgi?id=33668

Added a test to convert nested lists with an orphaned list child to an ordered nested list.
Selection in switch-list-type-with-inner-list.html is restored correctly after inserting list.

  • editing/execCommand/insert-list-orphaned-item-with-nested-lists-expected.txt: Added.
  • editing/execCommand/insert-list-orphaned-item-with-nested-lists.html: Added.
  • editing/execCommand/switch-list-type-with-inner-list-expected.txt: Selection is restored correctly.
2:58 PM Changeset in webkit [66047] by bfulgham@webkit.org
  • 5 edits in trunk/WebCore

Build corrections, no review.

  • platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: Add include for new (missing) "CairoPath.h" class.
  • platform/graphics/cairo/PlatformRefPtrCairo.h: Correct include and compilation guards to match coding conventions.
  • platform/graphics/win/FontCustomPlatformDataCairo.cpp: Change implementation to match CG version, using the FontCustomPlatformData name, rather than the original FontCustomPlatformDataCairo.
  • platform/graphics/win/FontCustomPlatformDataCairo.h: Same as for the .cpp file.
2:52 PM Changeset in webkit [66046] by crogers@google.com
  • 1 add in branches/audio/WebCore/platform/audio

audio branch: add WebCore/platform/audio directory

2:45 PM Changeset in webkit [66045] by dpranke@chromium.org
  • 5 edits
    10 adds in trunk/WebKitTools

2010-08-25 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: add more unit tests

This change adds more unit tests for the image_diff, test_failures,
and test_files modules, bringing them to 100% coverage (and adds a
couple tests to run_webkit_tests while we're at it).

This test also turns on the "dryrun" port for testing when run on
the mac, increasing coverage in a few other places.

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

  • Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/checksum.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html.
  • Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/missing_check.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html.
  • Scripts/webkitpy/layout_tests/data/failures/expected/timeout.html: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  • Scripts/webkitpy/layout_tests/data/resources/README.txt: Added.
  • Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
2:42 PM Changeset in webkit [66044] by crogers@google.com
  • 91 edits in branches/audio

audio branch: add feature defines

2:41 PM Changeset in webkit [66043] by dpranke@chromium.org
  • 4 edits in trunk/WebKitTools

2010-08-25 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

new-run-webkit-tests: add more unit tests for layout_package/printing.py

This change adds more unit tests to get the test coverage to 100%
for the printing module. This code is actually pretty crufty and
has some layering violations that need to be cleaned up but I'll
save that for another CL after we get all the unit tests written and
we fix the multithreading issues. At least now we'll be able to tell
if we break things.

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

  • Scripts/webkitpy/layout_tests/layout_package/printing.py:
  • Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
2:27 PM Changeset in webkit [66042] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-25 Krzysztof Czech <k.czech@samsung.com>

Reviewed by Kenneth Rohde Christiansen.

[EFL] Crash while calling PopupMenuEfl destructor
https://bugs.webkit.org/show_bug.cgi?id=44497

Condition checks if m_view is defined
before popup is hide

  • platform/efl/PopupMenuEfl.cpp: (WebCore::PopupMenuEfl::~PopupMenuEfl):
2:16 PM Changeset in webkit [66041] by ojan@chromium.org
  • 3 edits in trunk/WebKitTools

2010-08-25 Ojan Vafai <ojan@chromium.org>

Reviewed by Adam Barth.

new-run-webkit-tests should respect set-webkit-configuration
https://bugs.webkit.org/show_bug.cgi?id=44633

Moves the getting of the configuration into the base Port so that
chromium ports use it as well. In the downstream chromium port,
this should still just return Release.

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/webkit.py:
2:15 PM Changeset in webkit [66040] by rniwa@webkit.org
  • 12 edits
    3 adds in trunk

2010-08-24 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

Creating a link when selecting multiple nodes creates multiple links
https://bugs.webkit.org/show_bug.cgi?id=30836

The bug was caused by applyInlineStyleToRange calling addInlineStyleIfNeeded
on each inline element. Modified applyInlineStyleToRange to call addInlineStyleIfNeeded
once for all inline elements with the same style difference.

Because this implies that anchor element may wrap other inline elements when added,
modified pushDownInlineStyleAroundNode to push down styled elements.

Removed pushPartiallySelectedAnchorElementsDown from CompositeEditCommand since
ApplyStyleCommand now correctly pushes down anchors at the start and the end of the selection.

Test: editing/execCommand/toggle-link.html

  • editing/ApplyStyleCommand.cpp: (WebCore::StyleChange::operator==): Added. (WebCore::StyleChange::operator!=): Added. (WebCore::ApplyStyleCommand::applyInlineStyleToRange): Wraps inline elements with the same style difference by one element instead of wrapping each element separately. (WebCore::ApplyStyleCommand::extractInlineStyleToPushDown): Extracts styled element. (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Avoids adding styled element. (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Pushes down styled element. (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement): No longer checks inline-ness. (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded): Adds style even when m_removeOnly. Callers should set addStyledElement = DoNotAddStyledElement to avoid adding styled element.
  • editing/ApplyStyleCommand.h:
  • editing/CompositeEditCommand.cpp: Removed pushPartiallySelectedAnchorElementsDown.
  • editing/CompositeEditCommand.h: Removed pushPartiallySelectedAnchorElementsDown.
  • editing/CreateLinkCommand.cpp: (WebCore::CreateLinkCommand::doApply): used to call pushPartiallySelectedAnchorElementsDown.
  • editing/UnlinkCommand.cpp: (WebCore::UnlinkCommand::doApply): Used to call pushPartiallySelectedAnchorElementsDown.

2010-08-24 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

Creating a link when selecting multiple nodes creates multiple links
https://bugs.webkit.org/show_bug.cgi?id=30836

Added a test to ensure WebKit creates single anchor element on execCommand('createLink') if possible.
Also rebaselined several tests to match new behavior.

  • editing/execCommand/createLink-expected.txt: Merged some anchor elements.
  • editing/execCommand/script-tests/toggle-link.js: Added. (testSingleToggle): (selectAll): (selectFirstTwoWords): (selectLastWord):
  • editing/execCommand/script-tests/toggle-style-3.js: i elements are merged.
  • editing/execCommand/toggle-style-3-expected.txt: Ditto.
  • editing/execCommand/toggle-link-expected.txt: Added.
  • editing/execCommand/toggle-link.html: Added.
  • editing/execCommand/unlink-expected.txt: Merged some anchor elements.
1:28 PM Changeset in webkit [66039] by zmo@google.com
  • 27 edits
    13 adds in trunk

2010-08-24 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
https://bugs.webkit.org/show_bug.cgi?id=38282

  • src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag.

2010-08-24 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
https://bugs.webkit.org/show_bug.cgi?id=38282

Test: fast/canvas/webgl/gl-teximage.html

  • platform/graphics/GraphicsContext3D.cpp: Fix a bug where alpha channel is ignored.
  • platform/graphics/ImageSource.cpp: Add premultiplyAlpha flag. (WebCore::ImageSource::ImageSource): (WebCore::ImageSource::setData):
  • platform/graphics/ImageSource.h: Ditto.
  • platform/graphics/cg/ImageSourceCG.cpp: Ditto. (WebCore::ImageSource::ImageSource):
  • platform/graphics/qt/ImageDecoderQt.cpp: Ditto. (WebCore::ImageDecoder::create): (WebCore::ImageDecoderQt::ImageDecoderQt): (WebCore::ImageDecoderQt::frameCount): (WebCore::ImageDecoderQt::forceLoadEverything):
  • platform/graphics/qt/ImageDecoderQt.h: Ditto.
  • platform/graphics/skia/GraphicsContext3DSkia.cpp: Fix the premultiplyAlpha data loss issue in skia. (WebCore::GraphicsContext3D::getImageData):
  • platform/image-decoders/ImageDecoder.cpp: Add premultiplyAlpha flag. (WebCore::ImageDecoder::create): (WebCore::RGBA32Buffer::RGBA32Buffer): (WebCore::RGBA32Buffer::operator=):
  • platform/image-decoders/ImageDecoder.h: Ditto. (WebCore::RGBA32Buffer::premultiplyAlpha): (WebCore::RGBA32Buffer::setPremultiplyAlpha): (WebCore::RGBA32Buffer::setRGBA): (WebCore::ImageDecoder::ImageDecoder):
  • platform/image-decoders/bmp/BMPImageDecoder.cpp: Ditto. (WebCore::BMPImageDecoder::BMPImageDecoder): (WebCore::BMPImageDecoder::frameBufferAtIndex):
  • platform/image-decoders/bmp/BMPImageDecoder.h: Ditto.
  • platform/image-decoders/gif/GIFImageDecoder.cpp: Ditto. (WebCore::GIFImageDecoder::GIFImageDecoder): (WebCore::GIFImageDecoder::frameCount):
  • platform/image-decoders/gif/GIFImageDecoder.h: Ditto.
  • platform/image-decoders/ico/ICOImageDecoder.cpp: Ditto. (WebCore::ICOImageDecoder::ICOImageDecoder): (WebCore::ICOImageDecoder::frameCount): (WebCore::ICOImageDecoder::decodeAtIndex):
  • platform/image-decoders/ico/ICOImageDecoder.h: Ditto.
  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp: Ditto. (WebCore::JPEGImageDecoder::JPEGImageDecoder): (WebCore::JPEGImageDecoder::frameBufferAtIndex):
  • platform/image-decoders/jpeg/JPEGImageDecoder.h: Ditto.
  • platform/image-decoders/png/PNGImageDecoder.cpp: Ditto. (WebCore::PNGImageDecoder::PNGImageDecoder): (WebCore::PNGImageDecoder::frameBufferAtIndex):
  • platform/image-decoders/png/PNGImageDecoder.h: Ditto.
  • platform/image-decoders/skia/ImageDecoderSkia.cpp: Ditto. (WebCore::RGBA32Buffer::RGBA32Buffer): (WebCore::RGBA32Buffer::operator=):

2010-08-24 Zhenyao Mo <zmo@google.com>

Reviewed by Kenneth Russell.

Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
https://bugs.webkit.org/show_bug.cgi?id=38282

  • fast/canvas/webgl/gl-teximage-expected.txt: Added.
  • fast/canvas/webgl/gl-teximage.html: Added.
  • fast/canvas/webgl/resources/3x3.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-256-with-128-alpha.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-256.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-default-gamma.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-gamma0.1.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-gamma1.0.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-gamma2.0.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-gamma4.0.png: Added.
  • fast/canvas/webgl/resources/gray-ramp-gamma9.0.png: Added.
  • fast/canvas/webgl/resources/gray-ramp.png: Added.
  • fast/canvas/webgl/resources/webgl-test-utils.js: Sync with khronos. (WebGLTestUtils):
  • fast/canvas/webgl/resources/zero-alpha.png: Added.
  • platform/chromium/test_expectations.txt: Don't run gl-teximage.html for mac.
  • platform/mac/Skipped: Don't run gl-teximage.html for mac.
1:27 PM Changeset in webkit [66038] by demarchi@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-08-25 Jaehun Lim <ljaehun.lim@samsung.com>

Reviewed by Antonio Gomes.

[EFL] enable libsoup's content decode feature
https://bugs.webkit.org/show_bug.cgi?id=44147

libsoup's content decode feature is enabled during initializaton.

  • ewk/ewk_main.cpp: (ewk_init):
1:23 PM Changeset in webkit [66037] by abarth@webkit.org
  • 25 edits
    4 deletes in trunk/WebCore

2010-08-25 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Remove XBL
https://bugs.webkit.org/show_bug.cgi?id=44621

This patch removes support for XBL. XBL seems cool, but this code is
old and pretty bitrotten. If we decide to support XBL in the future,
we can recover this code from this revision. As it stands, it doesn't
seem worth half-maintaining this code.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
  • css/CSSParser.cpp: (WebCore::CSSParser::parseValue):
  • css/CSSPropertyNames.in:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty):
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::~Document):
  • dom/Document.h:
  • loader/Cache.cpp: (WebCore::createResource): (WebCore::Cache::getStatistics):
  • loader/Cache.h:
  • loader/CachedResource.h: (WebCore::CachedResource::):
  • loader/CachedResourceClient.h: (WebCore::CachedResourceClient::setXSLStyleSheet): (WebCore::CachedResourceClient::fontLoaded):
  • loader/CachedXBLDocument.cpp: Removed.
  • loader/CachedXBLDocument.h: Removed.
  • loader/DocLoader.cpp: (WebCore::DocLoader::canRequest):
  • loader/DocLoader.h:
  • loader/loader.cpp: (WebCore::cachedResourceTypeToTargetType): (WebCore::Loader::determinePriority):
  • rendering/style/BindingURI.cpp: Removed.
  • rendering/style/BindingURI.h: Removed.
  • rendering/style/RenderStyle.cpp:
  • rendering/style/RenderStyle.h:
  • rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareNonInheritedData::operator==):
  • rendering/style/StyleRareNonInheritedData.h:
1:08 PM Changeset in webkit [66036] by andreas.kling@nokia.com
  • 4 edits in trunk

2010-08-25 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] GraphicsContext: Construct with the correct default LineJoin (MiterJoin)

We weren't setting it explicitly which caused us to use Qt::MiterJoin when
we actually want Qt::SvgMiterJoin.

Fixes display glitches on the "Monster" chrome experiment among other things.

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

2010-08-25 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] GraphicsContext: Construct with the correct default LineJoin (MiterJoin)

Skip canvas/philip/tests/2d.path.rect.zero.1.html
It was working because we didn't properly initialize the GC's LineJoin mode.

  • platform/qt/Skipped:
1:06 PM Changeset in webkit [66035] by Adam Roben
  • 2 edits in trunk/WebKit2

Clean up Connection::open on Windows

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

Reviewed by Steve Falkenburg.

  • Platform/CoreIPC/win/ConnectionWin.cpp:

(CoreIPC::Connection::platformInitialize): Set m_isConnected to true
since the pipe got connected before it was even given to us.
(CoreIPC::Connection::readEventHandler): Removed code that will never
run now that m_isConnected is always true when this function is
called. Since no outgoing messages will have been queued before
m_isConnected is set to true, there's no need to send them explicitly
here; they'll get sent as they're queued.
(CoreIPC::Connection::open): Removed the call to ::ConnectNamedPipe,
since the pipe is already connected by this point. Changed to schedule
a read in the server and client the same way (rather than using
::SetEvent in the server).

12:54 PM Changeset in webkit [66034] by Dimitri Glazkov
  • 2 edits
    3 moves in trunk/LayoutTests

2010-08-25 Fady Samuel <fsamuel@chromium.org>

Reviewed by Dimitri Glazkov.

Table Rendering Layout Test Expectations Updated
https://bugs.webkit.org/show_bug.cgi?id=44429

Simple Paint test appears to render the same on Mac, Windows, and Linux.

Updated test expectations to match this and moved the expectations into the test directory.

  • fast/table/simple_paint-expected.checksum: Renamed from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.checksum.
  • fast/table/simple_paint-expected.png: Renamed from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.png.
  • fast/table/simple_paint-expected.txt: Renamed from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.txt.
  • platform/chromium/test_expectations.txt:
12:25 PM Changeset in webkit [66033] by demarchi@webkit.org
  • 2 edits in trunk/WebCore

2010-08-25 Rafael Antognolli <antognolli@profusion.mobi>

Unreviewed build fix.

[EFL] Build fix for revision 66024
https://bugs.webkit.org/show_bug.cgi?id=44631

No new features added, so no new tests.

  • CMakeListsEfl.txt: change GRefPtrCairo.cpp by PlatformRefPtrCairo.cpp.
12:19 PM Changeset in webkit [66032] by rniwa@webkit.org
  • 18 edits
    8 adds in trunk

2010-08-25 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Various designmode=&quot;on&quot;/&quot;off&quot; &amp; execCommand(&quot;Undo&quot;) NULL pointer crashes
https://bugs.webkit.org/show_bug.cgi?id=32823

The bug was caused by changeSelectionAfterCommand which updates the selection
without checking the whether new selection is valid or not.

Fixed changeSelectionAfterCommand so that it won't update the selection
when either end of the new selection is orphaned. Also fixed various editing commands
to exit early if either end of the selection is orphaned.

Tests: editing/undo/orphaned-selection-crash-bug32823-1.html

editing/undo/orphaned-selection-crash-bug32823-2.html
editing/undo/orphaned-selection-crash-bug32823-3.html
editing/undo/orphaned-selection-crash-bug32823-4.html

  • editing/Editor.cpp: (WebCore::Editor::changeSelectionAfterCommand): No longer sets orphaned selection.
  • editing/VisibleSelection.h: (WebCore::VisibleSelection::isNonOrphanedRange): Added. (WebCore::VisibleSelection::isNonOrphanedCaretOrRange): Added.
  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::doApply): Added an early exist. See above.
  • editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::doApply): Ditto.
  • editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::doApply): Ditto.
  • editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply): Ditto.
  • editing/InsertListCommand.cpp: (WebCore::InsertListCommand::doApply): Ditto.
  • editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply): Ditto.
  • editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::input): Ditto.
  • editing/MoveSelectionCommand.cpp: (WebCore::MoveSelectionCommand::doApply): Ditto.
  • editing/RemoveFormatCommand.cpp: (WebCore::RemoveFormatCommand::doApply): Ditto.
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply): Ditto.
  • editing/TypingCommand.cpp: (WebCore::TypingCommand::doApply): Ditto.
  • editing/UnlinkCommand.cpp: (WebCore::UnlinkCommand::doApply): Ditto.

2010-08-25 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Various designmode="on"/"off" & execCommand("Undo") NULL pointer crashes
https://bugs.webkit.org/show_bug.cgi?id=32823

These tests ensure WebKit doesn't crash when undoing some editing commands failed
and either end of endingSelection() became orphaned.
All tests are copied from the bug to prevent regression.

  • editing/undo/orphaned-selection-crash-bug32823-1-expected.txt: Added.
  • editing/undo/orphaned-selection-crash-bug32823-1.html: Added.
  • editing/undo/orphaned-selection-crash-bug32823-2-expected.txt: Added.
  • editing/undo/orphaned-selection-crash-bug32823-2.html: Added.
  • editing/undo/orphaned-selection-crash-bug32823-3-expected.txt: Added.
  • editing/undo/orphaned-selection-crash-bug32823-3.html: Added.
  • editing/undo/orphaned-selection-crash-bug32823-4-expected.txt: Added.
  • editing/undo/orphaned-selection-crash-bug32823-4.html: Added.
  • editing/undo/redo-split-text-with-removal-expected.txt: Caret is restored.
11:55 AM Changeset in webkit [66031] by commit-queue@webkit.org
  • 3 edits in trunk/JavaScriptCore

2010-08-25 Michael Saboff <msaboff@apple.com>

Reviewed by Sam Weinig.

Remove the single entry regular expression cache introduced as part of
the fix for https://bugs.webkit.org/show_bug.cgi?id=41238.
The performance problem in Dromaeo that initiated that bug is no
longer present. Dromaeo has been modified so that the regular
expression tests are somewhat random and don't benefit from a
single entry cache.

  • runtime/RegExp.cpp: (JSC::RegExp::RegExp): (JSC::RegExp::match):
  • runtime/RegExp.h:
11:30 AM Changeset in webkit [66030] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/qt

2010-08-25 Leo Yang <leo.yang@torchmobile.com.cn>

Reviewed by Simon Hausmann.

In FrameLoaderClientQt::createFrame we should call loadURLIntoChildFrame
with parent frame's loader instead of child frame's loader.
https://bugs.webkit.org/show_bug.cgi?id=43930

  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createFrame):
11:26 AM Changeset in webkit [66029] by ojan@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-25 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

make perf tests work with V8
https://bugs.webkit.org/show_bug.cgi?id=44623

V8 doesn't support getJSObjectCount.

  • resources/magnitude-perf.js: (Magnitude._runIteration): (Magnitude):
11:24 AM Changeset in webkit [66028] by Simon Fraser
  • 6 edits
    2 adds in trunk

2010-08-25 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

Flash content draws in front of site's drop down menu at http://www.monster.com/
https://bugs.webkit.org/show_bug.cgi?id=41330

If an iframe with composited content became overlapped, we failed to
consider that iframe for compositing if it had no RenderLayer, so the layering
would be incorrect.

Overlap is detected at painting time, but it's bad for FrameView::setIsOverlapped()
to call setNeedsStyleRecalc(), because this would cause subsequent calls to
FrameView::paintContents() in the same painting batch to bail with needsLayout().

Instead, we do the setNeedsStyleRecalc() from RenderLayerCompositor::notifyIFramesOfCompositingChange(),
so that the parent document has a chance to update style, and give the iframe a RenderLayer.
Then setIsOverlapped() simply needs to schedule a layer update, which we do on a timer.

When dumping layers via Frame::layerTreeAsText(), if a layer update is pending, then
update the layers.

Test: compositing/iframes/become-overlapped-iframe.html

  • page/Frame.cpp: (WebCore::Frame::layerTreeAsText):
  • page/FrameView.cpp: (WebCore::FrameView::setIsOverlapped):
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::RenderLayerCompositor): (WebCore::RenderLayerCompositor::scheduleCompositingLayerUpdate): (WebCore::RenderLayerCompositor::compositingLayerUpdatePending): (WebCore::RenderLayerCompositor::updateCompositingLayersTimerFired): (WebCore::RenderLayerCompositor::updateCompositingLayers): (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange):
  • rendering/RenderLayerCompositor.h:
11:22 AM Changeset in webkit [66027] by tony@chromium.org
  • 2 edits in trunk/WebKitTools

2010-08-25 Tony Chang <tony@chromium.org>

Not reviewed, changing svn props for a script.

  • Scripts/deduplicate-tests: Added properties svn:executable and svn:eol-style.
11:17 AM Changeset in webkit [66026] by abarth@webkit.org
  • 3 edits in trunk/WebKitTools

2010-08-25 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Remove WebKit2 from core builders
https://bugs.webkit.org/show_bug.cgi?id=44625

This builder was added to the core builders by accident. It doesn't
appear to be green enough to be a core builder yet.

  • Scripts/webkitpy/common/net/buildbot.py:
  • Scripts/webkitpy/common/net/buildbot_unittest.py:
11:12 AM Changeset in webkit [66025] by Adam Roben
  • 4 edits in trunk

Call NP_GetEntryPoints before NP_Initialize on Windows

Doing otherwise will cause Flash and QuickTime to crash inside
NP_Initialize.

Fixes <http://webkit.org/b/44270> <rdar://problem/8330393> Crash in
NP_Initialize when loading QuickTime when running
plugins/embed-attributes-setting.html in WebKit2 on Windows

Reviewed by John Sullivan.

WebKit2:

  • WebProcess/Plugins/Netscape/NetscapePluginModule.cpp:

(WebKit::NetscapePluginModule::tryLoad): On Windows, first call
NP_GetEntryPoints, then NP_Initialize. Do the reverse on Mac to
prevent Silverlight (e.g.) from crashing (see r38858).

WebKitTools:

Test that NP_Initialize and NP_GetEntryPoints are called in the
correct order

The order differs between Mac and Windows (see r38858).

  • DumpRenderTree/TestNetscapePlugIn/main.cpp: Added a CRASH macro and

a boolean to record whether NP_GetEntryPoints has been called.
(NP_Initialize): Crash on Windows if NP_GetEntryPoints hasn't been
called yet. This matches Flash and QuickTime's behavior.
(NP_GetEntryPoints): Crash on Mac if NP_Initialize hasn't been called
yet. This matches Silverlight's behavior.

11:00 AM Changeset in webkit [66024] by Martin Robinson
  • 31 edits
    2 moves
    1 add in trunk

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

Cairo and EFL port shouldn't depend on glib.
https://bugs.webkit.org/show_bug.cgi?id=44354

Replace GRefPtr with PlatformRefPtr. Keep GLib specific bits in
GRefPtr.h.

  • GNUmakefile.am: Add PlatformRefPtr.h to the source list.
  • wtf/PlatformRefPtr.h: Migrated from GRefPtr.h. (WTF::PlatformRefPtr::PlatformRefPtr): Ditto. (WTF::PlatformRefPtr::~PlatformRefPtr): Ditto. (WTF::PlatformRefPtr::clear): Ditto. (WTF::PlatformRefPtr::get): Ditto. (WTF::PlatformRefPtr::operator*): Ditto. (WTF::PlatformRefPtr::operator->): Ditto. (WTF::PlatformRefPtr::operator!): Ditto. (WTF::PlatformRefPtr::operator UnspecifiedBoolType): Ditto. (WTF::PlatformRefPtr::hashTableDeletedValue): Ditto. (WTF::::operator): Ditto. (WTF::::swap): Ditto. (WTF::swap): Ditto. (WTF::operator==): Ditto. (WTF::operator!=): Ditto. (WTF::static_pointer_cast): Ditto. (WTF::const_pointer_cast): Ditto. (WTF::getPtr): Ditto. (WTF::adoptPlatformRef): Ditto.
  • wtf/gobject/GRefPtr.cpp: Changes to reflect new names. (WTF::refPlatformPtr): (WTF::derefPlatformPtr):
  • wtf/gobject/GRefPtr.h: Ditto. (WTF::refPlatformPtr): (WTF::derefPlatformPtr):

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

Cairo and EFL port shouldn't depend on glib.
https://bugs.webkit.org/show_bug.cgi?id=44354

No new tests as functionality has not changed.

Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
adoptPlatformRef. Rename GRefPtrCairo to PlatformRefPtrCairo.

  • GNUmakefile.am:
  • platform/Cursor.h:
  • platform/graphics/cairo/GRefPtrCairo.cpp: Removed.
  • platform/graphics/cairo/GRefPtrCairo.h: Removed.
  • platform/graphics/cairo/ImageCairo.cpp: (WebCore::Image::drawPattern):
  • platform/graphics/cairo/PlatformRefPtrCairo.cpp: Added. (WTF::refPlatformPtr): (WTF::derefPlatformPtr):
  • platform/graphics/cairo/PlatformRefPtrCairo.h: Added.
  • platform/graphics/gtk/ImageBufferGtk.cpp: (WebCore::ImageBuffer::toDataURL):
  • platform/gtk/ClipboardGtk.cpp: (WebCore::ClipboardGtk::declareAndWriteDragImage):
  • platform/gtk/CursorGtk.cpp: (WebCore::createNamedCursor): (WebCore::createCustomCursor): (WebCore::Cursor::ensurePlatformCursor):
  • platform/gtk/DataObjectGtk.h:
  • platform/gtk/GRefPtrGtk.cpp: (WTF::refPlatformPtr): (WTF::derefPlatformPtr):
  • platform/gtk/GRefPtrGtk.h:
  • platform/gtk/PasteboardGtk.cpp: (WebCore::Pasteboard::writeImage):
  • platform/gtk/PasteboardHelper.cpp: (WebCore::PasteboardHelper::dropAtomsForContext):
  • platform/gtk/PopupMenuGtk.h:
  • platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::RenderThemeGtk): (WebCore::paintMozillaGtkWidget):
  • platform/gtk/RenderThemeGtk.h:

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

Cairo and EFL port shouldn't depend on glib.
https://bugs.webkit.org/show_bug.cgi?id=44354

Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
adoptPlatformRef.

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::requestGeolocationPermissionForFrame):
  • WebCoreSupport/DragClientGtk.cpp: (WebKit::DragClient::startDrag):
  • WebCoreSupport/EditorClientGtk.h:
  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchWillSendRequest): (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType): (WebKit::FrameLoaderClient::createPlugin):
  • WebCoreSupport/FullscreenVideoController.h:
  • WebCoreSupport/InspectorClientGtk.cpp: (WebKit::InspectorClient::populateSetting): (WebKit::InspectorClient::storeSetting):
  • webkit/webkitdownload.cpp: (webkit_download_error):
  • webkit/webkitnetworkrequest.cpp: (webkit_network_request_new_with_core_request):
  • webkit/webkitnetworkresponse.cpp: (webkit_network_response_new_with_core_response):

2010-08-25 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

Cairo and EFL port shouldn't depend on glib.
https://bugs.webkit.org/show_bug.cgi?id=44354

Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
adoptPlatformRef.

  • DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (AccessibilityUIElement::isSelected):
10:51 AM Changeset in webkit [66023] by eric.carlson@apple.com
  • 9 edits in trunk

2010-08-25 Eric Carlson <eric.carlson@apple.com>

Reviewed by Alexey Proskuryakov.

HTMLMediaElement.canPlayType must be case insensitive for MIME type.
https://bugs.webkit.org/show_bug.cgi?id=44577

  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::load): (WebCore::MediaPlayer::supportsType):

2010-08-24 Eric Carlson <eric.carlson@apple.com>

Reviewed by Alexey Proskuryakov.

HTMLMediaElement.canPlayType must be case insensitive for MIME type.
https://bugs.webkit.org/show_bug.cgi?id=44577

  • media/media-can-play-octet-stream-expected.txt:
  • media/media-can-play-octet-stream.html:
  • media/media-can-play-ogg-expected.txt:
  • media/media-can-play-ogg.html:
  • media/video-can-play-type-expected.txt:
  • media/video-can-play-type.html:
10:35 AM Changeset in webkit [66022] by ojan@chromium.org
  • 2 edits in trunk/WebKitTools

2010-08-25 Ojan Vafai <ojan@chromium.org>

Fix order of Timothy's email address. The script, and
other tools all assume that the first email is the bugzilla address.

  • Scripts/webkitpy/common/config/committers.py:
10:33 AM Changeset in webkit [66021] by xan@webkit.org
  • 4 edits in trunk

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

Reviewed by Martin Robinson.

[GTK] CodeGeneratorGObject not picking up FEATURE_DEFINES
https://bugs.webkit.org/show_bug.cgi?id=44608

Move FEATURE_DEFINES declaration here, since it's used by the
bindings code generator. Also, fix typo in the variable holding
the defines.

  • GNUmakefile.am:

WebCore:

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

Reviewed by Martin Robinson.

[GTK] CodeGeneratorGObject not picking up FEATURE_DEFINES
https://bugs.webkit.org/show_bug.cgi?id=44608

Move FEATURE_DEFINES declaration to the toplevel GNUmakefile.am,
since it's used there now too.

  • GNUmakefile.am:
10:10 AM Changeset in webkit [66020] by tony@chromium.org
  • 1 edit
    2 deletes in trunk/LayoutTests

2010-08-25 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

[chromium] remove chromium.Interval layout test
https://bugs.webkit.org/show_bug.cgi?id=44614

chromium.Interval is moving into the benchmarking namespace
and not being exposed by default.

  • platform/chromium/fast/dom/interval-expected.txt: Removed.
  • platform/chromium/fast/dom/interval.html: Removed.
10:02 AM Changeset in webkit [66019] by xan@webkit.org
  • 3 edits in trunk/JavaScriptCore

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

Reviewed by Alexey Proskuryakov.

Remove dead code in JSGlobalObject
https://bugs.webkit.org/show_bug.cgi?id=44615

The recursion data member in the JSGlobalObject and its getter
plus inc/dec methods seems to be unused, remove them.

  • runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::init):
  • runtime/JSGlobalObject.h:
9:39 AM Changeset in webkit [66018] by demarchi@webkit.org
  • 4 edits in trunk

2010-08-25 Rafael Antognolli <antognolli@profusion.mobi>

Unreviewed build fix.

[EFL] Build fix for revision 65332
https://bugs.webkit.org/show_bug.cgi?id=44543

Generated variables are now returned from FindPkgConfig, so no need
to document the custom ones.

  • cmake/FindGthread.cmake:

2010-08-25 Rafael Antognolli <antognolli@profusion.mobi>

Unreviewed build fix.

[EFL] Build fix for revision 65332
https://bugs.webkit.org/show_bug.cgi?id=44543

Use Gthread_LIBRARIES instead of GTHREAD_LIBRARIES. This fix
the build when using ENABLE_GLIB_SUPPORT=ON and NETWORK_BACKEND=curl.

  • CMakeListsEfl.txt:
9:33 AM Changeset in webkit [66017] by Girish Ramakrishnan
  • 2 edits in trunk/WebCore

2010-08-25 Dawit Alemayehu <adawit@kde.org>

Reviewed by Ariya Hidayat.

Proper workaround for missing Gtk initialization in Adobe's flash plugins.
https://bugs.webkit.org/show_bug.cgi?id=44405

  • plugins/qt/PluginPackageQt.cpp: (WebCore::initializeGtk): (WebCore::PluginPackage::load):
9:18 AM Changeset in webkit [66016] by mnaganov@chromium.org
  • 1 edit in trunk/WebCore/English.lproj/localizedStrings.js

Unreviewed -- no code change. Sort WebCore/English.lproj/localizedStrings.js.

8:48 AM Changeset in webkit [66015] by pfeldman@chromium.org
  • 2 edits in trunk/WebCore

2010-08-25 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: support checked and disabled context menu items.
https://bugs.webkit.org/show_bug.cgi?id=44612

  • platform/ContextMenu.cpp: (WebCore::ContextMenu::checkOrEnableIfNeeded):
7:42 AM Changeset in webkit [66014] by loislo@chromium.org
  • 2 edits in trunk/WebCore

2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: InspectorBackendStub.js is not updated when Inspector.idl changes.
https://bugs.webkit.org/show_bug.cgi?id=44604

  • WebCore.xcodeproj/project.pbxproj:
7:24 AM Changeset in webkit [66013] by yurys@chromium.org
  • 4 edits in trunk/WebCore

2010-08-25 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: don't stop on DOM breakpoints when all breakpoints are deactivated
https://bugs.webkit.org/show_bug.cgi?id=44509

  • bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::ScriptDebugServer): (WebCore::ScriptDebugServer::setBreakpointsActivated): (WebCore::ScriptDebugServer::breakProgram):
  • bindings/v8/ScriptDebugServer.h:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::create):
7:14 AM Changeset in webkit [66012] by yurys@chromium.org
  • 8 edits in trunk/WebCore

2010-08-25 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: lazily request frontend settings instead of pushing them on connect
https://bugs.webkit.org/show_bug.cgi?id=44607

  • html/HTMLDocument.cpp: (WebCore::HTMLDocument::createParser):
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::getSettings): (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::populateScriptObjects): this method is now called explicitely from the frontend, it should be gone eventually once all panels request initial data lazily.
  • inspector/InspectorController.h:
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.show): (WebInspector.ProfilesPanel.prototype.profilerWasEnabled): (WebInspector.ProfilesPanel.prototype._reset):
  • inspector/front-end/Settings.js: (WebInspector.Settings): (WebInspector.Settings.initialize.populateApplicationSettings): (WebInspector.Settings.initialize.populateSessionSettings): (WebInspector.Settings.initialize):
  • inspector/front-end/inspector.js: (WebInspector.doLoadedDone):
6:54 AM Changeset in webkit [66011] by mnaganov@chromium.org
  • 1 edit
    1 delete in trunk/LayoutTests/platform

[Chromium] Unreviewed test expectations update for the 307-after-303-after-post test.

6:50 AM Changeset in webkit [66010] by pfeldman@chromium.org
  • 6 edits in trunk/WebCore

2010-08-25 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: support disabled and checked context menu items.
https://bugs.webkit.org/show_bug.cgi?id=44601

  • bindings/js/JSInspectorFrontendHostCustom.cpp: (WebCore::JSInspectorFrontendHost::showContextMenu):
  • bindings/v8/custom/V8InspectorFrontendHostCustom.cpp: (WebCore::V8InspectorFrontendHost::showContextMenuCallback):
  • inspector/front-end/ContextMenu.js: (WebInspector.ContextMenu.prototype.appendItem):
6:08 AM Changeset in webkit [66009] by commit-queue@webkit.org
  • 3 edits in trunk

2010-08-25 Zaheer Ahmad <zaheer.mot@gmail.com>

Reviewed by Xan Lopez.

[GTK] GTK port doesnt compile with video turned off
https://bugs.webkit.org/show_bug.cgi?id=44236

Generate the audio GObject DOM bindings only if video enabled

  • WebCore/GNUMakefile.am
  • WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp: Make the audio code invocation conditional
5:16 AM Changeset in webkit [66008] by pfeldman@chromium.org
  • 10 edits in trunk

2010-08-24 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: add "Attribute Modified" and "Node Removed" DOM breakpoints
https://bugs.webkit.org/show_bug.cgi?id=44532

Test: inspector/dom-breakpoint.html

  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::setDOMBreakpoint): (WebCore::InspectorDOMAgent::removeDOMBreakpoint): (WebCore::InspectorDOMAgent::didInsertDOMNode): (WebCore::InspectorDOMAgent::didRemoveDOMNode): (WebCore::InspectorDOMAgent::didModifyDOMAttr):
  • inspector/front-end/DOMAgent.js:
  • inspector/front-end/ElementsTreeOutline.js:

2010-08-25 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: add "Attribute Modified" and "Node Removed" DOM breakpoints
https://bugs.webkit.org/show_bug.cgi?id=44532

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.waitUntilPaused.pausedScript): (initialize_DebuggerTest.InspectorTest.waitUntilPaused):
  • http/tests/inspector/inspector-test2.js: (initialize_InspectorTest.): (initialize_InspectorTest):
  • inspector/dom-breakpoints-expected.txt:
  • inspector/dom-breakpoints.html:
4:59 AM Changeset in webkit [66007] by jorlow@chromium.org
  • 13 edits in trunk

2010-08-25 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Pass the element's bounds to embedder during speech recognition.
https://bugs.webkit.org/show_bug.cgi?id=44427

The embedder would typically want to show a native UI with information, settings etc.
By passing the display bounds of the html element, the embedder can position the
native speech recognition UI appropriately.

  • page/SpeechInput.cpp: (WebCore::SpeechInput::startRecognition):
  • page/SpeechInput.h:
  • page/SpeechInputClient.h:
  • platform/mock/SpeechInputClientMock.cpp: (WebCore::SpeechInputClientMock::startRecognition):
  • platform/mock/SpeechInputClientMock.h:
  • rendering/TextControlInnerElements.cpp: (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): (WebCore::InputFieldSpeechButtonElement::detach):

2010-08-25 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Pass the element's bounds to embedder during speech recognition.
https://bugs.webkit.org/show_bug.cgi?id=44427

  • public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): (WebKit::WebSpeechInputController::cancelRecognition): (WebKit::WebSpeechInputController::stopRecording):
  • src/SpeechInputClientImpl.cpp: (WebKit::SpeechInputClientImpl::startRecognition):
  • src/SpeechInputClientImpl.h:
  • src/WebSpeechInputControllerMockImpl.cpp: (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
  • src/WebSpeechInputControllerMockImpl.h:
4:52 AM Changeset in webkit [66006] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/chromium

2010-08-25 Pawel Hajdan <phajdan.jr@chromium.org>

Reviewed by Darin Fisher.

Add an assertion to prevent re-initializing WebKit.
https://bugs.webkit.org/show_bug.cgi?id=44545

This will help prevent crashes like:

  • src/WebKit.cpp: (WebKit::initialize):
4:36 AM Changeset in webkit [66005] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-25 Yongjun Zhang <yongjun_zhang@apple.com>

Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=44461
Assertion failure at WebCore/platform/network/CredentialStorage.cpp:85.

Remove the assertion at CredentialStorage.cpp:85 since it is legal to have
multiple forward slashes after the path component.

No test needed.

  • platform/network/CredentialStorage.cpp: (WebCore::protectionSpaceMapKeyFromURL):
4:03 AM Changeset in webkit [66004] by commit-queue@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-08-25 Michael Saboff <msaboff@apple.com>

Reviewed by Geoffrey Garen.

Changed the initial and subsequent allocation of vector storage to
Array()s. The changes are to limit sparse arrays to 100000 entries
and fixed the sparse map to vector storage conversion to use the
minimum amount of memory needed to store the current number of entries.
These changes address https://bugs.webkit.org/show_bug.cgi?id=43707

  • runtime/JSArray.cpp: (JSC::JSArray::putSlowCase): (JSC::JSArray::getNewVectorLength):
3:41 AM Changeset in webkit [66003] by jcivelli@chromium.org
  • 2 edits
    4 adds in trunk/WebKit/chromium

2010-08-25 Jay Civelli <jcivelli@chromium.org>

Reviewed by Dimitri Glazkov.

Adding missing test files and reenabling the WebFrame unit-test.
https://bugs.webkit.org/show_bug.cgi?id=44492

  • tests/WebFrameTest.cpp: (WebKit::TEST_F):
  • tests/data/iframes_test.html: Added.
  • tests/data/invisible_iframe.html: Added.
  • tests/data/visible_iframe.html: Added.
  • tests/data/zero_sized_iframe.html: Added.
3:06 AM Changeset in webkit [66002] by pfeldman@chromium.org
  • 4 edits in trunk/WebCore

2010-08-25 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: search in Scripts panel brings ui back to original search view.
https://bugs.webkit.org/show_bug.cgi?id=44516

  • inspector/front-end/Panel.js: (WebInspector.Panel.prototype.searchCanceled): (WebInspector.Panel.prototype.jumpToNextSearchResult): (WebInspector.Panel.prototype.jumpToPreviousSearchResult):
  • inspector/front-end/ResourcesPanel.js:
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.searchCanceled): (WebInspector.ScriptsPanel.prototype.performSearch.finishedCallback): (WebInspector.ScriptsPanel.prototype.performSearch): (WebInspector.ScriptsPanel.prototype.jumpToNextSearchResult): (WebInspector.ScriptsPanel.prototype.jumpToPreviousSearchResult):
2:45 AM Changeset in webkit [66001] by tkent@chromium.org
  • 8 edits in trunk

<input type=number>: Support auto-repeat by mouse press
https://bugs.webkit.org/show_bug.cgi?id=44476

Reviewed by Shinichiro Hamaji

WebCore:

Like arrow button of scrollbars, spinbuttons of <input
type=number> should continue to increase/decrease their values
while the mouse button is pressed.

No new tests because the new behavior strongly depends on a timer.

  • rendering/TextControlInnerElements.cpp:

(WebCore::SpinButtonElement::SpinButtonElement):

Initializes the timer.

(WebCore::SpinButtonElement::defaultEventHandler):

Starts the timer by a mousedown event.

(WebCore::SpinButtonElement::startRepeatingTimer):
(WebCore::SpinButtonElement::stopRepeatingTimer):
(WebCore::SpinButtonElement::repeatingTimerFired):

  • rendering/TextControlInnerElements.h:

LayoutTests:

Update existing tests.

  • fast/forms/script-tests/input-spinbutton-capturing.js:
  • platform/mac/fast/forms/input-appearance-spinbutton-up-expected.checksum:
  • platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png:
  • platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
2:37 AM Changeset in webkit [66000] by tkent@chromium.org
  • 4 edits in trunk/LayoutTests

2010-08-25 Kent Tamura <tkent@chromium.org>

Unreviewed, skip list update.

input-spinbutton-capturing.html should be skipped in platforms
without spinbutton implementation.

  • platform/gtk/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
2:36 AM Changeset in webkit [65999] by loki@webkit.org
  • 8 edits in trunk

Avoid increasing required alignment of target type warning
https://bugs.webkit.org/show_bug.cgi?id=43963

Reviewed by Gavin Barraclough.

Fix alignment warnings on Qt.

WebCore:

  • bridge/qt/qt_runtime.cpp:

(JSC::Bindings::convertQVariantToValue):

  • platform/graphics/qt/ImageBufferQt.cpp:

(WebCore::getImageData):
(WebCore::putImageData):

  • platform/image-decoders/ImageDecoder.h:

(WebCore::RGBA32Buffer::getAddr):

  • platform/text/qt/TextCodecQt.cpp:

(WebCore::TextCodecQt::decode):

WebKit/qt:

  • Api/qwebelement.cpp:

(QWebElement::evaluateJavaScript):

  • Api/qwebframe.cpp:

(QWebFrame::addToJavaScriptWindowObject):

2:28 AM Changeset in webkit [65998] by commit-queue@webkit.org
  • 3 edits in trunk/WebKit2

2010-08-25 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Implement WebKit::Module for qt
https://bugs.webkit.org/show_bug.cgi?id=44527

  • Platform/Module.h:
  • Platform/qt/ModuleQt.cpp: (WebKit::Module::load): (WebKit::Module::unload): (WebKit::Module::platformFunctionPointer):
1:38 AM Changeset in webkit [65997] by tkent@chromium.org
  • 3 edits
    3 adds in trunk

Fix a bug that a spin-button doesn't release mouse capturing
https://bugs.webkit.org/show_bug.cgi?id=44411

Reviewed by Shinichiro Hamaji

WebCore:

  • LeftButton should be checked only for clickEvent. Note that this change doesn't change the behavior because button() value is initialized with LeftButton even for mousemoveEvent.
  • Should pass a SpinButtonElement node to setCapturingMouseEventsNode().

Test: fast/forms/input-spinbutton-capturing.html

  • rendering/TextControlInnerElements.cpp:

(WebCore::SpinButtonElement::defaultEventHandler):

LayoutTests:

  • fast/forms/input-spinbutton-capturing-expected.txt: Added.
  • fast/forms/input-spinbutton-capturing.html: Added.
  • fast/forms/script-tests/input-spinbutton-capturing.js: Added.
1:25 AM Changeset in webkit [65996] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2010-08-25 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Change expectations on a test that now passes.
https://bugs.webkit.org/show_bug.cgi?id=44524

  • platform/chromium/test_expectations.txt:
1:23 AM Changeset in webkit [65995] by loki@webkit.org
  • 5 edits in trunk

Avoid increasing required alignment of target type warning
https://bugs.webkit.org/show_bug.cgi?id=43963

Reviewed by Gavin Barraclough.

Fix platform independent alignment warnings.

JavaScriptCore:

  • wtf/ListHashSet.h:

(WTF::ListHashSetNodeAllocator::pool):

WebCore:

  • loader/CachedMetadata.h:

(WebCore::CachedMetadata::readUnsigned):

  • platform/text/TextCodecLatin1.cpp:

(WebCore::TextCodecLatin1::decode):

1:06 AM Changeset in webkit [65994] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-25 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.

Add missing methods at ResourceHandleWin
https://bugs.webkit.org/show_bug.cgi?id=44453

  • platform/network/win/ResourceHandleWin.cpp: (WebCore::ResourceHandle::willLoadFromCache): (WebCore::prefetchDNS): (WebCore::ResourceHandle::bufferedData): (WebCore::ResourceHandle::supportsBufferedData): (WebCore::ResourceHandle::loadsBlocked): (WebCore::ResourceHandle::platformSetDefersLoading):
12:52 AM Changeset in webkit [65993] by loki@webkit.org
  • 3 edits in trunk/JavaScriptCore

Enable truncated floating point feature on ARM
https://bugs.webkit.org/show_bug.cgi?id=44233

Reviewed by Gavin Barraclough.

Enable truncated floating point feature with the help of VCVTR.S32.F64
instruction. If VCVTR.S32.F64 can't fit the result into a 32-bit
integer/register, it saturates at INT_MAX or INT_MIN. Testing this
looks quicker than testing FPSCR for exception.

Inspired by Jacob Bramley's patch from JaegerMonkey

  • assembler/ARMAssembler.h:

(JSC::ARMAssembler::):
(JSC::ARMAssembler::cmn_r):
(JSC::ARMAssembler::vcvtr_s32_f64_r):

  • assembler/MacroAssemblerARM.h:

(JSC::MacroAssemblerARM::supportsFloatingPointTruncate):
(JSC::MacroAssemblerARM::branchTruncateDoubleToInt32):

12:21 AM Changeset in webkit [65992] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-25 Adam Barth <abarth@webkit.org>

Second attempt to fix Qt build

  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::parseDtd):
12:19 AM Changeset in webkit [65991] by tkent@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-08-25 Kent Tamura <tkent@chromium.org>

Unreviewed, build fix.

  • DEPS: Roll Chromium revision to 57298 to fix upstream build.

Aug 24, 2010:

11:57 PM Changeset in webkit [65990] by eric@webkit.org
  • 4 edits in trunk/WebCore

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Remove more DTD junk now that the LegacyHTMLDocumentParser is gone
https://bugs.webkit.org/show_bug.cgi?id=44588

Just removing dead code, thus no tests.

  • html/HTMLElement.cpp: (WebCore::HTMLElement::nodeName):
  • html/HTMLElement.h:
11:53 PM Changeset in webkit [65989] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Qt build fix.

  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::parseStartElement): (WebCore::XMLDocumentParser::parseProcessingInstruction): (WebCore::XMLDocumentParser::parseCdata): (WebCore::XMLDocumentParser::parseComment): (WebCore::XMLDocumentParser::parseDtd):
11:52 PM Changeset in webkit [65988] by tkent@chromium.org
  • 4 edits in trunk

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Pavel Feldman.

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

  • platform/chromium/drt_expectations.txt:

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Pavel Feldman.

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

  • DRTDevToolsAgent has a reference to the main WebView. So we should not clear it in closeDevTools() and should clear it in ~TestShell().
  • DRTDevToolsClient has a reference to a DevTools WebView and no way to update it. So we should delete DRTDevToolsClient instances in closeDevTools().
  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::~TestShell): (TestShell::closeDevTools):
11:46 PM Changeset in webkit [65987] by abarth@webkit.org
  • 4 edits in trunk/LayoutTests

2010-08-24 Adam Barth <abarth@webkit.org>

Unskip XSSAuditor test and fix the source of flakiness. I'll make the
test pass again in the XSSAuditor redesign.

  • http/tests/security/xssAuditor/dom-write-innerHTML-expected.txt:
  • http/tests/security/xssAuditor/dom-write-innerHTML.html:
  • platform/mac/Skipped:
11:21 PM Changeset in webkit [65986] by abarth@webkit.org
  • 61 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Delete HTMLElement::checkDTD
https://bugs.webkit.org/show_bug.cgi?id=44563

This function existed to service the LegacyHTMLTreeBuilder. The new
HTMLTreeBuilder has this logic internalized. Pulling on this thread
caused me to remove a legacyParserAddChild and to discover some code
that shouldn't be calling these parser-specific APIs.

  • dom/ContainerNode.cpp: (WebCore::ContainerNode::parserAddChild): (WebCore::ContainerNode::deprecatedParserAddChild):
  • dom/ContainerNode.h:
  • dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocument):
  • dom/Node.cpp: (WebCore::Node::deprecatedParserAddChild):
  • dom/Node.h:
  • dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::enterText):
  • dom/XMLDocumentParser.h:
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::startElementNs): (WebCore::XMLDocumentParser::characters): (WebCore::XMLDocumentParser::processingInstruction): (WebCore::XMLDocumentParser::cdataBlock): (WebCore::XMLDocumentParser::comment): (WebCore::XMLDocumentParser::internalSubset):
  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::parse): (WebCore::XMLDocumentParser::parseStartElement): (WebCore::XMLDocumentParser::parseCharacters): (WebCore::XMLDocumentParser::parseProcessingInstruction): (WebCore::XMLDocumentParser::parseCdata): (WebCore::XMLDocumentParser::parseComment): (WebCore::XMLDocumentParser::parseDtd):
  • html/HTMLDataGridElement.cpp:
  • html/HTMLDataGridElement.h:
  • html/HTMLDataGridRowElement.cpp:
  • html/HTMLDataGridRowElement.h:
  • html/HTMLDataListElement.cpp:
  • html/HTMLDataListElement.h:
  • html/HTMLDocument.cpp:
  • html/HTMLDocument.h:
  • html/HTMLElement.cpp:
  • html/HTMLElement.h:
  • html/HTMLFieldSetElement.cpp:
  • html/HTMLFieldSetElement.h:
  • html/HTMLFrameSetElement.cpp:
  • html/HTMLFrameSetElement.h:
  • html/HTMLHeadElement.cpp:
  • html/HTMLHeadElement.h:
  • html/HTMLHeadingElement.cpp:
  • html/HTMLHeadingElement.h:
  • html/HTMLHtmlElement.cpp:
  • html/HTMLHtmlElement.h:
  • html/HTMLKeygenElement.cpp: (WebCore::HTMLKeygenElement::HTMLKeygenElement):
  • html/HTMLMapElement.cpp:
  • html/HTMLMapElement.h:
  • html/HTMLMediaElement.cpp:
  • html/HTMLMediaElement.h:
  • html/HTMLNoScriptElement.cpp:
  • html/HTMLNoScriptElement.h:
  • html/HTMLOptGroupElement.cpp:
  • html/HTMLOptGroupElement.h:
  • html/HTMLOptionElement.cpp:
  • html/HTMLOptionElement.h:
  • html/HTMLParagraphElement.cpp:
  • html/HTMLParagraphElement.h:
  • html/HTMLPlugInElement.cpp:
  • html/HTMLPlugInElement.h:
  • html/HTMLScriptElement.h:
  • html/HTMLSelectElement.cpp:
  • html/HTMLSelectElement.h:
  • html/HTMLStyleElement.h:
  • html/HTMLTableColElement.cpp:
  • html/HTMLTableColElement.h:
  • html/HTMLTableElement.cpp:
  • html/HTMLTableElement.h:
  • html/HTMLTableRowElement.cpp:
  • html/HTMLTableRowElement.h:
  • html/HTMLTableSectionElement.cpp:
  • html/HTMLTableSectionElement.h:
  • html/HTMLTextAreaElement.h:
  • html/HTMLTitleElement.h:
  • rendering/MediaControlElements.cpp: (WebCore::MediaControlElement::attachToParent): (WebCore::MediaControlInputElement::attachToParent):
  • rendering/TextControlInnerElements.cpp: (WebCore::TextControlInnerElement::attachInnerElement):
11:02 PM Changeset in webkit [65985] by eric@webkit.org
  • 3 edits in trunk/LayoutTests

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

HTML5 spec changed to coalesce text nodes even when they were not created by the parser
https://bugs.webkit.org/show_bug.cgi?id=44586

See http://www.w3.org/Bugs/Public/show_bug.cgi?id=10221 for more info.

  • html5lib/resources/adoption01.dat:
10:53 PM Changeset in webkit [65984] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

unicode(Exception(\u"0x1234")) is busted in python 2.5, disable tests which hit this
https://bugs.webkit.org/show_bug.cgi?id=44584

  • Scripts/webkitpy/tool/commands/queues_unittest.py:
10:41 PM Changeset in webkit [65983] by dumi@chromium.org
  • 4 edits in trunk/WebKit/chromium

Build fix: Remove setHTML5ParserEnabled(), it's no longer used.

Reviewed by Adam Barth.

  • public/WebSettings.h:
  • src/WebSettingsImpl.cpp:
  • src/WebSettingsImpl.h:
10:38 PM Changeset in webkit [65982] by abarth@webkit.org
  • 65 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Remove tagPriority
https://bugs.webkit.org/show_bug.cgi?id=44557

This code used to be used by the old parser. Now it's unused.

  • html/HTMLAnchorElement.h:
  • html/HTMLAppletElement.h:
  • html/HTMLAreaElement.h:
  • html/HTMLAudioElement.h:
  • html/HTMLBRElement.h:
  • html/HTMLBaseElement.h:
  • html/HTMLBaseFontElement.h:
  • html/HTMLBlockquoteElement.h:
  • html/HTMLBodyElement.h:
  • html/HTMLCanvasElement.cpp:
  • html/HTMLCanvasElement.h:
  • html/HTMLDListElement.h:
  • html/HTMLDataGridCellElement.h:
  • html/HTMLDataGridColElement.h:
  • html/HTMLDataGridElement.h:
  • html/HTMLDataGridRowElement.h:
  • html/HTMLDirectoryElement.h:
  • html/HTMLDivElement.h:
  • html/HTMLElement.cpp:
  • html/HTMLElement.h:
  • html/HTMLEmbedElement.h:
  • html/HTMLFieldSetElement.h:
  • html/HTMLFontElement.h:
  • html/HTMLFormControlElement.h:
  • html/HTMLFormElement.h:
  • html/HTMLFrameElement.h:
  • html/HTMLFrameSetElement.h:
  • html/HTMLHRElement.h:
  • html/HTMLHeadElement.h:
  • html/HTMLHeadingElement.h:
  • html/HTMLHtmlElement.h:
  • html/HTMLIFrameElement.h:
  • html/HTMLImageElement.h:
  • html/HTMLInputElement.h:
  • html/HTMLIsIndexElement.h:
  • html/HTMLKeygenElement.h:
  • html/HTMLLIElement.h:
  • html/HTMLLabelElement.h:
  • html/HTMLLinkElement.h:
  • html/HTMLMapElement.h:
  • html/HTMLMarqueeElement.h:
  • html/HTMLMenuElement.h:
  • html/HTMLMetaElement.h:
  • html/HTMLModElement.h:
  • html/HTMLOListElement.h:
  • html/HTMLObjectElement.h:
  • html/HTMLOptionElement.h:
  • html/HTMLParagraphElement.h:
  • html/HTMLParamElement.h:
  • html/HTMLPreElement.h:
  • html/HTMLQuoteElement.h:
  • html/HTMLScriptElement.h:
  • html/HTMLSelectElement.h:
  • html/HTMLSourceElement.h:
  • html/HTMLStyleElement.h:
  • html/HTMLTableCaptionElement.h:
  • html/HTMLTableCellElement.h:
  • html/HTMLTableColElement.cpp:
  • html/HTMLTableColElement.h:
  • html/HTMLTableElement.h:
  • html/HTMLTableRowElement.h:
  • html/HTMLTableSectionElement.h:
  • html/HTMLUListElement.h:
  • html/HTMLVideoElement.h:
10:35 PM Changeset in webkit [65981] by eric@webkit.org
  • 4 edits in trunk

2010-08-24 Dumitru Daniliuc <dumi@chromium.org>

Unreviewed, Chromium's LayoutTestController does not implement markerTextForListItem() yet.

  • platform/chromium/test_expectations.txt:

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Fix one more html5lib test case for button scoping
https://bugs.webkit.org/show_bug.cgi?id=44583

I <3 test driven development.

  • html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processStartTagForInBody):
10:21 PM Changeset in webkit [65980] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, Chromium's LayoutTestController does not implement markerTextForListItem() yet.

  • platform/chromium/test_expectations.txt:
10:11 PM Changeset in webkit [65979] by eric@webkit.org
  • 5 edits in trunk/WebKitTools

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

commit-queue and EWS bots should report all failures
https://bugs.webkit.org/show_bug.cgi?id=41820

Right now commit-queue/EWS only report failures when the
patch under testing fails. We should report all failures
to the status server so that we can diagnose when the bots
are wedged w/o needing to log into the machines.

I also reduced the amount of data we upload since we've seen
timeouts during status upload.

  • Scripts/webkitpy/common/system/executive.py:
  • Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  • Scripts/webkitpy/tool/commands/queues.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
10:01 PM Changeset in webkit [65978] by eric@webkit.org
  • 14 edits
    3 deletes in trunk

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Remove HTML5 parser testing infrastructure now that we don't need it
https://bugs.webkit.org/show_bug.cgi?id=44581

  • html5lib/runner-expected-html5.txt: Removed.
  • html5lib/webkit-resumer-expected-html5.txt: Removed.

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Remove HTML5 parser testing infrastructure now that we don't need it
https://bugs.webkit.org/show_bug.cgi?id=44581

Just removing dead code, no tests.

  • dom/DocumentFragment.cpp:
  • dom/DocumentFragment.h:
  • page/Settings.cpp: (WebCore::Settings::Settings):
  • page/Settings.h:

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Remove HTML5 parser testing infrastructure now that we don't need it
https://bugs.webkit.org/show_bug.cgi?id=44581

  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm: (+[WebPreferences initialize]):
  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]):

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Remove HTML5 parser testing infrastructure now that we don't need it
https://bugs.webkit.org/show_bug.cgi?id=44581

  • DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): (initializeGlobalsFromCommandLineOptions):
  • Scripts/old-run-webkit-tests:
  • Scripts/test-html5-parser: Removed.
9:47 PM Changeset in webkit [65977] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Remove unneeded include in HTMLPreloadScanner
https://bugs.webkit.org/show_bug.cgi?id=44552

Slowly but steadily sweeping up the dust in the HTML parser.

  • html/HTMLPreloadScanner.cpp:
  • html/HTMLPreloadScanner.h:
9:33 PM Changeset in webkit [65976] by eric@webkit.org
  • 2 edits
    1 add in trunk/LayoutTests

2010-08-24 Eric Seidel <eric@webkit.org>

Unreviewed. Just adding test results.

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

I was lame before and forgot to add results or mark this test
as dumpAsText().

  • fast/css/font-face-svg-decoding-error-expected.txt: Added.
  • fast/css/font-face-svg-decoding-error.html:
9:31 PM Changeset in webkit [65975] by kinuko@chromium.org
  • 7 edits
    2 adds in trunk/WebCore

2010-08-24 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Dumitru Daniliuc.

Implement virtual path utilities for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=44132

No new tests; tests will be added later. (Each DOMFilePath's method is briefly tested locally.)

  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • storage/DOMFilePath.cpp: Added.
  • storage/DOMFilePath.h: Added.
9:27 PM Changeset in webkit [65974] by dumi@chromium.org
  • 9 edits in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium-mac/fast/js/kde/Number-expected.txt:
  • platform/chromium-mac/fast/js/number-toExponential-expected.txt:
  • platform/chromium-mac/fast/js/number-tofixed-expected.txt:
  • platform/chromium-mac/fast/js/number-toprecision-expected.txt:
  • platform/chromium-win/fast/js/kde/Number-expected.txt:
  • platform/chromium-win/fast/js/number-toExponential-expected.txt:
  • platform/chromium-win/fast/js/number-tofixed-expected.txt:
  • platform/chromium-win/fast/js/number-toprecision-expected.txt:
  • platform/chromium/test_expectations.txt:
9:20 PM Changeset in webkit [65973] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

HTMLParserScheduler::create
https://bugs.webkit.org/show_bug.cgi?id=44551

  • html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::HTMLDocumentParser):
  • html/HTMLParserScheduler.h: (WebCore::HTMLParserScheduler::create):
9:18 PM Changeset in webkit [65972] by jianli@chromium.org
  • 2 edits
    2 deletes in trunk/WebKit/chromium

[chromium] WebBlobRegistry cleanup.
https://bugs.webkit.org/show_bug.cgi?id=44571

Reviewed by Darin Fisher.

Remove unneeded method from WebBlobRegistry interface.
Also remove unneeded WebBlobRegistryImpl.* files. They're already
excluded from gyp files.

  • public/WebBlobRegistry.h:
  • src/WebBlobRegistryImpl.cpp: Removed.
  • src/WebBlobRegistryImpl.h: Removed.
8:55 PM Changeset in webkit [65971] by abarth@webkit.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Adam Barth <abarth@webkit.org>

Add http/tests/security/xssAuditor/dom-write-location-inline-event.html
to the Skipped list. It's flaky after enabling the HTML5 fragment
parser. I need to investigate. However, I'm planning to redesign the
XSSAuditor to make use of the new parser, so it seems to make sense to
wait a bit.

  • platform/mac/Skipped:
8:16 PM Changeset in webkit [65970] by dbates@webkit.org
  • 2 edits in trunk

2010-08-24 Daniel Bates <dbates@rim.com>

Fix the change log date associated with changeset 65967
<http://trac.webkit.org/changeset/65967> in both the
LayoutTests and WebCore change log.

8:12 PM Changeset in webkit [65969] by dbates@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Daniel Bates <dbates@rim.com>

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

  • rendering/RenderListMarker.cpp: (WebCore::listMarkerSuffix):
8:10 PM Changeset in webkit [65968] by weinig@apple.com
  • 2 edits in trunk/WebKit2

WebKit2 should launch the WebProcess in 32-bit mode if the UIProcess is in 32-bit mode
<rdar://problem/8348100>
https://bugs.webkit.org/show_bug.cgi?id=44537

Reviewed by Mark Rowe.

  • UIProcess/Launcher/mac/ProcessLauncherMac.mm:

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

8:05 PM Changeset in webkit [65967] by dbates@webkit.org
  • 6 edits
    3 adds in trunk

2010-08-23 Daniel Bates <dbates@rim.com>

Reviewed by Darin Adler.

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

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

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

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

  • rendering/RenderListMarker.cpp: (WebCore::toRoman): Moved bounds check into WebCore::effectiveListMarkerType(). (WebCore::toAlphabetic): Ditto. (WebCore::toHebrew): Ditto. (WebCore::toArmenian): Ditto. (WebCore::toGeorgian): Ditto. (WebCore::toCJKIdeographic): Ditto. (WebCore::effectiveListMarkerType): Added. (WebCore::listMarkerSuffix): Added value parameter to prototype. Modified to call WebCore::effectiveListMarkerType. (WebCore::listMarkerText): Modified to call WebCore::effectiveListMarkerType(). (WebCore::RenderListMarker::paint): Modified to pass list item ordinal (i.e. m_listItem->value()) to WebCore::listMarkerSuffix(). (WebCore::RenderListMarker::calcPrefWidths): Ditto. (WebCore::RenderListMarker::getRelativeMarkerRect): Ditto.

2010-08-23 Daniel Bates <dbates@rim.com>

Reviewed by Darin Adler.

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

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

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

  • fast/lists/resources/w3-css3-list-styles-alphabetic.css: Added.
  • fast/lists/w3-css3-list-styles-alphabetic.html: Moved CSS list styles to file w3-css3-list-styles-alphabetic.css,
  • fast/lists/w3-css3-list-styles-fallback-style-expected.txt: Added.
  • fast/lists/w3-css3-list-styles-fallback-style.html: Added.
  • fast/lists/w3-css3-list-styles-numeric-expected.txt: Added test for ordinal 0 for each list style type.
  • fast/lists/w3-css3-list-styles-numeric.html: Rebased result.
7:59 PM Changeset in webkit [65966] by tkent@chromium.org
  • 4 edits in trunk

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

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

  • platform/chromium/drt_expectations.txt:

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Dimitri Glazkov.

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

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

  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::closeDevTools):
6:51 PM Changeset in webkit [65965] by barraclough@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix.

6:49 PM Changeset in webkit [65964] by abarth@webkit.org
  • 2 edits in trunk/WebKit/chromium

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

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

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

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

  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleInputEvent):
6:34 PM Changeset in webkit [65963] by barraclough@apple.com
  • 1 edit
    1 add in trunk/WebCore

Windows build fix.

  • ForwardingHeaders/wtf/DecimalNumber.h: Added.
6:21 PM Changeset in webkit [65962] by barraclough@apple.com
  • 5 edits in trunk/JavaScriptCore

Windows build fix.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
  • wtf/DecimalNumber.h:

(WTF::DecimalNumber::intPow10):

  • wtf/dtoa.cpp:
  • wtf/dtoa.h:
6:09 PM Changeset in webkit [65961] by ojan@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Ojan Vafai <ojan@chromium.org>

Reviewed by Darin Adler.

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

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

  • resources/magnitude-perf.js: (Magnitude._runIteration): (Magnitude):
6:06 PM Changeset in webkit [65960] by tony@chromium.org
  • 10 edits
    3 adds in trunk/LayoutTests

2010-08-24 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

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

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

  • platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.checksum: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.png: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt: The number 600 has a few pixels of extra space between characters.
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-path-01-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-path-01-b-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png:
  • platform/chromium-linux/svg/custom/animate-path-morphing-expected.checksum:
  • platform/chromium-linux/svg/custom/animate-path-morphing-expected.png:
  • platform/chromium-linux/svg/custom/use-transform-expected.checksum:
  • platform/chromium-linux/svg/custom/use-transform-expected.png:
  • platform/chromium/test_expectations.txt:
6:04 PM Changeset in webkit [65959] by barraclough@apple.com
  • 21 edits
    2 adds in trunk

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

Reviewed by Oliver Hunt.

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

Update exports.

  • runtime/NumberPrototype.cpp:

(JSC::toThisNumber):
(JSC::getIntegerArgumentInRange):

Helper methods used in implementing toExponential/toFixed/toString.

(JSC::numberProtoFuncToExponential):
(JSC::numberProtoFuncToFixed):
(JSC::numberProtoFuncToPrecision):

Reimplemented using new DecimalNumber class.


  • runtime/UString.cpp:

(JSC::UString::number):

Updated to call numberToString.

  • wtf/DecimalNumber.h: Added.

(WTF::):
(WTF::DecimalNumber::DecimalNumber):
(WTF::DecimalNumber::toStringDecimal):
(WTF::DecimalNumber::toStringExponential):
(WTF::DecimalNumber::sign):
(WTF::DecimalNumber::exponent):
(WTF::DecimalNumber::significand):
(WTF::DecimalNumber::precision):
(WTF::DecimalNumber::init):
(WTF::DecimalNumber::isZero):
(WTF::DecimalNumber::roundToPrecision):

New class to perform double to string conversion.
Has three constructors, which allow conversion with no rounding,
rounding to significant-figures, or rounding to decimal-places,
and two methods for formatting strings, either using decimal
fraction or exponential encoding. Internal implementation uses
pre-rounding of the values before calling dtoa rather than
relying on dtoa to correctly round, which does not produce
fully accurate results. Hopefully we can address this in the
near future.

  • wtf/dtoa.cpp:

(WTF::intPow10):

  • wtf/dtoa.h:

intPow10 is used internally by DecimalNumber.


  • wtf/text/WTFString.cpp:

(WTF::copyToString):
(WTF::nanOrInfToString):

Used internally in numberToString for NaN/Infinity handling.

(WTF::numberToString):

Added new method to convert doubles to strings.

  • wtf/text/WTFString.h:

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

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

Reviewed by Oliver Hunt.

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

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

Reviewed by Oliver Hunt.

  • html/LegacyHTMLTreeBuilder.cpp:

(WebCore::serializeForNumberType):

Update function call to numberToString.

LayoutTests: Bug 44487 - Clean up NumberPrototype.cpp

Reviewed by Oliver Hunt.

This patch changes some layout test results - in all these cases we were
not previously accurate to spec defined behaviour, and we are still not

  • but overall this changes reduces the overall magnitude of error due to

rounding differences. The underlying problem is that we should be using
dtoa to generate results to a specified accuracy, rather than relying on
pre-rounding the input values. We should look at reenabling our dtoa
implementation to work in this fashion as a separate change.

  • fast/js/kde/Number-expected.txt:
  • fast/js/kde/script-tests/Number.js:
  • fast/js/number-toExponential-expected.txt:
  • fast/js/number-tofixed-expected.txt:
  • fast/js/number-toprecision-expected.txt:
  • fast/js/script-tests/number-toExponential.js:
  • fast/js/script-tests/number-tofixed.js:
  • fast/js/script-tests/number-toprecision.js:
5:40 PM Changeset in webkit [65958] by eric@webkit.org
  • 11 edits
    3 adds in trunk

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

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

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

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

  • fast/css/font-face-svg-decoding-error.html: Added.
  • fast/frames/resources/set-src-to-javascript-url.xhtml: Added.
  • fast/frames/set-parent-src-synchronously.xhtml: Added.

2010-08-24 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

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

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

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

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

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

  • dom/DocumentParser.h: (WebCore::DocumentParser::document): (WebCore::DocumentParser::isDetached):
  • dom/RawDataDocumentParser.h: (WebCore::RawDataDocumentParser::finish):
  • dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::append): (WebCore::XMLDocumentParser::detach): (WebCore::XMLDocumentParser::notifyFinished):
  • dom/XMLDocumentParser.h:
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::doWrite): (WebCore::XMLDocumentParser::endElementNs): (WebCore::XMLDocumentParser::resumeParsing):
  • html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::pumpTokenizer): (WebCore::HTMLDocumentParser::willPumpLexer): (WebCore::HTMLDocumentParser::didPumpLexer): (WebCore::HTMLDocumentParser::end): (WebCore::HTMLDocumentParser::endIfDelayed): (WebCore::HTMLDocumentParser::script):
  • html/HTMLViewSourceParser.cpp: (WebCore::HTMLViewSourceParser::updateTokenizerState):
  • html/HTMLViewSourceParser.h: (WebCore::HTMLViewSourceParser::document):
  • loader/ImageDocument.cpp: (WebCore::ImageDocumentParser::document):
5:39 PM Changeset in webkit [65957] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.

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

  • platform/network/win/ResourceHandleWin.cpp: (WebCore::WebCoreSynchronousLoader::WebCoreSynchronousLoader): (WebCore::WebCoreSynchronousLoader::didReceiveResponse): (WebCore::WebCoreSynchronousLoader::didReceiveData): (WebCore::WebCoreSynchronousLoader::didFinishLoading): (WebCore::WebCoreSynchronousLoader::didFail): (WebCore::ResourceHandle::loadResourceSynchronously):
5:31 PM Changeset in webkit [65956] by dumi@chromium.org
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed, updating a chromium-linux expectation.

  • platform/chromium-linux/svg/css/shadow-changes-expected.checksum: Added.
  • platform/chromium-linux/svg/css/shadow-changes-expected.png: Added.
5:24 PM Changeset in webkit [65955] by kbr@google.com
  • 2 edits in trunk/LayoutTests

2010-08-24 Kenneth Russell <kbr@google.com>

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

  • platform/mac-snowleopard/Skipped:
5:22 PM Changeset in webkit [65954] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt: Add inspector test failures.
5:10 PM Changeset in webkit [65953] by dpranke@chromium.org
  • 7 edits
    2 adds in trunk/WebKitTools

2010-08-24 Dirk Pranke <dpranke@chromium.org>

Reviewed by Ojan Vafai.

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

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

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

  • Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py: Added.
  • Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  • Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py: Added.
  • Scripts/webkitpy/layout_tests/test_types/text_diff.py:
5:09 PM Changeset in webkit [65952] by adachan@apple.com
  • 2 edits in trunk/WebKit/win

Reviewed by Steve Falkenburg.

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

  • WebView.cpp: (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL if plugins are disabled.
5:02 PM Changeset in webkit [65951] by dpranke@chromium.org
  • 6 edits
    35 adds
    15 deletes in trunk/WebKitTools

2010-08-24 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

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

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

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

  • Scripts/webkitpy/layout_tests/data/failures/expected/crash.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/missing_text.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/text-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/failures/expected/text.html: Added.
  • Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum.html: Added.
  • Scripts/webkitpy/layout_tests/data/image/canvas-bg.html: Removed.
  • Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.checksum: Removed.
  • Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.png: Removed.
  • Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.txt: Removed.
  • Scripts/webkitpy/layout_tests/data/image/canvas-zoom.html: Removed.
  • Scripts/webkitpy/layout_tests/data/misc/crash-expected.txt: Removed.
  • Scripts/webkitpy/layout_tests/data/misc/crash.html: Removed.
  • Scripts/webkitpy/layout_tests/data/misc/missing-expectation.html: Removed.
  • Scripts/webkitpy/layout_tests/data/misc/passing-expected.txt: Removed.
  • Scripts/webkitpy/layout_tests/data/misc/passing.html: Removed.
  • Scripts/webkitpy/layout_tests/data/passes/image-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/passes/image-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/passes/image-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/passes/image.html: Added.
  • Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/passes/platform_image.html: Added.
  • Scripts/webkitpy/layout_tests/data/passes/text-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/passes/text.html: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.checksum: Removed.
  • Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.png: Removed.
  • Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.txt: Removed.
  • Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.checksum: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.png: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.txt: Added.
  • Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  • Scripts/webkitpy/layout_tests/data/text/article-element-expected.txt: Removed.
  • Scripts/webkitpy/layout_tests/data/text/article-element.html: Removed.
  • Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  • Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
4:48 PM Changeset in webkit [65950] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Ryosuke Niwa <rniwa@webkit.org>

Unreviewed.

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

  • WebCore.xcodeproj/project.pbxproj:
4:45 PM Changeset in webkit [65949] by dpranke@chromium.org
  • 3 edits in trunk/WebKitTools

2010-08-24 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

speed up new-run-webkit-tests unit tests

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

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

These changes together shorten the test cycle from ~4.5s to ~1.5s

  • a 3x speedup.

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

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
4:17 PM Changeset in webkit [65948] by dumi@chromium.org
  • 2 edits
    5 adds in trunk/LayoutTests

Unreviewed, more Chromium-specific expectations.

  • platform/chromium-mac/fast/repaint/multicol-repaint-expected.checksum: Added.
  • platform/chromium-mac/fast/repaint/multicol-repaint-expected.png: Added.
  • platform/chromium-win/fast/repaint/multicol-repaint-expected.checksum: Added.
  • platform/chromium-win/fast/repaint/multicol-repaint-expected.png: Added.
  • platform/chromium-win/fast/repaint/multicol-repaint-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
3:55 PM Changeset in webkit [65947] by oliver@apple.com
  • 6 edits
    1 add in trunk

2010-08-24 Oliver Hunt <oliver@apple.com>

Reviewed by Geoff Garen.

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

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

  • runtime/JSGlobalData.cpp: (JSC::JSGlobalData::JSGlobalData):
  • runtime/JSGlobalData.h:
  • runtime/JSGlobalObject.h: (JSC::JSGlobalObject::JSGlobalObjectData::JSGlobalObjectData): (JSC::JSGlobalObject::weakRandomNumber):
  • runtime/MathObject.cpp: (JSC::mathProtoFuncRandom):
3:47 PM Changeset in webkit [65946] by jianli@chromium.org
  • 4 edits in trunk/WebKit/chromium

[chromium] Update WebBlobData.
https://bugs.webkit.org/show_bug.cgi?id=44481

Reviewed by Darin Fisher.

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

  • public/WebBlobData.h:
  • src/WebBlobData.cpp:

(WebKit::WebBlobData::itemAt):
(WebKit::WebBlobData::appendData):
(WebKit::WebBlobData::appendBlob):

  • src/WebBlobStorageData.cpp:

(WebKit::WebBlobStorageData::itemAt):

3:41 PM Changeset in webkit [65945] by dumi@chromium.org
  • 3 edits
    5 adds in trunk/LayoutTests

Unreviewed, updating Chromium-specific expectations.

  • platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.png:
  • platform/chromium-win/svg/css/shadow-changes-expected.checksum: Added.
  • platform/chromium-win/svg/css/shadow-changes-expected.png: Added.
  • platform/chromium-win/svg/css/shadow-changes-expected.txt: Added.
  • platform/chromium-win/svg/custom/non-scaling-stroke-markers-expected.checksum: Added.
  • platform/chromium-win/svg/custom/non-scaling-stroke-markers-expected.png: Added.
3:37 PM Changeset in webkit [65944] by tony@chromium.org
  • 2 edits in trunk/WebKitTools

2010-08-24 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

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

  • Scripts/webkitpy/layout_tests/port/google_chrome.py:
3:33 PM Changeset in webkit [65943] by Joseph Pecoraro
  • 2 edits in trunk/WebCore

2010-08-24 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Mark Rowe.

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

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

  • DerivedSources.make:
3:33 PM Changeset in webkit [65942] by Joseph Pecoraro
  • 9 edits in trunk/WebCore

2010-08-20 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Pavel Feldman.

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

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

  • css/makeprop.pl: moved CSS properties to the header file.
  • inspector/Inspector.idl: expose getSupportedCSSProperties.
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::getSupportedCSSProperties):
  • inspector/InspectorDOMAgent.h:
  • inspector/front-end/CSSCompletions.js: (WebInspector.CSSCompletions._firstIndexOfPrefix): handle a possible error case before properties have loaded. (WebInspector.CSSCompletions._load): fill up the special array with the received properties.
  • inspector/front-end/SourceCSSTokenizer.js: (WebInspector.SourceCSSTokenizer): use the list of support properties from the backend.
  • inspector/front-end/SourceCSSTokenizer.re2js:
  • inspector/front-end/inspector.js: request the list of supported CSS properties on load. (WebInspector.doLoadedDone):
3:27 PM Changeset in webkit [65941] by abarth@webkit.org
  • 22 edits
    2 deletes in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

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

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/Document.cpp: (WebCore::shouldCreateImplicitHead):
  • dom/DocumentParser.h:
  • dom/ScriptableDocumentParser.h:
  • html/HTMLConstructionSite.cpp:
  • html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::removedFromTree):
  • html/HTMLInputElement.cpp:
  • html/HTMLMeterElement.cpp:
  • html/HTMLProgressElement.cpp:
  • html/HTMLTreeBuilder.cpp: (WebCore::serializeForNumberType): (WebCore::parseToDoubleForNumberType):
  • html/HTMLTreeBuilder.h:
  • html/HTMLViewSourceParser.h:
  • html/LegacyHTMLTreeBuilder.cpp: Removed.
  • html/LegacyHTMLTreeBuilder.h: Removed.
  • html/StepRange.cpp:
  • html/ValidityState.cpp:
  • rendering/RenderSlider.cpp:
3:22 PM Changeset in webkit [65940] by ojan@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Ojan Vafai <ojan@chromium.org>

Reviewed by Tony Chang.

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

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

  • resources/magnitude-perf.js: (Magnitude._runIteration): (Magnitude):
3:16 PM Changeset in webkit [65939] by commit-queue@webkit.org
  • 13 edits in trunk

2010-08-24 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

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

  • inspector/dom-breakpoints.html:

2010-08-24 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

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

2:51 PM Changeset in webkit [65938] by senorblanco@chromium.org
  • 2 edits in trunk/WebCore

2010-08-24 Stephen White <senorblanco@chromium.org>

Reviewed by Dumitru Daniliuc.

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

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

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::paintRenderingResultsToCanvas):
2:42 PM Changeset in webkit [65937] by dumi@chromium.org
  • 5 edits in trunk

WebCore: Fix the NodeFilter wrapper and the binding for acceptNode.
https://bugs.webkit.org/show_bug.cgi?id=44542

Reviewed by Dimitri Glazkov.

  • bindings/v8/V8DOMWrapper.cpp:

(WebCore::V8DOMWrapper::wrapNativeNodeFilter): This function
should always create a filter. V8NodeFilterCondition::acceptNode()
will check if the given object can be used as a filter, and throw
an exception if it can't.

  • bindings/v8/V8NodeFilterCondition.cpp:

(WebCore::V8NodeFilterCondition::acceptNode): Update this binding
to do the same thing that the JS binding does.

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

Reviewed by Dimitri Glazkov.

  • platform/chromium/test_expectations.txt:
2:24 PM Changeset in webkit [65936] by tony@chromium.org
  • 27 edits
    14 adds in trunk/LayoutTests

2010-08-24 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

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

  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/text-text-01-b-expected.txt: Added.
  • platform/chromium-linux/svg/carto.net/slider-expected.checksum:
  • platform/chromium-linux/svg/carto.net/slider-expected.png:
  • platform/chromium-linux/svg/carto.net/textbox-expected.checksum:
  • platform/chromium-linux/svg/carto.net/textbox-expected.png:
  • platform/chromium-linux/svg/carto.net/window-expected.txt: Added.
  • platform/chromium-linux/svg/custom/coords-relative-units-transforms-expected.checksum:
  • platform/chromium-linux/svg/custom/coords-relative-units-transforms-expected.png: Added.
  • platform/chromium-linux/svg/custom/use-referencing-nonexisting-symbol-expected.checksum:
  • platform/chromium-linux/svg/custom/use-referencing-nonexisting-symbol-expected.png:
  • platform/chromium-linux/svg/hixie/perf/003-expected.txt: Added.
  • platform/chromium-linux/svg/hixie/perf/004-expected.txt: Added.
  • platform/chromium-linux/svg/hixie/perf/005-expected.txt: Added.
  • platform/chromium-linux/svg/hixie/perf/006-expected.txt: Added.
  • platform/chromium-linux/svg/hixie/text/003b-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
2:14 PM Changeset in webkit [65935] by tony@chromium.org
  • 5 edits
    2 adds in trunk/LayoutTests

2010-08-24 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

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

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

  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-02-t-expected.checksum:
  • platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-02-t-expected.png:
  • platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.checksum: Added.
  • platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png: Added.
  • platform/chromium/drt_expectations.txt:
  • platform/chromium/test_expectations.txt:
2:01 PM Changeset in webkit [65934] by Simon Fraser
  • 2 edits in trunk/WebCore

2010-08-24 Simon Fraser <Simon Fraser>

Reviewed by Tony Chang.

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

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

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

  • page/Frame.cpp: (WebCore::Frame::revealSelection):
1:55 PM Changeset in webkit [65933] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

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

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

  • editing/TextIterator.cpp: (WebCore::plainTextToMallocAllocatedBuffer):
1:49 PM Changeset in webkit [65932] by abarth@webkit.org
  • 7 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

  • html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::HTMLDocumentParser):
  • html/HTMLPreloadScanner.cpp: (WebCore::HTMLPreloadScanner::HTMLPreloadScanner): (WebCore::HTMLPreloadScanner::scan): (WebCore::HTMLPreloadScanner::processToken):
  • html/HTMLPreloadScanner.h:
  • html/HTMLTokenizer.h: (WebCore::HTMLTokenizer::create):
  • html/HTMLViewSourceParser.cpp: (WebCore::HTMLViewSourceParser::HTMLViewSourceParser): (WebCore::HTMLViewSourceParser::pumpTokenizer): (WebCore::HTMLViewSourceParser::updateTokenizerState):
  • html/HTMLViewSourceParser.h:
1:43 PM Changeset in webkit [65931] by abarth@webkit.org
  • 5 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

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

  • html/HTMLDocumentParser.cpp:
  • html/HTMLDocumentParser.h:
  • html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::HTMLTreeBuilder): (WebCore::HTMLTreeBuilder::FragmentParsingContext::FragmentParsingContext): (WebCore::HTMLTreeBuilder::FragmentParsingContext::document): (WebCore::HTMLTreeBuilder::constructTreeFromToken): (WebCore::HTMLTreeBuilder::finished):
  • html/HTMLTreeBuilder.h: (WebCore::HTMLTreeBuilder::FragmentParsingContext::contextElement):
1:38 PM Changeset in webkit [65930] by mrowe@apple.com
  • 2 edits in trunk/WebKit2

Set the install path of WebKit2.framework to the build directory for debug and release builds
to match our other frameworks.

Rubber-stamped by Sam Weinig.

  • WebKit2.xcodeproj/project.pbxproj:
1:26 PM Changeset in webkit [65929] by xan@webkit.org
  • 2 edits in trunk

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

Build fix, strike 2.

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

  • GNUmakefile.am:
1:22 PM Changeset in webkit [65928] by Simon Fraser
  • 1 edit
    3 adds in trunk/LayoutTests

2010-08-24 Simon Fraser <Simon Fraser>

Reviewed by Sam Weinig.

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

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

  • fast/dom/TreeWalker/filter-throw-expected.txt: Added.
  • fast/dom/TreeWalker/filter-throw.html: Added.
  • fast/dom/TreeWalker/script-tests/filter-throw.js: Added. (walker.document.createTreeWalker):
1:20 PM Changeset in webkit [65927] by xan@webkit.org
  • 4 edits in trunk

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

Try to fix GTK+ build.

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

  • GNUmakefile.am:

WebCore:

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

Try to fix GTK+ build.

Move GTK_API_VERSION_2 define out.

  • GNUmakefile.am:
1:08 PM Changeset in webkit [65926] by Simon Fraser
  • 3 edits
    3 adds in trunk

2010-08-24 Simon Fraser <Simon Fraser>

Reviewed by Sam Weinig.

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

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

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

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

  • dom/TreeWalker.cpp: (WebCore::TreeWalker::previousSibling): (WebCore::TreeWalker::nextSibling):
12:55 PM Changeset in webkit [65925] by xan@webkit.org
  • 4 edits in trunk

WebKit/gtk:

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

Reviewed by Martin Robinson.

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

  • tests/testcopyandpaste.c: (runPasteTestCallback):

WebKitTools:

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

Reviewed by Martin Robinson.

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

  • DumpRenderTree/gtk/EventSender.cpp: (keyDownCallback):
12:52 PM Changeset in webkit [65924] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Hans Wennborg <hans@chromium.org>

Reviewed by Steve Block.

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

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

Will be covered by layout tests for device orientation.

  • dom/DeviceOrientationController.cpp: (WebCore::DeviceOrientationController::timerFired): (WebCore::DeviceOrientationController::addListener): (WebCore::DeviceOrientationController::removeListener): (WebCore::DeviceOrientationController::removeAllListeners):
12:39 PM Changeset in webkit [65923] by Martin Robinson
  • 2 edits in trunk/WebKit/gtk

2010-08-24 Martin Robinson <mrobinson@igalia.com>

Build fix for GTK+.

  • tests/testkeyevents.c: (key_press_event_cb): (key_release_event_cb):
12:31 PM QtWebKitGitInstructions edited by Ademar Reis
(diff)
12:26 PM Changeset in webkit [65922] by Martin Robinson
  • 4 edits in trunk

2010-08-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

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

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

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

2010-08-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

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

Fix two double-frees introduced in my previous commit.

  • DumpRenderTree/gtk/EventSender.cpp: (contextClickCallback): Copy the event before using it again. (keyDownCallback): Ditto.
12:17 PM Changeset in webkit [65921] by senorblanco@chromium.org
  • 7 edits in trunk/WebCore

2010-08-24 Stephen White <senorblanco@chromium.org>

Reviewed by Kenneth Russell.

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

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

  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::paint): Extend the accelerated compositing check and the readback for non-accelerated compositing to accelerated 2D canvas also.
  • html/canvas/CanvasRenderingContext.cpp:
  • html/canvas/CanvasRenderingContext.h: (WebCore::CanvasRenderingContext::paintsIntoCanvasBuffer): Move this logic from WebGL to common canvas context code.
  • html/canvas/WebGLRenderingContext.h: Remove implementation of paintsIntoCanvasBuffer.
  • platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::copyImage): When copying the image for patterns, sync the software canvas.
  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::prepareForSoftwareDraw): Use SkDevice::eraseColor() to clear the canvas for mixed mode rendering.
12:00 PM Changeset in webkit [65920] by oliver@apple.com
  • 2 edits in trunk/JavaScriptCore

2010-08-24 Oliver Hunt <oliver@apple.com>

Reviewed by Beth Dakin.

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

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

  • runtime/UString.cpp: (JSC::UString::utf8):
11:37 AM Changeset in webkit [65919] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

  • editing/Editor.cpp: (WebCore::Editor::Editor):
  • editing/TextIterator.cpp: (WebCore::plainTextToMallocAllocatedBuffer):
11:35 AM Changeset in webkit [65918] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

  • history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): (WebCore::HistoryItem::addRedirectURL):
11:33 AM Changeset in webkit [65917] by abarth@webkit.org
  • 8 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

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

  • html/HTMLFormCollection.cpp: (WebCore::HTMLFormCollection::formCollectionInfo):
  • html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::addElementAlias):
  • html/HTMLInputElement.cpp: (WebCore::createTypeMap): (WebCore::HTMLInputElement::setInputType): (WebCore::HTMLInputElement::parseMappedAttribute): (WebCore::HTMLInputElement::attach): (WebCore::HTMLInputElement::preDispatchEventHandler):
  • html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::parseMappedAttribute): (WebCore::HTMLObjectElement::attach):
  • html/HTMLToken.h: (WebCore::HTMLToken::beginDOCTYPE):
  • html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::attach): (WebCore::HTMLVideoElement::parseMappedAttribute):
  • html/ValidityState.h: (WebCore::ValidityState::create):
11:31 AM Changeset in webkit [65916] by abarth@webkit.org
  • 6 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

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

  • html/FileThreadTask.h: (WebCore::FileThreadTask0::create): (WebCore::FileThreadTask1::create): (WebCore::FileThreadTask2::create): (WebCore::FileThreadTask3::create):
  • html/HTMLAreaElement.cpp: (WebCore::HTMLAreaElement::mapMouseEvent):
  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext):
  • html/HTMLElementStack.cpp: (WebCore::HTMLElementStack::insertAbove): (WebCore::HTMLElementStack::pushCommon):
  • html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::parseMappedAttribute): (WebCore::HTMLEmbedElement::attach):
11:08 AM Changeset in webkit [65915] by Martin Robinson
  • 5 edits in trunk

2010-08-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

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

  • tests/testcopyandpaste.c: (runPasteTestCallback): Switch to using gdk_event_new and also reference the GdkWindow. when setting it on the event. It is dereferenced by gdk_event_free(...).
  • tests/testhittestresult.c: (load_status_cb): Switch to using gdk_event_new.

2010-08-24 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

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

  • DumpRenderTree/gtk/EventSender.cpp: (prepareMouseButtonEvent): Use gdk_event_new and reference the reference the GdkWindow when setting it on the event. It is dereferenced by gdk_event_free(...). (contextClickCallback): Ditto. (mouseDownCallback): Ditto. (mouseUpCallback): Ditto. (mouseMoveToCallback): Ditto. (mouseWheelToCallback): Ditto. (sendOrQueueEvent): Take a GdkEvent* instead of a GdkEvent. (dispatchEvent): Ditto. Also free the event when we are done with it. (keyDownCallback): Use gdk_event_new and reference the GdkWindow.
11:05 AM Changeset in webkit [65914] by Simon Fraser
  • 1 edit
    6 adds in trunk/LayoutTests

2010-08-24 Simon Fraser <Simon Fraser>

Reviewed by Sam Weinig.

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

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

  • fast/dom/TreeWalker/script-tests/traversal-reject.js: Added. (rejectB1Filter.acceptNode): (rejectB2Filter.acceptNode):
  • fast/dom/TreeWalker/script-tests/traversal-skip.js: Added. (skipB1Filter.acceptNode): (skipB2Filter.acceptNode):
  • fast/dom/TreeWalker/traversal-reject-expected.txt: Added.
  • fast/dom/TreeWalker/traversal-reject.html: Added.
  • fast/dom/TreeWalker/traversal-skip-expected.txt: Added.
  • fast/dom/TreeWalker/traversal-skip.html: Added.
11:03 AM Changeset in webkit [65913] by weinig@apple.com
  • 2 edits in trunk/WebCore

Improve comment for Simon.

Reviewed by Simon Fraser.

  • editing/Editor.h:
10:59 AM Changeset in webkit [65912] by weinig@apple.com
  • 7 edits
    2 adds in trunk

Paste event fires twice for mac WebKit
<rdar://problem/8094611>
https://bugs.webkit.org/show_bug.cgi?id=44535

Reviewed by Oliver Hunt.

WebCore:

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

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

  • WebCore.exp.in:
  • editing/Editor.cpp:

(WebCore::Editor::pasteAsPlainTextBypassingDHTML):

  • editing/Editor.h:

Expose a function which just pastes using from the general pasteboard,
bypassing all the checking and DHTML pasting.

WebKit/mac:

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

  • WebView/WebHTMLView.mm:

(-[WebHTMLView paste:]):

LayoutTests:

  • editing/pasteboard/paste-event-only-once-expected.txt: Added.
  • editing/pasteboard/paste-event-only-once.html: Added.
10:53 AM Changeset in webkit [65911] by Nate Chapin
  • 2 edits in trunk/WebCore

2010-08-24 Nate Chapin <Nate Chapin>

Unreviewed.

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

  • loader/PingLoader.cpp:
10:26 AM Changeset in webkit [65910] by Nate Chapin
  • 11 edits
    7 adds in trunk

2010-08-24 Nate Chapin <Nate Chapin>

Reviewed by David Levin.

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

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

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

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • loader/DocLoader.cpp: (WebCore::DocLoader::requestImage): Use PingLoader for image

loads in unload handlers.

  • loader/FrameLoader.h: (WebCore::FrameLoader::pageDismissalEventBeingDispatched):
  • loader/PingLoader.cpp: Added. (WebCore::PingLoader::loadImage): Set the appropriate

headers for an image load in unload handler (since we're
not using SubresourceLoader, we need to do this manually here).

(WebCore::PingLoader::PingLoader):

  • loader/PingLoader.h: Added. (WebCore::PingLoader::~PingLoader): (WebCore::PingLoader::didReceiveResponse): (WebCore::PingLoader::didReceiveData): (WebCore::PingLoader::didFinishLoading): (WebCore::PingLoader::didFail):
10:10 AM Changeset in webkit [65909] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: fix new inspector test expectation.

  • inspector/styles-computed-trace-expected.txt:
9:50 AM Changeset in webkit [65908] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Update profile.

Reviewed by John Sullivan.

  • WebProcess/com.apple.WebProcess.sb:
9:48 AM Changeset in webkit [65907] by demarchi@webkit.org
  • 3 edits in trunk/WebKit/efl

2010-08-24 Lukasz Slachciak <l.slachciak@samsung.com>

Reviewed by Antonio Gomes.

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

  • ewk/ewk_view.cpp: (ewk_view_setting_enable_frame_flattening_get): (ewk_view_setting_enable_frame_flattening_set):
  • ewk/ewk_view.h:
9:40 AM Changeset in webkit [65906] by demarchi@webkit.org
  • 2 edits in trunk

2010-08-24 Lucas De Marchi <lucas.demarchi@profusion.mobi>

[EFL] Unreviewed build fix after r65891.

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

  • cmake/WebKitGenerators.cmake:
9:15 AM Changeset in webkit [65905] by pfeldman@chromium.org
  • 14 edits
    2 adds in trunk

2010-08-24 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

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

Test: inspector/styles-computed-trace.html

  • English.lproj/localizedStrings.js:
  • inspector/front-end/Section.js: (WebInspector.Section.prototype.set subtitle): (WebInspector.Section.prototype.get subtitleAsTextForTest):
  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylesSidebarPane.prototype._refreshUpdate): (WebInspector.StylesSidebarPane.prototype._rebuildUpdate): (WebInspector.StylesSidebarPane.prototype._rebuildStyleRules): (WebInspector.StylesSidebarPane.prototype._refreshSectionsForStyleRules): (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules): (WebInspector.StylePropertiesSection.linkifyUncopyable): (WebInspector.StylePropertiesSection): (WebInspector.StylePropertiesSection.prototype.isPropertyInherited): (WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded): (WebInspector.StylePropertiesSection.prototype.isPropertyDisabled): (WebInspector.StylePropertiesSection.prototype.update): (WebInspector.StylePropertiesSection.prototype.onpopulate): (WebInspector.ComputedStylePropertiesSection): (WebInspector.ComputedStylePropertiesSection.prototype.collapse): (WebInspector.ComputedStylePropertiesSection.prototype._isPropertyInherited): (WebInspector.ComputedStylePropertiesSection.prototype.update): (WebInspector.ComputedStylePropertiesSection.prototype.onpopulate): (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace): (WebInspector.BlankStylePropertiesSection):
  • inspector/front-end/inspector.css: (.styles-section a::before):
  • inspector/front-end/inspector.js: (WebInspector.documentClick.followLink): (WebInspector.documentClick): (WebInspector.linkifyResourceAsNode):

2010-08-24 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

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

  • inspector/elements-panel-styles-expected.txt:
  • inspector/elements-tests.js: (frontend_getSelectedElementStyles): (frontend_dumpStyleTreeItem):
  • inspector/styles-computed-trace-expected.txt: Added.
  • inspector/styles-computed-trace.html: Added.
  • inspector/styles-disable-inherited-expected.txt:
  • inspector/styles-disable-inherited.html:
  • inspector/styles-disable-then-delete-expected.txt:
  • inspector/styles-source-lines-inline-expected.txt:
9:06 AM Changeset in webkit [65904] by commit-queue@webkit.org
  • 19 edits in trunk

2010-08-24 Daniel Cheng <dcheng@chromium.org>

Reviewed by Eric Seidel.

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

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

No new tests.

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

2010-08-24 Daniel Cheng <dcheng@chromium.org>

Reviewed by Eric Seidel.

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

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

  • Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView halt]):
8:53 AM Changeset in webkit [65903] by Csaba Osztrogonác
  • 1 edit
    1 delete in trunk/LayoutTests

Unreviewed trivial fix.

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

  • platform/qt/editing/execCommand/insert-list-xml-expected.txt: Removed.
8:44 AM Changeset in webkit [65902] by jorlow@chromium.org
  • 8 edits
    2 adds in trunk

2010-08-24 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

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

  • storage/indexeddb/objectstore-removeobjectstore-expected.txt: Added.
  • storage/indexeddb/objectstore-removeobjectstore.html: Added.
  • storage/indexeddb/resources/shared.js: (unexpectedSuccessCallback):

2010-08-24 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

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

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

Test: storage/indexeddb/objectstore-removeobjectstore.html

  • storage/IDBDatabaseBackendImpl.cpp: (WebCore::IDBDatabaseBackendImpl::createObjectStore): (WebCore::doDelete): (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
  • storage/IDBDatabaseBackendImpl.h:
  • storage/IDBFactoryBackendImpl.cpp: (WebCore::createTables):
  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::IDBObjectStoreBackendImpl::removeIndex):
  • storage/IDBObjectStoreBackendImpl.h: (WebCore::IDBObjectStoreBackendImpl::create): (WebCore::IDBObjectStoreBackendImpl::id):
8:03 AM Changeset in webkit [65901] by weinig@apple.com
  • 2 edits in trunk/LayoutTests

Update skipped list for WebKit2.

  • platform/mac-wk2/Skipped:
7:59 AM Changeset in webkit [65900] by weinig@apple.com
  • 4 edits
    4 adds in trunk

Fix for <rdar://problem/8153271> and <rdar://problem/8153288>
Change behavior of javascript: urls in <embed> and <object> back to
how they behaved before r50698.

Reviewed by Adam Barth.

WebCore:

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

fast/loader/javascript-url-in-object.html

  • loader/SubframeLoader.cpp:

(WebCore::SubframeLoader::requestFrame):
(WebCore::SubframeLoader::requestObject):
(WebCore::SubframeLoader::loadOrRedirectSubframe):

  • loader/SubframeLoader.h:

LayoutTests:

  • fast/loader/javascript-url-in-embed-expected.txt: Added.
  • fast/loader/javascript-url-in-embed.html: Added.
  • fast/loader/javascript-url-in-object-expected.txt: Added.
  • fast/loader/javascript-url-in-object.html: Added.
7:58 AM Changeset in webkit [65899] by kov@webkit.org
  • 2 edits in trunk/WebKit/gtk

2010-08-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Rubber-stamped by Xan Lopez.

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

  • webkit/webkitprivate.cpp: (webkit_init):
7:14 AM Changeset in webkit [65898] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt: Remove a duplicated entry.
7:13 AM Changeset in webkit [65897] by xan@webkit.org
  • 3 edits in trunk/WebCore

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

Reviewed by Gustavo Noronha.

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

  • platform/gtk/gtk2drawing.c: (TSOffsetStyleGCs): (moz_gtk_entry_paint):
  • plugins/gtk/gtk2xtbin.c: (gtk_xtbin_new):
7:04 AM Changeset in webkit [65896] by Nikolas Zimmermann
  • 2 edits in trunk/LayoutTests

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

Not reviewed. Landed wrong results in my last commit.

  • platform/mac/svg/css/shadow-changes-expected.txt:
7:00 AM Changeset in webkit [65895] by Nikolas Zimmermann
  • 3 edits
    4 adds in trunk

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

Reviewed by Dirk Schulze.

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

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

Test: svg/css/shadow-changes.svg

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

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

Reviewed by Dirk Schulze.

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

  • platform/mac/svg/css/shadow-changes-expected.checksum: Added.
  • platform/mac/svg/css/shadow-changes-expected.png: Added.
  • platform/mac/svg/css/shadow-changes-expected.txt: Added.
  • svg/css/shadow-changes.svg: Added.
6:40 AM Changeset in webkit [65894] by krit@webkit.org
  • 2 edits in trunk/WebCore

2010-08-24 Dirk Schulze <krit@webkit.org>

Reviewed by Nikolas Zimmermann.

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

Check if the path is empty before closing it.

  • svg/SVGPathBuilder.cpp: (WebCore::SVGPathBuilder::moveTo):
6:25 AM Changeset in webkit [65893] by bulach@chromium.org
  • 9 edits
    3 adds in trunk

2010-08-24 Marcus Bulach <bulach@chromium.org>

Reviewed by Jeremy Orlow.

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

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

  • WebCore.gyp/WebCore.gyp:
  • WebCore.gypi:
  • platform/chromium/ChromiumBridge.h:
  • storage/IDBKeyPathBackendImpl.cpp: Added. (IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):
  • storage/IDBKeyPathBackendImpl.h: Added.
  • storage/IDBObjectStoreBackendImpl.cpp: (WebCore::IDBObjectStoreBackendImpl::put):
  • storage/chromium/IDBKeyPathBackendImpl.cpp: Added. (WebCore::IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath):

2010-08-24 Marcus Bulach <bulach@chromium.org>

Reviewed by Jeremy Orlow.

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

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

  • public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey):
  • public/WebKitClient.h: (WebKit::WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath):
  • src/ChromiumBridge.cpp: (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
6:04 AM Changeset in webkit [65892] by abecsi@webkit.org
  • 2 edits in trunk/WebKit/qt

2010-08-24 Andras Becsi <abecsi@inf.u-szeged.hu>

Reviewed by Simon Hausmann.

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

  • Api/DerivedSources.pro:
5:26 AM Changeset in webkit [65891] by loislo@chromium.org
  • 35 edits in trunk/WebCore

2010-08-24 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

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

  • GNUmakefile.am:
  • WebCore.gyp/WebCore.gyp:
  • WebCore.pri:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • inspector/CodeGeneratorInspector.pm:
  • inspector/ConsoleMessage.cpp:
  • inspector/ConsoleMessage.h:
  • inspector/InjectedScriptHost.cpp:
  • inspector/InjectedScriptHost.h:
  • inspector/InspectorApplicationCacheAgent.cpp:
  • inspector/InspectorApplicationCacheAgent.h:
  • inspector/InspectorBackend.cpp:
  • inspector/InspectorBackend.h:
  • inspector/InspectorCSSStore.cpp:
  • inspector/InspectorCSSStore.h:
  • inspector/InspectorController.cpp:
  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.cpp:
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorDOMStorageResource.cpp:
  • inspector/InspectorDOMStorageResource.h:
  • inspector/InspectorDatabaseResource.cpp:
  • inspector/InspectorDatabaseResource.h:
  • inspector/InspectorDebuggerAgent.cpp:
  • inspector/InspectorDebuggerAgent.h:
  • inspector/InspectorProfilerAgent.cpp:
  • inspector/InspectorProfilerAgent.h:
  • inspector/InspectorResource.cpp:
  • inspector/InspectorResource.h:
  • inspector/InspectorStorageAgent.cpp:
  • inspector/InspectorStorageAgent.h:
  • inspector/InspectorTimelineAgent.cpp:
  • inspector/InspectorTimelineAgent.h:
5:11 AM Changeset in webkit [65890] by Csaba Osztrogonác
  • 1 edit
    1 delete in trunk/LayoutTests

Unreviewed trivial fix.

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

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

  • platform/qt/editing/pasteboard/onpaste-text-html-expected.txt: Removed.
4:22 AM Changeset in webkit [65889] by Nikolas Zimmermann
  • 4 edits
    4 adds in trunk

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

Reviewed by Dirk Schulze.

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

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

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

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

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

Reviewed by Dirk Schulze.

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

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

  • platform/mac/svg/custom/non-scaling-stroke-markers-expected.checksum: Added.
  • platform/mac/svg/custom/non-scaling-stroke-markers-expected.png: Added.
  • platform/mac/svg/custom/non-scaling-stroke-markers-expected.txt: Added.
  • svg/custom/non-scaling-stroke-markers.svg: Added.
4:16 AM Changeset in webkit [65888] by Csaba Osztrogonác
  • 2 edits in trunk/WebCore

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

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

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

  • platform/qt/PasteboardQt.cpp:

(WebCore::Pasteboard::writeSelection):

4:00 AM Changeset in webkit [65887] by Csaba Osztrogonác
  • 2 edits in trunk/WebCore

Web Inspector: fix gcc warnings introduced in 65731
https://bugs.webkit.org/show_bug.cgi?id=44468

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

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::didInsertDOMNode):
(WebCore::InspectorDOMAgent::pauseOnBreakpoint):

3:38 AM Changeset in webkit [65886] by Simon Hausmann
  • 2 edits in trunk/JavaScriptCore

[Symbian] Fix commit/decommit of system memory using RChunk

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

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

  • wtf/PageReservation.h:

(WTF::PageReservation::systemCommit):
(WTF::PageReservation::systemDecommit):

3:11 AM Changeset in webkit [65885] by andreas.kling@nokia.com
  • 3 edits in trunk/LayoutTests

2010-08-24 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

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

  • fast/dom/document-attribute-js-null-expected.txt:
  • fast/dom/document-attribute-js-null.html:
3:05 AM Changeset in webkit [65884] by rolandsteiner@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Roland Steiner <rolandsteiner@chromium.org>

Unreviewed: trim duplicated entry from Chromium test_expectations.txt

  • platform/chromium/test_expectations.txt:
3:03 AM Changeset in webkit [65883] by abecsi@webkit.org
  • 2 edits in trunk/WebKitTools

2010-08-24 Andras Becsi <abecsi@webkit.org>

[Qt] WebKit2 build fix.

  • Scripts/enumerate-included-framework-headers: Remove stray global option form sed.
2:58 AM Changeset in webkit [65882] by ariya@webkit.org
  • 2 edits in trunk/WebCore

[Qt] Blur shadow for rectangle fill
https://bugs.webkit.org/show_bug.cgi?id=44488

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

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

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::fillRect):

2:27 AM Changeset in webkit [65881] by tkent@chromium.org
  • 6 edits in trunk

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Jeremy Orlow.

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

  • platform/chromium/drt_expectations.txt:

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Jeremy Orlow.

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

  • DEPS: Roll Chromium to r57145 to have a webkit_support change.

2010-08-24 Kent Tamura <tkent@chromium.org>

Reviewed by Jeremy Orlow.

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

  • DumpRenderTree/chromium/TestShell.cpp: (TestShell::TestShell): Enable IndexedDB.
2:25 AM Changeset in webkit [65880] by Nikolas Zimmermann
  • 30 edits
    36 adds in trunk

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

Reviewed by Dirk Schulze

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

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

Tests: svg/clip-path/clip-in-mask-objectBoundingBox.svg

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

  • rendering/RenderSVGResourceClipper.cpp: (WebCore::RenderSVGResourceClipper::applyResource): Return the value of applyClippingToContext, instead of always true. (WebCore::RenderSVGResourceClipper::applyClippingToContext): Moved some code from createClipData, to avoid having to pass 5 arguments to createClipData. (WebCore::RenderSVGResourceClipper::drawContentIntoMaskImage): Renamed from createClipData.
  • rendering/RenderSVGResourceClipper.h:
  • rendering/RenderSVGResourceGradient.cpp: (WebCore::createMaskAndSwapContextForTextGradient): Pass absoluteTargetRect to createImageBuffer. (WebCore::clipToTextMask): Ditto.
  • rendering/RenderSVGResourceMasker.cpp: (WebCore::RenderSVGResourceMasker::applyResource): Ditto. (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage): Pass content transformation to renderSubtreeToImageBuffer, to support nesting objectBoundingBox resources.
  • rendering/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::applyResource): Adapt to calculateTransformationToOutermostSVGCoordinateSystem changes. AffineTransform is now passed as reference. (WebCore::RenderSVGResourcePattern::createTileImage): ImageBuffer content scaling is now handled by createImageBuffer.
  • rendering/SVGImageBufferTools.cpp: (WebCore::SVGImageBufferTools::calculateTransformationToOutermostSVGCoordinateSystem): Renamed. Don't return an AffineTransform copy, but instead pass it as reference. (WebCore::SVGImageBufferTools::createImageBuffer): Always scale the ImageBuffer content, to compensate rounding effects (code was only present in patterns so far).

Now also needs the 'absoluteTargetRect' parameter, not only 'clampedAbsoluteTargetRect'.

(WebCore::SVGImageBufferTools::renderSubtreeToImageBuffer): Moved from SVGRenderSupport.
(WebCore::SVGImageBufferTools::clipToImageBuffer): Pass ImageBuffer as OwnPtr reference, to allow to clear it under certain circumstances (see comment).
(WebCore::SVGImageBufferTools::clampedAbsoluteTargetRectForRenderer): Remove AffineTransform parameter, absoluteTargetRect is calculated before passing into this function.

  • rendering/SVGImageBufferTools.h:
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::prepareToRenderSVGContent): Important change, respect the RenderSVGResourceClipper::applyResource() return value!
  • rendering/SVGRenderSupport.h:
  • svg/SVGFEImageElement.cpp: (WebCore::SVGFEImageElement::build): renderSubtreeToImage now lives in SVGImageBufferTools, adapt code.

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

Reviewed by Dirk Schulze.

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

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

  • platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.checksum:
  • platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png:
  • platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum:
  • platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
  • platform/mac/svg/clip-path/clip-in-mask-expected.checksum: Added.
  • platform/mac/svg/clip-path/clip-in-mask-expected.png: Added.
  • platform/mac/svg/clip-path/clip-in-mask-expected.txt: Added.
  • platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.checksum: Added.
  • platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png: Added.
  • platform/mac/svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt: Added.
  • platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.checksum: Added.
  • platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png: Added.
  • platform/mac/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt: Added.
  • platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.checksum: Added.
  • platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png: Added.
  • platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt: Added.
  • platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.checksum: Added.
  • platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.png: Added.
  • platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.checksum: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.checksum: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.checksum: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png: Added.
  • platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt: Added.
  • platform/mac/svg/custom/absolute-sized-content-with-resources-expected.checksum:
  • platform/mac/svg/custom/absolute-sized-content-with-resources-expected.png:
  • platform/mac/svg/custom/grayscale-gradient-mask-expected.checksum:
  • platform/mac/svg/custom/grayscale-gradient-mask-expected.png:
  • platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.checksum:
  • platform/mac/svg/custom/js-late-gradient-and-object-creation-expected.png:
  • platform/mac/svg/custom/text-rotated-gradient-expected.checksum:
  • platform/mac/svg/custom/text-rotated-gradient-expected.png:
  • platform/mac/svg/text/selection-background-color-expected.checksum:
  • platform/mac/svg/text/selection-background-color-expected.png:
  • platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.checksum:
  • platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.png:
  • platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.checksum:
  • platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
  • svg/clip-path/clip-in-mask-objectBoundingBox.svg: Added.
  • svg/clip-path/clip-in-mask-userSpaceOnUse.svg: Added.
  • svg/clip-path/clip-in-mask.svg: Added.
  • svg/clip-path/deep-nested-clip-in-mask-different-unitTypes.svg: Added.
  • svg/clip-path/deep-nested-clip-in-mask.svg: Added.
  • svg/clip-path/nested-clip-in-mask-image-based-clipping.svg: Added.
  • svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping.svg: Added.
  • svg/clip-path/nested-clip-in-mask-path-based-clipping.svg: Added.
2:05 AM Changeset in webkit [65879] by andreip@google.com
  • 9 edits in trunk

2010-08-24 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>

Reviewed by Jeremy Orlow.

Implement IDBTransaction::objectStore

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

  • storage/indexeddb/script-tests/transaction-basics.js: (test): (openSuccess): (createSuccess): (abortCallback):
  • storage/indexeddb/transaction-basics-expected.txt:

2010-08-24 Andrei Popescu <andreip@dhcp-172-16-14-12.lon.corp.google.com>

Reviewed by Jeremy Orlow.

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

  • storage/IDBDatabaseBackendImpl.cpp: (WebCore::IDBDatabaseBackendImpl::transaction):
  • storage/IDBTransactionBackendImpl.cpp: (WebCore::IDBTransactionBackendImpl::create): (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl): (WebCore::IDBTransactionBackendImpl::objectStore):
  • storage/IDBTransactionBackendImpl.h:
  • storage/IDBTransactionCoordinator.cpp: (WebCore::IDBTransactionCoordinator::createTransaction):
  • storage/IDBTransactionCoordinator.h:
1:55 AM Changeset in webkit [65878] by andreas.kling@nokia.com
  • 16 edits in trunk

2010-08-24 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

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

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

  • dom/Document.cpp: (WebCore::Document::setXMLVersion): Throw NOT_SUPPORTED_ERR if XMLDocumentParser::supportsXMLVersion() returns false for the version.
  • dom/XMLDocumentParser.h:
  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::supportsXMLVersion):
  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::supportsXMLVersion):

2010-08-24 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

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

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

  • dom/xhtml/level3/core/canonicalform06-expected.txt:
  • dom/xhtml/level3/core/documentsetxmlversion01-expected.txt:
  • dom/xhtml/level3/core/documentsetxmlversion03-expected.txt:
  • dom/xhtml/level3/core/documentsetxmlversion05-expected.txt:
  • dom/xhtml/level3/core/infoset06-expected.txt:
  • dom/xhtml/level3/core/infoset07-expected.txt:
  • dom/xhtml/level3/core/wellformed01-expected.txt:
  • dom/xhtml/level3/core/wellformed02-expected.txt:
  • dom/xhtml/level3/core/wellformed03-expected.txt:
  • dom/xhtml/level3/core/wellformed04-expected.txt:
1:51 AM Changeset in webkit [65877] by Simon Hausmann
  • 2 edits in trunk/WebCore

[Qt][Symbian] Make sure WebKit headers are included before platform headers on Symbian
https://bugs.webkit.org/show_bug.cgi?id=31273

Patch by Laszlo Gombos <Laszlo Gombos> on 2010-08-24
Reviewed by Simon Hausmann.

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

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

No new tests as there is no new functionality.

  • WebCore.pro:
1:38 AM Changeset in webkit [65876] by ariya@webkit.org
  • 3 edits in trunk/WebCore

[Qt] Support text-shadow blur
https://bugs.webkit.org/show_bug.cgi?id=19728

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

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

  • platform/graphics/qt/ContextShadow.cpp:

(WebCore::ContextShadow::beginShadowLayer):

  • platform/graphics/qt/FontQt.cpp:

(WebCore::drawTextCommon):

1:16 AM Changeset in webkit [65875] by abarth@webkit.org
  • 4 edits in trunk/LayoutTests

2010-08-24 Adam Barth <abarth@webkit.org>

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

  • fast/parser/block-nesting-cap-expected.txt:
  • fast/parser/block-nesting-cap-table-expected.txt:
  • fast/parser/element-nesting-cap-expected.txt:
1:15 AM Changeset in webkit [65874] by andreas.kling@nokia.com
  • 7 edits
    3 adds in trunk

2010-08-23 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

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

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

  • dom/Element.cpp: (WebCore::Element::setAttributeNS): Throw NAMESPACE_ERR if namespace is null and the qualifiedName has a prefix.

2010-08-24 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø and Nikolas Zimmermann.

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

  • Added a test for the new behavior.
  • Rebaselined svg/custom/missing-xlink.svg
  • fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Added.
  • fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Added.
  • fast/dom/setAttributeNS-prefix-and-null-namespace.html: Added.
  • platform/chromium-mac/svg/custom/missing-xlink-expected.txt:
  • platform/chromium-win/svg/custom/missing-xlink-expected.txt:
  • platform/mac-leopard/svg/custom/missing-xlink-expected.txt:
  • platform/mac/svg/custom/missing-xlink-expected.txt:
  • platform/win/svg/custom/missing-xlink-expected.txt:
12:58 AM Changeset in webkit [65873] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

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

  • storage/IDBKeyTree.h: (WebCore::::put):
  • storage/IDBPendingTransactionMonitor.cpp: (WebCore::IDBPendingTransactionMonitor::addPendingTransaction):
12:46 AM Changeset in webkit [65872] by rolandsteiner@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-24 Roland Steiner <rolandsteiner@chromium.org>

Unreviewed: upstreaming chromium test suppressions.

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

  • platform/chromium/test_expectations.txt:
12:34 AM Changeset in webkit [65871] by abarth@webkit.org
  • 13 edits in trunk/WebCore

2010-08-24 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

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

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

  • storage/Database.cpp: (WebCore::DatabaseCreationCallbackTask::create): (WebCore::DerefContextTask::create): (WebCore::DeliverPendingCallbackTask::create):
  • storage/DatabaseSync.cpp: (WebCore::CloseSyncDatabaseOnContextThreadTask::create):
  • storage/DatabaseTask.h: (WebCore::Database::DatabaseOpenTask::create): (WebCore::Database::DatabaseCloseTask::create): (WebCore::Database::DatabaseTransactionTask::create): (WebCore::Database::DatabaseTableNamesTask::create):
  • storage/DatabaseThread.cpp: (WebCore::DatabaseThread::DatabaseThread):
  • storage/DatabaseTracker.cpp: (WebCore::DatabaseTracker::populateOrigins): (WebCore::DatabaseTracker::addOpenDatabase):
  • storage/IDBKeyTree.h: (WebCore::::put):
  • storage/IDBPendingTransactionMonitor.cpp: (WebCore::IDBPendingTransactionMonitor::addPendingTransaction):
  • storage/LocalStorageTask.h: (WebCore::LocalStorageTask::createImport): (WebCore::LocalStorageTask::createSync): (WebCore::LocalStorageTask::createDeleteEmptyDatabase): (WebCore::LocalStorageTask::createTerminate):
  • storage/LocalStorageThread.cpp: (WebCore::LocalStorageThread::create):
  • storage/SQLTransaction.cpp: (WebCore::SQLTransaction::openTransactionAndPreflight):
  • storage/SQLTransactionSync.cpp: (WebCore::SQLTransactionSync::SQLTransactionSync): (WebCore::SQLTransactionSync::begin):
  • storage/StorageNamespaceImpl.cpp: (WebCore::StorageNamespaceImpl::copy):
12:32 AM Changeset in webkit [65870] by loislo@chromium.org
  • 5 edits in trunk/WebCore

2010-08-24 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

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

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp:
  • inspector/InspectorController.h:
  • inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
12:19 AM Changeset in webkit [65869] by rolandsteiner@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-08-24 Roland Steiner <rolandsteiner@chromium.org>

Unreviewed build fix.

put the "DISABLED_" in front of the right identifier.

  • tests/WebFrameTest.cpp: (WebKit::TEST_F):
12:12 AM Changeset in webkit [65868] by abarth@webkit.org
  • 18 edits in trunk

2010-08-23 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Use new HTML5 TreeBuilder for fragment parsing
https://bugs.webkit.org/show_bug.cgi?id=44475

The HTML5 TreeBuilder is ready to be used for all parsing
including fragments! This is the last change to move trunk
off of the LegacyHTMLTreeBuilder. We'll go through and
delete the thousands of lines of code supporting the old
parser in a separate patch.

This is covered by many layout tests.

  • html/HTMLTreeBuilder.cpp:

2010-08-23 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Use new HTML5 TreeBuilder for fragment parsing
https://bugs.webkit.org/show_bug.cgi?id=44475

The HTML5 TreeBuilder is ready to be used for all parsing
including fragments! This is the last change to move trunk
off of the LegacyHTMLTreeBuilder. We'll go through and
delete the thousands of lines of code supporting the old
parser in a separate patch.

As far as we can tell, all of these are test progressions, see below.

  • editing/pasteboard/paste-noscript-svg-expected.txt: progression.
  • fast/forms/state-restore-to-non-edited-controls-expected.txt: matches minefield.
  • fast/innerHTML/innerHTML-changing-document-properties-expected.txt: new HTML5 exception code, progression.
  • fast/parser/fragment-parser-expected.txt: matches minefield.
  • fast/parser/p-in-scope-expected.txt: matches minefield.
  • fast/parser/p-in-scope-strict-expected.txt: matches minefield.
  • fast/parser/residual-style-close-across-n-blocks-expected.txt: matches minefield.
  • fast/table/incomplete-table-in-fragment-2-expected.txt: matches minefield.
  • fast/table/incomplete-table-in-fragment-hang-expected.txt: matches minefield.
  • html5lib/runner-expected.txt: progression!
  • http/tests/security/xssAuditor/dom-write-innerHTML-expected.txt: Adam will fix this separately.
12:06 AM Changeset in webkit [65867] by rolandsteiner@chromium.org
  • 2 edits in trunk/WebKit/chromium

2010-08-23 Roland Steiner <rolandsteiner@chromium.org>

Reviewed by Tamura Kent.

Disable failing test
https://bugs.webkit.org/show_bug.cgi?id=44492

  • tests/WebFrameTest.cpp: (WebKit::TEST_F):

Aug 23, 2010:

11:54 PM Changeset in webkit [65866] by loki@webkit.org
  • 2 edits in trunk/JavaScriptCore

[WINCE] Buildfix for GeneratedJITStubs after r64818
https://bugs.webkit.org/show_bug.cgi?id=44469

Patch by Patrick Gansterer <paroga@paroga.com> on 2010-08-23
Rubber-stamped by Gabor Loki.

Use " THUNK_RETURN_ADDRESS_OFFSET" instead of "#offset#".

  • jit/JITStubs.cpp:
10:14 PM Changeset in webkit [65865] by commit-queue@webkit.org
  • 2 edits
    2 deletes in trunk/LayoutTests

2010-08-23 Hironori Bono <hbono@chromium.org>

Reviewed by Kent Tamura.

Removes the rebaselined results for special-key-events-in-input-text.html
because my test_shell change fixes it and produces the expected output.
https://bugs.webkit.org/show_bug.cgi?id=44156

  • platform/chromium-mac/fast/events/special-key-events-in-input-text-expected.txt: Removed.
  • platform/chromium-win/fast/events/special-key-events-in-input-text-expected.txt: Removed.
  • platform/chromium/test_expectations.txt:
9:20 PM Changeset in webkit [65864] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

HTMLScriptRunner::create
https://bugs.webkit.org/show_bug.cgi?id=44474

  • html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::HTMLDocumentParser):
  • html/HTMLScriptRunner.h: (WebCore::HTMLScriptRunner::create):
9:01 PM Changeset in webkit [65863] by abarth@webkit.org
  • 3 edits in trunk/WebCore

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

HTMLTreeBuilder should use adoptPtr
https://bugs.webkit.org/show_bug.cgi?id=44473

We should really use this pattern everywhere.

  • html/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::HTMLDocumentParser):
  • html/HTMLTreeBuilder.h: (WebCore::HTMLTreeBuilder::create):
8:51 PM Changeset in webkit [65862] by Martin Robinson
  • 2 edits
    1 delete in trunk/LayoutTests

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Skip another test which shows one pixel differences between the 32-bit and 64-bit bot.

  • platform/gtk/Skipped: Skip newly failing test.
  • platform/gtk/svg/custom/recursive-filter-expected.txt: Removed.
8:49 PM Changeset in webkit [65861] by jhoneycutt@apple.com
  • 3 edits in trunk/LayoutTests

Add tests to the Skipped list.

Rubber-stamped by Brady Eidson.

  • platform/mac-wk2/Skipped:
  • platform/win/Skipped:
8:43 PM Changeset in webkit [65860] by jcivelli@chromium.org
  • 4 edits
    1 add in trunk/WebKit/chromium

2010-08-23 Jay Civelli <jcivelli@chromium.org>

Reviewed by Darin Fisher.

Made WebFrame not report the text from hidden frames.
(some pages contain hidden frames with garbage text that
should not be indexed or used to detect the page's language).
https://bugs.webkit.org/show_bug.cgi?id=39456

  • WebKit.gyp:
  • public/WebCString.h: (WebKit::operator<):
  • public/WebURL.h: (WebKit::operator<):
  • src/WebCString.cpp: (WebKit::WebCString::compare):
  • src/WebFrameImpl.cpp: (WebKit::frameContentAsPlainText):
  • tests/RunAllTests.cpp: (main):
  • tests/WebFrameTest.cpp: Added.
8:25 PM Changeset in webkit [65859] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-08-23 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.

Set the ResourceResponse HTTP headers in RessourceHandleWin
https://bugs.webkit.org/show_bug.cgi?id=44444

  • platform/network/win/ResourceHandleWin.cpp: (WebCore::queryHTTPHeader): (WebCore::ResourceHandle::onRequestComplete):
8:24 PM Changeset in webkit [65858] by dumi@chromium.org
  • 1 edit
    1 delete in trunk/LayoutTests

Unreviewed, removing a Chromium-specific expectation.

  • platform/chromium-win/editing/execCommand/insert-list-xml-expected.txt: Removed.
8:04 PM Changeset in webkit [65857] by commit-queue@webkit.org
  • 4 edits in trunk/WebCore

2010-08-23 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.

Support all available biBitCount values in BitmapInfo
https://bugs.webkit.org/show_bug.cgi?id=43724

Add an enum with all possible values for biBitCount.
Also remove explicit initialization of bmiHeader members,
because that is already done in the constructor.

  • platform/win/BitmapInfo.cpp: Added property svn:eol-style. (WebCore::bitmapInfoForSize): (WebCore::BitmapInfo::create): (WebCore::BitmapInfo::createBottomUp):
  • platform/win/BitmapInfo.h: Added property svn:eol-style. (WebCore::BitmapInfo::): (WebCore::BitmapInfo::bytesPerLine): (WebCore::BitmapInfo::paddedBytesPerLine): (WebCore::BitmapInfo::paddedWidth):
  • platform/win/PopupMenuWin.cpp: (WebCore::PopupMenuWin::paint):
7:30 PM Changeset in webkit [65856] by tkent@chromium.org
  • 6 edits in trunk

2010-08-23 Kent Tamura <tkent@chromium.org>

Unreviewed, build fix for r65852.

  • rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded):
  • rendering/TextControlInnerElements.cpp: (WebCore::InputFieldSpeechButtonElement::InputFieldSpeechButtonElement): (WebCore::InputFieldSpeechButtonElement::create):
  • rendering/TextControlInnerElements.h:

2010-08-23 Kent Tamura <tkent@chromium.org>

Unreviewed, build fix for r65852.

  • src/WebNode.cpp: (WebKit::WebNode::parentNode):
7:26 PM Changeset in webkit [65855] by Martin Robinson
  • 2 edits
    36 adds in trunk/LayoutTests

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Rebaseline new tests and skip tests which produce incorrect output.

  • platform/gtk/Skipped:
  • platform/gtk/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Added.
  • platform/gtk/fast/repaint/multicol-repaint-expected.txt: Added.
  • platform/gtk/fast/repaint/view-background-from-body-1-expected.txt: Copied from LayoutTests/platform/mac/fast/repaint/view-background-from-body-1-expected.txt.
  • platform/gtk/fast/repaint/view-background-from-body-2-expected.txt: Copied from LayoutTests/platform/mac/fast/repaint/view-background-from-body-2-expected.txt.
  • platform/gtk/http/tests/misc/slow-loading-image-in-pattern-expected.txt: Added.
  • platform/gtk/mathml/presentation/attributes-expected.txt: Added.
  • platform/gtk/mathml/presentation/fenced-expected.txt: Added.
  • platform/gtk/mathml/presentation/fractions-expected.txt: Added.
  • platform/gtk/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
  • platform/gtk/mathml/presentation/mo-expected.txt: Added.
  • platform/gtk/mathml/presentation/over-expected.txt: Added.
  • platform/gtk/mathml/presentation/roots-expected.txt: Added.
  • platform/gtk/mathml/presentation/row-alignment-expected.txt: Added.
  • platform/gtk/mathml/presentation/row-expected.txt: Added.
  • platform/gtk/mathml/presentation/style-expected.txt: Added.
  • platform/gtk/mathml/presentation/subsup-expected.txt: Added.
  • platform/gtk/mathml/presentation/tokenElements-expected.txt: Added.
  • platform/gtk/mathml/presentation/under-expected.txt: Added.
  • platform/gtk/mathml/presentation/underover-expected.txt: Added.
  • platform/gtk/svg/batik/paints/patternRegions-positioned-objects-expected.txt: Added.
  • platform/gtk/svg/custom/convolution-crash-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/convolution-crash-expected.txt.
  • platform/gtk/svg/custom/marker-empty-path-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/marker-empty-path-expected.txt.
  • platform/gtk/svg/custom/path-zero-strokewidth-expected.txt: Added.
  • platform/gtk/svg/custom/pattern-incorrect-tiling-expected.txt: Added.
  • platform/gtk/svg/custom/pattern-no-pixelation-expected.txt: Copied from LayoutTests/platform/mac/svg/custom/pattern-no-pixelation-expected.txt.
  • platform/gtk/svg/custom/recursive-filter-expected.txt: Added.
  • platform/gtk/svg/custom/recursive-gradient-expected.txt: Added.
  • platform/gtk/svg/custom/recursive-mask-expected.txt: Added.
  • platform/gtk/svg/custom/recursive-pattern-expected.txt: Added.
  • platform/gtk/svg/custom/relative-sized-content-with-resources-expected.txt: Added.
  • platform/gtk/svg/custom/svg-fonts-without-missing-glyph-expected.txt: Added.
  • platform/gtk/svg/filters/filter-empty-g-expected.txt: Copied from LayoutTests/platform/mac/svg/filters/filter-empty-g-expected.txt.
  • platform/gtk/svg/in-html/circle-expected.txt: Added.
  • platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Added.
7:14 PM Changeset in webkit [65854] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-08-23 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

MarkupAccumulator::appendStartMarkup should be broken down into pieces
https://bugs.webkit.org/show_bug.cgi?id=44288

Extracted appendText, appendComment, appendProcessingInstruction, appendElement and appendCDATASection.
Also simplified the conditionals in appendText.

No new tests are added since this is a cleanup.

  • editing/markup.cpp: (WebCore::MarkupAccumulator::appendText): (WebCore::MarkupAccumulator::appendComment): (WebCore::MarkupAccumulator::appendProcessingInstruction): (WebCore::MarkupAccumulator::appendElement): (WebCore::MarkupAccumulator::appendCDATASection): (WebCore::MarkupAccumulator::appendStartMarkup):
6:49 PM Changeset in webkit [65853] by Simon Fraser
  • 5 edits in trunk

2010-08-23 Simon Fraser <Simon Fraser>

Reviewed by Alexey Proskuryakov.

TreeWalker is not calling acceptNode function in filter object
https://bugs.webkit.org/show_bug.cgi?id=35296

Fix incorrect shadowing of the 'function' variable, which could result
in badness when asking for arguments.callee.

  • bindings/js/JSNodeFilterCondition.cpp: (WebCore::JSNodeFilterCondition::acceptNode):
6:39 PM Changeset in webkit [65852] by Darin Adler
  • 23 edits in trunk

WebCore: Changed type of Node::parentNode to ContainerNode so we don't have to cast,
since parent are all containers.

Reviewed by Geoff Garen.

  • css/CSSStyleSelector.h: Changed m_parentNode to ContainerNode*.
  • dom/Document.h: Fixed the type of TreeShared in the Node constructor.

Yes, it's here.

  • dom/Node.cpp:

(WebCore::Node::eventParentNode): Removed now-unneeded typecast dance.
(WebCore::eventTargetAsSVGElementInstance):Changed type to ContainerNode*.

  • dom/Node.h: Made Node inherit from TreeShared<ContainerNode> instead of

from TreeShared<Node>. Removed bogus comment. Changed return type of parentNode
and shadowParentNode functions to ContainerNode*. Fixed using to use
TreeShared<ContainerNode>.

  • dom/Position.h: Include ContainerNode.h instead of Node.h.
  • html/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::findFosterSite): Removed now-unneeded typecast.

  • rendering/MediaControlElements.h:
  • rendering/SVGShadowTreeElements.h:
  • rendering/TextControlInnerElements.h:

Changed return type of shadowParentNode functions to ContainerNode.

  • rendering/RenderMeter.cpp:

(WebCore::RenderMeter::updatePartsState): Cast the node to HTMLElement* before
passing it to the function that creates the shadow element. We know the node is
a HTMLMeterElement, but the node function doesn't know that.

  • rendering/RenderProgress.cpp:

(WebCore::RenderProgress::updatePartsState): Ditto.

  • rendering/RenderSlider.cpp:

(WebCore::SliderThumbElement::SliderThumbElement): More of the same.
(WebCore::SliderThumbElement::create): Ditto.
(WebCore::RenderSlider::updateFromElement): Ditto.

  • rendering/RenderTextControl.cpp:

(WebCore::RenderTextControl::createSubtreeIfNeeded): Ditto.

  • rendering/RenderTextControlSingleLine.cpp:

(WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded): Ditto.

  • rendering/SVGShadowTreeElements.cpp:

(WebCore::SVGShadowTreeRootElement::SVGShadowTreeRootElement): Ditto.
(WebCore::SVGShadowTreeRootElement::shadowParentNode): Ditto.

  • rendering/ShadowElement.cpp:

(WebCore::ShadowBlockElement::create): Ditto.
(WebCore::ShadowBlockElement::ShadowBlockElement): Ditto.
(WebCore::ShadowBlockElement::createForPart): Ditto.
(WebCore::ShadowInputElement::create): Ditto.
(WebCore::ShadowInputElement::ShadowInputElement): Ditto.

  • rendering/ShadowElement.h:

(WebCore::ShadowElement::ShadowElement): Ditto.
(WebCore::ShadowElement::shadowParent): Ditto.
(WebCore::ShadowElement::shadowParentNode): Ditto.

  • rendering/TextControlInnerElements.cpp:

(WebCore::TextControlInnerElement::TextControlInnerElement): Ditto.
(WebCore::TextControlInnerElement::create): Ditto.
(WebCore::TextControlInnerTextElement::TextControlInnerTextElement): Ditto.
(WebCore::TextControlInnerTextElement::create): Ditto.
(WebCore::SpinButtonElement::SpinButtonElement): Ditto.
(WebCore::SpinButtonElement::create): Ditto.

  • svg/SVGElement.cpp:

(WebCore::SVGElement::eventParentNode): Removed now-unneeded typecast.

  • svg/SVGStyledElement.cpp:

(WebCore::SVGStyledElement::title): Changed type to ContainerNode*.

WebKit2: * WebProcess/InjectedBundle/API/c/WKBundleNode.cpp:
(WKBundleNodeGetParent): Update since parent now returns a
ContainerNode*. The toRef function is a bit too picky to convert
it without a bit of help.

Reviewed by Geoff Garen.

6:25 PM Changeset in webkit [65851] by Martin Robinson
  • 3 edits in trunk/WebCore

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] The Mozilla theme drawing code incorrectly renders scrollbar backgrounds
https://bugs.webkit.org/show_bug.cgi?id=44388

No new tests as this functionality is currently unused. When the
the new scrollbar theme code lands for GTK+, this will be tested
by scrollbar pixel tests.

  • platform/gtk/gtk2drawing.c: Expose a method to paint scrolled window backgrounds and disable incorrect rendering of scrollbar trough backgrounds. (moz_gtk_scrolled_window_paint): Added. (moz_gtk_scrollbar_trough_paint): Disable incorrect background render.
  • platform/gtk/gtkdrawing.h: Add scrolled window widget type in the enum.
6:23 PM Changeset in webkit [65850] by Martin Robinson
  • 3 edits in trunk/WebCore

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] The Mozilla theme drawing API should expose extra information about scrollbar geometry
https://bugs.webkit.org/show_bug.cgi?id=44385

Expose the trough_under_steppers property in MozGtkScrollbarMetrics.

No new tests as this does not change functionality.

  • platform/gtk/gtk2drawing.c: Set the trough_under_steppers member when accessing theme data.
  • platform/gtk/gtkdrawing.h: Add the trough_under_steppers member.
5:44 PM Changeset in webkit [65849] by Darin Adler
  • 6 edits in trunk/WebCore

Parser DOM tree manipulation functions do not need to be virtual.

Reviewed by Geoff Garen.

  • dom/ContainerNode.h: Made parserAddChild, parserRemoveChild, and

parserInsertBefore non-virtual.

  • dom/Node.cpp: Removed the parserAddChild, parserRemoveChild, and

parserInsertBefore functions, which should never have been in the Node class.

  • dom/Node.h: Ditto.
  • html/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::attach): Changed argument type to ContainerNode*
because we never need to attach a child to a non-container node.
(WebCore::HTMLConstructionSite::findFosterSite): Cast the result of the parent
function to ContainerNode*. A parent is always guaranteed to be a container, but
the parent function returns a Node* so that callers can use it without including
ContainerNode's header. That seems like something we can easily fix later.

  • html/HTMLConstructionSite.h: Changed AttachmentSite::parent and the

attach function to ContainerNode* instead of Node*.

5:29 PM Changeset in webkit [65848] by abarth@webkit.org
  • 2 edits in trunk/LayoutTests

2010-08-23 Adam Barth <abarth@webkit.org>

Update the expected results for this test. I think the new expected
results are better than the old ones, but we'll check with some editing
folks to be sure.

  • editing/execCommand/insert-list-xml-expected.txt:
5:04 PM Changeset in webkit [65847] by oliver@apple.com
  • 2 edits in trunk/JavaScriptCore

2010-08-23 Oliver Hunt <oliver@apple.com>

Reviewed by Darin Adler.

[REGRESSION] Interpreter incorrectly excludes prototype chain when validating put_by_id_transition
https://bugs.webkit.org/show_bug.cgi?id=44240
<rdar://problem/8328995>

Fix an error I introduced when cleaning up the interpreter side of the logic
to prevent setters being called in object initialisers.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
4:55 PM Changeset in webkit [65846] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, updating Chromium expectations.

  • platform/chromium/test_expectations.txt:
4:52 PM Changeset in webkit [65845] by eric@webkit.org
  • 2 edits in trunk/WebCore

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

editing/pasteboard/bad-placeholder.html fails with --html5-treebuilder
https://bugs.webkit.org/show_bug.cgi?id=44463

The problem here is that using the documentElement as the context puts
the tree builder into the BeforeHead insertion mode, which strips
leading spaces. This code is confused about what it wants, but it
certainly doesn't want to be in that insertion mode. Looking through
the callers, they'd much rather be in the InBody insertion mode. We
can get them there by creating a fake body element as the context
element.

In the long term, all this code needs to be changed to move away from
deprecatedCreateContextualFragment, which does a bunch of nasty stuff
like removing certain kinds of elements. However, that's a battle for
another day.

  • editing/markup.cpp: (WebCore::createFragmentFromMarkup):
4:49 PM Changeset in webkit [65844] by eric@webkit.org
  • 2 edits in trunk/WebCore

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

fast/xsl/default-html.html fails with HTML5 fragment parsing
https://bugs.webkit.org/show_bug.cgi?id=44450

This patch is a step down a trail of tears. As far as I can tell,
there's no spec for XSLTProcessor.transformToFragment. This patch
attempts to infer the proper behavior from test cases and the Mozilla
wiki.

  • xml/XSLTProcessor.cpp: (WebCore::createFragmentFromSource):
4:48 PM Changeset in webkit [65843] by eric@webkit.org
  • 3 edits in trunk/WebCore

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

editing/pasteboard/paste-visible-script.html is broken with --html5-treebuilder
https://bugs.webkit.org/show_bug.cgi?id=44457

Turns out there are two more checks we need for fragment scripting
permission. Not the most beautiful design, but it seems work.

  • html/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::insertScriptElement):
  • html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processEndTag):
4:44 PM Changeset in webkit [65842] by eric@webkit.org
  • 5 edits in trunk/WebCore

2010-08-23 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

fast/dom/script-innerHTML-x.xhtml fails when run with the HTML5 TreeBuilder in fragment mode
https://bugs.webkit.org/show_bug.cgi?id=44447

This special handling for script/style used to exist in
setInnerHTML. HTML5 moves this logic into the HTML and XML
parsers instead of in setInnerHTML.

In order to share this logic between WebKit's two XML parsers
I had to clean up a bit of the libxml2 parser and add a
new appendFragmentSource method.

Covered by fast/dom/script-innerHTML-x.xhtml.

  • dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::end):
    • Now that libxml2 is calling finish() for fragments (Qt already was) I went through and removed this unneeded style update after fragment parsing.

(WebCore::XMLDocumentParser::parseDocumentFragment):

  • Yay for shared code!
  • This is where I added the style/script hack moved from setInnerHTML.
  • dom/XMLDocumentParser.h:
    • Fix indent.
  • dom/XMLDocumentParserLibxml2.cpp:
    • Removed parseDocumentFragment and moved necessary libxml-specific logic into appendFragmentSource.

(WebCore::XMLDocumentParser::appendFragmentSource):

  • dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::appendFragmentSource):
4:32 PM Changeset in webkit [65841] by Martin Robinson
  • 2 edits in trunk/WebKitTools

2010-08-23 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] The 64-bit Release bot is showing crashes on tests that use mouse buttons
https://bugs.webkit.org/show_bug.cgi?id=44465

Initialize the axes field of mouse button and motion events to null.
This is the value that should be used for events originating from the
mouse device.

  • DumpRenderTree/gtk/EventSender.cpp: (prepareMouseButtonEvent): Initalize button event axes field to null. (mouseMoveToCallback): Initialize motion event axes field to null.
4:12 PM Changeset in webkit [65840] by commit-queue@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-08-23 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

Fixed case where a single character search string in a string.replace()
did not properly handle back reference replacement. The fix is to
check for a '$' as part of the check to see if we can execute the
single character replace optimization.
https://bugs.webkit.org/show_bug.cgi?id=44067

  • runtime/StringPrototype.cpp: (JSC::stringProtoFuncReplace):
4:07 PM Changeset in webkit [65839] by kbr@google.com
  • 11 edits in trunk

2010-08-23 Kenneth Russell <kbr@google.com>

Reviewed by Dimitri Glazkov.

Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=44455

Updated Safari, Qt and Chromium WebGL ports to avoid referencing
ArrayBuffer and ArrayBufferView types from GraphicsContext3D.

Ran all WebGL layout tests; no new regressions. Built and tested
WebKit on Mac OS X; built Chromium on Mac OS X and Linux.

  • src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3DInternal::bufferData): (WebCore::GraphicsContext3DInternal::bufferSubData):

2010-08-23 Kenneth Russell <kbr@google.com>

Reviewed by Dimitri Glazkov.

Remove references to ArrayBuffer and ArrayBufferView from GraphicsContext3D
https://bugs.webkit.org/show_bug.cgi?id=44455

Updated Safari, Qt and Chromium WebGL ports to avoid referencing
ArrayBuffer and ArrayBufferView types from GraphicsContext3D.

Ran all WebGL layout tests; no new regressions. Built and tested
WebKit on Mac OS X; built Chromium on Mac OS X and Linux.

  • html/canvas/WebGLBuffer.cpp:
  • html/canvas/WebGLBuffer.h:
  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::bufferData): (WebCore::WebGLRenderingContext::bufferSubData): (WebCore::WebGLRenderingContext::texImage2D): (WebCore::WebGLRenderingContext::texSubImage2D): (WebCore::WebGLRenderingContext::simulateVertexAttrib0):
  • platform/graphics/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::extractTextureData):
  • platform/graphics/GraphicsContext3D.h:
  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::getQuadVertices):
  • platform/graphics/mac/GraphicsContext3DMac.mm: (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData):
  • platform/graphics/qt/GraphicsContext3DQt.cpp: (WebCore::GraphicsContext3D::bufferData): (WebCore::GraphicsContext3D::bufferSubData):
3:59 PM Changeset in webkit [65838] by eric@webkit.org
  • 4 edits in trunk

2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r65703.
http://trac.webkit.org/changeset/65703
https://bugs.webkit.org/show_bug.cgi?id=44460

"Causing lots of crashes on Snow Leopard when running the
layout tests" (Requested by eseidel2 on #webkit).

  • WebProcess/Plugins/Netscape/NetscapePluginModule.cpp: (WebKit::NetscapePluginModule::tryLoad):

2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r65703.
http://trac.webkit.org/changeset/65703
https://bugs.webkit.org/show_bug.cgi?id=44460

"Causing lots of crashes on Snow Leopard when running the
layout tests" (Requested by eseidel2 on #webkit).

  • DumpRenderTree/TestNetscapePlugIn/main.cpp: (NP_Initialize): (NP_GetEntryPoints):
3:30 PM Changeset in webkit [65837] by dumi@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed, updating some Chromium expectations.

  • platform/chromium/test_expectations.txt:
3:23 PM Changeset in webkit [65836] by senorblanco@chromium.org
  • 4 edits in trunk/WebCore

2010-08-20 Stephen White <senorblanco@chromium.org>

Reviewed by Kenneth Russell.

[CHROMIUM] Fix some failing layout tests w/ACCELERATED_2D_CANVAS
https://bugs.webkit.org/show_bug.cgi?id=44346

LayoutTests/fast/canvas/canvas-incremental-repaint.html (top middle
pane).
Failing because we were not applying the CTM in clearRect(). Now using
the fast path when the CTM is identity, and a fillRect() for the rest.
LayoutTests/fast/canvas/canvas-strokeRect.html
LayoutTests/fast/canvas/shadow-offset-[1-7].html
Failing because we weren't switching to the software path when a
shadow is present.
Also refactor the two versions of fillRect(), and use TRIANGLE_STRIP
strip instead of TRIANGLES, which lets us get rid of the element array
and use drawArrays() instead of drawElements().

Covered by the above layout tests.

  • platform/graphics/chromium/GLES2Canvas.cpp: (WebCore::GLES2Canvas::GLES2Canvas): (WebCore::GLES2Canvas::~GLES2Canvas): Remove m_quadIndices (now unused). (WebCore::GLES2Canvas::clearRect): Use a glClear() fast path for the identity-CTM clear, and fillRect() for the rest. (WebCore::GLES2Canvas::fillRect): Refactor the two versions of fillRect(). (WebCore::GLES2Canvas::drawTexturedRect): (WebCore::GLES2Canvas::drawTexturedRectTile): Get rid of the ELEMENT_ARRAY_BUFFER bind. Use drawArrays() instead of drawElements(). (WebCore::GLES2Canvas::getQuadVertices): Re-order the vertices so they form a triangle strip.
  • platform/graphics/chromium/GLES2Canvas.h: Remove m_quadIndices (now unused).
  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::fillRect): Check for a draw looper (shadow), and drop to the software path.
3:12 PM Changeset in webkit [65835] by commit-queue@webkit.org
  • 3 edits in trunk/WebCore

2010-08-23 Patrick Gansterer <paroga@paroga.com>

Reviewed by Adam Roben.

Move filehandling into fileLoadTimer callback
https://bugs.webkit.org/show_bug.cgi?id=43714

Also add mimetype detection for local files.

  • platform/network/ResourceHandleInternal.h: (WebCore::ResourceHandleInternal::ResourceHandleInternal):
  • platform/network/win/ResourceHandleWin.cpp: (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::fileLoadTimer):
2:59 PM Changeset in webkit [65834] by oliver@apple.com
  • 2 edits in trunk/JavaScriptCore

2010-08-23 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

JSON.stringify is much slower than Firefox on particular pathological input
https://bugs.webkit.org/show_bug.cgi?id=44456

Make StringBuilder::reserveCapacity reserve additional space so we don't end up
repeatedly copying the entire result string.

  • runtime/StringBuilder.h: (JSC::StringBuilder::append): (JSC::StringBuilder::reserveCapacity):
2:52 PM Changeset in webkit [65833] by commit-queue@webkit.org
  • 6 edits in trunk/WebCore

2010-08-23 Iain Merrick <husky@google.com>

Reviewed by Steve Block.

Update JNI bridge for V8 after renaming of JavaString::utf8().
https://bugs.webkit.org/show_bug.cgi?id=44419

This fixes the build on Android. No new functionality, so no new tests.

  • bridge/jni/v8/JNIBridgeV8.cpp: (JavaField::JavaField):
  • bridge/jni/v8/JNIBridgeV8.h: (JSC::Bindings::JavaField::type):
  • bridge/jni/v8/JavaClassV8.cpp: (JavaClass::JavaClass):
  • bridge/jni/v8/JavaNPObjectV8.cpp: (JSC::Bindings::JavaNPObjectGetProperty):
  • bridge/jni/v8/JavaStringV8.h: (JSC::Bindings::JavaStringImpl::utf8):
2:31 PM Changeset in webkit [65832] by commit-queue@webkit.org
  • 4 edits
    3 adds in trunk

2010-08-23 Mihai Parparita <mihaip@chromium.org>

Reviewed by David Hyatt.

Assertion failure in FrameView::layout when modifying the DOM during
pagehide with PageCache enabled
https://bugs.webkit.org/show_bug.cgi?id=43152

Always unschedule any pending relayouts when changing the view, not just
when we're not using the page cache. Otherwise touching the DOM during
the pagehide handler can lead to layouts that will be done by the time
the view has changed, which triggers an assert.

  • fast/loader/resources/unschedule-relayout-after-unload-target.html: Added.
  • fast/loader/unschedule-relayout-after-unload-expected.txt: Added.
  • fast/loader/unschedule-relayout-after-unload.html: Added.

2010-08-23 Mihai Parparita <mihaip@chromium.org>

Reviewed by David Hyatt.

Assertion failure in FrameView::layout when modifying the DOM during
pagehide with PageCache enabled
https://bugs.webkit.org/show_bug.cgi?id=43152

Always unschedule any pending relayouts when changing the view, not just
when we're not using the page cache. Otherwise touching the DOM during
the pagehide handler can lead to layouts that will be done by the time
the view has changed, which triggers an assert.

Test: fast/loader/unschedule-relayout-after-unload.html

  • page/Frame.cpp: (WebCore::Frame::setView): move unscheduleRelayout outside page cache check.
  • page/FrameView.cpp: (WebCore::FrameView::layout): remove early return now that assert should be correct (and the referenced rdar:// got fixed).
2:29 PM Changeset in webkit [65831] by jhoneycutt@apple.com
  • 4 edits in trunk

Layout tests do not run when using WebKitTestRunner in a Debug build.
https://bugs.webkit.org/show_bug.cgi?id=44409

Reviewed by Dan Bernstein.

WebKit2:

  • UIProcess/Launcher/win/ProcessLauncherWin.cpp:

(WebKit::ProcessLauncher::launchProcess):
Use WebKit2WebProcess_debug.exe when building Debug.

WebKitTools:

  • WebKitTestRunner/win/TestControllerWin.cpp:

(WTR::TestController::initializeInjectedBundlePath):
Use InjectedBundle_debug.dll when building Debug.

2:27 PM Changeset in webkit [65830] by jhoneycutt@apple.com
  • 3 edits in trunk/LayoutTests

Add more tests to the WebKit2 skipped lists.

Rubber-stamped by Mark Rowe.

  • platform/mac-wk2/Skipped:
  • platform/win-wk2/Skipped:
1:43 PM Changeset in webkit [65829] by jamesr@google.com
  • 1 edit
    2 adds in trunk/LayoutTests

2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r65812.
http://trac.webkit.org/changeset/65812
https://bugs.webkit.org/show_bug.cgi?id=44451

Broke fast/events/special-key-events-in-input-text.html for
chromium (Requested by jamesr on #webkit).

  • platform/chromium-mac/fast/events/special-key-events-in-input-text-expected.txt: Added.
  • platform/chromium-win/fast/events/special-key-events-in-input-text-expected.txt: Added.
1:20 PM Changeset in webkit [65828] by rniwa@webkit.org
  • 1 edit
    3 adds in trunk/LayoutTests

2010-08-19 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Tony Chang.

There is no test for unicode-bidi / direction support in ApplyStyleCommand::applyInlineStyle
https://bugs.webkit.org/show_bug.cgi?id=43989

Added a test for MakeTextWritingDirectionNatural, MakeTextWritingDirectionLeftToRight,
and MakeTextWritingDirectionRightToLeft commands.

  • editing/style/make-text-writing-direction-inline.html: Added.
  • editing/style/script-tests/make-text-writing-direction-inline.js: Added. (modifyWritingDirection): (selectFirstWord): (selectSecondAndThirdWords):
1:09 PM Changeset in webkit [65827] by jianli@chromium.org
  • 19 edits
    2 adds in trunk

Handle blob resource.
https://bugs.webkit.org/show_bug.cgi?id=43941

Reviewed by Darin Fisher.

JavaScriptCore:

  • JavaScriptCore.exp: Add an export that is neede by BlobResourceHandle.

WebCore:

To provide lower level blob reosurce handling for all possible ports,
BlobResourceHandle derived from ResourceHandle is implemented. It provides
both synchronous and asynchronous resource loading for blob URL.

BlobResourceHandle needs to create a FileStreamProxy instance in order to
asynchronous file stream operation. To achive this, a hook createAsyncFileStream
is added to ResourceHandleClient interface. When ResourceLoader implements
ths hook, it creates and returns FileStreamProxy.

BlobResourceHandle.* is not added to chromium port since it will implement
its own blob resource handling.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • loader/ResourceLoader.cpp:

(WebCore::ResourceLoader::createAsyncFileStream): Create and return FileStreamProxy.

  • loader/ResourceLoader.h:
  • page/SecurityOrigin.cpp: Add the support to get and validate the origin of blob URL.

(WebCore::SecurityOrigin::create):
(WebCore::SecurityOrigin::canLoad):

  • platform/network/BlobRegistryImpl.cpp:

(WebCore::BlobRegistryImpl::appendStorageItems): Fix a bug that the length is not subtracted.

  • platform/network/BlobResourceHandle.cpp: Added.
  • platform/network/BlobResourceHandle.h: Added.
  • platform/network/HTTPParsers.cpp:

(WebCore::parseRange):

  • platform/network/HTTPParsers.h:
  • platform/network/ResourceHandle.cpp: Hook up with asynchronous blob resource handling.

(WebCore::ResourceHandle::create):

  • platform/network/ResourceHandle.h:
  • platform/network/ResourceHandleClient.h:

(WebCore::ResourceHandleClient::createAsyncFileStream): Add a hook.

  • platform/network/mac/ResourceHandleMac.mm:

(WebCore::ResourceHandle::loadResourceSynchronously): Hook up with synchronous blob resource handling.

1:03 PM Changeset in webkit [65826] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

2010-08-23 Abhishek Arya <inferno@chromium.org>

Reviewed by Dimitri Glazkov.

Fix security origin calculation in createPattern. Need to use
cachedImage->response().url() instead of cachedImage->url().
https://bugs.webkit.org/show_bug.cgi?id=44399.

Test: http/tests/security/canvas-remote-read-remote-image-redirect.html

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::createPattern):

2010-08-23 Abhishek Arya <inferno@chromium.org>

Reviewed by Dimitri Glazkov.

Tests that calling getImageData(), toDataURL() on a canvas tainted by
a createPattern of a different origin image using redirects from same origin
is not allowed.
https://bugs.webkit.org/show_bug.cgi?id=44399

  • http/tests/security/canvas-remote-read-remote-image-redirect-expected.txt: Added.
  • http/tests/security/canvas-remote-read-remote-image-redirect.html: Added.
12:27 PM Changeset in webkit [65825] by Simon Fraser
  • 1 edit
    1 add in trunk/LayoutTests

2010-08-23 Simon Fraser <Simon Fraser>

Add missing test result.

  • platform/mac/fast/table/simple_paint-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.txt.
12:22 PM Changeset in webkit [65824] by Simon Fraser
  • 3 edits
    3 adds in trunk

2010-08-23 Simon Fraser <Simon Fraser>

Reviewed by Alexey Proskuryakov.

TreeWalker is not calling acceptNode function in filter object
https://bugs.webkit.org/show_bug.cgi?id=35296

We only accepted raw functions as the NodeFilter on TreeWalker. Fix this to
look for an 'acceptNode' function on the filter object, and use that if present.
Also throw an exception if the filter object does not have an acceptNode function.

Test: fast/dom/TreeWalker/acceptNode-filter.html

  • bindings/js/JSNodeFilterCondition.cpp: (WebCore::JSNodeFilterCondition::acceptNode):
12:18 PM Changeset in webkit [65823] by commit-queue@webkit.org
  • 3 edits
    3 deletes in trunk

2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r65814.
http://trac.webkit.org/changeset/65814
https://bugs.webkit.org/show_bug.cgi?id=44443

broke svg/custom/missing-xlink.svg (Requested by kling on
#webkit).

  • fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Removed.
  • fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Removed.
  • fast/dom/setAttributeNS-prefix-and-null-namespace.html: Removed.

2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r65814.
http://trac.webkit.org/changeset/65814
https://bugs.webkit.org/show_bug.cgi?id=44443

broke svg/custom/missing-xlink.svg (Requested by kling on
#webkit).

  • dom/Element.cpp: (WebCore::Element::setAttributeNS):
12:10 PM Changeset in webkit [65822] by ddkilzer@apple.com
  • 2 edits in trunk/WebKitSite

Clean up some HTML typos in crashlogs.html

Rubber-stamped by Maciej Stachowiak.

  • quality/crashlogs.html: Fixed "</code>>" typos added in

r56300. Changed "<tt>" tag with style attribute to "<code>"
that was missed in r56300.

11:59 AM Changeset in webkit [65821] by jianli@chromium.org
  • 4 edits in trunk

Remove unneeded BlobRegistryImpl.* and WebBlobRegistryImpl.* from
chromium project files.
https://bugs.webkit.org/show_bug.cgi?id=44442

Reviewed by David Levin.

WebCore:

  • WebCore.gypi:

WebKit/chromium:

  • WebKit.gyp:
11:28 AM Changeset in webkit [65820] by mthole@apple.com
  • 2 edits in trunk/WebKit/mac

WebPDFView should remove itself as the delegate of its PDFView before being dealloced
https://bugs.webkit.org/show_bug.cgi?id=44441

Reviewed by Dan Bernstein.

  • WebView/WebPDFView.mm:

(-[WebPDFView dealloc]): Set the PDFView's delegate to nil.

11:12 AM Changeset in webkit [65819] by eric@webkit.org
  • 2 edits in trunk/WebCore

2010-08-23 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Many LayoutTests crash when run with --html5-treebuilder
https://bugs.webkit.org/show_bug.cgi?id=44440

Our list of special tags is out of sync with the HTML5 spec. This
patch adds HTML to the list, which fixs a ton of crashers when parsing
fragments. We neet to sync up the list at some point, but we want to
make sure we have test coverage for all those changes, so I've left
that for a future patch.

  • html/HTMLTreeBuilder.cpp:
10:58 AM Changeset in webkit [65818] by leandro@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-08-23 Leandro Pereira <leandro@profusion.mobi>

[EFL] Build fix for platforms that do not require linking with "dl".
CMake includes the variable CMAKE_DL_LIBS that evaluates to the
platform-specific libraries.

  • CMakeListsEfl.txt: Use ${CMAKE_DL_LIBS} instead of dl.
9:56 AM Changeset in webkit [65817] by dbates@webkit.org
  • 2 edits in trunk/WebKit2

2010-08-23 Daniel Bates <dbates@rim.com>

Rubber-stamped by Adam Roben.

Substitute "sizeof("javascript:") - 1" for the hardcoded constant 11 when
extracting the JavaScript code portion of a JavaScript URL so as to make
it clearer that the 11 represents the length of the scheme portion of
a JavaScript URL.

  • WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::performJavaScriptURLRequest):
9:54 AM Changeset in webkit [65816] by loislo@chromium.org
  • 2 edits in trunk/WebCore

2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

WebInspector: Context menu in Scripts panel was broken.
https://bugs.webkit.org/show_bug.cgi?id=44431

  • inspector/InspectorFrontendHost.cpp: (WebCore::FrontendMenuProvider::contextMenuItemSelected): (WebCore::FrontendMenuProvider::contextMenuCleared):
9:37 AM Changeset in webkit [65815] by commit-queue@webkit.org
  • 3 edits in trunk/WebKit/chromium

2010-08-23 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Remove obsolete public/API methods in chromium port
https://bugs.webkit.org/show_bug.cgi?id=44421

  • public/WebSpeechInputController.h: (WebKit::WebSpeechInputController::startRecognition): (WebKit::WebSpeechInputController::cancelRecognition): (WebKit::WebSpeechInputController::stopRecording):
  • public/WebSpeechInputListener.h:
9:34 AM Changeset in webkit [65814] by andreas.kling@nokia.com
  • 3 edits
    3 adds in trunk

2010-08-23 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

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

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

  • dom/Element.cpp: (WebCore::Element::setAttributeNS): Throw NAMESPACE_ERR if namespace is null and the qualifiedName has a prefix.

2010-08-23 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Tor Arne Vestbø.

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

  • fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Added.
  • fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Added.
  • fast/dom/setAttributeNS-prefix-and-null-namespace.html: Added.
9:18 AM Changeset in webkit [65813] by commit-queue@webkit.org
  • 3 edits in trunk/WebCore

2010-08-23 Ryuan Choi <ryuan.choi@samsung.com>

Reviewed by Antonio Gomes.

[EFL] rendering was broken when missing plugin.
https://bugs.webkit.org/show_bug.cgi?id=43395

Implement RenderThemeEfl::systemFont to render "Missing plugin" when we
don't have proper plugin.
In this case, RenderEmbeddedObject::paintReplaced call systemFont and
pass returned font to GraphicsContext.

  • platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::setDefaultFontSize): (WebCore::RenderThemeEfl::systemFont):
  • platform/efl/RenderThemeEfl.h:
8:30 AM Changeset in webkit [65812] by commit-queue@webkit.org
  • 1 edit
    2 deletes in trunk/LayoutTests

2010-08-23 Hironori Bono <hbono@chromium.org>

Reviewed by Kent Tamura.

Removes the rebaselined results for special-key-events-in-input-text.html
because my test_shell change fixes it and produces the expected output.
https://bugs.webkit.org/show_bug.cgi?id=44156

  • platform/chromium-mac/fast/events/special-key-events-in-input-text-expected.txt: Removed.
  • platform/chromium-win/fast/events/special-key-events-in-input-text-expected.txt: Removed.
8:20 AM Changeset in webkit [65811] by xan@webkit.org
  • 2 edits in trunk/WebKitTools

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

Reviewed by Martin Robinson.

[GTK] run-launcher fails if WebKitGTK+ compiled with GTK+-3.0 support
https://bugs.webkit.org/show_bug.cgi?id=42026

If a GTK+ 3.x build is present return that as the library to use,
otherwise fallback to the GTK+ 2.x build.

  • Scripts/webkitdirs.pm:
7:40 AM Changeset in webkit [65810] by commit-queue@webkit.org
  • 5 edits in trunk/WebCore

2010-08-23 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: remove javascript breakpoint specific code from BreakpointSidebarPane
https://bugs.webkit.org/show_bug.cgi?id=44327

  • inspector/front-end/BreakpointManager.js: (WebInspector.BreakpointManager.prototype.setBreakpoint): (WebInspector.BreakpointManager.prototype.restoredBreakpoint): (WebInspector.BreakpointManager.prototype._setBreakpoint): (WebInspector.BreakpointManager.prototype._removeBreakpoint): (WebInspector.BreakpointManager.prototype._setBreakpointOnBackend): (WebInspector.Breakpoint):
  • inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.BreakpointsSidebarPane): (WebInspector.BreakpointsSidebarPane.prototype.addBreakpoint): (WebInspector.BreakpointsSidebarPane.prototype._breakpointRemoved): (WebInspector.JSBreakpointItem): (WebInspector.JSBreakpointItem.prototype.compareTo): (WebInspector.JSBreakpointItem.prototype.element): (WebInspector.JSBreakpointItem.prototype._breakpointClicked): (WebInspector.JSBreakpointItem.prototype._checkboxClicked): (WebInspector.JSBreakpointItem.prototype._enableChanged): (WebInspector.JSBreakpointItem.prototype._textChanged): (WebInspector.JSBreakpointItem.prototype._removed):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype._breakpointAdded): (WebInspector.ScriptsPanel.prototype._breakpointRemoved):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype.addBreakpoint): (WebInspector.SourceFrame.prototype._addBreakpointToSource):
7:07 AM Changeset in webkit [65809] by loislo@chromium.org
  • 9 edits in trunk/WebCore

2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: inspector protocol should be switched from array based
message format to object based message format.
Almost all the protocol related things is generated by CodeGeneratorInspector.pm
It was changed a bit. As result InspectorBackendStub.js wraps the
calls into Request objects. InspectorBackendDispatcher.cpp unwraps
these objects and calls corresponding agents. These two files and
RemoteInspectorFrontend are generated by CodeGeneratorInspector.pm
Dispatching part of WebInspector also was adjusted for handling Event
objects produced by RemoteInspectorFrontend.cpp and Response objects
produced by InspectorBackendDispatcher.cpp
https://bugs.webkit.org/show_bug.cgi?id=44338

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::setAttachedWindow):
  • inspector/InspectorController.h:
  • inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
  • inspector/InspectorValues.h: (WebCore::InspectorObject::find):
  • inspector/front-end/Callback.js: (WebInspector.Callback.prototype.processResponse):
  • inspector/front-end/inspector.js: (WebInspector.dispatch): (WebInspector_syncDispatch): (WebInspector.dispatchMessageFromBackend): (WebInspector.reportProtocolError):
6:58 AM Changeset in webkit [65808] by abecsi@webkit.org
  • 5 edits
    1 add in trunk

2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Ariya Hidayat.

[Qt] Find needed forwarding headers for WebKit2 automatically
https://bugs.webkit.org/show_bug.cgi?id=44336

  • MiniBrowser/qt/BrowserWindow.cpp: Use normal (not framework style) includes here. The new script does not satisfy the needs of this file however using normal includes is generally better here.
  • MiniBrowser/qt/MiniBrowser.pro: Added include paths.
  • Scripts/enumerate-included-framework-headers: Enumerates headers included from the given frameworks by files in the current directory (and subdirectories). In the future this needs to be rewritten in perl for being able to use on Windows.

2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Ariya Hidayat.

[Qt] Find needed forwarding headers for WebKit2 automatically
https://bugs.webkit.org/show_bug.cgi?id=44336

  • DerivedSources.pro: Use the new enumerate-included-framework-headers script for generating the list of forwarding headers we want to create.
6:23 AM Changeset in webkit [65807] by jorlow@chromium.org
  • 8 edits
    3 deletes in trunk

2010-08-19 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Remove IDBDatabase.description per spec changes
https://bugs.webkit.org/show_bug.cgi?id=44264

Update layout tests to match changes. One layout test is now
obsolete.

  • storage/indexeddb/database-basics-expected.txt:
  • storage/indexeddb/database-description-expected.txt: Removed.
  • storage/indexeddb/database-description.html: Removed.
  • storage/indexeddb/script-tests/database-basics.js: (openSuccess):
  • storage/indexeddb/script-tests/database-description.js: Removed.

2010-08-19 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

Remove IDBDatabase.description per spec changes
https://bugs.webkit.org/show_bug.cgi?id=44264

There's now no longer any way to access the description from JS.
The main premise of the manual test is now obsolete. Over time we'll
be able to add to it again. While I'm at it, I cleaned up the format
of the manual test to be easier to follow (code and usage wise).

  • manual-tests/indexed-database.html:
  • storage/IDBDatabase.cpp: (WebCore::IDBDatabase::IDBDatabase):
  • storage/IDBDatabase.h:
  • storage/IDBDatabase.idl:
6:06 AM WinCE edited by paroga@paroga.com
(diff)
5:49 AM Changeset in webkit [65806] by pfeldman@chromium.org
  • 3 edits in trunk/WebCore

2010-08-23 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: element's css: pseudo-class locations
https://bugs.webkit.org/show_bug.cgi?id=44344

Also contains a drive-by fix for 44301 (gray out read-only).

  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylesSidebarPane.prototype.update.computedStyleCallback): (WebInspector.StylesSidebarPane.prototype.update): (WebInspector.StylesSidebarPane.prototype._rebuildUpdate): (WebInspector.StylesSidebarPane.prototype._rebuildSectionsForStyleRules): (WebInspector.StylePropertiesSection):
5:34 AM Changeset in webkit [65805] by zoltan@webkit.org
  • 3 edits
    2 adds in trunk/WebKit2

[Qt] Build fix.

  • DerivedSources.pro:
  • WebKit2.pro:
  • WebProcess/Plugins/Netscape/qt: Added.
  • WebProcess/Plugins/Netscape/qt/NetscapePluginQt.cpp: Added.

(WebKit::NetscapePlugin::platformPostInitialize):
(WebKit::NetscapePlugin::platformPaint):
(WebKit::toNP):
(WebKit::NetscapePlugin::platformHandleMouseEvent):
(WebKit::NetscapePlugin::platformHandleWheelEvent):
(WebKit::NetscapePlugin::platformSetFocus):
(WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
(WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):

5:28 AM Changeset in webkit [65804] by loislo@chromium.org
  • 9 edits in trunk/WebCore

2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r65803.
http://trac.webkit.org/changeset/65803
https://bugs.webkit.org/show_bug.cgi?id=44416

windows build failed (Requested by loislo on #webkit).

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp:
  • inspector/InspectorController.h:
  • inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
  • inspector/InspectorValues.h:
  • inspector/front-end/Callback.js: (WebInspector.Callback.prototype.processResponse):
  • inspector/front-end/inspector.js: (WebInspector.dispatch.delayDispatch): (WebInspector.dispatch): (WebInspector_syncDispatch): (WebInspector.dispatchMessageFromBackend): (WebInspector.reportProtocolError):
5:14 AM Changeset in webkit [65803] by loislo@chromium.org
  • 9 edits in trunk/WebCore

2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

WebInspector: inspector protocol should be switched from array based
message format to object based message format.
Almost all the protocol related things is generated by CodeGeneratorInspector.pm
It was changed a bit. As result InspectorBackendStub.js wraps the
calls into Request objects. InspectorBackendDispatcher.cpp unwraps
these objects and calls corresponding agents. These two files and
RemoteInspectorFrontend are generated by CodeGeneratorInspector.pm
Dispatching part of WebInspector also was adjusted for handling Event
objects produced by RemoteInspectorFrontend.cpp and Response objects
produced by InspectorBackendDispatcher.cpp
https://bugs.webkit.org/show_bug.cgi?id=44338

  • inspector/CodeGeneratorInspector.pm:
  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::setAttachedWindow):
  • inspector/InspectorController.h:
  • inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
  • inspector/InspectorValues.h: (WebCore::InspectorObject::find):
  • inspector/front-end/Callback.js: (WebInspector.Callback.prototype.processResponse):
  • inspector/front-end/inspector.js: (WebInspector.dispatch): (WebInspector_syncDispatch): (WebInspector.dispatchMessageFromBackend): (WebInspector.reportProtocolError):
5:09 AM Changeset in webkit [65802] by alex
  • 2 edits in trunk/WebCore

2010-08-23 Alejandro G. Castro <alex@igalia.com>

Reviewed by Xan Lopez.

Make the copy of the inspector files silent.

  • GNUmakefile.am:
4:44 AM Changeset in webkit [65801] by andreas.kling@nokia.com
  • 3 edits in trunk/WebCore

2010-08-23 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] -webkit-text-stroke is broken due to Qt::TextBypassShaping
https://bugs.webkit.org/show_bug.cgi?id=44403

Don't bypass the Harfbuzz shaping if we're drawing text with a stroke.
For canvas, always use complex text shaping since stroke and fill are decoupled.

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::measureText): (WebCore::CanvasRenderingContext2D::drawTextInternal):
  • platform/graphics/qt/FontQt.cpp: (WebCore::drawTextCommon):
4:35 AM Changeset in webkit [65800] by rolandsteiner@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-23 Roland Steiner <rolandsteiner@chromium.org>

Unreviewed change to drt_expectations.txt.

Add new entry to platform/chromium/drt_expectations.txt

  • platform/chromium/drt_expectations.txt:
2:49 AM Changeset in webkit [65799] by commit-queue@webkit.org
  • 7 edits
    3 adds in trunk/LayoutTests

2010-08-23 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: add DOM breakpoints test
https://bugs.webkit.org/show_bug.cgi?id=44251

  • http/tests/inspector/debugger-test2.js: Added. (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest): (initialize_DebuggerTest.InspectorTest.startDebuggerTest): (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.completeTest): (initialize_DebuggerTest.InspectorTest.completeDebuggerTest): (initialize_DebuggerTest.InspectorTest.waitUntilPaused): (initialize_DebuggerTest.InspectorTest.resumeExecution): (initialize_DebuggerTest.InspectorTest.showScriptSource): (initialize_DebuggerTest.InspectorTest._scriptsAreParsed): (initialize_DebuggerTest.InspectorTest._showScriptSource): (initialize_DebuggerTest):
  • http/tests/inspector/inspector-test2.js: (initialize_InspectorTest): (initialize_InspectorTest.): (runTest.runTestInFrontend): (runTest):
  • inspector/debugger-breakpoints-not-activated-on-reload.html:
  • inspector/dom-breakpoints-expected.txt: Added.
  • inspector/dom-breakpoints.html: Added.
  • platform/gtk/Skipped:
  • platform/mac/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
2:38 AM Changeset in webkit [65798] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-08-23 Philippe Normand <pnormand@igalia.com>

Unreviewed, skipping more media tests

[GStreamer] multiple <video> elements + PulseAudio are crash-prone
https://bugs.webkit.org/show_bug.cgi?id=44235

  • platform/gtk/Skipped: Skip media/video-zoom-controls.html and media/adopt-node-crash.html
2:35 AM Changeset in webkit [65797] by mnaganov@chromium.org
  • 16 edits
    2 adds in trunk/WebCore

2010-08-23 Mikhail Naganov <mnaganov@chromium.org>

Reviewed by Pavel Feldman.

Extract profiler-related code and data from InspectorController into
InspectorProfilerAgent.

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

1:10 AM Changeset in webkit [65796] by Girish Ramakrishnan
  • 2 edits in trunk/WebKit/qt

[Qt] Allow wmode=transparent in QWebView on Maemo5 after r65775.

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

Reviewed by Ariya Hidayat.

  • WebCoreSupport/FrameLoaderClientQt.cpp:

(WebCore::FrameLoaderClientQt::createPlugin):

12:59 AM Changeset in webkit [65795] by ariya@webkit.org
  • 2 edits in trunk/WebCore

[Qt] Crash when purging the scratch buffer for the shadow
https://bugs.webkit.org/show_bug.cgi?id=44384

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

WebCore::Timer can't be used in a static object bcause it relies on
thread global data, which is invalid once the application instance is
destroyed. To overcome the problem, use QObject's timer support for
the ShadowBuffer class.

  • platform/graphics/qt/ContextShadow.cpp:

(WebCore::):
(WebCore::ShadowBuffer::ShadowBuffer):
(WebCore::ShadowBuffer::schedulePurge):
(WebCore::ShadowBuffer::timerEvent):

Aug 22, 2010:

11:27 PM Changeset in webkit [65794] by tkent@chromium.org
  • 2 edits in trunk/LayoutTests

2010-08-22 Kent Tamura <tkent@chromium.org>

Unreviewed, test expectation update.

  • platform/chromium/drt_expectations.txt:
11:11 PM Changeset in webkit [65793] by Philippe Normand
  • 4 edits in trunk/WebCore

2010-08-23 Philippe Normand <pnormand@igalia.com>

Reviewed by Xan Lopez.

[GStreamer] don't expose the private player in GStreamerGWorld
https://bugs.webkit.org/show_bug.cgi?id=44332

Only a pointer to our playbin2 element instance is required
instead of the whole MediaPlayerPrivateGStreamer instance.

  • platform/graphics/gstreamer/GStreamerGWorld.cpp: (WebCore::GStreamerGWorld::createGWorld): (WebCore::GStreamerGWorld::GStreamerGWorld): (WebCore::GStreamerGWorld::~GStreamerGWorld): (WebCore::GStreamerGWorld::enterFullscreen): (WebCore::GStreamerGWorld::exitFullscreen):
  • platform/graphics/gstreamer/GStreamerGWorld.h: (WebCore::GStreamerGWorld::pipeline):
  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):
8:50 PM Changeset in webkit [65792] by andreas.kling@nokia.com
  • 3 edits in trunk/WebKitTools

2010-08-22 No'am Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] Qt test browser: enable a QGLWidget viewport with a command line argument
https://bugs.webkit.org/show_bug.cgi?id=43010

  • QtTestBrowser/launcherwindow.cpp: (LauncherWindow::applyPrefs):
  • QtTestBrowser/main.cpp: (LauncherApplication::handleUserOptions):
5:52 PM Changeset in webkit [65791] by andreas.kling@nokia.com
  • 2 edits in trunk/WebCore

2010-08-22 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] GraphicsContext: Simplify getting the clip bounding rect
https://bugs.webkit.org/show_bug.cgi?id=44396

Move the Qt 4.8 version check for QPainter::clipBoundingRect()
into a GraphicsContextPlatformPrivate method.

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContextPlatformPrivate::clipBoundingRect): (WebCore::GraphicsContext::beginTransparencyLayer): (WebCore::GraphicsContext::clipOut): (WebCore::GraphicsContext::clipOutEllipseInRect):
5:30 PM Changeset in webkit [65790] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-08-22 Rafael Antognolli <antognolli@profusion.mobi>

Reviewed by Antonio Gomes.

[EFL] Remove duplicated include entry from default theme.
https://bugs.webkit.org/show_bug.cgi?id=44345

This used to create the group webkit/widget/entry twice in
the theme. It's leading to a bug with the newer versions of
EFL.

  • DefaultTheme/default.edc:
5:14 PM Changeset in webkit [65789] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/qt

2010-08-22 Marc Mutz <marc.mutz@kdab.com>

Reviewed by Antonio Gomes.

[Qt] Actually emit the QWebView::selectionChanged() signal

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

  • Api/qwebview.cpp: (QWebView::setPage): Connect QWebPage::selectionChanged() to QWebView::selectionChanged()
3:42 PM Changeset in webkit [65788] by commit-queue@webkit.org
  • 18 edits in trunk

2010-08-22 Juha Savolainen <juha.savolainen@weego.fi>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Add QTouchEvents support for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=44330

This patch adds support for QTouchEvents in WebKit2. A new WebEvent-class
is created for touchevents, WebTouchEvent. Also touchpoints needed a new
class, WebPlatformTouchPoint. This is similar solution like in other
events(like MouseEvent) on WebKit2. These classes are introduced in WebEvent.h
Also there was a need to create an empty constructor to PlatformTouchPoint-class.

  • platform/PlatformTouchPoint.h: (WebCore::PlatformTouchPoint::PlatformTouchPoint):

2010-08-22 Juha Savolainen <juha.savolainen@weego.fi>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Add QTouchEvents support for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=44330

This patch adds support for QTouchEvents in WebKit2. A new WebEvent-class
is created for touchevents, WebTouchEvent. Also touchpoints needed a new
class, WebPlatformTouchPoint. This is similar solution like in other
events(like MouseEvent) on WebKit2. These classes are introduced in WebEvent.h
Also there was a need to create an empty constructor to PlatformTouchPoint-class.

  • DerivedSources.pro:
  • Shared/CoreIPCSupport/WebPageMessageKinds.h: (WebPageMessage::):
  • Shared/WebEvent.h: (WebKit::WebEvent::): (WebKit::WebTouchPoint::): (WebKit::WebTouchPoint::WebTouchPoint): (WebKit::WebTouchPoint::id): (WebKit::WebTouchPoint::state): (WebKit::WebTouchPoint::screenPosX): (WebKit::WebTouchPoint::screenPosY): (WebKit::WebTouchPoint::posX): (WebKit::WebTouchPoint::posY): (WebKit::WebTouchPoint::setState): (WebKit::WebTouchPoint::encode): (WebKit::WebTouchPoint::decode): (WebKit::WebTouchEvent::WebTouchEvent): (WebKit::WebTouchEvent::type): (WebKit::WebTouchEvent::touchPoints): (WebKit::WebTouchEvent::encode): (WebKit::WebTouchEvent::decode): (WebKit::WebTouchEvent::isTouchEventType):
  • Shared/WebEventConversion.cpp: (WebKit::WebKit2PlatformTouchPoint::WebKit2PlatformTouchPoint): (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): (WebKit::platform):
  • Shared/WebEventConversion.h:
  • Shared/qt/WebEventFactoryQt.cpp: (WebKit::webEventTypeForEvent): (WebKit::WebEventFactory::createWebTouchEvent):
  • Shared/qt/WebEventFactoryQt.h:
  • UIProcess/API/qt/qgraphicswkview.cpp: (QGraphicsWKView::event): (QGraphicsWKView::touchEvent):
  • UIProcess/API/qt/qgraphicswkview.h:
  • UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::touchEvent):
  • UIProcess/API/qt/qwkpage_p.h:
  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::touchEvent):
  • UIProcess/WebPageProxy.h:
  • WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::touchEvent): (WebKit::WebPage::didReceiveMessage):
  • WebProcess/WebPage/WebPage.h:
2:41 PM Changeset in webkit [65787] by dbates@webkit.org
  • 29 edits
    2 adds in trunk

2010-08-22 Daniel Bates <dbates@rim.com>

Reviewed by Eric Seidel.

Encapsulate document marker management into DocumentMarkerController
https://bugs.webkit.org/show_bug.cgi?id=44383

Modify call sites in the Chromium port to use DocumentMarkerController.

No functionality was changed, so no new tests.

  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::stopFinding): (WebKit::WebFrameImpl::addMarker): (WebKit::WebFrameImpl::setMarkerActive):

2010-08-22 Daniel Bates <dbates@rim.com>

Reviewed by Eric Seidel.

Encapsulate document marker management into DocumentMarkerController
https://bugs.webkit.org/show_bug.cgi?id=44383

Modify call sites in the Apple Windows port to use DocumentMarkerController.

No functionality was changed, so no new tests.

  • WebFrame.cpp: (WebFrame::unmarkAllMisspellings): (WebFrame::unmarkAllBadGrammar):
  • WebView.cpp: (WebView::rectsForTextMatches):

2010-08-22 Daniel Bates <dbates@rim.com>

Reviewed by Eric Seidel.

Encapsulate document marker management into DocumentMarkerController
https://bugs.webkit.org/show_bug.cgi?id=44383

Modify call sites in the Apple Mac port to use DocumentMarkerController.

No functionality was changed, so no new tests.

  • WebView/WebFrame.mm: (-[WebFrame _unmarkAllBadGrammar]): (-[WebFrame _unmarkAllMisspellings]):
  • WebView/WebHTMLView.mm: (-[WebHTMLView unmarkAllTextMatches]): (-[WebHTMLView rectsForTextMatches]):

2010-08-22 Daniel Bates <dbates@rim.com>

Reviewed by Eric Seidel.

Encapsulate document marker management into DocumentMarkerController
https://bugs.webkit.org/show_bug.cgi?id=44383

Modify call sites in the EFL port to use DocumentMarkerController.

No functionality was changed, so no new tests.

  • ewk/ewk_frame.cpp: (ewk_frame_text_matches_unmark_all):

2010-08-22 Daniel Bates <dbates@rim.com>

Reviewed by Eric Seidel.

Encapsulate document marker management into DocumentMarkerController
https://bugs.webkit.org/show_bug.cgi?id=44383

Moves the document marker management code in Document.cpp into its own
class called DocumentMarkerController.

No functionality was changed, so no new tests.

  • Android.mk: Added DocumentMarkerController.cpp
  • CMakeLists.txt: Ditto.
  • GNUmakefile.am: Added DocumentMarkerController.cpp and DocumentMarkerController.h.
  • WebCore.exp.in: Substituted symbols ZN7WebCore24DocumentMarkerController13removeMarkersENS_14DocumentMarker10MarkerTypeE and ZN7WebCore24DocumentMarkerController23renderedRectsForMarkersENS_14DocumentMarker10MarkerTypeE for ZN7WebCore8Document13removeMarkersENS_14DocumentMarker10MarkerTypeE and ZN7WebCore8Document23renderedRectsForMarkersENS_14DocumentMarker10MarkerTypeE, respectively.
  • WebCore.gypi: Added DocumentMarkerController.cpp and DocumentMarkerController.h.
  • WebCore.pro: Ditto.
  • WebCore.vcproj/WebCore.vcproj: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto.
  • dom/Document.cpp: (WebCore::Document::removedLastRef): Modified to call DocumentMarkerController::detach(). (WebCore::Document::~Document): Removed "deleteAllValues(m_markers)" as DocumentMarkerController is stored in OwnPtr; so it will be destroyed automatically on Document destruction. (WebCore::Document::textInserted): Modified to use marker controller. (WebCore::Document::textRemoved): Ditto.
  • dom/Document.h: (WebCore::Document::markers): Added.
  • dom/DocumentMarkerController.cpp: Added. (WebCore::placeholderRectForMarker): (WebCore::DocumentMarkerController::detach): (WebCore::DocumentMarkerController::addMarker): (WebCore::DocumentMarkerController::removeMarkers): (WebCore::DocumentMarkerController::copyMarkers): (WebCore::DocumentMarkerController::markerContainingPoint): (WebCore::DocumentMarkerController::markersForNode): (WebCore::DocumentMarkerController::renderedRectsForMarkers): (WebCore::DocumentMarkerController::repaintMarkers): (WebCore::DocumentMarkerController::setRenderedRectForMarker): (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect): (WebCore::DocumentMarkerController::shiftMarkers): (WebCore::DocumentMarkerController::setMarkersActive):
  • dom/DocumentMarkerController.h: Added. (WebCore::DocumentMarkerController::~DocumentMarkerController):
  • editing/Editor.cpp: (WebCore::Editor::ignoreSpelling): Modified to use marker controller. (WebCore::findFirstMisspellingInRange): Ditto. (WebCore::findFirstGrammarDetailInRange): Ditto. (WebCore::Editor::advanceToNextMisspelling): Ditto. (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Ditto. (WebCore::Editor::changeBackToReplacedString): Ditto.
  • editing/SplitTextNodeCommand.cpp: (WebCore::SplitTextNodeCommand::doApply): Ditto. (WebCore::SplitTextNodeCommand::doUnapply): Ditto.
  • page/Frame.cpp: (WebCore::Frame::markAllMatchesForText): Ditto. (WebCore::Frame::setMarkedTextMatchesAreHighlighted): Ditto. (WebCore::Frame::respondToChangedSelection): Ditto.
  • page/FrameView.cpp: (WebCore::FrameView::getTickmarks): Ditto. (WebCore::FrameView::paintContents): Ditto.
  • page/Page.cpp: (WebCore::Page::unmarkAllTextMatches): Ditto.
  • rendering/HitTestResult.cpp: (WebCore::HitTestResult::spellingToolTip): Ditto. (WebCore::HitTestResult::replacedString): Ditto.
  • rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintSpellingOrGrammarMarker): Ditto. (WebCore::InlineTextBox::paintTextMatchMarker): Ditto. (WebCore::InlineTextBox::computeRectForReplacementMarker): Ditto. (WebCore::InlineTextBox::paintDocumentMarkers): Ditto.
  • rendering/SVGInlineTextBox.cpp: (WebCore::SVGInlineTextBox::computeTextMatchMarkerRect): Ditto.
2:32 PM Changeset in webkit [65786] by jianli@chromium.org
  • 6 edits in trunk

Add the blob URL member to FormData.
https://bugs.webkit.org/show_bug.cgi?id=44387

Reviewed by Darin Fisher.

WebCore:

This is in preparation to switch blob implementation to using BlobData
model. When a blob is added to a FormData, it is represented as a blob
URL in the list.

  • platform/network/FormData.cpp:

(WebCore::FormData::appendBlob):

  • platform/network/FormData.h:

(WebCore::FormDataElement::FormDataElement):
(WebCore::FormDataElement::):
(WebCore::operator==):

WebKit/chromium:

As the result of adding the blob URL member to the FormData, we need
to update the corresponding WebKit API for chromium.

  • public/WebHTTPBody.h:

(WebKit::WebHTTPBody::Element::):

  • src/WebHTTPBody.cpp:

(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendBlob):

11:38 AM Changeset in webkit [65785] by eric@webkit.org
  • 4 edits in trunk

2010-08-22 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

HTML5 TreeBuilder builds wrong DOM for <a><svg><tr><input></a>
https://bugs.webkit.org/show_bug.cgi?id=44390

  • html5lib/resources/adoption01.dat:

2010-08-22 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

HTML5 TreeBuilder builds wrong DOM for <a><svg><tr><input></a>
https://bugs.webkit.org/show_bug.cgi?id=44390

The HTML5 spec has changed since Adam and I original wrote
the HTMLTreeBuilder. Most important for this change was resolution of:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9580

I also removed our "phrasing" tag support since that was also removed
from the spec as part of other bug fixes.

This is tested by tonyg's <a><svg><tr><input></a> test in adoption01.dat.

  • html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag): (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody): (WebCore::HTMLTreeBuilder::furthestBlockForFormattingElement): (WebCore::HTMLTreeBuilder::processEndTag):
5:12 AM Changeset in webkit [65784] by andreas.kling@nokia.com
  • 2 edits in trunk/WebCore

2010-08-22 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] TransparencyLayer: Always use anti-aliasing and smooth pixmap transform
https://bugs.webkit.org/show_bug.cgi?id=44394

  • platform/graphics/qt/TransparencyLayer.h: (WebCore::TransparencyLayer::TransparencyLayer): Set the Antialiasing and SmoothPixmapTransforms render hints for all TransparencyLayers.
1:38 AM Changeset in webkit [65783] by andreas.kling@nokia.com
  • 4 edits in trunk

2010-08-22 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] Gradient: Support inner radius larger than outer radius
https://bugs.webkit.org/show_bug.cgi?id=44392

  • platform/graphics/qt/GradientQt.cpp: (WebCore::Gradient::platformGradient): Reverse the (radial) gradient if r0 > r1.

2010-08-22 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] Gradient: Support inner radius larger than outer radius
https://bugs.webkit.org/show_bug.cgi?id=44392

Unskip two tests that now pass:

  • canvas/philip/tests/2d.gradient.radial.outside2.html
  • canvas/philip/tests/2d.gradient.radial.outside3.html
  • platform/qt/Skipped:
12:30 AM Changeset in webkit [65782] by ariya@webkit.org
  • 5 edits in trunk/WebCore

[Qt] Layer approach to support generic shadow handling
https://bugs.webkit.org/show_bug.cgi?id=44380

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-22
Reviewed by Dirk Schulze.

The pair beginShadowLayer and endShadowLayer creates a temporary image
where the caller can draw onto, using the returned QPainter. When
endShadowLayer is called, the temporary image will be filtered, using
the specified shadow color and blur radius, and drawn to the graphics
context.

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/qt/ContextShadow.cpp:

(WebCore::ContextShadow::beginShadowLayer):
(WebCore::ContextShadow::endShadowLayer):

  • platform/graphics/qt/ContextShadow.h:
  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::contextShadow):

Note: See TracTimeline for information about the timeline view.