WebKit-https.git
9 years ago[Windows 7 Release Tests] http/tests/multipart/win-boundary-crash.html flakey.
jberlin@webkit.org [Thu, 23 Jun 2011 18:42:52 +0000 (18:42 +0000)]
[Windows 7 Release Tests] http/tests/multipart/win-boundary-crash.html flakey.
https://bugs.webkit.org/show_bug.cgi?id=63268

Add it to the Windows skipped list to get the bots green.

* platform/win/Skipped:

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

9 years ago2011-06-23 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Thu, 23 Jun 2011 18:30:55 +0000 (18:30 +0000)]
2011-06-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        Tests that we do not crash when doing a media query match.
        https://bugs.webkit.org/show_bug.cgi?id=63264

        * fast/css/media-query-evaluator-crash-expected.txt: Added.
        * fast/css/media-query-evaluator-crash.html: Added.
2011-06-23  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Adam Barth.

        RefPtr m_style in MediaQueryEvaluator in case of callers like
        MediaQueryMatcher::prepareEvaluator that do not retain its reference.
        https://bugs.webkit.org/show_bug.cgi?id=63264

        Test: fast/css/media-query-evaluator-crash.html

        * css/MediaQueryEvaluator.cpp:
        (WebCore::MediaQueryEvaluator::eval):
        * css/MediaQueryEvaluator.h:

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

9 years ago2011-06-23 Jungshik Shin <jshin@chromium.org>
jshin@chromium.org [Thu, 23 Jun 2011 18:23:32 +0000 (18:23 +0000)]
2011-06-23  Jungshik Shin  <jshin@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Add ScriptCodesFromICU.h to wtf/unicode and make necessary changes in
        build files for ports not using ICU.
        Add icu/unicode/uscript.h for ports using ICU. It's taken from
        ICU 3.6 (the version used on Mac OS 10.5)

        http://bugs.webkit.org/show_bug.cgi?id=20797

        * GNUmakefile.list.am:
        * JavaScriptCore.gypi:
        * icu/unicode/uscript.h: Added for UScriptCode enum.
        * wtf/unicode/ScriptCodesFromICU.h: UScriptCode enum added.
        * wtf/unicode/icu/UnicodeIcu.h:
        * wtf/unicode/brew/UnicodeBrew.h:
        * wtf/unicode/glib/UnicodeGLib.h:
        * wtf/unicode/qt4/UnicodeQt4.h:
        * wtf/unicode/wince/UnicodeWinCE.h:
2011-06-23  Jungshik Shin  <jshin@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Add uscript.h to icu/unicode to get JavaScriptGlue get built. The same
        file was added to JavaScriptCore/icu/unicode.

        http://bugs.webkit.org/show_bug.cgi?id=20797

        * icu/unicode/uscript.h: Added.
2011-06-23  Jungshik Shin  <jshin@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Allow generic font family settings per script code.
        https://bugs.webkit.org/show_bug.cgi?id=20797

        Make generic font family getters/setters accept an additional
        argument (script code). It has a default value so that if an embedder
        does not have/want a per-script font family setting, call-sites
        don't have to be changed.
        This is to prepare for fixing bug 10874 (font selection is not
        language-dependent) and bug 18085.

        uscript.h has been updated to that of ICU 3.6 (the version of ICU on
        Mac OS 10.5)

        There should be no change in layout and no new layout test
        is added.

        * WebCore.exp.in:
        * icu/unicode/uscript.h: updated to ICU 4.6
        * page/Settings.cpp:
        (WebCore::setGenericFontFamilyMap): helper to set generic family per script
        (WebCore::getGenericFontFamilyForScript): helper function used by getters for fooFontFamily.
        (WebCore::Settings::standardFontFamily):
        (WebCore::Settings::setStandardFontFamily):
        (WebCore::Settings::fixedFontFamily):
        (WebCore::Settings::setFixedFontFamily):
        (WebCore::Settings::serifFontFamily):
        (WebCore::Settings::setSerifFontFamily):
        (WebCore::Settings::sansSerifFontFamily):
        (WebCore::Settings::setSansSerifFontFamily):
        (WebCore::Settings::cursiveFontFamily):
        (WebCore::Settings::setCursiveFontFamily):
        (WebCore::Settings::fantasyFontFamily):
        (WebCore::Settings::setFantasyFontFamily):
        * page/Settings.h: setter and getter for FooFontFamily have a new optional argument, scriptCode.

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

9 years agoMake line breaking obey the -webkit-locale property
cfleizach@apple.com [Thu, 23 Jun 2011 18:04:38 +0000 (18:04 +0000)]
Make line breaking obey the -webkit-locale property
https://bugs.webkit.org/show_bug.cgi?id=63209

Patch by Dan Bernstein <mitz@apple.com> on 2011-06-23
Reviewed by Alexey Proskuryakov.

* platform/mac/fast/text/line-break-locale.html: Added.
* platform/mac/platform/mac/fast/text/line-break-locale-expected.png: Added.
* platform/mac/platform/mac/fast/text/line-break-locale-expected.txt: Added.

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

9 years agoMake line breaking obey the -webkit-locale property
mitz@apple.com [Thu, 23 Jun 2011 18:02:45 +0000 (18:02 +0000)]
Make line breaking obey the -webkit-locale property
https://bugs.webkit.org/show_bug.cgi?id=63209

Reviewed by Alexey Proskuryakov.

Source/WebCore:

Test: platform/mac/fast/text/line-break-locale.html

* platform/text/TextBreakIterator.h:
(WebCore::LazyLineBreakIterator::LazyLineBreakIterator): Take an optional locale identifier and
initialize the m_locale member.
(WebCore::LazyLineBreakIterator::get): Pass the locale to acquireLineBreakIterator().
(WebCore::LazyLineBreakIterator::reset): Pass the locale to releaseLineBreakIterator() and update
the m_locale member.
* platform/text/TextBreakIteratorICU.cpp:
(WebCore::LineBreakIteratorPool::sharedPool): Return a shared instance.
(WebCore::LineBreakIteratorPool::take): Returns a text iterator for the given locale, either a newly-
created one, or an existing one from the pool.
(WebCore::LineBreakIteratorPool::put): Puts an iterator back into the pool, removing the least-recently used
one if needed.
(WebCore::LineBreakIteratorPool::LineBreakIteratorPool):
(WebCore::acquireLineBreakIterator): Changed to take an optional local identifier, and to use the pool.
(WebCore::releaseLineBreakIterator): Changed to use the pool.
* platform/text/brew/TextBreakIteratorBrew.cpp:
(WebCore::acquireLineBreakIterator): Updated for new parameter.
* platform/text/gtk/TextBreakIteratorGtk.cpp:
(WebCore::acquireLineBreakIterator): Ditto.
* platform/text/qt/TextBreakIteratorQt.cpp:
(WebCore::acquireLineBreakIterator): Ditto.
* platform/text/wince/TextBreakIteratorWinCE.cpp:
(WebCore::acquireLineBreakIterator): Ditto.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::LineBreaker::nextLineBreak): Use the locale from the style for the line break
iterator.
* rendering/RenderText.cpp:
(WebCore::RenderText::computePreferredLogicalWidths): Ditto.

LayoutTests:

* platform/mac/fast/text/line-break-locale.html: Added.
* platform/mac/platform/mac/fast/text/line-break-locale-expected.png: Added.
* platform/mac/platform/mac/fast/text/line-break-locale-expected.txt: Added.

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

9 years agoARIA live regions don't trigger notifications for elements that aren't in the AX...
cfleizach@apple.com [Thu, 23 Jun 2011 17:59:48 +0000 (17:59 +0000)]
ARIA live regions don't trigger notifications for elements that aren't in the AX tree
https://bugs.webkit.org/show_bug.cgi?id=62289

Reviewed by Darin Adler.

Source/WebCore:

If an ARIA Live region udpates an element that is not in the AX object cache, then the Live region
notification is not sent. To fix this, I think the childrenChanged() method needs to actually create
the appropriate objects, but since that method gets called during a render tree update, we've learned
that it's generally not safe to create objects.

Instead a one shot timer can be fired that will update and create the necessary objects so that the
correct notification can be sent.

Test: platform/mac/accessibility/aria-liveregion-without-element-access.html

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::AXObjectCache):
(WebCore::AXObjectCache::remove):
(WebCore::AXObjectCache::childrenUpdateTimerFired):
(WebCore::AXObjectCache::childrenChanged):
* accessibility/AXObjectCache.h:
* accessibility/AccessibilityMenuList.cpp:
(WebCore::AccessibilityMenuList::childrenChanged):
* accessibility/AccessibilityMenuList.h:
* accessibility/AccessibilityMenuListPopup.cpp:
(WebCore::AccessibilityMenuListPopup::childrenChanged):
* accessibility/AccessibilityMenuListPopup.h:
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::childrenChanged):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::startOfContinuations):
   This changed exposed a case where an object was inlineElementContinuation, but not renderInlined,
   which led to an assert.
(WebCore::AccessibilityRenderObject::updateAccessibilityRole):
(WebCore::AccessibilityRenderObject::childrenChanged):
* accessibility/AccessibilityRenderObject.h:

LayoutTests:

* platform/mac/accessibility/aria-liveregion-without-element-access-expected.txt: Added.
* platform/mac/accessibility/aria-liveregion-without-element-access.html: Added.

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 17:53:20 +0000 (17:53 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: marking debugger test as slow in chromium expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 17:47:09 +0000 (17:47 +0000)]
2011-06-23  Ryosuke Niwa  <rniwa@webkit.org>

        Chromium Mac rebaseline.

        * platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png:

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

9 years agoMake finding existing bugs and filing new bugs work on TestFailures even when lots...
aroben@apple.com [Thu, 23 Jun 2011 17:44:26 +0000 (17:44 +0000)]
Make finding existing bugs and filing new bugs work on TestFailures even when lots of tests are failing

One bug this fixes is <http://webkit.org/b/61660> New bug links on TestFailures page often
contain titles that are so long they are rejected by Bugzilla

Reviewed by David Kilzer.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
(Bugzilla.prototype.quickSearch): Use fetchResource to POST the search query rather than
using a query string on the URL. If the search query is very long, using a query string can
cause the request to be rejected due to the URL being too long. POSTing avoids this issue.
(Bugzilla.maximumBugTitleLength): Added this constant based on Bugzilla's implementation.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
(.new-bug-form): Hide the form that we secretly use to file a new bug.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
(fetchResource): Added. Code came from getResource. If we're using a GET request, add the
query parameters to the URL. Otherwise, send them as the body of the request along with the
appropriate headers.
(getResource): Now just calls through to fetchResource.
(urlEncodedQueryParameters): Added. Moved some code here...
(addQueryParametersToURL): ...from here.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
(ViewController.prototype._domForNewAndExistingBugs): Shorten the title to just mention the
number of failing tests if mentioning all the tests would make the title too long. Improved
the description for large numbers of failures by listing the tests one-per-line instead of
just having them be comma-separated, which was hard to read. Use a form to file the new bug
instead of a link so that we can POST the form data. (Using a URL with a query string can
result in the URL being too long.) The new bug link now just submits the form.

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

9 years ago2011-06-23 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 23 Jun 2011 17:42:16 +0000 (17:42 +0000)]
2011-06-23  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Convert SVGColor to SVGAnimatorFactory concept
        https://bugs.webkit.org/show_bug.cgi?id=63246

        Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
        This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGColor.

        Changed constructors of animators to take the animation element SVGAnimationsElement as new argument. Removed attribute name argument instead.
        This information is already exposed by the animation element. The animators store the pointer of the animation element, so that it is not
        necessary to pass it as argument to the functions calculateDistance, calculateAnimatedValue.

        Replace all SVGSMILElement references by SVGAnimationsElement - the common base class of all animation elements.

        Added a new method in SVGAnimateElement to determine the property value type of CSS properties (regular value type, inherit or currentColor).
        The other two new methods fromPropertyValueType() and toPropertyValueType() avoid passing boolean arguments in calculateAnimatedValue().

        No new tests added. Current tests cover the changes.

        * CMakeLists.txt: Added new files to build system.
        * GNUmakefile.list.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * svg/SVGAllInOne.cpp:  Ditto.
        * svg/SVGAnimateElement.cpp: Use Animator for SVGColor.
        (WebCore::SVGAnimateElement::SVGAnimateElement):
        (WebCore::SVGAnimateElement::determineAnimatedAttributeType):
        (WebCore::SVGAnimateElement::calculateAnimatedValue):
        (WebCore::SVGAnimateElement::determinePropertyValueTypes):
        (WebCore::SVGAnimateElement::calculateFromAndToValues):
        (WebCore::SVGAnimateElement::calculateFromAndByValues):
        (WebCore::SVGAnimateElement::resetToBaseValue):
        (WebCore::SVGAnimateElement::applyResultsToTarget):
        (WebCore::SVGAnimateElement::calculateDistance):
        (WebCore::SVGAnimateElement::ensureAnimator): Pass the animation element as pointer to animator.
        * svg/SVGAnimateElement.h: Removed unnecessary includes. Some cleanup.
        (WebCore::SVGAnimateElement::fromPropertyValueType): Get property value type of 'from' property.
        (WebCore::SVGAnimateElement::toPropertyValueType): Get property value type of 'to' property.
        * svg/SVGAnimatedAngle.cpp:
        (WebCore::SVGAnimatedAngleAnimator::SVGAnimatedAngleAnimator): Added SVGSMILElement as new argument, removed attributeName.
        (WebCore::SVGAnimatedAngleAnimator::calculateFromAndToValues): Determine property value type.
        (WebCore::SVGAnimatedAngleAnimator::calculateFromAndByValues): Ditto.
        (WebCore::SVGAnimatedAngleAnimator::calculateAnimatedValue): Use new functions of SVGAnimateElement for handling of 'inherit'.
            And removed unnecessary arguments.
        (WebCore::SVGAnimatedAngleAnimator::calculateDistance): Removed animation element argument.
        * svg/SVGAnimatedAngle.h:
        * svg/SVGAnimatedColor.cpp: Added.
        (WebCore::SVGAnimatedColorAnimator::SVGAnimatedColorAnimator): Ditto.
        (WebCore::SVGAnimatedColorAnimator::constructFromString):
        (WebCore::SVGAnimatedColorAnimator::calculateFromAndToValues):
        (WebCore::SVGAnimatedColorAnimator::calculateFromAndByValues):
        (WebCore::SVGAnimatedColorAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedColorAnimator::calculateDistance):
        * svg/SVGAnimatedColor.h: Added.
        (WebCore::SVGAnimatedColorAnimator::~SVGAnimatedColorAnimator):
        * svg/SVGAnimatedLength.cpp:
        (WebCore::SVGAnimatedLengthAnimator::SVGAnimatedLengthAnimator): Ditto.
        (WebCore::SVGAnimatedLengthAnimator::calculateFromAndToValues):
        (WebCore::SVGAnimatedLengthAnimator::calculateFromAndByValues):
        (WebCore::SVGAnimatedLengthAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedLengthAnimator::calculateDistance):
        * svg/SVGAnimatedLength.h:
        * svg/SVGAnimatedNumber.cpp:
        (WebCore::SVGAnimatedNumberAnimator::SVGAnimatedNumberAnimator): Ditto.
        (WebCore::SVGAnimatedNumberAnimator::calculateFromAndToValues):
        (WebCore::SVGAnimatedNumberAnimator::calculateFromAndByValues):
        (WebCore::SVGAnimatedNumberAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedNumberAnimator::calculateDistance):
        * svg/SVGAnimatedNumber.h:
        * svg/SVGAnimatedPointList.cpp:
        (WebCore::SVGAnimatedPointListAnimator::SVGAnimatedPointListAnimator): Ditto.
        (WebCore::SVGAnimatedPointListAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedPointListAnimator::calculateDistance):
        * svg/SVGAnimatedPointList.h:
        * svg/SVGAnimatedRect.cpp:
        (WebCore::SVGAnimatedRectAnimator::SVGAnimatedRectAnimator): Ditto.
        (WebCore::SVGAnimatedRectAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedRectAnimator::calculateDistance):
        * svg/SVGAnimatedRect.h:
        * svg/SVGAnimatedType.cpp: Added handling of Color values.
        (WebCore::SVGAnimatedType::~SVGAnimatedType):
        (WebCore::SVGAnimatedType::createColor):
        (WebCore::SVGAnimatedType::color):
        (WebCore::SVGAnimatedType::valueAsString):
        (WebCore::SVGAnimatedType::setValueAsString):
        * svg/SVGAnimatedType.h:
        * svg/SVGAnimatedTypeAnimator.h:
        (WebCore::SVGAnimatedTypeAnimator::SVGAnimatedTypeAnimator):
        * svg/SVGAnimatorFactory.h:
        (WebCore::SVGAnimatorFactory::create):

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

9 years ago2011-06-23 Wyatt Carss <wcarss@chromium.org>
commit-queue@webkit.org [Thu, 23 Jun 2011 17:35:58 +0000 (17:35 +0000)]
2011-06-23  Wyatt Carss  <wcarss@chromium.org>

        Reviewed by Ryosuke Niwa.

        remove references to dump-as-markup in editing/deleting/delete-by-word tests
        https://bugs.webkit.org/show_bug.cgi?id=62903

        Each of these files had '../../../resources/dump-as-markup.js' referenced, which was broken.
        Neither of them was using dump-as-markup, so it did not break anything - this fix just removes
        the unused broken references.

        * editing/deleting/delete-by-word-001.html:
        * editing/deleting/delete-by-word-002.html:

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

9 years ago2011-06-23 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Thu, 23 Jun 2011 17:35:05 +0000 (17:35 +0000)]
2011-06-23  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Fix WebScrollBarImpl on Mac after recent smooth scrolling changes
        https://bugs.webkit.org/show_bug.cgi?id=63260

        * src/WebScrollbarImpl.cpp:
        (WebKit::WebScrollbarImpl::visibleHeight):
        (WebKit::WebScrollbarImpl::visibleWidth):
        (WebKit::WebScrollbarImpl::contentsSize):
        (WebKit::WebScrollbarImpl::overhangAmount):
        * src/WebScrollbarImpl.h:

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 17:13:25 +0000 (17:13 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: marking debugger test as slow in chromium expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-23 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Thu, 23 Jun 2011 17:06:27 +0000 (17:06 +0000)]
2011-06-23  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] Add drag and drop support
        https://bugs.webkit.org/show_bug.cgi?id=62838

        Add convenience methods to allow encoding/decoding of DragData.
        Move the call to dragEnded() to DragClient, to make WebKit1 and WebKit2
        consistent.

        * page/qt/DragControllerQt.cpp:
        (WebCore::DragController::cleanupAfterSystemDrag):
        * platform/DragData.h:
        (WebCore::DragData::flags):
        (WebCore::DragData::DragData):
        (WebCore::DragData::operator =):
2011-06-23  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] Add drag and drop support
        https://bugs.webkit.org/show_bug.cgi?id=62838

        Call dragEnded from the DragClient to make WebKit1 and WebKit2 consistent.

        * WebCoreSupport/DragClientQt.cpp:
        (WebCore::DragClientQt::startDrag):
2011-06-23  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] [WK2] Add drag and drop support
        https://bugs.webkit.org/show_bug.cgi?id=62838

        Added missing pieces to add support for DnD in QtWebKit.

        * Shared/qt/ArgumentCodersQt.cpp: Added.
        (CoreIPC::::encode):
        (CoreIPC::::decode):
        * Shared/qt/ArgumentCodersQt.h: Added.
        Encode DragData so that we can transfer the QMimeData between the
        WebProcess and the UI Process.
        I encode the DragData and not QMimeData directly because we don't
        have an associated QMimeData for each message.

        * UIProcess/API/qt/qgraphicswkview.cpp:
        (QGraphicsWKView::init):
        (QGraphicsWKView::dragEnterEvent):
        (QGraphicsWKView::dragLeaveEvent):
        (QGraphicsWKView::dragMoveEvent):
        (QGraphicsWKView::dropEvent):
        * UIProcess/API/qt/qgraphicswkview.h:
        * UIProcess/API/qt/qwkpage.cpp:
        (dropActionToDragOperation):
        (dragOperationToDropAction):
        (dragOperationToDropActions):
        (QWKPagePrivate::dragEnterEvent):
        (QWKPagePrivate::dragLeaveEvent):
        (QWKPagePrivate::dragMoveEvent):
        (QWKPagePrivate::dropEvent):
        (QWKPagePrivate::startDrag):

        Send drag-and-drop related events to WebKit.

        * UIProcess/API/qt/qwkpage_p.h:
        * UIProcess/PageClient.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::performDragControllerAction):
        (WebKit::WebPageProxy::startDrag):
        * UIProcess/WebPageProxy.h:

         Start the HTML5 drag operation from the UI process, because QDrag
         needs a handle to the QWidget under the mouse.

        * UIProcess/WebPageProxy.messages.in:

        Add message type that takes DragData as a parameter.

        * WebKit2.pro:
        * WebProcess/WebCoreSupport/WebDragClient.cpp:
        * WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp: Added.
        (WebKit::convertImageToBitmap):
        (WebKit::WebDragClient::startDrag):

        Send a message to the UI process to start the HTML5 drag operation.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::performDragControllerAction):
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/WebPage.messages.in:

        Add message type that takes DragData as a parameter.

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

9 years ago2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>
ryuan.choi@samsung.com [Thu, 23 Jun 2011 17:02:42 +0000 (17:02 +0000)]
2011-06-23  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Andreas Kling.

        [EFL][WK2] Add PLATFORM(EFL) to use UNIX_DOMAIN_SOCKETS.
        https://bugs.webkit.org/show_bug.cgi?id=63228

        * wtf/Platform.h: Add PLATFORM(EFL) guard.

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

9 years ago2011-06-23 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 23 Jun 2011 16:41:49 +0000 (16:41 +0000)]
2011-06-23  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [UNIX] Fix compile warnings in NetscapePluginX11.cpp
        https://bugs.webkit.org/show_bug.cgi?id=63249

        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
        (WebKit::setXButtonEventFields):
        (WebKit::NetscapePlugin::platformHandleMouseEvent):

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

9 years ago2011-06-23 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 16:35:35 +0000 (16:35 +0000)]
2011-06-23  Ryosuke Niwa  <rniwa@webkit.org>

        Rolled DEPS.

        * DEPS:

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

9 years ago2011-06-23 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Thu, 23 Jun 2011 15:56:07 +0000 (15:56 +0000)]
2011-06-23  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Show "no content" message in network panel when resource does not have content available.
        https://bugs.webkit.org/show_bug.cgi?id=63007

        * English.lproj/localizedStrings.js:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/ApplicationCacheItemsView.js:
        (WebInspector.ApplicationCacheItemsView):
        (WebInspector.ApplicationCacheItemsView.prototype._updateCallback):
        * inspector/front-end/CookieItemsView.js:
        (WebInspector.CookieItemsView):
        (WebInspector.CookieItemsView.prototype._updateWithCookies):
        * inspector/front-end/DatabaseTableView.js:
        (WebInspector.DatabaseTableView.prototype._queryFinished):
        * inspector/front-end/EmptyView.js: Added.
        (WebInspector.EmptyView):
        (WebInspector.EmptyView.prototype.show):
        (WebInspector.EmptyView.prototype.set text):
        * inspector/front-end/NetworkItemView.js:
        (WebInspector.NetworkItemView):
        (WebInspector.ResourceContentView):
        (WebInspector.ResourceContentView.prototype.hasContent):
        (WebInspector.ResourceContentView.prototype.get sourceView):
        (WebInspector.ResourceContentView.prototype.show):
        (WebInspector.ResourceContentView.prototype._ensureInnerViewShown.callback):
        (WebInspector.ResourceContentView.prototype._ensureInnerViewShown):
        (WebInspector.ResourceContentView.prototype.contentLoaded):
        * inspector/front-end/ResourceCookiesView.js:
        (WebInspector.ResourceCookiesView.prototype.show):
        * inspector/front-end/ResourcePreviewView.js:
        (WebInspector.ResourcePreviewView):
        (WebInspector.ResourcePreviewView.prototype.contentLoaded):
        (WebInspector.ResourcePreviewView.prototype._createInnerView):
        * inspector/front-end/ResourceResponseView.js: Added.
        (WebInspector.ResourceResponseView):
        (WebInspector.ResourceResponseView.prototype.get sourceView):
        (WebInspector.ResourceResponseView.prototype.contentLoaded):
        * inspector/front-end/ResourceTimingView.js:
        (WebInspector.ResourceTimingView.prototype.show):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.StorageCategoryView):
        (WebInspector.StorageCategoryView.prototype.setText):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:

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

9 years ago2011-06-23 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 23 Jun 2011 15:53:03 +0000 (15:53 +0000)]
2011-06-23  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Adam Roben.

        PluginView::dispatchNPEvent is deceptive
        https://bugs.webkit.org/show_bug.cgi?id=63243

        Straighten the inverted logic of dispatchNPEvent
        and it's callers.

        No change in behaviour so no new tests.
        Existing plugin tests cover this.

        * plugins/gtk/PluginViewGtk.cpp:
        (WebCore::PluginView::dispatchNPEvent):
        (WebCore::PluginView::handleKeyboardEvent):
        (WebCore::PluginView::handleMouseEvent):
        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::dispatchNPEvent):
        (WebCore::PluginView::handleKeyboardEvent):
        (WebCore::PluginView::handleMouseEvent):
        * plugins/symbian/PluginViewSymbian.cpp:
        (WebCore::PluginView::dispatchNPEvent):
        (WebCore::PluginView::handleKeyboardEvent):
        (WebCore::PluginView::handleMouseEvent):
        * plugins/win/PluginViewWin.cpp:
        (WebCore::PluginView::dispatchNPEvent):
        (WebCore::PluginView::handleKeyboardEvent):
        (WebCore::PluginView::handleMouseEvent):

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

9 years ago[WebKit2 Tests] plugins/npruntime/embed-property-equality.html failing since introduc...
jberlin@webkit.org [Thu, 23 Jun 2011 15:48:51 +0000 (15:48 +0000)]
[WebKit2 Tests] plugins/npruntime/embed-property-equality.html failing since introduction in
r88679.
https://bugs.webkit.org/show_bug.cgi?id=63205

This test does not fail on Windows, so add back in the passing expected results to get the
bots green.

* platform/win-wk2/plugins/npruntime: Added.
* platform/win-wk2/plugins/npruntime/embed-property-equality-expected.txt: Added.

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

9 years ago2011-06-23 Joe Wild <joseph.wild@nokia.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 15:44:58 +0000 (15:44 +0000)]
2011-06-23  Joe Wild  <joseph.wild@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Export files under Symbian Qt WebKit build
        https://bugs.webkit.org/show_bug.cgi?id=61207

        Export files for the Symbian platform as this is needed by the
        production build system.

        Janne Koskinen provided the suggestion to use target_predeps,
        which is an improvement over the originally suggested patch.

        * QtWebKit.pro:

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

9 years ago2011-06-23 Tommy Widenflycht <tommyw@google.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 15:27:48 +0000 (15:27 +0000)]
2011-06-23  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        MediaStream API: Rename Stream, GeneratedStream and StreamRecorder to the latest spec
        https://bugs.webkit.org/show_bug.cgi?id=63122

        Fixing broken makefile.

        * GNUmakefile.list.am:

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

9 years ago2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 15:20:24 +0000 (15:20 +0000)]
2011-06-23  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Crash when running EWebLauncher
        https://bugs.webkit.org/show_bug.cgi?id=62628

        Call DocumentWriter::setEncoding when FrameLoaderClientEfl::finishedLoading()
        like other ports.
        It will clear parser not to crash when called endIfNotLoadingMainResource().

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
        (WebCore::FrameLoaderClientEfl::makeRepresentation):
        (WebCore::FrameLoaderClientEfl::revertToProvisionalState):
        (WebCore::FrameLoaderClientEfl::finishedLoading):
        * WebCoreSupport/FrameLoaderClientEfl.h:

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

9 years agoShow closed bugs on the TestFailures page in addition to open ones
aroben@apple.com [Thu, 23 Jun 2011 15:19:59 +0000 (15:19 +0000)]
Show closed bugs on the TestFailures page in addition to open ones

Fixes <http://webkit.org/b/63194> TestFailures page should show closed bugs, too

Reviewed by David Kilzer.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Bugzilla.js:
(Bugzilla.prototype.quickSearch): Added code to extract the bug's status and store it in the
returned data.
(Bugzilla.isOpenStatus): New function, returns true if the passed-in status indicates that
the associated bug is still open.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Utilities.js:
(addQueryParametersToURL): Add a missing semicolon.
(Node.prototype.appendChildren): New function, like appendChild but takes an array-like
object and appends each of the values stored within.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
(ViewController.prototype._domForNewAndExistingBugs): Prepend 'ALL' to the query so closed
bugs will be included in the results. Split the returned bugs into two sets: those which are
open, and those which are closed. Put the open bugs at the top level of the list, and the
closed bugs in a second level.

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

9 years agoREGRESSION (r89449): http/tests/inspector/extensions-resources-redirect.html failing...
ossy@webkit.org [Thu, 23 Jun 2011 14:58:56 +0000 (14:58 +0000)]
REGRESSION (r89449): http/tests/inspector/extensions-resources-redirect.html failing on SnowLeopard Intel Release (Tests), Windows 7 Release (Tests), Qt
https://bugs.webkit.org/show_bug.cgi?id=63178

* platform/qt/Skipped: Skip http/tests/inspector/extensions-resources-redirect.html until fix.

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

9 years ago[Qt]REGRESSION(r89503): It made 4 fast/notifications tests fail on Qt
ossy@webkit.org [Thu, 23 Jun 2011 14:46:11 +0000 (14:46 +0000)]
[Qt]REGRESSION(r89503): It made 4 fast/notifications tests fail on Qt
https://bugs.webkit.org/show_bug.cgi?id=63255

* platform/qt/Skipped: Skip failing tests until fix.

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

9 years agoDon't count new tests as failures on the TestFailures page
aroben@apple.com [Thu, 23 Jun 2011 14:34:37 +0000 (14:34 +0000)]
Don't count new tests as failures on the TestFailures page

Fixes <http://webkit.org/b/63254> TestFailures page calls new tests "failures", even though
they aren't

Reviewed by Anders Carlsson.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
(Builder.prototype.getNumberOfFailingTests): Don't add the number of new tests to the number
of failures.

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

9 years ago2011-06-23 Tommy Widenflycht <tommyw@google.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 14:23:02 +0000 (14:23 +0000)]
2011-06-23  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        MediaStream API: Rename Stream, GeneratedStream and StreamRecorder to the latest spec
        https://bugs.webkit.org/show_bug.cgi?id=63122

        No new tests since no code has actually changed.

        * CMakeLists.txt:
        * CodeGenerators.pri:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSEventTarget.cpp:
        (WebCore::toJS):
        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
        * dom/DOMAllInOne.cpp:
        * dom/EventTarget.cpp:
        (WebCore::EventTarget::toMediaStream):
        (WebCore::EventTarget::toLocalMediaStream):
        * dom/EventTarget.h:
        * dom/LocalMediaStream.cpp: Renamed from Source/WebCore/dom/GeneratedStream.cpp.
        (WebCore::LocalMediaStream::DispatchUpdateTask::create):
        (WebCore::LocalMediaStream::DispatchUpdateTask::performTask):
        (WebCore::LocalMediaStream::DispatchUpdateTask::DispatchUpdateTask):
        (WebCore::LocalMediaStream::create):
        (WebCore::LocalMediaStream::LocalMediaStream):
        (WebCore::LocalMediaStream::~LocalMediaStream):
        (WebCore::LocalMediaStream::toLocalMediaStream):
        (WebCore::LocalMediaStream::detachEmbedder):
        (WebCore::LocalMediaStream::streamEnded):
        (WebCore::LocalMediaStream::audioTracks):
        (WebCore::LocalMediaStream::videoTracks):
        (WebCore::LocalMediaStream::stop):
        (WebCore::LocalMediaStream::onStop):
        * dom/LocalMediaStream.h: Renamed from Source/WebCore/dom/GeneratedStream.h.
        * dom/LocalMediaStream.idl: Renamed from Source/WebCore/dom/GeneratedStream.idl.
        * dom/MediaStream.cpp: Renamed from Source/WebCore/dom/Stream.cpp.
        (WebCore::MediaStream::create):
        (WebCore::MediaStream::MediaStream):
        (WebCore::MediaStream::~MediaStream):
        (WebCore::MediaStream::toMediaStream):
        (WebCore::MediaStream::streamEnded):
        (WebCore::MediaStream::scriptExecutionContext):
        (WebCore::MediaStream::eventTargetData):
        (WebCore::MediaStream::ensureEventTargetData):
        * dom/MediaStream.h: Renamed from Source/WebCore/dom/Stream.h.
        (WebCore::MediaStream::readyState):
        (WebCore::MediaStream::label):
        (WebCore::MediaStream::refEventTarget):
        (WebCore::MediaStream::derefEventTarget):
        * dom/MediaStream.idl: Renamed from Source/WebCore/dom/Stream.idl.
        * dom/MediaStreamContainer.h: Renamed from Source/WebCore/dom/StreamContainer.h.
        (WebCore::MediaStreamContainer::create):
        (WebCore::MediaStreamContainer::~MediaStreamContainer):
        (WebCore::MediaStreamContainer::length):
        (WebCore::MediaStreamContainer::item):
        (WebCore::MediaStreamContainer::add):
        (WebCore::MediaStreamContainer::remove):
        (WebCore::MediaStreamContainer::contains):
        (WebCore::MediaStreamContainer::get):
        (WebCore::MediaStreamContainer::MediaStreamContainer):
        * dom/MediaStreamList.cpp: Renamed from Source/WebCore/dom/StreamList.cpp.
        (WebCore::MediaStreamList::create):
        (WebCore::MediaStreamList::MediaStreamList):
        (WebCore::MediaStreamList::~MediaStreamList):
        (WebCore::MediaStreamList::length):
        (WebCore::MediaStreamList::item):
        * dom/MediaStreamList.h: Renamed from Source/WebCore/dom/StreamList.h.
        * dom/MediaStreamList.idl: Renamed from Source/WebCore/dom/StreamList.idl.
        * dom/StreamEvent.cpp:
        (WebCore::StreamEvent::create):
        (WebCore::StreamEvent::StreamEvent):
        (WebCore::StreamEvent::initStreamEvent):
        (WebCore::StreamEvent::stream):
        * dom/StreamEvent.h:
        (WebCore::StreamEvent::isMediaStreamEvent):
        * dom/StreamEvent.idl:
        * page/MediaStreamFrameController.cpp:
        (WebCore::MediaStreamFrameController::unregister):
        (WebCore::MediaStreamFrameController::getStreamFromLabel):
        (WebCore::MediaStreamFrameController::stopGeneratedStream):
        (WebCore::MediaStreamFrameController::streamGenerated):
        (WebCore::MediaStreamFrameController::audioTrackFailed):
        (WebCore::MediaStreamFrameController::videoTrackFailed):
        * page/MediaStreamFrameController.h:
        (WebCore::MediaStreamFrameController::ClientBase::isMediaStream):
        (WebCore::MediaStreamFrameController::ClientBase::isLocalMediaStream):
        (WebCore::MediaStreamFrameController::MediaStreamClient::MediaStreamClient):
        (WebCore::MediaStreamFrameController::MediaStreamClient::~MediaStreamClient):
        (WebCore::MediaStreamFrameController::MediaStreamClient::isMediaStream):
        (WebCore::MediaStreamFrameController::MediaStreamClient::isLocalMediaStream):
        * page/NavigatorUserMediaSuccessCallback.h:
        * page/NavigatorUserMediaSuccessCallback.idl:

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

9 years ago2011-06-23 Sheriff Bot <webkit.review.bot@gmail.com>
yurys@chromium.org [Thu, 23 Jun 2011 14:02:22 +0000 (14:02 +0000)]
2011-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89547.
        http://trac.webkit.org/changeset/89547
        https://bugs.webkit.org/show_bug.cgi?id=63252

        "Chrmium crash on start" (Requested by yurys on #webkit).

        * wtf/DynamicAnnotations.cpp:
        (WTFAnnotateBenignRaceSized):
        (WTFAnnotateHappensBefore):
        (WTFAnnotateHappensAfter):
        * wtf/DynamicAnnotations.h:

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

9 years agoAdd Windows expected failure results for a newish accessibility test
aroben@apple.com [Thu, 23 Jun 2011 13:51:26 +0000 (13:51 +0000)]
Add Windows expected failure results for a newish accessibility test

The failure is tracked by <http://webkit.org/b/63191>.

* platform/win/accessibility/aria-labelledby-overrides-aria-label-expected.txt: Added.

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 13:36:07 +0000 (13:36 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: updated chromium expectations.

        * platform/chromium/test_expectations.txt:

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

9 years agoInspector may close at the start of the next inspector test in DRT
ossy@webkit.org [Thu, 23 Jun 2011 13:31:28 +0000 (13:31 +0000)]
Inspector may close at the start of the next inspector test in DRT
https://bugs.webkit.org/show_bug.cgi?id=60881

* platform/qt/Skipped: Unskip inspector tests after fix, skip still failing tests.

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

9 years ago2011-06-23 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 23 Jun 2011 12:51:18 +0000 (12:51 +0000)]
2011-06-23  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [Chromium] Fix showing dominator leaf nodes after r89457
        https://bugs.webkit.org/show_bug.cgi?id=63250

        * inspector/front-end/DetailedHeapshotView.js:
        * inspector/front-end/HeapSnapshot.js:
        (WebInspector.HeapSnapshotFilteredOrderedIterator.prototype.get isEmpty):

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

9 years ago[Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
ossy@webkit.org [Thu, 23 Jun 2011 12:48:37 +0000 (12:48 +0000)]
[Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
https://bugs.webkit.org/show_bug.cgi?id=63235

Rubber-stamped by Andreas Kling.

[Qt] Fix tst_QWebFrame::renderGeometry() API test
https://bugs.webkit.org/show_bug.cgi?id=63236

[Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
https://bugs.webkit.org/show_bug.cgi?id=63237

* tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.
(tst_QWebFrame::setHtmlWithResource):
(tst_QWebFrame::renderGeometry):

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

9 years ago[Qt] Fix tst_QWebPage::showModalDialog() API test
ossy@webkit.org [Thu, 23 Jun 2011 12:45:34 +0000 (12:45 +0000)]
[Qt] Fix tst_QWebPage::showModalDialog() API test
https://bugs.webkit.org/show_bug.cgi?id=63244

Rubber-stamped by Andreas Kling.

[Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
https://bugs.webkit.org/show_bug.cgi?id=63245

* tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
(tst_QWebPage::showModalDialog):
(tst_QWebPage::testStopScheduledPageRefresh):

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 12:26:30 +0000 (12:26 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fix conflicting chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-23 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Thu, 23 Jun 2011 12:22:25 +0000 (12:22 +0000)]
2011-06-23  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: HTML preview in network panel should take 100% of resource view height.
        https://bugs.webkit.org/show_bug.cgi?id=63167

        * inspector/front-end/inspector.css:
        (.resource-view.html iframe):

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 12:19:50 +0000 (12:19 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: brush up chromium inspector expectations.

        * http/tests/inspector/inspector-test.js:
        * platform/chromium/test_expectations.txt:

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

9 years agoInspector may close at the start of the next inspector test in DRT
zherczeg@webkit.org [Thu, 23 Jun 2011 12:02:58 +0000 (12:02 +0000)]
Inspector may close at the start of the next inspector test in DRT
https://bugs.webkit.org/show_bug.cgi?id=60881

Patch by Zoltan Herczeg <zherczeg@inf.u-szeged.hu> on 2011-06-23
Reviewed by Pavel Feldman.

Source/WebCore:

Add a new function to the inspector, which tests whether the
dispatch queue is empty.

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

LayoutTests:

The didEvaluateForTestInFrontend function call is postponed until
all messages in the dispatch queue is processed.

* http/tests/inspector/inspector-test.js:
(initialize_InspectorTest.InspectorTest.completeTest):

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

9 years ago2011-06-23 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 23 Jun 2011 11:52:15 +0000 (11:52 +0000)]
2011-06-23  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, final round of baselines for the new CSS2.1 tests added in r88913.

        * platform/gtk/css2.1/20110323/inline-block-non-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-non-replaced-width-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-block-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-width-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-non-replaced-width-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-012-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-013-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-013-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-014-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-014-expected.txt: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-015-expected.png: Added.
        * platform/gtk/css2.1/20110323/inline-replaced-width-015-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-elements-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-elements-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-intrinsic-ratio-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/replaced-min-max-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/replaced-min-max-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/width-non-replaced-inline-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/width-non-replaced-inline-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/width-replaced-element-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/width-replaced-element-001-expected.txt: Added.

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 11:44:27 +0000 (11:44 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed. Unexpected passes in chromium expectations removed from excludes.

        * platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 11:27:45 +0000 (11:27 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed. Chromium test expectations updated.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-23 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 23 Jun 2011 11:14:48 +0000 (11:14 +0000)]
2011-06-23  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, baselines for the new CSS2.1 tests added in r88913.

        * platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png: Added.
        * platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.txt: Added.
        * platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-ref-expected.png: Added.
        * platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-ref-expected.txt: Added.
        * platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-expected.png: Added.
        * platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-expected.txt: Added.
        * platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-ref-expected.png: Added.
        * platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-ref-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-009-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-009-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-010-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-010-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-012-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-013-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-013-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-014-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-014-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-015-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-015-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-016-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-height-016-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-non-replaced-width-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/block-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/block-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-009-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-009-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-010-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-010-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-non-replaced-width-012-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/float-replaced-width-011-expected.txt: Added.

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

9 years ago2011-06-23 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 23 Jun 2011 10:59:01 +0000 (10:59 +0000)]
2011-06-23  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, more GTK+ baselines for the new CSS2.1 tests added in r88913.

        * platform/gtk/css2.1/20110323/absolute-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-009-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-009-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-010-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-010-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-012-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-014-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-014-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-016-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-016-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-017-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-017-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-018-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-018-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-019-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-019-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-021-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-021-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-022-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-022-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-023-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-023-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-024-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-024-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-025-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-025-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-026-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-026-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-028-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-028-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-029-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-029-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-030-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-030-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-031-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-031-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-032-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-032-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-033-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-033-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-035-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-035-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-036-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-height-036-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-013-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-013-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-015-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-015-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-020-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-020-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-022-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-022-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-027-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-027-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-029-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-029-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-034-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-034-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-036-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-036-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-041-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-041-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-043-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-043-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-048-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-048-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-050-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-050-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-055-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-055-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-057-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-057-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-062-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-062-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-064-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-064-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-069-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-069-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-071-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-071-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-076-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-replaced-width-076-expected.txt: Added.

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

9 years ago2011-06-23 Jeffrey Pfau <jpfau@apple.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 10:44:01 +0000 (10:44 +0000)]
2011-06-23  Jeffrey Pfau  <jpfau@apple.com>

        Reviewed by Nikolas Zimmermann.

        Incorrectly placed SVG gradients can cause crashes when referenced
        https://bugs.webkit.org/show_bug.cgi?id=62914

        Added tests to make sure fallback color is used properly with invalid gradients.

        * svg/custom/invalid-gradient-with-xlink-expected.png: Added.
        * svg/custom/invalid-gradient-with-xlink-expected.txt: Added.
        * svg/custom/invalid-gradient-with-xlink.svg: Added.
        * svg/custom/xlink-to-invalid-gradient-expected.png: Added.
        * svg/custom/xlink-to-invalid-gradient-expected.txt: Added.
        * svg/custom/xlink-to-invalid-gradient.svg: Added.
2011-06-23  Jeffrey Pfau  <jpfau@apple.com>

        Reviewed by Nikolas Zimmermann.

        Incorrectly placed SVG gradients can cause crashes when referenced
        https://bugs.webkit.org/show_bug.cgi?id=62914

        Added a check for gradient rendering contexts. If the contexts can't be found, the gradient must be in an invalid location, so we use the fallback color instead.

        Tests: svg/custom/invalid-gradient-with-xlink.svg
               svg/custom/xlink-to-invalid-gradient.svg

        * rendering/svg/RenderSVGResourceGradient.cpp:
        (WebCore::RenderSVGResourceGradient::applyResource):
        * rendering/svg/RenderSVGResourceGradient.h:
        * rendering/svg/RenderSVGResourceLinearGradient.cpp:
        (WebCore::RenderSVGResourceLinearGradient::collectGradientAttributes):
        * rendering/svg/RenderSVGResourceLinearGradient.h:
        * rendering/svg/RenderSVGResourceRadialGradient.cpp:
        (WebCore::RenderSVGResourceRadialGradient::collectGradientAttributes):
        * rendering/svg/RenderSVGResourceRadialGradient.h:
        * svg/SVGLinearGradientElement.cpp:
        (WebCore::SVGLinearGradientElement::collectGradientAttributes):
        * svg/SVGLinearGradientElement.h:
        * svg/SVGRadialGradientElement.cpp:
        (WebCore::SVGRadialGradientElement::collectGradientAttributes):
        * svg/SVGRadialGradientElement.h:

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

9 years ago2011-06-23 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 23 Jun 2011 10:35:16 +0000 (10:35 +0000)]
2011-06-23  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, another bunch of GTK+ baselines for the new CSS2.1 tests added in r88913.

        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-009-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-009-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-010-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-010-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-012-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-013-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-013-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-014-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-014-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-015-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-015-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-016-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-016-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-017-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-017-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-018-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-018-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-019-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-019-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-020-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-020-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-021-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-021-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-022-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-022-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-023-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-023-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-024-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-width-024-expected.txt: Added.

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

9 years ago2011-06-23 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 23 Jun 2011 10:24:53 +0000 (10:24 +0000)]
2011-06-23  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, add GTK+ baselines for the new CSS2.1 tests added in r88913.

        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-009-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-009-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-010-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-010-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-height-012-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-001-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-001-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-002-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-002-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-003-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-003-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-004-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-004-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-005-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-005-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-006-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-006-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-007-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-007-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-008-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-008-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-009-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-009-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-010-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-010-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-011-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-011-expected.txt: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-012-expected.png: Added.
        * platform/gtk/css2.1/20110323/absolute-non-replaced-max-height-012-expected.txt: Added.

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

9 years ago2011-06-23 Timur Iskhodzhanov <timurrrr@google.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 09:55:37 +0000 (09:55 +0000)]
2011-06-23  Timur Iskhodzhanov  <timurrrr@google.com>

        Reviewed by David Levin.

        Make dynamic annotations weak symbols and prevent identical code folding by the linker
        https://bugs.webkit.org/show_bug.cgi?id=62443

        * wtf/DynamicAnnotations.cpp:
        (WTFAnnotateBenignRaceSized):
        (WTFAnnotateHappensBefore):
        (WTFAnnotateHappensAfter):
        * wtf/DynamicAnnotations.h:

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

9 years ago2011-06-23 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 23 Jun 2011 09:54:52 +0000 (09:54 +0000)]
2011-06-23  Sergio Villar Senin  <svillar@igalia.com>

        Unreviewed, rebaseline a couple of SVG tests for GTK+.

        * platform/gtk/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
        * platform/gtk/svg/custom/pointer-events-text-expected.txt:

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

9 years ago2011-06-23 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Thu, 23 Jun 2011 09:47:48 +0000 (09:47 +0000)]
2011-06-23  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: updating chromium expectations.

        * platform/chromium/fast/js/parser-xml-close-comment-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-23 Dmitriy Vyukov <dvyukov@google.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 08:59:10 +0000 (08:59 +0000)]
2011-06-23  Dmitriy Vyukov  <dvyukov@google.com>

        Reviewed by David Levin.

        Fix incorrect usage of a condition variable.
        https://bugs.webkit.org/show_bug.cgi?id=63127

        No new tests. This does not affect existing
        functionality.

        * storage/DatabaseTask.cpp:
        (WebCore::DatabaseTaskSynchronizer::waitForTaskCompletion):

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

9 years agoAdd new "CONSOLE MESSAGE: line 0: SVG animation pause API missing!" tests to the...
ossy@webkit.org [Thu, 23 Jun 2011 08:24:41 +0000 (08:24 +0000)]
Add new "CONSOLE MESSAGE: line 0: SVG animation pause API missing!" tests to the WK2 skipped list.

* platform/mac-wk2/Skipped:

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

9 years ago2011-06-23 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 23 Jun 2011 08:02:45 +0000 (08:02 +0000)]
2011-06-23  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        nrwt: make TestInput objects printable
        https://bugs.webkit.org/show_bug.cgi?id=63225

        This makes debugging slighlty easier.

        * Scripts/webkitpy/layout_tests/layout_package/test_input.py:

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

9 years ago2011-06-23 David Grogan <dgrogan@chromium.org>
commit-queue@webkit.org [Thu, 23 Jun 2011 07:20:38 +0000 (07:20 +0000)]
2011-06-23  David Grogan  <dgrogan@chromium.org>

        Reviewed by Eric Seidel.

        IndexedDB: add detail to an ASSERT error message
        https://bugs.webkit.org/show_bug.cgi?id=60407

        No new tests, this is just a debug ASSERT.

        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::dispatchEvent):

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

9 years ago2011-06-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 23 Jun 2011 06:58:29 +0000 (06:58 +0000)]
2011-06-22  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: rebaseline chromium expectation.

        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 23 Jun 2011 06:46:56 +0000 (06:46 +0000)]
2011-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [UNIX] Increment/decrement module load conter in NetscapePluginModule::getPluginInfo()
        https://bugs.webkit.org/show_bug.cgi?id=63150

        Since the method is static, we are using
        NetscapePluginModule::getOrCreate() to get the module. If it's
        created, the load counter is 0, so that when module is deleted,
        shutdown() hasn't been called and the destructor crashes in the
        assert that checks the module has been removed from the
        initialized module list. We should increment the load counter, and
        decrement it before getPluginInfo() returns, so that
        decrementLoadCount() will call shutdown() if counter is 0 and the
        module will be deleted from the list.

        * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
        (WebKit::NetscapePluginModule::getPluginInfo):

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

9 years ago2011-06-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 23 Jun 2011 06:46:55 +0000 (06:46 +0000)]
2011-06-22  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium expectations update.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Thu, 23 Jun 2011 06:44:36 +0000 (06:44 +0000)]
2011-06-22  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [UNIX] Check for npp directly when getting X display in NetscapeBrowserFuncs
        https://bugs.webkit.org/show_bug.cgi?id=63149

        NetscapePlugin::fromNPP() shouldn't be called with a null npp, it
        contains an assert that make it crash when building with debug enabled.

        * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
        (WebKit::NPN_GetValue):

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

9 years ago2011-06-22 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 23 Jun 2011 06:31:46 +0000 (06:31 +0000)]
2011-06-22  Dirk Schulze  <krit@webkit.org>

        Reviewed by Rob Buis.

        Convert SVGPointList to SVGAnimatorFactory concept
        https://bugs.webkit.org/show_bug.cgi?id=63171

        Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
        This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGPointList.

        Added support for from-by animations of SVGPointLists.

        Tests: svg/animations/svgpointlist-animation-1.html
               svg/animations/svgpointlist-animation-2.html

        * CMakeLists.txt: Added new files to build system.
        * GNUmakefile.list.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * svg/SVGAllInOne.cpp: Added SVGAnimatedPointList.cpp
        * svg/SVGAnimateElement.cpp:
        (WebCore::SVGAnimateElement::calculateAnimatedValue):
        (WebCore::SVGAnimateElement::calculateFromAndToValues):
        (WebCore::SVGAnimateElement::calculateFromAndByValues):
        (WebCore::SVGAnimateElement::resetToBaseValue):
        (WebCore::SVGAnimateElement::applyResultsToTarget):
        (WebCore::SVGAnimateElement::calculateDistance):
        * svg/SVGAnimateElement.h:
        * svg/SVGAnimatedPointList.cpp: Added.
        (WebCore::SVGAnimatedPointListAnimator::SVGAnimatedPointListAnimator):
        (WebCore::SVGAnimatedPointListAnimator::constructFromString):
        (WebCore::SVGAnimatedPointListAnimator::calculateFromAndToValues):
        (WebCore::SVGAnimatedPointListAnimator::calculateFromAndByValues):
        (WebCore::SVGAnimatedPointListAnimator::calculateAnimatedValue):
        (WebCore::SVGAnimatedPointListAnimator::calculateDistance):
        * svg/SVGAnimatedPointList.h: Added.
        (WebCore::SVGAnimatedPointListAnimator::~SVGAnimatedPointListAnimator):
        * svg/SVGAnimatedType.cpp:
        (WebCore::SVGAnimatedType::~SVGAnimatedType):
        (WebCore::SVGAnimatedType::createPointList):
        (WebCore::SVGAnimatedType::pointList):
        (WebCore::SVGAnimatedType::valueAsString):
        (WebCore::SVGAnimatedType::setValueAsString):
        * svg/SVGAnimatedType.h:
        * svg/SVGAnimatorFactory.h:
        (WebCore::SVGAnimatorFactory::create):
2011-06-22  Dirk Schulze  <krit@webkit.org>

        Reviewed by Rob Buis.

        Convert SVGPointList to SVGAnimatorFactory concept
        https://bugs.webkit.org/show_bug.cgi?id=63171

        Renamed test animate-points to svgpointlist-animation-1 and cleaned it up.
        svgpointlist-animation-2 checks from-by animations of SVGPointLists.

        * svg/animations/animate-points-expected.txt: Removed.
        * svg/animations/animate-points.html: Removed.
        * svg/animations/script-tests/animate-points.js: Removed.
        * svg/animations/script-tests/svgpointlist-animation-1.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
        * svg/animations/script-tests/svgpointlist-animation-2.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
        * svg/animations/svgpointlist-animation-1-expected.txt: Added.
        * svg/animations/svgpointlist-animation-1.html: Added.
        * svg/animations/svgpointlist-animation-2-expected.txt: Added.
        * svg/animations/svgpointlist-animation-2.html: Added.

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

9 years ago2011-06-22 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 23 Jun 2011 06:04:50 +0000 (06:04 +0000)]
2011-06-22  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Kent Tamura.

        Move file-choosing and icon-loading management to FileInputType
        https://bugs.webkit.org/show_bug.cgi?id=62069

        1) Moved the duties of FileChooserClient and FileIconLoaderClient from
        RenderFileUploadControl to FileInputType, along with all of the
        supporting functions.

        2) Moved Icon ownership to FileInputType and exposed accessor on
        HTMInputElement to allow RenderFileUploadControl to query current icon.

        As a result, RenderFileUploadControl is now completely stateless, which is
        neat and clean.

        Refactoring, covered by existing tests.

        * html/FileInputType.cpp:
        (WebCore::FileInputType::handleDOMActivateEvent): Moved logic here from RenderFileUploadControl.
        (WebCore::FileInputType::requestIcon): Ditto.
        (WebCore::FileInputType::filesChosen): Ditto.
        (WebCore::FileInputType::receiveDropForDirectoryUpload): Ditto.
        (WebCore::FileInputType::updateRendering): Ditto.
        (WebCore::FileInputType::chrome): Ditto.
        (WebCore::FileInputType::receiveDroppedFiles): Ditto.
        (WebCore::FileInputType::icon): Added.
        * html/FileInputType.h:
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::setValueFromRenderer): Updated comment.
        (WebCore::HTMLInputElement::receiveDroppedFiles): Added to replace setFileListFromRenderer.
        (WebCore::HTMLInputElement::icon): Added.
        * html/HTMLInputElement.h:
        * html/InputType.cpp:
        (WebCore::InputType::receiveDroppedFiles): Added.
        (WebCore::InputType::icon): Added.
        * html/InputType.h:
        * page/DragController.cpp:
        (WebCore::DragController::concludeEditDrag): Changed to use HTMLInputElement. Ahh, nice and clean!
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::RenderFileUploadControl): Removed code that is no longer necessary.
        (WebCore::RenderFileUploadControl::updateFromElement): Ditto.
        (WebCore::RenderFileUploadControl::maxFilenameWidth): Changed to use HTMLInputElement icon accessor.
        (WebCore::RenderFileUploadControl::paintObject): Ditto.
        * rendering/RenderFileUploadControl.h:

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

9 years ago2011-06-22 Pratik Solanki <psolanki@apple.com>
psolanki@apple.com [Thu, 23 Jun 2011 06:00:22 +0000 (06:00 +0000)]
2011-06-22  Pratik Solanki  <psolanki@apple.com>

        Reviewed by Darin Adler.

        Add NSError wrapper functions in ResourceError when USE(CFNETWORK) is enabled
        https://bugs.webkit.org/show_bug.cgi?id=63155

        Add wrapper functions to ResourceError when building with USE(CFNETWORK). We need to create
        a new NSError in ResourceError::nsError() since Safari has category methods on NSError and
        passing a CFErrorRef back does not work even though CFErrorRef/NSErrror are toll-free
        bridged.

        No tests because no change in functionality.

        * WebCore.exp.in:
        * platform/network/cf/ResourceError.h:
        * platform/network/mac/ResourceErrorMac.mm:
        (WebCore::ResourceError::ResourceError):
        (WebCore::ResourceError::nsError):
        (WebCore::ResourceError::operator NSError *):

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

9 years ago2011-06-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 23 Jun 2011 05:59:29 +0000 (05:59 +0000)]
2011-06-22  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium expectations update.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-22 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Thu, 23 Jun 2011 05:33:04 +0000 (05:33 +0000)]
2011-06-22  Daniel Bates  <dbates@webkit.org>

        Reviewed by Adam Barth.

        test-webkitpy --all errors out because scm_unittest.py can't find module checkout
        https://bugs.webkit.org/show_bug.cgi?id=62943

        Remove "from .checkout import Checkout" from scm_unittest.py since it's included
        by Scripts/webkitpy/common/checkout/__init__.py.

        * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:

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

9 years ago2011-06-22 Dominic Cooney <dominicc@chromium.org>
dominicc@chromium.org [Thu, 23 Jun 2011 05:09:24 +0000 (05:09 +0000)]
2011-06-22  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Mark Rowe.

        Add window.internals to WebKit2's WebKitTestRunner.
        https://bugs.webkit.org/show_bug.cgi?id=61073

        * platform/mac-wk2/Skipped: unskip fast/harness/internals-object.html
2011-06-22  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Mark Rowe.

        Add window.internals to WebKit2's WebKitTestRunner.
        https://bugs.webkit.org/show_bug.cgi?id=61073

        * Configurations/WebCoreTestSupport.xcconfig:
        * WebCore.xcodeproj/project.pbxproj:
2011-06-22  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Mark Rowe.

        Add window.internals to WebKit2's WebKitTestRunner.
        https://bugs.webkit.org/show_bug.cgi?id=61073

        * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
2011-06-22  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Mark Rowe.

        Add window.internals to WebKit2's WebKitTestRunner.
        https://bugs.webkit.org/show_bug.cgi?id=61073

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pxbproj:
        * WebKitTestRunner/Configurations/Base.xcconfig:
        * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops:
        * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
        * WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops:
        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::didClearWindowForFrame):
        * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
        * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:

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

9 years ago2011-06-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 04:54:18 +0000 (04:54 +0000)]
2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Kent Tamura.

        [chromium] Remove calls to Position::deprecatedNode
        https://bugs.webkit.org/show_bug.cgi?id=63226

        Call containerNode instead of deprecatedNode.

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

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

9 years ago2011-06-22 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 23 Jun 2011 03:55:53 +0000 (03:55 +0000)]
2011-06-22  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Kent Tamura.

        Convert FileIconLoaderClient to "smart client" pattern, just like FileChooserClient.
        https://bugs.webkit.org/show_bug.cgi?id=63224

        Refactoring, covered by existing tests.

        * platform/FileIconLoader.cpp:
        (WebCore::FileIconLoaderClient::~FileIconLoaderClient): Changed to discard loader.
        (WebCore::FileIconLoaderClient::newFileIconLoader): Added.
        (WebCore::FileIconLoaderClient::discardLoader): Added.
        * platform/FileIconLoader.h: Updated defs.
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::RenderFileUploadControl): Removed initialization of icon loader.
        (WebCore::RenderFileUploadControl::~RenderFileUploadControl): Remove discarding of loader.
        (WebCore::RenderFileUploadControl::requestIcon): Changed to use newFileIconLoader.
        * rendering/RenderFileUploadControl.h: Updated defs.

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

9 years agoAnother unreviewed build fix after r89472.
yael.aharon@nokia.com [Thu, 23 Jun 2011 03:49:06 +0000 (03:49 +0000)]
Another unreviewed build fix after r89472.

No new tests, just a build fix.

* rendering/svg/SVGResources.cpp:

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

9 years agoUnreviewed build fix after r89472.
yael.aharon@nokia.com [Thu, 23 Jun 2011 03:26:53 +0000 (03:26 +0000)]
Unreviewed build fix after r89472.

No new tests, just a build fix.

* rendering/InlineBox.cpp:
* rendering/RenderCounter.cpp:

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

9 years ago2011-06-22 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 23 Jun 2011 03:07:58 +0000 (03:07 +0000)]
2011-06-22  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Kent Tamura.

        Add a helper function to FileList to retrieve a list of filenames.
        https://bugs.webkit.org/show_bug.cgi?id=63222

        Refactoring, covered by existing tests.

        * fileapi/FileList.cpp:
        (WebCore::FileList::filenames): Added.
        * fileapi/FileList.h:
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::RenderFileUploadControl): Changed to use newly added helper.
        (WebCore::RenderFileUploadControl::click): Ditto.
        (WebCore::RenderFileUploadControl::fileTextValue): Ditto.

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

9 years agoLower HTML parser DOM depth limit to 2048
weinig@apple.com [Thu, 23 Jun 2011 02:31:11 +0000 (02:31 +0000)]
Lower HTML parser DOM depth limit to 2048
https://bugs.webkit.org/show_bug.cgi?id=63219

Reviewed by Adam Barth.

Source/WebCore:

Lower the default depth limit from 4096 to 2048. There isn't a good
reason to have such pathologically nested content, and by-and-large,
the rendering code is not setup to support it that well. Adding this
aggressive limit now will allow us to see if anything breaks in the
nightlies.

* page/Settings.h:

LayoutTests:

Update nest test to reflect new limit and remove tests that were
testing specific behaviors of the old parser.

* fast/parser/block-nesting-cap-expected.txt:
* fast/parser/block-nesting-cap-table-expected.txt: Removed.
* fast/parser/block-nesting-cap-table.html: Removed.
* fast/parser/element-nesting-cap-expected.txt: Removed.
* fast/parser/element-nesting-cap.html: Removed.
* fast/parser/script-tests/block-nesting-cap-table.js: Removed.
* fast/parser/script-tests/block-nesting-cap.js:
* fast/parser/script-tests/element-nesting-cap.js: Removed.

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

9 years ago2011-06-22 Julien Chaffraix <jchaffraix@webkit.org>
jchaffraix@webkit.org [Thu, 23 Jun 2011 02:26:27 +0000 (02:26 +0000)]
2011-06-22  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Dimitri Glazkov.

        Tighten type usage in the Shadow tree code
        https://bugs.webkit.org/show_bug.cgi?id=63210

        Refactoring only, no new test required.

        * dom/Document.cpp:
        (WebCore::Document::buildAccessKeyMap):
        * dom/Document.h:
        Changed the argument of buildAccessKeyMap to TreeScope.

        * dom/Element.cpp:
        (WebCore::Element::attach):
        (WebCore::Element::removeShadowRoot):
        * html/ColorInputType.cpp:
        (WebCore::ColorInputType::shadowColorSwatch):
        * html/HTMLKeygenElement.cpp:
        (WebCore::HTMLKeygenElement::shadowSelect):
        * html/shadow/SliderThumbElement.cpp:
        (WebCore::sliderThumbElementOf):
        Use ShadowRoot for the previous call sites as this is what is
        returned by shadowRoot().

        * dom/Node.cpp:
        (WebCore::traverseTreeAndMark): Renamed the parameter here as it is not
        expected to be a shadow object. Just the rootNode of our traversal.

        * dom/ShadowRoot.h: Made attach() public as it is public in ContainerNode
        and we would do some casting to avoid the private attribute in ShadowRoot.

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

9 years ago2011-06-22 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 23 Jun 2011 02:14:30 +0000 (02:14 +0000)]
2011-06-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make sheriff-bot rollout messages a little nicer
        https://bugs.webkit.org/show_bug.cgi?id=63107

        itertools.chain.from_iterable is new in 2.6,
        use itertools.chain(*list) for 2.5 compat.

        * Scripts/webkitpy/tool/bot/irc_command.py:

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

9 years ago2011-06-22 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 23 Jun 2011 02:09:22 +0000 (02:09 +0000)]
2011-06-22  Kent Tamura  <tkent@chromium.org>

        [Win] media/media-controls-clone.html failing on Windows 7 Release (Tests)
        https://bugs.webkit.org/show_bug.cgi?id=63195

        * platform/win/media/media-controls-clone-expected.txt: Added.

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

9 years ago2011-06-22 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 23 Jun 2011 01:44:20 +0000 (01:44 +0000)]
2011-06-22  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make sheriff-bot robust against exceptions from commands
        https://bugs.webkit.org/show_bug.cgi?id=63211

        sheriff-bot was acting strange this afternoon.
        We don't know if this will fix the cause, but
        at least it adds some unit tests and catches
        one possible cause.

        * Scripts/webkitpy/tool/bot/sheriffircbot.py:
        * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:

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

9 years ago2011-06-22 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Thu, 23 Jun 2011 01:43:22 +0000 (01:43 +0000)]
2011-06-22  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Darin Adler.

        Remove comment about pages with frames not being page-cachable
        https://bugs.webkit.org/show_bug.cgi?id=63207

        This comment was out of date. Caching pages with Frames in
        the PageCache has worked since 2009:
        <http://webkit.org/b/13631> Page Cache should support pages with frames

        * history/PageCache.cpp:
        (WebCore::PageCache::canCache):

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

9 years ago2011-06-22 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Thu, 23 Jun 2011 01:36:42 +0000 (01:36 +0000)]
2011-06-22  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Add a build flag for building with libxml2 and libxslt.
        https://bugs.webkit.org/show_bug.cgi?id=63113

        * wtf/Platform.h:
2011-06-22  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Add a build flag for building with libxml2 and libxslt.
        https://bugs.webkit.org/show_bug.cgi?id=63113

        No new tests. If this new flag was set by default, we could unskip
        existing xmlviewer tests.

        * CodeGenerators.pri:
        * WebCore.pri:
        * WebCore.pro:
        * features.pri:

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

9 years ago<http://webkit.org/b/63212> TestWebKitAPI Xcode project has bogus settings since...
mrowe@apple.com [Thu, 23 Jun 2011 01:34:11 +0000 (01:34 +0000)]
<webkit.org/b/63212> TestWebKitAPI Xcode project has bogus settings since r86287

Reviewed by David Levin.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Fix the reference to libgtest.a to
be relative to the built products directory rather than using a hard-coded path. Remove the
explicit settings of FRAMEWORK_SEARCH_PATHS, HEADER_SEARCH_PATHS and LIBRARY_SEARCH_PATHS
as they're all unnecessary. If they were necessary they should be set in the .xcconfig file
rather than in the .xcodeproj directly.

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

9 years ago2011-06-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 01:27:19 +0000 (01:27 +0000)]
2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>

        Yet another build fix after r89472.

        * html/parser/HTMLFormattingElementList.cpp:

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

9 years ago2011-06-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 01:20:45 +0000 (01:20 +0000)]
2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>

        Another build fix after r89472.

        * dom/DocumentMarkerController.cpp:

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

9 years ago2011-06-22 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 23 Jun 2011 01:17:31 +0000 (01:17 +0000)]
2011-06-22  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: remove obsolete port.shut_down_http_server method
        https://bugs.webkit.org/show_bug.cgi?id=59993

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/base_unittest.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/gtk.py:
        * Scripts/webkitpy/layout_tests/port/mac.py:
        * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
        * Scripts/webkitpy/layout_tests/port/qt.py:
        * Scripts/webkitpy/layout_tests/port/win.py:

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

9 years ago2011-06-22 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Thu, 23 Jun 2011 01:15:41 +0000 (01:15 +0000)]
2011-06-22  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by James Robinson.

        Fixing test spanOverlapsCanvas.html to properly use layer tree text and rebaselining test off that for windows and mac.
        https://bugs.webkit.org/show_bug.cgi?id=63190

        * compositing/layer-creation/spanOverlapsCanvas-expected.txt: Copied from LayoutTests/platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt.
        * compositing/layer-creation/spanOverlapsCanvas.html:
        * platform/mac-snowleopard/compositing: Added.
        * platform/mac-snowleopard/compositing/layer-creation: Added.
        * platform/mac-snowleopard/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
        * platform/mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Removed.
        * platform/win/compositing/layer-creation/spanOverlapsCanvas-expected.txt:

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

9 years ago2011-06-22 Luke Macpherson <macpherson@chromium.org>
macpherson@chromium.org [Thu, 23 Jun 2011 01:10:25 +0000 (01:10 +0000)]
2011-06-22  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Andreas Kling.

        Move macpherson from contributor list to committer list.
        https://bugs.webkit.org/show_bug.cgi?id=63179

        * Scripts/webkitpy/common/config/committers.py:
        Move macpherson from contributor list to committer list.

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

9 years ago2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Thu, 23 Jun 2011 01:07:19 +0000 (01:07 +0000)]
2011-06-22  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add an option to enable Device Orientation Event.
        https://bugs.webkit.org/show_bug.cgi?id=63120

        ADD ENABLE_DEVICE_ORIENTATION.

        * Source/cmake/OptionsEfl.cmake:
        * Source/cmakeconfig.h.cmake:
2011-06-22  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add an option to enable Device Orientation Event.
        https://bugs.webkit.org/show_bug.cgi?id=63120

        * CMakeListsEfl.txt: Add files to build with ENABLE_DEVICE_ORIENTATION.
        * ewk/ewk_view.cpp:
        (_ewk_view_priv_new): Create DeviceOrientationClientEfl and DeviceMotionClientEfl.

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

9 years ago2011-06-22 David Levin <levin@chromium.org>
levin@chromium.org [Thu, 23 Jun 2011 01:05:17 +0000 (01:05 +0000)]
2011-06-22  David Levin  <levin@chromium.org>

        Reviewed by Adam Barth.

        check-webkit-style should detect returning (Own|Ref)Ptr instead of the Pass*Ptr version.
        https://bugs.webkit.org/show_bug.cgi?id=63204

        * Scripts/webkitpy/style/checkers/cpp.py: Added a check for the return value and combined
          with similar code for the parameter checking.
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Removed pass_ptr checks from
          those done for single lines since they don't make sense in that case (variable decls look like function decls).
          Removed some redundant comments (one of which was slightly wrong).
          Added checks for the new functionality and minor other test changes.

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

9 years ago2011-06-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 01:05:09 +0000 (01:05 +0000)]
2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>

        Build fix after r89472.

        * css/CSSStyleDeclaration.cpp:

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

9 years ago2011-06-22 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Thu, 23 Jun 2011 00:57:42 +0000 (00:57 +0000)]
2011-06-22  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Adam Barth.

        IndexedDB open (database) should NOT throw if name is null
        https://bugs.webkit.org/show_bug.cgi?id=63110

        * storage/indexeddb/database-name-undefined-expected.txt:
        * storage/indexeddb/database-name-undefined.html: removed some code here
        because it's duplicated in the mozilla/open-database-null-name test
        * storage/indexeddb/mozilla/open-database-null-name-expected.txt:
        * storage/indexeddb/mozilla/open-database-null-name.html: fixed expected
        behavior (db.name ends up as four-character string "null")
2011-06-22  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Adam Barth.

        IndexedDB open (database) should NOT throw if name is null
        https://bugs.webkit.org/show_bug.cgi?id=63110

        * storage/IDBFactory.idl: remove ConvertNullToNullString flag on
        name argument, let IDL code generator stringify null value to "null"

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

9 years ago2011-06-22 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 23 Jun 2011 00:45:26 +0000 (00:45 +0000)]
2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Add a Position constructor that takes (Text*, unsigned offset)
        https://bugs.webkit.org/show_bug.cgi?id=63181

        Added Position::Position(PassRefPtr<Text*>, unsigned offset) and deployed in a couple of places
        by replacing the calls to the old constructor.

        * dom/Position.cpp:
        (WebCore::Position::Position): Added.
        * dom/Position.h:
        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::replaceSelectedTextInNode): Calls new constructor; extracted
        from InsertTextCommand::performTrivialReplace and ReplaceSelectionCommand::performTrivialReplace.
        (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring): Calls new constructor
        * editing/CompositeEditCommand.h:
        * editing/InsertTextCommand.cpp:
        (WebCore::InsertTextCommand::performTrivialReplace): Calls replaceSelectedTextInNode.
        (WebCore::InsertTextCommand::input): Calls new constructor.
        (WebCore::InsertTextCommand::insertTab): Use RefPtr instead of a raw pointer.
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::performTrivialReplace): Calls replaceSelectedTextInNode.
        * editing/visible_units.cpp:
        (WebCore::startPositionForLine): Calls new constructor.
        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::visiblePositionForIndex): Calls new constructor; calls endPosition
        on Range instead of avoid manually constructing a VisiblePosition out of endContainer and endOffset.

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

9 years ago2011-06-22 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 23 Jun 2011 00:39:10 +0000 (00:39 +0000)]
2011-06-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Fisher.

        [Chromium] Add WebDocument APIs for the functions moving from WebFrame
        https://bugs.webkit.org/show_bug.cgi?id=62831

        * dom/Document.cpp:
        (WebCore::Document::openSearchDescriptionURL):
            - This function exists to service a Chromium WebKit API, but it's
              generally purpose and might be useful to other ports.  The
              algorithm has some strange early exits, which I've marked with
              FIXME comments.
        * dom/Document.h:
2011-06-22  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Fisher.

        [Chromium] Add WebDocument APIs for the functions moving from WebFrame
        https://bugs.webkit.org/show_bug.cgi?id=62831

        The next phase will be to change all the callers and then remove all
        the code inside the ifdef.

        * public/WebDocument.h:
            - Add new APIs.
        * public/WebFrame.h:
            - These two APIs were too disgusting.  I could not, in good
              conscience, touch them.
        * public/WebSecurityOrigin.h:
            - Turns out this API is supposed to be on WebSecurityOrigin, not
              WebDocument.
        * src/WebDocument.cpp:
            - Implement the APIs.
        (WebKit::WebDocument::url):
        (WebKit::WebDocument::securityOrigin):
        (WebKit::WebDocument::encoding):
        (WebKit::WebDocument::openSearchDescriptionURL):
        (WebKit::WebDocument::forms):
        (WebKit::WebDocument::insertStyleText):
        * src/WebFrameImpl.cpp:
            - Change these implements to just be stubs that call into the real
              implementations in WebDocument.
        (WebKit::WebFrameImpl::url):
        (WebKit::WebFrameImpl::openSearchDescriptionURL):
        (WebKit::WebFrameImpl::encoding):
        (WebKit::WebFrameImpl::forms):
        (WebKit::WebFrameImpl::securityOrigin):
        (WebKit::WebFrameImpl::grantUniversalAccess):
        (WebKit::WebFrameImpl::insertStyleText):
        (WebKit::WebFrameImpl::contentAsMarkup):
        * src/WebSecurityOrigin.cpp:
        (WebKit::WebSecurityOrigin::grantUniversalAccess):

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

9 years ago2011-06-22 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 23 Jun 2011 00:28:56 +0000 (00:28 +0000)]
2011-06-22  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Add symbols required for window.internals.
        https://bugs.webkit.org/show_bug.cgi?id=62066

        * Source/autotools/symbols.filter:
2011-06-22  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Test updates for https://bugs.webkit.org/show_bug.cgi?id=62066.

        * fast/preloader/scan-body-from-head-import.html: Use window.internals.
        * fast/preloader/scan-body-from-head-script.html: Use window.internals.
        * http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt:
        * http/tests/loading/cross-origin-XHR-willLoadRequest.html:
        * http/tests/loading/preload-append-scan-expected.txt:
        * http/tests/loading/preload-append-scan.php: Use window.internals.
        * http/tests/misc/favicon-loads-with-icon-loading-override-expected.txt:
        * http/tests/misc/link-rel-icon-beforeload-expected.txt:
        * platform/chromium-linux/fast/preloader/scan-body-from-head-script-expected.txt:  Removed.
2011-06-22  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Don't let all subresources keep isLoadingInAPISense() from
        returning false, only requests that affect
        CachedResourceRequest::requestCount().

        Also, add a callback to Internals to determine whether
        a resource has been preloaded.

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

        * WebCore.exp.in:
        * dom/Document.cpp: Add m_loadEventFinished.
        * dom/Document.h:
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::isLoadingInAPISense):
        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::CachedResourceLoader::isPreloaded):
        * loader/cache/CachedResourceLoader.h:
        * testing/Internals.cpp:
        (WebCore::Internals::isPreloaded):
        * testing/Internals.h:
        * testing/Internals.idl:
2011-06-22  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Add win symbols for new window.internals functionality.
        https://bugs.webkit.org/show_bug.cgi?id=62066

        * win/WebKit2.def:
2011-06-22  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Add libsoup to libWebCoreInternals build.
        https://bugs.webkit.org/show_bug.cgi?id=62066

        * GNUmakefile.am:

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

9 years ago2011-06-22 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 23 Jun 2011 00:18:39 +0000 (00:18 +0000)]
2011-06-22  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        nrwt: handle missing httpd cleanly
        https://bugs.webkit.org/show_bug.cgi?id=62027

        We had reverted the change in r89414, so this adds it back in
        (modifying check_sys_deps() in port/base.py to check for an
        installed web server).

        This change then fixes the change in r89414 to stub out the
        check_sys_deps() in the test port so that the unit tests run correctly.

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/test.py:

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

9 years agoRoll out r89469 (Add preference for setting the html parser depth limit)
weinig@apple.com [Thu, 23 Jun 2011 00:17:08 +0000 (00:17 +0000)]
Roll out r89469 (Add preference for setting the html parser depth limit)

The preference is not needed at this time, so there is no reason to expose it.

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

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

9 years ago[WebKit2 Tests] plugins/npruntime/embed-property-equality.html failing since introduc...
jberlin@webkit.org [Thu, 23 Jun 2011 00:16:03 +0000 (00:16 +0000)]
[WebKit2 Tests] plugins/npruntime/embed-property-equality.html failing since introduction in
r88679.
https://bugs.webkit.org/show_bug.cgi?id=63205

Add expected failing result in order to get the bots green.

* platform/mac-wk2/plugins: Added.
* platform/mac-wk2/plugins/npruntime: Added.
* platform/mac-wk2/plugins/npruntime/embed-property-equality-expected.txt: Added.

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

9 years ago2011-06-22 Chris Rogers <crogers@google.com>
crogers@google.com [Thu, 23 Jun 2011 00:01:53 +0000 (00:01 +0000)]
2011-06-22  Chris Rogers  <crogers@google.com>

        Reviewed by David Levin.

        Use create() method for AsyncAudioDecoder::DecodingTask
        https://bugs.webkit.org/show_bug.cgi?id=63198

        No new tests.  This doesn't change any JS API.

        * webaudio/AsyncAudioDecoder.cpp:
        (WebCore::AsyncAudioDecoder::decodeAsync):
        (WebCore::AsyncAudioDecoder::DecodingTask::create):
        * webaudio/AsyncAudioDecoder.h:

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

9 years ago2011-06-22 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 22 Jun 2011 23:57:14 +0000 (23:57 +0000)]
2011-06-22  Ojan Vafai  <ojan@chromium.org>

        Update listing for perf tests to list each individual test.
        A number of the tests in this directory are not flaky.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-22 David Levin <levin@chromium.org>
levin@chromium.org [Wed, 22 Jun 2011 23:56:22 +0000 (23:56 +0000)]
2011-06-22  David Levin  <levin@chromium.org>

        Reviewed by Adam Barth.

        check-webkit-style should check for invalid uses of RefPtr/OwnPtr as parameters.
        https://bugs.webkit.org/show_bug.cgi?id=63188

        * Scripts/webkitpy/style/checkers/cpp.py: Added the check.
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.

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

9 years ago2011-06-22 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 22 Jun 2011 23:55:53 +0000 (23:55 +0000)]
2011-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89489.
        http://trac.webkit.org/changeset/89489
        https://bugs.webkit.org/show_bug.cgi?id=63203

        Broke chromium mac build on build.webkit.org (Requested by
        abarth on #webkit).

        * wtf/Platform.h:
2011-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89489.
        http://trac.webkit.org/changeset/89489
        https://bugs.webkit.org/show_bug.cgi?id=63203

        Broke chromium mac build on build.webkit.org (Requested by
        abarth on #webkit).

        * WebCore.gyp/WebCore.gyp:
        * loader/cache/CachedFont.cpp:
        * platform/chromium/DragImageRef.h:
        * platform/graphics/FloatPoint.h:
        * platform/graphics/FloatRect.h:
        * platform/graphics/FloatSize.h:
        * platform/graphics/FontPlatformData.h:
        (WebCore::FontPlatformData::hash):
        * platform/graphics/GlyphBuffer.h:
        (WebCore::GlyphBuffer::advanceAt):
        (WebCore::GlyphBuffer::add):
        (WebCore::GlyphBuffer::expandLastAdvance):
        * platform/graphics/IntPoint.h:
        * platform/graphics/IntRect.h:
        * platform/graphics/IntSize.h:
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cg/FloatPointCG.cpp:
        * platform/graphics/cg/FloatRectCG.cpp:
        * platform/graphics/cg/FloatSizeCG.cpp:
        * platform/graphics/cg/IntPointCG.cpp:
        * platform/graphics/cg/IntRectCG.cpp:
        * platform/graphics/cg/IntSizeCG.cpp:
        * platform/graphics/mac/FontCustomPlatformData.cpp:
        (WebCore::FontCustomPlatformData::~FontCustomPlatformData):
        (WebCore::createFontCustomPlatformData):
        * platform/graphics/mac/FontCustomPlatformData.h:
        (WebCore::FontCustomPlatformData::FontCustomPlatformData):
2011-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r89489.
        http://trac.webkit.org/changeset/89489
        https://bugs.webkit.org/show_bug.cgi?id=63203

        Broke chromium mac build on build.webkit.org (Requested by
        abarth on #webkit).

        * WebKit.gyp:
        * features.gypi:
        * public/WebCommon.h:

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

9 years ago2011-06-22 Luke Macpherson <macpherson@chromium.org>
macpherson@chromium.org [Wed, 22 Jun 2011 23:53:17 +0000 (23:53 +0000)]
2011-06-22  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by James Robinson.

        Remove comment that snuck in via copy & paste.
        https://bugs.webkit.org/show_bug.cgi?id=63177

        No new tests / no code changes.

        * css/CSSPrimitiveValueMappings.h:
        (WebCore::CSSPrimitiveValue::operator short):
        Removed incorrect comment.

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

9 years ago[Chromium] Unreviewed, baseline for a new test added in http://trac.webkit.org/change...
dimich@chromium.org [Wed, 22 Jun 2011 23:51:24 +0000 (23:51 +0000)]
[Chromium] Unreviewed, baseline for a new test added in trac.webkit.org/changeset/89490

* platform/chromium-linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
* platform/chromium-linux/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.

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

9 years ago[Chromium] Unreviewed, rebaseline tests after http://trac.webkit.org/changeset/89475/
dimich@chromium.org [Wed, 22 Jun 2011 23:43:01 +0000 (23:43 +0000)]
[Chromium] Unreviewed, rebaseline tests after trac.webkit.org/changeset/89475/

* platform/chromium-mac-leopard/fast/gradients/gradient-after-transparent-border-expected.png:
* platform/chromium-mac/fast/borders/border-radius-wide-border-01-expected.png: Added.
* platform/chromium-mac/fast/borders/mixed-border-styles-radius-expected.png:
* platform/chromium-mac/fast/gradients/gradient-after-transparent-border-expected.png:

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

9 years ago2011-06-22 Annie Sullivan <sullivan@chromium.org>
commit-queue@webkit.org [Wed, 22 Jun 2011 23:18:57 +0000 (23:18 +0000)]
2011-06-22  Annie Sullivan  <sullivan@chromium.org>

        Reviewed by Ryosuke Niwa.

        REGRESSION: Hitting enter in the middle of this span causes the cursor to go to the end of the span
        https://bugs.webkit.org/show_bug.cgi?id=61594

        Adds two layout tests to verify that hitting enter in the middle of the span splits the span correctly
        and places the cursor in the correct position.

        * editing/inserting/return-key-before-br-in-span-expected.txt: Added.
        * editing/inserting/return-key-before-br-in-span.html: Added.
        * editing/inserting/return-key-middle-of-span-expected.txt: Added.
        * editing/inserting/return-key-middle-of-span.html: Added.
2011-06-22  Annie Sullivan  <sullivan@chromium.org>

        Reviewed by Ryosuke Niwa.

        REGRESSION: Hitting enter in the middle of this span causes the cursor to go to the end of the span
        https://bugs.webkit.org/show_bug.cgi?id=61594

        When the tree is split at the cursor in InsertParagraphSeparatorCommand, it is possible for the position
        split at to be at the end of a text node. The code assumes the position is at the start of the node, so
        pass the correct node into splitTreeToNode() in that case.

        Tests: editing/inserting/return-key-before-br-in-span.html
               editing/inserting/return-key-middle-of-span.html

        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::doApply):

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