WebKit-https.git
8 years agoIncorrect embedded SVG image sizing on first load
fmalita@chromium.org [Mon, 22 Oct 2012 14:10:18 +0000 (14:10 +0000)]
Incorrect embedded SVG image sizing on first load
https://bugs.webkit.org/show_bug.cgi?id=99489

Reviewed by Nikolas Zimmermann.

Source/WebCore:

RenderSVGImage::updateImageViewport() must be called after the image loader is finished,
to ensure that a SVGImageCache::SizeAndScalesMap entry is created even if layout has
already been performed.

Test: svg/custom/svg-image-initial-size.html

* rendering/svg/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::imageChanged):

LayoutTests:

* svg/custom/svg-image-initial-size-expected.html: Added.
* svg/custom/svg-image-initial-size.html: Added.

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

8 years agoMake sure base and derived class pointers are different in MemoryInstrumentationTest...
yurys@chromium.org [Mon, 22 Oct 2012 14:04:18 +0000 (14:04 +0000)]
Make sure base and derived class pointers are different in MemoryInstrumentationTest.instrumentedWithMultipleAncestors
https://bugs.webkit.org/show_bug.cgi?id=99987

Reviewed by Alexander Pavlov.

* TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp: changed first parent
class in the list so that it has virtual table as well as the second one. This
way we may be sure that pointer to the second ancestor class will differ from
the pointer to the derived class.

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

8 years agoUnreviewed: Re-enable LLINT on Qt/Linux after r131932.
hausmann@webkit.org [Mon, 22 Oct 2012 12:53:43 +0000 (12:53 +0000)]
Unreviewed: Re-enable LLINT on Qt/Linux after r131932.

* wtf/Platform.h:

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

8 years ago[Qt] Fix build without QtWidgets
hausmann@webkit.org [Mon, 22 Oct 2012 12:45:28 +0000 (12:45 +0000)]
[Qt] Fix build without QtWidgets
https://bugs.webkit.org/show_bug.cgi?id=99981

Reviewed by Tor Arne Vestbø.

Source/WebKit/qt:

Remove dependency to QtWidgets that is not needed here anymore since
the removal of the QtQuick1 code.

* declarative/experimental/experimental.pri:
* declarative/public.pri:

Source/WebKit2:

Make it possible to compile WebProcess without QtWidgets by instantiating a
QGuiApplication instead of a QApplication if we're built without widgets.

* WebProcess.pro:
* qt/MainQt.cpp:
(main):

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

8 years agoUnreviewed. Fix compilation after r132059.
yurys@chromium.org [Mon, 22 Oct 2012 12:15:53 +0000 (12:15 +0000)]
Unreviewed. Fix compilation after r132059.

* TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp:

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

8 years ago[EFL][WK2] Skip plugins/npruntime/remove-property.html
dominik.rottsches@intel.com [Mon, 22 Oct 2012 11:39:27 +0000 (11:39 +0000)]
[EFL][WK2] Skip plugins/npruntime/remove-property.html
https://bugs.webkit.org/show_bug.cgi?id=99978

Unreviewed EFL gardening.

Skip plugins/npruntime/remove-property.html which started
failing after r131990.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-22

* platform/efl-wk2/TestExpectations:

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

8 years ago[EFL] pc files should use DATA_INSTALL_DIR for datadir
commit-queue@webkit.org [Mon, 22 Oct 2012 11:23:13 +0000 (11:23 +0000)]
[EFL] pc files should use DATA_INSTALL_DIR for datadir
https://bugs.webkit.org/show_bug.cgi?id=99961

Patch by Ryuan Choi <ryuan.choi@gmail.com> on 2012-10-22
Reviewed by Gyuyoung Kim.

Source/WebKit/efl:

* ewebkit.pc.in: Used DATA_INSTALL_DIR instead of hardcoded `shared/XXX`

Source/WebKit2:

* ewebkit.pc.in: Fixed wrong datadir

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

8 years agoAdding Cairo and Harfbuzz watchlist entries
dominik.rottsches@intel.com [Mon, 22 Oct 2012 10:56:26 +0000 (10:56 +0000)]
Adding Cairo and Harfbuzz watchlist entries

Unreviewed watchlist update.

Added myself to these new ones and SVG.

* Scripts/webkitpy/common/config/watchlist:

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

8 years agoChange the path of the include files in the text decoration test cases.
commit-queue@webkit.org [Mon, 22 Oct 2012 10:49:16 +0000 (10:49 +0000)]
Change the path of the include files in the text decoration test cases.
https://bugs.webkit.org/show_bug.cgi?id=99974

Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-22
Reviewed by Gyuyoung Kim.

The include path is differentiated by http://trac.webkit.org/changeset/132043

* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line.html:
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style.html:
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html:

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

8 years agoRemove monthFormatInLDML
keishi@webkit.org [Mon, 22 Oct 2012 10:43:05 +0000 (10:43 +0000)]
Remove monthFormatInLDML
https://bugs.webkit.org/show_bug.cgi?id=99971

Reviewed by Kent Tamura.

Source/Platform:

* chromium/public/WebLocalizedString.h:

Source/WebCore:

Removing monthFormatInLDML from localized strings because Localizer class now provides the same functionality.

No new tests. Just removing unused code.

* platform/LocalizedStrings.h:
(WebCore):

Source/WebKit/chromium:

* src/LocalizedStrings.cpp:

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

8 years agoWeb Inspector: do not double count memory of objects with multiple ancestors
yurys@chromium.org [Mon, 22 Oct 2012 10:29:02 +0000 (10:29 +0000)]
Web Inspector: do not double count memory of objects with multiple ancestors
https://bugs.webkit.org/show_bug.cgi?id=99958

Reviewed by Alexander Pavlov.

Source/WTF:

Make sure memory occupied by objects of classes with multiple inheritance is
not double counted.

* wtf/MemoryInstrumentation.h:
(WTF::MemoryObjectInfo::MemoryObjectInfo):
(WTF::MemoryObjectInfo::reportedPointer):
(WTF::MemoryObjectInfo::reportObjectInfo): 1) Store actual pointer to the instrumented
object as it may differ from the original pointer by which it was reported. 2) Make
the method non-template and calculate object size on the caller side.
(MemoryObjectInfo):
(WTF::MemoryInstrumentation::reportObjectMemoryUsage):
(WTF::MemoryClassInfo::MemoryClassInfo):
(WTF::MemoryInstrumentation::InstrumentedPointer::process): use adjusted pointer
returned by reportMemoryUsage to check if the object has already been visited when
the pointer differs from the orinal one(it may happen if the object was reported
by a pointer to one of its base classes).

Tools:

* TestWebKitAPI/Tests/WTF/MemoryInstrumentationTest.cpp: Test that there
is no double counting in case of multiple inheritance.

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

8 years ago[GTK] Enable Microdata DOM API
zandobersek@gmail.com [Mon, 22 Oct 2012 10:18:29 +0000 (10:18 +0000)]
[GTK] Enable Microdata DOM API
https://bugs.webkit.org/show_bug.cgi?id=99033

Reviewed by Martin Robinson.

Source/WebCore:

Enable the Microdata DOM API, but still disable it when the unstable
features should be disabled (for instance in release builds).

No new tests - related tests are being unskipped and are expected to pass.

* GNUmakefile.am:
* GNUmakefile.features.am:
* bindings/gobject/GNUmakefile.am: Add the required files so the Microdata
API GObject bindings are generated and built.

LayoutTests:

Unskip the Microdata tests, they all pass now that the feature has been enabled.

* platform/gtk/TestExpectations:

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

8 years ago[Chromium] Rename WeekFormatInLDML to WeekFormatTemplate
keishi@webkit.org [Mon, 22 Oct 2012 10:14:31 +0000 (10:14 +0000)]
[Chromium] Rename WeekFormatInLDML to WeekFormatTemplate
https://bugs.webkit.org/show_bug.cgi?id=99972

Reviewed by Kent Tamura.

Source/Platform:

Renaming because Chromium won't be returning a week format in LDML.

* chromium/public/WebLocalizedString.h:

Source/WebKit/chromium:

* src/LocalizedStrings.cpp:
(WebCore::weekFormatInLDML):

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

8 years ago[GTK] Enable CSP 1.1
zandobersek@gmail.com [Mon, 22 Oct 2012 10:14:15 +0000 (10:14 +0000)]
[GTK] Enable CSP 1.1
https://bugs.webkit.org/show_bug.cgi?id=99064

Reviewed by Martin Robinson.

Source/WebCore:

Enable CSP 1.1 in development builds but keep it disabled when the
unstable features should not be enabled (like in stable releases).

No new tests - they already exist and will be unskipped.

* GNUmakefile.am:
* GNUmakefile.features.am:

LayoutTests:

Unskip the CSP 1.1 layout tests as they all pass with the feature enabled.

* platform/gtk/TestExpectations:

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

8 years agoTest date-suggestion-picker-reset-value-after-reload.html will timeout when running...
keishi@webkit.org [Mon, 22 Oct 2012 10:10:48 +0000 (10:10 +0000)]
Test date-suggestion-picker-reset-value-after-reload.html will timeout when running with other tests
https://bugs.webkit.org/show_bug.cgi?id=99969

Reviewed by Kent Tamura.

When running with other tests the iframe onload event seems to fire before the script tag is parsed.

* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html:

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

8 years ago[Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
jocelyn.turcotte@digia.com [Mon, 22 Oct 2012 09:58:22 +0000 (09:58 +0000)]
[Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
https://bugs.webkit.org/show_bug.cgi?id=98514

Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

The problem is that we call setFixedVisibleContentRect, which triggers
a layout, after the document has been put in the page cache and before
the load has been actually committed.

This applies the same trick as with setFixedLayoutSize by passing the rect
in Frame::createView and calling setFixedVisibleContentRect before the
new FrameView gets attached to the Frame/Document to prevent the layout.

* WebCore.exp.in:
* page/Frame.cpp:
(WebCore::Frame::createView): Give a default value to the fixedLayoutSize and
useFixedLayout arguments as well since they are used exceptionally.
* page/Frame.h:
(Frame):

Source/WebKit/blackberry:

* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::transitionToCommittedForNewPage):

Source/WebKit/chromium:

* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::createFrameView):

Source/WebKit/efl:

* ewk/ewk_frame.cpp:
(ewk_frame_view_create_for_view):

Source/WebKit/gtk:

* WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::transitionToCommittedForNewPage):

Source/WebKit/qt:

* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): Use FrameView::fixedVisibleContentRect
instead of FrameView::visibleContentRect as the source to always keep the correct state.

Source/WebKit/win:

* WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::transitionToCommittedForNewPage):

Source/WebKit/wx:

* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):

Source/WebKit2:

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): Use FrameView::fixedVisibleContentRect
instead of WebFrame::visibleContentBounds as the source to always keep the correct state.

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

8 years ago[Qt] Handle GET of blob URLs.
allan.jensen@digia.com [Mon, 22 Oct 2012 09:54:41 +0000 (09:54 +0000)]
[Qt] Handle GET of blob URLs.
https://bugs.webkit.org/show_bug.cgi?id=99053

Reviewed by Simon Hausmann.

Source/WebCore:

Let BlobResourceHandle handle Blob request internally.

* platform/network/qt/ResourceHandleQt.cpp:
(WebCore::ResourceHandle::loadResourceSynchronously):

LayoutTests:

Unskip tests working after we handle GET of Blob URLs. Unfortunately they require beginDragWithFiles,
and thus only work in DRT.

* platform/qt-5.0-wk2/TestExpectations:
* platform/qt/TestExpectations:
* platform/qt/fast/files/workers/worker-read-blob-async-actual.txt: Added.

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

8 years ago[Qt] Basic gesture event handling
allan.jensen@digia.com [Mon, 22 Oct 2012 09:48:58 +0000 (09:48 +0000)]
[Qt] Basic gesture event handling
https://bugs.webkit.org/show_bug.cgi?id=66173

Reviewed by Simon Hausmann.

Source/WebKit/qt:

Implement basic handling of QGestureEvent converting and forwarding
Tap and TapAndHold gestures to WebCore.

* Api/qwebpage.cpp:
(QWebPagePrivate::gestureEvent):
(QWebPage::event):
* Api/qwebpage_p.h:
(QWebPagePrivate):
* WebCoreSupport/WebEventConversion.cpp:
(WebKitPlatformGestureEvent):
(WebCore::WebKitPlatformGestureEvent::WebKitPlatformGestureEvent):
(WebCore::convertGesture):
* WebCoreSupport/WebEventConversion.h:

Tools:

Add support for eventSender.gestureLongPress.

* DumpRenderTree/qt/EventSenderQt.cpp:
(EventSender::EventSender):
(EventSender::gestureLongPress):
* DumpRenderTree/qt/EventSenderQt.h:
(EventSender):

LayoutTests:

* platform/qt-5.0-wk2/TestExpectations:
* platform/qt/TestExpectations:
* platform/qt/fast/events/touch/gesture/gesture-click-expected.txt: Added.

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

8 years agoHarfBuzzShaper::shape() should return false when it adds no glyph to GlyphBuffer
bashi@chromium.org [Mon, 22 Oct 2012 09:35:02 +0000 (09:35 +0000)]
HarfBuzzShaper::shape() should return false when it adds no glyph to GlyphBuffer
https://bugs.webkit.org/show_bug.cgi?id=99966

Reviewed by Kent Tamura.

If no glyph is added to GlyphBuffer, HarfBuzzShaper::shape() returns false.

No new tests. Confirmed the fix by using Address Sanitizer.

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::shape):
(WebCore::HarfBuzzShaper::fillGlyphBuffer): Returns false when glyphBuffer.size() == 0
* platform/graphics/harfbuzz/ng/HarfBuzzShaper.h:
(HarfBuzzShaper):

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

8 years ago[WTR] Properly initialize TestRunner::m_dumpSelectionRect.
rakuco@webkit.org [Mon, 22 Oct 2012 09:24:05 +0000 (09:24 +0000)]
[WTR] Properly initialize TestRunner::m_dumpSelectionRect.
https://bugs.webkit.org/show_bug.cgi?id=99970

Reviewed by Kenneth Rohde Christiansen.

Follow-up to r131476: actually initialize m_dumpSelectionRect to
some value to avoid some flakyness in the tests.

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

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

8 years ago[Shadow] ASSERT triggered when we try reprojecting fallback elements.
shinyak@chromium.org [Mon, 22 Oct 2012 09:04:50 +0000 (09:04 +0000)]
[Shadow] ASSERT triggered when we try reprojecting fallback elements.
https://bugs.webkit.org/show_bug.cgi?id=99815

Reviewed by Hajime Morita.

Source/WebCore:

When fallback elements of InsertionPoint is reprojected, they were attached twice.
We have to skip attaching them if they are attached. We also add a few ASSERT not to
allow attaching twice if not necessary.

We have confirmed that this patch does not regress the performance. The summary of the
performance test is the following:

Dromaeo/dom-modify.html [runs/s]:
                       median stdev    min    max
   without this patch:   3928   184   3655   4361
   with this patch   :   3925   178   3652   4350

Parser/html5-full-render.html [s]:
                       median stdev    min    max
   without this patch:   3821    17   3811   3850
   with this patch   :   3838   4.4   3833   3844

Test: fast/dom/shadow/content-reprojection-fallback-crash.html

* dom/ContainerNode.cpp:
(WebCore):
(WebCore::childAttachedAllowedWhenAttachingChildren): If true, children of this node might
be attached in advance because of ShadowDOM attaching process.
* dom/ContainerNode.h:
(ContainerNode):
(WebCore):
(WebCore::ContainerNode::attachChildren):
* dom/Element.cpp:
(WebCore::Element::attach):
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::attach):

LayoutTests:

* fast/dom/shadow/content-reprojection-fallback-crash-expected.txt: Added.
* fast/dom/shadow/content-reprojection-fallback-crash.html: Added.

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

8 years ago[Qt] Don't build any of the tools in production_build
vestbo@webkit.org [Mon, 22 Oct 2012 08:59:23 +0000 (08:59 +0000)]
[Qt] Don't build any of the tools in production_build

Reviewed by Simon Hausmann.

* Tools.pro:
* qmake/mkspecs/features/configure.prf:

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

8 years agoWeb Inspector: merge "docked" state into the "dock side" enum.
pfeldman@chromium.org [Mon, 22 Oct 2012 08:52:03 +0000 (08:52 +0000)]
Web Inspector: merge "docked" state into the "dock side" enum.
https://bugs.webkit.org/show_bug.cgi?id=99717

Reviewed by Vsevolod Vlasov.

.:

Otherwise, it is hard to manage these inter-dependent flags.

* Source/autotools/symbols.filter:

Source/WebCore:

Otherwise, it is hard to manage these inter-dependent flags.

* WebCore.exp.in:
* inspector/InspectorFrontendClient.h:
(InspectorFrontendClient):
* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::requestSetDockSide):
(WebCore::InspectorFrontendClientLocal::setAttachedWindow):
* inspector/InspectorFrontendClientLocal.h:
(InspectorFrontendClientLocal):
* inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::requestSetDockSide):
* inspector/InspectorFrontendHost.h:
(InspectorFrontendHost):
* inspector/InspectorFrontendHost.idl:
* inspector/front-end/DockController.js:
(WebInspector.DockController):
(WebInspector.DockController.prototype._updateUI.get sides):
(WebInspector.DockController.prototype._updateUI):
(WebInspector.DockController.prototype._toggleDockState):
* inspector/front-end/InspectorFrontendAPI.js:
(InspectorFrontendAPI.setAttachedWindow):
(InspectorFrontendAPI.setDockSide):
* inspector/front-end/InspectorFrontendHostStub.js:
(.WebInspector.InspectorFrontendHostStub.prototype.requestSetDockSide):
* inspector/front-end/externs.js:

Source/WebKit/chromium:

Otherwise, it is hard to manage these inter-dependent flags.

* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::requestSetDockSide):
* src/InspectorFrontendClientImpl.h:
(InspectorFrontendClientImpl):

Source/WebKit2:

* win/WebKit2.def:
* win/WebKit2CFLite.def:

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

8 years ago[EFL] Rebaseline pixel expectations after r131941 and r131991, part 3.
rakuco@webkit.org [Mon, 22 Oct 2012 08:49:08 +0000 (08:49 +0000)]
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 3.

* platform/efl/fast/repaint/scroll-fixed-layer-with-reflection-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png:
* platform/efl/fast/repaint/scroll-fixed-reflected-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-clipped-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-fixed-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-transformed-layer-expected.png:
* platform/efl/fast/repaint/scroll-inside-table-cell-expected.png:
* platform/efl/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
* platform/efl/fast/repaint/scroll-with-transformed-parent-layer-expected.png:
* platform/efl/fast/repaint/search-field-cancel-expected.png:
* platform/efl/fast/repaint/select-option-background-color-expected.png:
* platform/efl/fast/repaint/selected-replaced-expected.png:
* platform/efl/fast/repaint/selection-after-delete-expected.png:
* platform/efl/fast/repaint/selection-after-remove-expected.png:
* platform/efl/fast/repaint/selection-gap-overflow-scroll-2-expected.png:
* platform/efl/fast/repaint/selection-gap-overflow-scroll-expected.png:
* platform/efl/fast/repaint/selection-rl-expected.png:
* platform/efl/fast/repaint/stacked-diacritics-expected.png:
* platform/efl/fast/repaint/static-to-positioned-expected.png:
* platform/efl/fast/repaint/subtree-layoutstate-transform-expected.png:
* platform/efl/fast/repaint/subtree-root-clip-2-expected.png: Added.
* platform/efl/fast/repaint/subtree-root-clip-3-expected.png: Added.
* platform/efl/fast/repaint/subtree-root-clip-expected.png: Added.
* platform/efl/fast/repaint/subtree-root-skipped-expected.png:
* platform/efl/fast/repaint/table-cell-collapsed-border-expected.png:
* platform/efl/fast/repaint/table-cell-move-expected.png:
* platform/efl/fast/repaint/table-col-background-expected.png:
* platform/efl/fast/repaint/table-collapsed-border-expected.png:
* platform/efl/fast/repaint/table-extra-bottom-grow-expected.png:
* platform/efl/fast/repaint/table-outer-border-expected.png:
* platform/efl/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png:
* platform/efl/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png:
* platform/efl/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png:
* platform/efl/fast/repaint/table-row-expected.png:
* platform/efl/fast/repaint/table-section-overflow-expected.png:
* platform/efl/fast/repaint/table-section-repaint-expected.png:
* platform/efl/fast/repaint/table-two-pass-layout-overpaint-expected.png:
* platform/efl/fast/repaint/text-append-dirty-lines-expected.png:
* platform/efl/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
* platform/efl/fast/repaint/text-selection-rect-in-overflow-expected.png:
* platform/efl/fast/repaint/textarea-set-disabled-expected.png:
* platform/efl/fast/repaint/transform-absolute-child-expected.png:
* platform/efl/fast/repaint/transform-absolute-in-positioned-container-expected.png:
* platform/efl/fast/repaint/transform-disable-layoutstate-expected.png:
* platform/efl/fast/repaint/transform-layout-repaint-expected.png:
* platform/efl/fast/repaint/transform-relative-position-expected.png:
* platform/efl/fast/repaint/transform-repaint-descendants-expected.png:
* platform/efl/fast/repaint/transform-replaced-shadows-expected.png:
* platform/efl/fast/repaint/transform-rotate-and-remove-expected.png:
* platform/efl/fast/repaint/transform-translate-expected.png:
* platform/efl/fast/table/border-collapsing/cached-69296-expected.png:
* platform/efl/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png: Added.
* platform/efl/fast/table/border-collapsing/cached-change-row-border-width-expected.png: Added.
* platform/efl/fast/table/border-collapsing/cached-change-tbody-border-width-expected.png: Added.
* platform/efl/fast/table/border-collapsing/collapsed-border-with-col-colgroup-span-expected.png: Added.

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

8 years agoMove LayoutTests/fast/css3-text-decoration directory into LayoutTests/fast/css3-text...
commit-queue@webkit.org [Mon, 22 Oct 2012 08:45:37 +0000 (08:45 +0000)]
Move LayoutTests/fast/css3-text-decoration directory into LayoutTests/fast/css3-text directory.
https://bugs.webkit.org/show_bug.cgi?id=99948

Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-22
Reviewed by Hajime Morita.

css3-text-decoration is one of the feature under the ENABLE_CSS3_TEXT flag,
it should be maintained in the css3-text directory with other features under the same flag.

* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt.
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line.html: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line.html.
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt.
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style.html: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style.html.
* fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js.
(testElementStyle):
(testComputedStyle):
* fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-style.js: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-style.js.
(testElementStyle):
(testComputedStyleValue):
(testValue):
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png: Renamed from LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png.
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt: Renamed from LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt.
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html: Renamed from LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line.html.
* fast/css3-text/css3-text-decoration/text-decoration-line-expected.html: Renamed from LayoutTests/fast/css3-text-decoration/text-decoration-line-expected.html.
* fast/css3-text/css3-text-decoration/text-decoration-line.html: Renamed from LayoutTests/fast/css3-text-decoration/text-decoration-line.html.
* platform/chromium/TestExpectations:
* platform/efl/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png: Renamed from LayoutTests/platform/efl/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png.
* platform/mac/TestExpectations:
* platform/qt-4.8/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt: Renamed from LayoutTests/platform/win/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt.
* platform/win/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt: Renamed from LayoutTests/platform/win/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt.

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

8 years ago[Qt] Move OBJECTS_DIR and friends to default_pre.prf
vestbo@webkit.org [Mon, 22 Oct 2012 08:43:56 +0000 (08:43 +0000)]
[Qt] Move OBJECTS_DIR and friends to default_pre.prf

The introduction of load(qt_build_config) in .qmake.conf meant
that we started loading qtmodule.pri, which in turn set both
MOC_DIR, RCC_DIR, and OBJECTS_DIR.

We were setting OBJECTS_DIR in default_post under a isEmpty() guard
so that project files could override the objects dir. Instead of
using the isEmpty() check we move it to defaul_pre, which will
override the qtmodule.pri settings, but still allow project files
to override it.

Reviewed by Ossy.

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

8 years agoWebKitTestRunner needs testRunner.queueLoadingScript and testRunner.queueNonLoadingScript
commit-queue@webkit.org [Mon, 22 Oct 2012 08:42:08 +0000 (08:42 +0000)]
WebKitTestRunner needs testRunner.queueLoadingScript and testRunner.queueNonLoadingScript
https://bugs.webkit.org/show_bug.cgi?id=42675

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-22
Reviewed by Kenneth Rohde Christiansen.

Tools:

Added implementation of testRunner.queueLoadingScript and testRunner.queueNonLoadingScript.

* WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::queueLoadingScript):
(WTR):
(WTR::InjectedBundle::queueNonLoadingScript):
* WebKitTestRunner/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::queueLoadingScript):
(WTR):
(WTR::TestRunner::queueNonLoadingScript):
* WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
* WebKitTestRunner/WorkQueueManager.cpp:
(WTR):
(WTR::runJavaScriptFunction):
(ScriptItem):
(WTR::ScriptItem::ScriptItem):
(WTR::ScriptItem::invoke):
(WTR::WorkQueueManager::queueBackNavigation):
(WTR::WorkQueueManager::queueLoadingScript):
(WTR::WorkQueueManager::queueNonLoadingScript):
* WebKitTestRunner/WorkQueueManager.h:
(WorkQueueManager):

LayoutTests:

Unskipped corresponding test cases for WK2. Put those which still fail to appropriate
groups.

* platform/wk2/TestExpectations:

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

8 years ago[EFL] Rebaseline pixel expectations after r131941 and r131991, part 2.
rakuco@webkit.org [Mon, 22 Oct 2012 08:40:42 +0000 (08:40 +0000)]
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 2.

* platform/efl/fast/repaint/body-background-image-expected.png:
* platform/efl/fast/repaint/layout-state-only-positioned-expected.png:
* platform/efl/fast/repaint/layout-state-relative-expected.png:
* platform/efl/fast/repaint/layout-state-scrolloffset-expected.png:
* platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png:
* platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-1-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-10-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-2-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-3-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-4-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-5-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-6-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-7-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-8-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-9-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/efl/fast/repaint/line-in-scrolled-clipped-block-expected.png:
* platform/efl/fast/repaint/line-overflow-expected.png:
* platform/efl/fast/repaint/lines-with-layout-delta-expected.png:
* platform/efl/fast/repaint/list-marker-2-expected.png:
* platform/efl/fast/repaint/make-children-non-inline-expected.png:
* platform/efl/fast/repaint/moving-shadow-on-path-expected.png:
* platform/efl/fast/repaint/multicol-repaint-expected.png:
* platform/efl/fast/repaint/nested-iframe-scroll-inner-expected.png:
* platform/efl/fast/repaint/nested-iframe-scroll-outer-expected.png:
* platform/efl/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png:
* platform/efl/fast/repaint/opacity-change-on-overflow-float-expected.png:
* platform/efl/fast/repaint/outline-child-repaint-expected.png:
* platform/efl/fast/repaint/outline-inset-expected.png:
* platform/efl/fast/repaint/outline-repaint-glitch-expected.png:
* platform/efl/fast/repaint/outline-shrinking-expected.png:
* platform/efl/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png:
* platform/efl/fast/repaint/overflow-clip-subtree-layout-expected.png: Added.
* platform/efl/fast/repaint/overflow-delete-line-expected.png:
* platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png:
* platform/efl/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled-expected.png:
* platform/efl/fast/repaint/overflow-hide-expected.png:
* platform/efl/fast/repaint/overflow-into-content-expected.png:
* platform/efl/fast/repaint/overflow-outline-repaint-expected.png:
* platform/efl/fast/repaint/overflow-scroll-delete-expected.png:
* platform/efl/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png:
* platform/efl/fast/repaint/overflow-show-expected.png:
* platform/efl/fast/repaint/reflection-redraw-expected.png:
* platform/efl/fast/repaint/reflection-repaint-test-expected.png:
* platform/efl/fast/repaint/region-painting-invalidation-expected.png:
* platform/efl/fast/repaint/region-painting-via-layout-expected.png:
* platform/efl/fast/repaint/rel-positioned-inline-with-overflow-expected.png:
* platform/efl/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:
* platform/efl/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
* platform/efl/fast/repaint/repaint-during-scroll-expected.png:
* platform/efl/fast/repaint/repaint-during-scroll-with-zoom-expected.png:
* platform/efl/fast/repaint/repaint-resized-overflow-expected.png:
* platform/efl/fast/repaint/scroll-absolute-layer-with-reflection-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png:

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

8 years ago[EFL] Rebaseline pixel expectations after r131941 and r131991, part 1.
rakuco@webkit.org [Mon, 22 Oct 2012 08:30:08 +0000 (08:30 +0000)]
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 1.

* platform/efl/fast/repaint/4774354-expected.png:
* platform/efl/fast/repaint/4776765-expected.png:
* platform/efl/fast/repaint/absolute-position-changed-expected.png:
* platform/efl/fast/repaint/add-table-overpaint-expected.png: Removed.
* platform/efl/fast/repaint/background-generated-expected.png:
* platform/efl/fast/repaint/background-misaligned-expected.png:
* platform/efl/fast/repaint/backgroundSizeRepaint-expected.png:
* platform/efl/fast/repaint/block-layout-inline-children-float-positioned-expected.png:
* platform/efl/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/efl/fast/repaint/block-no-inflow-children-expected.png:
* platform/efl/fast/repaint/block-selection-gap-in-composited-layer-expected.png:
* platform/efl/fast/repaint/block-selection-gap-in-table-cell-expected.png:
* platform/efl/fast/repaint/block-selection-gap-stale-cache-2-expected.png:
* platform/efl/fast/repaint/block-selection-gap-stale-cache-expected.png:
* platform/efl/fast/repaint/border-fit-lines-expected.png:
* platform/efl/fast/repaint/border-radius-repaint-expected.png:
* platform/efl/fast/repaint/border-repaint-glitch-expected.png:
* platform/efl/fast/repaint/box-shadow-dynamic-expected.png:
* platform/efl/fast/repaint/box-shadow-inset-repaint-expected.png:
* platform/efl/fast/repaint/bugzilla-3509-expected.png:
* platform/efl/fast/repaint/bugzilla-5699-expected.png:
* platform/efl/fast/repaint/bugzilla-6278-expected.png:
* platform/efl/fast/repaint/bugzilla-6388-expected.png:
* platform/efl/fast/repaint/bugzilla-6473-expected.png:
* platform/efl/fast/repaint/bugzilla-7235-expected.png:
* platform/efl/fast/repaint/button-spurious-layout-hint-expected.png:
* platform/efl/fast/repaint/canvas-putImageData-expected.png:
* platform/efl/fast/repaint/caret-outside-block-expected.png:
* platform/efl/fast/repaint/change-transform-expected.png:
* platform/efl/fast/repaint/clip-with-layout-delta-expected.png:
* platform/efl/fast/repaint/clipped-relative-expected.png:
* platform/efl/fast/repaint/containing-block-position-change-expected.png:
* platform/efl/fast/repaint/content-into-overflow-expected.png:
* platform/efl/fast/repaint/continuation-after-outline-expected.png:
* platform/efl/fast/repaint/control-clip-expected.png:
* platform/efl/fast/repaint/create-layer-repaint-expected.png:
* platform/efl/fast/repaint/delete-into-nested-block-expected.png:
* platform/efl/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
* platform/efl/fast/repaint/erase-overflow-expected.png:
* platform/efl/fast/repaint/fixed-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-and-absolute-position-scrolled-expected.png:
* platform/efl/fast/repaint/fixed-child-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-expected.png:
* platform/efl/fast/repaint/fixed-move-after-keyboard-scroll-expected.png:
* platform/efl/fast/repaint/fixed-move-after-scroll-expected.png:
* platform/efl/fast/repaint/fixed-position-transparency-with-overflow-expected.png:
* platform/efl/fast/repaint/fixed-scale-expected.png:
* platform/efl/fast/repaint/fixed-scroll-simple-expected.png:
* platform/efl/fast/repaint/fixed-table-cell-expected.png:
* platform/efl/fast/repaint/fixed-table-overflow-expected.png:
* platform/efl/fast/repaint/fixed-table-overflow-zindex-expected.png:
* platform/efl/fast/repaint/fixed-tranformed-expected.png:
* platform/efl/fast/repaint/float-in-new-block-with-layout-delta-expected.png:
* platform/efl/fast/repaint/float-move-during-layout-expected.png:
* platform/efl/fast/repaint/float-new-in-block-expected.png:
* platform/efl/fast/repaint/float-overflow-expected.png: Added.
* platform/efl/fast/repaint/float-overflow-right-expected.png: Added.
* platform/efl/fast/repaint/gradients-em-stops-repaint-expected.png:
* platform/efl/fast/repaint/iframe-scroll-repaint-expected.png:
* platform/efl/fast/repaint/inline-block-resize-expected.png:
* platform/efl/fast/repaint/inline-color-change-expected.png:
* platform/efl/fast/repaint/inline-horizontal-bt-overflow-expected.png:
* platform/efl/fast/repaint/inline-outline-repaint-expected.png:
* platform/efl/fast/repaint/inline-vertical-lr-overflow-expected.png:
* platform/efl/fast/repaint/inline-vertical-rl-overflow-expected.png:
* platform/efl/fast/repaint/intermediate-layout-position-clip-expected.png:
* platform/efl/fast/repaint/intermediate-layout-position-expected.png:
* platform/efl/fast/repaint/invisible-objects-expected.png:
* platform/efl/fast/repaint/japanese-rl-selection-clear-expected.png:
* platform/efl/fast/repaint/japanese-rl-selection-repaint-expected.png:
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
* platform/efl/fast/repaint/layer-full-repaint-expected.png:
* platform/efl/fast/repaint/layer-hide-when-needs-layout-expected.png:
* platform/efl/fast/repaint/layer-visibility-expected.png:

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

8 years agoUnreviewed follow up to update test result after r132033.
morrita@google.com [Mon, 22 Oct 2012 08:26:03 +0000 (08:26 +0000)]
Unreviewed follow up to update test result after r132033.

* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::V8TestObj::installPerContextProperties):

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

8 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Mon, 22 Oct 2012 08:22:47 +0000 (08:22 +0000)]
Unreviewed GTK gardening.

Adding flaky crashing expectations for fast/dom/gc-acid3.html
and http/tests/misc/acid3.html.
Removing timeout expectations for tests that were fixed in r131942.
Reclassifying svg/animations/animate-css-xml-attributeType.html
as a non-flaky failure.

* platform/gtk/TestExpectations:

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

8 years agoUnreviewed Chromium rebaselines.
antonm@chromium.org [Mon, 22 Oct 2012 08:06:27 +0000 (08:06 +0000)]
Unreviewed Chromium rebaselines.

* platform/chromium/TestExpectations:

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

8 years agoUnreviewed, a follow-up to r132034 where I forgot to address
zandobersek@gmail.com [Mon, 22 Oct 2012 07:47:59 +0000 (07:47 +0000)]
Unreviewed, a follow-up to r132034 where I forgot to address
Ojan's review comment about the race condition in handleLocationChange.

* TestResultServer/static-dashboards/dashboard_base.js:
(handleLocationChange):

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

8 years ago[TestResultServer] Move the resource loading into a dedicated class
zandobersek@gmail.com [Mon, 22 Oct 2012 07:44:16 +0000 (07:44 +0000)]
[TestResultServer] Move the resource loading into a dedicated class
https://bugs.webkit.org/show_bug.cgi?id=99246

Reviewed by Ojan Vafai.

A new 'loader' namespace is created, containing the request method (previously located in dashboard_base.js)
and the new Loader object, which handles the loading of all the necessary data the dashboard might require.

* TestResultServer/static-dashboards/aggregate_results.html: Include the loader.js source file.
* TestResultServer/static-dashboards/builders.js:
(requestBuilderList): Use the request method located in the loader namespace instead of the removed doXHR method.
(onBuilderListLoad): Now parses the response text of the passed-in XHR. When all the builder lists are loaded the
resource loader object is notified appropriately.
(onErrorLoadingBuilderList): The partial function that calls this function also adds an XHR parameter.
* TestResultServer/static-dashboards/dashboard_base.js: Much of the resource loading-related code is moved to loader.js.
The Loader object is now used to load all the required resources.
(parseParameters): Don't push the 'builder' parameter into the current state if the unit tests are being run.
(resourceLoadingComplete): This method gets called when all the resources are loaded and the dashboard should
proceed with generating the page.
(handleLocationChange):
* TestResultServer/static-dashboards/flakiness_dashboard.html: Include the loader.js source file.
* TestResultServer/static-dashboards/flakiness_dashboard.js: The request method has been relocated to the loader namespace.
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js: The affected test cases are modified appropriately.
(test):
* TestResultServer/static-dashboards/loader.js: Added.
(.): A new namespace is introduced, publicly exporting the request method that performs an XHR operation and a Loader object
which oversees resource loading. The loading is done in steps, first loading the builders list, after that the results files
the current dashboard needs, and lastly the TestExpectations files if they are required by the dashboard. When done the loader
calls the resourceLoadingComplete method located in dashboard_base.js. This signals the dashboard all resources are available
and it can proceed with generating the dashboard page.
* TestResultServer/static-dashboards/loader_unittests.js: Added. Contains unit tests for the Loader object, covering the
incremental loading and the loading of results files and TestExpectations files. The builders list loading is currently not
tested as the unit tests page overrides related methods that possibly affect other tests' behavior.
* TestResultServer/static-dashboards/run-unittests.html: Now includes the loader.js and loader_unittests.js source file.
Refactors the code a bit due to changes in how onBuilderListLoad behaves.
* TestResultServer/static-dashboards/timeline_explorer.html: Now includes the loader.js source file.
* TestResultServer/static-dashboards/treemap.html: Ditto. Also refactors the code to take into account
that all the test files are now loaded before generating the dashboard page.

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

8 years ago[V8] V8EnablePerContext shouldn't require document() accessor to the native object.
morrita@google.com [Mon, 22 Oct 2012 06:44:10 +0000 (06:44 +0000)]
[V8] V8EnablePerContext shouldn't require document() accessor to the native object.
https://bugs.webkit.org/show_bug.cgi?id=99954

Reviewed by Kentaro Hara.

It now refers ScriptExecutionContext of the creation context instead of document() of
wrapped object.

No new tests. No behavior change at this time.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateImplementation):

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

8 years ago[Qt] QNX build fails when building against Qt without clipboard support
commit-queue@webkit.org [Mon, 22 Oct 2012 06:37:29 +0000 (06:37 +0000)]
[Qt] QNX build fails when building against Qt without clipboard support
https://bugs.webkit.org/show_bug.cgi?id=98040

Patch by Milian Wolff <milian.wolff@kdab.com> on 2012-10-21
Reviewed by Simon Hausmann.

Gracefully handle QT_NO_CLIPBOARD and do not try to access qApp->clipboard()
in such cases. Instead, return false to indicate global selection is unsupported.

* WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::supportsGlobalSelection):

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

8 years agoPage popup: Fix crash by events after closing
tkent@chromium.org [Mon, 22 Oct 2012 05:45:34 +0000 (05:45 +0000)]
Page popup: Fix crash by events after closing
https://bugs.webkit.org/show_bug.cgi?id=99951

Reviewed by Hajime Morita.

Source/WebCore:

WebCore should provide a way to uninstall a DOMWindowPagePopup supplement.

No new tests. The bug is timing-dependent.

* page/DOMWindowPagePopup.cpp:
(WebCore::DOMWindowPagePopup::uninstall):
Added. Calls Supplementable::removeSupplement.
* page/DOMWindowPagePopup.h:
(DOMWindowPagePopup): Declare uninstall.
* platform/Supplementable.h:
(WebCore::Supplementable::removeSupplement): Added.

Source/WebKit/chromium:

- We should not handle events after closePopup call.
- We should uninstall a DOMWindowPagePopup supplement in closePopup.

* src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::WebPagePopupImpl):
Initialize m_closing.
(WebKit::WebPagePopupImpl::handleGestureEvent):
Don't handle events if m_closing.
(WebKit::WebPagePopupImpl::handleInputEvent): Ditto.
(WebKit::WebPagePopupImpl::handleKeyEvent): Ditto.
(WebKit::WebPagePopupImpl::closePopup):
- Uninstall a DOMWindowPagePopup supplement.
- Set m_closing.
* src/WebPagePopupImpl.h:
(WebPagePopupImpl): Declare m_closing.

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

8 years agoUnreviewed, suppressing failure until I can figure out what's going on.
dpranke@chromium.org [Mon, 22 Oct 2012 05:37:59 +0000 (05:37 +0000)]
Unreviewed, suppressing failure until I can figure out what's going on.

* platform/chromium/TestExpectations:

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

8 years ago[chromium] introduce a public API for the TestRunner library
jochen@chromium.org [Mon, 22 Oct 2012 05:13:33 +0000 (05:13 +0000)]
[chromium] introduce a public API for the TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=99904

Reviewed by Adam Barth.

The API decouples the public API from the underlying implementation, so
embedders can depend on it. I'm also changing DRT to consume the
TestRunner API through the public API, except for DRTTestRunner and all
places that require Task.h. These two will be migrated in later changes.

* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/DRTDevToolsAgent.h:
* DumpRenderTree/chromium/DRTDevToolsClient.h:
* DumpRenderTree/chromium/MockSpellCheck.cpp:
(MockSpellCheck::fillSuggestionList):
* DumpRenderTree/chromium/MockSpellCheck.h:
(MockSpellCheck):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
* DumpRenderTree/chromium/MockWebSpeechInputController.h:
* DumpRenderTree/chromium/MockWebSpeechRecognizer.h:
* DumpRenderTree/chromium/TestRunner/public/WebAccessibilityController.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebKit):
(WebTestRunner):
(WebAccessibilityController):
* DumpRenderTree/chromium/TestRunner/public/WebEventSender.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebKit):
(WebTestRunner):
(WebEventSender):
* DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebKit):
(WebTestRunner):
(WebTestDelegate):
* DumpRenderTree/chromium/TestRunner/public/WebTestInterfaces.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h.
(WebKit):
(WebTestRunner):
(WebTestInterfaces):
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
(WebTestRunner):
(WebTestRunner::makeMenuItemStringsFor):
* DumpRenderTree/chromium/TestRunner/src/EventSender.h:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
(TestDelegate):
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp:
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h:
(TestInterfaces):
* DumpRenderTree/chromium/TestRunner/src/WebAccessibilityController.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebTestRunner):
(WebTestRunner::WebAccessibilityController::WebAccessibilityController):
(WebTestRunner::WebAccessibilityController::setFocusedElement):
(WebTestRunner::WebAccessibilityController::notificationReceived):
(WebTestRunner::WebAccessibilityController::shouldLogAccessibilityEvents):
* DumpRenderTree/chromium/TestRunner/src/WebEventSender.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebTestRunner):
(WebTestRunner::WebEventSender::WebEventSender):
(WebTestRunner::WebEventSender::doDragDrop):
* DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp: Added.
(WebTestRunner):
(WebTestInterfaces::Internal):
(WebTestRunner::WebTestInterfaces::Internal::testInterfaces):
(WebTestRunner::WebTestInterfaces::Internal::accessibilityController):
(WebTestRunner::WebTestInterfaces::Internal::eventSender):
(WebTestRunner::WebTestInterfaces::Internal::Internal):
(WebTestRunner::WebTestInterfaces::Internal::~Internal):
(WebTestRunner::WebTestInterfaces::Internal::setDelegate):
(WebTestRunner::WebTestInterfaces::Internal::clearContextMenuData):
(WebTestRunner::WebTestInterfaces::Internal::clearEditCommand):
(WebTestRunner::WebTestInterfaces::Internal::fillSpellingSuggestionList):
(WebTestRunner::WebTestInterfaces::Internal::setEditCommand):
(WebTestRunner::WebTestInterfaces::Internal::lastContextMenuData):
(WebTestRunner::WebTestInterfaces::Internal::setGamepadData):
(WebTestRunner::WebTestInterfaces::WebTestInterfaces):
(WebTestRunner::WebTestInterfaces::~WebTestInterfaces):
(WebTestRunner::WebTestInterfaces::setWebView):
(WebTestRunner::WebTestInterfaces::setDelegate):
(WebTestRunner::WebTestInterfaces::bindTo):
(WebTestRunner::WebTestInterfaces::resetAll):
(WebTestRunner::WebTestInterfaces::accessibilityController):
(WebTestRunner::WebTestInterfaces::eventSender):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::initialize):
* DumpRenderTree/chromium/TestShell.h:
(TestShell::eventSender):
(TestShell::accessibilityController):
(TestShell):
* DumpRenderTree/chromium/WebUserMediaClientMock.h:
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::finishLastTextCheck):
(WebViewHost::fillSpellingSuggestionList):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):

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

8 years agoRefactor picker tests to fix flakiness and share code
keishi@webkit.org [Mon, 22 Oct 2012 05:08:20 +0000 (05:08 +0000)]
Refactor picker tests to fix flakiness and share code
https://bugs.webkit.org/show_bug.cgi?id=99671

Reviewed by Kent Tamura.

Source/WebCore:

Disable transitions until the picker is fully ready. This should fix flakiness.

No new tests.

* Resources/pagepopups/calendarPicker.css:
(.preparing .unavailable): Disable transitions.
(.preparing .available): Disable transitions.
* Resources/pagepopups/calendarPicker.js:
(CalendarPicker): Set "preparing" class.
(CalendarPicker.prototype._handleWindowResize): Remove the "preparing" class when the window finishes resizing.

LayoutTests:

Refactored so picker tests share code and structure.

* fast/forms/resources/picker-common.js: Shared by all picker tests. Requires js-test-pre.js. Sets up an asynchronous test.
(openPicker): Opens the picker for the given input and calls the callback when the picker did open.
(popupOpenCallbackWrapper):
(sendKey):
* platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
* platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
* platform/chromium/TestExpectations: Marked all tests as not flaky. Marked all pixel tests as need rebaseline.
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.txt:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.txt:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-mouse-operations.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-pre-100-year.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-with-step-expected.txt:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-with-step.html:
* platform/chromium/fast/forms/calendar-picker/resources/calendar-picker-common.js:
* platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html:
* platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance.html:
* platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance.html:
* platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance.html:
* platform/chromium/fast/forms/page-popup/page-popup-adjust-rect.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-key-operations-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-key-operations.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-min-max-attribute.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-mouse-operations.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html:
* platform/chromium/fast/forms/suggestion-picker/resources/suggestion-picker-common.js: Moved to resource directory like all other js files.
(valueForEntry):
(highlightedEntry):
(entryValues):
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-key-operations.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-min-max-attribute.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-mouse-operations.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html:

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

8 years agoUnreviewed, could've sworn this was in the previous patch ...
dpranke@chromium.org [Mon, 22 Oct 2012 04:52:50 +0000 (04:52 +0000)]
Unreviewed, could've sworn this was in the previous patch ...

* platform/chromium-win-xp/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Removed.
* platform/chromium-win/fast/hidpi/gradient-with-scaled-ancestor-expected.png:

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

8 years agoUnreviewed. More chromium baseline cleanup after r132022.
dpranke@chromium.org [Mon, 22 Oct 2012 04:06:12 +0000 (04:06 +0000)]
Unreviewed. More chromium baseline cleanup after r132022.

* platform/chromium-mac-lion/editing/selection/iframe-expected.png: Added.
* platform/chromium-mac-lion/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.png: Removed.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.txt: Removed.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.png: Removed.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.txt: Removed.
* platform/chromium-mac/svg/custom/pattern-scaling-expected.txt: Removed.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.png: Removed.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.txt: Removed.
* platform/chromium-win/svg/custom/pattern-scaling-expected.png: Renamed from LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.png.
* platform/chromium/svg/custom/pattern-scaling-expected.txt: Renamed from LayoutTests/platform/chromium-linux/svg/custom/pattern-scaling-expected.txt.

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

8 years agoUnreviewed. Updating my emails.
ostapenko.viatcheslav@nokia.com [Mon, 22 Oct 2012 03:33:47 +0000 (03:33 +0000)]
Unreviewed. Updating my emails.

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

8 years agoWeb Inspector: Shadow DOM: Node removal doesn't reflect.
shinyak@chromium.org [Mon, 22 Oct 2012 02:58:27 +0000 (02:58 +0000)]
Web Inspector: Shadow DOM: Node removal doesn't reflect.
https://bugs.webkit.org/show_bug.cgi?id=99567

Reviewed by Pavel Feldman.

Source/WebCore:

We have to call InspectorInstrumentation::willRemoveDOMNode() even if a node is in a shadow tree.
Otherwise, node won't be removed from the inspector.

Test: inspector/elements/update-shadowdom.html

* dom/ContainerNode.cpp:
(WebCore::dispatchChildRemovalEvents):

LayoutTests:

* inspector/elements/update-shadowdom-expected.txt: Added.
* inspector/elements/update-shadowdom.html: Added.
* platform/mac/TestExpectations:

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

8 years agoRemove Page::javaScriptURLsAreAllowed setting.
kling@webkit.org [Mon, 22 Oct 2012 02:37:56 +0000 (02:37 +0000)]
Remove Page::javaScriptURLsAreAllowed setting.
<http://webkit.org/b/99944>

Reviewed by Anders Carlsson.

Source/WebCore:

This setting was exposed through internal WebView API in Apple's WebKit1.
There are no longer any clients of that API.

This is a step towards preventing elements from modifying their own attributes
below attributeChanged().

* WebCore.exp.in:
* WebCore.order:
* bindings/ScriptControllerBase.cpp:
(WebCore::ScriptController::executeIfJavaScriptURL):
* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::parseAttribute):
* page/Page.cpp:
(WebCore::Page::Page):
* page/Page.h:
(Page):

Source/WebKit/mac:

* WebKit.order:
* WebView/WebView.mm:
* WebView/WebViewPrivate.h:

Source/WebKit/win:

Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL
to prevent COM ABI breakage.

* WebView.cpp:
(WebView::setJavaScriptURLsAreAllowed):

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

8 years agoUnreviewed, more Chromium ML baselining minor cleanups.
dpranke@chromium.org [Mon, 22 Oct 2012 02:27:33 +0000 (02:27 +0000)]
Unreviewed, more Chromium ML baselining minor cleanups.

* platform/chromium-mac-lion/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png: Copied from LayoutTests/platform/chromium-mac/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png.
* platform/chromium-mac/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png:
* platform/chromium-mac/editing/selection/iframe-expected.png:
* platform/chromium-mac/editing/selection/move-by-line-001-expected.png:
* platform/chromium-win-xp/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
* platform/chromium/TestExpectations:

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

8 years ago[chromium] Storing the enclosing rect dimensions of the first finger for a two finger tap
commit-queue@webkit.org [Mon, 22 Oct 2012 02:02:09 +0000 (02:02 +0000)]
[chromium] Storing the enclosing rect dimensions of the first finger for a two finger tap
https://bugs.webkit.org/show_bug.cgi?id=99763

Patch by Terry Anderson <tdanderson@chromium.org> on 2012-10-21
Reviewed by Adam Barth.

Add a struct |twoFingerTap| inside the union |data| of a WebGestureEvent. The fields |firstFingerWidth|
and |firstFingerHeight| will represent the dimensions of the enclosing rectangle corresponding to the
first touch point in the gesture. These will be used in a future CL to perform target fuzzing on a
two-finger tap gesture.

Note: I chose not to name the two fields |width| and |height| so that they aren't confused with the
width and height of the gesture's bounding box, which contains the enclosing rectangles of both touch
points. My future fuzzing CL will only be concerned with the location and enclosing rectangle of the
first touch point.

* public/WebInputEvent.h:

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

8 years agoUnreviewed, rebaseline remaining Chromium ML editing tests.
dpranke@chromium.org [Mon, 22 Oct 2012 01:39:55 +0000 (01:39 +0000)]
Unreviewed, rebaseline remaining Chromium ML editing tests.

(long list of new baselines omitted).

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

8 years agoAdd a separate flag for rgb swizzling whether it can be modified or not
commit-queue@webkit.org [Mon, 22 Oct 2012 01:27:27 +0000 (01:27 +0000)]
Add a separate flag for rgb swizzling whether it can be modified or not
https://bugs.webkit.org/show_bug.cgi?id=98728

BitmapTexture swizzles the source image if the OpenGL driver
doesn't support the BGRA extension.
In case of directly composited images, the source image should not
be modified.

http://www.satine.org/research/webkit/snowleopard/snowstack.html

Patch by Hyungchan Kim <hyungchan2.kim@lge.com> on 2012-10-21
Reviewed by Noam Rosenthal.

No new tests as this is only testable on specific hardware and
currently not avaiable in the bots.

Source/WebCore:

* platform/graphics/texmap/TextureMapper.h:
(BitmapTexture):
* platform/graphics/texmap/TextureMapperBackingStore.cpp:
(WebCore::TextureMapperTile::updateContents):
(WebCore::TextureMapperTiledBackingStore::updateContentsFromImageIfNeeded):
(WebCore::TextureMapperTiledBackingStore::updateContents):
* platform/graphics/texmap/TextureMapperBackingStore.h:
(TextureMapperTile):
(TextureMapperTiledBackingStore):
(WebCore::TextureMapperTiledBackingStore::updateContents):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawRepaintCounter):
(WebCore::BitmapTextureGL::updateContents):
* platform/graphics/texmap/TextureMapperGL.h:
(BitmapTextureGL):
* platform/graphics/texmap/TextureMapperImageBuffer.cpp:
(WebCore::BitmapTextureImageBuffer::updateContents):
* platform/graphics/texmap/TextureMapperImageBuffer.h:
(BitmapTextureImageBuffer):
* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::updateBackingStore):

Source/WebKit2:

* platform/graphics/texmap/TextureMapper.h:
(BitmapTexture):
* platform/graphics/texmap/TextureMapperBackingStore.cpp:
(WebCore::TextureMapperTile::updateContents):
(WebCore::TextureMapperTiledBackingStore::updateContentsFromImageIfNeeded):
(WebCore::TextureMapperTiledBackingStore::updateContents):
* platform/graphics/texmap/TextureMapperBackingStore.h:
(TextureMapperTile):
(TextureMapperTiledBackingStore):
(WebCore::TextureMapperTiledBackingStore::updateContents):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::drawRepaintCounter):
(WebCore::BitmapTextureGL::updateContents):
* platform/graphics/texmap/TextureMapperGL.h:
(BitmapTextureGL):
* platform/graphics/texmap/TextureMapperImageBuffer.cpp:
(WebCore::BitmapTextureImageBuffer::updateContents):
* platform/graphics/texmap/TextureMapperImageBuffer.h:
(BitmapTextureImageBuffer):
* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::updateBackingStore):

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

8 years ago[EFL] Fix failure to access the inspector resources
commit-queue@webkit.org [Mon, 22 Oct 2012 01:25:21 +0000 (01:25 +0000)]
[EFL] Fix failure to access the inspector resources
https://bugs.webkit.org/show_bug.cgi?id=99816

Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-10-21
Reviewed by Gyuyoung Kim.

access() returns -1, if path has a file protocol like "file://".
And I have removed it from the first argument of access().
If not, inspectorBaseURL() or inspectorFilesPath() always returns WEB_INSPECTOR_DIR.
Then all layout test related to inspector can fail after installing webkit package.

Source/WebKit/efl:

* WebCoreSupport/InspectorClientEfl.cpp:
(WebCore::InspectorClientEfl::inspectorFilesPath):

Source/WebKit2:

* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::inspectorBaseURL):

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

8 years agoUnreviewed, new Chromium ML expectations for editing/inserting and editing/pasteboard.
dpranke@chromium.org [Mon, 22 Oct 2012 01:13:40 +0000 (01:13 +0000)]
Unreviewed, new Chromium ML expectations for editing/inserting and editing/pasteboard.

(long list of new baselines omitted).

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

8 years agoUnreviewed, new Chromium ML baselines for editing/deleting, editing/execCommand,...
dpranke@chromium.org [Mon, 22 Oct 2012 00:54:40 +0000 (00:54 +0000)]
Unreviewed, new Chromium ML baselines for editing/deleting, editing/execCommand, and editing/selection

(long list of new baselines omitted).

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

8 years agoUnreviewed, new Chromium ML baselines for platform/chromium/virtual/gpu/fast/hidpi.
dpranke@chromium.org [Mon, 22 Oct 2012 00:32:32 +0000 (00:32 +0000)]
Unreviewed, new Chromium ML baselines for platform/chromium/virtual/gpu/fast/hidpi.

* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-text-baseline-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-baseline-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-transforms-during-path-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-transforms-during-path-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/fillrect-gradient-zero-stops-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect-gradient-zero-stops-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/patternfill-repeat-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/patternfill-repeat-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/quadraticCurveTo-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/quadraticCurveTo-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-4-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-4-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-5-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-5-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-6-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-6-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-7-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-7-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png: Copied from LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png.
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-baseline-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-transforms-during-path-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect-gradient-zero-stops-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-pattern-rotate-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/patternfill-repeat-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/quadraticCurveTo-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/setWidthResetAfterForcedRender-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-4-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-5-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-6-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/shadow-offset-7-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium/TestExpectations:

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

8 years agoUnreviewed, add Chromium ML baselines for fast/hidpi.
dpranke@chromium.org [Sun, 21 Oct 2012 23:48:47 +0000 (23:48 +0000)]
Unreviewed, add Chromium ML baselines for fast/hidpi.

* platform/chromium-mac-lion/fast/hidpi/clip-text-in-hidpi-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/clip-text-in-hidpi-expected.png.
* platform/chromium-mac-lion/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/gradient-with-scaled-ancestor-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-as-background-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-as-background-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-background-dynamic-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-background-dynamic-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-background-repeat-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-background-repeat-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-background-repeat-without-size-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-background-repeat-without-size-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-border-image-comparison-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-border-image-comparison-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-border-image-dynamic-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-border-image-dynamic-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-border-image-simple-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-border-image-simple-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-in-content-dynamic-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-in-content-dynamic-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-out-of-order-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-out-of-order-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-simple-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-simple-expected.png.
* platform/chromium-mac-lion/fast/hidpi/image-set-without-specified-width-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/image-set-without-specified-width-expected.png.
* platform/chromium-mac-lion/fast/hidpi/resize-corner-hidpi-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/resize-corner-hidpi-expected.png.
* platform/chromium-mac-lion/fast/hidpi/video-controls-in-hidpi-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/hidpi/video-controls-in-hidpi-expected.png.
* platform/chromium-mac-mountainlion/TestExpectations:
* platform/chromium-mac/fast/hidpi/clip-text-in-hidpi-expected.png:
* platform/chromium-mac/fast/hidpi/gradient-with-scaled-ancestor-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-as-background-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-background-repeat-without-size-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-comparison-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-border-image-simple-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-in-content-dynamic-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-out-of-order-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-simple-expected.png:
* platform/chromium-mac/fast/hidpi/image-set-without-specified-width-expected.png:
* platform/chromium-mac/fast/hidpi/resize-corner-hidpi-expected.png:
* platform/chromium-mac/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-win/fast/hidpi/gradient-with-scaled-ancestor-expected.png:

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

8 years agoUnreviewed, re-adjust Chromium Mac expectations.
dpranke@chromium.org [Sun, 21 Oct 2012 23:37:34 +0000 (23:37 +0000)]
Unreviewed, re-adjust Chromium Mac expectations.

* platform/chromium/TestExpectations:

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

8 years agoUnreviewed, new Chromium ML baselines for fast/canvas.
dpranke@chromium.org [Sun, 21 Oct 2012 23:33:14 +0000 (23:33 +0000)]
Unreviewed, new Chromium ML baselines for fast/canvas.

* fast/canvas/canvas-incremental-repaint-expected.png: Renamed from LayoutTests/platform/efl/fast/canvas/canvas-incremental-repaint-expected.png.
* fast/canvas/canvas-size-change-after-layout-expected.png: Renamed from LayoutTests/platform/mac/fast/canvas/canvas-size-change-after-layout-expected.png.
* fast/canvas/canvasDrawingIntoSelf-expected.png: Renamed from LayoutTests/platform/mac/fast/canvas/canvasDrawingIntoSelf-expected.png.
* fast/canvas/drawImage-expected.png: Renamed from LayoutTests/platform/mac/fast/canvas/drawImage-expected.png.
* fast/canvas/shadow-offset-1-expected.png: Renamed from LayoutTests/platform/mac/fast/canvas/shadow-offset-1-expected.png.
* fast/canvas/shadow-offset-2-expected.png: Renamed from LayoutTests/platform/mac/fast/canvas/shadow-offset-2-expected.png.
* fast/canvas/shadow-offset-3-expected.png: Renamed from LayoutTests/platform/mac/fast/canvas/shadow-offset-3-expected.png.
* platform/chromium-mac-lion/fast/canvas/arc360-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/arc360-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-before-css-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-before-css-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-bg-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-bg-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-composite-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-composite-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-incremental-repaint-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-incremental-repaint-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-resize-reset-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-resize-reset-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-size-change-after-layout-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-size-change-after-layout-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-text-alignment-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-text-alignment-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-text-baseline-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-text-baseline-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-transforms-during-path-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-transforms-during-path-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvas-zoom-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvas-zoom-expected.png.
* platform/chromium-mac-lion/fast/canvas/canvasDrawingIntoSelf-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/canvasDrawingIntoSelf-expected.png.
* platform/chromium-mac-lion/fast/canvas/check-stale-putImageData-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/check-stale-putImageData-expected.png.
* platform/chromium-mac-lion/fast/canvas/drawImage-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/drawImage-expected.png.
* platform/chromium-mac-lion/fast/canvas/drawImage-with-globalAlpha-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/drawImage-with-globalAlpha-expected.png.
* platform/chromium-mac-lion/fast/canvas/fill-stroke-clip-reset-path-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/fill-stroke-clip-reset-path-expected.png.
* platform/chromium-mac-lion/fast/canvas/fillrect-gradient-zero-stops-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/fillrect-gradient-zero-stops-expected.png.
* platform/chromium-mac-lion/fast/canvas/fillrect_gradient-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/fillrect_gradient-expected.png.
* platform/chromium-mac-lion/fast/canvas/image-object-in-canvas-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/image-object-in-canvas-expected.png.
* platform/chromium-mac-lion/fast/canvas/image-pattern-rotate-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/image-pattern-rotate-expected.png.
* platform/chromium-mac-lion/fast/canvas/patternfill-repeat-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/patternfill-repeat-expected.png.
* platform/chromium-mac-lion/fast/canvas/quadraticCurveTo-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/quadraticCurveTo-expected.png.
* platform/chromium-mac-lion/fast/canvas/setWidthResetAfterForcedRender-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/setWidthResetAfterForcedRender-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-1-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-1-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-2-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-2-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-3-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-3-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-4-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-4-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-5-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-5-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-6-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-6-expected.png.
* platform/chromium-mac-lion/fast/canvas/shadow-offset-7-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/shadow-offset-7-expected.png.
* platform/chromium-mac-lion/fast/canvas/toDataURL-alpha-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/toDataURL-alpha-expected.png.
* platform/chromium-mac-lion/fast/canvas/zero-size-fill-rect-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/canvas/zero-size-fill-rect-expected.png.
* platform/chromium-mac-mountainlion/TestExpectations:
* platform/chromium-mac/fast/canvas/arc360-expected.png:
* platform/chromium-mac/fast/canvas/canvas-before-css-expected.png:
* platform/chromium-mac/fast/canvas/canvas-bg-expected.png:
* platform/chromium-mac/fast/canvas/canvas-composite-expected.png:
* platform/chromium-mac/fast/canvas/canvas-incremental-repaint-expected.png:
* platform/chromium-mac/fast/canvas/canvas-resize-reset-expected.png:
* platform/chromium-mac/fast/canvas/canvas-size-change-after-layout-expected.png:
* platform/chromium-mac/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-mac/fast/canvas/canvas-text-baseline-expected.png:
* platform/chromium-mac/fast/canvas/canvas-transforms-during-path-expected.png:
* platform/chromium-mac/fast/canvas/canvas-zoom-expected.png:
* platform/chromium-mac/fast/canvas/canvasDrawingIntoSelf-expected.png:
* platform/chromium-mac/fast/canvas/check-stale-putImageData-expected.png:
* platform/chromium-mac/fast/canvas/drawImage-expected.png:
* platform/chromium-mac/fast/canvas/drawImage-with-globalAlpha-expected.png:
* platform/chromium-mac/fast/canvas/fill-stroke-clip-reset-path-expected.png:
* platform/chromium-mac/fast/canvas/fillrect-gradient-zero-stops-expected.png:
* platform/chromium-mac/fast/canvas/fillrect_gradient-expected.png:
* platform/chromium-mac/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-mac/fast/canvas/image-pattern-rotate-expected.png:
* platform/chromium-mac/fast/canvas/patternfill-repeat-expected.png:
* platform/chromium-mac/fast/canvas/quadraticCurveTo-expected.png:
* platform/chromium-mac/fast/canvas/setWidthResetAfterForcedRender-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-1-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-2-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-3-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-4-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-5-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-6-expected.png:
* platform/chromium-mac/fast/canvas/shadow-offset-7-expected.png:
* platform/chromium-mac/fast/canvas/toDataURL-alpha-expected.png:
* platform/chromium-mac/fast/canvas/zero-size-fill-rect-expected.png:
* platform/chromium/TestExpectations:
* platform/gtk/fast/canvas/canvas-incremental-repaint-expected.png: Removed.

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

8 years agoUnreviewed, expectations update for Chromium.
dpranke@chromium.org [Sun, 21 Oct 2012 22:51:28 +0000 (22:51 +0000)]
Unreviewed, expectations update for Chromium.

* platform/chromium-mac-mountainlion/TestExpectations:
* platform/chromium/TestExpectations:

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

8 years agoUnreviewed, update Chromium ML baselines for LayoutTests/css1 and optimize.
dpranke@chromium.org [Sun, 21 Oct 2012 22:39:57 +0000 (22:39 +0000)]
Unreviewed, update Chromium ML baselines for LayoutTests/css1 and optimize.

* css1/formatting_model/floating_elements-expected.png: Renamed from LayoutTests/platform/efl/css1/formatting_model/floating_elements-expected.png.
* platform/chromium-linux-x86/css1/basic/class_as_selector-expected.png: Removed.
* platform/chromium-linux-x86/css1/basic/id_as_selector-expected.png: Removed.
* platform/chromium-linux-x86/css1/box_properties/border_bottom-expected.png: Removed.
* platform/chromium-linux-x86/css1/box_properties/margin_left-expected.png: Removed.
* platform/chromium-linux-x86/css1/box_properties/padding_right-expected.png: Removed.
* platform/chromium-linux-x86/css1/pseudo/anchor-expected.png: Removed.
* platform/chromium-mac-lion/css1/basic/class_as_selector-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/class_as_selector-expected.png.
* platform/chromium-mac-lion/css1/basic/comments-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/comments-expected.png.
* platform/chromium-mac-lion/css1/basic/containment-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/containment-expected.png.
* platform/chromium-mac-lion/css1/basic/contextual_selectors-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/contextual_selectors-expected.png.
* platform/chromium-mac-lion/css1/basic/grouping-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/grouping-expected.png.
* platform/chromium-mac-lion/css1/basic/id_as_selector-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/id_as_selector-expected.png.
* platform/chromium-mac-lion/css1/basic/inheritance-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/basic/inheritance-expected.png.
* platform/chromium-mac-lion/css1/box_properties/acid_test-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/acid_test-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_bottom-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_bottom-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_bottom_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_bottom_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_bottom_width-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_bottom_width-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_bottom_width_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_bottom_width_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_color-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_color-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_color_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_color_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_left-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_left-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_left_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_left_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_left_width-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_left_width-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_left_width_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_left_width_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_right-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_right-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_right_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_right_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_right_width-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_right_width-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_right_width_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_right_width_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_style-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_style-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_style_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_style_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_top-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_top-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_top_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_top_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_top_width-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_top_width-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_top_width_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_top_width_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_width-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_width-expected.png.
* platform/chromium-mac-lion/css1/box_properties/border_width_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/border_width_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/clear-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/clear-expected.png.
* platform/chromium-mac-lion/css1/box_properties/clear_float-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/clear_float-expected.png.
* platform/chromium-mac-lion/css1/box_properties/float-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/float-expected.png.
* platform/chromium-mac-lion/css1/box_properties/float_elements_in_series-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/float_elements_in_series-expected.png.
* platform/chromium-mac-lion/css1/box_properties/float_margin-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/float_margin-expected.png.
* platform/chromium-mac-lion/css1/box_properties/float_on_text_elements-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/float_on_text_elements-expected.png.
* platform/chromium-mac-lion/css1/box_properties/height-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/height-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_bottom-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_bottom-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_bottom_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_bottom_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_left-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_left-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_left_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_left_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_right-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_right-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_right_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_right_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_top-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_top-expected.png.
* platform/chromium-mac-lion/css1/box_properties/margin_top_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/margin_top_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_bottom-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_bottom-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_bottom_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_bottom_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_left-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_left-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_left_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_left_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_right-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_right-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_right_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_right_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_top-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_top-expected.png.
* platform/chromium-mac-lion/css1/box_properties/padding_top_inline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/padding_top_inline-expected.png.
* platform/chromium-mac-lion/css1/box_properties/width-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/box_properties/width-expected.png.
* platform/chromium-mac-lion/css1/cascade/cascade_order-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/cascade/cascade_order-expected.png.
* platform/chromium-mac-lion/css1/cascade/important-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/cascade/important-expected.png.
* platform/chromium-mac-lion/css1/classification/display-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/classification/display-expected.png.
* platform/chromium-mac-lion/css1/classification/list_style-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/classification/list_style-expected.png.
* platform/chromium-mac-lion/css1/classification/list_style_image-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/classification/list_style_image-expected.png.
* platform/chromium-mac-lion/css1/classification/list_style_position-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/classification/list_style_position-expected.png.
* platform/chromium-mac-lion/css1/classification/list_style_type-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/classification/list_style_type-expected.png.
* platform/chromium-mac-lion/css1/classification/white_space-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/classification/white_space-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/background-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/background-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/background_attachment-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/background_attachment-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/background_color-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/background_color-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/background_image-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/background_image-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/background_position-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/background_position-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/background_repeat-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/background_repeat-expected.png.
* platform/chromium-mac-lion/css1/color_and_background/color-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/color_and_background/color-expected.png.
* platform/chromium-mac-lion/css1/conformance/forward_compatible_parsing-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/conformance/forward_compatible_parsing-expected.png.
* platform/chromium-mac-lion/css1/font_properties/font-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/font_properties/font-expected.png.
* platform/chromium-mac-lion/css1/font_properties/font_family-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/font_properties/font_family-expected.png.
* platform/chromium-mac-lion/css1/font_properties/font_size-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/font_properties/font_size-expected.png.
* platform/chromium-mac-lion/css1/font_properties/font_style-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/font_properties/font_style-expected.png.
* platform/chromium-mac-lion/css1/font_properties/font_variant-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/font_properties/font_variant-expected.png.
* platform/chromium-mac-lion/css1/font_properties/font_weight-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/font_properties/font_weight-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/canvas-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/canvas-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/floating_elements-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/floating_elements-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/height_of_lines-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/height_of_lines-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/horizontal_formatting-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/horizontal_formatting-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/inline_elements-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/inline_elements-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/replaced_elements-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/replaced_elements-expected.png.
* platform/chromium-mac-lion/css1/formatting_model/vertical_formatting-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/formatting_model/vertical_formatting-expected.png.
* platform/chromium-mac-lion/css1/pseudo/anchor-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/pseudo/anchor-expected.png.
* platform/chromium-mac-lion/css1/pseudo/firstletter-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/pseudo/firstletter-expected.png.
* platform/chromium-mac-lion/css1/pseudo/firstline-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/pseudo/firstline-expected.png.
* platform/chromium-mac-lion/css1/pseudo/multiple_pseudo_elements-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/pseudo/multiple_pseudo_elements-expected.png.
* platform/chromium-mac-lion/css1/pseudo/pseudo_elements_in_selectors-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/pseudo/pseudo_elements_in_selectors-expected.png.
* platform/chromium-mac-lion/css1/text_properties/letter_spacing-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/letter_spacing-expected.png.
* platform/chromium-mac-lion/css1/text_properties/line_height-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/line_height-expected.png.
* platform/chromium-mac-lion/css1/text_properties/text_align-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/text_align-expected.png.
* platform/chromium-mac-lion/css1/text_properties/text_decoration-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/text_decoration-expected.png.
* platform/chromium-mac-lion/css1/text_properties/text_indent-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/text_indent-expected.png.
* platform/chromium-mac-lion/css1/text_properties/text_transform-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/text_transform-expected.png.
* platform/chromium-mac-lion/css1/text_properties/vertical_align-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/vertical_align-expected.png.
* platform/chromium-mac-lion/css1/text_properties/word_spacing-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/text_properties/word_spacing-expected.png.
* platform/chromium-mac-lion/css1/units/color_units-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/units/color_units-expected.png.
* platform/chromium-mac-lion/css1/units/length_units-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/units/length_units-expected.png.
* platform/chromium-mac-lion/css1/units/percentage_units-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/units/percentage_units-expected.png.
* platform/chromium-mac-lion/css1/units/urls-expected.png: Copied from LayoutTests/platform/chromium-mac/css1/units/urls-expected.png.
* platform/chromium-mac-mountainlion/TestExpectations:
* platform/chromium-mac/css1/basic/class_as_selector-expected.png:
* platform/chromium-mac/css1/basic/comments-expected.png:
* platform/chromium-mac/css1/basic/containment-expected.png:
* platform/chromium-mac/css1/basic/contextual_selectors-expected.png:
* platform/chromium-mac/css1/basic/grouping-expected.png:
* platform/chromium-mac/css1/basic/id_as_selector-expected.png:
* platform/chromium-mac/css1/basic/inheritance-expected.png:
* platform/chromium-mac/css1/box_properties/acid_test-expected.png:
* platform/chromium-mac/css1/box_properties/border-expected.png:
* platform/chromium-mac/css1/box_properties/border_bottom-expected.png:
* platform/chromium-mac/css1/box_properties/border_bottom_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_bottom_width-expected.png:
* platform/chromium-mac/css1/box_properties/border_bottom_width_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_color-expected.png:
* platform/chromium-mac/css1/box_properties/border_color_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_left-expected.png:
* platform/chromium-mac/css1/box_properties/border_left_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_left_width-expected.png:
* platform/chromium-mac/css1/box_properties/border_left_width_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_right-expected.png:
* platform/chromium-mac/css1/box_properties/border_right_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_right_width-expected.png:
* platform/chromium-mac/css1/box_properties/border_right_width_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_style-expected.png:
* platform/chromium-mac/css1/box_properties/border_style_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_top-expected.png:
* platform/chromium-mac/css1/box_properties/border_top_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_top_width-expected.png:
* platform/chromium-mac/css1/box_properties/border_top_width_inline-expected.png:
* platform/chromium-mac/css1/box_properties/border_width-expected.png:
* platform/chromium-mac/css1/box_properties/border_width_inline-expected.png:
* platform/chromium-mac/css1/box_properties/clear-expected.png:
* platform/chromium-mac/css1/box_properties/clear_float-expected.png:
* platform/chromium-mac/css1/box_properties/float-expected.png:
* platform/chromium-mac/css1/box_properties/float_elements_in_series-expected.png:
* platform/chromium-mac/css1/box_properties/float_margin-expected.png:
* platform/chromium-mac/css1/box_properties/float_on_text_elements-expected.png:
* platform/chromium-mac/css1/box_properties/height-expected.png:
* platform/chromium-mac/css1/box_properties/margin-expected.png:
* platform/chromium-mac/css1/box_properties/margin_bottom-expected.png:
* platform/chromium-mac/css1/box_properties/margin_bottom_inline-expected.png:
* platform/chromium-mac/css1/box_properties/margin_inline-expected.png:
* platform/chromium-mac/css1/box_properties/margin_left-expected.png:
* platform/chromium-mac/css1/box_properties/margin_left_inline-expected.png:
* platform/chromium-mac/css1/box_properties/margin_right-expected.png:
* platform/chromium-mac/css1/box_properties/margin_right_inline-expected.png:
* platform/chromium-mac/css1/box_properties/margin_top-expected.png:
* platform/chromium-mac/css1/box_properties/margin_top_inline-expected.png:
* platform/chromium-mac/css1/box_properties/padding-expected.png:
* platform/chromium-mac/css1/box_properties/padding_bottom-expected.png:
* platform/chromium-mac/css1/box_properties/padding_bottom_inline-expected.png:
* platform/chromium-mac/css1/box_properties/padding_inline-expected.png:
* platform/chromium-mac/css1/box_properties/padding_left-expected.png:
* platform/chromium-mac/css1/box_properties/padding_left_inline-expected.png:
* platform/chromium-mac/css1/box_properties/padding_right-expected.png:
* platform/chromium-mac/css1/box_properties/padding_right_inline-expected.png:
* platform/chromium-mac/css1/box_properties/padding_top-expected.png:
* platform/chromium-mac/css1/box_properties/padding_top_inline-expected.png:
* platform/chromium-mac/css1/box_properties/width-expected.png:
* platform/chromium-mac/css1/cascade/cascade_order-expected.png:
* platform/chromium-mac/css1/cascade/important-expected.png:
* platform/chromium-mac/css1/classification/display-expected.png:
* platform/chromium-mac/css1/classification/list_style-expected.png:
* platform/chromium-mac/css1/classification/list_style_image-expected.png:
* platform/chromium-mac/css1/classification/list_style_position-expected.png:
* platform/chromium-mac/css1/classification/list_style_type-expected.png:
* platform/chromium-mac/css1/classification/white_space-expected.png:
* platform/chromium-mac/css1/color_and_background/background-expected.png:
* platform/chromium-mac/css1/color_and_background/background_attachment-expected.png:
* platform/chromium-mac/css1/color_and_background/background_color-expected.png:
* platform/chromium-mac/css1/color_and_background/background_image-expected.png:
* platform/chromium-mac/css1/color_and_background/background_position-expected.png:
* platform/chromium-mac/css1/color_and_background/background_repeat-expected.png:
* platform/chromium-mac/css1/color_and_background/color-expected.png:
* platform/chromium-mac/css1/conformance/forward_compatible_parsing-expected.png:
* platform/chromium-mac/css1/font_properties/font-expected.png:
* platform/chromium-mac/css1/font_properties/font_family-expected.png:
* platform/chromium-mac/css1/font_properties/font_size-expected.png:
* platform/chromium-mac/css1/font_properties/font_style-expected.png:
* platform/chromium-mac/css1/font_properties/font_variant-expected.png:
* platform/chromium-mac/css1/font_properties/font_weight-expected.png:
* platform/chromium-mac/css1/formatting_model/canvas-expected.png:
* platform/chromium-mac/css1/formatting_model/floating_elements-expected.png:
* platform/chromium-mac/css1/formatting_model/height_of_lines-expected.png:
* platform/chromium-mac/css1/formatting_model/horizontal_formatting-expected.png:
* platform/chromium-mac/css1/formatting_model/inline_elements-expected.png:
* platform/chromium-mac/css1/formatting_model/replaced_elements-expected.png:
* platform/chromium-mac/css1/formatting_model/vertical_formatting-expected.png:
* platform/chromium-mac/css1/pseudo/anchor-expected.png:
* platform/chromium-mac/css1/pseudo/firstletter-expected.png:
* platform/chromium-mac/css1/pseudo/firstline-expected.png:
* platform/chromium-mac/css1/pseudo/multiple_pseudo_elements-expected.png:
* platform/chromium-mac/css1/pseudo/pseudo_elements_in_selectors-expected.png:
* platform/chromium-mac/css1/text_properties/letter_spacing-expected.png:
* platform/chromium-mac/css1/text_properties/line_height-expected.png:
* platform/chromium-mac/css1/text_properties/text_align-expected.png:
* platform/chromium-mac/css1/text_properties/text_decoration-expected.png:
* platform/chromium-mac/css1/text_properties/text_indent-expected.png:
* platform/chromium-mac/css1/text_properties/text_transform-expected.png:
* platform/chromium-mac/css1/text_properties/vertical_align-expected.png:
* platform/chromium-mac/css1/text_properties/word_spacing-expected.png:
* platform/chromium-mac/css1/units/color_units-expected.png:
* platform/chromium-mac/css1/units/length_units-expected.png:
* platform/chromium-mac/css1/units/percentage_units-expected.png:
* platform/chromium-mac/css1/units/urls-expected.png:
* platform/chromium-win-xp/css1/basic/class_as_selector-expected.png: Removed.
* platform/chromium-win-xp/css1/basic/containment-expected.png: Removed.
* platform/chromium-win-xp/css1/basic/id_as_selector-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/border_bottom-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/border_left-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/border_right_inline-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/border_top-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/clear_float-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/margin_left-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/margin_right-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/padding_left-expected.png: Removed.
* platform/chromium-win-xp/css1/box_properties/padding_right-expected.png: Removed.
* platform/chromium-win-xp/css1/cascade/cascade_order-expected.png: Removed.
* platform/chromium-win-xp/css1/classification/list_style_type-expected.png: Removed.
* platform/chromium-win-xp/css1/formatting_model/floating_elements-expected.png: Removed.
* platform/chromium-win-xp/css1/pseudo/anchor-expected.png: Removed.
* platform/gtk/css1/formatting_model/floating_elements-expected.png: Removed.

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

8 years agoFactor stylesheet invalidation analysis code into a class
antti@apple.com [Sun, 21 Oct 2012 22:02:51 +0000 (22:02 +0000)]
Factor stylesheet invalidation analysis code into a class
https://bugs.webkit.org/show_bug.cgi?id=99933

Reviewed by Sam Weinig.

Currently the stylesheet analysis code is all over the place. It should be factored into a class to make
further progress easier.

The patch adds StyleInvalidationAnalysis class and moves a bunch of code from SelectorChecker, StyleResolver
and DocumentStyleSheetCollection there. No functional changes.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/SelectorChecker.cpp:
(WebCore):
* css/SelectorChecker.h:
(WebCore):
* css/StyleInvalidationAnalysis.cpp: Added.
(WebCore):
(WebCore::StyleInvalidationAnalysis::StyleInvalidationAnalysis):
(WebCore::StyleInvalidationAnalysis::create):
(WebCore::determineSelectorScopes):
(WebCore::StyleInvalidationAnalysis::analyzeStyleSheet):
(WebCore::elementMatchesSelectorScopes):
(WebCore::StyleInvalidationAnalysis::invalidateStyle):
* css/StyleInvalidationAnalysis.h: Added.
(WebCore):
(StyleInvalidationAnalysis):
(WebCore::StyleInvalidationAnalysis::dirtiesAllStyle):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::checkRegionSelector):
* css/StyleResolver.h:
(StyleResolver):
* dom/DocumentStyleSheetCollection.cpp:
(WebCore):
(WebCore::DocumentStyleSheetCollection::analyzeStyleSheetChange):
* dom/DocumentStyleSheetCollection.h:
(DocumentStyleSheetCollection):

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

8 years agoUnreviewed, chromium expectations update to remove passing tests.
dpranke@chromium.org [Sun, 21 Oct 2012 22:02:05 +0000 (22:02 +0000)]
Unreviewed, chromium expectations update to remove passing tests.

* platform/chromium-mac-mountainlion/TestExpectations:
* platform/chromium/TestExpectations:

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

8 years ago[EFL][WK2] Make Ewk_Error, Ewk_Resource and Ewk_Popup_Menu_Item members private
commit-queue@webkit.org [Sun, 21 Oct 2012 19:53:02 +0000 (19:53 +0000)]
[EFL][WK2] Make Ewk_Error, Ewk_Resource and Ewk_Popup_Menu_Item members private
https://bugs.webkit.org/show_bug.cgi?id=99931

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Error, Ewk_Resource and Ewk_Popup_Menu_Item class
members private.

* UIProcess/API/efl/ewk_error.cpp:
(Ewk_Error::Ewk_Error):
(Ewk_Error::url):
(Ewk_Error::description):
(Ewk_Error::domain):
(Ewk_Error::errorCode):
(Ewk_Error::isCancellation):
(ewk_error_type_get):
(ewk_error_url_get):
(ewk_error_code_get):
(ewk_error_description_get):
(ewk_error_cancellation_get):
* UIProcess/API/efl/ewk_error_private.h:
(Ewk_Error):
* UIProcess/API/efl/ewk_popup_menu_item.cpp:
(Ewk_Popup_Menu_Item::Ewk_Popup_Menu_Item):
(Ewk_Popup_Menu_Item::type):
(Ewk_Popup_Menu_Item::textDirection):
(Ewk_Popup_Menu_Item::text):
(Ewk_Popup_Menu_Item::tooltipText):
(Ewk_Popup_Menu_Item::accessibilityText):
(Ewk_Popup_Menu_Item::hasTextDirectionOverride):
(Ewk_Popup_Menu_Item::isEnabled):
(Ewk_Popup_Menu_Item::isLabel):
(Ewk_Popup_Menu_Item::isSelected):
(ewk_popup_menu_item_type_get):
(ewk_popup_menu_item_text_get):
(ewk_popup_menu_item_text_direction_get):
(ewk_popup_menu_item_text_direction_override_get):
(ewk_popup_menu_item_tooltip_get):
(ewk_popup_menu_item_accessibility_text_get):
(ewk_popup_menu_item_enabled_get):
(ewk_popup_menu_item_is_label_get):
(ewk_popup_menu_item_selected_get):
* UIProcess/API/efl/ewk_popup_menu_item_private.h:
(Ewk_Popup_Menu_Item):
* UIProcess/API/efl/ewk_resource.cpp:
(Ewk_Resource::Ewk_Resource):
(Ewk_Resource::url):
(Ewk_Resource::isMainResource):
(ewk_resource_url_get):
(ewk_resource_main_resource_get):
* UIProcess/API/efl/ewk_resource_private.h:
(Ewk_Resource):

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

8 years ago[EFL][WK2] Make Ewk_Url_Request, Ewk_Url_Response and Ewk_Url_Scheme_Request members...
commit-queue@webkit.org [Sun, 21 Oct 2012 17:17:26 +0000 (17:17 +0000)]
[EFL][WK2] Make Ewk_Url_Request, Ewk_Url_Response and Ewk_Url_Scheme_Request members private
https://bugs.webkit.org/show_bug.cgi?id=99936

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make wk_Url_Request, Ewk_Url_Response and Ewk_Url_Scheme_Request
class members private.

* UIProcess/API/efl/ewk_context.cpp:
(ewk_context_url_scheme_request_received):
* UIProcess/API/efl/ewk_download_job.cpp:
(Ewk_Download_Job::estimatedProgress):
* UIProcess/API/efl/ewk_url_request.cpp:
(Ewk_Url_Request::Ewk_Url_Request):
(Ewk_Url_Request::url):
(Ewk_Url_Request::firstParty):
(Ewk_Url_Request::httpMethod):
(ewk_url_request_url_get):
(ewk_request_cookies_first_party_get):
(ewk_url_request_http_method_get):
* UIProcess/API/efl/ewk_url_request_private.h:
(Ewk_Url_Request):
* UIProcess/API/efl/ewk_url_response.cpp:
(Ewk_Url_Response::Ewk_Url_Response):
(Ewk_Url_Response::httpStatusCode):
(Ewk_Url_Response::url):
(Ewk_Url_Response::mimeType):
(Ewk_Url_Response::contentLength):
(ewk_url_response_url_get):
(ewk_url_response_status_code_get):
(ewk_url_response_mime_type_get):
(ewk_url_response_content_length_get):
* UIProcess/API/efl/ewk_url_response_private.h:
(Ewk_Url_Response):
* UIProcess/API/efl/ewk_url_scheme_request.cpp:
(Ewk_Url_Scheme_Request::Ewk_Url_Scheme_Request):
(Ewk_Url_Scheme_Request::id):
(Ewk_Url_Scheme_Request::url):
(Ewk_Url_Scheme_Request::scheme):
(Ewk_Url_Scheme_Request::path):
(Ewk_Url_Scheme_Request::finish):
(ewk_url_scheme_request_scheme_get):
(ewk_url_scheme_request_url_get):
(ewk_url_scheme_request_path_get):
(ewk_url_scheme_request_finish):
* UIProcess/API/efl/ewk_url_scheme_request.h: Fix ewk_url_scheme_request_finish() declaration
so that the request argument is no longer marked as const and so that the content type is of
type uint64_t instead of unsigned int.
* UIProcess/API/efl/ewk_url_scheme_request_private.h:
(Ewk_Url_Scheme_Request):

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

8 years ago[EFL][WK2] Make Ewk_Form_Submission_Request, Ewk_Navigation_Data and Ewk_Navigation_P...
commit-queue@webkit.org [Sun, 21 Oct 2012 16:34:16 +0000 (16:34 +0000)]
[EFL][WK2] Make Ewk_Form_Submission_Request, Ewk_Navigation_Data and Ewk_Navigation_Policy_Decision members private
https://bugs.webkit.org/show_bug.cgi?id=99934

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Form_Submission_Request, Ewk_Navigation_Data and
Ewk_Navigation_Policy_Decision class members private.

* UIProcess/API/efl/ewk_form_submission_request.cpp:
(Ewk_Form_Submission_Request::Ewk_Form_Submission_Request):
(Ewk_Form_Submission_Request::~Ewk_Form_Submission_Request):
(Ewk_Form_Submission_Request::fieldValue):
(Ewk_Form_Submission_Request::fieldNames):
(Ewk_Form_Submission_Request::submit):
(ewk_form_submission_request_field_names_get):
(ewk_form_submission_request_field_value_get):
(ewk_form_submission_request_submit):
* UIProcess/API/efl/ewk_form_submission_request_private.h:
(Ewk_Form_Submission_Request):
* UIProcess/API/efl/ewk_navigation_data.cpp:
(Ewk_Navigation_Data::Ewk_Navigation_Data):
(Ewk_Navigation_Data::originalRequest):
(Ewk_Navigation_Data::title):
(Ewk_Navigation_Data::url):
(ewk_navigation_data_title_get):
(ewk_navigation_data_original_request_get):
(ewk_navigation_data_url_get):
* UIProcess/API/efl/ewk_navigation_data_private.h:
(Ewk_Navigation_Data):
* UIProcess/API/efl/ewk_navigation_policy_decision.cpp:
(Ewk_Navigation_Policy_Decision::Ewk_Navigation_Policy_Decision):
(Ewk_Navigation_Policy_Decision::~Ewk_Navigation_Policy_Decision):
(Ewk_Navigation_Policy_Decision::navigationType):
(Ewk_Navigation_Policy_Decision::mouseButton):
(Ewk_Navigation_Policy_Decision::modifiers):
(Ewk_Navigation_Policy_Decision::frameName):
(Ewk_Navigation_Policy_Decision::request):
(Ewk_Navigation_Policy_Decision::accept):
(Ewk_Navigation_Policy_Decision::reject):
(Ewk_Navigation_Policy_Decision::download):
(ewk_navigation_policy_navigation_type_get):
(ewk_navigation_policy_mouse_button_get):
(ewk_navigation_policy_modifiers_get):
(ewk_navigation_policy_frame_name_get):
(ewk_navigation_policy_request_get):
(ewk_navigation_policy_decision_accept):
(ewk_navigation_policy_decision_reject):
(ewk_navigation_policy_decision_download):
* UIProcess/API/efl/ewk_navigation_policy_decision_private.h:
(Ewk_Navigation_Policy_Decision):

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

8 years ago[EFL][WK2] Make Ewk_Favicon_Database members private
commit-queue@webkit.org [Sun, 21 Oct 2012 16:23:20 +0000 (16:23 +0000)]
[EFL][WK2] Make Ewk_Favicon_Database members private
https://bugs.webkit.org/show_bug.cgi?id=99932

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Favicon_Database class members private.

* UIProcess/API/efl/ewk_favicon_database.cpp:
(Ewk_Favicon_Database::Ewk_Favicon_Database):
(Ewk_Favicon_Database::iconURLForPageURL):
(Ewk_Favicon_Database::watchChanges):
(Ewk_Favicon_Database::unwatchChanges):
(AsyncIconRequestResponse):
(AsyncIconRequestResponse::AsyncIconRequestResponse):
(respond_icon_request_idle):
(Ewk_Favicon_Database::iconForPageURL):
(Ewk_Favicon_Database::didChangeIconForPageURL):
(Ewk_Favicon_Database::getIconSurfaceSynchronously):
(Ewk_Favicon_Database::iconDataReadyForPageURL):
(ewk_favicon_database_icon_url_get):
(ewk_favicon_database_async_icon_get):
(ewk_favicon_database_icon_change_callback_add):
(ewk_favicon_database_icon_change_callback_del):
* UIProcess/API/efl/ewk_favicon_database.h:
* UIProcess/API/efl/ewk_favicon_database_private.h:
(Ewk_Favicon_Database):
* UIProcess/API/efl/ewk_view.cpp:
(Ewk_View_Private_Data::~Ewk_View_Private_Data):
(_ewk_view_initialize):

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

8 years ago[EFL][WK2] Make Ewk back / forward list classes members private and remove private...
commit-queue@webkit.org [Sun, 21 Oct 2012 16:13:13 +0000 (16:13 +0000)]
[EFL][WK2] Make Ewk back / forward list classes members private and remove private C functions
https://bugs.webkit.org/show_bug.cgi?id=99929

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Back_Forward_List and Ewk_Back_Forward_List_Item members
private and remove private C functions.

* UIProcess/API/efl/ewk_back_forward_list.cpp:
(Ewk_Back_Forward_List::Ewk_Back_Forward_List):
(Ewk_Back_Forward_List::nextItem):
(Ewk_Back_Forward_List::previousItem):
(Ewk_Back_Forward_List::currentItem):
(Ewk_Back_Forward_List::itemAt):
(Ewk_Back_Forward_List::size):
(Ewk_Back_Forward_List::backList):
(Ewk_Back_Forward_List::forwardList):
(Ewk_Back_Forward_List::getFromCacheOrCreate):
(Ewk_Back_Forward_List::createEinaList):
(Ewk_Back_Forward_List::update):
(ewk_back_forward_list_current_item_get):
(ewk_back_forward_list_previous_item_get):
(ewk_back_forward_list_next_item_get):
(ewk_back_forward_list_item_at_index_get):
(ewk_back_forward_list_count):
(ewk_back_forward_list_n_back_items_copy):
(ewk_back_forward_list_n_forward_items_copy):
* UIProcess/API/efl/ewk_back_forward_list_item.cpp:
(Ewk_Back_Forward_List_Item::Ewk_Back_Forward_List_Item):
(Ewk_Back_Forward_List_Item::url):
(Ewk_Back_Forward_List_Item::title):
(Ewk_Back_Forward_List_Item::originalURL):
(ewk_back_forward_list_item_url_get):
(ewk_back_forward_list_item_title_get):
(ewk_back_forward_list_item_original_url_get):
* UIProcess/API/efl/ewk_back_forward_list_item_private.h:
(Ewk_Back_Forward_List_Item):
* UIProcess/API/efl/ewk_back_forward_list_private.h:
(Ewk_Back_Forward_List):
* UIProcess/API/efl/ewk_view_loader_client.cpp:
(didChangeBackForwardList):

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

8 years ago[EFL][WK2] Make Ewk_Cookie_Manager members private
commit-queue@webkit.org [Sun, 21 Oct 2012 16:00:30 +0000 (16:00 +0000)]
[EFL][WK2] Make Ewk_Cookie_Manager members private
https://bugs.webkit.org/show_bug.cgi?id=99930

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Cookie_Manager class members private.

* UIProcess/API/efl/ewk_cookie_manager.cpp:
(Ewk_Cookie_Manager::Ewk_Cookie_Manager):
(Ewk_Cookie_Manager::~Ewk_Cookie_Manager):
(Ewk_Cookie_Manager::setPersistentStorage):
(Ewk_Cookie_Manager::setHTTPAcceptPolicy):
(Ewk_Cookie_Manager::clearHostnameCookies):
(Ewk_Cookie_Manager::clearAllCookies):
(Ewk_Cookie_Manager::watchChanges):
(Ewk_Cookie_Manager::isWatchingForChanges):
(Ewk_Cookie_Manager::getHostNamesWithCookies):
(Ewk_Cookie_Manager::getHTTPAcceptPolicy):
(Ewk_Cookie_Manager::cookiesDidChange):
(ewk_cookie_manager_persistent_storage_set):
(ewk_cookie_manager_accept_policy_set):
(Get_Policy_Async_Data):
(Get_Policy_Async_Data::Get_Policy_Async_Data):
(ewk_cookie_manager_async_accept_policy_get):
(Get_Hostnames_Async_Data):
(Get_Hostnames_Async_Data::Get_Hostnames_Async_Data):
(ewk_cookie_manager_async_hostnames_with_cookies_get):
(ewk_cookie_manager_hostname_cookies_clear):
(ewk_cookie_manager_cookies_clear):
(ewk_cookie_manager_changes_watch):
* UIProcess/API/efl/ewk_cookie_manager_private.h:
(Ewk_Cookie_Manager):

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

8 years ago[EFL][WK2] Make Ewk intent classes members private
commit-queue@webkit.org [Sun, 21 Oct 2012 10:38:59 +0000 (10:38 +0000)]
[EFL][WK2] Make Ewk intent classes members private
https://bugs.webkit.org/show_bug.cgi?id=99832

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Intent and Ewk_Intent_Service members
private and add class methods to get them.

* UIProcess/API/efl/ewk_intent.cpp:
(Ewk_Intent::Ewk_Intent):
(Ewk_Intent::webIntentData):
(Ewk_Intent::action):
(Ewk_Intent::type):
(Ewk_Intent::service):
(Ewk_Intent::suggestions):
(Ewk_Intent::extra):
(Ewk_Intent::extraKeys):
(ewk_intent_action_get):
(ewk_intent_type_get):
(ewk_intent_service_get):
(ewk_intent_suggestions_get):
(ewk_intent_extra_get):
(ewk_intent_extra_names_get):
* UIProcess/API/efl/ewk_intent_private.h:
(WebKit):
(Ewk_Intent):
* UIProcess/API/efl/ewk_intent_service.cpp:
(Ewk_Intent_Service::Ewk_Intent_Service):
(Ewk_Intent_Service::action):
(Ewk_Intent_Service::type):
(Ewk_Intent_Service::href):
(Ewk_Intent_Service::title):
(Ewk_Intent_Service::disposition):
(ewk_intent_service_action_get):
(ewk_intent_service_type_get):
(ewk_intent_service_href_get):
(ewk_intent_service_title_get):
(ewk_intent_service_disposition_get):
* UIProcess/API/efl/ewk_intent_service_private.h:
(Ewk_Intent_Service):
* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_intent_deliver):

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

8 years ago[EFL][WK2] Make Ewk_Download_Job members private and remove private C functions
commit-queue@webkit.org [Sun, 21 Oct 2012 10:36:48 +0000 (10:36 +0000)]
[EFL][WK2] Make Ewk_Download_Job members private and remove private C functions
https://bugs.webkit.org/show_bug.cgi?id=99697

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-21
Reviewed by Kenneth Rohde Christiansen.

Make Ewk_Download_Job private and replace private C functions
by class methods. New methods were also added to match the
public C API.

* UIProcess/API/efl/ewk_context.cpp:
(ewk_context_download_job_add):
* UIProcess/API/efl/ewk_context_download_client.cpp:
(decideDestinationWithSuggestedFilename):
(didReceiveResponse):
(didCreateDestination):
(didReceiveData):
(didFail):
(didCancel):
(didFinish):
* UIProcess/API/efl/ewk_download_job.cpp:
(Ewk_Download_Job::Ewk_Download_Job):
(Ewk_Download_Job::id):
(Ewk_Download_Job::view):
(ewk_download_job_state_get):
(Ewk_Download_Job::state):
(ewk_download_job_request_get):
(Ewk_Download_Job::request):
(ewk_download_job_response_get):
(Ewk_Download_Job::response):
(ewk_download_job_destination_get):
(Ewk_Download_Job::destination):
(ewk_download_job_destination_set):
(Ewk_Download_Job::setDestination):
(ewk_download_job_suggested_filename_get):
(Ewk_Download_Job::suggestedFileName):
(ewk_download_job_cancel):
(Ewk_Download_Job::cancel):
(ewk_download_job_estimated_progress_get):
(Ewk_Download_Job::estimatedProgress):
(ewk_download_job_elapsed_time_get):
(Ewk_Download_Job::elapsedTime):
(Ewk_Download_Job::setResponse):
(Ewk_Download_Job::setSuggestedFileName):
(Ewk_Download_Job::incrementReceivedData):
(Ewk_Download_Job::setState):
* UIProcess/API/efl/ewk_download_job.h:
* UIProcess/API/efl/ewk_download_job_private.h:
(Ewk_Download_Job):

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

8 years agoIn some float situations, the original layout is wrong and only corrects itself on...
robert@webkit.org [Sun, 21 Oct 2012 10:27:50 +0000 (10:27 +0000)]
In some float situations, the original layout is wrong and only corrects itself on repaint
https://bugs.webkit.org/show_bug.cgi?id=18939

Reviewed by Levi Weintraub.

Source/WebCore:

A <br> that follows collapsing spaces and has clearance set always needs to get a run and a linebox of its own.
This allows the line below it to check for clearance from the <br> if it gets dirtied but the line with the <br>
does not.

Test: fast/block/br-with-clearance-after-collapsing-space.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::LineBreaker::nextLineBreak):

LayoutTests:

* fast/block/br-with-clearance-after-collapsing-space-expected.html: Added.
* fast/block/br-with-clearance-after-collapsing-space.html: Added.

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

8 years agofloated element with negative margin causes text wrap bug
robert@webkit.org [Sun, 21 Oct 2012 09:44:21 +0000 (09:44 +0000)]
floated element with negative margin causes text wrap bug
https://bugs.webkit.org/show_bug.cgi?id=94825

Reviewed by Levi Weintraub.

Source/WebCore:

Avoid over-estimating the available width on the line by ensuring that the offset taken to avoid
floats on the line is at least as much as the offset given by border, margin and padding. This only
happens when a negative margin on the float brings its edge back before the offset
given by the border, margin and padding of its parents.

Test: fast/block/float/float-on-line-obeys-container-padding.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):

LayoutTests:

* fast/block/float/float-on-line-obeys-container-padding.html: Added.
* fast/block/float/float-on-line-obeys-container-padding-expected.html: Added.

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

8 years agoFix 'make dist' for the GTK+ port
rakuco@webkit.org [Sun, 21 Oct 2012 09:11:23 +0000 (09:11 +0000)]
Fix 'make dist' for the GTK+ port

Patch by Martin Robinson <mrobinson@igalia.com> on 2012-10-20

* GNUmakefile.list.am: Add missing files to the source list.

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

8 years agoFix 'make dist' for the GTK+ port
mrobinson@webkit.org [Sun, 21 Oct 2012 06:31:01 +0000 (06:31 +0000)]
Fix 'make dist' for the GTK+ port

Source/JavaScriptCore:

* GNUmakefile.list.am: Add missing files to the source list.

Source/WebCore:

* GNUmakefile.am: Add missing files to the source list.
* GNUmakefile.list.am: Ditto.

Source/WTF:

* GNUmakefile.list.am: Add missing files to the source list.

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

8 years ago<rdar://problem/12512710> [mac] Text with zero font size renders as 12px sometimes
mitz@apple.com [Sun, 21 Oct 2012 01:57:13 +0000 (01:57 +0000)]
<rdar://problem/12512710> [mac] Text with zero font size renders as 12px sometimes
https://bugs.webkit.org/show_bug.cgi?id=99918

Reviewed by Geoff Garen.

Source/WebCore:

-[NSFont fontWithName:size:] returns an NSFont of size 12 (the default User Font size) when
asked for size 0, and this is what Font::drawGlyphs uses to draw the text.

Test: fast/text/zero-font-size-2.html

* platform/graphics/mac/FontMac.mm:
(WebCore::Font::drawGlyphs): Added an early return if the size is zero.

LayoutTests:

* fast/text/zero-font-size-2-expected.html: Added.
* fast/text/zero-font-size-2.html: Added.

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

8 years ago[Chromium] Unreviewed rebaselines after http://trac.webkit.org/changeset/131974,...
fmalita@chromium.org [Sun, 21 Oct 2012 01:31:56 +0000 (01:31 +0000)]
[Chromium] Unreviewed rebaselines after trac.webkit.org/changeset/131974, take two.

* platform/chromium-linux-x86/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt.
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-mac/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Removed.
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt.
* platform/chromium-win-xp/svg/custom/js-late-pattern-creation-expected.png: Removed.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-win-xp/svg/custom/pattern-with-transformation-expected.png: Removed.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
* platform/chromium-win/svg/custom/js-late-pattern-creation-expected.png:
* platform/chromium-win/svg/custom/pattern-with-transformation-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:

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

8 years agoClean up QualifiedName-as-hash-key scenario.
kling@webkit.org [Sat, 20 Oct 2012 23:08:07 +0000 (23:08 +0000)]
Clean up QualifiedName-as-hash-key scenario.
<http://webkit.org/b/99394>

Reviewed by Anders Carlsson.

Cache the hash on QualifiedNameImpl after the first time it's computed.
This grows QualifiedNameImpl by 4 bytes on 32-bit (no change on 64-bit due to base class padding)
which I believe is fine, since QualifiedName is a shared object.

Add a global nullQName() function that returns a QualifiedName(nullAtom, nullAtom, nullAtom)
and use this to implement HashTraits<QualifiedName>::emptyValue(). The old implementation would
create a new QualifiedName(nullAtom, nullAtom, nullAtom) each time, which had to be hashed,
added to  the global QualifiedName cache, etc.

Finally, don't have SVGAttributeHashTranslator create a temporary QualifiedName just to compute
the hash of a (namespace, prefix, localName) tuple, use QualifiedNameComponents and hashComponents()
directly instead.

Altogether this shaves ~100ms off of the RoboHornet svgresize.html benchmark on my MBP.

* dom/QualifiedName.cpp:
(WebCore::nullQName):
(WebCore::QualifiedName::QualifiedNameImpl::computeHash):
* dom/QualifiedName.h:
(QualifiedNameImpl):
(WebCore::QualifiedName::QualifiedNameImpl::QualifiedNameImpl):
(WebCore::QualifiedNameHash::hash):
* svg/SVGElement.h:
(WebCore::SVGAttributeHashTranslator::hash):

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

8 years ago[BlackBerry] m_mainFrame should be null checked before use in WebPagePrivate destructor
commit-queue@webkit.org [Sat, 20 Oct 2012 22:44:52 +0000 (22:44 +0000)]
[BlackBerry] m_mainFrame should be null checked before use in WebPagePrivate destructor
https://bugs.webkit.org/show_bug.cgi?id=99916

Patch by Andrew Lo <anlo@rim.com> on 2012-10-20
Reviewed by George Staikos.
Internally reviewed by Arvid Nilsson.

Internal PR228029
Add null checks for m_mainFrame for things that happen during
WebPage destruction.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::setVisible):
(BlackBerry::WebKit::WebPagePrivate::setCompositorDrawsRootLayer):

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

8 years ago[EFL][DRT] Implement tracking and painting repaint rectangles.
rakuco@webkit.org [Sat, 20 Oct 2012 21:45:46 +0000 (21:45 +0000)]
[EFL][DRT] Implement tracking and painting repaint rectangles.
https://bugs.webkit.org/show_bug.cgi?id=99838

Reviewed by Gyuyoung Kim.

Source/WebKit/efl:

Add the required DumpRenderTreeSupport plumbing functions to
interact with FrameView and track/obtain repaint rectangles for
DumpRenderTree.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled):
(DumpRenderTreeSupportEfl::setTracksRepaints):
(DumpRenderTreeSupportEfl::resetTrackedRepaints):
(DumpRenderTreeSupportEfl::isTrackingRepaints):
(DumpRenderTreeSupportEfl::trackedRepaintRects):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

Implement displayWebView() and start tracking/painting the repaint
rectangles for the repaint tests that rely on it.

* DumpRenderTree/efl/DumpRenderTree.cpp:
(displayWebView):
* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/efl/PixelDumpSupportEfl.cpp:
(createBitmapContextFromWebView):

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

8 years agoRemove ::encode template specializations and just use overloads
andersca@apple.com [Sat, 20 Oct 2012 21:27:26 +0000 (21:27 +0000)]
Remove ::encode template specializations and just use overloads
https://bugs.webkit.org/show_bug.cgi?id=99865

Reviewed by Andreas Kling.

Get rid of the various encode functions and just use overloading instead.

* Platform/CoreIPC/ArgumentCoders.cpp:
(CoreIPC::::encode):
* Platform/CoreIPC/ArgumentCoders.h:
* Platform/CoreIPC/ArgumentEncoder.cpp:
(CoreIPC::ArgumentEncoder::encodeVariableLengthByteArray):
(CoreIPC::ArgumentEncoder::encode):
* Platform/CoreIPC/ArgumentEncoder.h:
(ArgumentEncoder):
(CoreIPC::ArgumentEncoder::encodeEnum):
* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::sendOutgoingMessage):
* Platform/mac/SharedMemoryMac.cpp:
(WebKit::SharedMemory::Handle::encode):
* Platform/win/SharedMemoryWin.cpp:
(WebKit::SharedMemory::Handle::encode):
* Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
(CoreIPC::::encode):
* Shared/DictionaryPopupInfo.cpp:
(WebKit::DictionaryPopupInfo::encode):
* Shared/Plugins/NPIdentifierData.cpp:
(WebKit::NPIdentifierData::encode):
(WebKit::NPIdentifierData::decode):
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
* Shared/WebCoreArgumentCoders.cpp:
(CoreIPC::::encode):
* Shared/WebProcessCreationParameters.cpp:
(WebKit::WebProcessCreationParameters::encode):
* Shared/cf/ArgumentCodersCF.cpp:
(CoreIPC::encode):
* Shared/mac/ArgumentCodersMac.mm:
(CoreIPC::encode):
* Shared/mac/KeychainAttribute.cpp:
(CoreIPC::encode):
* Shared/mac/PlatformCertificateInfo.mm:
(WebKit::PlatformCertificateInfo::encode):
* Shared/mac/SandboxExtensionMac.mm:
(WebKit::SandboxExtension::HandleArray::encode):
* Shared/mac/SecItemRequestData.cpp:
(WebKit::SecItemRequestData::encode):
* Shared/mac/SecItemResponseData.cpp:
(WebKit::SecItemResponseData::encode):
* Shared/mac/SecKeychainItemRequestData.cpp:
(WebKit::SecKeychainItemRequestData::encode):
* Shared/mac/SecKeychainItemResponseData.cpp:
(WebKit::SecKeychainItemResponseData::encode):
* Shared/qt/ArgumentCodersQt.cpp:
(CoreIPC::::encode):
* Shared/qt/QtNetworkReplyData.cpp:
(WebKit::QtNetworkReplyData::encode):
* Shared/soup/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::encode):
* Shared/win/LayerTreeContextWin.cpp:
(WebKit::LayerTreeContext::encode):
* Shared/win/PlatformCertificateInfo.cpp:
(WebKit::PlatformCertificateInfo::encode):
* Shared/win/WindowGeometry.cpp:
(WebKit::WindowGeometry::encode):
* WebProcess/WebPage/EncoderAdapter.cpp:
(WebKit::EncoderAdapter::encodeBool):
(WebKit::EncoderAdapter::encodeUInt16):
(WebKit::EncoderAdapter::encodeUInt32):
(WebKit::EncoderAdapter::encodeUInt64):
(WebKit::EncoderAdapter::encodeInt32):
(WebKit::EncoderAdapter::encodeInt64):
(WebKit::EncoderAdapter::encodeFloat):
(WebKit::EncoderAdapter::encodeDouble):
(WebKit::EncoderAdapter::encodeString):

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

8 years agoLLInt backends of non-ARM RISC platforms should be able to share code with the existi...
fpizlo@apple.com [Sat, 20 Oct 2012 20:06:39 +0000 (20:06 +0000)]
LLInt backends of non-ARM RISC platforms should be able to share code with the existing ARMv7 backend
https://bugs.webkit.org/show_bug.cgi?id=99745

Reviewed by Geoffrey Garen.

This moves all of the things in armv7.rb that I thought are generally useful out
into risc.rb. It also separates some phases (branch ops is separated into one
phase that does sensible things, and another that does things that are painfully
ARM-specific), and removes ARM assumptions from others by using a callback to
drive exactly what lowering must happen. The goal here is to minimize the future
maintenance burden of LLInt by ensuring that the various platforms share as much
lowering code as possible.

* offlineasm/armv7.rb:
* offlineasm/risc.rb: Added.

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

8 years ago[EFL] Add missing expectations for some tests in svg/custom.
rakuco@webkit.org [Sat, 20 Oct 2012 16:03:35 +0000 (16:03 +0000)]
[EFL] Add missing expectations for some tests in svg/custom.

* platform/efl/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/efl/svg/custom/js-late-pattern-creation-expected.txt: Added.
* platform/efl/svg/custom/pattern-skew-transformed-expected.png: Added.
* platform/efl/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/efl/svg/custom/pattern-with-transformation-expected.txt: Added.

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

8 years agoUnreviewed rebaseline after http://trac.webkit.org/changeset/131974.
fmalita@chromium.org [Sat, 20 Oct 2012 14:29:25 +0000 (14:29 +0000)]
Unreviewed rebaseline after trac.webkit.org/changeset/131974.

* platform/chromium-linux-x86/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Removed.
* platform/chromium-linux-x86/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Removed.
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
* platform/chromium-mac-lion/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac-lion/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
* platform/chromium-mac-lion/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/pattern-with-transformation-expected.png:
* 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: Removed.
* platform/chromium-mac/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-mac/svg/custom/pattern-skew-transformed-expected.png:
* platform/chromium-win-xp/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png: Added.
* platform/chromium-win-xp/svg/custom/js-late-pattern-creation-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pattern-with-transformation-expected.png: Added.
* platform/chromium-win-xp/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win-xp/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
* platform/chromium/TestExpectations:

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

8 years agoUnreviewed. Fix compile warning.
carlosgc@webkit.org [Sat, 20 Oct 2012 10:58:42 +0000 (10:58 +0000)]
Unreviewed. Fix compile warning.

* UIProcess/API/gtk/tests/GNUmakefile.am: Pass sourcedir to
glib-compile-resource when generating dependencies too.

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

8 years agoCleanup: Move stacktrace tests to a subdirectory.
mkwst@chromium.org [Sat, 20 Oct 2012 10:25:46 +0000 (10:25 +0000)]
Cleanup: Move stacktrace tests to a subdirectory.
https://bugs.webkit.org/show_bug.cgi?id=99857

Reviewed by Pavel Feldman.

I plan on adding more than a few tests checking that stacktraces are
associated with console logs. This patch simply moves the four existing
tests into a subdirectory so that I don't spam http/tests/inspector with
stacktrace tests.

* http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-injected-content-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-injected-content-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-inline-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-inline-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-setInterval-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-setInterval-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace-expected.txt.
* http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html: Renamed from LayoutTests/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace.html.
* http/tests/inspector/stacktraces/resources/csp-inline-test.js: Renamed from LayoutTests/http/tests/inspector/resources/csp-inline-test.js.
(thisTest):
* http/tests/inspector/stacktraces/resources/stacktrace-test.js: Renamed from LayoutTests/http/tests/inspector/resources/csp-test.js.
(test.addMessage):
(test):
* platform/chromium/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-injected-content-warning-contains-stacktrace-expected.txt.
* platform/chromium/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-inline-warning-contains-stacktrace-expected.txt.
* platform/chromium/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-setInterval-warning-contains-stacktrace-expected.txt.
* platform/chromium/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt: Renamed from LayoutTests/platform/chromium/http/tests/inspector/csp-setTimeout-warning-contains-stacktrace-expected.txt.

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

8 years ago[EFL] Unskip the tests about regressions after r130699.
commit-queue@webkit.org [Sat, 20 Oct 2012 10:15:47 +0000 (10:15 +0000)]
[EFL] Unskip the tests about regressions after r130699.
https://bugs.webkit.org/show_bug.cgi?id=99910

Unreviewed EFL gardening.

Unskip the test cases about regressions after r130699
fast/css/import-style-update.html
fast/events/attribute-listener-cloned-from-frameless-doc-context-2.html
fast/events/attribute-listener-cloned-from-frameless-doc-context.html
fast/events/attribute-listener-extracted-from-frameless-doc-context-2.html
fast/events/attribute-listener-extracted-from-frameless-doc-context.html
fast/html/link-rel-stylesheet.html
fast/loader/data-url-encoding-html.html
fast/loader/data-url-encoding-svg.html
fast/spatial-navigation/snav-iframe-nested.html

It seems to be passing consistently now.

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-10-20

* platform/efl/TestExpectations:

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

8 years ago[EFL][AC] Build fix after r131933
commit-queue@webkit.org [Sat, 20 Oct 2012 08:02:21 +0000 (08:02 +0000)]
[EFL][AC] Build fix after r131933
https://bugs.webkit.org/show_bug.cgi?id=99901

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-10-20
Reviewed by Kentaro Hara.

Add ArrayBoundsClamper.cpp to WebCore/CMakeLists.txt.

No new tests.

* CMakeLists.txt:

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

8 years agoDFG should have some facility for recognizing redundant CheckArrays and Arrayifies
fpizlo@apple.com [Sat, 20 Oct 2012 06:53:04 +0000 (06:53 +0000)]
DFG should have some facility for recognizing redundant CheckArrays and Arrayifies
https://bugs.webkit.org/show_bug.cgi?id=99287

Reviewed by Mark Hahnenberg.

Adds reasoning about indexing type sets (i.e. ArrayModes) to AbstractValue, which
then enables us to fold away CheckArray's and Arrayify's that are redundant.

* bytecode/ArrayProfile.cpp:
(JSC::arrayModesToString):
(JSC):
* bytecode/ArrayProfile.h:
(JSC):
(JSC::mergeArrayModes):
(JSC::arrayModesAlreadyChecked):
* bytecode/StructureSet.h:
(JSC::StructureSet::arrayModesFromStructures):
(StructureSet):
* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::execute):
* dfg/DFGAbstractValue.h:
(JSC::DFG::AbstractValue::AbstractValue):
(JSC::DFG::AbstractValue::clear):
(JSC::DFG::AbstractValue::isClear):
(JSC::DFG::AbstractValue::makeTop):
(JSC::DFG::AbstractValue::clobberStructures):
(AbstractValue):
(JSC::DFG::AbstractValue::setMostSpecific):
(JSC::DFG::AbstractValue::set):
(JSC::DFG::AbstractValue::operator==):
(JSC::DFG::AbstractValue::merge):
(JSC::DFG::AbstractValue::filter):
(JSC::DFG::AbstractValue::filterArrayModes):
(JSC::DFG::AbstractValue::validate):
(JSC::DFG::AbstractValue::checkConsistency):
(JSC::DFG::AbstractValue::dump):
(JSC::DFG::AbstractValue::clobberArrayModes):
(JSC::DFG::AbstractValue::clobberArrayModesSlow):
(JSC::DFG::AbstractValue::setFuturePossibleStructure):
(JSC::DFG::AbstractValue::filterFuturePossibleStructure):
* dfg/DFGArrayMode.cpp:
(JSC::DFG::modeAlreadyChecked):
* dfg/DFGArrayMode.h:
(JSC::DFG::arrayModesFor):
(DFG):
* dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::foldConstants):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::arrayify):

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

8 years ago[V8] V8DOMWrapper should avoid using its document parameter (so we can remove it...
abarth@webkit.org [Sat, 20 Oct 2012 06:29:25 +0000 (06:29 +0000)]
[V8] V8DOMWrapper should avoid using its document parameter (so we can remove it soon)
https://bugs.webkit.org/show_bug.cgi?id=99876

Reviewed by Kentaro Hara.

We want to remove the document parameter to instantiateV8Object. There
isn't always a Document available, so it doesn't make sense to pass it
as a parameter. We're just waiting for a V8 API change so we can still
construct Node wrappers quickly.

This patch removes a use of the document that snuck in. Rather than
passing the ScriptExecutionContext around, we get it from the
CreationContext of the prototype object (and only when we actually need
it).

* Modules/notifications/NotificationCenter.cpp:
* Modules/notifications/NotificationCenter.h:
(NotificationCenter):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
(GenerateConstructorGetter):
(GenerateImplementation):
(GenerateToV8Converters):
* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::installDOMWindow):
* bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::instantiateV8Object):
* bindings/v8/V8PerContextData.cpp:
(WebCore::V8PerContextData::createWrapperFromCacheSlowCase):
(WebCore::V8PerContextData::constructorForTypeSlowCase):
* bindings/v8/V8PerContextData.h:
(WebCore::V8PerContextData::createWrapperFromCache):
(WebCore::V8PerContextData::constructorForType):
(V8PerContextData):
* bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::initializeIfNeeded):
* bindings/v8/WrapperTypeInfo.h:
(WebCore):
(WebCore::WrapperTypeInfo::installPerContextPrototypeProperties):

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

8 years ago[EFL][WK2] Change the title of inspector window when inspected page is changed
commit-queue@webkit.org [Sat, 20 Oct 2012 06:28:46 +0000 (06:28 +0000)]
[EFL][WK2] Change the title of inspector window when inspected page is changed
https://bugs.webkit.org/show_bug.cgi?id=99684

Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-10-19
Reviewed by Gyuyoung Kim.

Implement platformInspectedURLChanged() to change the title of inspector window
when inspected page is changed.

* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformInspectedURLChanged):

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

8 years agoAdd bundle API for hit-testing
mitz@apple.com [Sat, 20 Oct 2012 06:05:14 +0000 (06:05 +0000)]
Add bundle API for hit-testing
https://bugs.webkit.org/show_bug.cgi?id=99907

Reviewed by Sam Weinig.

Source/WebKit2:

Test: TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp

* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
(WKBundleFrameCreateHitTestResult): Added this wrapper.
* WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::hitTest): Added. Hit tests at the given point, ignoring clipping.
* WebProcess/WebPage/WebFrame.h:
(WebFrame): Declared hitTest.

Tools:

Added an API test for WKBundleFrameCreateHitTest().

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added InjectedBundleFrameHitTest.cpp,
InjectedBundleFrameHitTest_bundle.cpp, and link-with-title.html.

* TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest.cpp: Added.
(TestWebKitAPI::didReceiveMessageFromInjectedBundle): Checks that the message contains the
title of the link in link-with-title.html.
(TestWebKitAPI::setInjectedBundleClient):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/InjectedBundleFrameHitTest_Bundle.cpp: Added.
(TestWebKitAPI::InjectedBundleFrameHitTestTest::InjectedBundleFrameHitTestTest):
(TestWebKitAPI::didFinishLoadForFrameCallback): Hit tests at (50, 50) and sends the link title
from the result back to the UI process.
(TestWebKitAPI::InjectedBundleFrameHitTestTest::didCreatePage):
(TestWebKitAPI::InjectedBundleFrameHitTestTest::frameLoadFinished):
* TestWebKitAPI/Tests/WebKit2/link-with-title.html: Added.

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

8 years ago[EFL][WK2] Add API unit tests for scaling
commit-queue@webkit.org [Sat, 20 Oct 2012 05:37:54 +0000 (05:37 +0000)]
[EFL][WK2] Add API unit tests for scaling
https://bugs.webkit.org/show_bug.cgi?id=99451

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-19
Reviewed by Gyuyoung Kim.

Add API unit test for ewk_view_scale_set()/get() APIs.

* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):

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

8 years agoBaseline JIT should not inline array allocations, to make them easier to instrument
fpizlo@apple.com [Sat, 20 Oct 2012 05:09:15 +0000 (05:09 +0000)]
Baseline JIT should not inline array allocations, to make them easier to instrument
https://bugs.webkit.org/show_bug.cgi?id=99905

Reviewed by Mark Hahnenberg.

This will make it easier to instrument array allocations for the purposes of profiling.
It also allows us to kill off a bunch of code. And, this doesn't appear to hurt
performance at all. That's expected because these days any hot allocation will end up
in the DFG JIT, which does inline these allocations.

* jit/JIT.cpp:
(JSC::JIT::privateCompileSlowCases):
* jit/JIT.h:
(JIT):
* jit/JITInlineMethods.h:
(JSC):
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_new_array):

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

8 years ago[WK2][EFL] Modify ewk_view_scale_set to public API
commit-queue@webkit.org [Sat, 20 Oct 2012 04:52:33 +0000 (04:52 +0000)]
[WK2][EFL] Modify ewk_view_scale_set to public API
https://bugs.webkit.org/show_bug.cgi?id=99902

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-10-19
Reviewed by Gyuyoung Kim.

Modify ewk_view_scale_set to public API.

* UIProcess/API/efl/ewk_view.h:

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

8 years agoRace condition in WebProcessProxy::handleGetPlugins().
kling@webkit.org [Sat, 20 Oct 2012 04:09:24 +0000 (04:09 +0000)]
Race condition in WebProcessProxy::handleGetPlugins().
<http://webkit.org/b/99903>
<rdar://problem/12541471>

Reviewed by Anders Carlsson.

Scope the Vector<PluginModuleInfo> so that all the destructors are guaranteed
to have run when sendDidGetPlugins() executes on the main thread.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::handleGetPlugins):

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

8 years agoIncorrect pattern scaling
fmalita@chromium.org [Sat, 20 Oct 2012 02:51:00 +0000 (02:51 +0000)]
Incorrect pattern scaling
https://bugs.webkit.org/show_bug.cgi?id=99870

Reviewed by Dirk Schulze.

Source/WebCore:

The pattern space transform scale should reflect the tile_size(user space)
to tile_image_size ratio, instead of tile_size to absolute_tile_size.

Test: svg/custom/pattern-scaling.svg

* rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::applyResource):

LayoutTests:

* platform/chromium-linux/svg/custom/js-late-pattern-creation-expected.png:
* platform/chromium-linux/svg/custom/pattern-scaling-expected.png: Added.
* platform/chromium-linux/svg/custom/pattern-scaling-expected.txt: Added.
* platform/chromium-linux/svg/custom/pattern-with-transformation-expected.png:
* platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
* platform/chromium-win/svg/custom/pattern-skew-transformed-expected.png:
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* svg/custom/pattern-scaling.svg: Added.

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

8 years agoFix some of the regression cause by the non-local variable reworking
oliver@apple.com [Sat, 20 Oct 2012 02:33:29 +0000 (02:33 +0000)]
Fix some of the regression cause by the non-local variable reworking
https://bugs.webkit.org/show_bug.cgi?id=99896

Reviewed by Filip Pizlo.

The non0local variable reworking led to some of the optimisations performed by
the bytecode generator being dropped.  This in turn put more pressure on the DFG
optimisations.  This exposed a short coming in our double speculation propogation.
Now we try to distinguish between places where we should SpecDoubleReal vs generic
SpecDouble.

* dfg/DFGPredictionPropagationPhase.cpp:
(PredictionPropagationPhase):
(JSC::DFG::PredictionPropagationPhase::speculatedDoubleTypeForPrediction):
(JSC::DFG::PredictionPropagationPhase::speculatedDoubleTypeForPredictions):
(JSC::DFG::PredictionPropagationPhase::propagate):

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

8 years agoRenderFlexibleBox::preferredMainAxisContentExtentForChild can return a negative value
tony@chromium.org [Sat, 20 Oct 2012 01:49:10 +0000 (01:49 +0000)]
RenderFlexibleBox::preferredMainAxisContentExtentForChild can return a negative value
https://bugs.webkit.org/show_bug.cgi?id=97827

Reviewed by Ojan Vafai.

I'm pretty sure this isn't possible (logicalHeight and maxPreferredLogicalWidth should always include
border and padding), so just add an assert.

No new tests, the assert is for code clarity.

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild):

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

8 years agoReplace calls to updateLogicalHeight with calls to computeLogicalHeight
tony@chromium.org [Sat, 20 Oct 2012 01:43:00 +0000 (01:43 +0000)]
Replace calls to updateLogicalHeight with calls to computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=99883

Reviewed by Ojan Vafai.

In RenderBox and RenderBlock, switch to using computeLogicalHeight instead of
saving the old height, calling update logical height, then restoring the old height.

No new tests, this is just a refactoring.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeBlockPreferredLogicalWidths): Simple replace.
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePercentageLogicalHeight): Adjust for content height.
(WebCore::RenderBox::computeReplacedLogicalHeightUsing): Adjust for content height.
(WebCore::RenderBox::availableLogicalHeightUsing): Adjust for content height.

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

8 years agoUnreviewed gardening. Marking platform/chromium/virtual/gpu/fast/canvas/webgl/array...
leviw@chromium.org [Sat, 20 Oct 2012 01:16:25 +0000 (01:16 +0000)]
Unreviewed gardening. Marking platform/chromium/virtual/gpu/fast/canvas/webgl/array-bounds-clamping.html
failing on Chromium.

* platform/chromium/TestExpectations:

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

8 years agoImplement setRangeText() on text controls
commit-queue@webkit.org [Sat, 20 Oct 2012 01:07:16 +0000 (01:07 +0000)]
Implement setRangeText() on text controls
https://bugs.webkit.org/show_bug.cgi?id=91907

Patch by Pablo Flouret <pablof@motorola.com> on 2012-10-19
Reviewed by Kent Tamura.

Source/WebCore:

setRangeText() replaces a range of text with some other text, and
adjusts the existing selection according to its parameters.

Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-textarea/input-setrangetext

Tests: fast/forms/color/color-setrangetext.html
       fast/forms/date/date-setrangetext.html
       fast/forms/datetime/datetime-setrangetext.html
       fast/forms/datetimelocal/datetimelocal-setrangetext.html
       fast/forms/file/file-setrangetext.html
       fast/forms/hidden/hidden-setrangetext.html
       fast/forms/image/image-setrangetext.html
       fast/forms/month/month-setrangetext.html
       fast/forms/number/number-setrangetext.html
       fast/forms/range/range-setrangetext.html
       fast/forms/search/search-setrangetext.html
       fast/forms/setrangetext.html
       fast/forms/textarea/textarea-setrangetext.html
       fast/forms/time/time-setrangetext.html
       fast/forms/week/week-setrangetext.html

* bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction):
    The GObject generator doesn't support function overloads, so skip the
    version of setRangeText() that has only one argument, its behavior
    can be emulated with the four-argument version.

* html/InputType.cpp:
(WebCore::InputType::supportsSelectionAPI):
(WebCore):
* html/InputType.h:
(InputType):
    Add supportsSelectionAPI() which indicates whether the various
    selection api functions like setRangeText, setSelectionRange, etc.
    are supported by this input element.

* html/BaseTextInputType.cpp:
(WebCore::BaseTextInputType::supportsSelectionAPI):
(WebCore):
* html/BaseTextInputType.h:
(BaseTextInputType):
    Text-based input types support the selection APIs.

* html/EmailInputType.cpp:
(WebCore::EmailInputType::supportsSelectionAPI):
(WebCore):
* html/EmailInputType.h:
(EmailInputType):
    Email inputs don't support the selection APIs.

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setRangeText):
* html/HTMLInputElement.h:
(HTMLInputElement):
    Add a setRangeText override which checks if it should apply to the
    input type, and calls the actual implementation on the parent class.
* html/HTMLInputElement.idl:
* html/HTMLTextAreaElement.idl:

* html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::setRangeText):
* html/HTMLTextFormControlElement.h:
(HTMLTextFormControlElement):
    setRangeText implementation.

LayoutTests:

* fast/forms/color/color-setrangetext-expected.txt: Added.
* fast/forms/color/color-setrangetext.html: Added.
* fast/forms/date/date-setrangetext-expected.txt: Added.
* fast/forms/date/date-setrangetext.html: Added.
* fast/forms/datetime/datetime-setrangetext-expected.txt: Added.
* fast/forms/datetime/datetime-setrangetext.html: Added.
* fast/forms/datetimelocal/datetimelocal-setrangetext-expected.txt: Added.
* fast/forms/datetimelocal/datetimelocal-setrangetext.html: Added.
* fast/forms/file/file-setrangetext-expected.txt: Added.
* fast/forms/file/file-setrangetext.html: Added.
* fast/forms/hidden/hidden-setrangetext-expected.txt: Added.
* fast/forms/hidden/hidden-setrangetext.html: Added.
* fast/forms/image/image-setrangetext-expected.txt: Added.
* fast/forms/image/image-setrangetext.html: Added.
* fast/forms/month/month-setrangetext-expected.txt: Added.
* fast/forms/month/month-setrangetext.html: Added.
* fast/forms/number/number-setrangetext-expected.txt: Added.
* fast/forms/number/number-setrangetext.html: Added.
* fast/forms/range/range-setrangetext-expected.txt: Added.
* fast/forms/range/range-setrangetext.html: Added.
* fast/forms/resources/common-setrangetext.js: Added.
(runTestsShouldPass):
(runTestsShouldFail):
* fast/forms/search/search-setrangetext-expected.txt: Added.
* fast/forms/search/search-setrangetext.html: Added.
* fast/forms/setrangetext-expected.txt: Added.
* fast/forms/setrangetext.html: Added.
* fast/forms/textarea/textarea-setrangetext-expected.txt: Added.
* fast/forms/textarea/textarea-setrangetext.html: Added.
* fast/forms/time/time-setrangetext-expected.txt: Added.
* fast/forms/time/time-setrangetext.html: Added.
* fast/forms/week/week-setrangetext-expected.txt: Added.
* fast/forms/week/week-setrangetext.html: Added.

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

8 years agoRemove HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro in StyleResolver.
macpherson@chromium.org [Sat, 20 Oct 2012 01:02:34 +0000 (01:02 +0000)]
Remove HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro in StyleResolver.
https://bugs.webkit.org/show_bug.cgi?id=99782

Reviewed by Sam Weinig.

Removes last usage of HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro, so that in future there will be no temptation
to use it instead of adding a line to StyleBuilder.
Also removes redundant checks for inital and inherit (HANDLE_INHERIT_AND_INTIAL already returns in those cases).
I don't want to move this code into StyleBuilder until the FIXME that is already there is fixed.

Covered by many existing writing mode tests (eg. fast/html/details-writing-mode.html)

* css/StyleResolver.cpp:
(WebCore):
(WebCore::StyleResolver::applyProperty):

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