WebKit-https.git
10 years agoAdd triggers for Lion WK2 test bots.
lforschler@apple.com [Mon, 8 Aug 2011 22:49:52 +0000 (22:49 +0000)]
Add triggers for Lion WK2 test bots.

Reviewed by Stephanie Lewis.

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

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

10 years agoOptimize baselines for fast/inspector-support.
abarth@webkit.org [Mon, 8 Aug 2011 22:29:33 +0000 (22:29 +0000)]
Optimize baselines for fast/inspector-support.
This patch was created with webkit-patch bulk-optimize-baselines.

* fast/inspector-support/style-expected.txt: Added.
* platform/chromium-mac/fast/inspector-support: Removed.
* platform/chromium-mac/fast/inspector-support/uncaught-dom1-exception-expected.txt: Removed.
* platform/chromium-mac/fast/inspector-support/uncaught-dom3-exception-expected.txt: Removed.
* platform/chromium-mac/fast/inspector-support/uncaught-dom8-exception-expected.txt: Removed.
* platform/chromium-win/fast/inspector-support/uncaught-dom1-exception-expected.txt: Removed.
* platform/chromium-win/fast/inspector-support/uncaught-dom3-exception-expected.txt: Removed.
* platform/chromium-win/fast/inspector-support/uncaught-dom8-exception-expected.txt: Removed.
* platform/chromium/fast/inspector-support: Added.
* platform/chromium/fast/inspector-support/uncaught-dom1-exception-expected.txt: Added.
* platform/chromium/fast/inspector-support/uncaught-dom3-exception-expected.txt: Added.
* platform/chromium/fast/inspector-support/uncaught-dom8-exception-expected.txt: Added.
* platform/gtk/fast/inspector-support/style-expected.txt: Removed.
* platform/mac/fast/inspector-support/style-expected.txt: Removed.
* platform/qt/fast/inspector-support/style-expected.txt: Removed.

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

10 years agoOptimize baselines for fast/dom/HTMLAnchorElement and fast/dom/Window.
abarth@webkit.org [Mon, 8 Aug 2011 22:24:01 +0000 (22:24 +0000)]
Optimize baselines for fast/dom/HTMLAnchorElement and fast/dom/Window.
This patch was created with webkit-patch bulk-optimize-baselines.
(Note: I massaged the two results that enumerate the global object to
leave the "base" results as matching mac even though the tool wanted to
push those results down into the mac directory.)

* platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt: Removed.
* platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt: Removed.
* platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt: Removed.
* platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt: Removed.
* platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/element-constructors-on-window-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/get-set-properties-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/window-custom-prototype-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/window-postmessage-args-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/window-properties-device-orientation-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/window-properties-geolocation-expected.txt: Removed.
* platform/chromium-mac/fast/dom/Window/window-property-shadowing-expected.txt: Removed.
* platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt: Removed.
* platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt: Removed.
* platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/element-constructors-on-window-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/get-set-properties-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/window-custom-prototype-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/window-postmessage-args-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/window-postmessage-clone-frames-expected.txt: Added.
* platform/chromium-win/fast/dom/Window/window-properties-device-orientation-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/window-properties-geolocation-expected.txt: Removed.
* platform/chromium-win/fast/dom/Window/window-property-shadowing-expected.txt: Removed.
* platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt: Added.
* platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt: Added.
* platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt: Added.
* platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt: Added.
* platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt: Added.
* platform/chromium/fast/dom/Window/element-constructors-on-window-expected.txt: Added.
* platform/chromium/fast/dom/Window/get-set-properties-expected.txt: Added.
* platform/chromium/fast/dom/Window/window-custom-prototype-expected.txt: Added.
* platform/chromium/fast/dom/Window/window-postmessage-args-expected.txt: Added.
* platform/chromium/fast/dom/Window/window-postmessage-clone-frames-expected.txt: Removed.
* platform/chromium/fast/dom/Window/window-properties-device-orientation-expected.txt: Added.
* platform/chromium/fast/dom/Window/window-properties-geolocation-expected.txt: Added.
* platform/chromium/fast/dom/Window/window-property-shadowing-expected.txt: Added.

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

10 years agoOptimize baselines for fast/dom/DOMException.
abarth@webkit.org [Mon, 8 Aug 2011 22:18:38 +0000 (22:18 +0000)]
Optimize baselines for fast/dom/DOMException.
This patch was created with webkit-patch bulk-optimize-baselines.
(I've manually remove the README file because we don't use these sorts
of README files anymore.)

* platform/chromium-mac/fast/dom/DOMException: Removed.
* platform/chromium-mac/fast/dom/DOMException/EventException-expected.txt: Removed.
* platform/chromium-mac/fast/dom/DOMException/README: Removed.
* platform/chromium-mac/fast/dom/DOMException/RangeException-expected.txt: Removed.
* platform/chromium-mac/fast/dom/DOMException/XPathException-expected.txt: Removed.
* platform/chromium-mac/fast/dom/DOMException/prototype-object-expected.txt: Removed.
* platform/chromium-win/fast/dom/DOMException: Removed.
* platform/chromium-win/fast/dom/DOMException/EventException-expected.txt: Removed.
* platform/chromium-win/fast/dom/DOMException/README: Removed.
* platform/chromium-win/fast/dom/DOMException/RangeException-expected.txt: Removed.
* platform/chromium-win/fast/dom/DOMException/XPathException-expected.txt: Removed.
* platform/chromium-win/fast/dom/DOMException/prototype-object-expected.txt: Removed.
* platform/chromium/fast/dom/DOMException: Added.
* platform/chromium/fast/dom/DOMException/EventException-expected.txt: Added.
* platform/chromium/fast/dom/DOMException/RangeException-expected.txt: Added.
* platform/chromium/fast/dom/DOMException/XPathException-expected.txt: Added.
* platform/chromium/fast/dom/DOMException/prototype-object-expected.txt: Added.

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

10 years agoUnreviewed, rolling out r92619.
commit-queue@webkit.org [Mon, 8 Aug 2011 22:17:46 +0000 (22:17 +0000)]
Unreviewed, rolling out r92619.
http://trac.webkit.org/changeset/92619
https://bugs.webkit.org/show_bug.cgi?id=65881

This patch breaks chromium canary (Requested by jianli on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-08

Source/WebCore:

* bindings/v8/V8Binding.h:
* bindings/v8/V8GCController.cpp:
(WebCore::globalHandleMap):
(WebCore::enumerateGlobalHandles):
(WebCore::V8GCController::registerGlobalHandle):
(WebCore::V8GCController::unregisterGlobalHandle):
* bindings/v8/V8HiddenPropertyName.cpp:
(WebCore::V8HiddenPropertyName::createString):
* bindings/v8/V8HiddenPropertyName.h:
* bindings/v8/V8LazyEventListener.cpp:
(WebCore::V8LazyEventListener::prepareListenerObject):
* bindings/v8/V8NPObject.cpp:
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::checkNewLegal):
* bindings/v8/V8Utilities.h:
(WebCore::AllowAllocation::AllowAllocation):
(WebCore::AllowAllocation::~AllowAllocation):
(WebCore::SafeAllocation::newInstance):
* bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
(WebCore::WorkerContextExecutionProxy::initV8):
* bindings/v8/WorkerContextExecutionProxy.h:
* bindings/v8/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::scheduleExecutionTermination):

Source/WebKit/chromium:

* src/BoundObject.cpp:

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

10 years agobulk-optimize-baselines should take directories on the command line
abarth@webkit.org [Mon, 8 Aug 2011 22:04:34 +0000 (22:04 +0000)]
bulk-optimize-baselines should take directories on the command line
https://bugs.webkit.org/show_bug.cgi?id=65879

Reviewed by Dimitri Glazkov.

Passing lists of tests via stdin is a pain.  It's easier if the command
takes a list of tests on the command line, like run-webkit-tests.

* Scripts/webkitpy/tool/commands/rebaseline.py:

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

10 years agoScroll animator changes to nail the framerate
commit-queue@webkit.org [Mon, 8 Aug 2011 22:01:15 +0000 (22:01 +0000)]
Scroll animator changes to nail the framerate
https://bugs.webkit.org/show_bug.cgi?id=65645

Patch by Scott Byer <scottbyer@chromium.org> on 2011-08-08
Reviewed by James Robinson.

Source/WebCore:

Partial test in ScrollAnimatorNoneTest::Enabled.

* platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::PerAxisData::PerAxisData):
(WebCore::ScrollAnimatorNone::PerAxisData::updateDataFromParameters):
(WebCore::ScrollAnimatorNone::PerAxisData::animateScroll):
(WebCore::ScrollAnimatorNone::ScrollAnimatorNone):
(WebCore::ScrollAnimatorNone::~ScrollAnimatorNone):
(WebCore::ScrollAnimatorNone::scroll):
(WebCore::ScrollAnimatorNone::scrollToOffsetWithoutAnimation):
(WebCore::ScrollAnimatorNone::animationTimerFired):
(WebCore::ScrollAnimatorNone::stopAnimationTimerIfNeeded):
* platform/ScrollAnimatorNone.h:

Source/WebKit/chromium:

* tests/ScrollAnimatorNoneTest.cpp:
(TEST):

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

10 years agoSwitch legacy flexbox to to new layout types
eae@chromium.org [Mon, 8 Aug 2011 21:53:39 +0000 (21:53 +0000)]
Switch legacy flexbox to to new layout types
https://bugs.webkit.org/show_bug.cgi?id=65340

Reviewed by Eric Seidel.

No new tests, no new functionality.

* rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::calcHorizontalPrefWidths):
(WebCore::RenderDeprecatedFlexibleBox::calcVerticalPrefWidths):
(WebCore::RenderDeprecatedFlexibleBox::computePreferredLogicalWidths):
(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
(WebCore::RenderDeprecatedFlexibleBox::layoutHorizontalBox):
(WebCore::RenderDeprecatedFlexibleBox::layoutVerticalBox):
(WebCore::RenderDeprecatedFlexibleBox::placeChild):
(WebCore::RenderDeprecatedFlexibleBox::allowedChildFlex):
* rendering/RenderDeprecatedFlexibleBox.h:

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

10 years agoDeprecate rebaseline-chromium-webkit-tests
abarth@webkit.org [Mon, 8 Aug 2011 21:37:55 +0000 (21:37 +0000)]
Deprecate rebaseline-chromium-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=65873

Reviewed by Dimitri Glazkov.

This script never worked correctly and now is redundant with more
modern infrastructure for rebaselining tests.  This patch deprecates
the script in order to flush out any issues with the new tools.  Once
folks are happy with the new tools, we'll delete this script.

* Scripts/rebaseline-chromium-webkit-tests:

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

10 years agogarden-o-matic should only touch expectations that need updating.
dglazkov@chromium.org [Mon, 8 Aug 2011 21:35:08 +0000 (21:35 +0000)]
garden-o-matic should only touch expectations that need updating.
https://bugs.webkit.org/show_bug.cgi?id=65876

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/models/test_expectations.py: Added reconstitute_only_these to TestExpectationSerializer.list_to_string,
    so that a caller could influence which lines to serialize from values.
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Added tests.
* Scripts/webkitpy/tool/servers/gardeningserver.py: Started using reconstitute_only_these.
* Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added tests.

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

10 years agoUsing mprotect to create guard pages breaks our use of madvise to release executable...
oliver@apple.com [Mon, 8 Aug 2011 21:28:53 +0000 (21:28 +0000)]
Using mprotect to create guard pages breaks our use of madvise to release executable memory
https://bugs.webkit.org/show_bug.cgi?id=65870

Reviewed by Gavin Barraclough.

Use mmap rather than mprotect to clear guard page permissions.

* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::reserveAndCommit):

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

10 years agoTestExpectationsEditor should return a list of updated expectations.
dglazkov@chromium.org [Mon, 8 Aug 2011 21:28:03 +0000 (21:28 +0000)]
TestExpectationsEditor should return a list of updated expectations.
https://bugs.webkit.org/show_bug.cgi?id=65872

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/models/test_expectations.py: Added a list to store lines that are being updated.
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Changed tests to account for updated lines.

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

10 years agoUnreviewed, mark preventExtensions.html as failed on chromium.
jianli@chromium.org [Mon, 8 Aug 2011 21:07:33 +0000 (21:07 +0000)]
Unreviewed, mark preventExtensions.html as failed on chromium.

* platform/chromium/test_expectations.txt:

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

10 years agoFix SCM webkitpy unit test failures
abarth@webkit.org [Mon, 8 Aug 2011 21:04:31 +0000 (21:04 +0000)]
Fix SCM webkitpy unit test failures
https://bugs.webkit.org/show_bug.cgi?id=65823

Patch by Jochen Eisinger <jochen@chromium.org> on 2011-08-08
Reviewed by Eric Seidel.

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

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

10 years agoSwitch RenderStyle to to new layout types
eae@chromium.org [Mon, 8 Aug 2011 20:49:33 +0000 (20:49 +0000)]
Switch RenderStyle to to new layout types
https://bugs.webkit.org/show_bug.cgi?id=65208

Reviewed by Eric Seidel.

No new tests, no new functionality.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::addShadowOverflow):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::applyTransform):
(WebCore::calcRadiiFor):
(WebCore::RenderStyle::getRoundedBorderFor):
(WebCore::RenderStyle::getRoundedInnerBorderFor):
* rendering/style/RenderStyle.h:
* rendering/style/ShadowData.cpp:
(WebCore::ShadowData::adjustRectForShadow):

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

10 years agoRemove counter nodes from the tree and fix-up children when they are removed from...
cdn@chromium.org [Mon, 8 Aug 2011 20:39:23 +0000 (20:39 +0000)]
Remove counter nodes from the tree and fix-up children when they are removed from the counter map.
https://bugs.webkit.org/show_bug.cgi?id=65346

Reviewed by Adam Barth.

Covered by existing CSS counter tests.

* rendering/CounterNode.cpp:
(WebCore::CounterNode::~CounterNode):

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

10 years agoMove the --leaks bot back over to NRWT now that I'm back
eric@webkit.org [Mon, 8 Aug 2011 20:37:24 +0000 (20:37 +0000)]
Move the --leaks bot back over to NRWT now that I'm back
from vacation and able to debug it.

Unreviewed.

* Scripts/run-webkit-tests:
(usingWebKit2):
(useNewRunWebKitTests):

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

10 years agoimplement basic horizontal flexing
tony@chromium.org [Mon, 8 Aug 2011 20:29:40 +0000 (20:29 +0000)]
implement basic horizontal flexing
https://bugs.webkit.org/show_bug.cgi?id=65045

Reviewed by David Hyatt.

Source/WebCore:

Test: css3/flexbox/001.html

* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalWidth):
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::FlexibleBoxIterator::FlexibleBoxIterator): flexitem iterator
(WebCore::RenderFlexibleBox::FlexibleBoxIterator::first):
(WebCore::RenderFlexibleBox::FlexibleBoxIterator::next):
(WebCore::RenderFlexibleBox::FlexibleBoxIterator::reset):
(WebCore::RenderFlexibleBox::layoutBlock):
(WebCore::preferredFlexItemContentWidth): Returns the intrinsic size of a flex item's content.
(WebCore::RenderFlexibleBox::layoutHorizontalBlock): Runs the flex algorithm
(WebCore::preferredSizeForMarginsAndPadding):
(WebCore::RenderFlexibleBox::computePreferredSize): Calculate the preferred size of the
    flex items.
* rendering/RenderFlexibleBox.h:
* rendering/RenderObject.cpp:
(WebCore::RenderObject::createObject):
* rendering/style/RenderStyleConstants.h:

LayoutTests:

* css3/flexbox/001-expected.txt: Added.
* css3/flexbox/001.html: Added.
* css3/flexbox/resources/flexbox.js: Added. I plan on using this file for other tests.
(insertAfter):
(checkHorizontalBoxen):

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

10 years agoAdd detail to ASSERT message in IDBTransaction::enqueueEvent
commit-queue@webkit.org [Mon, 8 Aug 2011 20:18:33 +0000 (20:18 +0000)]
Add detail to ASSERT message in IDBTransaction::enqueueEvent
https://bugs.webkit.org/show_bug.cgi?id=65735

I've hit this a few times but haven't been able to pin it down.  The
extra detail could be helpful.

Patch by David Grogan <dgrogan@chromium.org> on 2011-08-08
Reviewed by Nate Chapin.

No new tests, just an error message.

* storage/IDBTransaction.cpp:
(WebCore::IDBTransaction::enqueueEvent):

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

10 years agoUnreviewed, rolling out r92610.
commit-queue@webkit.org [Mon, 8 Aug 2011 20:13:48 +0000 (20:13 +0000)]
Unreviewed, rolling out r92610.
http://trac.webkit.org/changeset/92610
https://bugs.webkit.org/show_bug.cgi?id=65868

Caused assertion failures when running fast/multicol tests
(Requested by andersca on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-08

PerformanceTests:

* Layout/floats.html:

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj:
* platform/PODIntervalTree.h:
(WebCore::PODIntervalTree::allOverlaps):
(WebCore::PODIntervalTree::searchForOverlapsFrom):
* platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::add):
(WebCore::PODRedBlackTree::remove):
(WebCore::PODRedBlackTree::contains):
(WebCore::PODRedBlackTree::visitInorder):
(WebCore::PODRedBlackTree::size):
(WebCore::PODRedBlackTree::checkInvariants):
(WebCore::PODRedBlackTree::dump):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::repaintOverhangingFloats):
(WebCore::RenderBlock::paintFloats):
(WebCore::RenderBlock::selectionGaps):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::removeFloatingObject):
(WebCore::RenderBlock::removeFloatingObjectsBelow):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):
(WebCore::RenderBlock::nextFloatLogicalBottomBelow):
(WebCore::RenderBlock::lowestFloatLogicalBottom):
(WebCore::RenderBlock::addPositionedFloats):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::hasOverhangingFloat):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::markSiblingsWithFloatsForLayout):
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::adjustForBorderFit):
(WebCore::RenderBlock::FloatingObjects::clear):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::FloatingObject::FloatingObject):
(WebCore::RenderBlock::FloatingObject::setX):
(WebCore::RenderBlock::FloatingObject::setY):
(WebCore::RenderBlock::FloatingObject::setWidth):
(WebCore::RenderBlock::FloatingObject::setHeight):
(WebCore::RenderBlock::FloatingObject::setFrameRect):
(WebCore::RenderBlock::FloatingObjects::FloatingObjects):
(WebCore::RenderBlock::FloatingObjects::set):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutRunsAndFloatsInRange):
(WebCore::RenderBlock::linkToEndLineIfNeeded):
(WebCore::RenderBlock::matchedEndLine):
(WebCore::RenderBlock::positionNewFloatOnLine):

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

10 years agoRename absoluteQuadsForRange and InlineTextBox::selectionRect to local*
eae@chromium.org [Mon, 8 Aug 2011 20:11:22 +0000 (20:11 +0000)]
Rename absoluteQuadsForRange and InlineTextBox::selectionRect to local*
https://bugs.webkit.org/show_bug.cgi?id=65722

Reviewed by Simon Fraser.

No new tests, no new functionality.

* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::localSelectionRect):
Rename InlineTextBox::selectionRect to localSelectionRect to reflect that
it, unlike RenderObject::selectionRect returns a rect in the local
coordinate space.

* rendering/InlineTextBox.h:
* rendering/RenderText.cpp:
(WebCore::localQuadForTextBox):
(WebCore::RenderText::absoluteRectsForRange):
(WebCore::RenderText::absoluteQuadsForRange):
(WebCore::RenderText::selectionRectForRepaint):
Rename absoluteQuadForTextBox to localQuadForTextBox to reflect that it
returns a quad in the local coordinate space.

* rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::localCaretRect):
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::localSelectionRect):
* rendering/svg/SVGInlineTextBox.h:

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

10 years agoWire up updating expectations in garden-o-matic.
dglazkov@chromium.org [Mon, 8 Aug 2011 19:59:31 +0000 (19:59 +0000)]
Wire up updating expectations in garden-o-matic.
https://bugs.webkit.org/show_bug.cgi?id=65794

Reviewed by Adam Barth.

* Scripts/webkitpy/layout_tests/port/factory.py: Moved _port_for_builder from rebaseline.py to here, rename to get_from_builder_name.
* Scripts/webkitpy/tool/commands/rebaseline.py: Adapted callsites to new location.
* Scripts/webkitpy/tool/servers/gardeningserver.py: Added GardeningExpectationsUpdater, which knows how to update expectations.
* Scripts/webkitpy/tool/servers/gardeningserver_unittest.py: Added loads of tests.

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

10 years agoUse a raw pointer to the security origin in the ctor of FrameLoadRequest
jochen@chromium.org [Mon, 8 Aug 2011 19:54:46 +0000 (19:54 +0000)]
Use a raw pointer to the security origin in the ctor of FrameLoadRequest
https://bugs.webkit.org/show_bug.cgi?id=65852

Reviewed by Alexey Proskuryakov.

* loader/FrameLoadRequest.h:
(WebCore::FrameLoadRequest::FrameLoadRequest):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::changeLocation):
* loader/FrameLoader.h:
* loader/NavigationScheduler.cpp:
(WebCore::ScheduledURLNavigation::ScheduledURLNavigation):
(WebCore::ScheduledURLNavigation::fire):
(WebCore::ScheduledRedirect::ScheduledRedirect):
(WebCore::ScheduledLocationChange::ScheduledLocationChange):
(WebCore::ScheduledRefresh::ScheduledRefresh):
(WebCore::NavigationScheduler::scheduleLocationChange):
* loader/NavigationScheduler.h:

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

10 years agoWebView::performLayeredWindowUpdate() crashes with
bfulgham@webkit.org [Mon, 8 Aug 2011 19:41:12 +0000 (19:41 +0000)]
WebView::performLayeredWindowUpdate() crashes with
NULL pointer when using layered window updates.
https://bugs.webkit.org/show_bug.cgi?id=60618

Reviewed by Adam Roben.

During resize operations, the backing store will be destroyed if
the window's size (either height or width) is set to zero. The
bug was identified when a user first resized a WebView to zero
dimensions, then attempted to perform a MoveWindow. The paint
message triggered by the MoveWindow attempted to use the layered
window update logic, which encountered the nulled backing store.

* WebView.cpp:
(WebView::performLayeredWindowUpdate): Add an early
 return when there is no backing store to blend with.

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

10 years agoRemove redundant inline styles from the pasted contents more aggressively
rniwa@webkit.org [Mon, 8 Aug 2011 19:15:16 +0000 (19:15 +0000)]
Remove redundant inline styles from the pasted contents more aggressively
https://bugs.webkit.org/show_bug.cgi?id=65833

Reviewed by Tony Chang.

Source/WebCore:

Make removeRedundantStylesAndKeepStyleSpanInline more aggressively remove redundant styles by realizing that
when an editing inheritable property in an inline style declaration of an element can be safely removed
if it is present either in style rules or in its ancestor and not overridden by style rules or default style
of the element.

Test: editing/pasteboard/paste-with-redundant-style.html

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::pseudoStyleRulesForElement): Do not match author style sheets if AuthorCSSRules
is not included in the rules to include. This is used in EditingStyle::removePropertiesInElementDefaultStyle.
* editing/ApplyStyleCommand.cpp:
(WebCore::isStyleSpanOrSpanWithOnlyStyleAttribute): Added; returns true if the element is a style span or
span possibly with a style attribute.
* editing/ApplyStyleCommand.h:
* editing/EditingStyle.cpp:
(WebCore::styleFromMatchedRulesForElement): Takes rulesToInclude.
(WebCore::EditingStyle::mergeStyleFromRules): Calls styleFromMatchedRulesForElement with AuthorCSSRules
| CrossOriginCSSRules to keep the original behavior.
(WebCore::EditingStyle::removeStyleFromRulesAndContext): Renamed from removeStyleFromRules; removes styles that
are present in context and not overridden by matched rules.
(WebCore::EditingStyle::removePropertiesInElementDefaultStyle): Added.
* editing/EditingStyle.h:
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline): See the description above.

LayoutTests:

Added a test to paste contents with many redundant styles. WebKit should remove as much style spans as possible
(all of this in this case).

* editing/pasteboard/4930986-2-expected.txt: style attribute now has a trailing space.
* editing/pasteboard/interchange-newline-1-expected.txt: No longer has a wrapping span without any attributes.
* editing/pasteboard/nested-blocks-with-text-area-expected.txt: Ditto.
* editing/pasteboard/nested-blocks-with-text-field-expected.txt: Ditto.
* editing/pasteboard/paste-blockquote-into-blockquote-2-expected.txt: Ditto.
* editing/pasteboard/paste-blockquote-into-blockquote-expected.txt: Ditto.
* editing/pasteboard/prevent-block-nesting-01-expected.txt: Ditto.
* editing/pasteboard/paste-with-redundant-style-expected.txt: Added.
* editing/pasteboard/paste-with-redundant-style.html: Added.

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

10 years agoSource/WebCore: https://bugs.webkit.org/show_bug.cgi?id=65778
dslomov@google.com [Mon, 8 Aug 2011 19:11:33 +0000 (19:11 +0000)]
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=65778
[WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates.

Reviewed by David Levin.

Covered by existing tests.

* bindings/v8/V8Binding.h:
(WebCore::V8BindingPerIsolateData::lazyEventListenerToStringTemplate):
(WebCore::V8BindingPerIsolateData::hiddenPropertyName):
(WebCore::V8BindingPerIsolateData::globalHandleMap):
(WebCore::AllowAllocation::AllowAllocation): Moving to V8Binding.h from V8Utilities.h to resolve header dependency.
(WebCore::AllowAllocation::~AllowAllocation):
(WebCore::AllowAllocation::current):
(WebCore::SafeAllocation::newInstance):
* bindings/v8/V8GCController.cpp:
(WebCore::currentGlobalHandleMap):
(WebCore::enumerateGlobalHandles):
(WebCore::V8GCController::registerGlobalHandle):
(WebCore::V8GCController::unregisterGlobalHandle):
* bindings/v8/V8HiddenPropertyName.cpp:
(WebCore::V8HiddenPropertyName::createString):
* bindings/v8/V8HiddenPropertyName.h:
* bindings/v8/V8LazyEventListener.cpp:
(WebCore::V8LazyEventListener::prepareListenerObject):
* bindings/v8/V8NPObject.cpp:
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::checkNewLegal):
* bindings/v8/V8Utilities.h:
* bindings/v8/WorkerContextExecutionProxy.cpp:
(WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
(WebCore::WorkerContextExecutionProxy::initIsolate):
* bindings/v8/WorkerContextExecutionProxy.h:
* bindings/v8/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::scheduleExecutionTermination):

Source/WebKit/chromium: https://bugs.webkit.org/show_bug.cgi?id=65778
[WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates

Reviewed by David Levin.

* src/BoundObject.cpp: AllowAllocation moved from V8Utilities.h to V8Binding.h

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

10 years agoNon-extensibility does not prevent mutating [[Prototype]]
oliver@apple.com [Mon, 8 Aug 2011 19:09:51 +0000 (19:09 +0000)]
Non-extensibility does not prevent mutating [[Prototype]]
https://bugs.webkit.org/show_bug.cgi?id=65832

Reviewed by Gavin Barraclough.

../../../../Volumes/Data/git/WebKit/OpenSource/LayoutTests:

Add tests to ensure we can't assign to __proto__ when an object
is not extensible.

* fast/js/preventExtensions-expected.txt:
* fast/js/script-tests/preventExtensions.js:

../../../../Volumes/Data/git/WebKit/OpenSource/Source/JavaScriptCore:

Disallow mutation of __proto__ on objects that are not extensible.

* runtime/JSObject.cpp:
(JSC::JSObject::put):

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

10 years agoUnreviewed, rolling out r92607.
commit-queue@webkit.org [Mon, 8 Aug 2011 19:09:46 +0000 (19:09 +0000)]
Unreviewed, rolling out r92607.
http://trac.webkit.org/changeset/92607
https://bugs.webkit.org/show_bug.cgi?id=65865

This patch breaks Chromium Mac Canary (Requested by jianli on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-08

Source/WebCore:

* platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::PlatformWheelEvent):
* platform/chromium/ScrollAnimatorChromiumMac.mm:
(WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):

Source/WebKit/chromium:

* features.gypi:
* public/WebInputEvent.h:
(WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
* public/mac/WebInputEventFactory.h:
* src/WebInputEventConversion.cpp:
(WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
* src/WebInputEventConversion.h:
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::handleInputEvent):
* src/WebPopupMenuImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::handleInputEvent):
* src/WebViewImpl.h:
* src/mac/WebInputEventFactory.mm:
(WebKit::WebInputEventFactory::mouseWheelEvent):

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

10 years agoUnreviewed, mark 1 test as flaky in chromium.
jianli@chromium.org [Mon, 8 Aug 2011 18:59:15 +0000 (18:59 +0000)]
Unreviewed, mark 1 test as flaky in chromium.

* platform/chromium/test_expectations.txt:

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

10 years ago[Qt] Implement WebGL antialiasing (part 3)
commit-queue@webkit.org [Mon, 8 Aug 2011 18:42:21 +0000 (18:42 +0000)]
[Qt] Implement WebGL antialiasing (part 3)
https://bugs.webkit.org/show_bug.cgi?id=64879

Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-08-08
Reviewed by Noam Rosenthal.

Existing WebGL layout tests cover this.

Implement WebGL antialiasing for Qt desktop.
Existing code in GraphicsContext3DOpenGL.cpp manages the
multisample FBO. GraphicsContext3DQt.cpp creates it and blits
it to the regular FBO when painting.
Requires adoption of Extensions3DOpenGL to be fully functional.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
(WebCore::GraphicsContext3DInternal::paintToTextureMapper):
(WebCore::GraphicsContext3DInternal::paint):
(WebCore::GraphicsContext3DInternal::multisampleResolve):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):

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

10 years agoUnreviewed, update chromium test_expectations.
jianli@chromium.org [Mon, 8 Aug 2011 18:33:13 +0000 (18:33 +0000)]
Unreviewed, update chromium test_expectations.

* platform/chromium/test_expectations.txt:

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

10 years agoFix build.
andersca@apple.com [Mon, 8 Aug 2011 18:26:03 +0000 (18:26 +0000)]
Fix build.

* platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::Counter::visit):

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

10 years agoOptimize floating elements lookup
commit-queue@webkit.org [Mon, 8 Aug 2011 18:09:19 +0000 (18:09 +0000)]
Optimize floating elements lookup
https://bugs.webkit.org/show_bug.cgi?id=65668

PerformanceTests:

Patch by Alexandru Chiculita <achicu@adobe.com> on 2011-08-08
Reviewed by David Hyatt.

* Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.

Source/WebCore:

Added an interval tree in the FloatingObjects structure. Also added new mechanisms to make
sure the tree is updated correctly when a float is repositioned.

Changed the PODIntervalTree to support giving a search adapter that can be implemented by the
client. I'm not adding a different bug for that because PODIntervalTree is not used anywhere else
and would be hard to test that the change is not breaking anything.

Patch by Alexandru Chiculita <achicu@adobe.com> on 2011-08-08
Reviewed by David Hyatt.

No new tests, just a refactor on the floating objects data structure.

* WebCore.xcodeproj/project.pbxproj:
* platform/PODIntervalTree.h:
(WebCore::PODIntervalSearchAdapter::PODIntervalSearchAdapter):
(WebCore::PODIntervalSearchAdapter::lowValue):
(WebCore::PODIntervalSearchAdapter::highValue):
(WebCore::PODIntervalSearchAdapter::collectIfNeeded):
(WebCore::PODIntervalTree::PODIntervalTree):
(WebCore::PODIntervalTree::allOverlaps):
(WebCore::PODIntervalTree::allOverlapsWithAdapter):
(WebCore::PODIntervalTree::searchForOverlapsFrom):
* platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::PODRedBlackTree):
(WebCore::PODRedBlackTree::clear):
(WebCore::PODRedBlackTree::isInitialized):
(WebCore::PODRedBlackTree::initIfNeeded):
(WebCore::PODRedBlackTree::add):
(WebCore::PODRedBlackTree::remove):
(WebCore::PODRedBlackTree::contains):
(WebCore::PODRedBlackTree::visitInorder):
(WebCore::PODRedBlackTree::size):
(WebCore::PODRedBlackTree::checkInvariants):
(WebCore::PODRedBlackTree::dump):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::styleDidChange):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::repaintOverhangingFloats):
(WebCore::RenderBlock::paintFloats):
(WebCore::RenderBlock::selectionGaps):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::removeFloatingObject):
(WebCore::RenderBlock::removeFloatingObjectsBelow):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::::collectIfNeeded):
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):
(WebCore::RenderBlock::nextFloatLogicalBottomBelow):
(WebCore::RenderBlock::lowestFloatLogicalBottom):
(WebCore::RenderBlock::addPositionedFloats):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::hasOverhangingFloat):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::markSiblingsWithFloatsForLayout):
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::adjustForBorderFit):
(WebCore::RenderBlock::FloatingObjects::clear):
(WebCore::RenderBlock::FloatingObjects::intervalForFloatingObject):
(WebCore::RenderBlock::FloatingObjects::addPlacedObject):
(WebCore::RenderBlock::FloatingObjects::removePlacedObject):
(WebCore::RenderBlock::FloatingObjects::add):
(WebCore::RenderBlock::FloatingObjects::remove):
(WebCore::RenderBlock::FloatingObjects::computePlacedFloatsTree):
(WebCore::::string):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::FloatingObject::FloatingObject):
(WebCore::RenderBlock::FloatingObject::setX):
(WebCore::RenderBlock::FloatingObject::setY):
(WebCore::RenderBlock::FloatingObject::setWidth):
(WebCore::RenderBlock::FloatingObject::setHeight):
(WebCore::RenderBlock::FloatingObject::setFrameRect):
(WebCore::RenderBlock::FloatingObject::isInPlacedTree):
(WebCore::RenderBlock::FloatingObject::setIsInPlacedTree):
(WebCore::RenderBlock::FloatIntervalSearchAdapter::FloatIntervalSearchAdapter):
(WebCore::RenderBlock::FloatIntervalSearchAdapter::lowValue):
(WebCore::RenderBlock::FloatIntervalSearchAdapter::highValue):
(WebCore::RenderBlock::FloatingObjects::FloatingObjects):
(WebCore::RenderBlock::FloatingObjects::setHorizontalWritingMode):
(WebCore::RenderBlock::FloatingObjects::set):
(WebCore::RenderBlock::FloatingObjects::placedFloatsTree):
(WebCore::RenderBlock::FloatingObjects::computePlacedFloatsTreeIfNeeded):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutRunsAndFloatsInRange):
(WebCore::RenderBlock::linkToEndLineIfNeeded):
(WebCore::RenderBlock::matchedEndLine):
(WebCore::RenderBlock::positionNewFloatOnLine):

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

10 years agowebkit-patch doesn't get along with renamed files
jochen@chromium.org [Mon, 8 Aug 2011 18:02:59 +0000 (18:02 +0000)]
webkit-patch doesn't get along with renamed files
https://bugs.webkit.org/show_bug.cgi?id=48075

Possibly a bit heavy handed - I removed all instances of -C and
changed every instance of -M with '--no-renames' in git.py. This
forces git to not try to tell us about renames at all, which is
ultimately the behaviour we want. The old file is shown deleted,
then the new file is shown added, followed by any changes that
occurred. Also gets rid of the problem where deleting one file
and adding another file which has similar content would
unexpectedly show up as a rename, and fall out of a diff.

Based on a patch by Wyatt Carss.

Reviewed by Eric Seidel.

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

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

10 years agoUnreviewed, mark some tests as flaky on chromium.
jianli@chromium.org [Mon, 8 Aug 2011 18:00:04 +0000 (18:00 +0000)]
Unreviewed, mark some tests as flaky on chromium.

* platform/chromium/test_expectations.txt:

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

10 years ago[Chromium] Enable rubber banding when scrolling.
commit-queue@webkit.org [Mon, 8 Aug 2011 17:56:40 +0000 (17:56 +0000)]
[Chromium] Enable rubber banding when scrolling.

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

Patch by Alexei Svitkine <asvitkine@chromium.org> on 2011-08-08
Reviewed by Dimitri Glazkov.

Source/WebCore:

No new tests since this is just syncing changes to chromium platform.

* platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::PlatformWheelEvent):
* platform/chromium/ScrollAnimatorChromiumMac.mm:
(WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):

Source/WebKit/chromium:

* features.gypi:
* public/WebInputEvent.h:
(WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
(WebKit::WebGestureEvent::WebGestureEvent):
* public/mac/WebInputEventFactory.h:
* src/WebInputEventConversion.cpp:
(WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
(WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
* src/WebInputEventConversion.h:
* src/WebPopupMenuImpl.cpp:
(WebKit::WebPopupMenuImpl::GestureEvent):
(WebKit::WebPopupMenuImpl::handleInputEvent):
* src/WebPopupMenuImpl.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::gestureEvent):
(WebKit::WebViewImpl::handleInputEvent):
* src/WebViewImpl.h:
* src/mac/WebInputEventFactory.mm:
(WebKit::gestureEventTypeForEvent):
(WebKit::phaseForNSEventPhase):
(WebKit::phaseForEvent):
(WebKit::momentumPhaseForEvent):
(WebKit::WebInputEventFactory::mouseWheelEvent):
(WebKit::WebInputEventFactory::gestureEvent):

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

10 years agoUnreviewed. Rolled Chromium DEPS from 95576 to 95783.
rniwa@webkit.org [Mon, 8 Aug 2011 17:54:00 +0000 (17:54 +0000)]
Unreviewed. Rolled Chromium DEPS from 95576 to 95783.

* DEPS:

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

10 years ago[Cairo][Gtk] Get more of the philip suite of canvas tests passing
commit-queue@webkit.org [Mon, 8 Aug 2011 17:52:26 +0000 (17:52 +0000)]
[Cairo][Gtk] Get more of the philip suite of canvas tests passing
https://bugs.webkit.org/show_bug.cgi?id=54458

Patch by Zan Dobersek <zandobersek@gmail.com> on 2011-08-08
Reviewed by Martin Robinson.

Update the list of skipped canvas tests and describe why platform-specific
failures occur.

* platform/gtk/Skipped:

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

10 years agoMore Lion specific results.
andersca@apple.com [Mon, 8 Aug 2011 17:43:17 +0000 (17:43 +0000)]
More Lion specific results.

* platform/mac-lion/Skipped:
* platform/mac-snowleopard/editing: Added.
* platform/mac-snowleopard/editing/input: Added.
* platform/mac-snowleopard/editing/input/devanagari-ligature-expected.png: Copied from platform/mac/editing/input/devanagari-ligature-expected.png.
* platform/mac-snowleopard/editing/input/devanagari-ligature-expected.txt: Copied from platform/mac/editing/input/devanagari-ligature-expected.txt.
* platform/mac-snowleopard/fast/xsl: Added.
* platform/mac-snowleopard/fast/xsl/sort-locale-expected.txt: Added.
* platform/mac/editing/input/devanagari-ligature-expected.png:
* platform/mac/editing/input/devanagari-ligature-expected.txt:
* platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt:
* platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt:
* platform/mac/fast/xsl/sort-locale-expected.txt: Added.

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

10 years ago<rdar://problem/9652350> REGRESSION (r87755): WKView doesn't update when I drag files...
mitz@apple.com [Mon, 8 Aug 2011 17:28:47 +0000 (17:28 +0000)]
<rdar://problem/9652350> REGRESSION (r87755): WKView doesn't update when I drag files into a background Safari window
https://bugs.webkit.org/show_bug.cgi?id=65860

Reviewed by Simon Fraser.

When layer flush scheduling is re-enabled, schedule a layer flush, just in case one was requested while
scheduling was disabled. It doesn’t seem worthwhile to track whether that in fact happened, so do so
unconditionally.

* WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
(WebKit::LayerTreeHostCAMac::setLayerFlushSchedulingEnabled):
* WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
(WebKit::LayerTreeHostCAWin::setLayerFlushSchedulingEnabled):

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

10 years agoUnreviewed, fix more typo in test_expectations.txt.
jianli@chromium.org [Mon, 8 Aug 2011 17:20:58 +0000 (17:20 +0000)]
Unreviewed, fix more typo in test_expectations.txt.

* platform/chromium/test_expectations.txt:

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

10 years ago2011-08-08 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Mon, 8 Aug 2011 16:27:17 +0000 (16:27 +0000)]
2011-08-08  Pavel Podivilov  <podivilov@chromium.org>

        Web Inspector: unreviewed, build fix for r92598.

        * inspector/debugger/script-formatter.html:

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

10 years agoBuild fix.
mitz@apple.com [Mon, 8 Aug 2011 16:26:08 +0000 (16:26 +0000)]
Build fix.

* html/NumberInputType.cpp:
(WebCore::NumberInputType::sizeShouldIncludeDecoration): Fixed an obvious typo.

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

10 years ago[Qt] Clean up project file after r92492.
abecsi@webkit.org [Mon, 8 Aug 2011 16:13:07 +0000 (16:13 +0000)]
[Qt] Clean up project file after r92492.

Unreviewed gardening.

No new tests needed.

* WebCore.pro: remove nonexistent PluginHalterClient.h, PluginHalter.h, HaltablePlugin.h.

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

10 years agoWeb Inspector: refactor links creation.
podivilov@chromium.org [Mon, 8 Aug 2011 15:50:36 +0000 (15:50 +0000)]
Web Inspector: refactor links creation.
https://bugs.webkit.org/show_bug.cgi?id=65612

Reviewed by Pavel Feldman.

No new tests - it is refactoring, modified code covered by script-formatter.html test.

* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleMessage.prototype._formatMessage):
(WebInspector.ConsoleMessage.prototype._linkifyLocation):
(WebInspector.ConsoleMessage.prototype._linkifyCallFrame):
(WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel):
(WebInspector.DebuggerPresentationModel.prototype.addSourceMappingListener):
(WebInspector.DebuggerPresentationModel.prototype.removeSourceMappingListener):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor.didGetLocation):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation.updateAnchor):
(WebInspector.DebuggerPresentationModel.prototype.linkifyLocation):
(WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
(WebInspector.DebuggerPresentationModel.prototype._sourceFileForScript):
(WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
* inspector/front-end/EventListenersSidebarPane.js:
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
* inspector/front-end/Panel.js:
* inspector/front-end/ProfileDataGridTree.js:
(WebInspector.ProfileDataGridNode.prototype.createCell):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._folderAndDisplayNameForScriptURL):
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.linkifyUncopyable):
(WebInspector.StylePropertiesSection):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
(WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyLocation):
(WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyCallFrame):
(WebInspector.TimelinePanel.PopupContentHelper.prototype._appendLinkRow):
(WebInspector.TimelinePanel.PopupContentHelper.prototype._appendStackTrace):
* inspector/front-end/inspector.js:
(WebInspector._showSettingsScreen):
(WebInspector.formatLinkText):
(WebInspector.linkifyResourceAsNode):

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

10 years ago2011-08-08 Andrei Popescu <andreip@google.com>
andreip@google.com [Mon, 8 Aug 2011 15:34:50 +0000 (15:34 +0000)]
2011-08-08  Andrei Popescu  <andreip@google.com>

        svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
        https://bugs.webkit.org/show_bug.cgi?id=63186

        Unreviewed gardening.

        Fix typo in test_expectations.txt.

        * platform/chromium/test_expectations.txt:

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

10 years ago[Qt] Implement WebGL antialiasing (part 3)
commit-queue@webkit.org [Mon, 8 Aug 2011 15:29:46 +0000 (15:29 +0000)]
[Qt] Implement WebGL antialiasing (part 3)
https://bugs.webkit.org/show_bug.cgi?id=64879

Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-08-08
Reviewed by Noam Rosenthal.

Existing WebGL layout tests.

Adopt Extensions3DOpenGL for Qt desktop as a prerequisite
for implementing WebGL antialiasing.
Extensions3DQt is still used for ES2.

* WebCore.pri:
* WebCore.pro:
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::createVertexArrayOES):
(WebCore::Extensions3DOpenGL::deleteVertexArrayOES):
(WebCore::Extensions3DOpenGL::isVertexArrayOES):
(WebCore::Extensions3DOpenGL::bindVertexArrayOES):
* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::getExtensions):
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::layerComposited):

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

10 years ago2011-08-08 Andrei Popescu <andreip@google.com>
andreip@google.com [Mon, 8 Aug 2011 15:05:00 +0000 (15:05 +0000)]
2011-08-08  Andrei Popescu  <andreip@google.com>

        svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
        https://bugs.webkit.org/show_bug.cgi?id=63186

        Unreviewed gardening.

        Marks the tests as failing on Chromium.

        * platform/chromium/test_expectations.txt:

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

10 years agoBuild fix after r92589, defaultSize is not used.
benjamin.poulain@nokia.com [Mon, 8 Aug 2011 14:25:41 +0000 (14:25 +0000)]
Build fix after r92589, defaultSize is not used.

Reviewed by Andreas Kling.

* html/InputType.cpp:
(WebCore::InputType::sizeShouldIncludeDecoration):

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

10 years agoDFG JIT does not track speculation decisions for global variables
fpizlo@apple.com [Mon, 8 Aug 2011 12:50:59 +0000 (12:50 +0000)]
DFG JIT does not track speculation decisions for global variables
https://bugs.webkit.org/show_bug.cgi?id=65825

Reviewed by Gavin Barraclough.

Added the capability to track predictions for global variables, and
ensured that code can abstract over the source of prediction (local
versus global variable) wherever it is appropriate to do so.  Also
cleaned up the code in SpeculativeJIT that decides how to speculate
based on recorded predictions (for example instead of using isInteger,
which makes sense for local predictions where the GetLocal would
return an integer value, we now tend to use shouldSpeculateInteger,
which checks if the value is either already an integer or should be
speculated to be an integer).

This is an 0.8% win on SunSpider, almost entirely thanks to a 25%
win on controlflow-recursive.  It's also a 4.8% win on v8-crypto.

* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::predictArray):
(JSC::DFG::ByteCodeParser::predictInt32):
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::predictGlobalVar):
(JSC::DFG::Graph::predict):
(JSC::DFG::Graph::getGlobalVarPrediction):
(JSC::DFG::Graph::getPrediction):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::shouldSpeculateInteger):
(JSC::DFG::SpeculativeJIT::shouldSpeculateDouble):

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

10 years agoImplement <input type=color> UI behavior WebCore part
keishi@webkit.org [Mon, 8 Aug 2011 12:44:33 +0000 (12:44 +0000)]
Implement <input type=color> UI behavior WebCore part
https://bugs.webkit.org/show_bug.cgi?id=62619

Reviewed by Kent Tamura.

* WebCore.exp.in: Added __ZN7WebCore12ColorChooser7chooserEv and
__ZNK7WebCore12ColorChooser13colorSelectedERKNS_5ColorE
* WebCore.xcodeproj/project.pbxproj: Added ColorChooser.{h,cpp}
* html/ColorInputType.cpp:
(WebCore::ColorInputType::~ColorInputType): Added. Close color chooser. ex. when type attribute changes.
(WebCore::ColorInputType::valueAsColor): Added.
(WebCore::ColorInputType::setValueAsColor): Added.
(WebCore::ColorInputType::valueChanged): Update selected color in color chooser too.
(WebCore::ColorInputType::handleClickEvent): Opens color chooser.
(WebCore::ColorInputType::handleDOMActivateEvent): Called when element.click(). Open color chooser only
when it was initiated by a user interaction.
(WebCore::ColorInputType::detach): Close color chooser. Called when input element or its ancestors have "display:none"
or is removed from DOM.
(WebCore::ColorInputType::colorSelected): Callback from color chooser.
(WebCore::ColorInputType::isColorInputType): Returns true.
(WebCore::ColorInputType::closeColorChooserIfCurrentClient): Close color chooser if this input type is the current client of ColorChooser.
* html/ColorInputType.h:
* html/FileInputType.cpp:
* html/FileInputType.h:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::detach): Calls InputType::detach
* html/InputType.cpp:
(WebCore::InputType::chrome): Added. Used in FileInputType and ColorInputType.
(WebCore::InputType::detach): ColorInputType overrides this.
* html/InputType.h:
* loader/EmptyClients.h:
(WebCore::EmptyChromeClient::openColorChooser):
(WebCore::EmptyChromeClient::closeColorChooser):
(WebCore::EmptyChromeClient::setSelectedColorInColorChooser):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::transitionToCommitted): Close color chooser when navigating away from the page. We do this here
because ColorInputType::detach() is called seconds after the page transition so it is too slow.
* page/Chrome.cpp:
(WebCore::Chrome::openColorChooser): Added.
(WebCore::Chrome::closeColorChooser): Added.
(WebCore::Chrome::setSelectedColorInColorChooser): Added.
* page/Chrome.h:
* page/ChromeClient.h:
* platform/ColorChooser.cpp: Added.
(WebCore::ColorChooserClient::~ColorChooserClient): Disconnects itself from the ColorChooser.
(WebCore::ColorChooser::chooser): Get shared instance of ColorChooser.
(WebCore::ColorChooser::connectClient): Connects a ColorChooserClient that receives the colorSelected callbacks.
(WebCore::ColorChooser::disconnectClient): Disconnects the connectClient.
(WebCore::ColorChooser::colorSelected): Called from color chooser listener.
* platform/ColorChooser.h: Added.
(WebCore::ColorChooserClient::isColorInputType): Added.
(WebCore::ColorChooser::client): Added. Returns the current connected client.
(WebCore::ColorChooser::ColorChooser): Added.

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

10 years ago[Qt] fast/forms/input-number-size.html added in r92589 fails
abecsi@webkit.org [Mon, 8 Aug 2011 12:16:58 +0000 (12:16 +0000)]
[Qt] fast/forms/input-number-size.html added in r92589 fails
https://bugs.webkit.org/show_bug.cgi?id=65851

Unreviewed gardening.

* platform/qt/Skipped: Skip the test.

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

10 years agoAdjust test expectations.
jknotten@chromium.org [Mon, 8 Aug 2011 10:56:32 +0000 (10:56 +0000)]
Adjust test expectations.
https://bugs.webkit.org/show_bug.cgi?id=65847

Unreviewed.

* platform/chromium/test_expectations.txt:

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

10 years agoSource/WebCore: The input[type=number] element should be as wide as necessary to...
commit-queue@webkit.org [Mon, 8 Aug 2011 09:16:54 +0000 (09:16 +0000)]
Source/WebCore: The input[type=number] element should be as wide as necessary to show the widest possible value.
https://bugs.webkit.org/show_bug.cgi?id=60673

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-08-08
Reviewed by Kent Tamura.

The size of input[type=number] is calculated from min/max/step attributes to show the widest possible value.
If min or max attribute is absent, the default size is used.
Also, if its css width is not auto, the width is used with priority.

If min/max/attribute is set dynamically, the size of the input[type=number] will be recalculated.

Test: fast/forms/input-number-size.html

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseMappedAttribute):
   Added stepAttributeChanged handler.
(WebCore::HTMLInputElement::sizeShouldIncludeDecoration):
   Returns true if a renderer should include decoration (e.g. inner spinbox).
   Also returns the preferred size of the input.
* html/HTMLInputElement.h:
* html/InputType.cpp:
(WebCore::InputType::sizeShouldIncludeDecoration):
   Same as WebCore::HTMLInputElement::sizeShouldIncludeDecoration.
(WebCore::InputType::stepAttributeChanged):
   Will be called When step attribute is changed.
   Sets a flag to recalculate layout.
* html/InputType.h:
* html/NumberInputType.cpp:
(WebCore::lengthBeforeDecimalPoint):
   Calculates the width before the decimal point.
(WebCore::NumberInputType::sizeShouldIncludeDecoration):
   Same as WebCore::HTMLInputElement::sizeShouldIncludeDecoration.
   However, this will calculate the preferred size from min/max/step attribute.
(WebCore::NumberInputType::minOrMaxAttributeChanged):
   Sets a flag to recalculate layout.
(WebCore::NumberInputType::stepAttributeChanged): ditto.
* html/NumberInputType.h:
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::preferredContentWidth):
   Uses preferredSize instead of size.
   Also, adds innerSpinButtonElement size to width if sizeShouldIncludeDecoration returns true.

LayoutTests: Added the test to check the width of input[type=number].
https://bugs.webkit.org/show_bug.cgi?id=60673

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-08-08
Reviewed by Kent Tamura.

* fast/forms/input-number-size-expected.txt: Added.
* fast/forms/input-number-size.html: Added.

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

10 years agoShould not use C-style cast in CSSParser.cpp
bashi@chromium.org [Mon, 8 Aug 2011 08:42:14 +0000 (08:42 +0000)]
Should not use C-style cast in CSSParser.cpp
https://bugs.webkit.org/show_bug.cgi?id=65807

Remove C-style cast.

Reviewed by Kent Tamura.

No new tests because no behavior change.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseAnimationTimingFunction): Replaced a cast with clampToInteger().
(WebCore::CSSParser::parseFontFeatureTag): Ditto.
(WebCore::CSSParser::createKeyframeRule): Replaced a cast with C++-style cast.

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

10 years agoWeb Inspector: implement dock/undock in WebKit2 without getting into WebCore.
pfeldman@chromium.org [Mon, 8 Aug 2011 08:12:36 +0000 (08:12 +0000)]
Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
https://bugs.webkit.org/show_bug.cgi?id=65763

Source/WebCore:

InspectorFrontendClient.h can't have synchronous canAttachWindow() returning value
since in the multiprocess environment, you can't immediately get back to it from the host.

r92384 introduced an unhealthy WebKit -> WebCore -> WebKit canAttach query where embedder
was asking itself a question. This loop was fixed.

Reviewed by Yury Semikhatsky.

* WebCore.exp.in:
* inspector/InspectorController.cpp:
* inspector/InspectorController.h:
* inspector/InspectorFrontendClient.h:
* inspector/InspectorFrontendClientLocal.h:
* inspector/front-end/inspector.js:
(windowLoaded):

Source/WebKit/chromium:

Reviewed by Yury Semikhatsky.

* src/InspectorFrontendClientImpl.cpp:
* src/InspectorFrontendClientImpl.h:
* src/js/DevTools.js:
(devtools.domContentLoaded):

Source/WebKit2:

InspectorFrontendClient.h can't have synchronous canAttachWindow() returning value
since in the multiprocess environment, you can't immediately get back to it from the host.

r92384 introduced an unhealthy WebKit -> WebCore -> WebKit canAttach query where embedder
was asking itself a question. This loop was fixed.

Reviewed by Yury Semikhatsky.

* UIProcess/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::attach):
(WebKit::WebInspectorProxy::createInspectorPage):
(WebKit::WebInspectorProxy::didLoadInspectorPage):
(WebKit::WebInspectorProxy::shouldOpenAttached):
* UIProcess/WebInspectorProxy.h:
* UIProcess/WebInspectorProxy.messages.in:
* UIProcess/efl/WebInspectorEfl.cpp:
(WebKit::WebInspectorProxy::platformInspectedWindowHeight):
* UIProcess/gtk/WebInspectorGtk.cpp:
(WebKit::WebInspectorProxy::platformInspectedWindowHeight):
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformOpen):
(WebKit::WebInspectorProxy::platformInspectedWindowHeight):
* UIProcess/qt/WebInspectorProxyQt.cpp:
(WebKit::WebInspectorProxy::platformOpen):
(WebKit::WebInspectorProxy::platformInspectedWindowHeight):
* UIProcess/win/WebInspectorProxyWin.cpp:
(WebKit::WebInspectorProxy::platformOpen):
(WebKit::WebInspectorProxy::platformInspectedWindowHeight):
* WebProcess/WebPage/WebInspector.cpp:
(WebKit::WebInspector::didLoadInspectorPage):
* WebProcess/WebPage/WebInspector.h:
* WebProcess/WebPage/WebInspector.messages.in:

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

10 years ago[Qt] Skip divergent tests
zoltan@webkit.org [Mon, 8 Aug 2011 07:32:09 +0000 (07:32 +0000)]
[Qt] Skip divergent tests
https://bugs.webkit.org/show_bug.cgi?id=65831

* platform/qt/Skipped:

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

10 years ago[Chromium] Make form validation bubble fit with Chrome UI style
tkent@chromium.org [Mon, 8 Aug 2011 07:25:35 +0000 (07:25 +0000)]
[Chromium] Make form validation bubble fit with Chrome UI style
https://bugs.webkit.org/show_bug.cgi?id=65359

Reviewed by Hajime Morita.

Source/WebCore:

Change the appearance of validation message bubble for
Chromium. Basically it doesn't change for other ports.

- Introduce a new element to put an icon, and enclose it and the
message text by a flexible box.
- Repesent the message text by two elements. One for the heading,
another for the remaining.

- Introduce themeChromium.css

* WebCore.gyp/WebCore.gyp: Add themeChromium.css.
* css/html.css:
(::-webkit-validation-bubble-message): Make this a flexible box container.
(::-webkit-validation-bubble-text-block): Takes flexibility.
(::-webkit-validation-bubble-heading):
Make the content bold because we removed <b></b>.
* css/themeChromium.css: Added.
(::-webkit-validation-bubble):
(::-webkit-validation-bubble-message):
(::-webkit-validation-bubble-arrow):
(::-webkit-validation-bubble-arrow-clipper):
(::-webkit-validation-bubble-icon):
(::-webkit-validation-bubble-heading):
(::-webkit-validation-bubble-body):
* html/ValidationMessage.cpp:
(WebCore::ValidationMessage::setMessageDOMAndStartTimer):
Sets the text into m_messageHeading and m_messageBody, instead of m_bubbleMessage.
Use ASSERT_NO_EXCEPTION.
(WebCore::ValidationMessage::buildBubbleTree):
Build the new structure, and use ASSERT_NO_EXCEPTION.
(WebCore::ValidationMessage::deleteBubbleTree):
Clear m_messageHeading and m_messageBody.
* html/ValidationMessage.h:
* rendering/RenderThemeChromiumMac.h: Add extraDefaultStyleSheet().
* rendering/RenderThemeChromiumMac.mm:
(WebCore::RenderThemeChromiumMac::extraDefaultStyleSheet): Append themeChromium.css.
* rendering/RenderThemeChromiumSkia.cpp:
(WebCore::RenderThemeChromiumSkia::extraDefaultStyleSheet): Append themeChromium.css.

LayoutTests:

* fast/forms/validation-message-appearance.html:
  Need to wait for a litle because of image loading.
* platform/chromium-mac/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac/fast/forms/validation-message-appearance-expected.txt:
* platform/chromium/test_expectations.txt:
* platform/mac/fast/forms/validation-message-appearance-expected.png:
* platform/mac/fast/forms/validation-message-appearance-expected.txt:

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

10 years agoLayout Test fast/loader/ping-error.html is failing
hamaji@chromium.org [Mon, 8 Aug 2011 06:38:54 +0000 (06:38 +0000)]
Layout Test fast/loader/ping-error.html is failing
https://bugs.webkit.org/show_bug.cgi?id=65754

Unreviewed chromium test_expectations.txt update
No more failure as r92439 was rolled out by r92453

* platform/chromium/test_expectations.txt:

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

10 years agoSort WebCore.xcodeproj
keishi@webkit.org [Mon, 8 Aug 2011 06:02:57 +0000 (06:02 +0000)]
Sort WebCore.xcodeproj
Accomplished using sort-Xcode-project-file.

* WebCore.xcodeproj/project.pbxproj:

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

10 years agoUnreviewed test fix after r92578. I accidentally added the call to dumpAsText(true).
rniwa@webkit.org [Mon, 8 Aug 2011 04:06:17 +0000 (04:06 +0000)]
Unreviewed test fix after r92578. I accidentally added the call to dumpAsText(true).

* editing/pasteboard/nested-blocks-with-text-area.html:

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

10 years agoDump-as-markup conversion: paste-blockquote-into-blockquote.html and prevent-block...
rniwa@webkit.org [Mon, 8 Aug 2011 03:46:21 +0000 (03:46 +0000)]
Dump-as-markup conversion: paste-blockquote-into-blockquote.html and prevent-block-nesting-01.html
https://bugs.webkit.org/show_bug.cgi?id=65837

Reviewed by Kent Tamura.

Converted the tests to dump-as-markup tests to improve the readability of the expected results.

* editing/pasteboard/paste-blockquote-into-blockquote-expected.txt: Added.
* editing/pasteboard/paste-blockquote-into-blockquote.html:
* editing/pasteboard/prevent-block-nesting-01-expected.txt: Added.
* editing/pasteboard/prevent-block-nesting-01.html:
* platform/chromium-linux/editing/pasteboard/paste-blockquote-into-blockquote-expected.png: Removed.
* platform/chromium-linux/editing/pasteboard/prevent-block-nesting-01-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-blockquote-into-blockquote-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-blockquote-into-blockquote-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/prevent-block-nesting-01-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/prevent-block-nesting-01-expected.txt: Removed.
* platform/gtk/editing/pasteboard/paste-blockquote-into-blockquote-expected.txt: Removed.
* platform/gtk/editing/pasteboard/prevent-block-nesting-01-expected.png: Removed.
* platform/gtk/editing/pasteboard/prevent-block-nesting-01-expected.txt: Removed.
* platform/mac-leopard/editing/pasteboard/paste-blockquote-into-blockquote-expected.png: Removed.
* platform/mac-leopard/editing/pasteboard/prevent-block-nesting-01-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-expected.txt: Removed.
* platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.png: Removed.
* platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-blockquote-into-blockquote-expected.txt: Removed.
* platform/qt/editing/pasteboard/prevent-block-nesting-01-expected.txt: Removed.

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

10 years agoLayout Test fast/xsl/xslt-import-depth.xml is failing
commit-queue@webkit.org [Mon, 8 Aug 2011 03:31:42 +0000 (03:31 +0000)]
Layout Test fast/xsl/xslt-import-depth.xml is failing
https://bugs.webkit.org/show_bug.cgi?id=65758

Test is now green on chromium and webkit build bots.

Patch by Noel Gordon <noel.gordon@gmail.com> on 2011-08-07
Reviewed by Kent Tamura.

* platform/chromium/test_expectations.txt:

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

10 years agoDump-as-markup conversion: nested-blocks-with-text-area.html and nested-blocks-with...
rniwa@webkit.org [Mon, 8 Aug 2011 02:47:47 +0000 (02:47 +0000)]
Dump-as-markup conversion: nested-blocks-with-text-area.html and nested-blocks-with-text-field.html
https://bugs.webkit.org/show_bug.cgi?id=65836

Reviewed by Kent Tamura.

Converted the tests to dump-as-markup tests to improve the readability of the expected results.

* editing/pasteboard/nested-blocks-with-text-area-expected.txt: Added.
* editing/pasteboard/nested-blocks-with-text-area.html:
* editing/pasteboard/nested-blocks-with-text-field-expected.txt: Added.
* editing/pasteboard/nested-blocks-with-text-field.html:
* platform/chromium-linux/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/chromium-linux/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
* platform/gtk/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/gtk/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
* platform/gtk/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/gtk/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
* platform/mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
* platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
* platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
* platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
* platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
* platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
* platform/win/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.

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

10 years agoLayout Test fast/xsl/import-after-comment.xml is failing
commit-queue@webkit.org [Mon, 8 Aug 2011 02:28:06 +0000 (02:28 +0000)]
Layout Test fast/xsl/import-after-comment.xml is failing
https://bugs.webkit.org/show_bug.cgi?id=65757

This test and the others mentioned in the bug are now green on chromium
and webkit build bots.

Patch by Noel Gordon <noel.gordon@gmail.com> on 2011-08-07
Reviewed by Kent Tamura.

* platform/chromium/test_expectations.txt:

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

10 years agoMake the fullscreen JS API enabled at runtime.
koz@chromium.org [Mon, 8 Aug 2011 02:06:58 +0000 (02:06 +0000)]
Make the fullscreen JS API enabled at runtime.
https://bugs.webkit.org/show_bug.cgi?id=65501

Reviewed by Adam Barth.

Source/WebCore:

* bindings/generic/RuntimeEnabledFeatures.cpp:
* bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::webkitFullScreenAPIEnabled):
(WebCore::RuntimeEnabledFeatures::setWebkitFullScreenAPIEnabled):
(WebCore::RuntimeEnabledFeatures::webkitRequestFullScreenEnabled):
(WebCore::RuntimeEnabledFeatures::webkitIsFullScreenEnabled):
(WebCore::RuntimeEnabledFeatures::webkitFullScreenKeyboardInputAllowedEnabled):
(WebCore::RuntimeEnabledFeatures::webkitCurrentFullScreenElementEnabled):
(WebCore::RuntimeEnabledFeatures::webkitCancelFullScreenEnabled):
* dom/Document.idl:
* dom/Element.idl:

Source/WebKit/chromium:

* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableFullScreenAPI):
(WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):

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

10 years ago[Qt] svg/zoom/page/zoom-svg-through-* results diverging between bots
kbalazs@webkit.org [Sun, 7 Aug 2011 22:16:27 +0000 (22:16 +0000)]
[Qt] svg/zoom/page/zoom-svg-through-* results diverging between bots
https://bugs.webkit.org/show_bug.cgi?id=65831

Unreviewed Qt gardening.

* platform/qt/Skipped:

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

10 years ago[QT] Possible Leaks WKRetainPtr<> should Adopt allocated Copy
joepeck@webkit.org [Sun, 7 Aug 2011 19:42:21 +0000 (19:42 +0000)]
[QT] Possible Leaks WKRetainPtr<> should Adopt allocated Copy
https://bugs.webkit.org/show_bug.cgi?id=65790

Reviewed by Sam Weinig.

Fix a leak by adopting an allocation instead of retaining it.

* UIProcess/qt/qwkhistory.cpp:
(QWKHistoryItem::title):
(QWKHistoryItem::url):

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

10 years agoDistribution fix for GTK+.
mrobinson@webkit.org [Sun, 7 Aug 2011 13:47:56 +0000 (13:47 +0000)]
Distribution fix for GTK+.

Source/JavaScriptCore:

* GNUmakefile.list.am: Strip removed files from the source list.

Source/WebCore:

* GNUmakefile.am: Add some files to the distribution list.
* GNUmakefile.list.am: Strip removed files from the source list.

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

10 years agoMove FrameLoadRequest to loader/
jochen@chromium.org [Sun, 7 Aug 2011 11:29:13 +0000 (11:29 +0000)]
Move FrameLoadRequest to loader/
https://bugs.webkit.org/show_bug.cgi?id=65817

Reviewed by Alexey Proskuryakov.

* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* loader/FrameLoadRequest.h:
(WebCore::FrameLoadRequest::FrameLoadRequest):
(WebCore::FrameLoadRequest::isEmpty):
(WebCore::FrameLoadRequest::requester):
(WebCore::FrameLoadRequest::resourceRequest):
(WebCore::FrameLoadRequest::frameName):
(WebCore::FrameLoadRequest::setFrameName):

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

10 years agoSource/WebCore: Add the ability to search the AccessibilityObject cache
commit-queue@webkit.org [Sun, 7 Aug 2011 09:48:04 +0000 (09:48 +0000)]
Source/WebCore: Add the ability to search the AccessibilityObject cache
https://bugs.webkit.org/show_bug.cgi?id=64994

New AccessibilityObject cache search functionality and API for the mac
platform to expose it. At this point the AccessibilityObject cache can
be searched using one of the supported search keys that have been defined
in AccessibilityObject.h, or by passing search text.

Patch by Sam White <samuel.white@rochester.edu> on 2011-08-07
Reviewed by Chris Fleizach.

Test: platform/mac/accessibility/search-predicate.html

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
(WebCore::AccessibilityObject::isAccessibilityTextSearchMatch):
(WebCore::AccessibilityObject::accessibilityObjectContainsText):
(WebCore::AccessibilityObject::accessibleObjectsWithAccessibilitySearchPredicate):
* accessibility/AccessibilityObject.h:
* accessibility/mac/AccessibilityObjectWrapper.mm:
(createAccessibilitySearchKeyMap):
(accessibilitySearchKeyForString):
(-[AccessibilityObjectWrapper accessibilityParameterizedAttributeNames]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):

Tools: Add the ability to search the AccessibilityObject cache
https://bugs.webkit.org/show_bug.cgi?id=64994

Added testing support for AccessibilityObject cache searching. Currently,
only the mac platform is full supported and has had API exposed. Other
platforms have only have this new functionality stubbed. Full implementation
is a job suited only for an accessibility expert of each respective platform.

Patch by Sam White <samuel.white@rochester.edu> on 2011-08-07
Reviewed by Chris Fleizach.

* DumpRenderTree/AccessibilityUIElement.cpp:
(uiElementForSearchPredicateCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
(AccessibilityUIElement::uiElementForSearchPredicate):
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::uiElementForSearchPredicate):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::uiElementForSearchPredicate):

LayoutTests: Add the ability to search the AccessibilityObject cache
https://bugs.webkit.org/show_bug.cgi?id=64994

Tests for the new AccessibilityObject cache search API and the additional
functionality in the AccessibilityObject class that makes AccessibilityObject
cache searching possible.

Additional tests for finding frames, misspellings, and visited links will be
included in a subsequent patch.

Patch by Sam White <samuel.white@rochester.edu> on 2011-08-07
Reviewed by Chris Fleizach.

* platform/mac/accessibility/bounds-for-range-expected.txt:
* platform/mac/accessibility/search-predicate-expected.txt: Added.
* platform/mac/accessibility/search-predicate.html: Added.

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

10 years agoRebaseline a test on GTK+ for which r92554 checked in an
mrobinson@webkit.org [Sun, 7 Aug 2011 08:01:35 +0000 (08:01 +0000)]
Rebaseline a test on GTK+ for which r92554 checked in an
incorrect result.

* platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.png: Update results.
* platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Ditto.

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=65821
barraclough@apple.com [Sun, 7 Aug 2011 03:44:45 +0000 (03:44 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=65821
Don't form identifiers the first time a string is used as a property name.

Reviewed by Oliver Hunt.

This is a 1% win on SunSpider.

* dfg/DFGOperations.cpp:
    - Use fastGetOwnProperty.
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
    - Use fastGetOwnProperty.
* runtime/JSCell.h:
* runtime/JSObject.h:
(JSC::JSCell::fastGetOwnProperty):
    - Fast call to get a property without creating an identifier the first time.
* runtime/PropertyMapHashTable.h:
(JSC::PropertyTable::find):
(JSC::PropertyTable::findWithString):
    - Add interface to look up by either strinsg or identifiers.
* runtime/Structure.h:
(JSC::Structure::get):
    - Add a get() call that takes a UString, not an Identifier.
* wtf/text/StringImpl.h:
(WTF::StringImpl::hasHash):
    - Add a call to check if the has has been set (to detect the first use as a property name).

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

10 years agoFix a memory leak found via code inspection.
mrowe@apple.com [Sun, 7 Aug 2011 01:09:23 +0000 (01:09 +0000)]
Fix a memory leak found via code inspection.

Rubber-stamped by Dan Bernstein.

* WebProcess/Downloads/mac/DownloadMac.mm:
(WebKit::setOriginalURLForDownload): Adopt the newly-allocated NSURL instance
so that it does not leak.

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

10 years agoFix a memory leak found via code inspection.
mrowe@apple.com [Sun, 7 Aug 2011 01:09:06 +0000 (01:09 +0000)]
Fix a memory leak found via code inspection.

Rubber-stamped by Dan Bernstein.

* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::writeSelection): Adopt the newly-allocated WebHTMLConverter
instance so that it does not leak.

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

10 years agoUnreviewed gardening.
kbalazs@webkit.org [Sat, 6 Aug 2011 23:35:18 +0000 (23:35 +0000)]
Unreviewed gardening.
Fix environmental differencies in the results added in r92564.
I was in the wrong chroot.

* platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:

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

10 years agoAdd Siddharth Mathur to committer list. Unreviewed
siddharth.mathur@nokia.com [Sat, 6 Aug 2011 22:36:40 +0000 (22:36 +0000)]
Add Siddharth Mathur to committer list. Unreviewed

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

10 years agoUnreviewed gardening.
kbalazs@webkit.org [Sat, 6 Aug 2011 22:29:43 +0000 (22:29 +0000)]
Unreviewed gardening.
Add missing Qt results.

* platform/qt/Skipped:
* platform/qt/fast/writing-mode/border-styles-vertical-lr-expected.png: Added.
* platform/qt/fast/writing-mode/border-styles-vertical-lr-expected.txt: Added.
* platform/qt/fast/writing-mode/border-styles-vertical-rl-expected.png: Added.
* platform/qt/fast/writing-mode/border-styles-vertical-rl-expected.txt: Added.
* platform/qt/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png: Added.
* platform/qt/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt: Added.
* platform/qt/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png: Added.
* platform/qt/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt: Added.
* platform/qt/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.png: Added.
* platform/qt/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.txt: Added.
* platform/qt/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png: Added.
* platform/qt/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt: Added.
* platform/qt/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png: Added.
* platform/qt/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Added.

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

10 years agoRemove dead code in webkitpy
abarth@webkit.org [Sat, 6 Aug 2011 22:19:39 +0000 (22:19 +0000)]
Remove dead code in webkitpy
https://bugs.webkit.org/show_bug.cgi?id=65818

Reviewed by Dimitri Glazkov.

This code was added to support the rebaseline2 command six months ago,
but the rebaseline2 command was never finished and no one else has used
this code since it was landed.  This patch removes the dead code.  If
we revive rebaseline2, then we can revert this patch and recover the
code.  Until then, this code is just dead weight.

* Scripts/webkitpy/common/net/buildbot/buildbot.py:
* Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
* Scripts/webkitpy/common/net/testoutput.py: Removed.
* Scripts/webkitpy/common/net/testoutput_unittest.py: Removed.
* Scripts/webkitpy/common/net/testoutputset.py: Removed.
* Scripts/webkitpy/common/net/testoutputset_unittest.py: Removed.
* Scripts/webkitpy/common/system/directoryfileset.py: Removed.
* Scripts/webkitpy/common/system/directoryfileset_unittest.py: Removed.
* Scripts/webkitpy/layout_tests/port/base.py:
* Scripts/webkitpy/layout_tests/port/chromium.py:
* Scripts/webkitpy/layout_tests/port/webkit.py:

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

10 years agowebkit-patch optimize-baselines can't handle promotions to base results directory
abarth@webkit.org [Sat, 6 Aug 2011 22:17:24 +0000 (22:17 +0000)]
webkit-patch optimize-baselines can't handle promotions to base results directory
https://bugs.webkit.org/show_bug.cgi?id=65819

Reviewed by Dimitri Glazkov.

This bug came up when testing the optimizer on some editing baselines.

* Scripts/webkitpy/common/checkout/baselineoptimizer.py:
* Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py:

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

10 years agoFix baselines for cross-origin-xsl-BLOCKED.html. These results
abarth@webkit.org [Sat, 6 Aug 2011 22:04:24 +0000 (22:04 +0000)]
Fix baselines for cross-origin-xsl-BLOCKED.html.  These results
uncovered a subtle bug in webkit-patch bulk-optimize-baselines, which
I'll fix in a follow-up patch.

* platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Added.
* platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Added.

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

10 years agoOptimize expected results for editing.
abarth@webkit.org [Sat, 6 Aug 2011 21:24:25 +0000 (21:24 +0000)]
Optimize expected results for editing.
This patch was created with webkit-patch bulk-optimize-baselines.

* platform/chromium-mac/editing/pasteboard/copy-paste-float-expected.txt: Removed.
* platform/chromium-mac/editing/pasteboard/paste-blockquote-before-blockquote-expected.txt: Removed.
* platform/chromium-mac/editing/pasteboard/paste-double-nested-blockquote-before-blockquote-expected.txt: Removed.
* platform/chromium-win-xp/editing/pasteboard/block-wrappers-necessary-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/copy-paste-float-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/paste-blockquote-before-blockquote-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/paste-double-nested-blockquote-before-blockquote-expected.txt: Removed.
* platform/chromium/editing/pasteboard/5761530-1-expected.txt: Removed.
* platform/chromium/editing/pasteboard/copy-paste-float-expected.txt: Added.
* platform/chromium/editing/pasteboard/paste-blockquote-before-blockquote-expected.txt: Added.
* platform/chromium/editing/pasteboard/paste-double-nested-blockquote-before-blockquote-expected.txt: Added.

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

10 years agoOptimize expected results for animations.
abarth@webkit.org [Sat, 6 Aug 2011 21:11:50 +0000 (21:11 +0000)]
Optimize expected results for animations.
This patch was created with webkit-patch bulk-optimize-baselines.

* platform/chromium-mac/animations/keyframes-rule-expected.txt: Removed.
* platform/chromium-mac/animations/opacity-transform-animation-expected.png: Added.
* platform/chromium-win/animations/keyframes-rule-expected.txt: Removed.
* platform/chromium/animations/keyframes-rule-expected.txt: Added.
* platform/chromium/animations/opacity-transform-animation-expected.png: Removed.

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

10 years agoAdd a small command to optimize baselines in bulk.
abarth@webkit.org [Sat, 6 Aug 2011 21:07:42 +0000 (21:07 +0000)]
Add a small command to optimize baselines in bulk.

* Scripts/webkitpy/tool/commands/rebaseline.py:

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

10 years agoOptimize expected results for http/tests/security.
abarth@webkit.org [Sat, 6 Aug 2011 20:48:19 +0000 (20:48 +0000)]
Optimize expected results for http/tests/security.
This patch was created with webkit-patch optimize-baselines.

* platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-enumeration-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-get-override-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-history-get-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-history-get-override-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-history-put-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-location-get-override-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-frame-access-location-put-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/listener/xss-window-onclick-shortcut-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/xss-DENIED-frame-name-expected.txt: Removed.
* platform/chromium-mac/http/tests/security/xss-eval-expected.txt: Removed.
* platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt: Removed.
* platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-enumeration-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-get-override-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-history-get-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-history-get-override-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-history-put-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-location-get-override-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-frame-access-location-put-expected.txt: Removed.
* platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Removed.
* platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt: Removed.
* platform/chromium-win/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt: Removed.
* platform/chromium-win/http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt: Removed.
* platform/chromium-win/http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt: Removed.
* platform/chromium-win/http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt: Removed.
* platform/chromium-win/http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt: Removed.
* platform/chromium-win/http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt: Removed.
* platform/chromium-win/http/tests/security/listener/xss-window-onclick-shortcut-expected.txt: Removed.
* platform/chromium-win/http/tests/security/xss-DENIED-frame-name-expected.txt: Removed.
* platform/chromium-win/http/tests/security/xss-eval-expected.txt: Removed.
* platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt: Added.
* platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-enumeration-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-get-override-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-history-get-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-history-get-override-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-history-put-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-location-get-override-expected.txt: Added.
* platform/chromium/http/tests/security/cross-frame-access-location-put-expected.txt: Added.
* platform/chromium/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Removed.
* platform/chromium/http/tests/security/dataURL: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt: Added.
* platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt: Added.
* platform/chromium/http/tests/security/frameNavigation: Added.
* platform/chromium/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt: Added.
* platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt: Added.
* platform/chromium/http/tests/security/listener: Added.
* platform/chromium/http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt: Added.
* platform/chromium/http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt: Added.
* platform/chromium/http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt: Added.
* platform/chromium/http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt: Added.
* platform/chromium/http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt: Added.
* platform/chromium/http/tests/security/listener/xss-window-onclick-shortcut-expected.txt: Added.
* platform/chromium/http/tests/security/xss-DENIED-frame-name-expected.txt: Added.
* platform/chromium/http/tests/security/xss-eval-expected.txt: Added.

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

10 years agoFix Timer heap implementation to work with more libraries (other versions of STL)
darin@apple.com [Sat, 6 Aug 2011 20:17:26 +0000 (20:17 +0000)]
Fix Timer heap implementation to work with more libraries (other versions of STL)
https://bugs.webkit.org/show_bug.cgi?id=65782

Reviewed by Anders Carlsson.

No behavior change, so no tests needed. Existing tests pass.

* platform/Timer.cpp: Added TimerHeapPointer and TimerHeapReference class
alongside the TimerHeapIterator class. Also added a swap function. Also
added a TimerHeapLessThanFunction class.
(WebCore::TimerBase::heapDecreaseKey): Pass pointers in to the TimerHeapIterator
since that's how the class works now. Pass a TimerHeapLessThanFunction object
instead of letting the library use the < operator directly.
(WebCore::TimerBase::heapPopMin): Ditto.

* platform/Timer.h: Updated for above changes.

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

10 years agoPatch by Aron Rosenberg <arosenberg@logitech.com> on 2011-08-06
commit-queue@webkit.org [Sat, 6 Aug 2011 19:52:39 +0000 (19:52 +0000)]
Patch by Aron Rosenberg <arosenberg@logitech.com> on 2011-08-06
Reviewed by Benjamin Poulain.

[Qt] Fix build with Intel compiler on Windows
https://bugs.webkit.org/show_bug.cgi?id=65088

.:

Disable Intel Compiler warning 873 - function "" has no corresponding operator
delete (to be called if an exception is thrown during initialization of an
allocated object).

* Source/WebKit.pri:

Source/JavaScriptCore:

Intel compiler needs .lib suffixes instead of .a
Intel compiler doesn't support nullptr
Intel compiler supports unsized arrays

* JavaScriptCore.pri:
* jsc.cpp:
* wtf/ByteArray.h:
* wtf/NullPtr.h:

Source/WebCore:

Intel compiler needs .lib suffixes instead of .a

* WebCore.pri:

Source/WebKit2:

Intel compiler needs .lib suffixes instead of .a

* WebKit2.pri:

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

10 years ago2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 6 Aug 2011 17:09:29 +0000 (17:09 +0000)]
2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
        https://bugs.webkit.org/show_bug.cgi?id=63186

        Rebaseline some tests on Leopard/gtk/qt in order to get the bots greener.

        Not reviewed.

        * platform/gtk/Skipped:
        * platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt:
        * platform/mac-leopard/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Removed.
        * platform/qt/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt:
        * platform/qt/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
        * platform/win/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Removed.

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

10 years agoMove the shared LineBreakIteratorPool from ThreadGlobalData into its own ThreadSpecific
mitz@apple.com [Sat, 6 Aug 2011 17:00:48 +0000 (17:00 +0000)]
Move the shared LineBreakIteratorPool from ThreadGlobalData into its own ThreadSpecific
https://bugs.webkit.org/show_bug.cgi?id=65809

Reviewed by Darin Adler and Sam Weinig.

* platform/ThreadGlobalData.cpp:
(WebCore::ThreadGlobalData::destroy): Removed code to clear the m_lineBreakIteratorPool member
variable, which was removed.
* platform/ThreadGlobalData.h: Removed lineBreakIteratorPool() and associated member variable.
* platform/text/LineBreakIteratorPoolICU.h:
(WebCore::LineBreakIteratorPool::sharedPool): Changed to return a thread-specific pool.

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

10 years agoPotential Leaks - RetainPtr<> over retaining Create'd objects
joepeck@webkit.org [Sat, 6 Aug 2011 16:17:14 +0000 (16:17 +0000)]
Potential Leaks - RetainPtr<> over retaining Create'd objects
https://bugs.webkit.org/show_bug.cgi?id=65806

Reviewed by Darin Adler.

Fix a possible leak by adopting an allocation instead of retaining it.

Source/WebCore:

* platform/network/mac/NetworkStateNotifierMac.cpp:
(WebCore::NetworkStateNotifier::NetworkStateNotifier):
* plugins/mac/PluginPackageMac.cpp:
(WebCore::stringListFromResourceId):
(WebCore::PluginPackage::fetchInfo):

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView previousValidKeyView]):

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

10 years agoREGRESSION (r91540): Favicons are not loaded
commit-queue@webkit.org [Sat, 6 Aug 2011 15:57:09 +0000 (15:57 +0000)]
REGRESSION (r91540): Favicons are not loaded
https://bugs.webkit.org/show_bug.cgi?id=65692

Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2011-08-06
Reviewed by Darin Adler.

The policy that evaluates whether a page can have icon or not should not
need to be reimplemented each time a new IconDatabaseBase is derived,
so it was moved to WebCore's scope.

* loader/icon/IconController.cpp:
(WebCore::IconController::startLoader):
* loader/icon/IconDatabase.cpp:
* loader/icon/IconDatabase.h:
* loader/icon/IconDatabaseBase.cpp:
(WebCore::documentCanHaveIcon):
* loader/icon/IconDatabaseBase.h:

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

10 years ago2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 6 Aug 2011 15:23:59 +0000 (15:23 +0000)]
2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
        https://bugs.webkit.org/show_bug.cgi?id=63186

        It turns out r92545 only partly resolved flakiness on non-mac platforms (especially gtk)
        - try reentering event loop after zooming, by calling notifyDone() using a 0ms timeout.

        Rubber-stamped by Antti Koivisto.

        * svg/zoom/resources/testPageZoom.js:
        (.setTimeout.): Reenter event loop after calling zoomPageIn/Out, before calling layoutTestController.notifyDone().

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

10 years agoShould use C++-style cast in CSSParser.cpp
bashi@chromium.org [Sat, 6 Aug 2011 10:02:38 +0000 (10:02 +0000)]
Should use C++-style cast in CSSParser.cpp
https://bugs.webkit.org/show_bug.cgi?id=65807

Replaces C-style cast with C++style cast.

Reviewed by Shinichiro Hamaji.

No new tests because no behavior change.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseAnimationTimingFunction):
(WebCore::CSSParser::parseFont):
(WebCore::CSSParser::parseColorFromValue):
(WebCore::CSSParser::parseFontFeatureTag):

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

10 years ago2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 6 Aug 2011 09:40:43 +0000 (09:40 +0000)]
2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        More gardening: Fix mac-leopard/mac-wk2 failing SVG tests.

        Not reviewed.

        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt:
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:
        * platform/mac-leopard/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
        * platform/mac-wk2/svg/W3C-SVG-1.1: Added.
        * platform/mac-wk2/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt: Added.
        * platform/mac-wk2/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Added.
        * platform/mac-wk2/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
        * platform/mac-wk2/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added.

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

10 years ago2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 6 Aug 2011 09:27:19 +0000 (09:27 +0000)]
2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        Win gardening: Rebaseline four svg tests that only needed an update, win7/winxp svg results are clean again.

        Not reviewed.

        * platform/win/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt: Added.
        * platform/win/svg/W3C-SVG-1.1-SE/text-intro-02-b-expected.txt:
        * platform/win/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:
        * platform/win/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt:
        * platform/win/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Added.

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

10 years ago2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 6 Aug 2011 09:19:44 +0000 (09:19 +0000)]
2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        Follow-up for r92545.

        Rebaseline some tests on gtk/qt and win.

        * platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
        * platform/gtk/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt:
        * platform/qt/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
        * platform/win/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
        * platform/win/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
        * platform/win/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Removed.

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

10 years ago2011-08-06 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Sat, 6 Aug 2011 08:25:44 +0000 (08:25 +0000)]
2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        REGRESSION(87526): ASSERT(!needsLayout()) followed by graphical glitches on google charts (svg loaded in iframe)
        https://bugs.webkit.org/show_bug.cgi?id=64974

        svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
        https://bugs.webkit.org/show_bug.cgi?id=63186

        Reviewed by Zoltan Herczeg.

        Rollout r89484, which disabled some svg/zoom/page tests, to see whether the flakiness is gone now.
        Add several new tests in svg/as-object - covering bug 64974.

        * platform/mac/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png: Added.
        * platform/mac/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt: Added.
        * platform/mac/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png: Added.
        * platform/mac/svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt: Added.
        * platform/mac/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
        * platform/mac/svg/as-object/embedded-svg-size-changes-expected.png: Added.
        * platform/mac/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.png: Added.
        * platform/mac/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.txt: Added.
        * platform/mac/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
        * platform/mac/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.png: Added.
        * platform/mac/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1-expected.txt: Added.
        * platform/mac/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.png: Added.
        * platform/mac/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2-expected.txt: Added.
        * svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1.html: Added.
        * svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2.html: Added.
        * svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.txt: Added.
        * svg/as-object/embedded-svg-immediate-offsetWidth-query.html: Added.
        * svg/as-object/embedded-svg-size-changes-expected.txt: Added.
        * svg/as-object/embedded-svg-size-changes-no-layout-triggers.html: Added.
        * svg/as-object/embedded-svg-size-changes.html: Added.
        * svg/as-object/nested-embedded-svg-size-changes-expected.txt: Added.
        * svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1.html: Added.
        * svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2.html: Added.
        * svg/as-object/nested-embedded-svg-size-changes.html: Added.
        * svg/as-object/resources: Added.
        * svg/as-object/resources/embedded-svg-size-changes-no-layout-triggers.svg: Added.
        * svg/as-object/resources/embedded-svg-size-changes.svg: Added.
        * svg/as-object/resources/nested-embedded-svg-size-changes-target-no-layout-triggers-1.html: Added.
        * svg/as-object/resources/nested-embedded-svg-size-changes-target-no-layout-triggers-2.html: Added.
        * svg/as-object/resources/nested-embedded-svg-size-changes-target.html: Added.
        * svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml: Copied from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml-disabled.
        * svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml-disabled: Removed.
        * svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml: Copied from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml-disabled.
        * svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml-disabled: Removed.
        * svg/zoom/page/zoom-svg-through-object-with-auto-size.html: Copied from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-auto-size.html-disabled.
        * svg/zoom/page/zoom-svg-through-object-with-auto-size.html-disabled: Removed.
        * svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml: Copied from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml-disabled.
        * svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml-disabled: Removed.
        * svg/zoom/page/zoom-svg-through-object-with-override-size.html: Copied from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-override-size.html-disabled.
        * svg/zoom/page/zoom-svg-through-object-with-override-size.html-disabled: Removed.
        * svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml: Copied from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml-disabled.
        * svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml-disabled: Removed.

2011-08-06  Nikolas Zimmermann  <nzimmermann@rim.com>

        REGRESSION(87526): ASSERT(!needsLayout()) followed by graphical glitches on google charts (svg loaded in iframe)
        https://bugs.webkit.org/show_bug.cgi?id=64974

        svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
        https://bugs.webkit.org/show_bug.cgi?id=63186

        Reviewed by Zoltan Herczeg.

        Fix host <-> embedded document size negotiation race. The currently implemented solution relied on a specific
        order of paint/layout calls, which is broken. Consider rendering a document containing an object/iframe/embed
        referencing an external SVG file. When FrameView::layout() is called (associated with the outermost RenderView
        of the host document), it lays out the whole document, and afterwards performPostLayoutTasks() is called.
        This method then asks the Frames contentRenderer to update its widget positions. This triggers a call
        of the embedded documents FrameView::layout() method, which now lays out the embedded SVG documents tree
        through RenderSVGRoot::layout.

        And here's the bug: The size of the object/iframe replaced element, which hosts the embedded document
        may depend on the intrinsic size of the SVG. We tried to mark the embedded documents _ownerRenderer_ (the RenderPart)
        as "needs layout and pref width recalc" right from RenderSVGRoot::layout() and hoped that this would cause the whole
        document to be laid out again, now that the size of the embedded SVG document is known.

        As soon as the SVG document is laid out, the host document will be painted (flush deferred repaints) and an assertion
        ASSERTS(!needsLayout()) will be fired, as we modified the setNeedsLayout() state after the host document layout finished,
        right before painting.

        A proper fix is to only keep track in RenderSVGRoot whether it needs to negotiate the size with the host document, but
        not modify the layout state of the host document in any way. Let FrameView handle the size negotiation right in
        FrameView::layout().

        Consider following document:
        <body><iframe src="some.svg"></body>

        After initial loading & parsing of the document, a FrameView exists for the main frame, and a sub-FrameView
        for the <iframe>. The external SVG document, may not be loaded yet at this point. That means when RenderIFrame::layout()
        tries to figure out its size (computeLogicalWidth/Height) - the RenderSVGRoot renderer of the external document hasn't
        been created yet (as the external document hasn't received data yet) - so it falls back to eg. 300x150 CSS default size
        (in the simplest case, where width/height are both auto).

        Suppose the external document now finished loading, the RenderSVGRoot is created and a global relayout is triggered
        starting from the main FrameView. As we already laid out the document once, needsLayout() is false for the main FrameView,
        so _only_ the child frame view that contains the RenderSVGRoot is now laid out, for the first time.

        After layout is done, the SVG document is fully laid out, though the RenderPart which embedded the SVG does NOT notice
        the SVG has been laid out, so it still carries the default 300x150 size (and needsLayout=false!).

        The fix is to retrigger layout of the parent frame view by marking the owner renderer of the frame view as "needs layout
        and pref widths recalc" and immediatiely performing a synchronous update of the layout. It's important to do it sync,
        as scripts depend on the result of the size negotiation (covered extensively with the new tests in svg/as-object).

        Reenable svg/zoom/page/zoom-svg-through-object* tests to see whether the flakiness is gone.

        Tests: svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-1.html
               svg/as-object/deep-nested-embedded-svg-size-changes-no-layout-triggers-2.html
               svg/as-object/embedded-svg-immediate-offsetWidth-query.html
               svg/as-object/embedded-svg-size-changes-no-layout-triggers.html
               svg/as-object/embedded-svg-size-changes.html
               svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1.html
               svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-2.html
               svg/as-object/nested-embedded-svg-size-changes.html
               svg/zoom/page/zoom-svg-through-object-with-absolute-size-2.xhtml
               svg/zoom/page/zoom-svg-through-object-with-absolute-size.xhtml
               svg/zoom/page/zoom-svg-through-object-with-auto-size.html
               svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml
               svg/zoom/page/zoom-svg-through-object-with-override-size.html
               svg/zoom/page/zoom-svg-through-object-with-percentage-size.xhtml

        * page/FrameView.cpp:
        (WebCore::FrameView::layout): Call forceLayoutParentViewIfNeeded() after layout finished.
        (WebCore::FrameView::forceLayoutParentViewIfNeeded): Added helper method.
        (WebCore::FrameView::embeddedContentBox): Moved from RenderPart to a more central place.
        * page/FrameView.h:
        * rendering/RenderPart.cpp:
        (WebCore::RenderPart::embeddedContentBox): Moved to FrameView.
        * rendering/svg/RenderSVGRoot.cpp: Rename m_didNegotiateSize to m_needsSizeNegotiationWithHostDocument.
        (WebCore::RenderSVGRoot::RenderSVGRoot):
        (WebCore::RenderSVGRoot::layout): Only figure out if we need neggotiation, don't actually do anything, let FrameView handle this.
        * rendering/svg/RenderSVGRoot.h: Remove incorrect negotiateSizeWithHostDocumentIfNeeded() logic.
        (WebCore::RenderSVGRoot::needsSizeNegotiationWithHostDocument): Added getter for m_needsSizeNegotiationWithHostDocument.
        (WebCore::RenderSVGRoot::scheduledSizeNegotiationWithHostDocument): Added safe way to clear m_needsSizeNegotiationWithHostDocument (asserts if it was false before).

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

10 years ago[Chromium] Remove HaltablePlugin references from gyp project files
commit-queue@webkit.org [Sat, 6 Aug 2011 04:14:02 +0000 (04:14 +0000)]
[Chromium] Remove HaltablePlugin references from gyp project files
https://bugs.webkit.org/show_bug.cgi?id=65808

HaltablePlugin and related classes were removed in r92492.  Remove any
reference to the deleted files from the gyp project files.

Patch by Noel Gordon <noel.gordon@gmail.com> on 2011-08-05
Reviewed by Adam Barth.

* WebCore.gypi: remove HaltablePlugin.h reference.

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

10 years agoRenamed fast/blockflow to fast/writing-mode.
mitz@apple.com [Sat, 6 Aug 2011 03:49:48 +0000 (03:49 +0000)]
Renamed fast/blockflow to fast/writing-mode.

Rubber-stamped by Sam Weinig.

* fast/blockflow: Removed.
* fast/writing-mode: Copied from fast/blockflow.
* platform/chromium-linux/fast/blockflow: Removed.
* platform/chromium-linux/fast/writing-mode: Copied from platform/chromium-linux/fast/blockflow.
* platform/chromium-mac-leopard/fast/blockflow: Removed.
* platform/chromium-mac-leopard/fast/writing-mode: Copied from platform/chromium-mac-leopard/fast/blockflow.
* platform/chromium-mac/fast/blockflow: Removed.
* platform/chromium-mac/fast/writing-mode: Copied from platform/chromium-mac/fast/blockflow.
* platform/chromium-win-vista/fast/blockflow: Removed.
* platform/chromium-win-vista/fast/writing-mode: Copied from platform/chromium-win-vista/fast/blockflow.
* platform/chromium-win-xp/fast/blockflow: Removed.
* platform/chromium-win-xp/fast/writing-mode: Copied from platform/chromium-win-xp/fast/blockflow.
* platform/chromium-win/fast/blockflow: Removed.
* platform/chromium-win/fast/writing-mode: Copied from platform/chromium-win/fast/blockflow.
* platform/chromium/test_expectations.txt:
* platform/gtk/fast/blockflow: Removed.
* platform/gtk/fast/writing-mode: Copied from platform/gtk/fast/blockflow.
* platform/mac-leopard/fast/blockflow: Removed.
* platform/mac-leopard/fast/writing-mode: Copied from platform/mac-leopard/fast/blockflow.
* platform/mac-wk2/fast/blockflow: Removed.
* platform/mac-wk2/fast/writing-mode: Copied from platform/mac-wk2/fast/blockflow.
* platform/mac/Skipped:
* platform/mac/fast/blockflow: Removed.
* platform/mac/fast/writing-mode: Copied from platform/mac/fast/blockflow.
* platform/qt-mac/Skipped:
* platform/qt/Skipped:
* platform/qt/fast/blockflow: Removed.
* platform/qt/fast/writing-mode: Copied from platform/qt/fast/blockflow.
* platform/win/fast/blockflow: Removed.
* platform/win/fast/writing-mode: Copied from platform/win/fast/blockflow.
* platform/wk2/Skipped:

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

10 years agoAttempt to fix the build after r92538.
mrowe@apple.com [Sat, 6 Aug 2011 03:09:23 +0000 (03:09 +0000)]
Attempt to fix the build after r92538.

Like all of the recent "track"-related work the new files in r92538 appear to have
been added to completely random places in the Xcode project. However, this time
the file paths were marked as being relative to their containing group resulting in
Xcode being unable to find the files on disk.

I've attempted to clean up all of the "track"-related mess in the Xcode project.
The location of the files in the project now reflect their locations on disk, and
are all correctly marked as being relative to their containing group as is our
convention.

* WebCore.xcodeproj/project.pbxproj:

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