WebKit-https.git
8 years agoMake use of CG rounded-rect primitives
timothy_horton@apple.com [Wed, 29 Feb 2012 21:36:12 +0000 (21:36 +0000)]
Make use of CG rounded-rect primitives
https://bugs.webkit.org/show_bug.cgi?id=79932
<rdar://problem/9274953>

Reviewed by Simon Fraser.

Dispatch to potentially platform-specific rounded rectangle path
construction from addPathForRoundedRect. Make use of this to call
wkCGPathAddRoundedRect on Lion and above, as long as the rounded
corners are all equivalent.

No new tests, as this is covered by many that use rounded corners,
and is only a performance improvement.

* WebCore.exp.in:
* platform/graphics/Path.cpp:
(WebCore::Path::addRoundedRect):
(WebCore):
(WebCore::Path::addPathForRoundedRect):
* platform/graphics/Path.h:
(Path):
* platform/graphics/cg/PathCG.cpp:
(WebCore::Path::addPathForRoundedRect):
(WebCore):
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

Add wkCGPathAddRoundedRect.

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceSnowLeopard.a:

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

8 years agoCrash at -[WebFrame(WebInternal) _setTypingStyle:withUndoAction:]
enrica@apple.com [Wed, 29 Feb 2012 21:28:00 +0000 (21:28 +0000)]
Crash at -[WebFrame(WebInternal) _setTypingStyle:withUndoAction:]
https://bugs.webkit.org/show_bug.cgi?id=79937
<rdar://problem/10942936>

Reviewed by Dan Bernstein.

* WebView/WebFrame.mm:
(-[WebFrame _setTypingStyle:withUndoAction:]): Adding a null check.

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

8 years agoUnreviewed gardening, mark some tests as passing on GPU tests.
adamk@chromium.org [Wed, 29 Feb 2012 21:27:19 +0000 (21:27 +0000)]
Unreviewed gardening, mark some tests as passing on GPU tests.

* platform/chromium/test_expectations.txt:

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

8 years ago[BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatPoint.h
leo.yang@torchmobile.com.cn [Wed, 29 Feb 2012 21:25:24 +0000 (21:25 +0000)]
[BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatPoint.h
https://bugs.webkit.org/show_bug.cgi?id=79887

Reviewed by Antonio Gomes.

Add conversion convenience between WebCore::FloatPoint and BlackBerry::Platform::FloatPoint.

The porting can't be built yet, no new tests.

* platform/graphics/FloatPoint.h:
(Platform):
(FloatPoint):

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

8 years agoShadowRoot need innerHTML
commit-queue@webkit.org [Wed, 29 Feb 2012 21:17:28 +0000 (21:17 +0000)]
ShadowRoot need innerHTML
https://bugs.webkit.org/show_bug.cgi?id=78473

Patch by Kaustubh Atrawalkar <kaustubh@motorola.com> on 2012-02-29
Reviewed by Hajime Morita.

Source/WebCore:

Refactor code for sharing common code between HTMLElement & ShadowRoot.
Implement innerHTML attribute for ShadowRoot.

Test: fast/dom/shadow/shadow-root-innerHTML.html

* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::cloneNode):
(WebCore):
(WebCore::ShadowRoot::innerHTML):
(WebCore::ShadowRoot::setInnerHTML):
* dom/ShadowRoot.h:
(ShadowRoot):
* dom/ShadowRoot.idl:
* editing/markup.cpp:
(WebCore::urlToMarkup):
(WebCore):
(WebCore::createFragmentFromSource):
(WebCore::hasOneChild):
(WebCore::hasOneTextChild):
(WebCore::replaceChildrenWithFragment):
(WebCore::replaceChildrenWithText):
* editing/markup.h:
* html/HTMLElement.cpp:
(WebCore):

LayoutTests:

Implement innerHTML attribute for ShadowRoot.

* fast/dom/shadow/shadow-root-innerHTML-expected.txt: Added.
* fast/dom/shadow/shadow-root-innerHTML.html: Added.
* platform/qt/Skipped: Added test case in Skipped as ShadowRoot is supported by Chromium only.
* platform/mac/Skipped: ditto.
* platform/win/Skipped: ditto.
* platform/wincairo/Skipped: ditto.
* platform/wk2/Skipped: ditto.

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

8 years agoUnreviewed gardening, mark a test as waiting for rebaselining after a skia update.
adamk@chromium.org [Wed, 29 Feb 2012 21:15:27 +0000 (21:15 +0000)]
Unreviewed gardening, mark a test as waiting for rebaselining after a skia update.

* platform/chromium/test_expectations.txt:

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

8 years agoCFURLDownloadScheduleWithCurrentMessageQueue only exists on Windows
aestes@apple.com [Wed, 29 Feb 2012 21:13:16 +0000 (21:13 +0000)]
CFURLDownloadScheduleWithCurrentMessageQueue only exists on Windows
https://bugs.webkit.org/show_bug.cgi?id=79936

Reviewed by Brady Eidson.

CFURLDownloadScheduleWithCurrentMessageQueue only exists on Windows
platforms. Non-Windows platforms that use CFNetwork-based downloads
should omit this call.

* WebProcess/Downloads/cfnet/DownloadCFNet.cpp:
(WebKit::Download::start):

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

8 years agoUnreviewed gardening, remove incorrect platform-specific expectation.
adamk@chromium.org [Wed, 29 Feb 2012 21:10:11 +0000 (21:10 +0000)]
Unreviewed gardening, remove incorrect platform-specific expectation.

* platform/chromium-win/fast/events/message-port-multi-expected.txt: Removed.

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

8 years agoStop doubling maximalOutlineSize during painting
jchaffraix@webkit.org [Wed, 29 Feb 2012 20:49:49 +0000 (20:49 +0000)]
Stop doubling maximalOutlineSize during painting
https://bugs.webkit.org/show_bug.cgi?id=79724

Reviewed by Tony Chang.

Refactoring only, covered by existing tests (mostly repaint ones).

* rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::shouldPaint):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintCollapsedBorders):
Introduce a local repaint rectangle that we inflate by the maximalOutlineSize
to simplify the comparison logic. Also tried to make it clearer what's going on
by tweaking the existing code.

* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::paintObject):
Remove the doubling.

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

8 years agoCrash when changing list marker locations
commit-queue@webkit.org [Wed, 29 Feb 2012 20:40:10 +0000 (20:40 +0000)]
Crash when changing list marker locations
https://bugs.webkit.org/show_bug.cgi?id=79681

Patch by Ken Buchanan <kenrb@chromium.org> on 2012-02-29
Reviewed by David Hyatt.

Source/WebCore:

This fixes a regression crash from r108548.

There are some conditions where removing the anonymous block
parent at that point can cause problems. One is when there is
a continuation from it, and another when it is a sibling of
lineBoxParent and it causes lineBoxParent to be deleted
incidentally. This patch delays the destruction until after
lineBoxParent has been used and makes an exception for
continuations.

* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::updateMarkerLocation)

LayoutTests:

This test exercises the crashing condition for bug 79681 where an
anonymous block was being removed from the render tree inappropriately.

* fast/lists/remove-listmarker-from-anonblock-with-continuation-crash-expected.txt: Added
* fast/lists/remove-listmarker-from-anonblock-with-continuation-crash.html: Added

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

8 years agoUnreviewed gardening, further mark stop-animation-on-suspend.html as crashy on Windows.
adamk@chromium.org [Wed, 29 Feb 2012 20:33:32 +0000 (20:33 +0000)]
Unreviewed gardening, further mark stop-animation-on-suspend.html as crashy on Windows.

* platform/chromium/test_expectations.txt:

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

8 years agoAdd more tests for web intents
dpranke@chromium.org [Wed, 29 Feb 2012 20:04:07 +0000 (20:04 +0000)]
Add more tests for web intents
https://bugs.webkit.org/show_bug.cgi?id=79527

Patch by Greg Billock <gbillock@google.com> on 2012-02-29
Reviewed by Adam Barth.

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::sendWebIntentResponse):
* DumpRenderTree/chromium/LayoutTestController.h:
(LayoutTestController):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
(WebViewHost::currentIntentRequest):

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

8 years ago[Qt][WK2] We should not add NetscapeBrowserFuncs.cpp as header
commit-queue@webkit.org [Wed, 29 Feb 2012 20:02:13 +0000 (20:02 +0000)]
[Qt][WK2] We should not add NetscapeBrowserFuncs.cpp as header
https://bugs.webkit.org/show_bug.cgi?id=79847

Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2012-02-29
Reviewed by Alexey Proskuryakov.

* Target.pri: Fix typo, so we can add ".h" file instead.

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

8 years agoWritable attribute not set correctly when redefining an accessor to a data descriptor
barraclough@apple.com [Wed, 29 Feb 2012 19:59:43 +0000 (19:59 +0000)]
Writable attribute not set correctly when redefining an accessor to a data descriptor
https://bugs.webkit.org/show_bug.cgi?id=79931

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

* runtime/JSObject.cpp:
(JSC::JSObject::defineOwnProperty):
    - use attributesOverridingCurrent instead of attributesWithOverride.
* runtime/PropertyDescriptor.cpp:
* runtime/PropertyDescriptor.h:
    - remove attributesWithOverride - attributesOverridingCurrent does the same thing.

LayoutTests:

* fast/js/Object-defineProperty-expected.txt:
* fast/js/script-tests/Object-defineProperty.js:
    - Added tests.

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

8 years ago[BlackBerry] Add support for FLAC audio and OGG/Vorbis audio
commit-queue@webkit.org [Wed, 29 Feb 2012 19:53:49 +0000 (19:53 +0000)]
[BlackBerry] Add support for FLAC audio and OGG/Vorbis audio
https://bugs.webkit.org/show_bug.cgi?id=79519

Patch by Max Feil <mfeil@rim.com> on 2012-02-29
Reviewed by Antonio Gomes.

Source/WebCore:

A layout test already exists for OGG. We do not support OGG
video at this time, only audio.

Test: media/media-can-play-flac-audio.html

* platform/blackberry/MIMETypeRegistryBlackBerry.cpp:
(WebCore):

Source/WebKit/blackberry:

* Api/WebSettings.cpp:
(BlackBerry::WebKit::mimeTypeAssociationMap):

LayoutTests:

A layout test already exists for OGG. We do not support OGG
video at this time, only audio.

* media/media-can-play-flac-audio-expected.txt: Added.
* media/media-can-play-flac-audio.html: Added.
* platform/chromium/test_expectations.txt:
* platform/efl/Skipped:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=79868
bdakin@apple.com [Wed, 29 Feb 2012 19:51:54 +0000 (19:51 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=79868
Overlay scrollbars should respond to AppKit's NSEventPhaseMayBegin
-and corresponding-
<rdar://problem/10688637>

Reviewed by Anders Carlsson.

Scrollbars are currently drawn on the main thread even when scrolling happens
on the scrolling thread, so we have to call back to the main thread for the
time being to make the right drawing calls for NSEventPhaseMayBegin.
* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::handleWheelEventPhase):
(WebCore):
* page/scrolling/ScrollingCoordinator.h:
(ScrollingCoordinator):
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::handleWheelEventPhase):
(WebCore):
* page/scrolling/ScrollingTree.h:
* page/scrolling/mac/ScrollingTreeNodeMac.mm:
(WebCore::ScrollingTreeNodeMac::handleWheelEvent):
* platform/ScrollAnimator.h:
(WebCore::ScrollAnimator::handleWheelEventPhase):
(ScrollAnimator):

Call into AppKit on NSEventPhaseMayBegin.
* platform/mac/ScrollAnimatorMac.h:
(ScrollAnimatorMac):
* platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::mayBeginScrollGesture):
(WebCore):
(WebCore::ScrollAnimatorMac::handleWheelEventPhase):
(WebCore::ScrollAnimatorMac::handleWheelEvent):

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

8 years agoAdd more tests for web intents
commit-queue@webkit.org [Wed, 29 Feb 2012 19:51:11 +0000 (19:51 +0000)]
Add more tests for web intents
https://bugs.webkit.org/show_bug.cgi?id=79527

Patch by Greg Billock <gbillock@google.com> on 2012-02-29
Reviewed by Adam Barth.

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::sendWebIntentResponse):
* DumpRenderTree/chromium/LayoutTestController.h:
(LayoutTestController):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):
(WebViewHost::currentIntentRequest):

LayoutTests:

* webintents/resources/web-intents-testing.js: Added.
(onSuccess):
(onFailure):
(startIntentWithCallbacks):
(simulateButtonPress):
* webintents/web-intents-failure-expected.txt: Added.
* webintents/web-intents-failure.html: Added.
* webintents/web-intents-invoke-expected.txt: Added.
* webintents/web-intents-invoke.html: Added.
* webintents/web-intents-reload.html:
* webintents/web-intents-reply-expected.txt: Added.
* webintents/web-intents-reply.html: Added.

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

8 years agoperftestsrunner can call printer.write() after printer.cleanup()
dpranke@chromium.org [Wed, 29 Feb 2012 19:48:43 +0000 (19:48 +0000)]
perftestsrunner can call printer.write() after printer.cleanup()
https://bugs.webkit.org/show_bug.cgi?id=79872

Reviewed by Ryosuke Niwa.

This patch fixes a unittest that was incorrectly calling
PerfTestsRunner.run() twice (which led to a weird state in the
printer object).

* Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
(MainTest.test_run_with_upload_json):

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

8 years agoWhen invoking Lookup while zoomed in, the highlighted word renders out of line
weinig@apple.com [Wed, 29 Feb 2012 19:40:24 +0000 (19:40 +0000)]
When invoking Lookup while zoomed in, the highlighted word renders out of line
<rdar://problem/10812527>

Reviewed by Simon Fraser.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::performDictionaryLookupForRange):
Make sure to scale the ascent when determining the origin for the overlay.

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

8 years agoUnreviewed: updating expectations for chromium (error messages)
dslomov@google.com [Wed, 29 Feb 2012 19:08:24 +0000 (19:08 +0000)]
Unreviewed: updating expectations for chromium (error messages)

* platform/chromium/fast/events/message-port-multi-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

8 years ago[Qt][WK2] WebKitTestRunner should use 480x360 sized view for W3C SVG tests
kbalazs@webkit.org [Wed, 29 Feb 2012 18:56:11 +0000 (18:56 +0000)]
[Qt][WK2] WebKitTestRunner should use 480x360 sized view for W3C SVG tests
https://bugs.webkit.org/show_bug.cgi?id=76546

Reviewed by Simon Hausmann.

Revert the workaround introduced in r107868 and reintroduce
the qml binding so we can test the code path that we are more
interested in. The reason that it did not work before is that
we don't have an active platform window which we now workaround
by propagating the resize through QWindowSystemInterface.

* WebKitTestRunner/qt/PlatformWebViewQt.cpp:
(WTR::WrapperWindow::handleStatusChanged):
(WTR::PlatformWebView::resizeTo):

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

8 years agoFull screen video volume slider has "progress bar"
jer.noble@apple.com [Wed, 29 Feb 2012 18:55:12 +0000 (18:55 +0000)]
Full screen video volume slider has "progress bar"
https://bugs.webkit.org/show_bug.cgi?id=79812

Reviewed by Eric Carlson.

Source/WebCore:

No new tests; strictly a platform-specific look-and-feel change.

The full-screen volume slider has a "media-slider"" appearance, which is rendering as if
the volume slider has a "progress".  Make a concrete "media-fullscreen-volume-slider" appearance
which has the correct look-and-feel.

Add two new appearance keywords, media-fullscreen-volume-slider and thumb, and their associated
types and CSS keywords:
* css/CSSValueKeywords.in:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* html/shadow/MediaControlElements.h:
* platform/ThemeTypes.h:

Handle the new slider and thumb types when rendering:
* rendering/RenderMediaControls.cpp:
(WebCore::RenderMediaControls::adjustMediaSliderThumbSize):
(WebCore::RenderMediaControls::paintMediaControlsPart):
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::adjustStyle):
(WebCore::RenderTheme::paint):
* rendering/RenderTheme.h:
(WebCore::RenderTheme::paintMediaFullScreenVolumeSliderTrack):
(WebCore::RenderTheme::paintMediaFullScreenVolumeSliderThumb):
* rendering/RenderThemeMac.h:
(RenderThemeMac):
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::adjustMediaSliderThumbSize):
(WebCore::RenderThemeMac::paintMediaFullScreenVolumeSliderTrack):
(WebCore::RenderThemeMac::paintMediaFullScreenVolumeSliderThumb):
* rendering/RenderMediaControlsChromium.cpp:
(WebCore::RenderMediaControlsChromium::paintMediaControlsPart):

* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::orientation): Mark the fullscreen volume slider as horizontal.
* html/shadow/SliderThumbElement.cpp:
(WebCore::RenderSliderThumb::updateAppearance): Give MediaFullScreenVolumeSliderParts
    MediaFullScreenVolumeSliderThumbParts.
* css/fullscreenQuickTime.css: Change the styles for the fullscreen slider, min, and max buttons.
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-volume-min-button):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-volume-slider):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-volume-max-button):
* html/shadow/MediaControlRootElement.cpp:
(WebCore::MediaControlRootElement::reset): Set the value of the fullscreen volume slider
    when resetting.

WebKitLibraries:

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* win/include/WebKitSystemInterface/WebKitSystemInterface.h:
* win/lib/WebKitSystemInterface.lib:

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

8 years ago[GTK] Use text or page zoom factor in WebKitWebView depending on zoom-text-only
carlosgc@webkit.org [Wed, 29 Feb 2012 18:51:15 +0000 (18:51 +0000)]
[GTK] Use text or page zoom factor in WebKitWebView depending on zoom-text-only
https://bugs.webkit.org/show_bug.cgi?id=75252

Reviewed by Gustavo Noronha Silva.

* UIProcess/API/gtk/WebKitWebView.cpp:
(zoomTextOnlyChanged): Update text/page zoom factor when
zoom-text-only setting changes.
(webkitWebViewSetSettings): Helper function to set the settings
object for the web view, initializing the settings for the page
and connecting to notify::zoom-text-only signal.
(webkitWebViewConstructed): Use webkitWebViewSetSettings().
(webkit_web_view_set_settings): Use webkitWebViewSetSettings() and
disconnect from the notify::zoom-text-only signal of the previous
settings object.
(webkit_web_view_set_zoom_level): Set text/page zoom factor
depending on WebKitSettings:zoom-text-only property.
(webkit_web_view_get_zoom_level): Get text/page zoom factor
depending on WebKitSettings:zoom-text-only property.
* UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewZoomLevel):

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

8 years ago[GTK] Add zoom-text-only setting to WebKit2 GTK+ API
carlosgc@webkit.org [Wed, 29 Feb 2012 18:45:14 +0000 (18:45 +0000)]
[GTK] Add zoom-text-only setting to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=75249

Reviewed by Gustavo Noronha Silva.

To set whether zoom level of web view should affect only the text
or all page contents. It's disabled by default.

* UIProcess/API/gtk/WebKitSettings.cpp:
(webKitSettingsSetProperty):
(webKitSettingsGetProperty):
(webkit_settings_class_init): Add WebKitSettings:zoom-text-only
property.
(webkit_settings_set_zoom_text_only): Set
WebKitSettings:zoom-text-only.
(webkit_settings_get_zoom_text_only): Get
WebKitSettings:zoom-text-only.
* UIProcess/API/gtk/WebKitSettings.h:
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new
symbols.
* UIProcess/API/gtk/tests/TestWebKitSettings.cpp:
(testWebKitSettings):

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

8 years agoDidFindString should be emitted even if FindOptionsShowOverlay is not enabled
sergio@webkit.org [Wed, 29 Feb 2012 18:15:32 +0000 (18:15 +0000)]
DidFindString should be emitted even if FindOptionsShowOverlay is not enabled
https://bugs.webkit.org/show_bug.cgi?id=76522

Reviewed by Darin Adler.

DidFindString message should be issued always even if neither
FindOptionsShowOverlay or FindOptionsShowHighlight are
provided. The difference is that if any of those flags are present
the find operation will look for all the appearances of the text
in the web view, otherwise it will just look and report the next
occurrence.

This patch removes the temporary workaround added in r109222 to
the WebKitFindController unit tests.

* UIProcess/API/gtk/tests/TestWebKitFindController.cpp:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::findString):

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

8 years agoApplying region style should not need to access parent rules
antti@apple.com [Wed, 29 Feb 2012 18:08:27 +0000 (18:08 +0000)]
Applying region style should not need to access parent rules
https://bugs.webkit.org/show_bug.cgi?id=79910

Reviewed by Andreas Kling.

Currently CSSStyleSelector::applyProperties looks into parent rules to see if a rule is
part of region style. The plan is to eliminate the rule parent pointer so this needs to be refactored.

Add a bit to RuleData to indicate if the StyleRule is part of a region style.

* css/CSSStyleSelector.cpp:
(RuleData):
(WebCore::RuleData::isInRegionRule):
(RuleSet):
(WebCore::CSSStyleSelector::addMatchedProperties):
(WebCore::CSSStyleSelector::sortAndTransferMatchedRules):
(WebCore::CSSStyleSelector::collectMatchingRulesForList):
* css/CSSStyleSelector.h:
(CSSStyleSelector):

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

8 years agoUnreviewed. Bump WebKitGTK+ version number.
carlosgc@webkit.org [Wed, 29 Feb 2012 17:55:03 +0000 (17:55 +0000)]
Unreviewed. Bump WebKitGTK+ version number.

* configure.ac: Bump version number to 1.9.0 now that we branched
for 1.8.

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

8 years agoUnreviewed. Fix GTK+ build.
carlosgc@webkit.org [Wed, 29 Feb 2012 17:51:29 +0000 (17:51 +0000)]
Unreviewed. Fix GTK+ build.

* Source/autotools/symbols.filter: Add symbol.

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

8 years agoAdd JSCore symbol exports needed by wx port
kevino@webkit.org [Wed, 29 Feb 2012 17:44:34 +0000 (17:44 +0000)]
Add JSCore symbol exports needed by wx port
https://bugs.webkit.org/show_bug.cgi?id=77280

Reviewed by Hajime Morita.

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

8 years agoWeb Inspector: [InspectorIndexedDB] Add refresh to IndexedDB support.
vsevik@chromium.org [Wed, 29 Feb 2012 17:40:55 +0000 (17:40 +0000)]
Web Inspector: [InspectorIndexedDB] Add refresh to IndexedDB support.
https://bugs.webkit.org/show_bug.cgi?id=79695

Reviewed by Pavel Feldman.

* inspector/front-end/IndexedDBViews.js:
(WebInspector.IDBDataView):
(WebInspector.IDBDataView.prototype._refreshButtonClicked):
(WebInspector.IDBDataView.prototype.get statusBarItems):
* inspector/front-end/ResourcesPanel.js:
(WebInspector.IndexedDBTreeElement):
(WebInspector.IndexedDBTreeElement.prototype.onattach):
(WebInspector.IndexedDBTreeElement.prototype._handleContextMenuEvent):
(WebInspector.IDBDatabaseTreeElement.prototype.onattach):
(WebInspector.IDBDatabaseTreeElement.prototype._handleContextMenuEvent):
(WebInspector.IDBDatabaseTreeElement.prototype._refreshIndexedDB):

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

8 years ago[GTK] [WK2] Add Find API
sergio@webkit.org [Wed, 29 Feb 2012 17:37:04 +0000 (17:37 +0000)]
[GTK] [WK2] Add Find API
https://bugs.webkit.org/show_bug.cgi?id=76070

Reviewed by Martin Robinson.

This patch adds a new public find API for the Gtk+ WK2 port. It
defines a new object called WebKitFindController owned by each
WebKitWebView. Clients will use this new object to search strings
in the WebKitWebView.

Changes include also documentation and unit tests for the new
public API.

* GNUmakefile.am:
* UIProcess/API/gtk/WebKitDefines.h:
* UIProcess/API/gtk/WebKitFindController.cpp: Added.
(didFindString): implementation of the WKPage Find interface.
(didFailToFindString): Ditto.
(didCountStringMatches): Ditto.
(webkit_find_controller_init):
(getWKPageFromWebKitWebView):
(webkitFindControllerConstructed):
(webkitFindControllerGetProperty):
(webkitFindControllerSetProperty):
(webkitFindControllerFinalize):
(webkit_find_controller_class_init):
(webkit_find_controller_get_search_text):
(webkit_find_controller_get_options):
(webkit_find_controller_get_max_match_count):
(webkit_find_controller_get_web_view):
(webKitFindControllerPerform):
(webKitFindControllerSetSearchData):
(webkit_find_controller_search): asynchronously looks for the
search string in the WebKitWebView.
(webkit_find_controller_search_finish): unhighlights text matches.
(webkit_find_controller_search_next):
(webkit_find_controller_search_previous):
(webkit_find_controller_count_matches): asynchronously counts the
number of matches of the search string in the WebKitWebView.
* UIProcess/API/gtk/WebKitFindController.h: Added.
* UIProcess/API/gtk/WebKitPrivate.h:
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_get_find_controller): returns the
WebKitFindController instance owned by the WebKitWebView.
* UIProcess/API/gtk/WebKitWebView.h:
* UIProcess/API/gtk/docs/webkit2gtk-docs.sgml:
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
* UIProcess/API/gtk/docs/webkit2gtk.types:
* UIProcess/API/gtk/tests/GNUmakefile.am:
* UIProcess/API/gtk/tests/TestWebKitFindController.cpp: Added.
(testFindControllerTextFound):
(testFindControllerTextNotFound):
(testFindControllerMatchCount):
(testFindControllerMaxMatchCount):
(testFindControllerNext):
(testFindControllerPrevious):
(testFindControllerCountedMatches):
(testFindControllerOptions):
(testFindControllerInstance):
(testFindControllerGetters):
(testFindControllerHide):
(beforeAll):
(afterAll):
* UIProcess/API/gtk/webkit2.h:

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

8 years agoWeb Inspector: timeline markers are not shown on the timeline panel
caseq@chromium.org [Wed, 29 Feb 2012 17:35:22 +0000 (17:35 +0000)]
Web Inspector: timeline markers are not shown on the timeline panel
https://bugs.webkit.org/show_bug.cgi?id=79921

Reviewed by Pavel Feldman.

* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline.addTimestampRecords):
(WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):

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

8 years agoAlign InlineBox::m_expansion to a byte boundary
bashi@chromium.org [Wed, 29 Feb 2012 17:07:00 +0000 (17:07 +0000)]
Align InlineBox::m_expansion to a byte boundary
https://bugs.webkit.org/show_bug.cgi?id=79761

Add a bit to m_expansion to align a byte boundary.
This will make valgrind memcheck happy.
I confirmed sizeof(InlineBox) is unchanged.

Reviewed by Hajime Morita.

No new tests. No behavior changes.

* rendering/InlineBox.h:
(InlineBox): Aligned m_expansion to a byte boundary.

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

8 years agoDo not iterate all tiles for resizing when the content didn't change
kenneth@webkit.org [Wed, 29 Feb 2012 16:51:41 +0000 (16:51 +0000)]
Do not iterate all tiles for resizing when the content didn't change
https://bugs.webkit.org/show_bug.cgi?id=79787

Reviewed by Simon Hausmann.

* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::createTiles):

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

8 years agoCrash in WebCore::CompositeEditCommand::insertNodeAt
commit-queue@webkit.org [Wed, 29 Feb 2012 16:43:31 +0000 (16:43 +0000)]
Crash in WebCore::CompositeEditCommand::insertNodeAt
https://bugs.webkit.org/show_bug.cgi?id=67764

Patch by Parag Radke <parag@motorola.com> on 2012-02-29
Reviewed by Ryosuke Niwa.

Source/WebCore:

If caret position after deletion and destination position coincides then
removing the node will result in removing the destination node also. Hence crash.

Test: editing/deleting/delete-block-merge-contents-025.html

* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::cleanupAfterDeletion):
If the caret position after delete and the destination position
renderes at the same place, pruning the node and making an early exit.

LayoutTests:

Added a test case to test deletion when caret position after deletion and
destination postion renders at the same place.

* editing/deleting/delete-block-merge-contents-025-expected.txt: Added.
* editing/deleting/delete-block-merge-contents-025.html: Added.

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

8 years ago2012-02-29 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 29 Feb 2012 16:08:57 +0000 (16:08 +0000)]
2012-02-29  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Final set of pixel tests for Snow Leopard, svg/ passes with tolerance 0 again,
        despite one known flaky test and 2 known failures that affect Lion as well.

        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-a-05-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-02-t-expected.png:
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.png: Added.
        * platform/mac-snowleopard/svg/css/group-with-shadow-expected.png:
        * platform/mac-snowleopard/svg/custom/gradient-rotated-bbox-expected.png: Added.
        * platform/mac-snowleopard/svg/custom/gradient-userSpaceOnUse-with-percentage-expected.png: Added.
        * platform/mac-snowleopard/svg/custom/marker-opacity-expected.png: Added.
        * platform/mac-snowleopard/svg/custom/shapes-supporting-markers-expected.png:
        * platform/mac-snowleopard/svg/custom/zero-path-square-cap-rendering2-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filter-placement-issue-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filter-refresh-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filter-rounding-issues-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filter-source-position-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filter-width-update-expected.png:
        * platform/mac-snowleopard/svg/filters/filterRes-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filterRes1-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filterRes2-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filterRes3-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filteredImage-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/parent-children-with-same-filter-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/shadow-on-filter-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/shadow-on-rect-with-filter-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/subRegion-in-userSpace-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/subRegion-one-effect-expected.png:
        * platform/mac-snowleopard/svg/filters/subRegion-two-effects-expected.png:
        * platform/mac-snowleopard/svg/foreignObject/fO-parent-display-changes-expected.png: Added.
        * platform/mac-snowleopard/svg/foreignObject/filter-expected.png: Added.
        * platform/mac-snowleopard/svg/foreignObject/text-tref-02-b-expected.png:
        * platform/mac-snowleopard/svg/hixie/perf/001-expected.png:
        * platform/mac-snowleopard/svg/hixie/perf/002-expected.png:
        * platform/mac-snowleopard/svg/hixie/perf/005-expected.png: Added.
        * platform/mac-snowleopard/svg/hixie/perf/006-expected.png: Added.
        * platform/mac-snowleopard/svg/hixie/perf/007-expected.png:
        * platform/mac-snowleopard/svg/repaint/filter-child-repaint-expected.png: Added.
        * platform/mac-snowleopard/svg/repaint/filter-repaint-expected.png:
        * platform/mac-snowleopard/svg/repaint/image-href-change-expected.png: Added.
        * platform/mac-snowleopard/svg/repaint/image-with-clip-path-expected.png: Added.
        * platform/mac-snowleopard/svg/repaint/inner-svg-change-viewPort-relative-expected.png: Added.
        * platform/mac-snowleopard/svg/text/select-textLength-spacing-squeeze-2-expected.png:
        * platform/mac-snowleopard/svg/text/select-textLength-spacing-stretch-4-expected.png:
        * platform/mac-snowleopard/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.png:
        * platform/mac-snowleopard/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png:
        * platform/mac-snowleopard/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png:
        * platform/mac-snowleopard/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png:
        * platform/mac-snowleopard/svg/text/selection-background-color-expected.png: Added.
        * platform/mac-snowleopard/svg/text/text-align-01-b-expected.png:
        * platform/mac-snowleopard/svg/text/text-align-05-b-expected.png:
        * platform/mac-snowleopard/svg/text/text-align-06-b-expected.png:
        * platform/mac-snowleopard/svg/text/text-fill-opacity-expected.png: Added.
        * platform/mac-snowleopard/svg/text/text-path-01-b-expected.png:
        * platform/mac-snowleopard/svg/text/text-spacing-01-b-expected.png:
        * platform/mac-snowleopard/svg/text/text-text-01-b-expected.png:
        * platform/mac-snowleopard/svg/text/text-text-04-t-expected.png:
        * platform/mac-snowleopard/svg/text/text-text-05-t-expected.png:
        * platform/mac-snowleopard/svg/text/text-text-07-t-expected.png:
        * platform/mac-snowleopard/svg/text/text-tselect-02-f-expected.png: Added.
        * platform/mac-snowleopard/svg/text/tspan-dynamic-positioning-expected.png: Added.
        * platform/mac-snowleopard/svg/transforms/animated-path-inside-transformed-html-expected.png:
        * platform/mac-snowleopard/svg/transforms/text-with-mask-with-svg-transform-expected.png:
        * platform/mac-snowleopard/svg/webarchive/svg-feimage-subresources-expected.png: Added.
        * platform/mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-background-images-expected.png: Added.
        * platform/mac-snowleopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
        * platform/mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:

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

8 years agoWeb Inspector: remove calculator's updateBoundaries in the timeline panel.
pfeldman@chromium.org [Wed, 29 Feb 2012 15:59:30 +0000 (15:59 +0000)]
Web Inspector: remove calculator's updateBoundaries in the timeline panel.
https://bugs.webkit.org/show_bug.cgi?id=79907

Reviewed by Yury Semikhatsky.

* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkBaseCalculator.prototype.computeBarGraphLabels):
(WebInspector.NetworkBaseCalculator.prototype.formatTime):
(WebInspector.NetworkTimeCalculator.prototype.computeBarGraphLabels):
(WebInspector.NetworkTimeCalculator.prototype.formatTime):
(WebInspector.NetworkTransferTimeCalculator.prototype.formatTime):
(WebInspector.NetworkTransferDurationCalculator.prototype.formatTime):
* inspector/front-end/TimelineGrid.js:
(WebInspector.TimelineGrid.prototype.updateDividers):
* inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewCalculator.prototype.formatTime):
(WebInspector.TimelineStartAtZeroOverview):
(WebInspector.TimelineStartAtZeroOverview.prototype.update):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel):
(WebInspector.TimelinePanel.prototype._toggleStartAtZeroButtonClicked):
(WebInspector.TimelinePanel.prototype._refresh):
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelinePanel.prototype.get timelinePaddingLeft):
(WebInspector.TimelineCalculator):
(WebInspector.TimelineCalculator.prototype.setWindow):
(WebInspector.TimelineCalculator.prototype.setRecords):
(WebInspector.TimelineCalculator.prototype.formatTime):
(WebInspector.TimelineFitInWindowCalculator):
(WebInspector.TimelineFitInWindowCalculator.prototype.setWindow):
(WebInspector.TimelineFitInWindowCalculator.prototype.setRecords):
* inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):

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

8 years agoAdd harness to sample W3C SVG animation tests
zimmermann@webkit.org [Wed, 29 Feb 2012 15:46:12 +0000 (15:46 +0000)]
Add harness to sample W3C SVG animation tests
https://bugs.webkit.org/show_bug.cgi?id=79784

Reviewed by Hajime Morita.

Make it possible to load external SVG documents within the svg/animations testing harness,
to sample the vanilla testcases from W3C-SVG-1.1 at certain points, specific to each file.
The only thing we have to change is to give the <animate> elements an id, so that its start
time and duration can be queried. This is the only change needed in the *.svg files that we
want to sample.

We can now compare the animation in Opera/FF and WebKit, thus making automatized tests of
these SMIL testcases possible (baseVal/animVal dump at certain time, computedStyle etc.).

Add tests covering the first ~ 20 W3C animation tests. Already found one regresion:
- animate-elem-14-t.svg:
  <animate attributeName="width" calcMode="discrete" values="300;255;180;30" keyTimes="0;.2;.4;.6" begin="0s" dur="10s" fill="freeze"/>

- animate-elem-18-t.svg
  <animate attributeName="width" calcMode="discrete" values="300;255;180;30" keyTimes="0;.2;.6;.8" begin="0s" dur="10s" fill="freeze"/>

The last keyTime isn't correctly respected, seems to be equal to 1.0 - filed bug 79786.
The baseVal tests are still commented out, as we fail them all, as we animate the baseVal, instead of the animVal.
This will be fixed in the next follow-up patches.

* svg/W3C-SVG-1.1/animate-elem-03-t.svg:
* svg/W3C-SVG-1.1/animate-elem-04-t.svg:
* svg/W3C-SVG-1.1/animate-elem-05-t.svg:
* svg/W3C-SVG-1.1/animate-elem-06-t.svg:
* svg/W3C-SVG-1.1/animate-elem-07-t.svg:
* svg/W3C-SVG-1.1/animate-elem-08-t.svg:
* svg/W3C-SVG-1.1/animate-elem-09-t.svg:
* svg/W3C-SVG-1.1/animate-elem-10-t.svg:
* svg/W3C-SVG-1.1/animate-elem-11-t.svg:
* svg/W3C-SVG-1.1/animate-elem-12-t.svg:
* svg/W3C-SVG-1.1/animate-elem-13-t.svg:
* svg/W3C-SVG-1.1/animate-elem-14-t.svg:
* svg/W3C-SVG-1.1/animate-elem-15-t.svg:
* svg/W3C-SVG-1.1/animate-elem-16-t.svg:
* svg/W3C-SVG-1.1/animate-elem-17-t.svg:
* svg/W3C-SVG-1.1/animate-elem-18-t.svg:
* svg/W3C-SVG-1.1/animate-elem-19-t.svg:
* svg/animations/animate-elem-02-t-drt-expected.txt: Added.
* svg/animations/animate-elem-02-t-drt.html: Added.
* svg/animations/animate-elem-03-t-drt-expected.txt: Added.
* svg/animations/animate-elem-03-t-drt.html: Added.
* svg/animations/animate-elem-04-t-drt-expected.txt: Added.
* svg/animations/animate-elem-04-t-drt.html: Added.
* svg/animations/animate-elem-05-t-drt-expected.txt: Added.
* svg/animations/animate-elem-05-t-drt.html: Added.
* svg/animations/animate-elem-06-t-drt-expected.txt: Added.
* svg/animations/animate-elem-06-t-drt.html: Added.
* svg/animations/animate-elem-07-t-drt-expected.txt: Added.
* svg/animations/animate-elem-07-t-drt.html: Added.
* svg/animations/animate-elem-08-t-drt-expected.txt: Added.
* svg/animations/animate-elem-08-t-drt.html: Added.
* svg/animations/animate-elem-09-t-drt-expected.txt: Added.
* svg/animations/animate-elem-09-t-drt.html: Added.
* svg/animations/animate-elem-10-t-drt-expected.txt: Added.
* svg/animations/animate-elem-10-t-drt.html: Added.
* svg/animations/animate-elem-11-t-drt-expected.txt: Added.
* svg/animations/animate-elem-11-t-drt.html: Added.
* svg/animations/animate-elem-12-t-drt-expected.txt: Added.
* svg/animations/animate-elem-12-t-drt.html: Added.
* svg/animations/animate-elem-13-t-drt-expected.txt: Added.
* svg/animations/animate-elem-13-t-drt.html: Added.
* svg/animations/animate-elem-14-t-drt-expected.txt: Added.
* svg/animations/animate-elem-14-t-drt.html: Added.
* svg/animations/animate-elem-15-t-drt-expected.txt: Added.
* svg/animations/animate-elem-15-t-drt.html: Added.
* svg/animations/animate-elem-16-t-drt-expected.txt: Added.
* svg/animations/animate-elem-16-t-drt.html: Added.
* svg/animations/animate-elem-17-t-drt-expected.txt: Added.
* svg/animations/animate-elem-17-t-drt.html: Added.
* svg/animations/animate-elem-18-t-drt-expected.txt: Added.
* svg/animations/animate-elem-18-t-drt.html: Added.
* svg/animations/animate-elem-19-t-drt-expected.txt: Added.
* svg/animations/animate-elem-19-t-drt.html: Added.
* svg/animations/resources/SVGAnimationTestCase.js:
(expectMatrix):
(expectTranslationMatrix):
(moveAnimationTimelineAndSample):
* svg/animations/script-tests/animate-elem-02-t-drt.js: Added.
(sampleAfterBegin):
(sampleAfterMid):
(sampleAfterBeginOfFirstRepetition):
(sampleAfterMidOfFirstRepetition):
(executeTest):
* svg/animations/script-tests/animate-elem-03-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-04-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-05-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-06-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-07-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-08-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-09-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-10-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-11-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-12-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-13-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(executeTest):
* svg/animations/script-tests/animate-elem-14-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-15-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-16-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-17-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-18-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/animations/script-tests/animate-elem-19-t-drt.js: Added.
(sample1):
(sample2):
(sample3):
(sample4):
(executeTest):
* svg/dynamic-updates/resources/SVGTestCase.js:
(embedSVGTestCase):
(iframeLoaded):

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

8 years agoWeb Inspector: enable Profiles panel for workers
yurys@chromium.org [Wed, 29 Feb 2012 15:42:10 +0000 (15:42 +0000)]
Web Inspector: enable Profiles panel for workers
https://bugs.webkit.org/show_bug.cgi?id=79908

Introduced worker profiler agent. Enabled script profiling for
workers.

Reviewed by Pavel Feldman.

* bindings/js/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::startForPage):
(WebCore):
(WebCore::ScriptProfiler::startForWorkerContext):
(WebCore::ScriptProfiler::stopForPage):
(WebCore::ScriptProfiler::stopForWorkerContext):
* bindings/js/ScriptProfiler.h:
(WebCore):
(ScriptProfiler):
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::startForPage):
(WebCore):
(WebCore::ScriptProfiler::startForWorkerContext):
(WebCore::ScriptProfiler::stopForPage):
(WebCore::ScriptProfiler::stopForWorkerContext):
* bindings/v8/ScriptProfiler.h:
(WebCore):
(ScriptProfiler):
* inspector/InspectorProfilerAgent.cpp:
(WebCore):
(PageProfilerAgent):
(WebCore::PageProfilerAgent::PageProfilerAgent):
(WebCore::PageProfilerAgent::~PageProfilerAgent):
(WebCore::PageProfilerAgent::startProfiling):
(WebCore::PageProfilerAgent::stopProfiling):
(WebCore::InspectorProfilerAgent::create):
(WorkerProfilerAgent):
(WebCore::WorkerProfilerAgent::WorkerProfilerAgent):
(WebCore::WorkerProfilerAgent::~WorkerProfilerAgent):
(WebCore::WorkerProfilerAgent::startProfiling):
(WebCore::WorkerProfilerAgent::stopProfiling):
(WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
(WebCore::InspectorProfilerAgent::start):
(WebCore::InspectorProfilerAgent::stop):
* inspector/InspectorProfilerAgent.h:
(WebCore):
(InspectorProfilerAgent):
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
(WebCore::WorkerInspectorController::connectFrontend):
(WebCore::WorkerInspectorController::disconnectFrontend):
(WebCore::WorkerInspectorController::restoreInspectorStateFromCookie):
* inspector/WorkerInspectorController.h:
(WebCore):
(WorkerInspectorController):
* inspector/front-end/ProfilesPanel.js:
* inspector/front-end/inspector.js:
(WebInspector._createPanels):

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

8 years ago2012-02-29 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 29 Feb 2012 15:36:29 +0000 (15:36 +0000)]
2012-02-29  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Next chunk of SL pixel test updates.

        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-patternUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPolygonElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPolygonElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPolylineElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPolylineElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-cx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-cy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-fx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-fy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientTransform-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-gradientUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-dom-r-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-cy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-fy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-r-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGRectElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGSVGElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGSVGElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTRefElement-dom-href-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-dx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-dy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-rotate-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-textLength-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-transform-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-dx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-dy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-rotate-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-transform-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGUseElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/filters/animate-fill-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/big-sized-filter-2-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/big-sized-filter-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feColorMatrix-default-type-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feColorMatrix-offset-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feColorMatrix-saturate-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feColorMatrix-values-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feComposite-expected.png:
        * platform/mac-snowleopard/svg/filters/feConvolveFilter-y-bounds-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feDisplacementMap-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feDropShadow-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feGaussianBlur-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-animated-transform-on-target-rect-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-late-indirect-update-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-multiple-targets-id-change-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-position-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-preserveAspectratio-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-reference-invalidation-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-reference-svg-primitive-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-subregions-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-subregions-preseveAspectRatio-none-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-add-to-document-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-attribute-change-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-attribute-change-with-use-indirection-2-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-attribute-change-with-use-indirection-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-changes-id-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-id-change-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-inline-style-change-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-property-change-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-reappend-to-document-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-remove-from-document-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feImage-target-style-change-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feLighting-crash-expected.png:
        * platform/mac-snowleopard/svg/filters/feMerge-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/feOffset-expected.png:
        * platform/mac-snowleopard/svg/filters/feTile-expected.png:
        * platform/mac-snowleopard/svg/filters/filter-clip-expected.png: Added.
        * platform/mac-snowleopard/svg/filters/filter-on-tspan-expected.png:

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

8 years agoWeb Inspector: Clicking relative links fails when query string contains a slash
apavlov@chromium.org [Wed, 29 Feb 2012 15:28:23 +0000 (15:28 +0000)]
Web Inspector: Clicking relative links fails when query string contains a slash
https://bugs.webkit.org/show_bug.cgi?id=79905

Reviewed by Vsevolod Vlasov.

Source/WebCore:

* inspector/front-end/ResourceUtils.js:
(WebInspector.completeURL):

LayoutTests:

* inspector/styles/styles-url-linkify-expected.txt:
* inspector/styles/styles-url-linkify.html:

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

8 years agoWeb Inspector: Ctrl R should reload page from the console panel as well.
pfeldman@chromium.org [Wed, 29 Feb 2012 15:26:10 +0000 (15:26 +0000)]
Web Inspector: Ctrl R should reload page from the console panel as well.
https://bugs.webkit.org/show_bug.cgi?id=79883

Reviewed by Vsevolod Vlasov.

* inspector/front-end/inspector.js:
(WebInspector.documentKeyDown):

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

8 years agoExtended attributes list should go before 'static' and 'const' modifiers in IDLs.
podivilov@chromium.org [Wed, 29 Feb 2012 15:24:18 +0000 (15:24 +0000)]
Extended attributes list should go before 'static' and 'const' modifiers in IDLs.
https://bugs.webkit.org/show_bug.cgi?id=79807

Reviewed by Kentaro Hara.

No new tests. Generated code isn't changed.

* bindings/scripts/IDLParser.pm:
(ParseInterface):
* bindings/scripts/IDLStructure.pm:
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/TestSupplemental.idl:
* html/DOMURL.idl:
* html/HTMLMediaElement.idl:
* html/HTMLTrackElement.idl:

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

8 years ago2012-02-29 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 29 Feb 2012 15:13:34 +0000 (15:13 +0000)]
2012-02-29  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Next chunk of SL pixel test updates.

        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-filterRes-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-filterUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-primitiveUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterRes-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterResX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterResY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-filterUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-primitiveUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-result-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-result-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFilterPrimitiveStandardAttributes-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGForeignObjectElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGGElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGGElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-dom-x1-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-dom-x2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-dom-y1-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-dom-y2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-x1-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-x2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-y1-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-y2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-dom-gradientTransform-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-dom-gradientUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-dom-x1-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-dom-x2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-dom-y1-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-dom-y2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-x1-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-x2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-y1-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-y2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-dom-markerHeight-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-dom-markerUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-dom-markerWidth-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-dom-orient-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-dom-refX-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-dom-refY-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-markerHeight-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-markerUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-markerWidth-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-orientAngle-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-orientType-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-refX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-refY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAngle-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMarkerElement-svgdom-setOrientToAuto-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-dom-maskContentUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-dom-maskUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-svgdom-height-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-svgdom-maskContentUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-svgdom-maskUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-svgdom-width-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGMaskElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPathElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPathElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-height-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-patternTransform-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-patternUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-width-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-dom-y-attr-expected.png:

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

8 years ago2012-02-29 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 29 Feb 2012 14:39:45 +0000 (14:39 +0000)]
2012-02-29  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Next chunk of SL pixel test updates.

        * platform/mac-snowleopard/svg/carto.net/tabgroup-expected.png: Added.
        * platform/mac-snowleopard/svg/carto.net/window-expected.png:
        * platform/mac-snowleopard/svg/custom/circle-move-invalidation-expected.png:
        * platform/mac-snowleopard/svg/custom/glyph-selection-arabic-forms-expected.png: Added.
        * platform/mac-snowleopard/svg/custom/glyph-selection-non-bmp-expected.png: Added.
        * platform/mac-snowleopard/svg/custom/js-late-clipPath-and-object-creation-expected.png:
        * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.png:
        * platform/mac-snowleopard/svg/custom/use-disappears-after-style-update-expected.txt:
        * platform/mac-snowleopard/svg/custom/use-instanceRoot-event-bubbling-expected.png:
        * platform/mac-snowleopard/svg/custom/use-instanceRoot-event-listeners-expected.png:
        * platform/mac-snowleopard/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-dom-cx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-dom-cy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-dom-r-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-svgdom-cx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-svgdom-cy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-svgdom-r-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCircleElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGClipPath-influences-hitTesting-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGClipPathElement-dom-clipPathUnits-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGClipPathElement-svgdom-clipPathUnits-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGClipPathElement-transform-influences-hitTesting-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCursorElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCursorElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCursorElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGCursorElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-dom-cx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-dom-cy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-dom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-dom-rx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-dom-ry-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-svgdom-cx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-svgdom-cy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-svgdom-requiredFeatures-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-svgdom-rx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGEllipseElement-svgdom-ry-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-amplitude-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-exponent-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-intercept-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-offset-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-slope-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-tableValues-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-dom-type-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-amplitude-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-exponent-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-intercept-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-offset-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-slope-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-tableValues-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-in2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k1-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k3-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-k4-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-dom-operator-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-in2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k1-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k3-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-k4-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFECompositeElement-svgdom-operator-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-bias-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-divisor-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-edgeMode-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelMatrix-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-kernelUnitLength-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-order-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetX-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-targetY-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-diffuseConstant-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-lighting-color-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-surfaceScale-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-diffuseConstant-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-in2-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-scale-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-xChannelSelector-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-dom-yChannelSelector-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-in2-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-scale-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-xChannelSelector-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDisplacementMapElement-svgdom-yChannelSelector-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-dom-azimuth-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-dom-elevation-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-svgdom-azimuth-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDistantLightElement-svgdom-elevation-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-dx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-dy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-color-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-shadow-opacity-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-dom-stdDeviation-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-dy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-color-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-shadow-opacity-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEDropShadowElement-svgdom-stdDeviation-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-dom-flood-color-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-dom-flood-opacity-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-color-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEFloodElement-svgdom-flood-opacity-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-dom-dx-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-dom-dy-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-svgdom-dx-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-svgdom-dy-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEOffsetElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-dom-z-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFEPointLightElement-svgdom-z-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-remove-lightSource-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-limitingConeAngle-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtX-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtY-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-pointsAtZ-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-specularExponent-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-x-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-y-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-dom-z-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-limitingConeAngle-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtX-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtY-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-pointsAtZ-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-specularExponent-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-x-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-y-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFESpotLightElement-svgdom-z-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.png:
        * platform/mac-snowleopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.png:

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

8 years ago[Qt] Unreviewed gardening, skip more failing tests.
ossy@webkit.org [Wed, 29 Feb 2012 12:41:45 +0000 (12:41 +0000)]
[Qt] Unreviewed gardening, skip more failing tests.

* platform/qt-5.0/Skipped:

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

8 years ago[GTK] Small fix for cross compilation to not generate gtkdoc.
rgabor@webkit.org [Wed, 29 Feb 2012 12:33:16 +0000 (12:33 +0000)]
[GTK] Small fix for cross compilation to not generate gtkdoc.

Rubber-stamped by Csaba Osztrogon√°c.

* Scripts/webkitdirs.pm:
(isCrossCompilation):

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

8 years ago[EFL] Replace malloc/calloc/free to new/delete.
commit-queue@webkit.org [Wed, 29 Feb 2012 08:58:22 +0000 (08:58 +0000)]
[EFL] Replace malloc/calloc/free to new/delete.
https://bugs.webkit.org/show_bug.cgi?id=75848

Patch by Tomasz Morawski <t.morawski@samsung.com> on 2012-02-29
Reviewed by Hajime Morita.

Replaced almost all malloc/calloc/free to new/delete operator and where it was possible smart pointers were also
used. Left few c memory allocation by intention to not mix c and c++ memory managment. Left malloc for Ewk_Tile
object due to const fields present in Ewk_tile structure.

* ewk/ewk_auth_soup.cpp:
* ewk/ewk_contextmenu.cpp:
(ewk_context_menu_unref):
(ewk_context_menu_item_new):
(ewk_context_menu_item_free):
(ewk_context_menu_new):
* ewk/ewk_cookies.cpp:
(ewk_cookies_get_all):
(ewk_cookies_cookie_free):
* ewk/ewk_frame.cpp:
(ewk_frame_hit_test_free):
(ewk_frame_hit_test_new):
* ewk/ewk_history.cpp:
(ewk_history_item_new_from_core):
(_ewk_history_item_free):
(ewk_history_new):
(ewk_history_free):
* ewk/ewk_tiled_backing_store.cpp:
(_Ewk_Tiled_Backing_Store_Item):
(_ewk_tiled_backing_store_pre_render_request_add):
(_ewk_tiled_backing_store_pre_render_request_del):
(_ewk_tiled_backing_store_pre_render_request_flush):
(_ewk_tiled_backing_store_pre_render_request_clear):
(_ewk_tiled_backing_store_item_add):
(_ewk_tiled_backing_store_item_del):
* ewk/ewk_tiled_matrix.cpp:
(_ewk_tile_matrix_tile_free):
(ewk_tile_matrix_new):
(ewk_tile_matrix_zoom_level_set):
(ewk_tile_matrix_invalidate):
(ewk_tile_matrix_free):
* ewk/ewk_tiled_model.cpp:
(tile_account):
(ewk_tile_unused_cache_new):
(_ewk_tile_unused_cache_free):
(ewk_tile_unused_cache_clear):
(ewk_tile_unused_cache_flush):
(ewk_tile_unused_cache_tile_get):
(ewk_tile_unused_cache_tile_put):
* ewk/ewk_tiled_private.h:
* ewk/ewk_view.cpp:
(_Ewk_View_Private_Data):
(_ewk_view_core_frame_new):
(_ewk_view_priv_new):
(_ewk_view_priv_del):
(ewk_view_core_page_get):
(ewk_view_popup_new):
(ewk_view_popup_destroy):
(EWKPrivate::corePage):
* ewk/ewk_window_features.cpp:
(ewk_window_features_unref):
(ewk_window_features_new_from_core):

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

8 years ago2012-02-28 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 29 Feb 2012 08:29:38 +0000 (08:29 +0000)]
2012-02-28  Yury Semikhatsky  <yurys@chromium.org>

        Web Inspector: move DOM counter graphs out of experimental
        https://bugs.webkit.org/show_bug.cgi?id=79802

        Enable DOM counter graphs by default.

        Reveal nearest record from the left hand side when there is no
        record containing the point where the user clicked.

        Reviewed by Pavel Feldman.

        * inspector/front-end/Settings.js:
        (WebInspector.ExperimentsSettings):
        * inspector/front-end/TimelinePanel.js:
        (WebInspector.TimelinePanel):
        (WebInspector.TimelinePanel.prototype._endSplitterDragging):
        (WebInspector.TimelinePanel.prototype._onTimelineEventRecorded):
        (WebInspector.TimelinePanel.prototype.sidebarResized):
        (WebInspector.TimelinePanel.prototype._resetPanel):
        (WebInspector.TimelinePanel.prototype._refresh):
        (WebInspector.TimelinePanel.prototype.revealRecordAt):

2012-02-29  Yury Semikhatsky  <yurys@chromium.org>

        Web Inspector: move DOM counter graphs out of experimental
        https://bugs.webkit.org/show_bug.cgi?id=79802

        Enable DOM counter graphs by default. Rebase timeline tests so that
        the records include counters field.

        Reviewed by Pavel Feldman.

        * inspector/timeline/timeline-dom-content-loaded-event-expected.txt:
        * inspector/timeline/timeline-event-dispatch-expected.txt:
        * inspector/timeline/timeline-injected-script-eval-expected.txt:
        * inspector/timeline/timeline-layout-expected.txt:
        * inspector/timeline/timeline-load-event-expected.txt:
        * inspector/timeline/timeline-mark-timeline-expected.txt:
        * inspector/timeline/timeline-network-resource-expected.txt:
        * inspector/timeline/timeline-parse-html-expected.txt:
        * inspector/timeline/timeline-recalculate-styles-expected.txt:
        * inspector/timeline/timeline-script-tag-1-expected.txt:
        * inspector/timeline/timeline-script-tag-2-expected.txt:
        * inspector/timeline/timeline-test.js:
        * inspector/timeline/timeline-time-stamp-expected.txt:
        * platform/chromium/inspector/timeline/timeline-animation-frame-expected.txt:
        * platform/chromium/inspector/timeline/timeline-event-dispatch-expected.txt:
        * platform/chromium/inspector/timeline/timeline-layout-expected.txt:
        * platform/chromium/inspector/timeline/timeline-mark-timeline-expected.txt:
        * platform/chromium/inspector/timeline/timeline-network-resource-expected.txt:
        * platform/chromium/inspector/timeline/timeline-paint-expected.txt:
        * platform/chromium/inspector/timeline/timeline-parse-html-expected.txt:
        * platform/chromium/inspector/timeline/timeline-time-stamp-expected.txt:

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

8 years ago[Refactoring] Shadow related attach paths should be in ShadowTree.
morrita@google.com [Wed, 29 Feb 2012 08:07:16 +0000 (08:07 +0000)]
[Refactoring] Shadow related attach paths should be in ShadowTree.
https://bugs.webkit.org/show_bug.cgi?id=79854

Reviewed by Ryosuke Niwa.

No new tests. No behavior change.

This change introduces ShadowTree::attachHost() and ShadowTree::detachHost()
and moves shadow-enabled attachment code from Element to ShadowRoot.
This also factored out small ContainerNode method to use it from ShadowTree.

Even after this change, the traveral order in ShadowTree
attachment has some unclear part. Coming changes will clarify
these. This change is aimed to be purely textural.

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::attach):
(WebCore::ContainerNode::detach):
* dom/ContainerNode.h:
(ContainerNode):
(WebCore::ContainerNode::attachAsNode): Added.
(WebCore::ContainerNode::attachChildren): Added.
(WebCore::ContainerNode::attachChildrenIfNeeded): Added.
(WebCore::ContainerNode::attachChildrenLazily): Added.
(WebCore::ContainerNode::detachAsNode): Added.
(WebCore::ContainerNode::detachChildrenIfNeeded): Added.
(WebCore::ContainerNode::detachChildren): Added.
* dom/Element.cpp:
(WebCore::Element::attach):
(WebCore::Element::detach):
* dom/ShadowTree.cpp:
(WebCore::ShadowTree::addShadowRoot):
(WebCore::ShadowTree::removeAllShadowRoots):
(WebCore::ShadowTree::detachHost):
(WebCore):
(WebCore::ShadowTree::attachHost):
(WebCore::ShadowTree::reattachHostChildrenAndShadow):
* dom/ShadowTree.h:
(ShadowTree):

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

8 years ago[Qt] Unreviewed morning gardening, skip new failing tests.
ossy@webkit.org [Wed, 29 Feb 2012 08:02:22 +0000 (08:02 +0000)]
[Qt] Unreviewed morning gardening, skip new failing tests.

* platform/qt/Skipped:

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

8 years ago[Chromium] Unreviewed test expectations update.
bashi@chromium.org [Wed, 29 Feb 2012 07:31:00 +0000 (07:31 +0000)]
[Chromium] Unreviewed test expectations update.

Tests in platform/chromium/rubberbanding and
platform/chromium/compositing/rubberbanding are also failing on
Mac10.5.

* platform/chromium/test_expectations.txt:

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

8 years agoMicrodata: Implement HTMLPropertiesCollection collection.namedItem().
commit-queue@webkit.org [Wed, 29 Feb 2012 07:25:52 +0000 (07:25 +0000)]
Microdata: Implement HTMLPropertiesCollection collection.namedItem().
https://bugs.webkit.org/show_bug.cgi?id=73156

Patch by Arko Saha <arko@motorola.com> on 2012-02-28
Reviewed by Kentaro Hara.

Source/WebCore:

Tests: fast/dom/MicroData/nameditem-must-be-case-sensitive.html
       fast/dom/MicroData/nameditem-must-return-correct-item-properties.html
       fast/dom/MicroData/properties-collection-nameditem-test.html

* bindings/scripts/CodeGeneratorJS.pm: Modified code generator to generate
JS bindings code for HTMLPropertiesCollection [NamedGetter] property.
(GenerateImplementation):
* html/HTMLPropertiesCollection.cpp:
(WebCore::HTMLPropertiesCollection::names):
(WebCore):
(WebCore::HTMLPropertiesCollection::namedItem): Returns a NodeList object
containing any elements that add a property named name.
(WebCore::HTMLPropertiesCollection::hasNamedItem): Checks if the items can
be retrieved or not based on the property named name.
* html/HTMLPropertiesCollection.h: Added namedItem(), hasProperty(),
hasNamedItem() methods.
(HTMLPropertiesCollection):
* html/HTMLPropertiesCollection.idl: Added namedItem() IDL method.

LayoutTests:

Added test-cases for collection.namedItem().

* fast/dom/MicroData/nameditem-must-be-case-sensitive-expected.txt: Added.
* fast/dom/MicroData/nameditem-must-be-case-sensitive.html: Added.
* fast/dom/MicroData/nameditem-must-return-correct-item-properties-expected.txt: Added.
* fast/dom/MicroData/nameditem-must-return-correct-item-properties.html: Added.
* fast/dom/MicroData/properties-collection-nameditem-test-expected.txt: Added.
* fast/dom/MicroData/properties-collection-nameditem-test.html: Added.

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

8 years ago[Chromium] Unreviewed test expectations update after r109183
bashi@chromium.org [Wed, 29 Feb 2012 07:19:45 +0000 (07:19 +0000)]
[Chromium] Unreviewed test expectations update after r109183

Some tests in platform/chromium/rubberbanding and
platform/chromium/compositing/rubberbanding are failing.

* platform/chromium/test_expectations.txt:

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

8 years agoAdd size field to Metadata in FileSystem API
kinuko@chromium.org [Wed, 29 Feb 2012 06:51:03 +0000 (06:51 +0000)]
Add size field to Metadata in FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=79813

WebKit-svn/LayoutTests:

Changed fast/filesystem/op-get-metadata test to also test if
getMetadata returns correct file sizes.

Reviewed by David Levin.

* fast/filesystem/op-get-metadata-expected.txt:
* fast/filesystem/resources/op-get-metadata.js:
* fast/filesystem/resources/op-tests-helper.js:
(createTestEnvironment.Helper.this.createSuccessCallback.entry.createWriter): Added.
(createTestEnvironment.Helper.this.createSuccessCallback):
(createTestEnvironment.Helper.this.createNextEntry):
(runOperationTest.OperationTestHelper.this.testMetadataSuccessCallback):

WebKit-svn/Source/WebCore:

Reviewed by David Levin.

Test: fast/filesystem/op-get-metadata.html

* fileapi/FileSystemCallbacks.cpp:
(WebCore::MetadataCallbacks::didReadMetadata):
* fileapi/Metadata.h:
(WebCore::Metadata::create):
(WebCore::Metadata::modificationTime):
(WebCore::Metadata::size): Added.
(WebCore::Metadata::Metadata):
* fileapi/Metadata.idl:

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

8 years ago[CMake] Always build wtf as a static library.
kubo@profusion.mobi [Wed, 29 Feb 2012 06:49:07 +0000 (06:49 +0000)]
[CMake] Always build wtf as a static library.
https://bugs.webkit.org/show_bug.cgi?id=79857

Reviewed by Eric Seidel.

.:

* CMakeLists.txt: Put static libraries in ${CMAKE_BINARY_DIR} too
to have them grouped with the shared ones.

Source/JavaScriptCore:

To help the efforts in bug 75673 to move WTF out of
JavaScriptCore, act more like the other ports and remove the
possibility of building WTF as a shared library.

It does not make much sense to, for example, ship WTF as a
separate .so with webkit-efl packages, and it should be small
enough not to cause problems during linking.

* wtf/CMakeLists.txt:

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

8 years ago[JSC] Implement ArrayBuffer transfer
dslomov@google.com [Wed, 29 Feb 2012 06:40:35 +0000 (06:40 +0000)]
[JSC] Implement ArrayBuffer transfer
https://bugs.webkit.org/show_bug.cgi?id=73493.
Implement ArrayBuffer transfer, per Khronos spec:  http://www.khronos.org/registry/typedarray/specs/latest/#9.
This brings parity with V8 implementation of transferable typed arrays.

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Extra export.
* wtf/ArrayBuffer.h:
(ArrayBuffer): Added extra export.

Source/WebCore:

Covered by existing tests.

* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::handlePostMessage):
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSHistoryCustom.cpp:
(WebCore::JSHistory::pushState):
(WebCore::JSHistory::replaceState):
* bindings/js/JSMessageEventCustom.cpp:
(WebCore::handleInitMessageEvent):
* bindings/js/JSMessagePortCustom.cpp:
(WebCore::fillMessagePortArray):
* bindings/js/JSMessagePortCustom.h:
(WebCore):
(WebCore::handlePostMessage):
* bindings/js/ScriptValue.cpp:
(WebCore::ScriptValue::serialize):
* bindings/js/SerializedScriptValue.cpp:
(WebCore):
(WebCore::CloneSerializer::serialize):
(CloneSerializer):
(WebCore::CloneSerializer::CloneSerializer):
(WebCore::CloneSerializer::fillTransferMap):
(WebCore::CloneSerializer::dumpArrayBufferView):
(WebCore::CloneSerializer::dumpIfTerminal):
(WebCore::CloneDeserializer::deserialize):
(WebCore::CloneDeserializer::CloneDeserializer):
(WebCore::CloneDeserializer::readTerminal):
(CloneDeserializer):
(WebCore::SerializedScriptValue::SerializedScriptValue):
(WebCore::SerializedScriptValue::transferArrayBuffers):
(WebCore::SerializedScriptValue::create):
(WebCore::SerializedScriptValue::deserialize):
* bindings/js/SerializedScriptValue.h:
(WebCore):
(SerializedScriptValue):

LayoutTests:

* fast/canvas/webgl/arraybuffer-transfer-of-control-expected.txt:
* fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js: Added tests for Uint8ClampedArray
* fast/dom/Window/window-postmessage-args-expected.txt:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:

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

8 years ago[wx] Unreviewed. Build fixes for wx port.
kevino@webkit.org [Wed, 29 Feb 2012 06:36:05 +0000 (06:36 +0000)]
[wx] Unreviewed. Build fixes for wx port.

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

8 years agoRefactor SpeculativeJIT::emitAllocateJSFinalObject
mhahnenberg@apple.com [Wed, 29 Feb 2012 06:28:29 +0000 (06:28 +0000)]
Refactor SpeculativeJIT::emitAllocateJSFinalObject
https://bugs.webkit.org/show_bug.cgi?id=79801

Reviewed by Filip Pizlo.

* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::emitAllocateBasicJSObject): Split emitAllocateJSFinalObject out to form this
function, which is more generic in that it can allocate a variety of classes.
(SpeculativeJIT):
(JSC::DFG::SpeculativeJIT::emitAllocateJSFinalObject): Changed to use the new helper function.

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

8 years ago[Forms] Spin button sometimes ignores Indeterminate of m_upDownState
commit-queue@webkit.org [Wed, 29 Feb 2012 06:17:09 +0000 (06:17 +0000)]
[Forms] Spin button sometimes ignores Indeterminate of m_upDownState
https://bugs.webkit.org/show_bug.cgi?id=79754

Patch by Yoshifumi Inoue <yosin@chromium.org> on 2012-02-28
Reviewed by Kent Tamura.

Source/WebCore:

This patch checks enum value Indeterminate before using m_upDownState. This make
sure Indeterminate state doesn't act like Down state.

m_upDownState can be Indeterminate at mousedown event if mouse pointer is on
spin button when it is displayed.

Test: fast/forms/number/spin-button-state.html

* html/shadow/TextControlInnerElements.cpp:
(WebCore::SpinButtonElement::defaultEventHandler):
(WebCore::SpinButtonElement::repeatingTimerFired):

LayoutTests:

* fast/forms/number/spin-button-state.html: Added.
* fast/forms/number/spin-button-state-expected.txt: Added.

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

8 years ago[Refactoring] RenderSummary and RenderDetail is no longer needed.
morrita@google.com [Wed, 29 Feb 2012 06:13:48 +0000 (06:13 +0000)]
[Refactoring] RenderSummary and RenderDetail is no longer needed.
https://bugs.webkit.org/show_bug.cgi?id=79641

Source/WebCore:

Reviewed by Kent Tamura.

Removed RenderDetails and RenderSummary because its only
modification they had is already handled by RenderBlock::styleWillChange().
These are just a historical artifact. We could have removed these
classes when they were switched to shadow-based implementations.

Tests: fast/html/details-inline-expected.html
       fast/html/details-inline.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* html/HTMLDetailsElement.cpp:
(WebCore::HTMLDetailsElement::createRenderer):
* html/HTMLSummaryElement.cpp:
(WebCore::HTMLSummaryElement::createRenderer):
(WebCore::HTMLSummaryElement::defaultEventHandler):
* rendering/RenderDetails.cpp: Removed.
* rendering/RenderDetails.h: Removed.
* rendering/RenderDetailsMarker.cpp:
(WebCore::RenderDetailsMarker::isOpen):
* rendering/RenderDetailsMarker.h:
(RenderDetailsMarker):
* rendering/RenderObject.h:
(RenderObject):
* rendering/RenderSummary.cpp: Removed.
* rendering/RenderSummary.h: Removed.
* rendering/RenderingAllInOne.cpp:

LayoutTests:

Reviewed by Kent Tamura.

- Replaced "RenderSummary" and "RenderDetails" with "RenderBlock".
- Added a test to ensure that summmary and details behave like a "inline-block" even when
  "inline" is given.

* fast/html/details-inline-expected.html: Added.
* fast/html/details-inline.html: Added.
* platform/chromium-linux/fast/html/details-replace-summary-child-expected.txt:
* platform/chromium-linux/fast/html/details-replace-text-expected.txt:
* platform/chromium-win/fast/html/details-add-child-1-expected.txt:
* platform/chromium-win/fast/html/details-add-child-2-expected.txt:
* platform/chromium-win/fast/html/details-add-details-child-1-expected.txt:
* platform/chromium-win/fast/html/details-add-details-child-2-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-1-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-10-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-2-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-3-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-4-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-5-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-6-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-7-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-8-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-9-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-child-1-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-child-2-expected.txt:
* platform/chromium-win/fast/html/details-nested-1-expected.txt:
* platform/chromium-win/fast/html/details-nested-2-expected.txt:
* platform/chromium-win/fast/html/details-no-summary1-expected.txt:
* platform/chromium-win/fast/html/details-no-summary2-expected.txt:
* platform/chromium-win/fast/html/details-no-summary3-expected.txt:
* platform/chromium-win/fast/html/details-no-summary4-expected.txt:
* platform/chromium-win/fast/html/details-open-javascript-expected.txt:
* platform/chromium-win/fast/html/details-open1-expected.txt:
* platform/chromium-win/fast/html/details-open2-expected.txt:
* platform/chromium-win/fast/html/details-open3-expected.txt:
* platform/chromium-win/fast/html/details-open4-expected.txt:
* platform/chromium-win/fast/html/details-open5-expected.txt:
* platform/chromium-win/fast/html/details-open6-expected.txt:
* platform/chromium-win/fast/html/details-position-expected.txt:
* platform/chromium-win/fast/html/details-remove-child-1-expected.txt:
* platform/chromium-win/fast/html/details-remove-child-2-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-1-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-2-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-3-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-4-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-5-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-6-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-child-1-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-child-2-expected.txt:
* platform/chromium-win/fast/html/details-replace-summary-child-expected.txt:
* platform/chromium-win/fast/html/details-replace-text-expected.txt:
* platform/chromium-win/fast/html/details-writing-mode-expected.txt:
* platform/gtk/fast/html/details-add-child-1-expected.txt:
* platform/gtk/fast/html/details-add-child-2-expected.txt:
* platform/gtk/fast/html/details-add-details-child-1-expected.txt:
* platform/gtk/fast/html/details-add-details-child-2-expected.txt:
* platform/gtk/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-1-expected.txt:
* platform/gtk/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-10-expected.txt:
* platform/gtk/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-2-expected.txt:
* platform/gtk/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-3-expected.txt:
* platform/gtk/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-4-expected.txt:
* platform/gtk/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-5-expected.txt:
* platform/gtk/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-6-expected.txt:
* platform/gtk/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-7-expected.txt:
* platform/gtk/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-8-expected.txt:
* platform/gtk/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/gtk/fast/html/details-add-summary-9-expected.txt:
* platform/gtk/fast/html/details-add-summary-child-1-expected.txt:
* platform/gtk/fast/html/details-add-summary-child-2-expected.txt:
* platform/gtk/fast/html/details-nested-1-expected.txt:
* platform/gtk/fast/html/details-nested-2-expected.txt:
* platform/gtk/fast/html/details-no-summary1-expected.txt:
* platform/gtk/fast/html/details-no-summary2-expected.txt:
* platform/gtk/fast/html/details-no-summary3-expected.txt:
* platform/gtk/fast/html/details-no-summary4-expected.txt:
* platform/gtk/fast/html/details-open-javascript-expected.txt:
* platform/gtk/fast/html/details-open1-expected.txt:
* platform/gtk/fast/html/details-open2-expected.txt:
* platform/gtk/fast/html/details-open3-expected.txt:
* platform/gtk/fast/html/details-open4-expected.txt:
* platform/gtk/fast/html/details-open5-expected.txt:
* platform/gtk/fast/html/details-open6-expected.txt:
* platform/gtk/fast/html/details-position-expected.txt:
* platform/gtk/fast/html/details-remove-child-1-expected.txt:
* platform/gtk/fast/html/details-remove-child-2-expected.txt:
* platform/gtk/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/gtk/fast/html/details-remove-summary-1-expected.txt:
* platform/gtk/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/gtk/fast/html/details-remove-summary-2-expected.txt:
* platform/gtk/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/gtk/fast/html/details-remove-summary-3-expected.txt:
* platform/gtk/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/gtk/fast/html/details-remove-summary-4-expected.txt:
* platform/gtk/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/gtk/fast/html/details-remove-summary-5-expected.txt:
* platform/gtk/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/gtk/fast/html/details-remove-summary-6-expected.txt:
* platform/gtk/fast/html/details-remove-summary-child-1-expected.txt:
* platform/gtk/fast/html/details-remove-summary-child-2-expected.txt:
* platform/gtk/fast/html/details-replace-summary-child-expected.txt:
* platform/gtk/fast/html/details-replace-text-expected.txt:
* platform/gtk/fast/html/details-writing-mode-expected.txt:
* platform/mac/fast/html/details-add-child-1-expected.txt:
* platform/mac/fast/html/details-add-child-2-expected.txt:
* platform/mac/fast/html/details-add-details-child-1-expected.txt:
* platform/mac/fast/html/details-add-details-child-2-expected.txt:
* platform/mac/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-1-expected.txt:
* platform/mac/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-10-expected.txt:
* platform/mac/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-2-expected.txt:
* platform/mac/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-3-expected.txt:
* platform/mac/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-4-expected.txt:
* platform/mac/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-5-expected.txt:
* platform/mac/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-6-expected.txt:
* platform/mac/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-7-expected.txt:
* platform/mac/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-8-expected.txt:
* platform/mac/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-9-expected.txt:
* platform/mac/fast/html/details-add-summary-child-1-expected.txt:
* platform/mac/fast/html/details-add-summary-child-2-expected.txt:
* platform/mac/fast/html/details-nested-1-expected.txt:
* platform/mac/fast/html/details-nested-2-expected.txt:
* platform/mac/fast/html/details-no-summary1-expected.txt:
* platform/mac/fast/html/details-no-summary2-expected.txt:
* platform/mac/fast/html/details-no-summary3-expected.txt:
* platform/mac/fast/html/details-no-summary4-expected.txt:
* platform/mac/fast/html/details-open-javascript-expected.txt:
* platform/mac/fast/html/details-open1-expected.txt:
* platform/mac/fast/html/details-open2-expected.txt:
* platform/mac/fast/html/details-open3-expected.txt:
* platform/mac/fast/html/details-open4-expected.txt:
* platform/mac/fast/html/details-open5-expected.txt:
* platform/mac/fast/html/details-open6-expected.txt:
* platform/mac/fast/html/details-position-expected.txt:
* platform/mac/fast/html/details-remove-child-1-expected.txt:
* platform/mac/fast/html/details-remove-child-2-expected.txt:
* platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-1-expected.txt:
* platform/mac/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-2-expected.txt:
* platform/mac/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-3-expected.txt:
* platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-4-expected.txt:
* platform/mac/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-5-expected.txt:
* platform/mac/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-6-expected.txt:
* platform/mac/fast/html/details-remove-summary-child-1-expected.txt:
* platform/mac/fast/html/details-remove-summary-child-2-expected.txt:
* platform/mac/fast/html/details-replace-summary-child-expected.txt:
* platform/mac/fast/html/details-replace-text-expected.txt:
* platform/mac/fast/html/details-writing-mode-expected.txt:
* platform/qt/fast/html/details-add-child-1-expected.txt:
* platform/qt/fast/html/details-add-child-2-expected.txt:
* platform/qt/fast/html/details-add-details-child-1-expected.txt:
* platform/qt/fast/html/details-add-details-child-2-expected.txt:
* platform/qt/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-1-expected.txt:
* platform/qt/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-10-expected.txt:
* platform/qt/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-2-expected.txt:
* platform/qt/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-3-expected.txt:
* platform/qt/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-4-expected.txt:
* platform/qt/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-5-expected.txt:
* platform/qt/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-6-expected.txt:
* platform/qt/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-7-expected.txt:
* platform/qt/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-8-expected.txt:
* platform/qt/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-9-expected.txt:
* platform/qt/fast/html/details-add-summary-child-1-expected.txt:
* platform/qt/fast/html/details-add-summary-child-2-expected.txt:
* platform/qt/fast/html/details-nested-1-expected.txt:
* platform/qt/fast/html/details-nested-2-expected.txt:
* platform/qt/fast/html/details-no-summary1-expected.txt:
* platform/qt/fast/html/details-no-summary2-expected.txt:
* platform/qt/fast/html/details-no-summary3-expected.txt:
* platform/qt/fast/html/details-no-summary4-expected.txt:
* platform/qt/fast/html/details-open-javascript-expected.txt:
* platform/qt/fast/html/details-open1-expected.txt:
* platform/qt/fast/html/details-open2-expected.txt:
* platform/qt/fast/html/details-open3-expected.txt:
* platform/qt/fast/html/details-open4-expected.txt:
* platform/qt/fast/html/details-open5-expected.txt:
* platform/qt/fast/html/details-open6-expected.txt:
* platform/qt/fast/html/details-position-expected.txt:
* platform/qt/fast/html/details-remove-child-1-expected.txt:
* platform/qt/fast/html/details-remove-child-2-expected.txt:
* platform/qt/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-1-expected.txt:
* platform/qt/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-2-expected.txt:
* platform/qt/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-3-expected.txt:
* platform/qt/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-4-expected.txt:
* platform/qt/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-5-expected.txt:
* platform/qt/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-6-expected.txt:
* platform/qt/fast/html/details-remove-summary-child-1-expected.txt:
* platform/qt/fast/html/details-remove-summary-child-2-expected.txt:
* platform/qt/fast/html/details-replace-summary-child-expected.txt:
* platform/qt/fast/html/details-replace-text-expected.txt:
* platform/qt/fast/html/details-writing-mode-expected.txt:

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

8 years ago[Shadow DOM] Make createDOM() function used in testing Shadow DOM more flexible.
hayato@chromium.org [Wed, 29 Feb 2012 06:09:22 +0000 (06:09 +0000)]
[Shadow DOM] Make createDOM() function used in testing Shadow DOM more flexible.
https://bugs.webkit.org/show_bug.cgi?id=79745

Reviewed by Dimitri Glazkov.

Replaces createDom and createShadow function defined in
LayoutTests/fast/dom/shadow/create-dom.js with more flexible
one. Now we can represent a shadow host which has both light
children and ShadowRoots in one expression.

* fast/dom/shadow/access-key.html:
* fast/dom/shadow/get-element-by-id-in-shadow-root.html:
* fast/dom/shadow/resources/create-dom.js:
(createShadowRoot):
(createDOM):
* fast/dom/shadow/shadow-boundary-events.html:

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

8 years agoperf-o-matic: generate dashboard images using Google Chart Tools
rniwa@webkit.org [Wed, 29 Feb 2012 06:06:55 +0000 (06:06 +0000)]
perf-o-matic: generate dashboard images using Google Chart Tools
https://bugs.webkit.org/show_bug.cgi?id=79838

Reviewed by Hajime Morita.

Rename RunsJSONGenerator to Runs and added an ability to generate parameters for Google chart tool.
Also added RunsChartHandler to make url-fetches these images and DashboardImageHandler to serve them.
The image is stored in DashboardImage model.

We can't enable flip the switch to use images yet because we don't create images on fly (they're
generated when runs are updated; i.e. bots upload new results). We should be able to flip the switch
once this patch lands and all perf bots cycle.

We probably make way too many calls to Google chart tool's server with this preliminary design but we
can easily move this task into the backend and run it via a cron job once we know it works.

* Websites/webkit-perf.appspot.com/controller.py:
(schedule_runs_update):
(RunsUpdateHandler.post):
(RunsChartHandler):
(RunsChartHandler.get):
(RunsChartHandler.post):
(DashboardImageHandler):
(DashboardImageHandler.get):
(schedule_report_process):
* Websites/webkit-perf.appspot.com/json_generators.py:
(ManifestJSONGenerator.value):
(Runs):
(Runs.__init__):
(Runs.value):
(Runs.chart_params):
* Websites/webkit-perf.appspot.com/json_generators_unittest.py:
(RunsTest):
(RunsTest._create_results):
(RunsTest.test_generate_runs):
(RunsTest.test_value_without_results):
(RunsTest.test_value_with_results):
(RunsTest.test_run_from_build_and_result):
(RunsTest.test_chart_params_with_value):
(RunsTest.test_chart_params_with_value.split_as_int):
* Websites/webkit-perf.appspot.com/main.py:
* Websites/webkit-perf.appspot.com/models.py:
(PersistentCache.get_cache):
(DashboardImage):
(DashboardImage.key_name):

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

8 years agoUnreviewed, rolling out r107917 and r109188.
dcheng@chromium.org [Wed, 29 Feb 2012 05:35:25 +0000 (05:35 +0000)]
Unreviewed, rolling out r107917 and r109188.
http://trac.webkit.org/changeset/107917
http://trac.webkit.org/changeset/109188
https://bugs.webkit.org/show_bug.cgi?id=79865

Fix the chromium build. (Requested by dcheng on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-28

* src/WebDragData.cpp:
(WebKit::WebDragData::items):

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

8 years agoChromium build fix attempt.
rniwa@webkit.org [Wed, 29 Feb 2012 05:16:22 +0000 (05:16 +0000)]
Chromium build fix attempt.

* src/WebDragData.cpp:

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

8 years ago[Chromium] Unreviewed test expectations update
bashi@chromium.org [Wed, 29 Feb 2012 04:48:11 +0000 (04:48 +0000)]
[Chromium] Unreviewed test expectations update

svg/W3C-SVG-1.1/animate-elem-37-t.svg is failing on Win.

* platform/chromium/test_expectations.txt:

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

8 years agoOptimize the rects being drawn into compositing layers
simon.fraser@apple.com [Wed, 29 Feb 2012 04:46:47 +0000 (04:46 +0000)]
Optimize the rects being drawn into compositing layers
https://bugs.webkit.org/show_bug.cgi?id=79852

Reviewed by Dan Bernstein.

Use the newly added WebKitSystemInterface method
to limit the area being painted in a CALayer
-drawInContext callback. This avoids redundant drawing,
for performance.

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

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

8 years ago[Chromium] Unreviewed test expectations update after r109176
bashi@chromium.org [Wed, 29 Feb 2012 04:25:42 +0000 (04:25 +0000)]
[Chromium] Unreviewed test expectations update after r109176

* platform/chromium/test_expectations.txt:

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

8 years agoFix the SnowLeopard build.
simon.fraser@apple.com [Wed, 29 Feb 2012 04:25:04 +0000 (04:25 +0000)]
Fix the SnowLeopard build.

* WebCore.exp.in:

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

8 years agoWith tiled drawing enabled, pressing Down arrow after scrolling via mouse gesture...
andersca@apple.com [Wed, 29 Feb 2012 02:36:08 +0000 (02:36 +0000)]
With tiled drawing enabled, pressing Down arrow after scrolling via mouse gesture causes page to jump back up to top
https://bugs.webkit.org/show_bug.cgi?id=79249
<rdar://problem/10866273>

Reviewed by Sam Weinig.

ScrollableArea::notifyScrollPositionChanged must make sure that the scroll animator position is kept up to date.

* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::setCurrentPosition):
(WebCore):
* platform/ScrollAnimator.h:
(ScrollAnimator):
* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::notifyScrollPositionChanged):

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

8 years agoUnreviewed, rolling out r107894.
dcheng@chromium.org [Wed, 29 Feb 2012 02:20:12 +0000 (02:20 +0000)]
Unreviewed, rolling out r107894.
http://trac.webkit.org/changeset/107894
https://bugs.webkit.org/show_bug.cgi?id=30416

dataTransfer.types should be an Array since DOMStringList is deprecated.

Source/WebCore:

* bindings/js/JSClipboardCustom.cpp:
(WebCore::JSClipboard::types):
(WebCore):
* bindings/v8/custom/V8ClipboardCustom.cpp:
(WebCore::V8Clipboard::typesAccessorGetter):
(WebCore):
* dom/Clipboard.cpp:
(WebCore::Clipboard::hasStringOfType):
* dom/Clipboard.h:
(Clipboard):
* dom/Clipboard.idl:
* platform/blackberry/ClipboardBlackBerry.cpp:
(WebCore::ClipboardBlackBerry::types):
* platform/blackberry/ClipboardBlackBerry.h:
(ClipboardBlackBerry):
* platform/chromium/ChromiumDataObject.cpp:
(WebCore::ChromiumDataObject::types):
* platform/chromium/ChromiumDataObject.h:
(ChromiumDataObject):
* platform/chromium/ClipboardChromium.cpp:
(WebCore::ClipboardChromium::types):
(WebCore::ClipboardChromium::mayUpdateItems):
* platform/chromium/ClipboardChromium.h:
(ClipboardChromium):
* platform/chromium/DragDataChromium.cpp:
(WebCore::containsHTML):
(WebCore::DragData::containsURL):
(WebCore::DragData::asURL):
(WebCore::DragData::containsPlainText):
(WebCore::DragData::canSmartReplace):
(WebCore::DragData::asFragment):
* platform/efl/ClipboardEfl.cpp:
(WebCore::ClipboardEfl::types):
* platform/efl/ClipboardEfl.h:
(ClipboardEfl):
* platform/gtk/ClipboardGtk.cpp:
(WebCore::ClipboardGtk::types):
* platform/gtk/ClipboardGtk.h:
(ClipboardGtk):
* platform/mac/ClipboardMac.h:
(ClipboardMac):
* platform/mac/ClipboardMac.mm:
(WebCore::addHTMLClipboardTypesForCocoaType):
(WebCore::ClipboardMac::types):
* platform/qt/ClipboardQt.cpp:
(WebCore::ClipboardQt::types):
* platform/qt/ClipboardQt.h:
(ClipboardQt):
* platform/win/ClipboardWin.cpp:
(WebCore::addMimeTypesForFormat):
(WebCore::ClipboardWin::types):
* platform/win/ClipboardWin.h:
(ClipboardWin):
* platform/wx/ClipboardWx.cpp:
(WebCore::ClipboardWx::types):
* platform/wx/ClipboardWx.h:
(ClipboardWx):

LayoutTests:

* editing/pasteboard/clipboard-customData.html:
* editing/pasteboard/onpaste-text-html-types.html:
* fast/events/drag-and-drop-dataTransfer-types-nocrash.html:
* fast/events/drag-customData.html:
* fast/events/drag-dataTransfer-live-attributes-expected.txt: Removed.
* fast/events/drag-dataTransfer-live-attributes.html: Removed.
* http/tests/local/fileapi/resources/setup-file-input-element-for-drag.js:
* http/tests/security/clipboard/script-tests/clipboard-file-access.js:
(checkForEventTransferType):

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

8 years agoUpdate WebKitSystemInterface.
simon.fraser@apple.com [Wed, 29 Feb 2012 02:03:20 +0000 (02:03 +0000)]
Update WebKitSystemInterface.

Source/WebCore:

Reviewed by Sam Weinig.

* WebCore.exp.in:
(drawLayerContents):
* platform/mac/WebCoreSystemInterface.h:
* platform/mac/WebCoreSystemInterface.mm:

Source/WebKit/mac:

Reviewed by Sam Weinig.

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

Source/WebKit2:

Reviewed by Sam Weinig.

* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):

WebKitLibraries:

Reviewed by Sam Weinig.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceSnowLeopard.a:

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

8 years agoAdd new GPU builders to flakiness dashboard.
commit-queue@webkit.org [Wed, 29 Feb 2012 01:44:38 +0000 (01:44 +0000)]
Add new GPU builders to flakiness dashboard.
https://bugs.webkit.org/show_bug.cgi?id=79839

Patch by Dave Tu <dtu@chromium.org> on 2012-02-28
Reviewed by Ojan Vafai.

* Tools/TestResultServer/static-dashboards/builders.js:

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

8 years ago<content> element should behave as HTMLUnknownElement outside of a shadow DOM subtree
morrita@google.com [Wed, 29 Feb 2012 01:43:50 +0000 (01:43 +0000)]
<content> element should behave as HTMLUnknownElement outside of a shadow DOM subtree
https://bugs.webkit.org/show_bug.cgi?id=79551

Reviewed by Dimitri Glazkov.

Source/WebCore:

The problem happened because HTMLContentElement doesn't create renderer anytime.

This change allows it to create a renderer unless the HTMLContentElement is shadowed.
Since this could happen not only on <content> but also on upcoming <shadow>,
the corresponding part of the code is pulled up to InsertionPoint.

Tests: fast/dom/shadow/content-element-outside-shadow-style-expected.html
       fast/dom/shadow/content-element-outside-shadow-style.html

* dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::NodeRenderingContext):
* dom/ShadowRoot.h:
(WebCore):
(WebCore::TreeScope::isShadowRoot):
* dom/TreeScope.h:
(TreeScope):
* html/shadow/HTMLContentElement.h:
* html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::isShadowBoundary):
(WebCore):
* html/shadow/InsertionPoint.h:
(InsertionPoint):
(WebCore::isShadowBoundary):
(WebCore):

LayoutTests:

* fast/dom/shadow/content-element-outside-shadow-style-expected.html: Added.
* fast/dom/shadow/content-element-outside-shadow-style.html: Added.
* fast/dom/shadow/content-element-outside-shadow.html:
* platform/efl/Skipped:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wk2/Skipped:

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

8 years ago[[Get]]/[[Put]] for primitives should not wrap on strict accessor call
barraclough@apple.com [Wed, 29 Feb 2012 01:39:15 +0000 (01:39 +0000)]
[[Get]]/[[Put]] for primitives should not wrap on strict accessor call
https://bugs.webkit.org/show_bug.cgi?id=79588

Reviewed by Oliver Hunt.

In the case of [[Get]], this is a pretty trivial bug - just don't wrap
primitives at the point you call a getter.

For setters, this is a little more involved, since we have already wrapped
the value up in a synthesized object. Stop doing so. There is also a further
subtely, that in strict mode all attempts to create a new data property on
the object should throw.

Source/JavaScriptCore:

* runtime/JSCell.cpp:
(JSC::JSCell::put):
    - [[Put]] to a string primitive should use JSValue::putToPrimitive.
* runtime/JSObject.cpp:
(JSC::JSObject::put):
    - Remove static function called in one place.
* runtime/JSObject.h:
(JSC::JSValue::put):
    - [[Put]] to a non-cell JSValue should use JSValue::putToPrimitive.
* runtime/JSValue.cpp:
(JSC::JSValue::synthesizePrototype):
    - Add support for synthesizing the prototype of strings.
(JSC::JSValue::putToPrimitive):
    - Added, implements [[Put]] for primitive bases, per 8.7.2.
* runtime/JSValue.h:
(JSValue):
    - Add declaration for JSValue::putToPrimitive.
* runtime/PropertySlot.cpp:
(JSC::PropertySlot::functionGetter):
    - Don't call ToObject on primitive this values.

LayoutTests:

* fast/js/mozilla/strict/15.5.5.1-expected.txt:
* fast/js/primitive-property-access-edge-cases-expected.txt:
* fast/js/read-modify-eval-expected.txt:
* fast/js/script-tests/primitive-property-access-edge-cases.js:
* fast/js/script-tests/read-modify-eval.js:
    - Added new test cases & updated test results.

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

8 years agoClipboard::getData should return an empty string instead of undefined
dcheng@chromium.org [Wed, 29 Feb 2012 01:31:55 +0000 (01:31 +0000)]
Clipboard::getData should return an empty string instead of undefined
https://bugs.webkit.org/show_bug.cgi?id=79712

Reviewed by Tony Chang.

Source/WebCore:

Per the spec, an empty string should be returned when there is no data for the given typestring.

Test: fast/events/dataTransfer-getData-returns-empty-string.html

* bindings/js/JSClipboardCustom.cpp:
* bindings/v8/custom/V8ClipboardCustom.cpp:
* dom/Clipboard.h:
(Clipboard):
* dom/Clipboard.idl:
* platform/blackberry/ClipboardBlackBerry.cpp:
(WebCore::ClipboardBlackBerry::getData):
* platform/blackberry/ClipboardBlackBerry.h:
(ClipboardBlackBerry):
* platform/chromium/ClipboardChromium.cpp:
(WebCore::ClipboardChromium::getData):
* platform/chromium/ClipboardChromium.h:
(ClipboardChromium):
* platform/efl/ClipboardEfl.cpp:
(WebCore::ClipboardEfl::getData):
* platform/efl/ClipboardEfl.h:
(ClipboardEfl):
* platform/gtk/ClipboardGtk.cpp:
(WebCore::ClipboardGtk::getData):
* platform/gtk/ClipboardGtk.h:
(ClipboardGtk):
* platform/mac/ClipboardMac.h:
(ClipboardMac):
* platform/mac/ClipboardMac.mm:
(WebCore::ClipboardMac::getData):
* platform/qt/ClipboardQt.cpp:
(WebCore::ClipboardQt::getData):
* platform/qt/ClipboardQt.h:
(ClipboardQt):
* platform/win/ClipboardUtilitiesWin.cpp:
(WebCore::getFullCFHTML):
(WebCore::getURL):
(WebCore::getPlainText):
(WebCore::getTextHTML):
(WebCore::getCFHTML):
(WebCore::fragmentFromHTML):
* platform/win/ClipboardUtilitiesWin.h:
(WebCore):
* platform/win/ClipboardWin.cpp:
(WebCore::ClipboardWin::getData):
* platform/win/ClipboardWin.h:
(ClipboardWin):
* platform/wx/ClipboardWx.cpp:
(WebCore::ClipboardWx::getData):
* platform/wx/ClipboardWx.h:
(ClipboardWx):

LayoutTests:

* fast/events/dataTransfer-getData-returns-empty-string-expected.txt: Added.
* fast/events/dataTransfer-getData-returns-empty-string.html: Added.
* http/tests/local/drag-over-remote-content-expected.txt:
* http/tests/security/drag-over-remote-content-iframe-expected.txt:
* http/tests/security/drag-over-remote-content-iframe.html:

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

8 years ago[Chromium] Uninitialized value in LocaleToScriptCodeForFontSelection
bashi@chromium.org [Wed, 29 Feb 2012 01:28:06 +0000 (01:28 +0000)]
[Chromium] Uninitialized value in LocaleToScriptCodeForFontSelection
https://bugs.webkit.org/show_bug.cgi?id=79779

Set USCRIPT_COMMON to scriptCode as the initial value.

Reviewed by Kent Tamura.

No new tests. No behavior change.

* platform/text/LocaleToScriptMappingICU.cpp:
(WebCore::localeToScriptCodeForFontSelection):

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

8 years agoRe-enable parallel GC on Mac
mhahnenberg@apple.com [Wed, 29 Feb 2012 01:26:03 +0000 (01:26 +0000)]
Re-enable parallel GC on Mac
https://bugs.webkit.org/show_bug.cgi?id=79837

Rubber stamped by Filip Pizlo.

* runtime/Options.cpp:
(JSC::Options::initializeOptions): We accidentally disabled parallel GC with this line,
so we removed it and things should go back to normal.

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

8 years ago[chromium] Work around IOSurface-related corruption during readback
kbr@google.com [Wed, 29 Feb 2012 01:17:27 +0000 (01:17 +0000)]
[chromium] Work around IOSurface-related corruption during readback
https://bugs.webkit.org/show_bug.cgi?id=79735

Reviewed by James Robinson.

Copy the compositor's IOSurface-backed output into a temporary
texture and perform the ReadPixels operation against that texture.

It is infeasible to write an automated test for this issue.
Tested manually by performing print preview multiple times against
pages containing WebGL content on 10.7 and observing that the
corruption in the output is no longer present.

* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::getFramebufferPixels):

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

8 years agoSome run-javascriptcore-tests broken for 32-bit debug
fpizlo@apple.com [Wed, 29 Feb 2012 01:13:08 +0000 (01:13 +0000)]
Some run-javascriptcore-tests broken for 32-bit debug
https://bugs.webkit.org/show_bug.cgi?id=79844

Rubber stamped by Oliver Hunt.

These assertions are just plain wrong for 32-bit. We could either have a massive
assertion that depends on value representation, that has to be changed every
time we change the JITs, resulting in a bug tail of debug-mode crashes, or we
could get rid of the assertions. I pick the latter.

* dfg/DFGOperations.cpp:
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):

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

8 years ago[chromium] Inform v8 about extra memory used for PatternSkia clamp mode
enne@google.com [Wed, 29 Feb 2012 01:12:57 +0000 (01:12 +0000)]
[chromium] Inform v8 about extra memory used for PatternSkia clamp mode
https://bugs.webkit.org/show_bug.cgi?id=79846

Reviewed by James Robinson.

For large images, creating a non-repeating Pattern in Skia can
allocate a lot of memory. Inform v8 about this so that it can
potentially garbage collect any Pattern objects that aren't being used
and that are holding onto large image copies.

* platform/graphics/Pattern.cpp:
(WebCore::Pattern::Pattern):
* platform/graphics/Pattern.h:
(Pattern):
* platform/graphics/skia/PatternSkia.cpp:
(WebCore::Pattern::platformDestroy):
(WebCore::Pattern::platformPattern):

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

8 years agoUnreviewed gardening, mark another compositing test as flaky.
adamk@chromium.org [Wed, 29 Feb 2012 00:38:28 +0000 (00:38 +0000)]
Unreviewed gardening, mark another compositing test as flaky.
https://bugs.webkit.org/show_bug.cgi?id=79823

* platform/chromium/test_expectations.txt:

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

8 years agoAll mouse events after a right click are ignored when they came from WebkitTestRunner
commit-queue@webkit.org [Wed, 29 Feb 2012 00:37:05 +0000 (00:37 +0000)]
All mouse events after a right click are ignored when they came from WebkitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=77350

Patch by Hugo Parente Lima <hugo.lima@openbossa.org> on 2012-02-28
Reviewed by Chang Shu.

Source/WebKit2:

Never ignore mouse events when using sync events, even if the context menu is being
show but the Ui did replied the ShowContextMenu event with a ContextMenuHidden.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::mouseEventSyncForTesting):

LayoutTests:

Unskip fast/events/mouse-click-events.html.

* platform/qt-5.0-wk2/Skipped:

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

8 years ago[chromium] Reset damage tracker on visibility change.
commit-queue@webkit.org [Wed, 29 Feb 2012 00:27:41 +0000 (00:27 +0000)]
[chromium] Reset damage tracker on visibility change.
https://bugs.webkit.org/show_bug.cgi?id=79267

Patch by Jonathan Backer <backer@chromium.org> on 2012-02-28
Reviewed by James Robinson.

Source/WebCore:

Unit tests: CCLayerTreeHostImplTest.cpp

* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::setVisible):

Source/WebKit/chromium:

* tests/CCLayerTreeHostImplTest.cpp:
(WebKit::PartialSwapTrackerContext::getString):
(WebKit):
(WebKit::TEST_F):

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

8 years ago[Qt] Unskip compositing & 3d-rendering tests
commit-queue@webkit.org [Wed, 29 Feb 2012 00:14:15 +0000 (00:14 +0000)]
[Qt] Unskip compositing & 3d-rendering tests
https://bugs.webkit.org/show_bug.cgi?id=78687

Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2012-02-28
Reviewed by Noam Rosenthal.

* platform/qt-4.8/Skipped:
* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0-wk2/compositing/animation/busy-indicator-expected.png: Added.
* platform/qt-5.0-wk2/compositing/animation/state-at-end-event-transform-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/animation/state-at-end-event-transform-layer-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/color-matching/image-color-matching-expected.png: Added.
* platform/qt-5.0-wk2/compositing/color-matching/image-color-matching-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/color-matching/pdf-image-match-expected.png: Added.
* platform/qt-5.0-wk2/compositing/color-matching/pdf-image-match-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/compositing-visible-descendant-expected.png: Added.
* platform/qt-5.0-wk2/compositing/compositing-visible-descendant-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.png: Added.
* platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/framesets/composited-frame-alignment-expected.png: Added.
* platform/qt-5.0-wk2/compositing/generated-content-expected.png: Added.
* platform/qt-5.0-wk2/compositing/generated-content-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-in-composited-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-in-composited-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/foreground-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/horizontal-scroll-composited-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/horizontal-scroll-composited-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-deep-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/outline-change-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/outline-change-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/partial-layout-update-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/partial-layout-update-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/preserve-3d-switching-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/repaint-foreground-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/vertical-scroll-composited-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/vertical-scroll-composited-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.png: Added.
* platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.png: Added.
* platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/iframes/iframe-copy-on-scroll-expected.png: Added.
* platform/qt-5.0-wk2/compositing/iframes/iframe-copy-on-scroll-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/iframes/iframe-in-composited-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/iframes/iframe-in-composited-layer-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/iframes/resizer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/iframes/resizer-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/images/direct-image-background-color-expected.png: Added.
* platform/qt-5.0-wk2/compositing/images/direct-image-background-color-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/layer-creation/spanOverlapsCanvas-expected.png: Added.
* platform/qt-5.0-wk2/compositing/layers-inside-overflow-scroll-expected.png: Added.
* platform/qt-5.0-wk2/compositing/layers-inside-overflow-scroll-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/fixed-position-ancestor-clip-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/fixed-position-ancestor-clip-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-positioning-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-positioning-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scaled-descendant-overlapping-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scaled-descendant-overlapping-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/parent-overflow-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/parent-overflow-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/scrollbar-painting-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/scrollbar-painting-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/overflow/theme-affects-visual-overflow-expected.png: Added.
* platform/qt-5.0-wk2/compositing/overflow/theme-affects-visual-overflow-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/plugins/composited-plugin-expected.png: Added.
* platform/qt-5.0-wk2/compositing/plugins/composited-plugin-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/composited-document-element-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/composited-document-element-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/content-into-overflow-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/content-into-overflow-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute2-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute2-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/overflow-into-content-expected.png: Added.
* platform/qt-5.0-wk2/compositing/repaint/overflow-into-content-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/repaint/same-size-invalidation-expected.png: Added.
* platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png: Added.
* platform/qt-5.0-wk2/compositing/self-painting-layers-expected.png: Added.
* platform/qt-5.0-wk2/compositing/self-painting-layers-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/shadows/shadow-drawing-expected.png: Added.
* platform/qt-5.0-wk2/compositing/shadows/shadow-drawing-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/sibling-positioning-expected.png: Added.
* platform/qt-5.0-wk2/compositing/sibling-positioning-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.png: Added.
* platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/transitions/scale-transition-no-start-expected.png: Added.
* platform/qt-5.0-wk2/compositing/transitions/scale-transition-no-start-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.png: Added.
* platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/video/video-background-color-expected.png: Added.
* platform/qt-5.0-wk2/compositing/video/video-background-color-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/visibility/visibility-composited-expected.txt: Added.
* platform/qt-5.0-wk2/compositing/visibility/visibility-composited-transforms-expected.txt: Added.
* platform/qt/Skipped:

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

8 years agoFix a typo in config.json
lforschler@apple.com [Wed, 29 Feb 2012 00:10:02 +0000 (00:10 +0000)]
Fix a typo in config.json
linx -> linux

* BuildSlaveSupport/build.webkit.org-config/config.json:

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

8 years agoRemove suppressions of SVG crash flakiness on cr-mac
adamk@chromium.org [Wed, 29 Feb 2012 00:07:15 +0000 (00:07 +0000)]
Remove suppressions of SVG crash flakiness on cr-mac
https://bugs.webkit.org/show_bug.cgi?id=79707

Unreviewed gardening.

The suspect cause of these failures was rolled out in r109164.
Removing the suppressions to see if the rollout fixes them.

* platform/chromium/test_expectations.txt:

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

8 years agoUnreviewed gardening, mark another compositing as flaky.
adamk@chromium.org [Wed, 29 Feb 2012 00:03:26 +0000 (00:03 +0000)]
Unreviewed gardening, mark another compositing as flaky.
https://bugs.webkit.org/show_bug.cgi?id=79823

* platform/chromium/test_expectations.txt:

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

8 years agoNo extra silence needed in multi-channels support layout test cases
commit-queue@webkit.org [Tue, 28 Feb 2012 23:58:57 +0000 (23:58 +0000)]
No extra silence needed in multi-channels support layout test cases
https://bugs.webkit.org/show_bug.cgi?id=79752

Patch by Wei James <james.wei@intel.com> on 2012-02-28
Reviewed by Chris Rogers.

* webaudio/audiobuffersource-multi-channels-expected.wav:
* webaudio/audiobuffersource-multi-channels.html:
* webaudio/resources/mix-testing.js:
* webaudio/up-mixing-mono-51-expected.wav:
* webaudio/up-mixing-mono-51.html:
* webaudio/up-mixing-mono-stereo-expected.wav:
* webaudio/up-mixing-mono-stereo.html:
* webaudio/up-mixing-stereo-51-expected.wav:
* webaudio/up-mixing-stereo-51.html:

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

8 years agoUnreviewed, rolling out r108834.
commit-queue@webkit.org [Tue, 28 Feb 2012 23:53:12 +0000 (23:53 +0000)]
Unreviewed, rolling out r108834.
http://trac.webkit.org/changeset/108834
https://bugs.webkit.org/show_bug.cgi?id=79840

Seems to cause a number of crashes under
FrameView::doDeferredRepaints (Requested by jamesr__ on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-28

* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::draw):
* svg/graphics/SVGImage.h:
* svg/graphics/SVGImageCache.cpp:
(WebCore::SVGImageCache::imageContentChanged):
(WebCore::SVGImageCache::redrawTimerFired):
* svg/graphics/SVGImageCache.h:
(SVGImageCache):

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

8 years ago[GTK] Add support for nested event loops in RunLoop
mario@webkit.org [Tue, 28 Feb 2012 23:44:56 +0000 (23:44 +0000)]
[GTK] Add support for nested event loops in RunLoop
https://bugs.webkit.org/show_bug.cgi?id=79499

Reviewed by Martin Robinson.

Run a new nested mainloop if the main event loop is already
running when calling to RunLoop::run(), and take care of stopping
the right main loop too when RunLoop::stop() is invoked.

* platform/RunLoop.h:
(RunLoop):
* platform/gtk/RunLoopGtk.cpp:
(WebCore::RunLoop::RunLoop):
(WebCore::RunLoop::~RunLoop):
(WebCore::RunLoop::run):
(WebCore::RunLoop::innermostLoop):
(WebCore::RunLoop::pushNestedMainLoop):
(WebCore::RunLoop::popNestedMainLoop):
(WebCore):
(WebCore::RunLoop::stop):

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

8 years ago More build fix.
ap@apple.com [Tue, 28 Feb 2012 23:16:42 +0000 (23:16 +0000)]
    More build fix.

        * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm: Check for build platform
        properly.

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

8 years agoGet rid of padding cruft in CopiedBlock
mhahnenberg@apple.com [Tue, 28 Feb 2012 23:15:12 +0000 (23:15 +0000)]
Get rid of padding cruft in CopiedBlock
https://bugs.webkit.org/show_bug.cgi?id=79686

Reviewed by Filip Pizlo.

* heap/CopiedBlock.h:
(CopiedBlock): Removed the extra padding that was used for alignment purposes until
the calculation of the payload offset into CopiedBlocks was redone recently.

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

8 years agoMove RenderLayer::size() calls to a common function
jchaffraix@webkit.org [Tue, 28 Feb 2012 23:09:06 +0000 (23:09 +0000)]
Move RenderLayer::size() calls to a common function
https://bugs.webkit.org/show_bug.cgi?id=76972

Reviewed by Simon Fraser.

Refactoring only.

This change introduces RenderBox::cachedSizeForOverflowClip() that handles all the cached size
requests that currently goes through the RenderLayer. This indirection helps to decouple the need
for a RenderLayer so that we can lazily allocate RenderLayers as part of bug 75568.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::cachedSizeForOverflowClip):
Added this function to handle the calls to RenderLayer's size(). Unfortunately a lot of the
code calls RenderLayer::size() directly so I could not make it private.

* rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeRectForRepaint):
* rendering/RenderBox.h:
(RenderBox):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::clippedOverflowRectForRepaint):
(WebCore::RenderInline::computeRectForRepaint):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::computeRectForRepaint):
Fixed the call sites above.

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

8 years agoMove custom filter tests into subdir to make them easier to skip https://bugs.webkit...
dino@apple.com [Tue, 28 Feb 2012 23:08:56 +0000 (23:08 +0000)]
Move custom filter tests into subdir to make them easier to skip https://bugs.webkit.org/show_bug.cgi?id=79825

Reviewed by Simon Fraser.

Moved all CSS Shader tests into a 'custom' sub-directory. Added this directory
to the relevant skip lists.

* css3/filters/custom-filter-property-computed-style.html: Removed.
* css3/filters/custom-filter-property-parsing-invalid.html: Removed.
* css3/filters/custom-filter-property-parsing.html: Removed.
* css3/filters/custom/custom-filter-property-computed-style-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-property-computed-style-expected.txt.
* css3/filters/custom/custom-filter-property-computed-style.html: Added.
* css3/filters/custom/custom-filter-property-parsing-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-property-parsing-expected.txt.
* css3/filters/custom/custom-filter-property-parsing-invalid-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-property-parsing-invalid-expected.txt.
* css3/filters/custom/custom-filter-property-parsing-invalid.html: Added.
* css3/filters/custom/custom-filter-property-parsing.html: Added.
* css3/filters/custom/custom-filter-shader-cache-expected.png: Renamed from LayoutTests/css3/filters/custom-filter-shader-cache-expected.png.
* css3/filters/custom/custom-filter-shader-cache-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-shader-cache-expected.txt.
* css3/filters/custom/custom-filter-shader-cache.html: Renamed from LayoutTests/css3/filters/custom-filter-shader-cache.html.
* css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/css3/filters/effect-custom-combined-missing-expected.png.
* css3/filters/custom/effect-custom-combined-missing-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-combined-missing-expected.txt.
* css3/filters/custom/effect-custom-combined-missing.html: Renamed from LayoutTests/css3/filters/effect-custom-combined-missing.html.
* css3/filters/custom/effect-custom-disabled-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-disabled-expected.txt.
* css3/filters/custom/effect-custom-disabled.html: Added.
* css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/css3/filters/effect-custom-expected.png.
* css3/filters/custom/effect-custom-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-expected.txt.
* css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/css3/filters/effect-custom-parameters-expected.png.
* css3/filters/custom/effect-custom-parameters-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-parameters-expected.txt.
* css3/filters/custom/effect-custom-parameters.html: Renamed from LayoutTests/css3/filters/effect-custom-parameters.html.
* css3/filters/custom/effect-custom.html: Renamed from LayoutTests/css3/filters/effect-custom.html.
* css3/filters/custom/missing-custom-filter-shader-expected.png: Renamed from LayoutTests/css3/filters/missing-custom-filter-shader-expected.png.
* css3/filters/custom/missing-custom-filter-shader-expected.txt: Renamed from LayoutTests/css3/filters/missing-custom-filter-shader-expected.txt.
* css3/filters/custom/missing-custom-filter-shader.html: Renamed from LayoutTests/css3/filters/missing-custom-filter-shader.html.
* css3/filters/effect-custom-disabled.html: Removed.
* platform/chromium-mac-leopard/css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/css3/filters/effect-custom-combined-missing-expected.png.
* platform/chromium-mac-leopard/css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/css3/filters/effect-custom-expected.png.
* platform/chromium-mac-leopard/css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/css3/filters/effect-custom-parameters-expected.png.
* platform/chromium-mac-snowleopard/css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/platform/chromium-mac-snowleopard/css3/filters/effect-custom-combined-missing-expected.png.
* platform/chromium-win/css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/platform/chromium-win/css3/filters/effect-custom-combined-missing-expected.png.
* platform/chromium-win/css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/platform/chromium-win/css3/filters/effect-custom-expected.png.
* platform/chromium-win/css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/platform/chromium-win/css3/filters/effect-custom-parameters-expected.png.
* platform/chromium/css3/filters/custom/effect-custom-combined-missing-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-combined-missing-expected.txt.
* platform/chromium/css3/filters/custom/effect-custom-disabled-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-disabled-expected.txt.
* platform/chromium/css3/filters/custom/effect-custom-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-expected.txt.
* platform/chromium/css3/filters/custom/effect-custom-parameters-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-parameters-expected.txt.
* platform/chromium/test_expectations.txt:
* platform/mac-snowleopard/css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/platform/mac-snowleopard/css3/filters/effect-custom-expected.png.
* platform/mac-snowleopard/css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/platform/mac-snowleopard/css3/filters/effect-custom-parameters-expected.png.
* platform/qt-5.0-wk2/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:

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

8 years agoProvide DefaultDeviceScaleFactor though WebSettings
commit-queue@webkit.org [Tue, 28 Feb 2012 23:05:23 +0000 (23:05 +0000)]
Provide DefaultDeviceScaleFactor though WebSettings
https://bugs.webkit.org/show_bug.cgi?id=79534

Patch by Tim Dresser <tdresser@chromium.org> on 2012-02-28
Reviewed by Darin Fisher.

Source/WebCore:

* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setDefaultDeviceScaleFactor):
(WebCore):
* page/Settings.h:
(Settings):
(WebCore::Settings::defaultDeviceScaleFactor):

Source/WebKit/chromium:

* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
(WebKit):
* src/WebSettingsImpl.h:
(WebSettingsImpl):

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

8 years agoFix build.
oliver@apple.com [Tue, 28 Feb 2012 22:58:17 +0000 (22:58 +0000)]
Fix build.

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

8 years agoUnreviewed gardening, mark more SVG tests as flaky crashers on cr-mac.
adamk@chromium.org [Tue, 28 Feb 2012 22:55:08 +0000 (22:55 +0000)]
Unreviewed gardening, mark more SVG tests as flaky crashers on cr-mac.
https://bugs.webkit.org/show_bug.cgi?id=79707

* platform/chromium/test_expectations.txt:

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=79824
dino@apple.com [Tue, 28 Feb 2012 22:28:12 +0000 (22:28 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=79824

Unreviewed build fix for when ENABLE(CSS_FILTERS) is on
but ENABLE(CSS_SHADERS) is off.

* css/WebKitCSSFilterValue.cpp:
(WebCore::WebKitCSSFilterValue::typeUsesSpaceSeparator):

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

8 years agoSlow content causes choppy scrolling
commit-queue@webkit.org [Tue, 28 Feb 2012 22:26:24 +0000 (22:26 +0000)]
Slow content causes choppy scrolling
https://bugs.webkit.org/show_bug.cgi?id=79403

Patch by Dave Moore <davemoore@chromium.org> on 2012-02-28
Reviewed by James Robinson.

This code helps make scrolling (via wheel or pad) less choppy
when the content takes a long time to respond to the fake mouse moves
generated during scrolls.

 * page/EventHandler.cpp:
(WebCore):
(MaximumDurationTracker):
(WebCore::MaximumDurationTracker::MaximumDurationTracker):
(WebCore::MaximumDurationTracker::~MaximumDurationTracker):
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clear):
(WebCore::EventHandler::mouseMoved):
(WebCore::EventHandler::dispatchFakeMouseMoveEventSoon):
(WebCore::EventHandler::dispatchFakeMouseMoveEventSoonInQuad):
* page/EventHandler.h:

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