WebKit-https.git
10 years agoRemove unnecessary calls to columnRectAt()
mitz@apple.com [Mon, 17 Oct 2011 23:41:20 +0000 (23:41 +0000)]
Remove unnecessary calls to columnRectAt()
https://bugs.webkit.org/show_bug.cgi?id=70283

Reviewed by Darin Adler.

These call sites only needed one of the column dimensions, which are independent of the column
index, and can be retrieved directly from the ColumnInfo.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintColumnRules):
(WebCore::RenderBlock::hitTestColumns):

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

10 years agoProtect against incorrect Element::fast*Attribute() usage.
commit-queue@webkit.org [Mon, 17 Oct 2011 23:40:17 +0000 (23:40 +0000)]
Protect against incorrect Element::fast*Attribute() usage.
https://bugs.webkit.org/show_bug.cgi?id=67612

Patch by Andreas Kling <kling@webkit.org> on 2011-10-17
Reviewed by Darin Adler.

Add debug-only checks in Element's fastHasAttribute() and fastGetAttribute() to verify
that we aren't looking up the "style" attribute or any of the SVG animatable attributes.

No new tests, erroneous behavior is covered by assertions.

* WebCore.exp.in: Export Element::fastAttributeLookupAllowed() for debug builds
since it's used by the inline fast*Attribute() calls.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::canShareStyleWithElement): Use getAttribute() for class.
* css/SelectorChecker.cpp:
(WebCore::linkAttribute): Use getAttribute() for xlink:href.
* dom/Element.cpp:
(WebCore::Element::getAttribute): Manually inline fastGetAttribute() in ideal case.
(WebCore::Element::fastAttributeLookupAllowed): Checks if an attribute can be used
with the fast lookup functions.
* dom/Element.h:
(WebCore::Element::fastHasAttribute): Add assertion.
(WebCore::Element::fastGetAttribute): Ditto.
* editing/ApplyStyleCommand.cpp:
(WebCore::hasNoAttributeOrOnlyStyleAttribute): Use getAttribute() for class.
* editing/ReplaceSelectionCommand.cpp:
(WebCore::isInlineNodeWithStyle): Ditto.
* html/ClassList.cpp:
(WebCore::ClassList::ClassList): Ditto.
(WebCore::ClassList::addInternal): Ditto.
(WebCore::ClassList::removeInternal): Ditto.
(WebCore::ClassList::toString): Ditto.
* svg/SVGAltGlyphElement.cpp:
(WebCore::SVGAltGlyphElement::hasValidGlyphElements): Use getAttribute() for xlink:href.
* svg/SVGAnimateMotionElement.cpp:
(WebCore::SVGAnimateMotionElement::rotateMode): Use getAttribute() for rotate.
* svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::animationMode): Use getAttribute() for values.
* svg/SVGElement.cpp:
(WebCore::SVGElement::isAnimatableAttribute): Added, returns true if the given
QualifiedName represents an animatable attribute.
* svg/SVGElement.h:
* svg/SVGFontFaceUriElement.cpp:
(WebCore::SVGFontFaceUriElement::srcValue): Use getAttribute() for xlink:href.
(WebCore::SVGFontFaceUriElement::loadFont): Ditto.
* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::xlinkHref): Ditto.
* svg/SVGGlyphRefElement.cpp:
(WebCore::SVGGlyphRefElement::hasValidGlyphElement): Ditto.
* svg/SVGStyleElement.cpp:
(WebCore::SVGStyleElement::type): Use getAttribute() for type.

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

10 years agoAX: buttons of number type <input> controls are not fully accessible
cfleizach@apple.com [Mon, 17 Oct 2011 23:37:59 +0000 (23:37 +0000)]
AX: buttons of number type <input> controls are not fully accessible
https://bugs.webkit.org/show_bug.cgi?id=70241

Source/WebCore:

Expose the spin button object to the AX hierarchy. Since there is no distinct
render object that backs this object, a mock object needs to be created for the entire
spin button and the actual increment and decrement buttons inside.

Reviewed by Darin Adler.

Test: platform/mac/accessibility/html5-input-number.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::getOrCreate):
* accessibility/AccessibilityMockObject.cpp:
(WebCore::AccessibilityMockObject::AccessibilityMockObject):
* accessibility/AccessibilityMockObject.h:
(WebCore::AccessibilityMockObject::isMockObject):
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::boundingBoxForQuads):
(WebCore::AccessibilityObject::elementAccessibilityHitTest):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isSpinButton):
(WebCore::AccessibilityObject::isSpinButtonPart):
(WebCore::AccessibilityObject::isMockObject):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::boundingBoxRect):
(WebCore::AccessibilityRenderObject::addImageMapChildren):
(WebCore::AccessibilityRenderObject::addTextFieldChildren):
(WebCore::AccessibilityRenderObject::addChildren):
* accessibility/AccessibilityRenderObject.h:
* accessibility/AccessibilitySpinButton.cpp: Added.
(WebCore::AccessibilitySpinButton::create):
(WebCore::AccessibilitySpinButton::AccessibilitySpinButton):
(WebCore::AccessibilitySpinButton::~AccessibilitySpinButton):
(WebCore::AccessibilitySpinButton::incrementButton):
(WebCore::AccessibilitySpinButton::decrementButton):
(WebCore::AccessibilitySpinButton::elementRect):
(WebCore::AccessibilitySpinButton::addChildren):
(WebCore::AccessibilitySpinButton::step):
(WebCore::AccessibilitySpinButtonPart::AccessibilitySpinButtonPart):
(WebCore::AccessibilitySpinButtonPart::create):
(WebCore::AccessibilitySpinButtonPart::elementRect):
(WebCore::AccessibilitySpinButtonPart::press):
* accessibility/AccessibilitySpinButton.h: Added.
(WebCore::AccessibilitySpinButton::setSpinButtonElement):
(WebCore::AccessibilitySpinButton::roleValue):
(WebCore::AccessibilitySpinButton::accessibilityIsIgnored):
(WebCore::AccessibilitySpinButton::isSpinButton):
(WebCore::AccessibilitySpinButtonPart::~AccessibilitySpinButtonPart):
(WebCore::AccessibilitySpinButtonPart::isIncrementor):
(WebCore::AccessibilitySpinButtonPart::setIsIncrementor):
(WebCore::AccessibilitySpinButtonPart::roleValue):
(WebCore::AccessibilitySpinButtonPart::isSpinButtonPart):
(WebCore::AccessibilitySpinButtonPart::accessibilityIsIgnored):
(WebCore::toAccessibilitySpinButton):
(WebCore::toAccessibilitySpinButtonPart):
* accessibility/mac/WebAccessibilityObjectWrapper.mm:
(-[WebAccessibilityObjectWrapper accessibilityActionNames]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):
(-[WebAccessibilityObjectWrapper subrole]):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
* html/shadow/TextControlInnerElements.cpp:
(WebCore::SpinButtonElement::step):
(WebCore::SpinButtonElement::repeatingTimerFired):
* html/shadow/TextControlInnerElements.h:

LayoutTests:

Reviewed by Darin Adler.

* platform/mac/accessibility/html5-input-number-expected.txt: Added.
* platform/mac/accessibility/html5-input-number.html: Added.

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

10 years agoRe-landing: window.webkitNotifications uses deallocated NotificationPresenter after...
dimich@chromium.org [Mon, 17 Oct 2011 23:30:36 +0000 (23:30 +0000)]
Re-landing: window.webkitNotifications uses deallocated NotificationPresenter after live Iframe transfer.
https://bugs.webkit.org/show_bug.cgi?id=70147

Reviewed by David Levin.

I only found a way to test this manually, since Chromium TestShell uses static instance
of NotificationPresenter instead of per-page one so the issue does not reproduce.
Adding manual test that works in full build of Chromium.

* manual-tests/iframe_notifications/iframe-reparenting-close-window-child.html: Added.
* manual-tests/iframe_notifications/iframe-reparenting-close-window-iframe.html: Added.
* manual-tests/iframe_notifications/iframe-reparenting-close-window.html: Added.
* notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::disconnectFrame):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::resetNotifications):
* page/DOMWindow.h:
* page/Frame.cpp:
(WebCore::Frame::transferChildFrameToNewDocument): reset webkitNotifications object.

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

10 years agoquote "attributes" keyword in CodeGeneratorGObject.pm
commit-queue@webkit.org [Mon, 17 Oct 2011 23:15:02 +0000 (23:15 +0000)]
quote "attributes" keyword in CodeGeneratorGObject.pm
https://bugs.webkit.org/show_bug.cgi?id=64348

Patch by Arno Renevier <arno@renevier.net> on 2011-10-17
Reviewed by Darin Adler.

No change of functionality. No new tests.

* bindings/scripts/CodeGeneratorGObject.pm:

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

10 years agoMore tweaking of chromium fullscreen expectations.
dpranke@chromium.org [Mon, 17 Oct 2011 23:12:31 +0000 (23:12 +0000)]
More tweaking of chromium fullscreen expectations.

Unreviewed, expectations change.

* platform/chromium/test_expectations.txt:

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

10 years agoUnreviewed, rolling out r97654.
ojan@chromium.org [Mon, 17 Oct 2011 22:56:31 +0000 (22:56 +0000)]
Unreviewed, rolling out r97654.
http://trac.webkit.org/changeset/97654
https://bugs.webkit.org/show_bug.cgi?id=68497

Caused a number of Chromium failures.

Source/WebCore:

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

LayoutTests:

* platform/mac/fast/backgrounds/background-leakage-transforms-expected.txt:
* platform/mac/fast/table/028-vertical-expected.png:
* platform/mac/fast/table/028-vertical-expected.txt:
* platform/mac/fast/table/height-percent-test-vertical-expected.png:
* platform/mac/fast/table/height-percent-test-vertical-expected.txt:
* platform/mac/fast/writing-mode/fallback-orientation-expected.txt:

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

10 years agoUnreviewed, rolling out r97653.
ojan@chromium.org [Mon, 17 Oct 2011 22:53:43 +0000 (22:53 +0000)]
Unreviewed, rolling out r97653.
http://trac.webkit.org/changeset/97653
https://bugs.webkit.org/show_bug.cgi?id=69957

Caused a number of Chromium failures.

Source/WebCore:

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeBlockPreferredLogicalWidths):

LayoutTests:

* fast/writing-mode/borders-expected.html: Removed.
* fast/writing-mode/borders.html: Removed.

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

10 years agofullscreen/video-controls-override.html is still failing on chromium bots.
dpranke@chromium.org [Mon, 17 Oct 2011 22:38:58 +0000 (22:38 +0000)]
fullscreen/video-controls-override.html is still failing on chromium bots.

Unreviewed, expectations change.

* platform/chromium/test_expectations.txt:

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

10 years ago[MutationObservers] Implement WebKitMutationObserver.observe for attributes
adamk@chromium.org [Mon, 17 Oct 2011 22:31:25 +0000 (22:31 +0000)]
[MutationObservers] Implement WebKitMutationObserver.observe for attributes
https://bugs.webkit.org/show_bug.cgi?id=68956

Patch by Rafael Weinstein <rafaelw@chromium.org> on 2011-10-17
Reviewed by Ryosuke Niwa.

Source/WebCore:

Test: fast/mutation/observe-attributes.html

This adds an initial implementation for registering mutation observers on nodes,
delivering mutation records at the end of the outer-most script invokation and
observing mutations to element attributes.

Note that the outer-most script invokation only works in V8.

Note also that support for observing changes to the style attribute when updated
via the style property is not implemented here.

* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::didLeaveScriptContext):
* dom/Element.cpp:
(WebCore::enqueueAttributesMutationRecord):
(WebCore::Element::setAttribute):
* dom/MutationRecord.cpp:
(WebCore::MutationRecord::createAttributes):
* dom/MutationRecord.h:
* dom/MutationRecord.idl:
* dom/Node.cpp:
(WebCore::Node::clearRareData):
(WebCore::Node::mutationObserverData):
(WebCore::Node::ensureMutationObserverData):
(WebCore::Node::registeredMutationObserversOfType):
(WebCore::Node::registerMutationObserver):
(WebCore::Node::deregisterMutationObserver):
* dom/Node.h:
* dom/NodeRareData.h:
(WebCore::MutationObserverRegistration::MutationObserverRegistration):
(WebCore::MutationObserverRegistration::operator==):
(WebCore::MutationObserverData::MutationObserverData):
(WebCore::MutationObserverData::~MutationObserverData):
(WebCore::NodeRareData::mutationObserverData):
(WebCore::NodeRareData::ensureMutationObserverData):
* dom/WebKitMutationObserver.cpp:
(WebCore::WebKitMutationObserver::observe):
(WebCore::WebKitMutationObserver::disconnect):
(WebCore::WebKitMutationObserver::wasDeregistered):
(WebCore::activeMutationObservers):
(WebCore::WebKitMutationObserver::enqueueMutationRecord):
(WebCore::WebKitMutationObserver::deliverAllMutations):
(WebCore::WebKitMutationObserver::deliver):
* dom/WebKitMutationObserver.h:

LayoutTests:

* fast/mutation/observe-attributes-expected.txt: Added.
* fast/mutation/observe-attributes.html: Added.

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

10 years agoHTMLKeygenElement: Don't cache keytype and challenge attributes.
commit-queue@webkit.org [Mon, 17 Oct 2011 22:30:57 +0000 (22:30 +0000)]
HTMLKeygenElement: Don't cache keytype and challenge attributes.
https://bugs.webkit.org/show_bug.cgi?id=68365

Patch by Andreas Kling <kling@webkit.org> on 2011-10-17
Reviewed by Darin Adler.

* html/HTMLKeygenElement.cpp:
(WebCore::HTMLKeygenElement::parseMappedAttribute):
(WebCore::HTMLKeygenElement::appendFormData):
* html/HTMLKeygenElement.h:

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

10 years agoUpdate chromium gpu baselines for fast/canvas/canvas-composite-transformclip.html .
dpranke@chromium.org [Mon, 17 Oct 2011 22:21:34 +0000 (22:21 +0000)]
Update chromium gpu baselines for fast/canvas/canvas-composite-transformclip.html .

Unreviewed, expectations change.

* platform/chromium/test_expectations.txt:

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

10 years agoRemove some expectations that are no longer failing.
dpranke@chromium.org [Mon, 17 Oct 2011 21:54:38 +0000 (21:54 +0000)]
Remove some expectations that are no longer failing.

Unreviewed, expectations change.

* platform/chromium/test_expectations.txt:

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=70207
barraclough@apple.com [Mon, 17 Oct 2011 21:51:21 +0000 (21:51 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=70207
After deleting __defineSetter__, it is absent but appears in name list

Reviewed by Darin Adler.

Source/JavaScriptCore:

* runtime/JSObject.cpp:
(JSC::JSObject::getOwnPropertyNames):
    - This should check whether static functions have been reified.

LayoutTests:

* fast/js/delete-syntax-expected.txt:
* fast/js/script-tests/delete-syntax.js:
    - Added test case for getOwnPropertyNames.

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

10 years agoincorrect height with height:auto and writing-mode:vertical-rl
ojan@chromium.org [Mon, 17 Oct 2011 21:50:12 +0000 (21:50 +0000)]
incorrect height with height:auto and writing-mode:vertical-rl
https://bugs.webkit.org/show_bug.cgi?id=68497

Reviewed by David Hyatt.

Source/WebCore:

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

LayoutTests:

I'm not sure I completely understand the changes to the height/width
of the body/html elements, but the new height/width look correct to me.

* platform/mac/fast/backgrounds/background-leakage-transforms-expected.txt:
* platform/mac/fast/table/028-vertical-expected.txt:
* platform/mac/fast/table/height-percent-test-vertical-expected.txt:
* platform/mac/fast/writing-mode/fallback-orientation-expected.txt:

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

10 years agodisplay:inline-block elements don't correctly handle orthogonal writing-modes
ojan@chromium.org [Mon, 17 Oct 2011 21:46:50 +0000 (21:46 +0000)]
display:inline-block elements don't correctly handle orthogonal writing-modes
https://bugs.webkit.org/show_bug.cgi?id=69957

Reviewed by David Hyatt.

Source/WebCore:

Reading min/maxPreferredLogicalWidth from a child uses the child's writing-mode.
Instead, we need to grab the result based on the parent's writing-mode.
In the case of orthogonal writing-modes, we need the child's logical height.

Tests: fast/writing-mode/borders-expected.html
       fast/writing-mode/borders.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeBlockPreferredLogicalWidths):

LayoutTests:

* fast/writing-mode/borders-expected.html: Added.
* fast/writing-mode/borders.html: Added.

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

10 years agoUnreviewed, expectations change.
dpranke@chromium.org [Mon, 17 Oct 2011 21:42:26 +0000 (21:42 +0000)]
Unreviewed, expectations change.

Add back in the failing fullscreen tests; also add in some
flaky failures.

* platform/chromium/test_expectations.txt:

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

10 years agoREGRESSION(r97566) fast/js/stack-overflow-arrity-catch.html fails
arv@chromium.org [Mon, 17 Oct 2011 21:41:36 +0000 (21:41 +0000)]
REGRESSION(r97566) fast/js/stack-overflow-arrity-catch.html fails
https://bugs.webkit.org/show_bug.cgi?id=70210

Reviewed by Darin Adler.

Change the test to not call debug() inside the test functions since that fails on V8
because we are already at the maximum allowed stack depth.

* fast/js/script-tests/stack-overflow-arrity-catch.js:
(test1): Changed to not call debug but set a boolean variable that is later checked.
(test2): Ditto.
* fast/js/stack-overflow-arrity-catch-expected.txt:
* platform/chromium/test_expectations.txt:

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

10 years agoMac build fix.
ggaren@apple.com [Mon, 17 Oct 2011 21:29:13 +0000 (21:29 +0000)]
Mac build fix.

* JavaScriptCore.exp: Export!

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

10 years agoUnreviewed, rolling out r97643.
dimich@chromium.org [Mon, 17 Oct 2011 21:22:23 +0000 (21:22 +0000)]
Unreviewed, rolling out r97643.
http://trac.webkit.org/changeset/97643
https://bugs.webkit.org/show_bug.cgi?id=70270

Broke iframe reparenting tests (Requested by dimich on
#webkit).

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

* manual-tests/iframe_notifications/iframe-reparenting-close-window-child.html: Removed.
* manual-tests/iframe_notifications/iframe-reparenting-close-window-iframe.html: Removed.
* manual-tests/iframe_notifications/iframe-reparenting-close-window.html: Removed.
* notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::disconnectFrame):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::webkitNotifications):
* page/DOMWindow.h:
* page/Frame.cpp:
(WebCore::Frame::transferChildFrameToNewDocument):

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

10 years agoWindows build fix.
ggaren@apple.com [Mon, 17 Oct 2011 21:14:58 +0000 (21:14 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Export!

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

10 years agoRemoving suppressions for the fullscreen/ tests - it looks
dpranke@chromium.org [Mon, 17 Oct 2011 21:09:27 +0000 (21:09 +0000)]
Removing suppressions for the fullscreen/ tests - it looks
like they're mostly passing now. I will pick up the tests that
are still failing in a subsequent patch.

* platform/chromium/test_expectations.txt:

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

10 years agoWindows build fix.
ggaren@apple.com [Mon, 17 Oct 2011 20:58:44 +0000 (20:58 +0000)]
Windows build fix.

* heap/HandleStack.cpp: Added a missing #include.

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

10 years agoUnreviewed; actually enable/disable microdata support in CMake.
leandro@webkit.org [Mon, 17 Oct 2011 20:58:23 +0000 (20:58 +0000)]
Unreviewed; actually enable/disable microdata support in CMake.

Follow-up to r97471, which did not plug the option to enable/disable
microdata into the buildsystem.

* Source/cmake/OptionsEfl.cmake: Add ENABLE_MICRODATA feature, turned off by default.
* Source/cmake/OptionsWinCE.cmake: Ditto.
* Source/cmakeconfig.h.cmake: Add ENABLE_MICRODATA #cmakedefine.

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

10 years agoWindows build fix.
ggaren@apple.com [Mon, 17 Oct 2011 20:51:18 +0000 (20:51 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Removed no
longer existant symbol.

* heap/MarkStack.cpp:
(JSC::MarkStackArray::shrinkAllocation): Cast to the right type.

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

10 years agowindow.webkitNotifications uses deallocated NotificationPresenter after live Iframe...
dimich@chromium.org [Mon, 17 Oct 2011 20:46:29 +0000 (20:46 +0000)]
window.webkitNotifications uses deallocated NotificationPresenter after live Iframe transfer.
https://bugs.webkit.org/show_bug.cgi?id=70147

Reviewed by David Levin.

I only found a way to test this manually, since Chromium TestShell uses static instance
of NotificationPresenter instead of per-page one so the issue does not reproduce.
Adding manual test that works in full build of Chromium.

* manual-tests/iframe_notifications/iframe-reparenting-close-window-child.html: Added.
* manual-tests/iframe_notifications/iframe-reparenting-close-window-iframe.html: Added.
* manual-tests/iframe_notifications/iframe-reparenting-close-window.html: Added.
* notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::disconnectFrame):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::resetNotifications):
* page/DOMWindow.h:
* page/Frame.cpp:
(WebCore::Frame::transferChildFrameToNewDocument): reset webkitNotifications object.

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

10 years agoSimplified GC marking logic
ggaren@apple.com [Mon, 17 Oct 2011 20:43:43 +0000 (20:43 +0000)]
Simplified GC marking logic
https://bugs.webkit.org/show_bug.cgi?id=70258

Reviewed by Filip Pizlo.

No perf. change.

This is a first step toward GC allocating string backing stores, starting
with ropes. It also enables future simplifications and optimizations.

- Replaced some complex mark stack logic with a simple linear stack of
JSCell pointers.

- Replaced logic for short-circuiting marking based on JSType and/or
Structure flags with special cases for object, array, and string.

- Fiddled with inlining for better codegen.

* JavaScriptCore.exp:
* heap/HandleStack.cpp: Build!

* heap/Heap.cpp:
(JSC::Heap::Heap): Provide more vptrs to SlotVisitor, for use in marking.

* heap/HeapRootVisitor.h: Removed unused functions that no longer build.

* heap/MarkStack.cpp:
(JSC::MarkStackArray::MarkStackArray):
(JSC::MarkStackArray::~MarkStackArray):
(JSC::MarkStackArray::expand):
(JSC::MarkStackArray::shrinkAllocation):
(JSC::MarkStack::reset):
(JSC::visitChildren):
(JSC::SlotVisitor::drain):
* heap/MarkStack.h:
(JSC::MarkStack::MarkStack):
(JSC::MarkStack::~MarkStack):
(JSC::MarkStackArray::append):
(JSC::MarkStackArray::removeLast):
(JSC::MarkStackArray::isEmpty):
(JSC::MarkStack::append):
(JSC::MarkStack::appendUnbarrieredPointer):
(JSC::MarkStack::internalAppend): Replaced complex mark set logic with
simple linear stack.

* heap/SlotVisitor.h:
(JSC::SlotVisitor::SlotVisitor): Updated for above changes.

* runtime/JSArray.cpp:
(JSC::JSArray::visitChildren):
* runtime/JSArray.h:
* runtime/JSObject.cpp:
(JSC::JSObject::visitChildren):
* runtime/JSObject.h: Don't inline visitChildren; it's too big.

* runtime/Structure.h:
(JSC::MarkStack::internalAppend): Nixed the short-circuit for CompoundType
because it prevented strings from owning GC pointers.

* runtime/WriteBarrier.h:
(JSC::MarkStack::appendValues): No need to validate; internalAppend will
do that for us.

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

10 years agoWidget window coordinate functions should use root view coordinate functions
jeffm@apple.com [Mon, 17 Oct 2011 20:29:59 +0000 (20:29 +0000)]
Widget window coordinate functions should use root view coordinate functions
https://bugs.webkit.org/show_bug.cgi?id=70152

Reviewed by Darin Adler.

No new tests, no changes to functionality.

* platform/Widget.cpp:
(WebCore::Widget::convertFromContainingWindow): Use convertFromRootView().
(WebCore::Widget::convertToContainingWindow): Use convertToRootView().

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

10 years agoThrottle rate of requestAnimationFrame when page is not visible
cmarrin@apple.com [Mon, 17 Oct 2011 20:15:01 +0000 (20:15 +0000)]
Throttle rate of requestAnimationFrame when page is not visible
https://bugs.webkit.org/show_bug.cgi?id=67873

Reviewed by Anders Carlsson.

Source/WebCore:

Add logic to suspend and resume scripted animations when page is hidden,
minimized or the tab is not visible. The hide/minimize notification comes
in from WebKit/WebKit2 to a new set of functions.

* WebCore.exp.in:
* page/Page.cpp:
(WebCore::Page::didMoveOnscreen):
(WebCore::Page::willMoveOffscreen):
(WebCore::Page::suspendScriptedAnimations):
(WebCore::Page::resumeScriptedAnimations):
* page/Page.h:

Source/WebKit/mac:

Plumb through notification when the window is hidden/shown or
minimized/unminimized

* WebView/WebView.mm:
(-[WebView _windowWillOrderOnScreen:]):
(-[WebView _windowWillOrderOffScreen:]):

Source/WebKit2:

Plumb through notification when the window is hidden/shown or
minimized/unminimized

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::suspendPainting):
(WebKit::DrawingAreaImpl::resumePainting):

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

10 years ago[Qt][WK2] Synchronize tiling with accelerated compositing
noam.rosenthal@nokia.com [Mon, 17 Oct 2011 20:03:57 +0000 (20:03 +0000)]
[Qt][WK2] Synchronize tiling with accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=69151

Reviewed by Simon Hausmann.

Make the tiled "non-composited" content and the composited layers go through the same
code path on WebKit2. Instead of having a "drawing area" that handles the non-composited
content and a seperate layer tree, we put everything in a layer tree, with the non-
composited content being a layer in the tree.

This allows fixing several issues with websites that have large content areas that are
composited or overlap with composited layers.

Layer-tree synchronization is done by passing WebKit2 messages between a LayerTreeHost
on the WebProcess and a LayerTreeHostProxy on the UI process. Every layer in the tree has
its own tiled backing store, and uses the LayerTreeHost communication channel to pass
content up to the UI process. The UI process will later creates its own GraphicsLayer tree,
based on TextureMapper, which can be painted directly with OpenGL.

Several optimizations are available for the non-composited layer as well, e.g. specifying
a trajectory and updating the visible rect together with the content scale.

This code is currently disabled, a separate patch will enable it and glue it to
QTouchWebPage.

* DerivedSources.pro:
* Platform/CoreIPC/MessageID.h:
* Scripts/webkit2/messages.py:
* Shared/LayerTreeContext.h:
* Shared/WebLayerTreeInfo.cpp:
(WebKit::WebLayerInfo::encode):
(WebKit::WebLayerInfo::decode):
* Shared/WebLayerTreeInfo.h:
* Shared/qt/LayerTreeContextQt.cpp:
(WebKit::LayerTreeContext::LayerTreeContext):
(WebKit::LayerTreeContext::~LayerTreeContext):
(WebKit::LayerTreeContext::encode):
(WebKit::LayerTreeContext::decode):
(WebKit::LayerTreeContext::isEmpty):
(WebKit::operator==):
* UIProcess/DrawingAreaProxy.cpp:
(WebKit::DrawingAreaProxy::updateWebView):
(WebKit::DrawingAreaProxy::contentsRect):
* UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::viewportVisibleRect):
(WebKit::DrawingAreaProxy::isBackingStoreReady):
(WebKit::DrawingAreaProxy::paintToCurrentGLContext):
(WebKit::DrawingAreaProxy::setVisibleContentsRectAndScale):
(WebKit::DrawingAreaProxy::setVisibleContentRectTrajectoryVector):
(WebKit::DrawingAreaProxy::createTileForLayer):
(WebKit::DrawingAreaProxy::updateTileForLayer):
(WebKit::DrawingAreaProxy::removeTileForLayer):
(WebKit::DrawingAreaProxy::didReceiveLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxy::page):
* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::enterAcceleratedCompositingMode):
(WebKit::DrawingAreaProxyImpl::didReceiveLayerTreeHostProxyMessage):
(WebKit::DrawingAreaProxyImpl::setVisibleContentsRectAndScale):
(WebKit::DrawingAreaProxyImpl::setVisibleContentRectTrajectoryVector):
(WebKit::DrawingAreaProxyImpl::paintToCurrentGLContext):
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/LayerTreeHostProxy.h: Added.
(WebKit::LayerTreeHostProxy::layerByID):
(WebKit::LayerTreeHostProxy::rootLayer):
(WebKit::LayerTreeHostProxy::notifyAnimationStarted):
(WebKit::LayerTreeHostProxy::notifySyncRequired):
(WebKit::LayerTreeHostProxy::showDebugBorders):
(WebKit::LayerTreeHostProxy::showRepaintCounter):
(WebKit::LayerTreeHostProxy::paintContents):
* UIProcess/LayerTreeHostProxy.messages.in: Added.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
* UIProcess/qt/LayerTreeHostProxyQt.cpp: Added.
* WebKit2.pro:
* WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::WebGraphicsLayer):
(WebCore::WebGraphicsLayer::~WebGraphicsLayer):
(WebCore::WebGraphicsLayer::setChildren):
(WebCore::WebGraphicsLayer::addChild):
(WebCore::WebGraphicsLayer::addChildAtIndex):
(WebCore::WebGraphicsLayer::addChildAbove):
(WebCore::WebGraphicsLayer::addChildBelow):
(WebCore::WebGraphicsLayer::replaceChild):
(WebCore::WebGraphicsLayer::removeFromParent):
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):
(WebCore::WebGraphicsLayer::setContentsToImage):
(WebCore::WebGraphicsLayer::setNeedsDisplay):
(WebCore::WebGraphicsLayer::setNeedsDisplayInRect):
(WebCore::WebGraphicsLayer::syncCompositingState):
(WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
(WebCore::WebGraphicsLayer::tiledBackingStorePaintBegin):
(WebCore::WebGraphicsLayer::setContentsScale):
(WebCore::WebGraphicsLayer::setRootLayer):
(WebCore::WebGraphicsLayer::setVisibleContentRectTrajectoryVector):
(WebCore::WebGraphicsLayer::setVisibleContentRect):
(WebCore::WebGraphicsLayer::tiledBackingStorePaint):
(WebCore::WebGraphicsLayer::tiledBackingStorePaintEnd):
(WebCore::WebGraphicsLayer::tiledBackingStoreUpdatesAllowed):
(WebCore::WebGraphicsLayer::tiledBackingStoreContentsRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreVisibleRect):
(WebCore::WebGraphicsLayer::tiledBackingStoreBackgroundColor):
(WebCore::WebGraphicsLayer::createTile):
(WebCore::WebGraphicsLayer::updateTile):
(WebCore::WebGraphicsLayer::removeTile):
(WebCore::WebGraphicsLayer::updateTileBuffersRecursively):
(WebCore::WebGraphicsLayer::layerTreeTileClient):
(WebCore::WebGraphicsLayer::updateContentBuffers):
* WebProcess/WebCoreSupport/WebGraphicsLayer.h:
(WebCore::WebGraphicsLayer::setLayerTreeTileClient):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::didReceiveLayerTreeHostMessage):
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/LayerTreeHost.h:
(WebKit::LayerTreeHost::setVisibleContentRectAndScale):
(WebKit::LayerTreeHost::setVisibleContentRectTrajectoryVector):
(WebKit::LayerTreeHost::setVisibleContentRectForLayer):
(WebKit::LayerTreeHost::renderNextFrame):
* WebProcess/WebPage/LayerTreeHost.messages.in: Added.
* WebProcess/WebPage/TiledDrawingArea.cpp:
(WebKit::TiledDrawingArea::didReceiveLayerTreeHostMessage):
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
(WebKit::LayerTreeHostQt::create):
(WebKit::LayerTreeHostQt::~LayerTreeHostQt):
(WebKit::LayerTreeHostQt::LayerTreeHostQt):
(WebKit::LayerTreeHostQt::setLayerFlushSchedulingEnabled):
(WebKit::LayerTreeHostQt::scheduleLayerFlush):
(WebKit::LayerTreeHostQt::cancelPendingLayerFlush):
(WebKit::LayerTreeHostQt::setShouldNotifyAfterNextScheduledLayerFlush):
(WebKit::LayerTreeHostQt::setRootCompositingLayer):
(WebKit::LayerTreeHostQt::invalidate):
(WebKit::LayerTreeHostQt::setNonCompositedContentsNeedDisplay):
(WebKit::LayerTreeHostQt::scrollNonCompositedContents):
(WebKit::LayerTreeHostQt::forceRepaint):
(WebKit::LayerTreeHostQt::sizeDidChange):
(WebKit::LayerTreeHostQt::didInstallPageOverlay):
(WebKit::LayerTreeHostQt::didUninstallPageOverlay):
(WebKit::LayerTreeHostQt::setPageOverlayNeedsDisplay):
(WebKit::LayerTreeHostQt::flushPendingLayerChanges):
(WebKit::LayerTreeHostQt::didSyncCompositingStateForLayer):
(WebKit::LayerTreeHostQt::didDeleteLayer):
(WebKit::LayerTreeHostQt::performScheduledLayerFlush):
(WebKit::LayerTreeHostQt::layerFlushTimerFired):
(WebKit::LayerTreeHostQt::createPageOverlayLayer):
(WebKit::LayerTreeHostQt::destroyPageOverlayLayer):
(WebKit::LayerTreeHostQt::adoptImageBackingStore):
(WebKit::LayerTreeHostQt::releaseImageBackingStore):
(WebKit::LayerTreeHostQt::notifyAnimationStarted):
(WebKit::LayerTreeHostQt::notifySyncRequired):
(WebKit::LayerTreeHostQt::paintContents):
(WebKit::LayerTreeHostQt::showDebugBorders):
(WebKit::LayerTreeHostQt::showRepaintCounter):
(WebKit::LayerTreeHost::supportsAcceleratedCompositing):
(WebKit::LayerTreeHostQt::createTile):
(WebKit::LayerTreeHostQt::updateTile):
(WebKit::LayerTreeHostQt::removeTile):
(WebKit::LayerTreeHostQt::setVisibleContentRectForLayer):
(WebKit::LayerTreeHostQt::setVisibleContentRectAndScale):
(WebKit::LayerTreeHostQt::setVisibleContentRectTrajectoryVector):
(WebKit::LayerTreeHostQt::renderNextFrame):
(WebKit::LayerTreeHostQt::layerTreeTileUpdatesAllowed):

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=69966
antti@apple.com [Mon, 17 Oct 2011 19:49:07 +0000 (19:49 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=69966
Eliminate separate RenderStyle for visited link style

Reviewed by Dave Hyatt and Nikolas Zimmermann.

There are only a few properties that can apply to visited links and they can
be part of the regular style. Many things will get simpler when the separate
RenderStyle for visited links is eliminated.

- Add valid visited link properties as separate fields to RenderStyle. The
  visitedLinkColor goes to inherited, everything else goes to rare data structures.
- Make RenderStyle::visitedDependentColor() get the visited style from the new fields.
- As VISITED_LINK pseudo style doesn't exists anymore, remove all code dealing with it.
- Make CSSStyleSelector and ApplyPropertyColor apply the visited link style to the
  newly added fields instead of a separate RenderStyle.
- Same thing with SVGRenderStyle, SVGCSSStyleSelector.
- Fixup the SVG visited link style code to use the new fields.

This is ~15% progression in styleForElement performance over the HTML5 spec load.

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyColor::ApplyPropertyColor):
(WebCore::ApplyPropertyColor::applyInheritValue):
(WebCore::ApplyPropertyColor::applyInitialValue):
(WebCore::ApplyPropertyColor::applyValue):
(WebCore::ApplyPropertyColor::applyColorValue):
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::CSSStyleSelector::pseudoStyleForElement):
(WebCore::CSSStyleSelector::updateFont):
(WebCore::CSSStyleSelector::applyDeclaration):
(WebCore::CSSStyleSelector::applyDeclarations):
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::getColorFromPrimitiveValue):
* css/CSSStyleSelector.h:
(WebCore::CSSStyleSelector::applyPropertyToRegularStyle):
(WebCore::CSSStyleSelector::applyPropertyToVisitedLinkStyle):
* css/SVGCSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applySVGProperty):
* dom/Element.cpp:
(WebCore::Element::pseudoStyleCacheIsInvalid):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::getCachedPseudoStyle):
(WebCore::RenderStyle::colorIncludingFallback):
(WebCore::RenderStyle::visitedDependentColor):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::setVisitedLinkColor):
(WebCore::InheritedFlags::setVisitedLinkBackgroundColor):
(WebCore::InheritedFlags::setVisitedLinkBorderLeftColor):
(WebCore::InheritedFlags::setVisitedLinkBorderRightColor):
(WebCore::InheritedFlags::setVisitedLinkBorderBottomColor):
(WebCore::InheritedFlags::setVisitedLinkBorderTopColor):
(WebCore::InheritedFlags::setVisitedLinkOutlineColor):
(WebCore::InheritedFlags::setVisitedLinkColumnRuleColor):
(WebCore::InheritedFlags::setVisitedLinkTextEmphasisColor):
(WebCore::InheritedFlags::setVisitedLinkTextFillColor):
(WebCore::InheritedFlags::setVisitedLinkTextStrokeColor):
* rendering/style/RenderStyleConstants.h:
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::setVisitedLinkFillPaint):
(WebCore::SVGRenderStyle::setVisitedLinkStrokePaint):
(WebCore::SVGRenderStyle::visitedLinkFillPaintType):
(WebCore::SVGRenderStyle::visitedLinkFillPaintColor):
(WebCore::SVGRenderStyle::visitedLinkStrokePaintType):
(WebCore::SVGRenderStyle::visitedLinkStrokePaintColor):
* rendering/style/SVGRenderStyleDefs.cpp:
(WebCore::StyleFillData::StyleFillData):
(WebCore::StyleFillData::operator==):
(WebCore::StyleStrokeData::StyleStrokeData):
(WebCore::StyleStrokeData::operator==):
* rendering/style/SVGRenderStyleDefs.h:
* rendering/style/StyleInheritedData.cpp:
(WebCore::StyleInheritedData::StyleInheritedData):
(WebCore::StyleInheritedData::operator==):
* rendering/style/StyleInheritedData.h:
* rendering/style/StyleMultiColData.cpp:
(WebCore::StyleMultiColData::StyleMultiColData):
(WebCore::StyleMultiColData::operator==):
* rendering/style/StyleMultiColData.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:
* rendering/svg/RenderSVGResource.cpp:
(WebCore::requestPaintingResource):

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

10 years ago2011-10-17 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Mon, 17 Oct 2011 19:22:45 +0000 (19:22 +0000)]
2011-10-17  Eric Carlson  <eric.carlson@apple.com>

        Cues should be loaded by the cached resource loader
        https://bugs.webkit.org/show_bug.cgi?id=70134

        Reviewed by Darin Adler.

        No new tests, changes covered by existing tests.

        * CMakeLists.txt: Add CachedCues.cpp/h.
        * GNUmakefile.list.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.

        * loader/cache/CachedCues.cpp: Added.
        (WebCore::CachedCues::CachedCues):
        (WebCore::CachedCues::~CachedCues):
        (WebCore::CachedCues::data): Called when new data has been loaded, pass it to all registered
            clients.
        * loader/cache/CachedCues.h: Added.

        * loader/cache/CachedResource.cpp:
        (WebCore::defaultPriorityForResourceType): Cues have low loader priority.
        * loader/cache/CachedResource.h:

        * loader/cache/CachedResourceClient.h:
        (WebCore::CachedResourceClient::didReceiveData): New client interface.

        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::createResource): Create and return a new cue loader.
        (WebCore::CachedResourceLoader::requestCues):
        (WebCore::CachedResourceLoader::checkInsecureContent): Cues aren't mentioned in the CPS spec
            yet, but they only work with a media element so use the mdia policy.
        (WebCore::CachedResourceLoader::canRequest): Allow cues to be loaded from any origin like media.
        * loader/cache/CachedResourceLoader.h:

        * loader/cache/CachedResourceRequest.cpp:
        (WebCore::cachedResourceTypeToTargetType):
        * platform/network/chromium/ResourceRequest.h:

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

10 years ago<rdar://problem/10293929> REGRESSION (r97525): iChat transcript has horizontal scroll...
mitz@apple.com [Mon, 17 Oct 2011 18:20:38 +0000 (18:20 +0000)]
<rdar://problem/10293929> REGRESSION (r97525): iChat transcript has horizontal scroll bar when the conversation includes a wide image
https://bugs.webkit.org/show_bug.cgi?id=70204

Reviewed by Darin Adler.

Source/WebCore:

Reverted r97525, which was supposed to fix <http://webkit.org/b/29447>.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalWidthUsing):
(WebCore::RenderBox::computeReplacedLogicalHeightUsing):
* rendering/RenderBox.h:

LayoutTests:

* fast/replaced/table-percent-width-expected.txt: Updated the results to
show that this test is failing after reverting r97525.

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

10 years agogarden-o-matic operations fail because of CSP.
dglazkov@chromium.org [Mon, 17 Oct 2011 18:17:17 +0000 (18:17 +0000)]
garden-o-matic operations fail because of CSP.
https://bugs.webkit.org/show_bug.cgi?id=70249

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html: Added gardening server to the policy.

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

10 years agoSource/WebCore: Export KURL::baseAsString() so it can be called in WebProcessProxy...
adachan@apple.com [Mon, 17 Oct 2011 17:55:31 +0000 (17:55 +0000)]
Source/WebCore: Export KURL::baseAsString() so it can be called in WebProcessProxy::assumeReadAccessToBaseURL() in WebKit2.
https://bugs.webkit.org/show_bug.cgi?id=70168

Reviewed by Alexey Proskuryakov.

No new tests. There is no change in functionality.

* WebCore.exp.in: Export KURL::baseAsString().

Source/WebKit2: Calling WKPageLoadAlternateHTMLString() where baseURL does not point to a directory causes an invalid message to be returned from WebProcess
https://bugs.webkit.org/show_bug.cgi?id=70168

Reviewed by Alexey Proskuryakov.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::assumeReadAccessToBaseURL): Add the file path of url's base URL to m_localPathsWithAssumedReadAccess,
since url may not point to a directory.

Tools: Add a test to call WKPageLoadAlternateHTMLString() with a non-directory URL.
https://bugs.webkit.org/show_bug.cgi?id=70168

Reviewed by Alexey Proskuryakov.

* TestWebKitAPI/Tests/WebKit2/LoadAlternateHTMLStringWithNonDirectoryURL.cpp: Added.
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::TEST): Call WKPageLoadAlternateHTMLString() with a file URL and make sure it finishes loading.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/win/TestWebKitAPI.vcproj:
Add the new file.

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

10 years agoSource/WebCore: Touch Internals.cpp to make 64-bit GTK+ build happy.
rniwa@webkit.org [Mon, 17 Oct 2011 17:24:53 +0000 (17:24 +0000)]
Source/WebCore: Touch Internals.cpp to make 64-bit GTK+ build happy.

* testing/Internals.cpp:

LayoutTests: Moved V8-specific result to platform/chromium and added JSC result in cross-platform directory.

* fast/files/url-required-arguments-expected.txt: Replaced with
LayoutTests/platform/qt/fast/files/url-required-arguments-expected.txt.
* platform/chromium/fast/files/url-required-arguments-expected.txt: Copied from
LayoutTests/fast/files/url-required-arguments-expected.txt.
* platform/qt/fast/files/url-required-arguments-expected.txt: Removed.

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

10 years agoGTK build fix patch by Gustavo Noronha Silva.
rniwa@webkit.org [Mon, 17 Oct 2011 17:12:54 +0000 (17:12 +0000)]
GTK build fix patch by Gustavo Noronha Silva.

* Source/autotools/symbols.filter:

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

10 years agoUnreviewed gardening.
kbalazs@webkit.org [Mon, 17 Oct 2011 17:09:37 +0000 (17:09 +0000)]
Unreviewed gardening.
https://bugs.webkit.org/show_bug.cgi?id=70245

Patch by Zsolt Fehér <feherzs@inf.u-szeged.hu> on 2011-10-17

* platform/qt-wk2/Skipped:

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

10 years agoAX: children() method should be consolidated in AccessibilityObject
cfleizach@apple.com [Mon, 17 Oct 2011 17:01:41 +0000 (17:01 +0000)]
AX: children() method should be consolidated in AccessibilityObject
https://bugs.webkit.org/show_bug.cgi?id=70243

Code cleanup, no new tests.

Reviewed by Darin Adler.

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::children):
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::updateChildrenIfNecessary):
* accessibility/AccessibilityRenderObject.h:
* accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::updateChildrenIfNecessary):
(WebCore::AccessibilityScrollView::updateScrollbars):
(WebCore::AccessibilityScrollView::addChildren):
* accessibility/AccessibilityScrollView.h:
* accessibility/AccessibilitySlider.cpp:
* accessibility/AccessibilitySlider.h:
* accessibility/AccessibilityTableColumn.cpp:
* accessibility/AccessibilityTableColumn.h:
* accessibility/AccessibilityTableHeaderContainer.cpp:
* accessibility/AccessibilityTableHeaderContainer.h:

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

10 years agoWeb Inspector: Search matches highlighting in text does not work correctly.
vsevik@chromium.org [Mon, 17 Oct 2011 16:56:13 +0000 (16:56 +0000)]
Web Inspector: Search matches highlighting in text does not work correctly.
https://bugs.webkit.org/show_bug.cgi?id=70244

Reviewed by Pavel Feldman.

Source/WebCore:

Test: inspector/utilities-highlight-results.html

* inspector/front-end/utilities.js:
():

LayoutTests:

* inspector/utilities-highlight-results-expected.txt: Added.
* inspector/utilities-highlight-results.html: Added.

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

10 years agoAX: webkit won't always send live region notifications
cfleizach@apple.com [Mon, 17 Oct 2011 16:47:37 +0000 (16:47 +0000)]
AX: webkit won't always send live region notifications
https://bugs.webkit.org/show_bug.cgi?id=70030

Source/WebCore:

Webkit purposefully does not send live region notifications if some AT client has not accessed the AX tree in between
the last live region update (ostensibly to improve performance).
However, this is problematic if a screen reader misses one notification... it has no idea what happened and the only
recourse is to rescan the page for changes. The correct thing to do is to always send notifications.

Reviewed by Darin Adler.

Test: platform/mac/accessibility/aria-liveregions-notifications-always-sent.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::childrenChanged):

LayoutTests:

Reviewed by Darin Adler.

* platform/mac/accessibility/aria-liveregions-notifications-always-sent-expected.txt: Added.
* platform/mac/accessibility/aria-liveregions-notifications-always-sent.html: Added.

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

10 years agoAdd some more *.pyc ignores in directories with Python scripts.
darin@apple.com [Mon, 17 Oct 2011 16:26:59 +0000 (16:26 +0000)]
Add some more *.pyc ignores in directories with Python scripts.

* QueueStatusServer: Added property svn:ignore.
* Scripts/webkitpy/common/watchlist: Added property svn:ignore.
* Scripts/webkitpy/layout_tests/controllers: Added property svn:ignore.
* Scripts/webkitpy/layout_tests/views: Added property svn:ignore.

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

10 years agoCleared a stray executable bit.
darin@apple.com [Mon, 17 Oct 2011 16:25:06 +0000 (16:25 +0000)]
Cleared a stray executable bit.

* http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html: Removed property svn:executable.

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

10 years ago[GTK] Add methods to get/set a custom text enconding to WebKit2 GTK+ API
carlosgc@webkit.org [Mon, 17 Oct 2011 16:23:51 +0000 (16:23 +0000)]
[GTK] Add methods to get/set a custom text enconding to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=69524

Reviewed by Martin Robinson.

* UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_get_custom_charset):
(webkit_web_view_set_custom_charset):
* UIProcess/API/gtk/WebKitWebView.h:
* UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
(testWebViewCustomCharset):
(beforeAll):

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

10 years ago[Qt][WK2][meta] Fix failing API tests
ossy@webkit.org [Mon, 17 Oct 2011 15:28:56 +0000 (15:28 +0000)]
[Qt][WK2][meta] Fix failing API tests
https://bugs.webkit.org/show_bug.cgi?id=70236

Patch by Alexis Menard <alexis.menard@openbossa.org> on 2011-10-17
Reviewed by Csaba Osztrogonác.

In order to run WebKit2 API tests we need the WebProcess to be in
the path so let's add the bin directory when running the API tests of Qt.

* Scripts/run-qtwebkit-tests:

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

10 years ago[Qt][WK2] Build dependency problems
ossy@webkit.org [Mon, 17 Oct 2011 15:26:55 +0000 (15:26 +0000)]
[Qt][WK2] Build dependency problems
https://bugs.webkit.org/show_bug.cgi?id=68456

Patch by Kristóf Kosztyó <kkristof@inf.u-szeged.hu> on 2011-10-17
Reviewed by Csaba Osztrogonác.

* Scripts/webkitdirs.pm:
(buildQMakeProject):

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

10 years agoWeb Inspector: fix handling of source mapping entries with no mapping.
podivilov@chromium.org [Mon, 17 Oct 2011 14:53:37 +0000 (14:53 +0000)]
Web Inspector: fix handling of source mapping entries with no mapping.
https://bugs.webkit.org/show_bug.cgi?id=69941

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/CompilerSourceMapping.js:
(WebInspector.ClosureCompilerSourceMapping.prototype._parseMappings):

LayoutTests:

* inspector/debugger/compiler-source-mapping-expected.txt:
* inspector/debugger/compiler-source-mapping.html:

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

10 years agoWindows build fix after r97536, part 3
aroben@apple.com [Mon, 17 Oct 2011 14:21:10 +0000 (14:21 +0000)]
Windows build fix after r97536, part 3

* runtime/JSAPIValueWrapper.h:
* runtime/JSObject.h:
Use JS_EXPORTDATA to export the s_info members.

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

10 years ago[Chromium] Update test expectations for r97596 and r97602.
tkent@chromium.org [Mon, 17 Oct 2011 14:10:51 +0000 (14:10 +0000)]
[Chromium] Update test expectations for r97596 and r97602.

* platform/chromium-cg-mac-leopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/selectors/017-expected.png: Added.
* platform/chromium-cg-mac-leopard/fast/selectors/061-expected.png: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/selectors/017-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/selectors/061-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-linux/css2.1/t0511-c21-pseud-link-02-e-expected.png:
* platform/chromium-linux/css2.1/t0511-c21-pseud-link-03-e-expected.png:
* platform/chromium-linux/fast/events/reveal-link-when-focused-expected.png:
* platform/chromium-linux/fast/selectors/017-expected.png:
* platform/chromium-linux/fast/selectors/061-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug51140-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug7342-expected.txt:
* platform/chromium-linux/tables/mozilla/bugs/bug8950-expected.png:
* platform/chromium-mac-leopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-mac-leopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-mac-leopard/fast/selectors/017-expected.png: Added.
* platform/chromium-mac-leopard/fast/selectors/061-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-mac-leopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0511-c21-pseud-link-02-e-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0511-c21-pseud-link-03-e-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/34176-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/dom/34176-expected.png.
* platform/chromium-mac-snowleopard/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/selectors/017-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/selectors/061-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug26553-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug26553-expected.png.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46623-1-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug51140-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug8950-expected.png: Added.
* platform/chromium-mac/fast/events/reveal-link-when-focused-expected.png: Removed.
* platform/chromium-mac/fast/selectors/017-expected.png: Removed.
* platform/chromium-mac/fast/selectors/061-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug46623-1-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug51140-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug7342-expected.png: Removed.
* platform/chromium-mac/tables/mozilla/bugs/bug8950-expected.png: Removed.
* platform/chromium-win/css2.1/t0511-c21-pseud-link-02-e-expected.png:
* platform/chromium-win/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
* platform/chromium-win/css2.1/t0511-c21-pseud-link-03-e-expected.png:
* platform/chromium-win/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
* platform/chromium-win/fast/dom/34176-expected.txt:
* platform/chromium-win/fast/events/reveal-link-when-focused-expected.png:
* platform/chromium-win/fast/events/reveal-link-when-focused-expected.txt:
* platform/chromium-win/fast/selectors/017-expected.png:
* platform/chromium-win/fast/selectors/017-expected.txt:
* platform/chromium-win/fast/selectors/061-expected.png:
* platform/chromium-win/fast/selectors/061-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug26553-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug51140-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug51140-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug7342-expected.txt:
* platform/chromium-win/tables/mozilla/bugs/bug8950-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug8950-expected.txt:
* platform/chromium/test_expectations.txt:

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

10 years agoInterpreter build fix after r97564
aroben@apple.com [Mon, 17 Oct 2011 14:03:19 +0000 (14:03 +0000)]
Interpreter build fix after r97564

* runtime/Executable.cpp:
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):
Moved declaration of globalData variable into ENABLE(JIT) blocks, since it is only used
there.

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

10 years ago[Qt] Unreviewed gardening, update Qt specific expected results after r97602.
ossy@webkit.org [Mon, 17 Oct 2011 14:01:35 +0000 (14:01 +0000)]
[Qt] Unreviewed gardening, update Qt specific expected results after r97602.

* platform/qt/css3/selectors3/html/css3-modsel-17-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-17-expected.txt:
* platform/qt/css3/selectors3/html/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/html/css3-modsel-61-expected.txt:
* platform/qt/css3/selectors3/xhtml/css3-modsel-17-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-17-expected.txt:
* platform/qt/css3/selectors3/xhtml/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/xhtml/css3-modsel-61-expected.txt:
* platform/qt/css3/selectors3/xml/css3-modsel-17-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-17-expected.txt:
* platform/qt/css3/selectors3/xml/css3-modsel-61-expected.png:
* platform/qt/css3/selectors3/xml/css3-modsel-61-expected.txt:
* platform/qt/fast/selectors/017-expected.png:
* platform/qt/fast/selectors/017-expected.txt:
* platform/qt/fast/selectors/061-expected.png:
* platform/qt/fast/selectors/061-expected.txt:

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

10 years ago[Qt] Unreviewed gardening. Unskip a passing test and add platform specific expected...
ossy@webkit.org [Mon, 17 Oct 2011 14:01:07 +0000 (14:01 +0000)]
[Qt] Unreviewed gardening. Unskip a passing test and add platform specific expected result.

* platform/qt/Skipped:
* platform/qt/fast/events/reveal-link-when-focused-expected.png: Added.
* platform/qt/fast/events/reveal-link-when-focused-expected.txt: Added.

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

10 years agoWindows build fix after r97536, part 2
aroben@apple.com [Mon, 17 Oct 2011 13:41:55 +0000 (13:41 +0000)]
Windows build fix after r97536, part 2

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Added back
JSC::setUpStaticFunctionSlot with its new mangled name. SOrted the rest of the file while I
was at it.

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

10 years ago[build] Introduce Qt/SH4 buildbot
zecke@webkit.org [Mon, 17 Oct 2011 13:40:14 +0000 (13:40 +0000)]
[build] Introduce Qt/SH4 buildbot
https://bugs.webkit.org/show_bug.cgi?id=70227

Patch by Holger Hans Peter Freyther <holger@moiji-mobile.com> on 2011-10-17
Reviewed by Adam Roben.

Add buildslave for Linux/Qt/SH4.

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

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

10 years ago[Chromium] Web Inspector: don't check for debugger pause details in interactive ui...
yurys@chromium.org [Mon, 17 Oct 2011 13:39:06 +0000 (13:39 +0000)]
[Chromium] Web Inspector: don't check for debugger pause details in interactive ui tests
https://bugs.webkit.org/show_bug.cgi?id=70228

Removed debugger pause details validation. The only check left is that debugger pause event is fired when expected.

Reviewed by Pavel Feldman.

* src/js/Tests.js:
(.TestSuite.prototype.testPauseWhenLoadingDevTools):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.didEvaluateInConsole):
(.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
(.TestSuite.prototype.testPauseWhenScriptIsRunning):
(.TestSuite.prototype.testPauseInSharedWorkerInitialization):
(.TestSuite.prototype._waitForScriptPause):

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

10 years agoWindows build fix
aroben@apple.com [Mon, 17 Oct 2011 13:25:19 +0000 (13:25 +0000)]
Windows build fix

Here's the error:

5>c:\cygwin\home\buildbot\slave\win-release\build\webkitbuild\release\obj\webcore\derivedsources\jssvgpathsegcurvetoquadraticrel.cpp(128) : fatal error C1128: number of sections exceeded object file format limit : compile with /bigobj

* win/tools/vsprops/common.vsprops: Specify /bigobj to the compiler.

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

10 years agoWeb Inspector: [Chromium] Add an ability to look up and explore an object from a...
mnaganov@chromium.org [Mon, 17 Oct 2011 13:21:12 +0000 (13:21 +0000)]
Web Inspector: [Chromium] Add an ability to look up and explore an object from a heap profile.
https://bugs.webkit.org/show_bug.cgi?id=61179

This is exteremely helpful when dealing with DOM wrappers, as
their properties are mostly implemented with getters and thus not
stored in heap snapshots.

Reviewed by Pavel Feldman.

* English.lproj/localizedStrings.js:
* bindings/js/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::objectByHeapObjectId):
* bindings/js/ScriptProfiler.h:
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::objectByHeapObjectId):
* bindings/v8/ScriptProfiler.h:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::create):
(WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
(WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
* inspector/InspectorProfilerAgent.h:
* inspector/front-end/DetailedHeapshotGridNodes.js:
(WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent):
(WebInspector.HeapSnapshotGenericObjectNode):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent):
(WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotView.prototype._showObjectPopover):
* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshotNode.prototype.get canBeQueried):
(WebInspector.HeapSnapshotNode.prototype.get flags):
(WebInspector.HeapSnapshotNode.prototype.get isDOMWindow):
(WebInspector.HeapSnapshot.prototype._init):
(WebInspector.HeapSnapshot.prototype.dispose):
(WebInspector.HeapSnapshot.prototype._flagsOfNode):
(WebInspector.HeapSnapshot.prototype._calculateFlags):
(WebInspector.HeapSnapshot.prototype.updateStaticData):
(WebInspector.HeapSnapshotNodesProvider.prototype._serialize):
* inspector/front-end/HeapSnapshotProxy.js:
(WebInspector.HeapSnapshotProxy.prototype.get nodeFlags):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.fromError):
* inspector/front-end/heapProfiler.css:
(.detailed-heapshot-view tr:not(.selected) td.object-column span.highlight):

* inspector/profiler/heap-snapshot-expected.txt:
* inspector/profiler/heap-snapshot-test.js:
(initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM):
(initialize_HeapSnapshotTest):
* inspector/profiler/heap-snapshot.html:

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

10 years agoWindows build fix after r97536
aroben@apple.com [Mon, 17 Oct 2011 12:58:42 +0000 (12:58 +0000)]
Windows build fix after r97536

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Removed export of
JSC::setUpStaticFunctionSlot, which no longer exists. Also removed incorrect exports of
s_info members, which need to be exported via JS_EXPORTDATA instead.

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

10 years agoUnreviewed. Remove reference to third_party/skia/gpu.
mnaganov@chromium.org [Mon, 17 Oct 2011 12:53:02 +0000 (12:53 +0000)]
Unreviewed. Remove reference to third_party/skia/gpu.
It was removed from Chromium DEPS in Chromium r105526.

* DEPS:

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

10 years ago[Qt][WK2] Implement decidePolicyForResponse in our PolicyClient
jesus@webkit.org [Mon, 17 Oct 2011 12:41:23 +0000 (12:41 +0000)]
[Qt][WK2] Implement decidePolicyForResponse in our PolicyClient
https://bugs.webkit.org/show_bug.cgi?id=69832

Reviewed by Kenneth Rohde Christiansen.

We implement decidePolicyForResponse in our PolicyClient in order to
decide whether a given ResourceResponse should be downloaded or loaded.

* Shared/qt/WebCoreArgumentCodersQt.cpp:
(CoreIPC::::encode):
(CoreIPC::::decode):
Implement serialization of ResourceResponse.

* UIProcess/qt/ClientImpl.cpp:
(qt_wk_decidePolicyForResponse):
* UIProcess/qt/ClientImpl.h:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::init):

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

10 years agoUnreviewed. Rolled DEPS.
mnaganov@chromium.org [Mon, 17 Oct 2011 12:35:05 +0000 (12:35 +0000)]
Unreviewed.  Rolled DEPS.

* DEPS:

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

10 years agoWeb Inspector: Editing CSS selector doesn't fire onResourceContentCommitted
apavlov@chromium.org [Mon, 17 Oct 2011 11:46:06 +0000 (11:46 +0000)]
Web Inspector: Editing CSS selector doesn't fire onResourceContentCommitted
https://bugs.webkit.org/show_bug.cgi?id=70018

Reviewed by Yury Semikhatsky.

Source/WebCore:

Test: inspector/styles/commit-selector.html

* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
(WebInspector.CSSStyleModel.prototype.setRuleSelector):

LayoutTests:

* inspector/styles/commit-selector-expected.txt: Added.
* inspector/styles/commit-selector.html: Added.

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

10 years agoCSS/XSLStyleSheet: Remove insert() and remove().
andreas.kling@nokia.com [Mon, 17 Oct 2011 11:38:55 +0000 (11:38 +0000)]
CSS/XSLStyleSheet: Remove insert() and remove().
https://bugs.webkit.org/show_bug.cgi?id=70226

Reviewed by Antti Koivisto.

Remove insert() and remove() from XSLStyleSheet. CSSStyleSheet retains remove()
since it's used by InspectorStyleSheet as well as SVGFontFaceElement.

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::remove):

    Remove range check. This method is internal to WebKit and the call sites
    already take care of it.

(WebCore::CSSStyleSheet::insertRule):
(WebCore::CSSStyleSheet::deleteRule):
* css/CSSStyleSheet.h:
* xml/XSLStyleSheet.h:

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

10 years ago[Chromium] Test expectation update
tkent@chromium.org [Mon, 17 Oct 2011 11:16:30 +0000 (11:16 +0000)]
[Chromium] Test expectation update
https://bugs.webkit.org/show_bug.cgi?id=70224

* platform/chromium/test_expectations.txt:
Mark some tests failing until bots have test results.

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

10 years ago[webkit]Debug Build Bot failure
commit-queue@webkit.org [Mon, 17 Oct 2011 11:09:50 +0000 (11:09 +0000)]
[webkit]Debug Build Bot failure
https://bugs.webkit.org/show_bug.cgi?id=70222

Patch by Vamshikrishna Yellenki <vamshi@motorola.com> on 2011-10-17
Reviewed by Xan Lopez.

* Source/autotools/symbols.filter: Corrected the filter name for getLocationAndLengthFronRange

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

10 years agoMake more :visited pseudo class tests work
antti@apple.com [Mon, 17 Oct 2011 10:38:02 +0000 (10:38 +0000)]
Make more :visited pseudo class tests work
https://bugs.webkit.org/show_bug.cgi?id=70224

Reviewed by Andreas Kling.

Link <a href=""> is always considered visited so we can use that in tests that try to apply :visited.

Mac results only, requires rebaselining of other platforms.

* css3/selectors3/html/css3-modsel-17.html:
* css3/selectors3/html/css3-modsel-61.html:
* css3/selectors3/xhtml/css3-modsel-17.xml:
* css3/selectors3/xhtml/css3-modsel-61.xml:
* css3/selectors3/xml/css3-modsel-17.xml:
* css3/selectors3/xml/css3-modsel-61.xml:
* fast/selectors/017.html:
* fast/selectors/061.html:
* platform/mac/css3/selectors3/html/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/html/css3-modsel-61-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-61-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-17-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-61-expected.txt:
* platform/mac/fast/selectors/017-expected.txt:
* platform/mac/fast/selectors/061-expected.txt:

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

10 years ago[Qt] Unreviewed gardening after r97598. Remove obsolete Qt 4.8 specific expected...
ossy@webkit.org [Mon, 17 Oct 2011 10:24:25 +0000 (10:24 +0000)]
[Qt] Unreviewed gardening after r97598. Remove obsolete Qt 4.8 specific expected results.

* platform/qt-4.8/tables/mozilla/bugs/bug7342-expected.png: Removed.
* platform/qt-4.8/tables/mozilla/bugs/bug7342-expected.txt: Removed.
* platform/qt-4.8/tables/mozilla/bugs/bug8950-expected.png: Removed.
* platform/qt-4.8/tables/mozilla/bugs/bug8950-expected.txt: Removed.

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

10 years ago[Chromium] Test expectation update
tkent@chromium.org [Mon, 17 Oct 2011 10:23:40 +0000 (10:23 +0000)]
[Chromium] Test expectation update
https://bugs.webkit.org/show_bug.cgi?id=70219

* platform/chromium/test_expectations.txt:
Mark some tests failing until bots have test results.

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

10 years ago[Qt] Unreviewed gardening.
ossy@webkit.org [Mon, 17 Oct 2011 10:03:59 +0000 (10:03 +0000)]
[Qt] Unreviewed gardening.

* platform/qt/fast/borders/border-radius-complex-inner-expected.png: Added after r97318.
* platform/qt/fast/borders/border-radius-complex-inner-expected.txt: Added after r97318.
* platform/qt/fast/css/clip-text-in-scaled-div-expected.png: Added after r97481.
* platform/qt/fast/css/clip-text-in-scaled-div-expected.txt: Added after r97481.
* platform/qt/fast/repaint/region-painting-via-layout-expected.png: Added after r97370.
* platform/qt/fast/repaint/region-painting-via-layout-expected.txt: Added after r97370.

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

10 years ago[Qt] Unreviewed gardening after r97596.
ossy@webkit.org [Mon, 17 Oct 2011 09:51:50 +0000 (09:51 +0000)]
[Qt] Unreviewed gardening after r97596.

* platform/qt/css2.1/t0511-c21-pseud-link-02-e-expected.png:
* platform/qt/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
* platform/qt/css2.1/t0511-c21-pseud-link-03-e-expected.png:
* platform/qt/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.png:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.txt:
* platform/qt/fast/history/visited-link-background-color-expected.png:
* platform/qt/fast/history/visited-link-background-color-expected.txt:
* platform/qt/tables/mozilla/bugs/bug26553-expected.png:
* platform/qt/tables/mozilla/bugs/bug26553-expected.txt:
* platform/qt/tables/mozilla/bugs/bug46623-1-expected.png:
* platform/qt/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/qt/tables/mozilla/bugs/bug51140-expected.png:
* platform/qt/tables/mozilla/bugs/bug51140-expected.txt:
* platform/qt/tables/mozilla/bugs/bug7342-expected.png:
* platform/qt/tables/mozilla/bugs/bug7342-expected.txt:
* platform/qt/tables/mozilla/bugs/bug8950-expected.png:
* platform/qt/tables/mozilla/bugs/bug8950-expected.txt:

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

10 years agowhen CSS pseudo selectors are applied (:before and :after) the *-of-line keyboard...
commit-queue@webkit.org [Mon, 17 Oct 2011 09:18:35 +0000 (09:18 +0000)]
when CSS pseudo selectors are applied (:before and :after) the *-of-line keyboard navigation does not work
https://bugs.webkit.org/show_bug.cgi?id=10123

Patch by Rosen Dash <rosen.dash@motorola.com> on 2011-10-17
Reviewed by Ryosuke Niwa.

Source/WebCore:

This patch addresses folllowing two issues:
1. When CSS pseudo elements are before or after is used with content attribute containing single character
   at the start/end of text and we try to move cursor by right navigation key, the page freezes falling
   into an infinite loop.
2. When these elements try to insert some text between a text line, navigation by right/left arrow key is prohibited.

Tests: editing/selection/css-pseudo-element-hang.html
       editing/selection/css-pseudo-element.html

* editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
(WebCore::VisiblePosition::rightVisuallyDistinctCandidate):

LayoutTests:

* editing/selection/css-pseudo-element-expected.txt: Added.
* editing/selection/css-pseudo-element-hang-expected.txt: Added.
* editing/selection/css-pseudo-element-hang.html: Added.
* editing/selection/css-pseudo-element.html: Added.

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

10 years agoTest :visited pseudo class
antti@apple.com [Mon, 17 Oct 2011 09:15:12 +0000 (09:15 +0000)]
Test :visited pseudo class
https://bugs.webkit.org/show_bug.cgi?id=70219

Source/WebCore:

Reviewed by Andreas Kling.

Currently DRT doesn't support :visited. All tests where it should match have wrong checked in results.

- Make <a href=""> to match :visited in DRT. It already does on browsers. A number of existing tests
  for :visited use it already, the rest can be modified to use it.
- Make render tree dumps correctly dump the visited state dependent color.

* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::determineLinkStateSlowCase):
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject):

LayoutTests:

Reviewed by Andreas Kling.

Update Mac results for tests that already use <a href="">.

All other platforms need rebaselining too.

* platform/mac/css2.1/t0511-c21-pseud-link-02-e-expected.txt:
* platform/mac/css2.1/t0511-c21-pseud-link-03-e-expected.txt:
* platform/mac/fast/dom/34176-expected.txt:
* platform/mac/fast/events/reveal-link-when-focused-expected.txt:
* platform/mac/fast/history/visited-link-background-color-expected.txt:
* platform/mac/tables/mozilla/bugs/bug26553-expected.txt:
* platform/mac/tables/mozilla/bugs/bug46623-1-expected.txt:
* platform/mac/tables/mozilla/bugs/bug51140-expected.txt:
* platform/mac/tables/mozilla/bugs/bug7342-expected.txt:
* platform/mac/tables/mozilla/bugs/bug8950-expected.txt:

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

10 years ago[Chromium] test expectation update
tkent@chromium.org [Mon, 17 Oct 2011 09:04:20 +0000 (09:04 +0000)]
[Chromium] test expectation update
https://bugs.webkit.org/show_bug.cgi?id=69624

* platform/chromium/test_expectations.txt:
Correct expectation of zoom-animator-scale-test2.html.

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

10 years agoAvoid leaking document when leaving google.com due to geolocation
satish@chromium.org [Mon, 17 Oct 2011 09:02:19 +0000 (09:02 +0000)]
Avoid leaking document when leaving google.com due to geolocation
permission request.
https://bugs.webkit.org/show_bug.cgi?id=58027

Reviewed by Kenneth Rohde Christiansen.

* page/Geolocation.cpp:
(WebCore::Geolocation::Watchers::find): added
(WebCore::Geolocation::reset): cleared all pending notifiers.
(WebCore::Geolocation::clearWatch): removed from pending notifier set.
* page/Geolocation.h:
(WebCore::Geolocation::Watchers::find): added

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

10 years agoInterpreter build fix after r97436, r97506, r97532 and r97537.
paroga@webkit.org [Mon, 17 Oct 2011 09:01:14 +0000 (09:01 +0000)]
Interpreter build fix after r97436, r97506, r97532 and r97537.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):

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

10 years ago[WebKit2][gtk] Rename WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL to WEBKIT_POLICY_ERROR_CANN...
commit-queue@webkit.org [Mon, 17 Oct 2011 08:58:15 +0000 (08:58 +0000)]
[WebKit2][gtk] Rename WEBKIT_POLICY_ERROR_CANNOT_SHOW_URL to WEBKIT_POLICY_ERROR_CANNOT_SHOW_URI
https://bugs.webkit.org/show_bug.cgi?id=70040

Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-10-17
Reviewed by Martin Robinson.

* UIProcess/API/gtk/WebKitError.cpp:
* UIProcess/API/gtk/WebKitError.h:

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

10 years agoFix clang WebKitGTK+ build.
commit-queue@webkit.org [Mon, 17 Oct 2011 07:51:55 +0000 (07:51 +0000)]
Fix clang WebKitGTK+ build.

Patch by Andrei Lavreniyuk <andy.lavr@gmail.com> on 2011-10-17
Reviewed by Martin Robinson.

* plugins/gtk/PluginViewGtk.cpp:

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

10 years ago[Chromium] Update test expectation.
tkent@chromium.org [Mon, 17 Oct 2011 07:20:00 +0000 (07:20 +0000)]
[Chromium] Update test expectation.
https://bugs.webkit.org/show_bug.cgi?id=70013

* platform/chromium/test_expectations.txt:
Add more cavas test crashes on Windows GPU.

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

10 years agoAlways disable ENABLE(ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL) and delete associated code
abarth@webkit.org [Mon, 17 Oct 2011 06:32:16 +0000 (06:32 +0000)]
Always disable ENABLE(ON_FIRST_TEXTAREA_FOCUS_SELECT_ALL) and delete associated code
https://bugs.webkit.org/show_bug.cgi?id=70216

Reviewed by Eric Seidel.

Source/JavaScriptCore:

* wtf/Platform.h:

Source/WebCore:

No port enables this feature.  It was added for the previous Android
port (and should have been an editing behavior in any case).

* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::updateFocusAppearance):

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

10 years ago[chromium] Rebaseline layout test zoom-animator-scale-test2.html for win, mac
wjmaclean@chromium.org [Mon, 17 Oct 2011 06:29:29 +0000 (06:29 +0000)]
[chromium] Rebaseline layout test zoom-animator-scale-test2.html for win, mac
https://bugs.webkit.org/show_bug.cgi?id=69624

Reviewed by Kent Tamura.

Also modifies timeout in zoom-animator-scale-test2.html to try and reduce flake, generate
win baselines.

* platform/chromium-gpu-win/platform/chromium/compositing/zoom-animator-scale-test2-expected.png: Added.
* platform/chromium/compositing/zoom-animator-scale-test2.html:
* platform/chromium/test_expectations.txt:

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

10 years agoExpose rangeFromLocationAndLength and locationAndLengthFromRange via internals object
rniwa@webkit.org [Mon, 17 Oct 2011 06:05:00 +0000 (06:05 +0000)]
Expose rangeFromLocationAndLength and locationAndLengthFromRange via internals object
https://bugs.webkit.org/show_bug.cgi?id=68330

Reviewed by Hajime Morita.

Source/WebCore:

Add rangeFromLocationAndLength, locationFromRange, and lengthFromRange to window.internals.

Test: editing/text-iterator/range-to-from-location-and-length.html

* WebCore.exp.in:
* testing/Internals.cpp:
(WebCore::Internals::scrollElementToRect):
(WebCore::Internals::rangeFromLocationAndLength):
(WebCore::Internals::locationFromRange):
(WebCore::Internals::lengthFromRange):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

Add a basic test that uses internals.rangeFromLocationAndLength, internals.locationFromRange,
and internals.lengthFromRange.

* editing/text-iterator/range-to-from-location-and-length-expected.txt: Added.
* editing/text-iterator/range-to-from-location-and-length.html: Added.

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

10 years agoGenerate MessageChannel constructor by [Constructor] IDL
haraken@chromium.org [Mon, 17 Oct 2011 06:02:33 +0000 (06:02 +0000)]
Generate MessageChannel constructor by [Constructor] IDL
https://bugs.webkit.org/show_bug.cgi?id=70214

Reviewed by Adam Barth.

This patch generates an MessageChannel constructor for JSC by [Constructor] IDL,
but V8 is still using a custom constructor since the V8 constructor requires special logic.

Tests: fast/dom/global-constructors.html
       fast/events/message-port.html
       fast/events/message-port-no-wrapper.html
       fast/dom/Window/window-postmessage-args.html

* bindings/js/JSMessageChannelCustom.cpp: Removed the MessageChannel constructor.
* dom/MessageChannel.idl: Generates the MessageChannel constructor for JSC.

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

10 years ago[Mac] fontForSelection and styleForSelectionStart should be moved to EditorMac
rniwa@webkit.org [Mon, 17 Oct 2011 05:44:50 +0000 (05:44 +0000)]
[Mac] fontForSelection and styleForSelectionStart should be moved to EditorMac
https://bugs.webkit.org/show_bug.cgi?id=70114

Reviewed by Hajime Morita.

Moved fontForSelection and styleForSelectionStart from Editor to EditorMac
and made styleForSelectionStart static local.

* editing/Editor.cpp:
* editing/Editor.h:
* editing/mac/EditorMac.mm:
(WebCore::styleForSelectionStart):
(WebCore::Editor::fontForSelection):
(WebCore::Editor::fontAttributesForSelectionStart):

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

10 years agoGenerate EventSource constructor for JSC by [Constructor] IDL
haraken@chromium.org [Mon, 17 Oct 2011 05:06:15 +0000 (05:06 +0000)]
Generate EventSource constructor for JSC by [Constructor] IDL
https://bugs.webkit.org/show_bug.cgi?id=70212

Reviewed by Adam Barth.

Removed JSEventSourceCustom.cpp.

Tests: fast/dom/global-constructors.html
       fast/eventsource/eventsource-constructor.html
       fast/eventsource/eventsource-attribute-listeners.html

* GNUmakefile.list.am: Removed JSEventSourceCustom.cpp.
* UseJSC.cmake: Ditto.
* WebCore.gypi: Ditto.
* WebCore.pro: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* bindings/js/JSBindingsAllInOne.cpp: Ditto.
* bindings/js/JSEventSourceCustom.cpp: Removed this file.
* page/EventSource.idl: Removed 'JSCustomConstructor' IDL.

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

10 years agoInline CSSPrimitiveValue::isQuirkValue() as non-virtual function
commit-queue@webkit.org [Mon, 17 Oct 2011 04:27:09 +0000 (04:27 +0000)]
Inline CSSPrimitiveValue::isQuirkValue() as non-virtual function
https://bugs.webkit.org/show_bug.cgi?id=64865

Patch by David Barr <davidbarr@chromium.org> on 2011-10-16
Reviewed by Darin Adler.

Based on profiling and patch from:
Tamas Czene <Czene.Tamas@stud.u-szeged.hu>

This is expected to produce a small performance progression.
Additional memory overhead is avoided by using spare bits.
CSSQuirkPrimitiveValue is removed as it becomes just a factory.

* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.order:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValidPrimitive):
* css/CSSParserValues.cpp:
(WebCore::CSSParserValue::createCSSValue):
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* css/CSSPrimitiveValue.h:
(WebCore::CSSPrimitiveValue::createAllowingMarginQuirk):
Moved from CSSQuirkPrimitiveValue::create.
(WebCore::CSSPrimitiveValue::isQuirkValue):
* css/CSSQuirkPrimitiveValue.h: Removed.
* css/SVGCSSParser.cpp:
(WebCore::CSSParser::parseSVGValue):

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

10 years agoUpdate test exepctations.
tkent@chromium.org [Mon, 17 Oct 2011 04:03:37 +0000 (04:03 +0000)]
Update test exepctations.

- Add baseline files for new tests
- Update for Skia focus ring change
- Update for Mac spelling underline change
- Optimize test results for them

* css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Renamed from LayoutTests/platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-expected.txt.
* css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Renamed from LayoutTests/platform/gtk/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt.
* editing/deleting/delete-3959464-fix-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-3959464-fix-expected.txt.
* editing/deleting/delete-block-contents-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-block-contents-003-expected.txt.
* editing/deleting/delete-trailing-ws-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-trailing-ws-002-expected.txt.
* editing/deleting/delete-ws-fixup-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/deleting/delete-ws-fixup-001-expected.txt.
* editing/inserting/insert-br-004-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-br-004-expected.txt.
* editing/inserting/insert-br-005-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-br-005-expected.txt.
* editing/inserting/insert-br-007-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-br-007-expected.txt.
* editing/inserting/insert-div-007-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-007-expected.txt.
* editing/inserting/insert-div-012-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-012-expected.txt.
* editing/inserting/insert-div-013-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-013-expected.txt.
* editing/inserting/insert-div-014-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-014-expected.txt.
* editing/inserting/insert-div-015-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-015-expected.txt.
* editing/inserting/insert-div-016-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-016-expected.txt.
* editing/inserting/insert-div-017-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-017-expected.txt.
* editing/inserting/insert-div-018-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-018-expected.txt.
* editing/inserting/insert-div-019-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-019-expected.txt.
* editing/inserting/insert-div-020-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-020-expected.txt.
* editing/inserting/insert-div-022-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-022-expected.txt.
* editing/inserting/insert-div-025-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-025-expected.txt.
* editing/inserting/insert-div-027-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-div-027-expected.txt.
* editing/inserting/insert-tab-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-tab-002-expected.txt.
* editing/inserting/insert-tab-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/insert-tab-003-expected.txt.
* editing/inserting/return-key-with-selection-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/return-key-with-selection-001-expected.txt.
* editing/inserting/return-key-with-selection-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/return-key-with-selection-002-expected.txt.
* editing/inserting/return-key-with-selection-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/return-key-with-selection-003-expected.txt.
* editing/inserting/typing-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/typing-002-expected.txt.
* editing/inserting/typing-around-br-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/inserting/typing-around-br-001-expected.txt.
* editing/pasteboard/paste-text-013-expected.txt: Removed.
* editing/pasteboard/paste-text-019-expected.txt: Renamed from LayoutTests/platform/gtk/editing/pasteboard/paste-text-019-expected.txt.
* editing/selection/extend-by-word-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/extend-by-word-001-expected.txt.
* editing/selection/move-backwords-by-word-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-backwords-by-word-001-expected.txt.
* editing/selection/move-by-character-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-by-character-001-expected.txt.
* editing/selection/move-by-line-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-by-line-001-expected.txt.
* editing/selection/move-by-word-001-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/move-by-word-001-expected.txt.
* editing/style/block-styles-007-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/block-styles-007-expected.txt.
* editing/style/create-block-for-style-002-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-002-expected.txt.
* editing/style/create-block-for-style-003-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-003-expected.txt.
* editing/style/create-block-for-style-004-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-004-expected.txt.
* editing/style/create-block-for-style-006-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-006-expected.txt.
* editing/style/create-block-for-style-008-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-008-expected.txt.
* editing/style/create-block-for-style-009-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-009-expected.txt.
* editing/style/create-block-for-style-011-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-011-expected.txt.
* editing/style/create-block-for-style-012-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-012-expected.txt.
* editing/style/create-block-for-style-013-expected.txt: Renamed from LayoutTests/platform/gtk/editing/style/create-block-for-style-013-expected.txt.
* platform/chromium-cg-mac-leopard/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-3928305-fix-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-3959464-fix-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-trailing-ws-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/deleting/delete-ws-fixup-002-expected.png:
* platform/chromium-cg-mac-leopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/execCommand/insertHorizontalRule-expected.png:
* platform/chromium-cg-mac-leopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-br-004-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-br-005-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-br-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-012-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-013-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-014-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-015-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-016-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-017-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-018-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-019-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-020-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-022-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-025-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-div-027-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-tab-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/insert-text-with-newlines-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/return-key-with-selection-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/return-key-with-selection-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/return-key-with-selection-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/typing-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/inserting/typing-around-br-001-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/cut-text-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-after-delete-1-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-after-delete-2-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-after-delete-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-cg-mac-leopard/editing/pasteboard/paste-text-013-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/paste-text-014-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/pasteboard/paste-text-019-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/13804-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/5234383-1-expected.png:
* platform/chromium-cg-mac-leopard/editing/selection/5234383-2-expected.png:
* platform/chromium-cg-mac-leopard/editing/selection/extend-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-backwords-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-by-character-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/move-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/selection/select-from-textfield-outwards-expected.png:
* platform/chromium-cg-mac-leopard/editing/selection/unrendered-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/spelling/inline_spelling_markers-expected.png:
* platform/chromium-cg-mac-leopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/block-styles-007-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-002-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-003-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-004-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-006-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-008-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-009-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-011-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-012-expected.png: Added.
* platform/chromium-cg-mac-leopard/editing/style/create-block-for-style-013-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-3928305-fix-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-3959464-fix-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-trailing-ws-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-br-004-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-br-005-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-br-007-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-007-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-012-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-013-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-014-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-015-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-016-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-017-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-018-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-019-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-020-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-022-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-025-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-div-027-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-tab-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-text-with-newlines-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/return-key-with-selection-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/return-key-with-selection-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/return-key-with-selection-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/typing-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/typing-around-br-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/cut-text-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-013-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-014-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-019-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/13804-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/5234383-1-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/5234383-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/extend-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-backwords-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-by-character-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/move-by-word-001-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/select-from-textfield-outwards-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/selection/unrendered-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/spelling/inline_spelling_markers-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/block-styles-007-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-002-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-003-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-004-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-006-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-008-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-009-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-011-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-012-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/style/create-block-for-style-013-expected.png: Added.
* platform/chromium-cg-mac/editing/deleting/delete-tab-003-expected.png: Removed.
* platform/chromium-cg-mac/editing/deleting/delete-ws-fixup-001-expected.png: Removed.
* platform/chromium-cg-mac/editing/deleting/delete-ws-fixup-002-expected.png: Removed.
* platform/chromium-cg-mac/editing/inserting/insert-tab-003-expected.png: Removed.
* platform/chromium-cg-mac/editing/inserting/typing-around-br-001-expected.png: Removed.
* platform/chromium-cg-mac/editing/pasteboard/merge-after-delete-1-expected.png: Removed.
* platform/chromium-cg-mac/editing/pasteboard/merge-after-delete-2-expected.png: Removed.
* platform/chromium-cg-mac/editing/pasteboard/merge-after-delete-expected.png: Removed.
* platform/chromium-cg-mac/editing/selection/5234383-1-expected.png: Removed.
* platform/chromium-cg-mac/editing/selection/5234383-2-expected.png: Removed.
* platform/chromium-cg-mac/editing/selection/select-from-textfield-outwards-expected.png: Removed.
* platform/chromium-cg-mac/editing/spelling/inline_spelling_markers-expected.png: Removed.
* platform/chromium-cg-mac/editing/style/create-block-for-style-006-expected.png: Removed.
* platform/chromium-cg-mac/editing/style/create-block-for-style-011-expected.png: Removed.
* platform/chromium-cg-mac/editing/style/create-block-for-style-012-expected.png: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Removed.
* platform/chromium-linux/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Removed.
* platform/chromium-mac-leopard/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-mac-leopard/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-3928305-fix-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-mac-leopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
* platform/chromium-mac-leopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-mac-leopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-mac-leopard/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-mac-leopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-mac-leopard/editing/pasteboard/paste-text-013-expected.png: Added.
* platform/chromium-mac-leopard/editing/pasteboard/paste-text-014-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/13804-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/5234383-1-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/5234383-2-expected.png: Added.
* platform/chromium-mac-leopard/editing/selection/select-from-textfield-outwards-expected.png: Added.
* platform/chromium-mac-leopard/editing/spelling/inline_spelling_markers-expected.png: Added.
* platform/chromium-mac-leopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-mac-leopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-3928305-fix-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/deleting/delete-3928305-fix-expected.png.
* platform/chromium-mac-snowleopard/editing/deleting/delete-3959464-fix-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-and-undo-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-block-contents-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-contiguous-ws-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-tab-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-to-select-table-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-trailing-ws-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-ws-fixup-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/deleting/delete-ws-fixup-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/execCommand/5569741-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/execCommand/insert-list-and-stitch-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/execCommand/insertHorizontalRule-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/5418891-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/editing-empty-divs-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-br-004-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-br-005-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-br-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-007-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-007-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-012-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-012-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-013-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-013-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-014-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-014-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-015-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-015-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-016-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-016-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-017-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-017-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-018-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-018-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-019-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-019-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-020-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-020-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-022-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-022-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-025-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-div-027-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/inserting/insert-div-027-expected.png.
* platform/chromium-mac-snowleopard/editing/inserting/insert-paragraph-02-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-paragraph-03-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-tab-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-tab-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-text-with-newlines-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/paragraph-separator-01-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/paragraph-separator-02-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/paragraph-separator-03-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/return-key-with-selection-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/return-key-with-selection-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/return-key-with-selection-003-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/typing-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/inserting/typing-around-br-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/4242293-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/8145-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/cut-text-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-after-delete-1-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-after-delete-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-after-delete-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-013-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/pasteboard/paste-text-013-expected.png.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-014-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/pasteboard/paste-text-014-expected.png.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-019-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/13804-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/5234383-1-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/5234383-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/extend-by-word-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-backwords-by-word-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-by-character-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-by-line-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/move-by-word-001-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/select-from-textfield-outwards-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/selection/unrendered-002-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/spelling/inline_spelling_markers-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/spelling/inline_spelling_markers-expected.png.
* platform/chromium-mac-snowleopard/editing/spelling/spelling-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/style/5046875-2-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/style/block-styles-007-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-002-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-002-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-003-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-003-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-004-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-004-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-006-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-006-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-008-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-008-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-009-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-009-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-011-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-011-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-012-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-012-expected.png.
* platform/chromium-mac-snowleopard/editing/style/create-block-for-style-013-expected.png: Renamed from LayoutTests/platform/chromium-mac/editing/style/create-block-for-style-013-expected.png.
* platform/chromium-mac/editing/deleting/delete-3959464-fix-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-and-undo-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-block-contents-003-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-contiguous-ws-001-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-tab-002-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-tab-003-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-to-select-table-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-trailing-ws-002-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-ws-fixup-001-expected.png: Removed.
* platform/chromium-mac/editing/deleting/delete-ws-fixup-002-expected.png: Removed.
* platform/chromium-mac/editing/execCommand/5569741-expected.png: Removed.
* platform/chromium-mac/editing/execCommand/insert-list-and-stitch-expected.png: Removed.
* platform/chromium-mac/editing/execCommand/insertHorizontalRule-expected.png: Removed.
* platform/chromium-mac/editing/inserting/5418891-expected.png: Removed.
* platform/chromium-mac/editing/inserting/editing-empty-divs-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-br-004-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-br-005-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-br-007-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-div-025-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-paragraph-02-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-paragraph-03-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-tab-002-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-tab-003-expected.png: Removed.
* platform/chromium-mac/editing/inserting/insert-text-with-newlines-expected.png: Removed.
* platform/chromium-mac/editing/inserting/paragraph-separator-01-expected.png: Removed.
* platform/chromium-mac/editing/inserting/paragraph-separator-02-expected.png: Removed.
* platform/chromium-mac/editing/inserting/paragraph-separator-03-expected.png: Removed.
* platform/chromium-mac/editing/inserting/return-key-with-selection-001-expected.png: Removed.
* platform/chromium-mac/editing/inserting/return-key-with-selection-002-expected.png: Removed.
* platform/chromium-mac/editing/inserting/return-key-with-selection-003-expected.png: Removed.
* platform/chromium-mac/editing/inserting/typing-002-expected.png: Removed.
* platform/chromium-mac/editing/inserting/typing-around-br-001-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/4242293-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/8145-2-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/cut-text-001-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-1-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-2-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/merge-after-delete-expected.png: Removed.
* platform/chromium-mac/editing/pasteboard/paste-text-019-expected.png: Removed.
* platform/chromium-mac/editing/selection/13804-expected.png: Removed.
* platform/chromium-mac/editing/selection/5234383-1-expected.png: Removed.
* platform/chromium-mac/editing/selection/5234383-2-expected.png: Removed.
* platform/chromium-mac/editing/selection/extend-by-word-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-backwords-by-word-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-by-character-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-by-line-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/move-by-word-001-expected.png: Removed.
* platform/chromium-mac/editing/selection/select-from-textfield-outwards-expected.png: Removed.
* platform/chromium-mac/editing/selection/unrendered-002-expected.png: Removed.
* platform/chromium-mac/editing/spelling/spelling-expected.png: Removed.
* platform/chromium-mac/editing/style/5046875-2-expected.png: Removed.
* platform/chromium-mac/editing/style/block-styles-007-expected.png: Removed.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.png: Added.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Added.
* platform/chromium-win/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.png: Added.
* platform/chromium-win/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/height-width-inline-table-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/height-width-inline-table-001-expected.txt.
* platform/chromium-win/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium-win/css2.1/20110323/height-width-table-001-expected.txt: Renamed from LayoutTests/platform/chromium-linux/css2.1/20110323/height-width-table-001-expected.txt.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-001-expected.png: Added.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-001-ref-expected.png: Added.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-007-expected.png: Added.
* platform/chromium/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.png: Added.
* platform/chromium/css2.1/20110323/height-width-inline-table-001-expected.png: Added.
* platform/chromium/css2.1/20110323/height-width-table-001-expected.png: Added.
* platform/chromium/test_expectations.txt:
* platform/mac/editing/deleting/delete-3959464-fix-expected.txt: Removed.
* platform/mac/editing/deleting/delete-block-contents-003-expected.txt: Removed.
* platform/mac/editing/deleting/delete-trailing-ws-002-expected.txt: Removed.
* platform/mac/editing/deleting/delete-ws-fixup-001-expected.txt: Removed.
* platform/mac/editing/inserting/insert-br-004-expected.txt: Removed.
* platform/mac/editing/inserting/insert-br-005-expected.txt: Removed.
* platform/mac/editing/inserting/insert-br-007-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-007-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-012-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-013-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-014-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-015-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-016-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-017-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-018-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-019-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-020-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-022-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-025-expected.txt: Removed.
* platform/mac/editing/inserting/insert-div-027-expected.txt: Removed.
* platform/mac/editing/inserting/insert-tab-002-expected.txt: Removed.
* platform/mac/editing/inserting/insert-tab-003-expected.txt: Removed.
* platform/mac/editing/inserting/return-key-with-selection-001-expected.txt: Removed.
* platform/mac/editing/inserting/return-key-with-selection-002-expected.txt: Removed.
* platform/mac/editing/inserting/return-key-with-selection-003-expected.txt: Removed.
* platform/mac/editing/inserting/typing-002-expected.txt: Removed.
* platform/mac/editing/inserting/typing-around-br-001-expected.txt: Removed.
* platform/mac/editing/pasteboard/paste-text-019-expected.txt: Removed.
* platform/mac/editing/selection/extend-by-word-001-expected.txt: Removed.
* platform/mac/editing/selection/move-backwords-by-word-001-expected.txt: Removed.
* platform/mac/editing/selection/move-by-character-001-expected.txt: Removed.
* platform/mac/editing/selection/move-by-line-001-expected.txt: Removed.
* platform/mac/editing/selection/move-by-word-001-expected.txt: Removed.
* platform/mac/editing/style/block-styles-007-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-002-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-003-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-004-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-006-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-008-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-009-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-011-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-012-expected.txt: Removed.
* platform/mac/editing/style/create-block-for-style-013-expected.txt: Removed.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-007-expected.txt: Removed.
* platform/qt/css2.1/20110323/abspos-containing-block-initial-007-ref-expected.txt: Removed.
* platform/win/editing/inserting/insert-div-013-expected.txt: Removed.
* platform/win/editing/inserting/insert-div-015-expected.txt: Removed.
* platform/win/editing/inserting/insert-div-019-expected.txt: Removed.
* platform/win/editing/inserting/insert-paragraph-03-expected.txt: Removed.
* platform/win/editing/selection/move-by-word-001-expected.txt: Removed.
* platform/win/editing/style/create-block-for-style-008-expected.txt: Removed.

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

10 years agoGenerate XMLHttpRequest constructor for JSC by [Constructor] IDL
haraken@chromium.org [Mon, 17 Oct 2011 03:13:53 +0000 (03:13 +0000)]
Generate XMLHttpRequest constructor for JSC by [Constructor] IDL
https://bugs.webkit.org/show_bug.cgi?id=70208

Reviewed by Adam Barth.

This patch generates an XMLHttpRequest constructor for JSC by [Constructor] IDL,
but V8 is still using a custom constructor since the V8 constructor requires a special logic.

Tests: fast/dom/global-constructors.html
       fast/dom/XMLHttpRequest-constants.html
       fast/dom/xmlhttprequest-constructor-in-detached-document.html
       http/tests/security/cookies/xmlhttprequest.html

* bindings/js/JSXMLHttpRequestCustom.cpp: Removed an XMLHttpRequest custom constructor.
* bindings/scripts/CodeGeneratorV8.pm: Currently, CodeGeneratorV8.pm generates constructor code whenever [Constructor] is specified, even if [V8CustomConstructor] is specified. This is wrong. This patch fixes the condition where the constructor code is generated.
* bindings/scripts/test/V8/V8TestObj.cpp: Updated a run-binding-tests result.
* xml/XMLHttpRequest.h: Added a necessary header.
* xml/XMLHttpRequest.idl: V8 is still using a custom constructor.

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

10 years agoGenerate XSLTProcessor constructor for JSC by [Constructor] IDL.
haraken@chromium.org [Mon, 17 Oct 2011 02:02:18 +0000 (02:02 +0000)]
Generate XSLTProcessor constructor for JSC by [Constructor] IDL.
https://bugs.webkit.org/show_bug.cgi?id=70206

Reviewed by Adam Barth.

Tests: fast/xsl/xslt-processor.html
       fast/xsl/default-html.html
       fast/dom/global-constructors.html

* bindings/js/JSXSLTProcessorCustom.cpp: Removed a custom constructor.
* xml/XSLTProcessor.idl: Removed 'JSCustomConstructor'.

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

10 years ago[chromium] Remove PageAllocatorSymbian.h, OSAllocatorSymbian.cpp, gtk/ThreadingGtk...
noel.gordon@gmail.com [Mon, 17 Oct 2011 01:11:52 +0000 (01:11 +0000)]
[chromium] Remove PageAllocatorSymbian.h, OSAllocatorSymbian.cpp, gtk/ThreadingGtk.cpp from gyp project files
https://bugs.webkit.org/show_bug.cgi?id=70205

Reviewed by James Robinson.

wtf/PageAllocatorSymbian.h and wtf/OSAllocatorSymbian.cpp were removed in r97557.
wtf/gtk/ThreadingGtk.cpp was removed in r97269.

* JavaScriptCore.gypi:

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

10 years agoSupport [Constructor] IDL for JSC.
haraken@chromium.org [Sun, 16 Oct 2011 23:30:06 +0000 (23:30 +0000)]
Support [Constructor] IDL for JSC.
https://bugs.webkit.org/show_bug.cgi?id=70101

Reviewed by Adam Barth.

The spec for [Constructor] IDL is here: http://www.w3.org/TR/WebIDL/#Constructor
This patch introduced [Constructor] IDL for JSC. This patch also added
[ConstructorRaisesException] for JSC. If [ConstructorRaisesException] is specified,
a placeholder for ExceptionCode is passed to XXX::create(), like XXX::create(..., ec).

Notes:
- We do not yet support constructor overloading.
- We do not yet support [Optional] without CallWithDefaultValue for constructor arguments.

Tests: Source/WebCore/bindings/scripts/test/TestInterface.idl
       Source/WebCore/bindings/scripts/test/TestObj.idl

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader): Generates constructor declaration code to a header file, if a given DOM object has constructor.
(GenerateImplementation): Uses GenerateArgumentsCountCheck() and GenerateParametersCheck().
(GenerateArgumentsCountCheck): Splits out of GenerateImplementation() for reuse.
(GenerateParametersCheck): Splits out of GenerateImplementation() for reuse.
(GenerateConstructorDefinition): Generates constructor definition code.
* bindings/scripts/test/JS/JSTestInterface.cpp: Updated the run-binding-tests results.
(WebCore::JSTestInterfaceConstructor::constructJSTestInterface):
* bindings/scripts/test/JS/JSTestInterface.h: Ditto.
(WebCore::JSTestInterfaceConstructor::create):
(WebCore::JSTestInterfaceConstructor::createStructure):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: Ditto.
(WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h: Ditto.
(WebCore::JSTestMediaQueryListListenerConstructor::create):
(WebCore::JSTestMediaQueryListListenerConstructor::createStructure):
* bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
(WebCore::jsTestObjPrototypeFunctionVoidMethod):
(WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionIntMethod):
(WebCore::jsTestObjPrototypeFunctionIntMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionObjMethod):
(WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgs):
(WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
(WebCore::jsTestObjPrototypeFunctionSerializedValue):
(WebCore::jsTestObjPrototypeFunctionIdbKey):
(WebCore::jsTestObjPrototypeFunctionOptionsObject):
(WebCore::jsTestObjPrototypeFunctionMethodWithException):
(WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
(WebCore::jsTestObjPrototypeFunctionAddEventListener):
(WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrame):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndArg):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
(WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateVoid):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateObj):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateVoidException):
(WebCore::jsTestObjPrototypeFunctionWithScriptStateObjException):
(WebCore::jsTestObjPrototypeFunctionWithScriptExecutionContext):
(WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
(WebCore::jsTestObjPrototypeFunctionMethodWithCallbackArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithNonCallbackArgAndCallbackArg):
(WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
(WebCore::jsTestObjPrototypeFunctionConditionalMethod1):
(WebCore::jsTestObjPrototypeFunctionConditionalMethod2):
(WebCore::jsTestObjPrototypeFunctionConditionalMethod3):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod3):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod5):
(WebCore::jsTestObjPrototypeFunctionClassMethod):
(WebCore::jsTestObjPrototypeFunctionClassMethodWithOptional):
* bindings/scripts/test/JS/JSTestObj.h: Ditto.
(WebCore::JSTestObjConstructor::create):
(WebCore::JSTestObjConstructor::createStructure):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Ditto.
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h: Ditto.
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::create):
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::createStructure):

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

10 years ago[Qt] Unreviewed weekend gardening.
ossy@webkit.org [Sun, 16 Oct 2011 21:37:25 +0000 (21:37 +0000)]
[Qt] Unreviewed weekend gardening.

* platform/qt/fast/dom/Window/window-properties-expected.txt:
* platform/qt/fast/files/url-required-arguments-expected.txt: Added.

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=70186
dslomov@google.com [Sun, 16 Oct 2011 19:19:42 +0000 (19:19 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=70186
Pass MessagePortArray to JSC's SerializedScriptValue::serialize/deserialize.

Reviewed by Oliver Hunt.

* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::handlePostMessage):
(WebCore::JSDOMWindow::postMessage):
(WebCore::JSDOMWindow::webkitPostMessage):
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSHistoryCustom.cpp:
(WebCore::JSHistory::pushState):
(WebCore::JSHistory::replaceState):
* bindings/js/JSMessageEventCustom.cpp:
(WebCore::JSMessageEvent::data):
(WebCore::handleInitMessageEvent):
(WebCore::JSMessageEvent::initMessageEvent):
(WebCore::JSMessageEvent::webkitInitMessageEvent):
* bindings/js/JSMessagePortCustom.h:
(WebCore::handlePostMessage):
* bindings/js/JSPopStateEventCustom.cpp:
(WebCore::JSPopStateEvent::state):
* bindings/js/ScriptValue.cpp:
(WebCore::ScriptValue::serialize):
(WebCore::ScriptValue::deserialize):
* bindings/js/SerializedScriptValue.cpp:
(WebCore::SerializedScriptValue::create):
(WebCore::SerializedScriptValue::deserialize):
* bindings/js/SerializedScriptValue.h:

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

10 years agoREGRESSION (r96620): Float-avoiding block positioned incorrectly in right-to-left...
mitz@apple.com [Sun, 16 Oct 2011 15:55:33 +0000 (15:55 +0000)]
REGRESSION (r96620): Float-avoiding block positioned incorrectly in right-to-left block
https://bugs.webkit.org/show_bug.cgi?id=70197

Reviewed by Dave Kilzer.

Source/WebCore:

Test: fast/block/float/avoidance-rtl.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeStartPositionDeltaForChildAvoidingFloats): Changed
logicalLeftOffsetForContent() to startOffsetForContent() to get the right value in the
right-to-left case.

LayoutTests:

* fast/block/float/avoidance-rtl-expected.png: Added.
* fast/block/float/avoidance-rtl-expected.txt: Added.
* fast/block/float/avoidance-rtl.html: Added.

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

10 years agoAlways enable ENABLE(DOM_STORAGE)
abarth@webkit.org [Sun, 16 Oct 2011 10:28:50 +0000 (10:28 +0000)]
Always enable ENABLE(DOM_STORAGE)
https://bugs.webkit.org/show_bug.cgi?id=70189

Reviewed by Eric Seidel.

.:

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsWinCE.cmake:
* Source/cmakeconfig.h.cmake:
* configure.ac:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

As discussed on webkit-dev, we are reducing the complexity of WebKit by
removing unnecessary configuration options.  DOMStorage is not a core
part of the web platform.  It should always be enabled.

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.am:
* GNUmakefile.list.am:
* UseJSC.cmake:
* WebCore.exp.in:
* WebCore.pro:
* bindings/js/JSEventCustom.cpp:
* bindings/js/JSInjectedScriptHostCustom.cpp:
* bindings/js/JSStorageCustom.cpp:
* bindings/v8/custom/V8EventCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
(WebCore::V8InjectedScriptHost::storageIdCallback):
* bindings/v8/custom/V8StorageCustom.cpp:
* dom/Document.cpp:
(WebCore::Document::createEvent):
* dom/Event.cpp:
(WebCore::Event::isStorageEvent):
* dom/Event.h:
* dom/Node.cpp:
* features.pri:
* inspector/InjectedScriptHost.cpp:
(WebCore::InjectedScriptHost::InjectedScriptHost):
(WebCore::InjectedScriptHost::disconnect):
(WebCore::InjectedScriptHost::storageIdImpl):
* inspector/InjectedScriptHost.h:
(WebCore::InjectedScriptHost::init):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::connectFrontend):
(WebCore::InspectorController::disconnectFrontend):
(WebCore::InspectorController::restoreInspectorStateFromCookie):
* inspector/InspectorController.h:
* inspector/InspectorDOMStorageAgent.cpp:
* inspector/InspectorDOMStorageResource.cpp:
* inspector/InspectorDOMStorageResource.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::didCommitLoadImpl):
(WebCore::InspectorInstrumentation::didUseDOMStorageImpl):
* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::didUseDOMStorage):
* inspector/InstrumentingAgents.h:
(WebCore::InstrumentingAgents::InstrumentingAgents):
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
(WebCore::WorkerInspectorController::connectFrontend):
* inspector/generate-inspector-idl:
* page/Chrome.cpp:
* page/DOMWindow.cpp:
(WebCore::DOMWindow::~DOMWindow):
(WebCore::DOMWindow::clear):
(WebCore::DOMWindow::localStorage):
* page/DOMWindow.h:
* page/DOMWindow.idl:
* page/Navigator.cpp:
(WebCore::Navigator::getStorageUpdates):
* page/Navigator.h:
* page/Navigator.idl:
* page/Page.cpp:
* page/Page.h:
* page/PageGroup.cpp:
(WebCore::PageGroup::closeLocalStorage):
* page/PageGroup.h:
* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setSessionStorageQuota):
* page/Settings.h:
(WebCore::Settings::sessionStorageQuota):
* storage/LocalStorageTask.cpp:
* storage/LocalStorageTask.h:
* storage/LocalStorageThread.cpp:
* storage/LocalStorageThread.h:
* storage/Storage.cpp:
* storage/Storage.h:
* storage/Storage.idl:
* storage/StorageArea.h:
* storage/StorageAreaImpl.cpp:
* storage/StorageAreaImpl.h:
* storage/StorageAreaSync.cpp:
(WebCore::StorageAreaSync::scheduleSync):
* storage/StorageAreaSync.h:
* storage/StorageEvent.cpp:
* storage/StorageEvent.h:
* storage/StorageEvent.idl:
* storage/StorageEventDispatcher.cpp:
* storage/StorageEventDispatcher.h:
* storage/StorageMap.cpp:
* storage/StorageMap.h:
* storage/StorageNamespace.cpp:
* storage/StorageNamespace.h:
* storage/StorageNamespaceImpl.cpp:
* storage/StorageNamespaceImpl.h:
* storage/StorageSyncManager.cpp:
(WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
* storage/StorageSyncManager.h:
* storage/StorageTracker.cpp:
* storage/StorageTracker.h:

Source/WebKit/chromium:

* features.gypi:
* src/StorageAreaProxy.cpp:
* src/StorageAreaProxy.h:
* src/StorageEventDispatcherChromium.cpp:
* src/StorageEventDispatcherImpl.cpp:
* src/StorageEventDispatcherImpl.h:
* src/StorageNamespaceProxy.cpp:
* src/StorageNamespaceProxy.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableLocalStorage):
(WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
(WebKit::WebRuntimeFeatures::enableSessionStorage):
(WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
* src/WebStorageAreaImpl.cpp:
* src/WebStorageAreaImpl.h:
* src/WebStorageEventDispatcherImpl.cpp:
* src/WebStorageEventDispatcherImpl.h:
* src/WebStorageNamespaceImpl.cpp:
* src/WebStorageNamespaceImpl.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:
* Storage/WebStorageManager.mm:
* Storage/WebStorageManagerInternal.h:
* Storage/WebStorageTrackerClient.h:
* Storage/WebStorageTrackerClient.mm:
(WebStorageTrackerClient::dispatchDidModifyOrigin):
* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):

Tools:

* Scripts/build-webkit:
* waf/build/settings.py:

WebKitLibraries:

* win/tools/vsprops/FeatureDefines.vsprops:
* win/tools/vsprops/FeatureDefinesCairo.vsprops:

LayoutTests:

* fast/events/event-creation.html:

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

10 years agoRename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
abarth@webkit.org [Sun, 16 Oct 2011 05:59:12 +0000 (05:59 +0000)]
Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
https://bugs.webkit.org/show_bug.cgi?id=70191

Reviewed by Daniel Bates.

Source/WebCore:

SKIA_TEXT is not a WebKit feature.  It's a macro that determines
whether we use a feature of the underly library (Skia).

* platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::Font::drawComplexText):
* platform/graphics/chromium/UniscribeHelper.cpp:
(WebCore::UniscribeHelper::draw):
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
* platform/graphics/skia/PlatformContextSkia.h:
* platform/graphics/skia/SkiaFontWin.cpp:
* platform/graphics/skia/SkiaFontWin.h:

Source/WebKit/chromium:

* features.gypi:

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

10 years ago2011-10-15 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Sun, 16 Oct 2011 05:00:15 +0000 (05:00 +0000)]
2011-10-15  Eric Carlson  <eric.carlson@apple.com>

        Make VIDEO_TRACK compile with warnings as errors enabled
        https://bugs.webkit.org/show_bug.cgi?id=70188

        Reviewed by Filip Pizlo.

        No new tests, no functionality changed.

        * html/TextTrackCueList.h: Fix an include.
        * html/track/CueParser.cpp:
        (WebCore::CueParser::supportsType): Remove unused param.
        * html/track/CueParser.h:
        (WebCore::CueParserClient::~CueParserClient): Add virtual destructor.
        * html/track/CueParserPrivate.h:
        (WebCore::CueParserPrivateClient::~CueParserPrivateClient): Ditto.
        * loader/CueLoader.h:
        (WebCore::CueLoaderClient::~CueLoaderClient): Ditto.
        (WebCore::CueLoader::~CueLoader): Ditto.

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

10 years agoRename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
abarth@webkit.org [Sun, 16 Oct 2011 04:35:21 +0000 (04:35 +0000)]
Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
https://bugs.webkit.org/show_bug.cgi?id=70194

Reviewed by Daniel Bates.

Source/WebCore:

TILED_BACKING_STORE isn't a web platform feature.  It's an
implementation strategy for WebKit that's used by some ports
and not by others.

* features.pri:
* loader/EmptyClients.h:
* page/Chrome.cpp:
* page/Chrome.h:
* page/ChromeClient.h:
* page/Frame.cpp:
(WebCore::Frame::Frame):
(WebCore::Frame::setView):
* page/Frame.h:
* page/FrameView.cpp:
(WebCore::FrameView::repaintContentRectangle):
(WebCore::FrameView::doDeferredRepaints):
* page/Settings.cpp:
(WebCore::Settings::setTiledBackingStoreEnabled):
* platform/HostWindow.h:
* platform/ScrollView.cpp:
(WebCore::ScrollView::setScrollPosition):
* platform/graphics/Tile.h:
* platform/graphics/TiledBackingStore.cpp:
* platform/graphics/TiledBackingStore.h:
* platform/graphics/TiledBackingStoreBackend.h:
* platform/graphics/TiledBackingStoreClient.h:
* platform/graphics/qt/GraphicsLayerQt.cpp:
(WebCore::GraphicsLayerQtImpl::GraphicsLayerQtImpl):
(WebCore::GraphicsLayerQtImpl::~GraphicsLayerQtImpl):
(WebCore::GraphicsLayerQtImpl::recache):
(WebCore::GraphicsLayerQtImpl::paint):
* platform/graphics/qt/TileQt.cpp:
* platform/graphics/qt/TileQt.h:
* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::computeTiles):
(WebCore::TextureMapperNode::renderContent):
(WebCore::TextureMapperNode::paintSelf):
(WebCore::TextureMapperNode::syncCompositingStateSelf):
* platform/graphics/texmap/TextureMapperNode.h:
(WebCore::TextureMapperNode::State::State):

Source/WebKit/qt:

* Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::_q_scaleChanged):
(QGraphicsWebView::QGraphicsWebView):
(QGraphicsWebView::paint):
(QGraphicsWebView::isTiledBackingStoreFrozen):
(QGraphicsWebView::setTiledBackingStoreFrozen):
* Api/qwebframe.cpp:
* Api/qwebframe_p.h:
* Api/qwebpage.cpp:
(QWebPagePrivate::dynamicPropertyChangeEvent):
* Api/qwebsettings.cpp:
(QWebSettingsPrivate::apply):
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::invalidateWindow):
* WebCoreSupport/ChromeClientQt.h:
* WebCoreSupport/PageClientQt.cpp:
(WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
* WebCoreSupport/PageClientQt.h:
* tests/qgraphicswebview/tst_qgraphicswebview.cpp:

Source/WebKit2:

* Shared/DrawingAreaInfo.h:
* UIProcess/DrawingAreaProxy.h:
* UIProcess/DrawingAreaProxy.messages.in:
* UIProcess/PageClient.h:
* UIProcess/TiledDrawingAreaProxy.cpp:
* UIProcess/TiledDrawingAreaProxy.h:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::contentsSizeChanged):
* WebProcess/WebCoreSupport/WebChromeClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
* WebProcess/WebPage/DrawingArea.cpp:
(WebKit::DrawingArea::create):
* WebProcess/WebPage/DrawingArea.h:
* WebProcess/WebPage/DrawingArea.messages.in:
* WebProcess/WebPage/TiledBackingStoreRemoteTile.cpp:
* WebProcess/WebPage/TiledBackingStoreRemoteTile.h:
* WebProcess/WebPage/TiledDrawingArea.cpp:
* WebProcess/WebPage/TiledDrawingArea.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setSize):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

Tools:

* Scripts/build-webkit:

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

10 years agoRemove unused ENABLE(SKIA_GPU)
abarth@webkit.org [Sun, 16 Oct 2011 04:19:55 +0000 (04:19 +0000)]
Remove unused ENABLE(SKIA_GPU)
https://bugs.webkit.org/show_bug.cgi?id=70192

Reviewed by Daniel Bates.

There do not appear to be any references to this macro.

* features.gypi:

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

10 years agoRemove the last remnant of WBXML
abarth@webkit.org [Sun, 16 Oct 2011 03:33:30 +0000 (03:33 +0000)]
Remove the last remnant of WBXML
https://bugs.webkit.org/show_bug.cgi?id=70187

Reviewed by Daniel Bates.

The bulk of the WBXML code was removed in 2009, but we missed one block.

* platform/wince/MIMETypeRegistryWinCE.cpp:
(WebCore::initMIMETypeEntensionMap):

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

10 years agoThe s390 and s390x architectures both use 64-bit double type
commit-queue@webkit.org [Sun, 16 Oct 2011 00:54:05 +0000 (00:54 +0000)]
The s390 and s390x architectures both use 64-bit double type
that conforms to the IEEE-754 standard.

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

Patch by Dan Horák <dan@danny.cz> on 2011-10-15
Reviewed by Gavin Barraclough.

* wtf/dtoa/utils.h:

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