WebKit-https.git
8 years agoRedundant LegacyReceiver attribute in WebPage.messages.in
commit-queue@webkit.org [Fri, 25 Jan 2013 01:49:53 +0000 (01:49 +0000)]
Redundant LegacyReceiver attribute in WebPage.messages.in
https://bugs.webkit.org/show_bug.cgi?id=107875

Patch by Jae Hyun Park <jae.park@company100.net> on 2013-01-24
Reviewed by Anders Carlsson.

To generate WebPageMessageReceiver with legacy, just one LegacyReceiver
attribute in WebPage.messages.in is enough. This patch removes this
redundant attribute.

* WebProcess/WebPage/WebPage.messages.in:

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

8 years agoUnreviewed build fix.
haraken@chromium.org [Fri, 25 Jan 2013 01:35:27 +0000 (01:35 +0000)]
Unreviewed build fix.

* page/History.h:
(WebCore):

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

8 years agoFixed elements sometimes marked out-of-view if you have rubber-banded too far,
bdakin@apple.com [Fri, 25 Jan 2013 01:31:55 +0000 (01:31 +0000)]
Fixed elements sometimes marked out-of-view if you have rubber-banded too far,
affects flickr.com
https://bugs.webkit.org/show_bug.cgi?id=107882
-and corresponding-
<rdar://problem/13065897>

Reviewed by Simon Fraser.

Source/WebCore:

It is possible to rubber band so far that our fixed object appears to be outside
of the visibleContentArea(). We should use the
viewportConstrainedVisibleContentRect() since that is what fixed objects are
positioned based on anyway.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForPosition):

LayoutTests:

* platform/mac/tiled-drawing/fixed/negative-scroll-offset-in-view-expected.txt: Added.
* platform/mac/tiled-drawing/fixed/negative-scroll-offset-in-view.html: Added.

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

8 years agoUnreviewed build fix.
haraken@chromium.org [Fri, 25 Jan 2013 01:28:31 +0000 (01:28 +0000)]
Unreviewed build fix.

* bindings/js/JSHistoryCustom.cpp:
(WebCore::JSHistory::state):

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

8 years agoFix release build.
andersca@apple.com [Fri, 25 Jan 2013 01:26:23 +0000 (01:26 +0000)]
Fix release build.

* WebProcess/Storage/StorageAreaProxy.cpp:
(WebKit::StorageAreaProxy::length):

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

8 years ago[Chromium] Rebaselining expectations for foreignObject-text-clipping-bug.html.
keishi@webkit.org [Fri, 25 Jan 2013 01:23:40 +0000 (01:23 +0000)]
[Chromium] Rebaselining expectations for foreignObject-text-clipping-bug.html.

Unreviewed. Gardening.

* platform/chromium-mac-lion/svg/text/foreignObject-text-clipping-bug-expected.png:
* platform/chromium-mac-snowleopard/svg/text/foreignObject-text-clipping-bug-expected.png:
* platform/chromium-mac/svg/text/foreignObject-text-clipping-bug-expected.png:

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

8 years ago <rdar://problem/9971916> [WK2] Update sandbox extension usage
ap@apple.com [Fri, 25 Jan 2013 01:09:46 +0000 (01:09 +0000)]
    <rdar://problem/9971916> [WK2] Update sandbox extension usage
        https://bugs.webkit.org/show_bug.cgi?id=107861

        Reviewed by Sam Weinig.

        * Shared/SandboxExtension.h:
        * Shared/mac/SandboxExtensionMac.mm:
        (WebKit::wkSandboxExtensionType):
        * UIProcess/Downloads/DownloadProxy.cpp:
        (WebKit::DownloadProxy::decideDestinationWithSuggestedFilename):
        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::createNewWebProcess):
        (WebKit::WebContext::processDidFinishLaunching):
        (WebKit::WebContext::startMemorySampler):
        * WebProcess/com.apple.WebProcess.sb.in:

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

8 years agoCannot click an element at 2nd line or more inside inline-block in vertical writing...
commit-queue@webkit.org [Fri, 25 Jan 2013 01:02:47 +0000 (01:02 +0000)]
Cannot click an element at 2nd line or more inside inline-block in vertical writing mode.
https://bugs.webkit.org/show_bug.cgi?id=104775

Patch by Yuki Sekiguchi <yuki.sekiguchi@access-company.com> on 2013-01-24
Reviewed by Ryosuke Niwa.

Rewrite test using js-test-pre.js.
Add test description to the test.

* fast/writing-mode/vertical-inline-block-hittest-expected.txt:
* fast/writing-mode/vertical-inline-block-hittest.html:

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

8 years agoMove Authentication and Downloads from WebProcess to Shared.
beidson@apple.com [Fri, 25 Jan 2013 00:59:01 +0000 (00:59 +0000)]
Move Authentication and Downloads from WebProcess to Shared.
https://bugs.webkit.org/show_bug.cgi?id=107879

Reviewed by Anders Carlsson.

* Shared/Authentication/AuthenticationManager.cpp: Renamed from Source/WebKit2/WebProcess/Authentication/AuthenticationManager.cpp.
* Shared/Authentication/AuthenticationManager.h: Renamed from Source/WebKit2/WebProcess/Authentication/AuthenticationManager.h.
* Shared/Authentication/AuthenticationManager.messages.in: Renamed from Source/WebKit2/WebProcess/Authentication/AuthenticationManager.messages.in.
* Shared/Authentication/mac/AuthenticationManager.mac.mm: Renamed from Source/WebKit2/WebProcess/Authentication/mac/AuthenticationManager.mac.mm.
* Shared/Downloads/Download.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/Download.cpp.
* Shared/Downloads/Download.h: Renamed from Source/WebKit2/WebProcess/Downloads/Download.h.
* Shared/Downloads/DownloadAuthenticationClient.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadAuthenticationClient.cpp.
* Shared/Downloads/DownloadAuthenticationClient.h: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadAuthenticationClient.h.
* Shared/Downloads/DownloadManager.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadManager.cpp.
* Shared/Downloads/DownloadManager.h: Renamed from Source/WebKit2/WebProcess/Downloads/DownloadManager.h.
* Shared/Downloads/cfnet/DownloadCFNet.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/cfnet/DownloadCFNet.cpp.
* Shared/Downloads/curl/DownloadCurl.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/curl/DownloadCurl.cpp.
* Shared/Downloads/efl/DownloadSoupErrorsEfl.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/efl/DownloadSoupErrorsEfl.cpp.
* Shared/Downloads/gtk/DownloadSoupErrorsGtk.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/gtk/DownloadSoupErrorsGtk.cpp.
* Shared/Downloads/mac/DownloadMac.mm: Renamed from Source/WebKit2/WebProcess/Downloads/mac/DownloadMac.mm.
* Shared/Downloads/qt/DownloadQt.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/qt/DownloadQt.cpp.
* Shared/Downloads/qt/QtFileDownloader.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/qt/QtFileDownloader.cpp.
* Shared/Downloads/qt/QtFileDownloader.h: Renamed from Source/WebKit2/WebProcess/Downloads/qt/QtFileDownloader.h.
* Shared/Downloads/soup/DownloadSoup.cpp: Renamed from Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp.
* Shared/Downloads/soup/DownloadSoupErrors.h: Renamed from Source/WebKit2/WebProcess/Downloads/soup/DownloadSoupErrors.h.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebKit2.xcodeproj/project.pbxproj:

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

8 years agoNPN_InitializeVariantWithStringCopy is wrong for platforms returning NULL from malloc(0)
commit-queue@webkit.org [Fri, 25 Jan 2013 00:56:19 +0000 (00:56 +0000)]
NPN_InitializeVariantWithStringCopy is wrong for platforms returning NULL from malloc(0)
https://bugs.webkit.org/show_bug.cgi?id=96272

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-01-24
Reviewed by Alexey Proskuryakov.

No new tests. This is platform dependent.

* bridge/npruntime.cpp:
(NPN_InitializeVariantWithStringCopy):

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

8 years ago[EFL] Unreviewed build fix after r140711
gyuyoung.kim@samsung.com [Fri, 25 Jan 2013 00:45:22 +0000 (00:45 +0000)]
[EFL] Unreviewed build fix after r140711
https://bugs.webkit.org/show_bug.cgi?id=107873

Unreviewed build fix.

Build break after r140711.

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-01-24

* CMakeLists.txt: Move WebKeyValueStorageManager to WebProcess/Storage.

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

8 years agoresize property doesn't work on iframes
commit-queue@webkit.org [Fri, 25 Jan 2013 00:44:18 +0000 (00:44 +0000)]
resize property doesn't work on iframes
https://bugs.webkit.org/show_bug.cgi?id=9221

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-01-24
Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/css/resize-corner-tracking-transformed-iframe.html
and fast/css/resize-corner-tracking.html

* rendering/RenderIFrame.cpp:
(WebCore::RenderIFrame::requiresLayer):
(WebCore):
* rendering/RenderIFrame.h:
<iframe>s need a layer to be resizable, so make requiresLayer return
true if the css property is set.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::canResize):
(WebCore):
(WebCore::RenderLayer::resize):
(WebCore::RenderLayer::positionOverflowControls):
(WebCore::RenderLayer::isPointInResizeControl):
(WebCore::RenderLayer::hitTestOverflowControls):
(WebCore::RenderLayer::hitTestLayer):
* rendering/RenderLayer.h:
(RenderLayer):
Add a new canResize() function and use it instead of hasOverflowClip()
to check whether resizing should be allowed (there's still the
additional check of style()->resize() != RESIZE_NONE, of course)

Make hitTestLayer return |this| when the point is inside the
resizer rectangle.

* rendering/RenderWidget.cpp:
(WebCore::RenderWidget::paint):
Call layer()->paintResizer() to actually paint the resizer.

LayoutTests:

* fast/css/resize-corner-tracking-transformed-iframe.html: Added.
New test for testing resize of transformed <iframe>

* fast/css/resize-corner-tracking.html:
Add a testcase for resizing an <iframe>

* platform/chromium-linux/fast/css/resize-corner-tracking-expected.png:
* platform/chromium-linux/fast/css/resize-corner-tracking-transformed-iframe-expected.png: Added.
* platform/chromium-mac/fast/css/resize-corner-tracking-transformed-iframe-expected.png: Added.
* platform/chromium-win/fast/css/resize-corner-tracking-expected.txt:
* platform/chromium/compositing/iframes/resizer-expected.txt:
* platform/chromium/fast/css/resize-corner-tracking-expected.txt:
* platform/chromium/fast/css/resize-corner-tracking-transformed-expected.txt:
* platform/chromium/fast/css/resize-corner-tracking-transformed-iframe-expected.txt: Added.
* platform/mac/fast/css/resize-corner-tracking-expected.txt:
* platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.png: Added.
* platform/mac/fast/css/resize-corner-tracking-transformed-iframe-expected.txt: Added.
Update/add generic, mac and linux reference files for the test

* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
Add expected failures for the tests until they can be rebaselined.

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

8 years agoRegression(r107058): Use-after-free in SerializedScriptValue::deserialize
haraken@chromium.org [Fri, 25 Jan 2013 00:40:50 +0000 (00:40 +0000)]
Regression(r107058): Use-after-free in SerializedScriptValue::deserialize
https://bugs.webkit.org/show_bug.cgi?id=107792

Reviewed by Abhishek Arya.

Source/WebCore:

Imagine the following call path:

(1) history.state is accessed.
(2) V8History::stateAccessorGetter() calls History::state(), which calls
HistoryItem::stateObject().
(3) HistoryItem holds m_stateObject as RefPtr<SerializedScriptValue>,
but HistoryItem::stateObject() returns SerializedScriptValue*.
(4) V8History::stateAccessorGetter calls SerializedScriptValue::deserialize()
for the SerializedScriptValue* obtained in (3).
(5) SerializedScriptValue::deserialize() can call history.replaceState()
in its deserialization process (See the test case in the Chromium bug).
(6) history.replaceState() replaces HistoryItem::m_stateObject.
This replacement destructs the original HistoryItem::m_stateObject.
(7) The current deserialization process can crash due to the premature destruction.

To avoid the problem, we have to pass PassRefPtr<SerializedScriptValue> around
instead of SerializedScriptValue*.

Test: fast/history/replacestate-nocrash.html

* bindings/v8/custom/V8HistoryCustom.cpp:
(WebCore::V8History::stateAccessorGetter):
* history/HistoryItem.h:
(WebCore):
(WebCore::HistoryItem::stateObject):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadInSameDocument):
* loader/FrameLoader.h:
* page/History.cpp:
(WebCore::History::state):
(WebCore::History::stateInternal):
* page/History.h:
(History):

LayoutTests:

Added a test that demonstrated a crash due to use-after-free
of SerializedScriptValue.

Test: fast/history/replacestate-nocrash.html

* fast/history/replacestate-nocrash-expected.txt: Added.
* fast/history/replacestate-nocrash.html: Added.

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

8 years agoSome formerly-fixed objects scroll as if they are still fixed
bdakin@apple.com [Fri, 25 Jan 2013 00:27:58 +0000 (00:27 +0000)]
Some formerly-fixed objects scroll as if they are still fixed
https://bugs.webkit.org/show_bug.cgi?id=107869

Reviewed by Simon Fraser.

Removing nodes need to mark m_hasChangedProperties on the state tree, otherwise
they will not be committed to the scrolling tree until something else changes,
which could actually take a while. During the delay, the scrolling tree will
continue to move around the formerly-fixed object as long as it still has a layer.
* page/scrolling/ScrollingStateTree.cpp:
(WebCore::ScrollingStateTree::didRemoveNode):

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

8 years agoCoordinated Graphics: remove SurfaceUpdateInfo::encode/decode
commit-queue@webkit.org [Fri, 25 Jan 2013 00:11:26 +0000 (00:11 +0000)]
Coordinated Graphics: remove SurfaceUpdateInfo::encode/decode
https://bugs.webkit.org/show_bug.cgi?id=107794

Patch by Jae Hyun Park <jae.park@company100.net> on 2013-01-24
Reviewed by Anders Carlsson.

We want to remove the dependency on CoreIPC from SurfaceUpdateInfo
because we will extract Coordinated Graphics from WK2. Since
SurfaceUpdateInfo is only used in Coordinated Graphics, this patch
moves it to Shared/CoordinatedGraphics, and removes CoreIPC
dependency.

No new tests, no change in behavior.

* CMakeLists.txt:
* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
(CoreIPC::::encode):
(CoreIPC):
(CoreIPC::::decode):
* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h:
(WebKit):
* Shared/CoordinatedGraphics/SurfaceUpdateInfo.h: Renamed from Source/WebKit2/Shared/SurfaceUpdateInfo.h.
(WebKit):
(SurfaceUpdateInfo):
(WebKit::SurfaceUpdateInfo::SurfaceUpdateInfo):
* Shared/SurfaceUpdateInfo.cpp: Removed.
* Target.pri:

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

8 years agoMicrodata: itemtype attribute must update correctly on adding or removing tokens
arko@motorola.com [Fri, 25 Jan 2013 00:00:45 +0000 (00:00 +0000)]
Microdata: itemtype attribute must update correctly on adding or removing tokens
https://bugs.webkit.org/show_bug.cgi?id=106616

Reviewed by Ryosuke Niwa.

Source/WebCore:

Added a new class MicroDataAttributeTokenList, it overrides setValue() method of
DOMSettableTokenList. setValue() is responsible to set the new attribute value for
a given element.

Tests: fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html
       fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html
       fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/Node.cpp:
(WebCore::Node::itemProp):
(WebCore::Node::setItemProp):
(WebCore::Node::itemRef):
(WebCore::Node::setItemRef):
(WebCore::Node::itemType):
(WebCore::Node::setItemType):
* dom/NodeRareData.h:
(WebCore::NodeMicroDataTokenLists::itemProp):
(WebCore::NodeMicroDataTokenLists::itemRef):
(WebCore::NodeMicroDataTokenLists::itemType):
(NodeMicroDataTokenLists):
* html/DOMSettableTokenList.h: Made the constructor as protected, so that we can
override setValue() method.
(DOMSettableTokenList):
* html/MicroDataAttributeTokenList.cpp: Added.
(WebCore):
(WebCore::MicroDataAttributeTokenList::MicroDataAttributeTokenList):
(WebCore::MicroDataAttributeTokenList::setValueInternal):
(WebCore::MicroDataAttributeTokenList::setValue): It calls
DOMSettableTokenList::setValue to set internal tokens and value.
* html/MicroDataAttributeTokenList.h: Added.
(WebCore):
(MicroDataAttributeTokenList):
(WebCore::MicroDataAttributeTokenList::create):

LayoutTests:

Added tests to ensure that itemtype, itemprop, itemref attributes must update
correctly when tokens have been added or removed.

* fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens-expected.txt: Added.
* fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html: Added.
* fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens-expected.txt: Added.
* fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html: Added.
* fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens-expected.txt: Added.
* fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens.html: Added.

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

8 years agoUnreviewed. Windows build fix.
roger_fong@apple.com [Thu, 24 Jan 2013 23:59:51 +0000 (23:59 +0000)]
Unreviewed. Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:

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

8 years agoMore StorageAreaProxy cleanup
andersca@apple.com [Thu, 24 Jan 2013 23:54:58 +0000 (23:54 +0000)]
More StorageAreaProxy cleanup
https://bugs.webkit.org/show_bug.cgi?id=107870

Reviewed by Beth Dakin.

Remove some unnecessary 'WebCore::' qualifications,
and implement StorageNamespaceProxy::storageArea.

* WebProcess/Storage/StorageAreaProxy.cpp:
* WebProcess/Storage/StorageAreaProxy.h:
* WebProcess/Storage/StorageNamespaceProxy.cpp:

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

8 years agoUnreviewed chromium mac rebaseline for r140728.
eae@chromium.org [Thu, 24 Jan 2013 23:48:55 +0000 (23:48 +0000)]
Unreviewed chromium mac rebaseline for r140728.

* platform/chromium-linux-x86/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Removed.
* platform/chromium-linux-x86/svg/hixie/perf: Removed.
* platform/chromium-linux-x86/svg/hixie/perf/001-expected.txt: Removed.
* platform/chromium-linux-x86/svg/hixie/perf/002-expected.txt: Removed.
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Removed.
* platform/chromium-linux/svg/hixie/perf/001-expected.txt: Removed.
* platform/chromium-linux/svg/hixie/perf/002-expected.txt: Removed.
* platform/chromium-linux/svg/text/text-rect-precision-expected.txt: Added.
* platform/chromium-mac-lion/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt: Added.
* platform/chromium-mac-lion/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/feComponentTransfer-Discrete-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/feComponentTransfer-Gamma-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/feComponentTransfer-Linear-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/feComponentTransfer-Table-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/getTransformToElement-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/gradient-with-1d-boundingbox-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/linking-a-03-b-viewBox-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/linking-a-03-b-viewBox-transform-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/pattern-incorrect-tiling-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/pattern-rotate-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/pattern-rotate-gaps-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/style-attribute-font-size-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/text-repaint-including-stroke-expected.txt: Added.
* platform/chromium-mac-lion/svg/custom/text-x-dy-lists-expected.txt: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt:
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Discrete-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Gamma-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Linear-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Table-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/getTransformToElement-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/gradient-with-1d-boundingbox-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/linking-a-03-b-viewBox-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/linking-a-03-b-viewBox-transform-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-incorrect-tiling-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-rotate-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-rotate-gaps-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/style-attribute-font-size-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/text-repaint-including-stroke-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/text-x-dy-lists-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/hixie/perf/001-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/hixie/perf/002-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/text/non-bmp-positioning-lists-expected.txt:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac-snowleopard/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-02-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt:
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
* platform/chromium-mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-align-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-align-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-align-06-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-fonts-03-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-intro-02-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-text-03-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-text-07-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-text-08-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt: Added.
* platform/chromium-mac/svg/batik/paints/patternRegionA-expected.txt: Added.
* platform/chromium-mac/svg/batik/paints/patternRegions-expected.txt: Added.
* platform/chromium-mac/svg/batik/paints/patternRegions-positioned-objects-expected.txt: Added.
* platform/chromium-mac/svg/batik/text/longTextOnPath-expected.txt:
* platform/chromium-mac/svg/batik/text/textDecoration-expected.txt: Added.
* platform/chromium-mac/svg/batik/text/textDecoration2-expected.txt: Added.
* platform/chromium-mac/svg/batik/text/textEffect2-expected.txt: Added.
* platform/chromium-mac/svg/batik/text/textGlyphOrientationHorizontal-expected.txt: Added.
* platform/chromium-mac/svg/batik/text/textPosition-expected.txt: Added.
* platform/chromium-mac/svg/batik/text/textProperties2-expected.txt: Added.
* platform/chromium-mac/svg/clip-path/clip-path-pixelation-expected.txt: Added.
* platform/chromium-mac/svg/custom/feComponentTransfer-Discrete-expected.txt: Added.
* platform/chromium-mac/svg/custom/feComponentTransfer-Gamma-expected.txt: Added.
* platform/chromium-mac/svg/custom/feComponentTransfer-Linear-expected.txt: Added.
* platform/chromium-mac/svg/custom/feComponentTransfer-Table-expected.txt: Added.
* platform/chromium-mac/svg/custom/getTransformToElement-expected.txt: Added.
* platform/chromium-mac/svg/custom/gradient-with-1d-boundingbox-expected.txt: Added.
* platform/chromium-mac/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt: Added.
* platform/chromium-mac/svg/custom/linking-a-03-b-transform-expected.txt: Added.
* platform/chromium-mac/svg/custom/linking-a-03-b-viewBox-expected.txt: Added.
* platform/chromium-mac/svg/custom/linking-a-03-b-viewBox-transform-expected.txt: Added.
* platform/chromium-mac/svg/custom/linking-a-03-b-viewTarget-expected.txt: Added.
* platform/chromium-mac/svg/custom/linking-a-03-b-zoomAndPan-expected.txt: Added.
* platform/chromium-mac/svg/custom/mouse-move-on-svg-container-expected.txt: Added.
* platform/chromium-mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
* platform/chromium-mac/svg/custom/pattern-incorrect-tiling-expected.txt: Added.
* platform/chromium-mac/svg/custom/pattern-rotate-expected.txt: Added.
* platform/chromium-mac/svg/custom/pattern-rotate-gaps-expected.txt: Added.
* platform/chromium-mac/svg/custom/pattern-with-transformation-expected.txt: Added.
* platform/chromium-mac/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
* platform/chromium-mac/svg/custom/style-attribute-font-size-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-clip-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-ctm-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-dom-01-f-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-filter-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-hit-test-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-repaint-including-stroke-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-rotation-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-whitespace-handling-expected.txt: Added.
* platform/chromium-mac/svg/custom/text-x-dy-lists-expected.txt: Added.
* platform/chromium-mac/svg/custom/use-dynamic-append-expected.txt: Added.
* platform/chromium-mac/svg/hixie/error/002-expected.txt: Added.
* platform/chromium-mac/svg/hixie/error/013-expected.txt: Added.
* platform/chromium-mac/svg/hixie/perf/001-expected.txt:
* platform/chromium-mac/svg/hixie/perf/002-expected.txt:
* platform/chromium-mac/svg/hixie/perf/007-expected.txt:
* platform/chromium-mac/svg/hixie/viewbox/002-expected.txt: Added.
* platform/chromium-mac/svg/hixie/viewbox/003-expected.txt: Added.
* platform/chromium-mac/svg/text/bidi-embedded-direction-expected.txt: Added.
* platform/chromium-mac/svg/text/font-size-below-point-five-expected.txt: Added.
* platform/chromium-mac/svg/text/non-bmp-positioning-lists-expected.txt: Added.
* platform/chromium-mac/svg/text/text-midpoint-split-bug-expected.txt: Added.
* platform/chromium-mac/svg/text/text-rect-precision-expected.txt: Added.
* platform/chromium-mac/svg/text/text-repaint-rects-expected.txt: Added.
* platform/chromium-mac/svg/transforms/animated-path-inside-transformed-html-expected.txt: Added.
* platform/chromium-mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-mac/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
* platform/chromium-mac/svg/zoom/page/zoom-zoom-coords-expected.txt: Added.
* platform/chromium-mac/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Removed.
* platform/chromium-win-xp/svg/hixie/perf: Removed.
* platform/chromium-win-xp/svg/hixie/perf/001-expected.txt: Removed.
* platform/chromium-win-xp/svg/hixie/perf/002-expected.txt: Removed.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: Removed.
* platform/chromium-win/svg/clip-path/clip-path-pixelation-expected.txt: Removed.
* platform/chromium-win/svg/hixie/perf/007-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-02-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/masking-path-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-align-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-align-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-align-06-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-fonts-03-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-intro-02-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-text-03-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-text-07-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-text-08-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt: Removed.
* platform/chromium/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt: Removed.
* platform/chromium/svg/batik/paints/patternRegionA-expected.txt: Removed.
* platform/chromium/svg/batik/paints/patternRegions-expected.txt: Removed.
* platform/chromium/svg/batik/paints/patternRegions-positioned-objects-expected.txt: Removed.
* platform/chromium/svg/batik/text/textDecoration-expected.txt: Removed.
* platform/chromium/svg/batik/text/textDecoration2-expected.txt: Removed.
* platform/chromium/svg/batik/text/textEffect2-expected.txt: Removed.
* platform/chromium/svg/batik/text/textGlyphOrientationHorizontal-expected.txt: Removed.
* platform/chromium/svg/batik/text/textPosition-expected.txt: Removed.
* platform/chromium/svg/batik/text/textProperties2-expected.txt: Removed.
* platform/chromium/svg/clip-path/clip-path-pixelation-expected.txt: Removed.
* platform/chromium/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt: Removed.
* platform/chromium/svg/custom/linking-a-03-b-transform-expected.txt: Removed.
* platform/chromium/svg/custom/linking-a-03-b-viewTarget-expected.txt: Removed.
* platform/chromium/svg/custom/linking-a-03-b-zoomAndPan-expected.txt: Removed.
* platform/chromium/svg/custom/mouse-move-on-svg-container-expected.txt: Removed.
* platform/chromium/svg/custom/pattern-with-transformation-expected.txt: Removed.
* platform/chromium/svg/custom/text-clip-expected.txt: Removed.
* platform/chromium/svg/custom/text-ctm-expected.txt: Removed.
* platform/chromium/svg/custom/text-dom-01-f-expected.txt: Removed.
* platform/chromium/svg/custom/text-filter-expected.txt: Removed.
* platform/chromium/svg/custom/text-hit-test-expected.txt: Removed.
* platform/chromium/svg/custom/text-rotation-expected.txt: Removed.
* platform/chromium/svg/custom/text-whitespace-handling-expected.txt: Removed.
* platform/chromium/svg/custom/use-dynamic-append-expected.txt: Removed.
* platform/chromium/svg/hixie/error/002-expected.txt: Removed.
* platform/chromium/svg/hixie/error/013-expected.txt: Removed.
* platform/chromium/svg/text/bidi-embedded-direction-expected.txt: Removed.
* platform/chromium/svg/text/font-size-below-point-five-expected.txt: Removed.
* platform/chromium/svg/text/non-bmp-positioning-lists-expected.txt: Removed.
* platform/chromium/svg/text/text-midpoint-split-bug-expected.txt: Removed.
* platform/chromium/svg/text/text-repaint-rects-expected.txt: Removed.
* platform/chromium/svg/transforms/animated-path-inside-transformed-html-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Removed.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt: Removed.
* platform/efl/svg/custom/pattern-with-transformation-expected.txt: Removed.
* platform/efl/svg/text/text-midpoint-split-bug-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Removed.
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt: Removed.
* platform/gtk/svg/custom/pattern-with-transformation-expected.txt: Removed.
* platform/gtk/svg/text/text-midpoint-split-bug-expected.txt: Removed.
* platform/mac/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Removed.
* platform/qt/svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt: Removed.
* platform/qt/svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt: Removed.
* platform/qt/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt: Removed.
* platform/qt/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt: Removed.
* platform/qt/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt: Removed.
* platform/qt/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: Removed.
* platform/qt/svg/clip-path/clip-path-pixelation-expected.txt: Removed.
* platform/qt/svg/hixie/perf/007-expected.txt: Removed.
* svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Added.
* svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Added.
* svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Added.
* svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Added.
* svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt: Added.
* svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt: Added.
* svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt: Added.
* svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt: Added.
* svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt: Added.
* svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt: Added.
* svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: Added.
* svg/clip-path/clip-path-pixelation-expected.txt: Added.
* svg/custom/pattern-with-transformation-expected.txt: Added.
* svg/hixie/perf/007-expected.txt: Added.
* svg/text/text-midpoint-split-bug-expected.txt: Added.

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

8 years agoIndexedDB: Remove IDBUpgradeNeededEvent, merge with IDBVersionChangeEvent
jsbell@chromium.org [Thu, 24 Jan 2013 23:43:42 +0000 (23:43 +0000)]
IndexedDB: Remove IDBUpgradeNeededEvent, merge with IDBVersionChangeEvent
https://bugs.webkit.org/show_bug.cgi?id=107754

Reviewed by Tony Chang.

Source/WebCore:

The IndexedDB spec calls deleteDatabase() to fire a "blocked" event with the
IDBVersionChangeEvent interface which we were doing, but with an older interface - just
a "version" property. We were already firing an event on "versionchange" with the new
"oldVersion" and "newVersion" properties, but with an IDBUpgradeNeededEvent interface that
doesn't exist in the spec. This patch merges the event types to match the spec, including
that the newVersion property is null when deleting.

Test: storage/indexeddb/events.html
      storage/indexeddb/deletedatabase-*.html

* CMakeLists.txt: Remove references to deleted files.
* GNUmakefile.list.am: Ditto.
* Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::onVersionChange): Generate IDBVersionChangeEvent.
* Modules/indexeddb/IDBOpenDBRequest.cpp:
(WebCore::IDBOpenDBRequest::onBlocked): Ditto.
(WebCore::IDBOpenDBRequest::onUpgradeNeeded): Ditto.
* Modules/indexeddb/IDBUpgradeNeededEvent.cpp: Removed.
* Modules/indexeddb/IDBUpgradeNeededEvent.h: Removed.
* Modules/indexeddb/IDBUpgradeNeededEvent.idl: Removed.
* Modules/indexeddb/IDBVersionChangeEvent.cpp:
(WebCore::IDBVersionChangeEvent::create): Take IDBAny's as old/new versions
may be integers, strings (for legacy databases), or null (when deleting).
(WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
* Modules/indexeddb/IDBVersionChangeEvent.h:
(IDBVersionChangeEvent): Remove version property.
(WebCore::IDBVersionChangeEvent::oldVersion): Added new property.
(WebCore::IDBVersionChangeEvent::newVersion): Added new property.
* Modules/indexeddb/IDBVersionChangeEvent.idl: Updated properties.
* WebCore.gypi: Remove references to deleted files.
* dom/EventNames.in: Ditto.

LayoutTests:

Updated expectations, and new test file. In most cases, just switch test from
looking at event.target.version and event.version to event.oldVersion and event.newVersion,
in some cases verifying the old properties as well as a sanity check.

* storage/indexeddb/delete-in-upgradeneeded-close-in-open-success-expected.txt:
* storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange-expected.txt:
* storage/indexeddb/deletedatabase-blocked-expected.txt:
* storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-expected.txt:
* storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers-expected.txt:
* storage/indexeddb/deletedatabase-delayed-by-versionchange-expected.txt:
* storage/indexeddb/deletedatabase-not-blocked-expected.txt:
* storage/indexeddb/events-expected.txt: Added.
* storage/indexeddb/events.html: Added.
* storage/indexeddb/intversion-gated-on-delete-expected.txt:
* storage/indexeddb/intversion-long-queue-expected.txt:
* storage/indexeddb/removed-expected.txt:
* storage/indexeddb/resources/delete-in-upgradeneeded-close-in-open-success.js:
* storage/indexeddb/resources/deletedatabase-blocked.js:
* storage/indexeddb/resources/deletedatabase-delayed-by-open-and-versionchange.js:
* storage/indexeddb/resources/deletedatabase-delayed-by-versionchange.js:
* storage/indexeddb/resources/deletedatabase-not-blocked.js:
* storage/indexeddb/resources/events.js: Added.
* storage/indexeddb/resources/intversion-gated-on-delete.js:
* storage/indexeddb/resources/intversion-long-queue.js:
* storage/indexeddb/resources/removed.js: Verify that old Event type and property are gone.

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

8 years agoCertificateChain functions in ResourceResponse should be inside proper ifdefs
psolanki@apple.com [Thu, 24 Jan 2013 23:28:07 +0000 (23:28 +0000)]
CertificateChain functions in ResourceResponse should be inside proper ifdefs
https://bugs.webkit.org/show_bug.cgi?id=107865

Reviewed by Brady Eidson.

Move ResourceResponse::setCertificateChain() and ResourceResponse::certificateChain()
be under the same ifdefs that they are declared in.

No new tests because no change in functionality.

* platform/network/mac/ResourceResponseMac.mm:

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

8 years ago[BlackBerry] Display HTML5 Appcache manifest
leoyang@rim.com [Thu, 24 Jan 2013 23:23:27 +0000 (23:23 +0000)]
[BlackBerry] Display HTML5 Appcache manifest
https://bugs.webkit.org/show_bug.cgi?id=107858

Reviewed by Yong Li.
Reviewed internally by Jeff Rogers.

MIME alias no new tests.

* platform/MIMETypeRegistry.cpp:
(WebCore::mimeTypeAssociationMap):

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

8 years agoAdd watchlist for IndexedDB development, and add myself and others.
jsbell@chromium.org [Thu, 24 Jan 2013 23:22:41 +0000 (23:22 +0000)]
Add watchlist for IndexedDB development, and add myself and others.

Unreviewed.

* Scripts/webkitpy/common/config/watchlist:

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

8 years agoWeb Inspector: "XHR loaded!" messages should be DebugMessageLevel.
mkwst@chromium.org [Thu, 24 Jan 2013 23:17:22 +0000 (23:17 +0000)]
Web Inspector: "XHR loaded!" messages should be DebugMessageLevel.
https://bugs.webkit.org/show_bug.cgi?id=107817

Reviewed by Pavel Feldman.

The 'XHR finished loading:' message is currently sent at
LogMessageLevel. Upon reflection, the only messages that should be
sent at that level are messages the developer generates herself via
'console.*' calls. This message is better categorized as 'debug'.

* inspector/InspectorConsoleAgent.cpp:
(WebCore::InspectorConsoleAgent::didFinishXHRLoading):
    Change the message to DebugMessageLevel.

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

8 years agoREGRESSION(140571): Crash in ScrollingCoordinator::mainThreadScrollingReasons during...
jamesr@google.com [Thu, 24 Jan 2013 23:14:42 +0000 (23:14 +0000)]
REGRESSION(140571): Crash in ScrollingCoordinator::mainThreadScrollingReasons during Frame::createView
https://bugs.webkit.org/show_bug.cgi?id=107868

Reviewed by Beth Dakin.

When using fixed layout mode, it's possible to update the scrollbar state of the main FrameView before
it's set on the main frame, which can lead to calling in to ScrollingCoordinator to compute main thread
scrolling regions when m_page->mainFrame()->view() is 0. In this case, we don't have any main
thread scrolling reasons and should just return 0.

* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::mainThreadScrollingReasons):

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

8 years agoAbstract the logic for appending a UChar32 onto StringBuilder
commit-queue@webkit.org [Thu, 24 Jan 2013 23:01:06 +0000 (23:01 +0000)]
Abstract the logic for appending a UChar32 onto StringBuilder
https://bugs.webkit.org/show_bug.cgi?id=107505

Patch by Martin Robinson <mrobinson@igalia.com> on 2013-01-24
Reviewed by Darin Adler.

Source/WebCore:

* css/CSSOMUtils.cpp:
(WebCore::serializeCharacter): Use the new StringBuilder append.
(WebCore::serializeIdentifier): Ditto.
(WebCore::serializeString): Ditto.
* html/parser/HTMLEntityParser.cpp:
(WebCore::HTMLEntityParser::consumeNamedEntity): Ditto.
* svg/SVGFontData.cpp:
(WebCore::SVGFontData::createStringWithMirroredCharacters): Ditto.
* xml/parser/CharacterReferenceParserInlines.h:
(WebCore::consumeCharacterReference): Ditto.
* xml/parser/XMLCharacterReferenceParser.cpp: Remove an older helper
superseded by StringBuilder::append.

Source/WTF:

* wtf/text/StringBuilder.h:
(WTF::StringBuilder::append): Added a method for appending a UChar32 to a StringBuilder.

Tools:

* TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
(TestWebKitAPI::TEST): Added a simple test for appending UChar32.

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

8 years agoCleanup sandbox initialization a bit
weinig@apple.com [Thu, 24 Jan 2013 22:59:38 +0000 (22:59 +0000)]
Cleanup sandbox initialization a bit
https://bugs.webkit.org/show_bug.cgi?id=107847

Reviewed by Alexey Proskuryakov.

* NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::initializeSandbox):
* NetworkProcess/NetworkProcess.h:
* NetworkProcess/mac/NetworkProcessMac.mm:
(WebKit::NetworkProcess::initializeSandbox):
* PluginProcess/PluginProcess.h:
* Shared/ChildProcess.cpp:
(WebKit::ChildProcess::initialize):
(WebKit::ChildProcess::initializeSandbox):
* Shared/ChildProcess.h:
(ChildProcess):
* Shared/SandboxInitializationParameters.h:
(SandboxInitializationParameters):
(WebKit::SandboxInitializationParameters::mode):
(WebKit::SandboxInitializationParameters::setOverrideSandboxProfilePath):
(WebKit::SandboxInitializationParameters::overrideSandboxProfilePath):
(WebKit::SandboxInitializationParameters::setSandboxProfile):
(WebKit::SandboxInitializationParameters::sandboxProfile):
(WebKit::SandboxInitializationParameters::SandboxInitializationParameters):
(WebKit::SandboxInitializationParameters::~SandboxInitializationParameters):
* Shared/mac/ChildProcessMac.mm:
(WebKit::ChildProcess::platformInitialize):
(WebKit::ChildProcess::initializeSandbox):
* Shared/mac/SandboxInitialiationParametersMac.mm:
(WebKit::SandboxInitializationParameters::SandboxInitializationParameters):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeSandbox):
* WebProcess/WebProcess.h:
* WebProcess/mac/WebProcessMac.mm:
(WebKit::ChildProcess::initializeSandbox):

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

8 years ago[V8] Pass an Isolate to GetTemplate() in v8/*.cpp
haraken@chromium.org [Thu, 24 Jan 2013 22:57:57 +0000 (22:57 +0000)]
[V8] Pass an Isolate to GetTemplate() in v8/*.cpp
https://bugs.webkit.org/show_bug.cgi?id=107789

Reviewed by Adam Barth.

No tests. No change in behavior.

* bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
* bindings/v8/PageScriptDebugServer.cpp:
(WebCore::retrieveFrameWithGlobalObjectCheck):
* bindings/v8/V8Binding.cpp:
(WebCore::toDOMWindow):
(WebCore::toScriptExecutionContext):
* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::clearForNavigation):
* bindings/v8/V8Initializer.cpp:
(WebCore::findFrame):
(WebCore::failedAccessCheckCallbackInMainThread):
* bindings/v8/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::controllerForContext):
* bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::V8DOMWindow::eventAccessorGetter):
(WebCore::V8DOMWindow::eventAccessorSetter):
(WebCore::V8DOMWindow::toStringCallback):
(WebCore::toV8):
* bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
(WebCore::V8HTMLImageElementConstructor::GetTemplate):
* bindings/v8/custom/V8InjectedScriptManager.cpp:
(WebCore::createInjectedScriptHostV8Wrapper):
(WebCore::InjectedScriptManager::createInjectedScript):
(WebCore::InjectedScriptManager::canAccessInspectedWindow):
* bindings/v8/custom/V8LocationCustom.cpp:
(WebCore::V8Location::reloadAccessorGetter):
(WebCore::V8Location::replaceAccessorGetter):
(WebCore::V8Location::assignAccessorGetter):
* bindings/v8/custom/V8MessageEventCustom.cpp:
(WebCore::V8MessageEvent::initMessageEventCallback):

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

8 years ago[svg] Remove unnecessary rounding in SVGRootInlineBox::layoutRootBox
eae@chromium.org [Thu, 24 Jan 2013 22:48:50 +0000 (22:48 +0000)]
[svg] Remove unnecessary rounding in SVGRootInlineBox::layoutRootBox
https://bugs.webkit.org/show_bug.cgi?id=107771

Source/WebCore:

Reviewed by Levi Weintraub.

SVGRootInlineBox::layoutRootBox rounds the location and size of
the container to the nearest enclosing integer values. Now that
layout uses subpixel positioning this is no longer needed and
results in undesirable rounding. For high-dpi screens in
particular this is especially noticeable as it is rounded to
"pixels" which can map to two our more device pixels.

Test: svg/text/text-rect-precision.html

* rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::layoutRootBox):
Change from enclosingIntRect to enclosingLayoutRect to align to
the closest containing LayoutRect now that layout is done using
subpixel precision.

LayoutTests:

Reviewed by Levi Weintraub.

Add test for svg text subpixel measurement and update
expectations as needed.

* css3/zoom-coords.xhtml:
* platform/chromium/TestExpectations:
* platform/mac/TestExpectations:
* svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.txt:
* svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt:
* svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt:
* svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt:
* svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt:
* svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
* svg/custom/glyph-setting-d-attribute-expected.txt:
* svg/foreignObject/text-tref-02-b-expected.txt:
* svg/hixie/viewbox/002-expected.txt:
* svg/hixie/viewbox/003-expected.txt:
* svg/text/text-rect-precision.html: Added.
* svg/text/text-viewbox-rescale-expected.txt:
* svg/zoom/page/zoom-zoom-coords-expected.txt:
* svg/zoom/page/zoom-zoom-coords.xhtml:

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

8 years agoAdd stubbed out StorageAreaProxy class
andersca@apple.com [Thu, 24 Jan 2013 22:32:39 +0000 (22:32 +0000)]
Add stubbed out StorageAreaProxy class
https://bugs.webkit.org/show_bug.cgi?id=107864

Reviewed by Beth Dakin.

* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Storage/StorageAreaProxy.cpp: Added.
* WebProcess/Storage/StorageAreaProxy.h: Added.

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

8 years agoPreserve container size requests across image loads
pdr@google.com [Thu, 24 Jan 2013 22:27:44 +0000 (22:27 +0000)]
Preserve container size requests across image loads
https://bugs.webkit.org/show_bug.cgi?id=106733

Reviewed by Tim Horton.

Source/WebCore:

Some images, such as SVG with relative dimensions, depend on the renderer's container size.
r137981 introduced the ability to store pending container size requests that are made
after the image element lays out but before the image loads. Before this patch, cached
images could discard these pending container size requests during cache revalidation.

During a cached image load, two CachedImages exist: the image in cache and a new CachedImage
that will be used if the cache is stale. Pending container size requests are stored
on the second cached image which is discarded if a 304 not modified response is received.

This patch modifies the switchClientsToRevalidatedResource logic to maintain pending
container size requests. This fixes a bug where cached SVG images would be sized
incorrectly.

Test: http/tests/svg/cached-image-sizing.html

* loader/cache/CachedImage.cpp:
(WebCore::CachedImage::switchClientsToRevalidatedResource):

    In this virtual call we special-case images with pending size requests and
    transfer these requests to the revalidating resource. Note that all container size
    requests received before revalidation will be pending because the image has not loaded.
    Therefore, there is no risk of discarding non-pending container size requests.

(WebCore):
* loader/cache/CachedImage.h:
(CachedImage):
* loader/cache/CachedResource.h:
(CachedResource):

LayoutTests:

* http/tests/svg/cached-image-sizing-expected.html: Added.
* http/tests/svg/cached-image-sizing.html: Added.
* http/tests/svg/resources/delayCachedLoad.php: Added.
* http/tests/svg/resources/greenSquare.svg: Added.

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

8 years agoUnreviewed, rolling out r140296.
commit-queue@webkit.org [Thu, 24 Jan 2013 22:11:23 +0000 (22:11 +0000)]
Unreviewed, rolling out r140296.
http://trac.webkit.org/changeset/140296
https://bugs.webkit.org/show_bug.cgi?id=107857

Cause several regresssions (Requested by smfr on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-01-24

Source/WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):

LayoutTests:

* fast/css/box-sizing-border-box-dynamic-padding-border-update-expected.txt: Removed.
* fast/css/box-sizing-border-box-dynamic-padding-border-update.html: Removed.
* fast/forms/text/text-padding-dynamic-change-expected.html: Removed.
* fast/forms/text/text-padding-dynamic-change.html: Removed.

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

8 years agoUnreviewed trivial buildfix after r140711.
ossy@webkit.org [Thu, 24 Jan 2013 22:06:49 +0000 (22:06 +0000)]
Unreviewed trivial buildfix after r140711.

* DerivedSources.pri:
* Target.pri:

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

8 years agoDFG::JITCompiler::getSpeculation() methods are badly named and superfluous
fpizlo@apple.com [Thu, 24 Jan 2013 21:59:07 +0000 (21:59 +0000)]
DFG::JITCompiler::getSpeculation() methods are badly named and superfluous
https://bugs.webkit.org/show_bug.cgi?id=107860

Reviewed by Mark Hahnenberg.

* dfg/DFGJITCompiler.h:
(JITCompiler):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):

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

8 years agoObjective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
mhahnenberg@apple.com [Thu, 24 Jan 2013 21:39:55 +0000 (21:39 +0000)]
Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
https://bugs.webkit.org/show_bug.cgi?id=107327

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

We're renaming these two files, so we have to replace the names everywhere.

* API/APICast.h:
* API/APIJSValue.h: Removed.
* API/JSBlockAdaptor.mm:
* API/JSStringRefCF.cpp:
* API/JSValue.h: Copied from Source/JavaScriptCore/API/APIJSValue.h.
* API/JSValue.mm:
* API/JSValueInternal.h:
* API/JSValueRef.cpp:
* API/JSWeakObjectMapRefPrivate.cpp:
* API/JavaScriptCore.h:
* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Target.pri:
* bytecode/CallLinkStatus.h:
* bytecode/CodeBlock.cpp:
* bytecode/MethodOfGettingAValueProfile.h:
* bytecode/ResolveGlobalStatus.cpp:
* bytecode/ResolveGlobalStatus.h:
* bytecode/SpeculatedType.h:
* bytecode/ValueRecovery.h:
* dfg/DFGByteCodeParser.cpp:
* dfg/DFGJITCompiler.cpp:
* dfg/DFGNode.h:
* dfg/DFGSpeculativeJIT.cpp:
* dfg/DFGSpeculativeJIT64.cpp:
* heap/CopiedBlock.h:
* heap/HandleStack.cpp:
* heap/HandleTypes.h:
* heap/WeakImpl.h:
* interpreter/Interpreter.h:
* interpreter/Register.h:
* interpreter/VMInspector.h:
* jit/HostCallReturnValue.cpp:
* jit/HostCallReturnValue.h:
* jit/JITCode.h:
* jit/JITExceptions.cpp:
* jit/JITExceptions.h:
* jit/JSInterfaceJIT.h:
* llint/LLIntCLoop.h:
* llint/LLIntData.h:
* llint/LLIntSlowPaths.cpp:
* profiler/ProfilerBytecode.h:
* profiler/ProfilerBytecodeSequence.h:
* profiler/ProfilerBytecodes.h:
* profiler/ProfilerCompilation.h:
* profiler/ProfilerCompiledBytecode.h:
* profiler/ProfilerDatabase.h:
* profiler/ProfilerOSRExit.h:
* profiler/ProfilerOSRExitSite.h:
* profiler/ProfilerOrigin.h:
* profiler/ProfilerOriginStack.h:
* runtime/ArgList.cpp:
* runtime/CachedTranscendentalFunction.h:
* runtime/CallData.h:
* runtime/Completion.h:
* runtime/ConstructData.h:
* runtime/DateConstructor.cpp:
* runtime/DateInstance.cpp:
* runtime/DatePrototype.cpp:
* runtime/JSAPIValueWrapper.h:
* runtime/JSCJSValue.cpp: Copied from Source/JavaScriptCore/runtime/JSValue.cpp.
* runtime/JSCJSValue.h: Copied from Source/JavaScriptCore/runtime/JSValue.h.
(JSValue):
* runtime/JSCJSValueInlines.h: Copied from Source/JavaScriptCore/runtime/JSValueInlines.h.
* runtime/JSGlobalData.h:
* runtime/JSGlobalObject.cpp:
* runtime/JSGlobalObjectFunctions.h:
* runtime/JSStringJoiner.h:
* runtime/JSValue.cpp: Removed.
* runtime/JSValue.h: Removed.
* runtime/JSValueInlines.h: Removed.
* runtime/LiteralParser.h:
* runtime/Operations.h:
* runtime/PropertyDescriptor.h:
* runtime/PropertySlot.h:
* runtime/Protect.h:
* runtime/RegExpPrototype.cpp:
* runtime/Structure.h:

Source/WebCore:

No new tests.

We're renaming these two files, so we have to replace the names everywhere.

* ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebCore/ForwardingHeaders/runtime/JSValue.h.
* ForwardingHeaders/runtime/JSValue.h: Removed.
* WebCore.vcproj/WebCore.vcproj:
* bindings/js/JSArrayBufferViewHelper.h:
* bindings/js/JSCustomXPathNSResolver.h:
* bindings/js/JSHTMLAllCollectionCustom.cpp:
* bindings/js/JSIntentConstructor.cpp:
* bindings/js/JSMessagePortCustom.h:
* bindings/js/JSNodeFilterCondition.h:
* bindings/js/JavaScriptCallFrame.cpp:
* bindings/js/ScriptCallStackFactory.cpp:
* bindings/js/ScriptValue.h:
* bindings/js/SerializedScriptValue.h:
* bindings/objc/WebScriptObjectPrivate.h:
* bridge/c/c_utility.h:
* bridge/testbindings.cpp:
* bridge/testbindings.mm:
* bridge/testqtbindings.cpp:
* plugins/PluginView.cpp:
* plugins/blackberry/PluginViewBlackBerry.cpp:
* plugins/gtk/PluginViewGtk.cpp:
* plugins/mac/PluginViewMac.mm:
* plugins/qt/PluginViewQt.cpp:
* plugins/win/PluginViewWin.cpp:

Source/WebKit/gtk:

We're renaming these two files, so we have to replace the names everywhere.

* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:

Source/WebKit/mac:

We're renaming these two files, so we have to replace the names everywhere.

* DOM/WebDOMOperations.mm:
* ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
* ForwardingHeaders/runtime/JSValue.h: Removed.
* WebView/WebFrame.mm:
* WebView/WebView.mm:

Source/WebKit/win:

We're renaming these two files, so we have to replace the names everywhere.

* WebFrame.cpp:
* WebView.cpp:

Source/WebKit/wx:

We're renaming these two files, so we have to replace the names everywhere.

* WebFrame.cpp:
* WebView.cpp:

Source/WebKit2:

We're renaming these two files, so we have to replace the names everywhere.

* WebProcess/WebPage/WebPage.cpp:

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

8 years agoUnreviewed, rolling out r140703.
arv@chromium.org [Thu, 24 Jan 2013 21:37:51 +0000 (21:37 +0000)]
Unreviewed, rolling out r140703.
http://trac.webkit.org/changeset/140703
https://bugs.webkit.org/show_bug.cgi?id=107556

r140561 was not the reason for the Android breakage

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::~TestShell):
(TestShell::closeWindow):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::WebViewHost):
(WebViewHost::~WebViewHost):
(WebViewHost::shutdown):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):

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

8 years ago[chromium] Null check WebLayerTreeView before dereffing in WebViewImpl::invalidateRect
jamesr@google.com [Thu, 24 Jan 2013 21:31:00 +0000 (21:31 +0000)]
[chromium] Null check WebLayerTreeView before dereffing in WebViewImpl::invalidateRect
https://bugs.webkit.org/show_bug.cgi?id=107855

Reviewed by Adrienne Walker.

During frame shutdown, WebViewImpl::m_layerTreeView may become 0 while commits are deferred but we still
may get invalidateRect() calls before shutdown completes.

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

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

8 years agoLayout Test fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html is flaky
adamk@chromium.org [Thu, 24 Jan 2013 21:16:32 +0000 (21:16 +0000)]
Layout Test fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=106612

Reviewed by Eric Seidel.

* fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html: Wait for
the iframe's onload event before running the test.
* platform/chromium/TestExpectations: Remove flaky expectation.
* platform/efl/TestExpectations: ditto
* platform/gtk/TestExpectations: ditto

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

8 years agoUnreviewed build fix for Mac/Lion.
jer.noble@apple.com [Thu, 24 Jan 2013 21:09:29 +0000 (21:09 +0000)]
Unreviewed build fix for Mac/Lion.

Protect Lion from the absence of VideoToolbox.h by wrapping in #if
guards.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

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

8 years agoAllow some plugin snapshot UI content to come from Injected Bundle
dino@apple.com [Thu, 24 Jan 2013 21:02:11 +0000 (21:02 +0000)]
Allow some plugin snapshot UI content to come from Injected Bundle
https://bugs.webkit.org/show_bug.cgi?id=107852

Reviewed by Anders Carlsson.

Source/WebKit2:

Hook up three new methods: plugInStartLabelTitle, plugInStartLabelSubtitle and
plugInExtraStyleSheet to allow some custom styling and content to come
from the InjectedBundle.

* WebProcess/InjectedBundle/API/c/WKBundlePage.h: Callbacks added to
WKBundlePageUIClient structure.
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Stub implementations
of the three new methods.
(WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle):
(WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle):
(WebKit::InjectedBundlePageUIClient::plugInExtraStyleSheet):
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
(InjectedBundlePageUIClient):
* WebProcess/WebCoreSupport/WebChromeClient.cpp: Call into the injected bundle
for each of these methods.
(WebKit::WebChromeClient::plugInStartLabelTitle):
(WebKit::WebChromeClient::plugInStartLabelSubtitle):
(WebKit::WebChromeClient::plugInExtraStyleSheet):
* WebProcess/WebCoreSupport/WebChromeClient.h:
(WebChromeClient): Declare the virtual methods in the Chrome
Client so that they can accessed from WebCore eventually.

Tools:

Null implementations of plugInStartLabelTitle, plugInStartLabelSubtitle and
plugInExtraStyleSheet.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):

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

8 years agoAdd stubbed out StorageNamespaceProxy class
andersca@apple.com [Thu, 24 Jan 2013 21:00:27 +0000 (21:00 +0000)]
Add stubbed out StorageNamespaceProxy class
https://bugs.webkit.org/show_bug.cgi?id=107846

Reviewed by Sam Weinig.

Source/WebCore:

Make StorageNamespace.h and StorageArea.h private headers.

* WebCore.xcodeproj/project.pbxproj:

Source/WebKit2:

Add new class.

* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Storage/StorageNamespaceProxy.cpp: Added.
* WebProcess/Storage/StorageNamespaceProxy.h: Added.

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

8 years agoMove WebKeyValueStorageManager to WebProcess/Storage.
andersca@apple.com [Thu, 24 Jan 2013 20:46:28 +0000 (20:46 +0000)]
Move WebKeyValueStorageManager to WebProcess/Storage.

Rubber-stamped by Sam Weinig.

Try this again, with DerivedSources.make correctly updated this time.

* DerivedSources.make:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Storage/WebKeyValueStorageManager.cpp: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp.
* WebProcess/Storage/WebKeyValueStorageManager.h: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.h.
* WebProcess/Storage/WebKeyValueStorageManager.messages.in: Renamed from Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in.

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

8 years agoRemove document as a parameter from a few internals methods
tony@chromium.org [Thu, 24 Jan 2013 20:42:52 +0000 (20:42 +0000)]
Remove document as a parameter from a few internals methods
https://bugs.webkit.org/show_bug.cgi?id=107757

Reviewed by Hajime Morita.

Remove document as a parameter since there's already one associated with internals.

Source/WebCore:

No new tests, this refactors some testing code and is covered by
exisiting tests.

* testing/Internals.cpp:
(WebCore::Internals::isPreloaded):
(WebCore::Internals::createContentElement):
(WebCore::Internals::absoluteCaretBounds):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

LayoutTests:

* editing/input/editable-container-with-word-wrap-normal.html:
* editing/selection/caret-alignment-for-vertical-text.html:
* editing/selection/caret-at-end-of-text-line-followed-by-block-in-vertical-mode.html:
* editing/selection/caret-in-div-containing-br-in-vertical-mode.html:
* editing/selection/caret-in-empty-inline-1.html:
* editing/selection/caret-in-empty-inline-2.html:
* editing/selection/internal-caret-rect.html:
* fast/dom/resources/shadow-test-driver.js:
(createContentWithSelect):
(createContentWithText):
(appendShadow):
(appendShadowDeep):
* fast/dom/shadow/content-element-includer.html:
* fast/dom/shadow/content-element-renderers.html:
* fast/dom/shadow/content-selector-query.html:
* fast/dom/shadow/create-content-element.html:
* fast/dom/shadow/shadow-contents-fallback-dynamic.html:
* fast/dom/shadow/shadow-contents-fallback.html:
* fast/dom/shadow/shadow-contents-select.html:
* fast/preloader/scan-body-from-head-import.html:
* http/tests/loading/preload-append-scan.php:

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

8 years agoWeb Inspector: 'console.debug' should generate messages at DebugMessageLevel.
mkwst@chromium.org [Thu, 24 Jan 2013 20:40:23 +0000 (20:40 +0000)]
Web Inspector: 'console.debug' should generate messages at DebugMessageLevel.
https://bugs.webkit.org/show_bug.cgi?id=107816

Reviewed by Pavel Feldman.

Source/WebCore:

'console.debug' is currently aliased to 'console.log'. Since we now
render debug-level messages differently to log messages, we should use
the proper message level for 'console.debug'.

* page/Console.cpp:
(WebCore::Console::debug):
    Replace the alias to 'console.log' with message creation at
    DebugMessageLevel.

LayoutTests:

* inspector/console/console-tests-expected.txt:
* inspector/extensions/extensions-console-expected.txt:
    Rebaseline this test with the updated message level.

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

8 years ago[BlackBerry] Fix crash in SpellingHandler
nghanavatian@rim.com [Thu, 24 Jan 2013 20:35:15 +0000 (20:35 +0000)]
[BlackBerry] Fix crash in SpellingHandler
https://bugs.webkit.org/show_bug.cgi?id=107842

Reviewed by Rob Buis.

If we have an empty range or one with all spaces, we can simply return 0 instead of
still creating a range. Putting in a null check after trimming to catch this case
which was causing the crash in some DRT tests.

Internally reviewed by Mike Fenton.

* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::trimWhitespaceFromRange):
* WebKitSupport/SpellingHandler.cpp:
(BlackBerry::WebKit::SpellingHandler::createSpellCheckRequest):

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

8 years agoImplement :past pseudo class for the WebVTT ::cue pseudo element
commit-queue@webkit.org [Thu, 24 Jan 2013 20:24:56 +0000 (20:24 +0000)]
Implement :past pseudo class for the WebVTT ::cue pseudo element
https://bugs.webkit.org/show_bug.cgi?id=105482

Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-24
Reviewed by Eric Carlson.

Source/WebCore:

It is good to have a designated pseudo class for this, though same could
be achieved by using a combination of ::cue and ::cue(:future).
Tests also check that nested timestamps work properly.

Test: media/track/track-css-matching-timestamps.html

* css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
(WebCore::nameToPseudoTypeMap):
(WebCore::CSSSelector::extractPseudoType):
* css/CSSSelector.h:
* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne):

LayoutTests:

* media/track/captions-webvtt/styling-timestamps.vtt: Added.
* media/track/track-css-matching-timestamps-expected.txt: Added.
* media/track/track-css-matching-timestamps.html: Added.

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

8 years agoMac: Avoid using k32BGRAPixelFormat on certain platforms.
jer.noble@apple.com [Thu, 24 Jan 2013 20:18:49 +0000 (20:18 +0000)]
Mac: Avoid using k32BGRAPixelFormat on certain platforms.
https://bugs.webkit.org/show_bug.cgi?id=107732

Reviewed by Eric Carlson.

Using a AVPlayerItemVideoOutput to generate ARGB pixel buffers is a potential performance
hit, as the AVPlayerItemVideoOutput will send YUV buffers through a VTPixeBufferTransferSession
to convert them to ARGB regardless of whether or not a given buffer will be used. Instead,
ask the AVPlayerItemVideoOutput for pixel buffers in the decoder's native pixel format and use
the VTPixelBufferTransferSession to convert to ARGB only those pixel buffers which were actually
requested.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createVideoOutput): Ask for the decoder's native
    pixel format.
(WebCore::MediaPlayerPrivateAVFoundationObjC::createPixelBuffer): Lazily create a VTPixelTransferSession
    and convert output pixel buffers to k32BGRAPixelFormat.

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

8 years agoConvert RenderFullScreen to use the non-deprecated flexbox
commit-queue@webkit.org [Thu, 24 Jan 2013 20:16:39 +0000 (20:16 +0000)]
Convert RenderFullScreen to use the non-deprecated flexbox
https://bugs.webkit.org/show_bug.cgi?id=107746

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-01-24
Reviewed by Ojan Vafai.

Tests: covered by existing tests in fullscreen/.

* rendering/RenderFullScreen.h:
* rendering/RenderFullScreen.cpp:
(RenderFullScreen::RenderFullScreen):
(RenderFullScreen::willBeDestroyed):
Inherit from RenderFlexibleBox

(createFullScreenStyle):
Use the new-style CSS properties (justify-content, etc)

* css/fullscreen.css:
(video:-webkit-full-screen, audio:-webkit-full-screen):
* css/fullscreenQuickTime.css:
(video:-webkit-full-screen::-webkit-media-controls-panel):
(video:-webkit-full-screen::-webkit-media-controls-seek-back-button):
(video:-webkit-full-screen::-webkit-media-controls-return-to-realtime-button):
(video:-webkit-full-screen::-webkit-media-controls-seek-forward-button):
* css/mediaControlsBlackBerryFullscreen.css:
(video:-webkit-full-screen::-webkit-media-controls-panel):
(video:-webkit-full-screen::-webkit-media-controls-button-group-container):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-time-display-container):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-play-button):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-timeline-container):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-current-time-display):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-time-remaining-display):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-timeline):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-fullscreen-button):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-divider):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-container, video:-webkit-full-screen::-webkit-media-controls-play-button-container):
(video:-webkit-full-screen::-webkit-media-controls-fullscreen-button-container):
(video:-webkit-full-screen::-webkit-media-controls-play-button-container):
(video:-webkit-full-screen::-webkit-media-controls-placeholder):
* css/mediaControlsQtFullscreen.css:
(video::-webkit-media-controls-panel):
(video::-webkit-media-controls-play-button):
Update fullscreen-related CSS to use the new flexbox

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

8 years agoMac: Video appears in wrong place during pinch operations
jer.noble@apple.com [Thu, 24 Jan 2013 20:14:58 +0000 (20:14 +0000)]
Mac: Video appears in wrong place during pinch operations
https://bugs.webkit.org/show_bug.cgi?id=107730

Reviewed by Eric Carlson.

Send the correct input and output rects, post translation and scaling,
to the CIContext for drawing.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput):

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

8 years agoUnreviewed, rolling out r140561.
arv@chromium.org [Thu, 24 Jan 2013 20:10:38 +0000 (20:10 +0000)]
Unreviewed, rolling out r140561.
http://trac.webkit.org/changeset/140561
https://bugs.webkit.org/show_bug.cgi?id=107556

Suspected to break Android which prevens WebKit roll

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::~TestShell):
(TestShell::closeWindow):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::WebViewHost):
(WebViewHost::~WebViewHost):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):

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

8 years ago[CSS Filters] CSS opacity property clips filter outsets
mvujovic@adobe.com [Thu, 24 Jan 2013 19:35:17 +0000 (19:35 +0000)]
[CSS Filters] CSS opacity property clips filter outsets
https://bugs.webkit.org/show_bug.cgi?id=106549

Reviewed by Dirk Schulze.

Source/WebCore:

Expand the transparencyClipBox for filter outsets and pass the filter output rect instead of
the input rect to beginTransparencyLayers for clipping. Details below.

Test: css3/filters/css-opacity-with-drop-shadow.html

* rendering/RenderLayer.cpp:
(WebCore):
(WebCore::RenderLayer::setFilterBackendNeedsRepaintingInRect):
    Replace filter outset calcuation with a call to expandRectForFilterOutsets.
(WebCore::expandRectForFilterOutsets):
    New method to factor out repeated filter outset calculation code.
(WebCore::transparencyClipBox):
    After expanding the clip rect for descendants and reflection, expand it for filter
    outsets, so they don't get clipped when we begin a transparency layer.
(WebCore::RenderLayer::paintLayerContents):
    Pass paintingInfo.paintDirtyRect instead of localPaintingInfo.paintDirtyRect to
    beginTransparencyLayers for clipping. localPaintingInfo.paintDirtyRect (aka the filter
    input rect) does not contain filter outsets, so they would get clipped. Now, we pass
    paintingInfo.paintDirtyRect (the filter output rect), which includes the filter outsets.
(WebCore::RenderLayer::calculateLayerBounds):
    Replace filter outset calcuation with a call to expandRectForFilterOutsets.
* rendering/RenderLayer.h:
(RenderLayer):

LayoutTests:

Add a reftest to verify that an element's drop shadow filter is not clipped when a CSS
opacity property is not applied.

* css3/filters/css-opacity-with-drop-shadow-expected.html: Added.
* css3/filters/css-opacity-with-drop-shadow.html: Added.

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

8 years agoUnreviewed EFL rebaseline.
christophe.dumez@intel.com [Thu, 24 Jan 2013 19:30:09 +0000 (19:30 +0000)]
Unreviewed EFL rebaseline.

Rebaseline several tests on EFL port after r140693.

* platform/efl-wk1/svg/batik/text/xmlSpace-expected.png:
* platform/efl/TestExpectations:
* platform/efl/css2.1/t0505-c16-descendant-01-e-expected.png:
* platform/efl/css2.1/t0505-c16-descendant-01-e-expected.txt:
* platform/efl/editing/selection/extend-by-sentence-001-expected.png:
* platform/efl/editing/selection/extend-by-sentence-001-expected.txt:
* platform/efl/fast/inline/drawStyledEmptyInlines-expected.png:
* platform/efl/fast/inline/drawStyledEmptyInlines-expected.txt:
* platform/efl/fast/inline/drawStyledEmptyInlinesWithWS-expected.png:
* platform/efl/fast/inline/drawStyledEmptyInlinesWithWS-expected.txt:
* platform/efl/fast/text/capitalize-empty-generated-string-expected.png:
* platform/efl/fast/text/capitalize-empty-generated-string-expected.txt:
* platform/efl/fast/text/whitespace/006-expected.png:
* platform/efl/fast/text/whitespace/006-expected.txt:
* platform/efl/fast/text/whitespace/007-expected.png:
* platform/efl/fast/text/whitespace/007-expected.txt:
* platform/efl/svg/batik/text/xmlSpace-expected.png:
* platform/efl/svg/batik/text/xmlSpace-expected.txt:
* platform/efl/svg/carto.net/combobox-expected.png:
* platform/efl/svg/carto.net/combobox-expected.txt:
* platform/efl/tables/mozilla/bugs/bug113235-3-expected.png:
* platform/efl/tables/mozilla/bugs/bug113235-3-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1188-expected.png:
* platform/efl/tables/mozilla/bugs/bug1188-expected.txt:
* platform/efl/tables/mozilla/bugs/bug1318-expected.png:
* platform/efl/tables/mozilla/bugs/bug1318-expected.txt:

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

8 years agoFix a typo after r139838.
rniwa@webkit.org [Thu, 24 Jan 2013 19:25:53 +0000 (19:25 +0000)]
Fix a typo after r139838.

* dom/NodeRareData.h:
(NodeRareData):

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

8 years agoVersioning.
lforschler@apple.com [Thu, 24 Jan 2013 19:21:51 +0000 (19:21 +0000)]
Versioning.

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

8 years agoAbandoned Memory: SVGFontElement and Corresponding SVGDocument Never Deconstructed
rniwa@webkit.org [Thu, 24 Jan 2013 19:18:22 +0000 (19:18 +0000)]
Abandoned Memory: SVGFontElement and Corresponding SVGDocument Never Deconstructed
https://bugs.webkit.org/show_bug.cgi?id=66438

Reviewed by Dirk Schulze.

The memory leak was caused by SVGFontFaceElement storing its own parent in a RefPtr.

Fixed the bug by storing a raw pointer instead, and clearing the pointer in removedFrom
when the node detached from the document. Also added several sanity check assertions.

* svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::SVGFontFaceElement):
(WebCore::SVGFontFaceElement::associatedFontElement):
(WebCore::SVGFontFaceElement::rebuildFontFace):
(WebCore::SVGFontFaceElement::insertedInto):
(WebCore::SVGFontFaceElement::removedFrom):
* svg/SVGFontFaceElement.h:
(SVGFontFaceElement):

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

8 years agoStipulate build order between WTFGenerated and WTF
bfulgham@webkit.org [Thu, 24 Jan 2013 19:07:59 +0000 (19:07 +0000)]
Stipulate build order between WTFGenerated and WTF
https://bugs.webkit.org/show_bug.cgi?id=107844

Reviewed by Tim Horton.

* WTF.vcxproj/WTF.vcxproj: Use VS2010 project dependency
declaration so WTF depends on a completed WTFGenerated build.

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

8 years agoGet WTF compiling in VS2010 (32bit)
bfulgham@webkit.org [Thu, 24 Jan 2013 18:48:35 +0000 (18:48 +0000)]
Get WTF compiling in VS2010 (32bit)
https://bugs.webkit.org/show_bug.cgi?id=106986

Reviewed by Tim Horton.

If you do not have Cygwin in the overall operating system
PATH, the project will not build.  In VS2005 we had logic
in the build system to guard against this.  We should
retain this in the VS2010 work.

Furthermore, VS2010 has a nasty bug where to Visual Studio
tools path is not defined when performing a 'clean' phase
on an NMAKE-based build.  This is corrected here as well.

* win/tools/vsprops/common.props: Revise environment setup
to ensure proper tools are in path during build.

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

8 years agoInline Containing Only Collapsed Whitespace Not Getting a Linebox
robert@webkit.org [Thu, 24 Jan 2013 18:46:11 +0000 (18:46 +0000)]
Inline Containing Only Collapsed Whitespace Not Getting a Linebox
https://bugs.webkit.org/show_bug.cgi?id=31397

Reviewed by David Hyatt.

Source/WebCore:

Treat inlines containing only collapsed whitespace as empty. This allows them
to get a linebox.

Test: fast/inline/inline-containing-collapsed-whitespace-treated-as-empty.html

* dom/Position.cpp:
(WebCore::boundingBoxLogicalHeight):
(WebCore):
(WebCore::Position::hasRenderedNonAnonymousDescendantsWithHeight):
* rendering/InlineIterator.h:
(WebCore::isEmptyInline):
(WebCore):
(WebCore::bidiNextShared):
(WebCore::bidiFirstSkippingEmptyInlines):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::alwaysRequiresLineBox):
(WebCore::requiresLineBox):
(WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
* rendering/RenderText.cpp:
* rendering/RenderText.h:
(RenderText):

LayoutTests:

* fast/css/first-letter-capitalized-edit-select-crash-expected.txt:
* fast/inline/inline-containing-collapsed-whitespace-treated-as-empty-expected.html: Added.
* fast/inline/inline-containing-collapsed-whitespace-treated-as-empty-vertical-rl-expected.html: Added.
* fast/inline/inline-containing-collapsed-whitespace-treated-as-empty-vertical-rl.html: Added.
* fast/inline/inline-containing-collapsed-whitespace-treated-as-empty.html: Added.
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:

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

8 years ago[EFL][WK2] Use C API inside ewk_favicon_database
christophe.dumez@intel.com [Thu, 24 Jan 2013 18:01:56 +0000 (18:01 +0000)]
[EFL][WK2] Use C API inside ewk_favicon_database
https://bugs.webkit.org/show_bug.cgi?id=107680

Reviewed by Kenneth Rohde Christiansen.

Use C API inside ewk_favicon_database instead of
accessible the C++ classes and violating layering.
We still rely on some C++ methods but this will be
addressed later since there is no equivalent in
the C API and it will require more refactoring.

* UIProcess/API/efl/ewk_context.cpp:
(EwkContext::ensureFaviconDatabase):
* UIProcess/API/efl/ewk_favicon_database.cpp:
(EwkFaviconDatabase::EwkFaviconDatabase):
(EwkFaviconDatabase::~EwkFaviconDatabase):
(EwkFaviconDatabase::iconURLForPageURL):
(EwkFaviconDatabase::iconForPageURL):
(EwkFaviconDatabase::getIconSurfaceSynchronously):
(EwkFaviconDatabase::iconDataReadyForPageURL):
(ewk_favicon_database_async_icon_get):
* UIProcess/API/efl/ewk_favicon_database_private.h:
(EwkFaviconDatabase::create):
(EwkFaviconDatabase):

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

8 years agoWeb Inspector: expand more chunks in DTE
commit-queue@webkit.org [Thu, 24 Jan 2013 17:39:18 +0000 (17:39 +0000)]
Web Inspector: expand more chunks in DTE
https://bugs.webkit.org/show_bug.cgi?id=107698

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-24
Reviewed by Pavel Feldman.

Source/WebCore:

Mock DefaultTextEditor visible area as if it is slightly larger than real one and
do all chunk expandings and repaints based on this new area.

No new tests: no change in behaviour.

* inspector/front-end/DefaultTextEditor.js:
(WebInspector.TextEditorChunkedPanel.prototype.findVisibleChunks):

LayoutTests:

Correct text expectation as we change amount of expanded chunks.

* inspector/editor/text-editor-selection-expected.txt:

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

8 years ago[Qt] Unreviewed gardening. Added platform specific expectation after r140174.
kadam@inf.u-szeged.hu [Thu, 24 Jan 2013 17:18:17 +0000 (17:18 +0000)]
[Qt] Unreviewed gardening. Added platform specific expectation after r140174.
https://bugs.webkit.org/show_bug.cgi?id=107434.

* platform/qt/TestExpectations:
* platform/qt/http/tests/cache/cancel-multiple-post-xhrs-expected.txt: Added after r140174.

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

8 years ago[Qt][WK2] Unreviewed gardening. Skip a failing HTML ref test after r140229.
kadam@inf.u-szeged.hu [Thu, 24 Jan 2013 17:00:13 +0000 (17:00 +0000)]
[Qt][WK2] Unreviewed gardening. Skip a failing HTML ref test after r140229.
https://bugs.webkit.org/show_bug.cgi?id=105390.

* platform/qt-5.0-wk2/TestExpectations:
* platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt: Added after r140593.

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

8 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Thu, 24 Jan 2013 16:31:20 +0000 (16:31 +0000)]
Unreviewed GTK gardening.

Adding failure expectations for accessibility tests that regressed with r140658.

* platform/gtk/TestExpectations:

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

8 years ago[EFL][WK2] Rename EwkViewImpl class to EwkView
mikhail.pozdnyakov@intel.com [Thu, 24 Jan 2013 16:20:52 +0000 (16:20 +0000)]
[EFL][WK2] Rename EwkViewImpl class to EwkView
https://bugs.webkit.org/show_bug.cgi?id=107719

Reviewed by Andreas Kling.

Rename EwkViewImpl class to EwkView, due to ewk view
refactoring plan (https://bugs.webkit.org/show_bug.cgi?id=107662#c1).

* PlatformEfl.cmake:
* UIProcess/API/C/efl/WKView.cpp:
(WKViewCreate):
(WKViewCreateWithFixedLayout):
(WKViewGetPage):
(WKViewCreateSnapshot):
* UIProcess/API/efl/EwkView.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp.
(pageViewMap):
(EwkView::addToPageViewMap):
(EwkView::removeFromPageViewMap):
(EwkView::viewFromPageViewMap):
(EwkView::EwkView):
(EwkView::~EwkView):
(EwkView::smartData):
(EwkView::fromEvasObject):
(EwkView::wkPage):
(EwkView::setCursor):
(EwkView::setDeviceScaleFactor):
(EwkView::deviceScaleFactor):
(EwkView::transformFromScene):
(EwkView::transformToScene):
(EwkView::transformToScreen):
(EwkView::layerTreeRenderer):
(EwkView::displayTimerFired):
(EwkView::update):
(EwkView::enterFullScreen):
(EwkView::exitFullScreen):
(EwkView::windowGeometry):
(EwkView::setWindowGeometry):
(EwkView::setImageData):
(EwkView::size):
(EwkView::isFocused):
(EwkView::isVisible):
(EwkView::title):
(EwkView::inputMethodContext):
(EwkView::themePath):
(EwkView::setThemePath):
(EwkView::customTextEncodingName):
(EwkView::setCustomTextEncodingName):
(EwkView::setMouseEventsEnabled):
(EwkView::setTouchEventsEnabled):
(EwkView::informIconChange):
(EwkView::createGLSurface):
(EwkView::enterAcceleratedCompositingMode):
(EwkView::exitAcceleratedCompositingMode):
(EwkView::requestColorPicker):
(EwkView::dismissColorPicker):
(EwkView::showContextMenu):
(EwkView::hideContextMenu):
(EwkView::requestPopupMenu):
(EwkView::closePopupMenu):
(EwkView::requestJSAlertPopup):
(EwkView::requestJSConfirmPopup):
(EwkView::requestJSPromptPopup):
(EwkView::informDatabaseQuotaReached):
(EwkView::informURLChange):
(EwkView::windowFeatures):
(EwkView::createNewPage):
(EwkView::close):
(EwkView::onMouseDown):
(EwkView::onMouseUp):
(EwkView::onMouseMove):
(EwkView::feedTouchEvents):
(EwkView::onTouchDown):
(EwkView::onTouchUp):
(EwkView::onTouchMove):
(EwkView::onFaviconChanged):
(EwkView::takeSnapshot):
* UIProcess/API/efl/EwkView.h: Renamed from Source/WebKit2/UIProcess/API/efl/EwkViewImpl.h.
(WebKit):
(WebCore):
(EwkView):
(EwkView::view):
(EwkView::page):
(EwkView::ewkContext):
(EwkView::settings):
(EwkView::backForwardList):
(EwkView::url):
(EwkView::faviconURL):
(EwkView::mouseEventsEnabled):
(EwkView::touchEventsEnabled):
(EwkView::setNeedsSurfaceResize):
(EwkView::smartCallback):
(EwkView::pageClient):
(EwkView::setPageScaleFactor):
(EwkView::pageScaleFactor):
(EwkView::setPagePosition):
(EwkView::pagePosition):
(EwkView::isHardwareAccelerated):
(EwkView::setDrawsBackground):
(EwkView::evasGLContext):
(EwkView::evasGLSurface):
* UIProcess/API/efl/ewk_context_menu.cpp:
(EwkContextMenu::EwkContextMenu):
* UIProcess/API/efl/ewk_context_menu_private.h:
(EwkContextMenu::create):
(EwkContextMenu):
* UIProcess/API/efl/ewk_download_job.cpp:
(EwkDownloadJob::EwkDownloadJob):
(EwkDownloadJob::view):
* UIProcess/API/efl/ewk_download_job_private.h:
(EwkDownloadJob::create):
(EwkDownloadJob):
* UIProcess/API/efl/ewk_popup_menu.cpp:
(EwkPopupMenu::EwkPopupMenu):
(EwkPopupMenu::close):
* UIProcess/API/efl/ewk_popup_menu_private.h:
(EwkPopupMenu::create):
(EwkPopupMenu):
* UIProcess/API/efl/ewk_settings.cpp:
(EwkSettings::preferences):
* UIProcess/API/efl/ewk_settings_private.h:
(EwkSettings::create):
(EwkSettings::EwkSettings):
(EwkSettings):
* UIProcess/API/efl/ewk_view.cpp:
(createEwkView):
(ewk_view_base_add):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/ewk_view_private.h:
* UIProcess/API/efl/ewk_window_features.cpp:
(EwkWindowFeatures::EwkWindowFeatures):
(EwkWindowFeatures::setToolbarVisible):
(EwkWindowFeatures::setStatusBarVisible):
(EwkWindowFeatures::setMenuBarVisible):
(EwkWindowFeatures::setResizable):
* UIProcess/API/efl/ewk_window_features_private.h:
(EwkWindowFeatures::create):
(EwkWindowFeatures):
* UIProcess/cairo/BackingStoreCairo.cpp:
(WebKit::BackingStore::incorporateUpdate):
* UIProcess/efl/ContextHistoryClientEfl.cpp:
(WebKit::ContextHistoryClientEfl::didNavigateWithNavigationData):
(WebKit::ContextHistoryClientEfl::didPerformClientRedirect):
(WebKit::ContextHistoryClientEfl::didPerformServerRedirect):
(WebKit::ContextHistoryClientEfl::didUpdateHistoryTitle):
* UIProcess/efl/ContextMenuClientEfl.cpp:
(ContextMenuClientEfl::ContextMenuClientEfl):
* UIProcess/efl/ContextMenuClientEfl.h:
(WebKit::ContextMenuClientEfl::create):
(ContextMenuClientEfl):
* UIProcess/efl/DownloadManagerEfl.cpp:
(WebKit::DownloadManagerEfl::decideDestinationWithSuggestedFilename):
(WebKit::DownloadManagerEfl::didFail):
(WebKit::DownloadManagerEfl::didCancel):
(WebKit::DownloadManagerEfl::didFinish):
(WebKit::DownloadManagerEfl::registerDownload):
* UIProcess/efl/DownloadManagerEfl.h:
(DownloadManagerEfl):
* UIProcess/efl/FindClientEfl.cpp:
(WebKit::FindClientEfl::didFindString):
(WebKit::FindClientEfl::didFailToFindString):
(WebKit::FindClientEfl::FindClientEfl):
* UIProcess/efl/FindClientEfl.h:
(WebKit::FindClientEfl::create):
(FindClientEfl):
* UIProcess/efl/FormClientEfl.cpp:
(WebKit::FormClientEfl::willSubmitForm):
(WebKit::FormClientEfl::FormClientEfl):
* UIProcess/efl/FormClientEfl.h:
(WebKit::FormClientEfl::create):
(FormClientEfl):
* UIProcess/efl/InputMethodContextEfl.cpp:
(WebKit::InputMethodContextEfl::InputMethodContextEfl):
(WebKit::InputMethodContextEfl::onIMFInputSequenceComplete):
(WebKit::InputMethodContextEfl::onIMFPreeditSequenceChanged):
(WebKit::InputMethodContextEfl::updateTextInputState):
* UIProcess/efl/InputMethodContextEfl.h:
(WebKit::InputMethodContextEfl::create):
(InputMethodContextEfl):
* UIProcess/efl/PageClientBase.cpp:
(WebKit::PageClientBase::PageClientBase):
(WebKit::PageClientBase::view):
(WebKit::PageClientBase::createDrawingAreaProxy):
(WebKit::PageClientBase::setViewNeedsDisplay):
(WebKit::PageClientBase::viewSize):
(WebKit::PageClientBase::isViewFocused):
(WebKit::PageClientBase::isViewVisible):
(WebKit::PageClientBase::processDidCrash):
(WebKit::PageClientBase::didRelaunchProcess):
(WebKit::PageClientBase::toolTipChanged):
(WebKit::PageClientBase::setCursor):
(WebKit::PageClientBase::createPopupMenuProxy):
(WebKit::PageClientBase::createContextMenuProxy):
(WebKit::PageClientBase::enterAcceleratedCompositingMode):
(WebKit::PageClientBase::exitAcceleratedCompositingMode):
(WebKit::PageClientBase::updateTextInputState):
(WebKit::PageClientBase::handleDownloadRequest):
* UIProcess/efl/PageClientBase.h:
(PageClientBase):
* UIProcess/efl/PageClientDefaultImpl.cpp:
(WebKit::PageClientDefaultImpl::PageClientDefaultImpl):
(WebKit::PageClientDefaultImpl::updateViewportSize):
(WebKit::PageClientDefaultImpl::convertToDeviceSpace):
(WebKit::PageClientDefaultImpl::convertToUserSpace):
(WebKit::PageClientDefaultImpl::didChangeContentsSize):
* UIProcess/efl/PageClientDefaultImpl.h:
(WebKit::PageClientDefaultImpl::create):
(PageClientDefaultImpl):
* UIProcess/efl/PageClientLegacyImpl.cpp:
(WebKit::PageClientLegacyImpl::PageClientLegacyImpl):
(WebKit::PageClientLegacyImpl::didCommitLoad):
(WebKit::PageClientLegacyImpl::updateViewportSize):
(WebKit::PageClientLegacyImpl::didChangeViewportProperties):
(WebKit::PageClientLegacyImpl::didChangeContentsSize):
(WebKit::PageClientLegacyImpl::pageDidRequestScroll):
(WebKit::PageClientLegacyImpl::didRenderFrame):
(WebKit::PageClientLegacyImpl::pageTransitionViewportReady):
* UIProcess/efl/PageClientLegacyImpl.h:
(WebKit::PageClientLegacyImpl::create):
(PageClientLegacyImpl):
* UIProcess/efl/PageLoadClientEfl.cpp:
(WebKit::PageLoadClientEfl::didReceiveTitleForFrame):
(WebKit::PageLoadClientEfl::didReceiveIntentForFrame):
(WebKit::PageLoadClientEfl::registerIntentServiceForFrame):
(WebKit::PageLoadClientEfl::didChangeProgress):
(WebKit::PageLoadClientEfl::didFinishLoadForFrame):
(WebKit::PageLoadClientEfl::didFailLoadWithErrorForFrame):
(WebKit::PageLoadClientEfl::didStartProvisionalLoadForFrame):
(WebKit::PageLoadClientEfl::didReceiveServerRedirectForProvisionalLoadForFrame):
(WebKit::PageLoadClientEfl::didFailProvisionalLoadWithErrorForFrame):
(WebKit::PageLoadClientEfl::didCommitLoadForFrame):
(WebKit::PageLoadClientEfl::didChangeBackForwardList):
(WebKit::PageLoadClientEfl::didSameDocumentNavigationForFrame):
(WebKit::PageLoadClientEfl::didReceiveAuthenticationChallengeInFrame):
(WebKit::PageLoadClientEfl::PageLoadClientEfl):
* UIProcess/efl/PageLoadClientEfl.h:
(WebKit::PageLoadClientEfl::create):
(PageLoadClientEfl):
(WebKit::PageLoadClientEfl::view):
* UIProcess/efl/PagePolicyClientEfl.cpp:
(WebKit::PagePolicyClientEfl::decidePolicyForNavigationAction):
(WebKit::PagePolicyClientEfl::decidePolicyForNewWindowAction):
(WebKit::PagePolicyClientEfl::PagePolicyClientEfl):
* UIProcess/efl/PagePolicyClientEfl.h:
(WebKit::PagePolicyClientEfl::create):
(PagePolicyClientEfl):
* UIProcess/efl/PageUIClientEfl.cpp:
(WebKit::PageUIClientEfl::PageUIClientEfl):
(WebKit::PageUIClientEfl::close):
(WebKit::PageUIClientEfl::takeFocus):
(WebKit::PageUIClientEfl::focus):
(WebKit::PageUIClientEfl::unfocus):
(WebKit::PageUIClientEfl::runJavaScriptAlert):
(WebKit::PageUIClientEfl::runJavaScriptConfirm):
(WebKit::PageUIClientEfl::runJavaScriptPrompt):
(WebKit::PageUIClientEfl::toolbarsAreVisible):
(WebKit::PageUIClientEfl::setToolbarsAreVisible):
(WebKit::PageUIClientEfl::menuBarIsVisible):
(WebKit::PageUIClientEfl::setMenuBarIsVisible):
(WebKit::PageUIClientEfl::statusBarIsVisible):
(WebKit::PageUIClientEfl::setStatusBarIsVisible):
(WebKit::PageUIClientEfl::isResizable):
(WebKit::PageUIClientEfl::setIsResizable):
(WebKit::PageUIClientEfl::getWindowFrame):
(WebKit::PageUIClientEfl::setWindowFrame):
(WebKit::PageUIClientEfl::exceededDatabaseQuota):
(WebKit::PageUIClientEfl::runOpenPanel):
(WebKit::PageUIClientEfl::createNewPage):
(WebKit::PageUIClientEfl::showColorPicker):
(WebKit::PageUIClientEfl::hideColorPicker):
* UIProcess/efl/PageUIClientEfl.h:
(WebKit::PageUIClientEfl::create):
(PageUIClientEfl):
* UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::PageViewportControllerClientEfl):
(WebKit::PageViewportControllerClientEfl::drawingArea):
(WebKit::PageViewportControllerClientEfl::updateViewportSize):
(WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
(WebKit::PageViewportControllerClientEfl::setViewportPosition):
(WebKit::PageViewportControllerClientEfl::setPageScaleFactor):
(WebKit::PageViewportControllerClientEfl::didResumeContent):
(WebKit::PageViewportControllerClientEfl::didChangeVisibleContents):
* UIProcess/efl/PageViewportControllerClientEfl.h:
(WebKit::PageViewportControllerClientEfl::create):
(PageViewportControllerClientEfl):
* UIProcess/efl/VibrationClientEfl.cpp:
(VibrationClientEfl::vibrateCallback):
(VibrationClientEfl::cancelVibrationCallback):
(VibrationClientEfl::create):
(VibrationClientEfl::VibrationClientEfl):
(VibrationClientEfl::~VibrationClientEfl):
* UIProcess/efl/VibrationClientEfl.h:
(VibrationClientEfl):
* UIProcess/efl/WebContextMenuProxyEfl.cpp:
(WebKit::WebContextMenuProxyEfl::WebContextMenuProxyEfl):
(WebKit::WebContextMenuProxyEfl::showContextMenu):
(WebKit::WebContextMenuProxyEfl::hideContextMenu):
* UIProcess/efl/WebContextMenuProxyEfl.h:
(WebKit::WebContextMenuProxyEfl::create):
(WebContextMenuProxyEfl):
* UIProcess/efl/WebFullScreenManagerProxyEfl.cpp:
(WebKit::WebFullScreenManagerProxy::enterFullScreen):
(WebKit::WebFullScreenManagerProxy::exitFullScreen):
* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage):
* UIProcess/efl/WebPageProxyEfl.cpp:
(WebKit::WebPageProxy::viewWidget):
* UIProcess/efl/WebPopupMenuProxyEfl.cpp:
(WebKit::WebPopupMenuProxyEfl::WebPopupMenuProxyEfl):
(WebKit::WebPopupMenuProxyEfl::showPopupMenu):
(WebKit::WebPopupMenuProxyEfl::hidePopupMenu):
* UIProcess/efl/WebPopupMenuProxyEfl.h:
(WebKit::WebPopupMenuProxyEfl::create):
(WebPopupMenuProxyEfl):

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

8 years ago[GStreamer] Implement setPreservesPitch()
commit-queue@webkit.org [Thu, 24 Jan 2013 16:16:42 +0000 (16:16 +0000)]
[GStreamer] Implement setPreservesPitch()
https://bugs.webkit.org/show_bug.cgi?id=31155

Enables audio pitch preservation by using the scaletempo GStreamer
element when required by the MediaPlayer.

Patch by Victor Jaquez <vjaquez@igalia.com> on 2013-01-24
Reviewed by Philippe Normand.

No new tests, but a layout test shall be implemented at some point
using WebAudio API.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::setPreservesPitch):
(WebCore):
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
(MediaPlayerPrivateGStreamer):

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

8 years agoRemove nonexistent header from WebKit2/Target.pri
abecsi@webkit.org [Thu, 24 Jan 2013 16:08:51 +0000 (16:08 +0000)]
Remove nonexistent header from WebKit2/Target.pri

Unreviewed cleanup after r139919.

* Target.pri:

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

8 years agoRemoving deleted files from WebCore/Target.pri after r140399.
commit-queue@webkit.org [Thu, 24 Jan 2013 15:48:52 +0000 (15:48 +0000)]
Removing deleted files from WebCore/Target.pri after r140399.
https://bugs.webkit.org/show_bug.cgi?id=107815

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2013-01-24
Reviewed by Csaba Osztrogon√°c.

* Target.pri:

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

8 years ago[BlackBerry] It can't Select texts in main frame when the current focus is in a IFrame
commit-queue@webkit.org [Thu, 24 Jan 2013 14:46:55 +0000 (14:46 +0000)]
[BlackBerry] It can't Select texts in main frame when the current focus is in a IFrame
https://bugs.webkit.org/show_bug.cgi?id=107773

Patch by Sean Wang <Xuewen.Wang@torchmobile.com.cn> on 2013-01-24
Reviewed by Antonio Gomes.

PR285211 Internally reviewed by Genevieve Mak

When touch hold in the unfocused frame, it doesn't switch frame focus. Many
places in code depends on the webpage->forcusOrMainFrame(), including the
SelectionHandler, so it can't select in an unfocused frame. This patch switchs
frame focus when touch starts.

* WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::TouchEventHandler::doFatFingers):

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

8 years agoTry to fix the Qt Windows build
mrobinson@webkit.org [Thu, 24 Jan 2013 14:43:11 +0000 (14:43 +0000)]
Try to fix the Qt Windows build

* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::decodeNamedEntity): Use a reinterpret_cast to const QChar* like StringQt.cpp.

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

8 years agoWeb Inspector: [Canvas] REGRESSION: stack traces in the replay log are gone
aandrey@chromium.org [Thu, 24 Jan 2013 14:14:21 +0000 (14:14 +0000)]
Web Inspector: [Canvas] REGRESSION: stack traces in the replay log are gone
https://bugs.webkit.org/show_bug.cgi?id=107805

Reviewed by Pavel Feldman.

Source/WebCore:

The V8's Error.prepareStackTrace is now called from the Error.captureStackTrace
function instead of the "stack" getter function.

Test: inspector/profiler/canvas2d/canvas-stack-trace.html

* inspector/InjectedScriptCanvasModuleSource.js:
(.):

LayoutTests:

A simple test to dump a canvas 2D trace log with function call stack traces.

* inspector/profiler/canvas-profiler-test.js:
(initialize_CanvasWebGLProfilerTest.):
(initialize_CanvasWebGLProfilerTest.InspectorTest.dumpTraceLog):
* inspector/profiler/canvas2d/canvas-stack-trace-expected.txt: Added.
* inspector/profiler/canvas2d/canvas-stack-trace.html: Added.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

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

8 years agoWeb Inspector: [Canvas] UI: add a selector to capture a single canvas frame vs consec...
aandrey@chromium.org [Thu, 24 Jan 2013 13:42:53 +0000 (13:42 +0000)]
Web Inspector: [Canvas] UI: add a selector to capture a single canvas frame vs consecutive frames
https://bugs.webkit.org/show_bug.cgi?id=107688

Reviewed by Pavel Feldman.

Allow capturing several canvas frames in a row.

* English.lproj/localizedStrings.js:
* inspector/InjectedScriptCanvasModule.cpp:
(WebCore::InjectedScriptCanvasModule::traceLog):
* inspector/InjectedScriptCanvasModule.h:
(InjectedScriptCanvasModule):
* inspector/InjectedScriptCanvasModuleSource.js:
(.):
* inspector/Inspector.json:
* inspector/InspectorCanvasAgent.cpp:
(WebCore::InspectorCanvasAgent::getTraceLog):
* inspector/InspectorCanvasAgent.h:
(InspectorCanvasAgent):
* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype._didReceiveTraceLog):
(WebInspector.CanvasProfileView.prototype._requestTraceLog):
(WebInspector.CanvasProfileType):
(WebInspector.CanvasProfileType.prototype.get statusBarItems):
(WebInspector.CanvasProfileType.prototype.get buttonTooltip):
(WebInspector.CanvasProfileType.prototype.buttonClicked):
(WebInspector.CanvasProfileType.prototype._runSingleFrameCapturing):
(WebInspector.CanvasProfileType.prototype._startFrameCapturing):
(WebInspector.CanvasProfileType.prototype._stopFrameCapturing.didStopCapturing):
(WebInspector.CanvasProfileType.prototype._stopFrameCapturing):
(WebInspector.CanvasProfileType.prototype._didStartCapturingFrame):
(WebInspector.CanvasProfileType.prototype.setRecordingProfile):
(WebInspector.CanvasProfileType.prototype._isSingleFrameMode):
(WebInspector.CanvasProfileHeader):
(WebInspector.CanvasProfileHeader.prototype._updateCapturingStatus):
(WebInspector.CanvasProfileHeader.prototype._requestCapturingStatus):
* inspector/front-end/ProfileLauncherView.js:
(WebInspector.ProfileLauncherView):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfileType.prototype.get statusBarItems):
(WebInspector.ProfilesPanel):
(WebInspector.ProfilesPanel.prototype.get statusBarItems):
(WebInspector.ProfilesPanel.prototype._onProfileTypeSelected):
(WebInspector.ProfilesPanel.prototype._reset):
(WebInspector.ProfilesPanel.prototype._showLauncherView):
(WebInspector.ProfilesPanel.prototype.showProfile):
(WebInspector.ProfilesPanel.prototype._updateInterface):
(WebInspector.ProfilesPanel.prototype._resize):

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

8 years agoAdd CSSSelectorList::isValid().
akling@apple.com [Thu, 24 Jan 2013 13:14:04 +0000 (13:14 +0000)]
Add CSSSelectorList::isValid().
<http://webkit.org/b/107809>

Reviewed by Antti Koivisto.

Add an isValid() method to CSSSelectorList and use that where applicable instead of checking
if first() is a null pointer.

* css/CSSPageRule.cpp:
(WebCore::CSSPageRule::setSelectorText):
* css/CSSSelectorList.cpp:
* css/CSSSelectorList.h:
(WebCore::CSSSelectorList::isValid):
(WebCore::CSSSelectorList::first):
(CSSSelectorList):
* css/CSSStyleRule.cpp:
(WebCore::CSSStyleRule::setSelectorText):
* html/shadow/HTMLContentElement.cpp:
(WebCore::HTMLContentElement::validateSelect):
* inspector/InspectorStyleSheet.cpp:
(WebCore::checkStyleRuleSelector):

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

8 years ago[Qt][WK2] Pages / resources cannot be loaded from qrc files.
michael.bruning@digia.com [Thu, 24 Jan 2013 12:25:19 +0000 (12:25 +0000)]
[Qt][WK2] Pages / resources cannot be loaded from qrc files.
https://bugs.webkit.org/show_bug.cgi?id=107031

Reviewed by Jocelyn Turcotte.

Enables WebKit2 Qt applications to load files from the bundled
qrc files. This is achieved by adding a url scheme handler for
the "qrc" scheme using the application scheme handler and ignoring
all handlers for the qrc application scheme that the application might
set.

* UIProcess/API/qt/qquickurlschemedelegate.cpp:
(QQuickQrcSchemeDelegate::QQuickQrcSchemeDelegate):
(QQuickQrcSchemeDelegate::readResourceAndSend):
* UIProcess/API/qt/qquickurlschemedelegate_p.h:
(QQuickQrcSchemeDelegate):
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::initialize):
(QQuickWebViewExperimental::schemeDelegates_Append):
(QQuickWebViewExperimental::invokeApplicationSchemeHandler):
* UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml:
* UIProcess/API/qt/tests/qmltests/common/qrctest.html: Added.
* UIProcess/API/qt/tests/qmltests/resources.qrc:

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

8 years ago[Qt] Webkit debug build links against release binaries of ANGLE libEGL, libGLESv2
michael.bruning@digia.com [Thu, 24 Jan 2013 12:19:50 +0000 (12:19 +0000)]
[Qt] Webkit debug build links against release binaries of ANGLE libEGL, libGLESv2
https://bugs.webkit.org/show_bug.cgi?id=106217

Patch by Kai Koehne <kai.koehne@digia.com> on 2013-01-24
Reviewed by Jocelyn Turcotte.

Use libEGLd, libEGLSv2d if qtbase was compiled with ANGLE.

* WebCore.pri: Mirror logic of qtbase\mkspecs\features\win32\opengl.prf

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

8 years agoAdding "has-landed" command to webkit-patch which compares a
commit-queue@webkit.org [Thu, 24 Jan 2013 12:19:37 +0000 (12:19 +0000)]
Adding "has-landed" command to webkit-patch which compares a
committed patch to the changes which exist locally (ignoring the
ChangeLog file).

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

Patch by Tim 'mithro' Ansell <mithro@mithis.com> on 2013-01-24
Reviewed by Eric Seidel.

* Scripts/webkitpy/common/checkout/diff_parser.py:
(git_diff_to_svn_diff):
* Scripts/webkitpy/common/net/bugzilla/bug.py:
(Bug.commit_revision):
* Scripts/webkitpy/common/net/bugzilla/bug_unittest.py:
(BugTest.test_is_in_comments):
(BugTest):
(BugTest.test_commit_revision):
* Scripts/webkitpy/tool/commands/upload.py:
(HasLanded):
* Scripts/webkitpy/tool/steps/__init__.py:
* Scripts/webkitpy/tool/steps/haslanded.py: Added.
(HasLanded):
(HasLanded.convert_to_svn):
(HasLanded.strip_change_log):
(run):

* Scripts/webkitpy/common/net/bugzilla/bug.py:
(Bug.commit_revision):
* Scripts/webkitpy/common/net/bugzilla/bug_unittest.py:
(BugTest.test_is_in_comments):
(BugTest):
(BugTest.test_commit_revision):
* Scripts/webkitpy/tool/commands/upload.py:
(HasLanded):
* Scripts/webkitpy/tool/steps/__init__.py:
* Scripts/webkitpy/tool/steps/haslanded.py: Added.
(HasLanded):
(HasLanded.convert_to_svn):
(HasLanded.strip_change_log):
(HasLanded.diff_diff):
(HasLanded.run):
* Scripts/webkitpy/tool/steps/haslanded_unittest.py: Added.
(HasLandedTest):
(HasLandedTest.test_run):
(test_convert_to_svn_and_strip_change_log):

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

8 years agoUnreviewed cleanup of comments and a commented test.
alexis@webkit.org [Thu, 24 Jan 2013 11:48:09 +0000 (11:48 +0000)]
Unreviewed cleanup of comments and a commented test.

* transitions/transitions-parsing.html:

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

8 years ago[GTK] Unreviewed build fix.
sergio@webkit.org [Thu, 24 Jan 2013 11:47:01 +0000 (11:47 +0000)]
[GTK] Unreviewed build fix.

Do not include the header file WebKitDOMPerformanceEntryList.h in
the build sources because we do not want the DOM bindings
generator to include it in webkitdomdefes.h twice.

* bindings/gobject/GNUmakefile.am:

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

8 years agoFix Qt build (KO since r140610), typo error for QString::fromUtf16 function.
commit-queue@webkit.org [Thu, 24 Jan 2013 11:25:52 +0000 (11:25 +0000)]
Fix Qt build (KO since r140610), typo error for QString::fromUtf16 function.
https://bugs.webkit.org/show_bug.cgi?id=107803

Patch by Julien BRIANCEAU <jbrianceau@nds.com> on 2013-01-24
Reviewed by Andreas Kling.

* xml/parser/XMLDocumentParserQt.cpp:
(WebCore::decodeNamedEntity):

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

8 years agoUnreviewed gardening.
zandobersek@gmail.com [Thu, 24 Jan 2013 10:45:28 +0000 (10:45 +0000)]
Unreviewed gardening.

Removing failure expectations for the ietestcenter/css3/valuesandunits/units-010.htm
layout test. It was fixed in r140300.

* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt-4.8/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:

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

8 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Thu, 24 Jan 2013 10:41:11 +0000 (10:41 +0000)]
Unreviewed GTK gardening.

Classifying some IndexedDB failures as flaky.
Removing the expectation for the passing fast/forms/text-input-event.html test.

* platform/gtk/TestExpectations:

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

8 years ago[chromium] move most WebViewHost printf calls to WebTestProxy
commit-queue@webkit.org [Thu, 24 Jan 2013 10:12:56 +0000 (10:12 +0000)]
[chromium] move most WebViewHost printf calls to WebTestProxy
https://bugs.webkit.org/show_bug.cgi?id=107553

Patch by Dan Carney <dcarney@google.com> on 2013-01-24
Reviewed by Jochen Eisinger.

* DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
(WebKit):
(WebTestProxyBase):
(WebTestRunner::WebTestProxy::unableToImplementPolicyWithError):
(WebTestRunner::WebTestProxy::didAddMessageToConsole):
(WebTestRunner::WebTestProxy::runModalAlertDialog):
(WebTestRunner::WebTestProxy::runModalConfirmDialog):
(WebTestRunner::WebTestProxy::runModalPromptDialog):
(WebTestRunner::WebTestProxy::runModalBeforeUnloadDialog):
* DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
(WebTestRunner::WebTestProxyBase::WebTestProxyBase):
(WebTestRunner::WebTestProxyBase::reset):
(WebTestRunner::WebTestProxyBase::setLogConsoleOutput):
(WebTestRunner):
(WebTestRunner::WebTestProxyBase::unableToImplementPolicyWithError):
(WebTestRunner::WebTestProxyBase::didAddMessageToConsole):
(WebTestRunner::WebTestProxyBase::runModalAlertDialog):
(WebTestRunner::WebTestProxyBase::runModalConfirmDialog):
(WebTestRunner::WebTestProxyBase::runModalPromptDialog):
(WebTestRunner::WebTestProxyBase::runModalBeforeUnloadDialog):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::showDevTools):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::didAddMessageToConsole):
(WebViewHost::runModalAlertDialog):
(WebViewHost::runModalConfirmDialog):
(WebViewHost::runModalPromptDialog):
(WebViewHost::runModalBeforeUnloadDialog):
(WebViewHost::unableToImplementPolicyWithError):
(WebViewHost::reset):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):

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

8 years ago[EFL][WK2] Expose accessibility hierarchy in WebKit2-EFL.
commit-queue@webkit.org [Thu, 24 Jan 2013 10:11:51 +0000 (10:11 +0000)]
[EFL][WK2] Expose accessibility hierarchy in WebKit2-EFL.
https://bugs.webkit.org/show_bug.cgi?id=106216

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-01-24
Reviewed by Andreas Kling.

Create WebPage's accessibility object on WebPage initialization.
Wrap around WebCore's accessibility objects.
Updating accessibility hierarchy. Expands accessibility implementation
of WebKit-GTK to be used in EFL.

* PlatformEfl.cmake:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
* WebProcess/WebPage/WebPage.h:
(WebPage):
* WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
(webPageAccessibilityObjectGetIndexInParent):
(web_page_accessibility_object_init):
* WebProcess/WebPage/efl/WebPageEfl.cpp:
(WebKit::WebPage::platformInitialize):
(WebKit):
(WebKit::WebPage::updateAccessibilityTree):

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

8 years agoWeb Inspector: breakpoints are not restored upon reload for scripts with script mapping.
pfeldman@chromium.org [Thu, 24 Jan 2013 09:20:21 +0000 (09:20 +0000)]
Web Inspector: breakpoints are not restored upon reload for scripts with script mapping.
https://bugs.webkit.org/show_bug.cgi?id=107799

Source/WebCore:

The problem is that source mapping is set after UISourceCode gets into the workspace.
Breakpoint manager will now only restore breakpoints upon setting the source maps.

Reviewed by Alexander Pavlov.

* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype._uiSourceCodeAdded):
(WebInspector.BreakpointManager.prototype._uiSourceCodeMappingChanged):
* inspector/front-end/CompilerScriptMapping.js:
(WebInspector.CompilerScriptMapping.prototype.get addScript.get this):
(WebInspector.CompilerScriptMapping.prototype.get addScript):

LayoutTests:

Reviewed by Alexander Pavlov.

* inspector/debugger/breakpoint-manager.html:

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

8 years agoRefactoring: Use AtomicString for an InputType::create argument
tkent@chromium.org [Thu, 24 Jan 2013 09:07:36 +0000 (09:07 +0000)]
Refactoring: Use AtomicString for an InputType::create argument
https://bugs.webkit.org/show_bug.cgi?id=107791

Reviewed by Kentaro Hara.

A string passed to InputType::create is a 'type' attribute value, which
is an AtomicString. Also, InputTypeFactoryMap is created with members of
InputTypeName, which are AtomicStrings. We had better use AtomicStrings
for them.

No new tests. This is just a refactoring.

* html/InputType.cpp:
Change the key type of InputTypeFactoryMap from String to AtomicString.
(WebCore::InputType::create):
Change an argument type from const String& to const AtomicString&.
* html/InputType.h:
(InputType): Ditto.

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

8 years ago[CSSRegions] Add test cases for auto-size regions and window resize
mihnea@adobe.com [Thu, 24 Jan 2013 09:00:59 +0000 (09:00 +0000)]
[CSSRegions] Add test cases for auto-size regions and window resize
https://bugs.webkit.org/show_bug.cgi?id=107686

Reviewed by Tony Chang.

The fix for https://bugs.webkit.org/show_bug.cgi?id=102954 also solved
https://bugs.webkit.org/show_bug.cgi?id=102221. This patch adds two tests
for webkit bug 102221.

* fast/regions/autosize-region-container-resize-expected.html: Added.
* fast/regions/autosize-region-container-resize.html: Added.
* fast/regions/autosize-region-window-resize-expected.html: Added.
* fast/regions/autosize-region-window-resize.html: Added.

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

8 years ago[CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in Source/WebKit...
commit-queue@webkit.org [Thu, 24 Jan 2013 08:55:44 +0000 (08:55 +0000)]
[CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in Source/WebKit/chromium/public/WebSettings.h
https://bugs.webkit.org/show_bug.cgi?id=104564

Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-01-24
Reviewed by Adam Barth.

Fixing bug 101192 has deprecated the use of setExperimentalCSSRegionsEnabled.
After http://code.google.com/p/chromium/issues/detail?id=164162 , setExperimentalCSSRegionsEnabled is no longer used anywhere.

* public/WebSettings.h:
removed setExperimentalCSSRegionsEnabled.

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

8 years ago[CMake] Remove the definition of WTF_PLATFORM_WIN from the build system
commit-queue@webkit.org [Thu, 24 Jan 2013 08:46:15 +0000 (08:46 +0000)]
[CMake] Remove the definition of WTF_PLATFORM_WIN from the build system
https://bugs.webkit.org/show_bug.cgi?id=101635

Patch by Soo-Hyun Choi <s.choi@hackerslab.eu> on 2013-01-24
Reviewed by Laszlo Gombos.

WTF_PLATFORM_WIN defined twice: Source/cmake/OptionsWindows.cmake and in
Source/WTF/wtf/Platform.h.
It would be more future-proof to have it only defined in common C++ code in
Platform.h.

* Source/cmake/OptionsWindows.cmake:

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

8 years agoUnreviewed. Build fix.
haraken@chromium.org [Thu, 24 Jan 2013 08:41:03 +0000 (08:41 +0000)]
Unreviewed. Build fix.

* bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::isDOMWrapper):

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

8 years agoAX: Fix the debug build after r140658. (Constructor initializer order.)
akling@apple.com [Thu, 24 Jan 2013 08:39:17 +0000 (08:39 +0000)]
AX: Fix the debug build after r140658. (Constructor initializer order.)

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::AccessibilityNodeObject):

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

8 years agoThere are a few of wrong removeAllChildren() call
morrita@google.com [Thu, 24 Jan 2013 08:23:16 +0000 (08:23 +0000)]
There are a few of wrong removeAllChildren() call
https://bugs.webkit.org/show_bug.cgi?id=107790

Reviewed by Ryosuke Niwa.

Source/WebCore:

removeAllChildren() is designed for trashing deleting children out.
It doesn't detach() children and could have possible leak.
This change replaces such removeAllChildren() usage with safer removeChildren().

No new tests. Covered by existing tests.

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseAttribute):
* html/InputType.cpp:
(WebCore::InputType::destroyShadowSubtree):
* html/ValidationMessage.cpp:
(WebCore::ValidationMessage::setMessageDOMAndStartTimer):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTag):

Source/WebKit/qt:

* Api/qwebelement.cpp: Repalced removeAllChildren() with safer removeChildren()
(QWebElement::removeAllChildren):

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

8 years agoAX: should init an AXObject only after AXObjectCache has added it
dmazzoni@google.com [Thu, 24 Jan 2013 08:16:00 +0000 (08:16 +0000)]
AX: should init an AXObject only after AXObjectCache has added it
https://bugs.webkit.org/show_bug.cgi?id=107533

Reviewed by Chris Fleizach.

Source/WebCore:

Initialize each AXObject after the AXObjectCache has
finished adding it to its hash maps, so that it's
impossible for initialization of an AXObject to result in
exploring the tree and creating another AXObject instance
that points to the same renderer / node.

Test: accessibility/duplicate-axrenderobject-crash.html

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::getOrCreate):
* accessibility/AccessibilityARIAGrid.cpp:
(WebCore::AccessibilityARIAGrid::create):
* accessibility/AccessibilityARIAGridCell.cpp:
(WebCore::AccessibilityARIAGridCell::create):
* accessibility/AccessibilityARIAGridRow.cpp:
(WebCore::AccessibilityARIAGridRow::create):
* accessibility/AccessibilityList.cpp:
(WebCore::AccessibilityList::create):
* accessibility/AccessibilityListBox.cpp:
(WebCore::AccessibilityListBox::create):
* accessibility/AccessibilityMediaControls.cpp:
(WebCore::AccessibilityMediaControl::create):
(WebCore::AccessibilityMediaControlsContainer::create):
(WebCore::AccessibilityMediaTimeline::create):
(WebCore::AccessibilityMediaTimeDisplay::create):
* accessibility/AccessibilityMenuList.cpp:
(WebCore::AccessibilityMenuList::create):
* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::create):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::init):
(AccessibilityObject):
* accessibility/AccessibilityProgressIndicator.cpp:
(WebCore::AccessibilityProgressIndicator::create):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::create):
(WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
    assert that the object has been initialized
* accessibility/AccessibilitySVGRoot.cpp:
(WebCore::AccessibilitySVGRoot::create):
* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::create):
* accessibility/AccessibilityTable.cpp:
(WebCore::AccessibilityTable::create):
* accessibility/AccessibilityTableCell.cpp:
(WebCore::AccessibilityTableCell::create):
* accessibility/AccessibilityTableRow.cpp:
(WebCore::AccessibilityTableRow::create):

LayoutTests:

Adds a new test that demonstrates a crash if an AXObject
initializes itself before the AXObjectCache has added it to
the cache.

* accessibility/duplicate-axrenderobject-crash-expected.txt: Added.
* accessibility/duplicate-axrenderobject-crash.html: Added.

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

8 years agoImplement MouseEvent constructor
haraken@chromium.org [Thu, 24 Jan 2013 07:42:07 +0000 (07:42 +0000)]
Implement MouseEvent constructor
https://bugs.webkit.org/show_bug.cgi?id=107630

Reviewed by Adam Barth.

Spec: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm

Source/WebCore:

The MouseEvent constructor should be implemented under a DOM4_EVENTS_CONSTRUCTOR flag.
This significantly simplifies JavaScript code to construct a MouseEvent.

Before:
  event = document.createEvent("MouseEvents");
  event.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);

After:
  event = new MouseEvent("click");

Test: fast/events/constructors/mouse-event-constructor.html

* bindings/scripts/CodeGenerator.pm:
(IsSubType):
(IsInheritExtendedAttribute):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateNamedConstructorCallback):
(GenerateImplementation):
* bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore):
(WebCore::V8Float64Array::createWrapper):
* bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
(WebCore):
(WebCore::V8TestActiveDOMObject::createWrapper):
* bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
(WebCore):
(WebCore::V8TestCustomNamedGetter::createWrapper):
* bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore):
(WebCore::V8TestEventConstructor::createWrapper):
* bindings/scripts/test/V8/V8TestEventTarget.cpp:
(WebCore):
(WebCore::V8TestEventTarget::toEventTarget):
(WebCore::V8TestEventTarget::createWrapper):
* bindings/scripts/test/V8/V8TestEventTarget.h:
(V8TestEventTarget):
* bindings/scripts/test/V8/V8TestException.cpp:
(WebCore):
(WebCore::V8TestException::createWrapper):
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore):
(WebCore::V8TestInterface::toActiveDOMObject):
(WebCore::V8TestInterface::createWrapper):
* bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
(WebCore):
(WebCore::V8TestMediaQueryListListener::createWrapper):
* bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore):
(WebCore::V8TestNamedConstructor::toActiveDOMObject):
(WebCore::V8TestNamedConstructor::createWrapper):
* bindings/scripts/test/V8/V8TestNode.cpp:
(WebCore):
(WebCore::V8TestNode::toEventTarget):
(WebCore::V8TestNode::createWrapper):
* bindings/scripts/test/V8/V8TestNode.h:
(V8TestNode):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore):
(WebCore::V8TestObj::createWrapper):
* bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore):
(WebCore::V8TestOverloadedConstructors::createWrapper):
* bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
(WebCore):
(WebCore::V8TestSerializedScriptValueInterface::createWrapper):
* bindings/v8/Dictionary.cpp:
(WebCore::Dictionary::get):
(WebCore):
* bindings/v8/Dictionary.h:
(Dictionary):
* bindings/v8/NPV8Object.cpp:
(WebCore::npObjectTypeInfo):
* bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::isDOMWrapper):
(WebCore):
* bindings/v8/V8DOMWrapper.h:
(V8DOMWrapper):
* bindings/v8/WrapperTypeInfo.h:
(WebCore):
(WebCore::WrapperTypeInfo::toEventTarget):
(WrapperTypeInfo):
* bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
(WebCore):
* dom/MouseEvent.cpp:
(WebCore::MouseEventInit::MouseEventInit):
(WebCore):
(WebCore::MouseEvent::create):
(WebCore::MouseEvent::MouseEvent):
* dom/MouseEvent.h:
(MouseEventInit):
(WebCore):
(MouseEvent):
(WebCore::MouseEvent::create):
(WebCore::MouseEvent::button):
(WebCore::MouseEvent::buttonDown):
(WebCore::MouseEvent::relatedTarget):
(WebCore::MouseEvent::setRelatedTarget):
(WebCore::MouseEvent::clipboard):
(WebCore::MouseEvent::dataTransfer):
* dom/MouseEvent.idl:

LayoutTests:

The MouseEvent constructor should be implemented under a DOM4_EVENTS_CONSTRUCTOR flag.

* fast/dom/constructed-objects-prototypes-expected.txt:
* fast/dom/dom-constructors-expected.txt:
* fast/dom/dom-constructors.html:
* fast/events/constructors/mouse-event-constructor-expected.txt: Added.
* fast/events/constructors/mouse-event-constructor.html: Added.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

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

8 years ago[EFL] Unreviewed build fix after r140605
gyuyoung.kim@samsung.com [Thu, 24 Jan 2013 07:18:38 +0000 (07:18 +0000)]
[EFL] Unreviewed build fix after r140605
https://bugs.webkit.org/show_bug.cgi?id=107787

Unreviewed build fix.

Build break after r140605.

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-01-23

* UIProcess/WebBatteryManagerProxy.cpp:
* UIProcess/WebBatteryManagerProxy.h:
(WebBatteryManagerProxy):
* UIProcess/WebNetworkInfoManagerProxy.cpp:
* UIProcess/WebNetworkInfoManagerProxy.h:
(WebNetworkInfoManagerProxy):
* UIProcess/WebVibrationProxy.cpp:
* UIProcess/WebVibrationProxy.h:
(WebVibrationProxy):
* UIProcess/soup/WebSoupRequestManagerProxy.cpp:
* UIProcess/soup/WebSoupRequestManagerProxy.h:
(WebSoupRequestManagerProxy):
* WebProcess/Battery/WebBatteryManager.cpp:
* WebProcess/Battery/WebBatteryManager.h:
(WebBatteryManager):
* WebProcess/NetworkInfo/WebNetworkInfoManager.cpp:
* WebProcess/NetworkInfo/WebNetworkInfoManager.h:
(WebNetworkInfoManager):
* WebProcess/soup/WebSoupRequestManager.cpp:
* WebProcess/soup/WebSoupRequestManager.h:
(WebSoupRequestManager):

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

8 years agoAdd form-related instrumentations, and support 33+ features in FeatureObserver
tkent@chromium.org [Thu, 24 Jan 2013 06:08:03 +0000 (06:08 +0000)]
Add form-related instrumentations, and support 33+ features in FeatureObserver
https://bugs.webkit.org/show_bug.cgi?id=107770

Reviewed by Kentaro Hara.

No new tests. This doesn't make behavior changes.

* page/FeatureObserver.h:
- Add form-related features.
- Add a Document* version of observe().
- Use BitVector to represent features to support 33+ features.
(WebCore::FeatureObserver::didObserve):
(FeatureObserver):
* page/FeatureObserver.cpp:
(WebCore::FeatureObserver::FeatureObserver):
(WebCore::FeatureObserver::~FeatureObserver):
(WebCore::FeatureObserver::observe):

* html/ColorInputType.cpp:
(WebCore::ColorInputType::create): Calls FeatureObserver::observe.
* html/DateInputType.cpp:
(WebCore::DateInputType::create): Ditto.
* html/DateTimeInputType.cpp:
(WebCore::DateTimeInputType::create): Ditto.
* html/DateTimeLocalInputType.cpp:
(WebCore::DateTimeLocalInputType::create): Ditto.
* html/EmailInputType.cpp:
(WebCore::EmailInputType::create): Ditto.
* html/HTMLDataListElement.cpp:
(WebCore::HTMLDataListElement::create): Ditto.
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::parseAttribute): Ditto.
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseAttribute): Ditto.
* html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::parseAttribute): Ditto.
* html/InputType.cpp:
(WebCore::InputType::create):
Record type=datetime and type=week even if these types are not enabled.
* html/MonthInputType.cpp:
(WebCore::MonthInputType::create): Calls FeatureObserver::observe.
* html/NumberInputType.cpp:
(WebCore::NumberInputType::create): Ditto.
* html/RangeInputType.cpp:
(WebCore::RangeInputType::create): Ditto.
* html/SearchInputType.cpp:
(WebCore::SearchInputType::create): Ditto.
* html/TelephoneInputType.cpp:
(WebCore::TelephoneInputType::create): Ditto.
* html/TimeInputType.cpp:
(WebCore::TimeInputType::create): Ditto.
* html/URLInputType.cpp:
(WebCore::URLInputType::create): Ditto.
* html/WeekInputType.cpp:
(WebCore::WeekInputType::create): Ditto.

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

8 years agoUnreviewed, rebaseline for Chromium-Linux and Chromium-Win
yosin@chromium.org [Thu, 24 Jan 2013 06:05:28 +0000 (06:05 +0000)]
Unreviewed, rebaseline for Chromium-Linux and Chromium-Win
editing/selection/range-between-block-and-inline.html

* platform/chromium-linux/editing/selection/range-between-block-and-inline-expected.png:
* platform/chromium-win/editing/selection/range-between-block-and-inline-expected.png:

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

8 years ago[Chromium] Give webkit_support a chance to reset state between layout test runs
pilgrim@chromium.org [Thu, 24 Jan 2013 05:52:09 +0000 (05:52 +0000)]
[Chromium] Give webkit_support a chance to reset state between layout test runs
https://bugs.webkit.org/show_bug.cgi?id=107132

Reviewed by Adam Barth.

We currently only have need for this on OS(ANDROID), but now it
would be useful to have a hook for resetting state on all
platforms. Will soon be using this for IDBFactory initialization.

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::resetTestController): Call webkit_support::ResetTestEnvironment()

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

8 years agoQueueStatusServer crashes in production on next-patch
commit-queue@webkit.org [Thu, 24 Jan 2013 05:49:31 +0000 (05:49 +0000)]
QueueStatusServer crashes in production on next-patch
https://bugs.webkit.org/show_bug.cgi?id=107775

Patch by Alan Cutter <alancutter@chromium.org> on 2013-01-23
Reviewed by Adam Barth.

Replaced Python 2.5 incompatible call to timedelta.total_seconds().

* QueueStatusServer/app.yaml:
* QueueStatusServer/model/patchlog.py:
(PatchLog.calculate_wait_duration):
(PatchLog.calculate_process_duration):
(PatchLog):
(PatchLog._time_delta_to_seconds):

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

8 years ago[Inspector] Add events for tracking page loads and scheduled navigations.
commit-queue@webkit.org [Thu, 24 Jan 2013 05:42:33 +0000 (05:42 +0000)]
[Inspector] Add events for tracking page loads and scheduled navigations.
https://bugs.webkit.org/show_bug.cgi?id=104168

Patch by Ken Kania <kkania@chromium.org> on 2013-01-23
Reviewed by Pavel Feldman.

These events are needed for clients who need to be aware of when a page is
navigating or about to navigate. Some clients may wish to prevent interaction
with the page during this time. Two of the new events track loading start and
stop, as measured by the ProgressTracker. The other two events track when a
page has a new scheduled navigation and when it no longer has a scheduled
navigation. These latter two events won't allow the client to determine if
a load is going to happen in all circumstances, but is sufficient for many cases.
Make sure we hold a reference to the frame in NavigationScheduler::timerFired
in case the redirect causes the frame to be detached.

Also, minor update to InspectorInputAgent::dispatchMouseEvent to reorder params
to match dispatchKeyEvent.

Source/WebCore:

Tests: inspector-protocol/page/frameScheduledNavigation.html
       inspector-protocol/page/frameStartedLoading.html

* inspector/Inspector.json:
* inspector/InspectorInputAgent.cpp:
(WebCore::InspectorInputAgent::dispatchMouseEvent):
* inspector/InspectorInputAgent.h:
(InspectorInputAgent):
* inspector/InspectorInstrumentation.cpp:
(WebCore):
(WebCore::InspectorInstrumentation::frameStartedLoadingImpl):
(WebCore::InspectorInstrumentation::frameStoppedLoadingImpl):
(WebCore::InspectorInstrumentation::frameScheduledNavigationImpl):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigationImpl):
* inspector/InspectorInstrumentation.h:
(InspectorInstrumentation):
(WebCore::InspectorInstrumentation::frameStartedLoading):
(WebCore):
(WebCore::InspectorInstrumentation::frameStoppedLoading):
(WebCore::InspectorInstrumentation::frameScheduledNavigation):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::frameStartedLoading):
(WebCore):
(WebCore::InspectorPageAgent::frameStoppedLoading):
(WebCore::InspectorPageAgent::frameScheduledNavigation):
(WebCore::InspectorPageAgent::frameClearedScheduledNavigation):
* inspector/InspectorPageAgent.h:
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.PageDispatcher.prototype.frameDetached):
(WebInspector.PageDispatcher.prototype.frameStartedLoading):
(WebInspector.PageDispatcher.prototype.frameStoppedLoading):
(WebInspector.PageDispatcher.prototype.frameScheduledNavigation):
(WebInspector.PageDispatcher.prototype.frameClearedScheduledNavigation):
* loader/NavigationScheduler.cpp:
(WebCore::NavigationScheduler::clear):
(WebCore::NavigationScheduler::timerFired):
(WebCore::NavigationScheduler::startTimer):
(WebCore::NavigationScheduler::cancel):
* loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::progressStarted):
(WebCore::ProgressTracker::finalProgressComplete):

LayoutTests:

* inspector-protocol/page/frameScheduledNavigation-expected.txt: Added.
* inspector-protocol/page/frameScheduledNavigation.html: Added.
* inspector-protocol/page/frameStartedLoading-expected.txt: Added.
* inspector-protocol/page/frameStartedLoading.html: Added.
* platform/chromium/TestExpectations:

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

8 years agoSource/WebCore: Avoid creating background layers on pages with a fixed background...
simon.fraser@apple.com [Thu, 24 Jan 2013 05:35:37 +0000 (05:35 +0000)]
Source/WebCore: Avoid creating background layers on pages with a fixed background, but no image
https://bugs.webkit.org/show_bug.cgi?id=107783
<rdar://problem/13074450>

Reviewed by Beth Dakin.

http://www.nme.com has background-attachment: fixed on the <body>, but
not background image. In that case there's no point making a layer
for the fixed root background.

Test: platform/mac/tiled-drawing/fixed-background/fixed-background-no-image.html

* rendering/style/RenderStyle.cpp:
(WebCore::allLayersAreFixed): Check to see if we have an image, as well
as fixed attachment.

LayoutTests: Avoid creating background layers on pages with a fixed background, but no image
https://bugs.webkit.org/show_bug.cgi?id=107783

Reviewed by Beth Dakin.

Testcase with body { background-attachment:fixed; } but no image.

* platform/mac/tiled-drawing/fixed-background/fixed-background-no-image-expected.txt: Added.
* platform/mac/tiled-drawing/fixed-background/fixed-background-no-image.html: Added.

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

8 years agoLayout Test platform/chromium-win/fast/events/panScroll-panIcon.html is failing
yosin@chromium.org [Thu, 24 Jan 2013 05:30:31 +0000 (05:30 +0000)]
Layout Test platform/chromium-win/fast/events/panScroll-panIcon.html is failing
https://bugs.webkit.org/show_bug.cgi?id=107729

Reviewed by Hajime Morita.

This patch changes panScroll-panIcon.html test to HTML ref test rather than
pixel ref test to avoid rebaseline among Windows versions, and enables
panScroll-panIcon.html.

* platform/chromium-win/fast/events/panScroll-panIcon.html: Changed not to move mouse pointer to avoid motion of scroll thumb.
* platform/chromium-win/fast/events/panScroll-panIcon-expected.html: Added.
* platform/chromium-win/fast/events/panScroll-panIcon-expected.png: Removed.
* platform/chromium-win/fast/events/panScroll-panIcon-expected.txt: Removed.
* platform/chromium-win/TestExpectations: Changed to enable panScroll-panIcon.html

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