WebKit-https.git
9 years agoWeb Inspector: UI performance test for logging 100 messages to the console.
loislo@chromium.org [Fri, 7 Oct 2011 09:33:26 +0000 (09:33 +0000)]
Web Inspector: UI performance test for logging 100 messages to the console.
https://bugs.webkit.org/show_bug.cgi?id=69608

Reviewed by Pavel Feldman.

* inspector/performance/resources/console-append-100-lines.html: Added.

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

9 years ago2011-10-07 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Fri, 7 Oct 2011 09:27:08 +0000 (09:27 +0000)]
2011-10-07  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: also add glass pane to the frame document's body.

        * src/js/DevTools.js:

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

9 years agoMove <input type=file> tests to fast/forms/file/
tkent@chromium.org [Fri, 7 Oct 2011 09:19:07 +0000 (09:19 +0000)]
Move <input type=file> tests to fast/forms/file/
https://bugs.webkit.org/show_bug.cgi?id=69504

Reviewed by Hajime Morita.

* fast/forms/file-input-change-event-expected.txt: Removed.
* fast/forms/file-input-change-event.html: Removed.
* fast/forms/file-input-direction.html: Removed.
* fast/forms/file-input-disabled.html: Removed.
* fast/forms/file-input-hit-test-expected.txt: Removed.
* fast/forms/file-input-hit-test.html: Removed.
* fast/forms/file-input-reset-expected.html: Removed.
* fast/forms/file-input-reset.html: Removed.
* fast/forms/file/file-input-change-event-expected.txt: Copied from LayoutTests/fast/forms/file-input-change-event-expected.txt.
* fast/forms/file/file-input-change-event.html: Copied from LayoutTests/fast/forms/file-input-change-event.html.
* fast/forms/file/file-input-direction.html: Copied from LayoutTests/fast/forms/file-input-direction.html.
* fast/forms/file/file-input-disabled.html: Copied from LayoutTests/fast/forms/file-input-disabled.html.
* fast/forms/file/file-input-hit-test-expected.txt: Copied from LayoutTests/fast/forms/file-input-hit-test-expected.txt.
* fast/forms/file/file-input-hit-test.html: Copied from LayoutTests/fast/forms/file-input-hit-test.html.
* fast/forms/file/file-input-reset-expected.html: Copied from LayoutTests/fast/forms/file-input-reset-expected.html.
* fast/forms/file/file-input-reset.html: Copied from LayoutTests/fast/forms/file-input-reset.html.
* fast/forms/file/get-file-upload-expected.txt: Copied from LayoutTests/fast/forms/get-file-upload-expected.txt.
* fast/forms/file/get-file-upload.html: Copied from LayoutTests/fast/forms/get-file-upload.html.
* fast/forms/file/hidden-input-file-expected.html: Copied from LayoutTests/fast/forms/hidden-input-file.html.
* fast/forms/file/hidden-input-file.html: Copied from LayoutTests/fast/forms/hidden-input-file.html.
* fast/forms/file/input-file-directory-upload-expected.txt: Copied from LayoutTests/fast/forms/input-file-directory-upload-expected.txt.
* fast/forms/file/input-file-directory-upload.html: Copied from LayoutTests/fast/forms/input-file-directory-upload.html.
* fast/forms/file/input-file-label-expected.txt: Copied from LayoutTests/fast/forms/input-file-label-expected.txt.
* fast/forms/file/input-file-label.html: Copied from LayoutTests/fast/forms/input-file-label.html.
* fast/forms/file/input-file-not-open-without-gesture-expected.txt: Copied from LayoutTests/fast/forms/input-file-not-open-without-gesture-expected.txt.
* fast/forms/file/input-file-not-open-without-gesture.html: Copied from LayoutTests/fast/forms/input-file-not-open-without-gesture.html.
* fast/forms/file/input-file-re-render.html: Copied from LayoutTests/fast/forms/input-file-re-render.html.
* fast/forms/get-file-upload-expected.txt: Removed.
* fast/forms/get-file-upload.html: Removed.
* fast/forms/hidden-input-file.html: Removed.
* fast/forms/input-file-directory-upload-expected.txt: Removed.
* fast/forms/input-file-directory-upload.html: Removed.
* fast/forms/input-file-label-expected.txt: Removed.
* fast/forms/input-file-label.html: Removed.
* fast/forms/input-file-not-open-without-gesture-expected.txt: Removed.
* fast/forms/input-file-not-open-without-gesture.html: Removed.
* fast/forms/input-file-re-render.html: Removed.
* platform/chromium-cg-mac-leopard/fast/forms/file: Added.
* platform/chromium-cg-mac-leopard/fast/forms/file-input-direction-expected.png: Removed.
* platform/chromium-cg-mac-leopard/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/file-input-direction-expected.png.
* platform/chromium-cg-mac-leopard/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-file-re-render-expected.png.
* platform/chromium-cg-mac-leopard/fast/forms/input-file-re-render-expected.png: Removed.
* platform/chromium-cg-mac/fast/forms/file: Added.
* platform/chromium-cg-mac/fast/forms/file-input-direction-expected.png: Removed.
* platform/chromium-cg-mac/fast/forms/file-input-direction-expected.txt: Removed.
* platform/chromium-cg-mac/fast/forms/file-input-disabled-expected.png: Removed.
* platform/chromium-cg-mac/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/file-input-direction-expected.png.
* platform/chromium-cg-mac/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/file-input-direction-expected.txt.
* platform/chromium-cg-mac/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/file-input-disabled-expected.png.
* platform/chromium-cg-mac/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/input-file-re-render-expected.png.
* platform/chromium-cg-mac/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/chromium-cg-mac/fast/forms/input-file-re-render-expected.png: Removed.
* platform/chromium-linux/fast/forms/file: Added.
* platform/chromium-linux/fast/forms/file-input-direction-expected.png: Removed.
* platform/chromium-linux/fast/forms/file-input-direction-expected.txt: Removed.
* platform/chromium-linux/fast/forms/file-input-disabled-expected.png: Removed.
* platform/chromium-linux/fast/forms/file-input-disabled-expected.txt: Removed.
* platform/chromium-linux/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-direction-expected.png.
* platform/chromium-linux/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-direction-expected.txt.
* platform/chromium-linux/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-disabled-expected.png.
* platform/chromium-linux/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-disabled-expected.txt.
* platform/chromium-linux/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-file-re-render-expected.png.
* platform/chromium-linux/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-file-re-render-expected.txt.
* platform/chromium-linux/fast/forms/hidden-input-file-expected.png: Removed.
* platform/chromium-linux/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/chromium-linux/fast/forms/input-file-re-render-expected.png: Removed.
* platform/chromium-linux/fast/forms/input-file-re-render-expected.txt: Removed.
* platform/chromium-mac/fast/forms/file: Added.
* platform/chromium-mac/fast/forms/file-input-direction-expected.png: Removed.
* platform/chromium-mac/fast/forms/file-input-direction-expected.txt: Removed.
* platform/chromium-mac/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/file-input-direction-expected.png.
* platform/chromium-mac/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-mac/fast/forms/file-input-direction-expected.txt.
* platform/chromium-mac/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/input-file-re-render-expected.png.
* platform/chromium-mac/fast/forms/hidden-input-file-expected.png: Removed.
* platform/chromium-mac/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/chromium-mac/fast/forms/input-file-re-render-expected.png: Removed.
* platform/chromium-win/fast/forms/file: Added.
* platform/chromium-win/fast/forms/file-input-direction-expected.png: Removed.
* platform/chromium-win/fast/forms/file-input-direction-expected.txt: Removed.
* platform/chromium-win/fast/forms/file-input-disabled-expected.png: Removed.
* platform/chromium-win/fast/forms/file-input-disabled-expected.txt: Removed.
* platform/chromium-win/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-direction-expected.png.
* platform/chromium-win/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-direction-expected.txt.
* platform/chromium-win/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-disabled-expected.png.
* platform/chromium-win/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-disabled-expected.txt.
* platform/chromium-win/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/input-file-re-render-expected.png.
* platform/chromium-win/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/input-file-re-render-expected.txt.
* platform/chromium-win/fast/forms/hidden-input-file-expected.png: Removed.
* platform/chromium-win/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/chromium-win/fast/forms/input-file-re-render-expected.png: Removed.
* platform/chromium-win/fast/forms/input-file-re-render-expected.txt: Removed.
* platform/chromium/test_expectations.txt:
* platform/gtk/Skipped:
* platform/gtk/fast/forms/file: Added.
* platform/gtk/fast/forms/file-input-direction-expected.png: Removed.
* platform/gtk/fast/forms/file-input-direction-expected.txt: Removed.
* platform/gtk/fast/forms/file-input-disabled-expected.png: Removed.
* platform/gtk/fast/forms/file-input-disabled-expected.txt: Removed.
* platform/gtk/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/file-input-direction-expected.png.
* platform/gtk/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/file-input-direction-expected.txt.
* platform/gtk/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/file-input-disabled-expected.png.
* platform/gtk/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/file-input-disabled-expected.txt.
* platform/gtk/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/input-file-re-render-expected.png.
* platform/gtk/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/input-file-re-render-expected.txt.
* platform/gtk/fast/forms/hidden-input-file-expected.png: Removed.
* platform/gtk/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/gtk/fast/forms/input-file-re-render-expected.png: Removed.
* platform/gtk/fast/forms/input-file-re-render-expected.txt: Removed.
* platform/mac-leopard/fast/forms/file: Added.
* platform/mac-leopard/fast/forms/file-input-direction-expected.png: Removed.
* platform/mac-leopard/fast/forms/file-input-disabled-expected.png: Removed.
* platform/mac-leopard/fast/forms/file-input-disabled-expected.txt: Removed.
* platform/mac-leopard/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/mac-leopard/fast/forms/file-input-direction-expected.png.
* platform/mac-leopard/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/mac-leopard/fast/forms/file-input-disabled-expected.png.
* platform/mac-leopard/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/mac-leopard/fast/forms/file-input-disabled-expected.txt.
* platform/mac-leopard/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/mac-leopard/fast/forms/input-file-re-render-expected.png.
* platform/mac-leopard/fast/forms/hidden-input-file-expected.png: Removed.
* platform/mac-leopard/fast/forms/input-file-re-render-expected.png: Removed.
* platform/mac/Skipped:
* platform/mac/fast/forms/file: Added.
* platform/mac/fast/forms/file-input-direction-expected.png: Removed.
* platform/mac/fast/forms/file-input-direction-expected.txt: Removed.
* platform/mac/fast/forms/file-input-disabled-expected.png: Removed.
* platform/mac/fast/forms/file-input-disabled-expected.txt: Removed.
* platform/mac/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/mac/fast/forms/file-input-direction-expected.png.
* platform/mac/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/file-input-direction-expected.txt.
* platform/mac/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/mac/fast/forms/file-input-disabled-expected.png.
* platform/mac/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/file-input-disabled-expected.txt.
* platform/mac/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/mac/fast/forms/input-file-re-render-expected.png.
* platform/mac/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/input-file-re-render-expected.txt.
* platform/mac/fast/forms/hidden-input-file-expected.png: Removed.
* platform/mac/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/mac/fast/forms/input-file-re-render-expected.png: Removed.
* platform/mac/fast/forms/input-file-re-render-expected.txt: Removed.
* platform/qt/Skipped:
* platform/qt/fast/forms/file: Added.
* platform/qt/fast/forms/file-input-direction-expected.txt: Removed.
* platform/qt/fast/forms/file-input-disabled-expected.txt: Removed.
* platform/qt/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/file-input-direction-expected.txt.
* platform/qt/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/file-input-disabled-expected.txt.
* platform/qt/fast/forms/hidden-input-file-expected.txt: Removed.
* platform/win/Skipped:

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

9 years agoWeb Inspector: glass pane does not disappear after network panel's grid column resize.
pfeldman@chromium.org [Fri, 7 Oct 2011 09:12:52 +0000 (09:12 +0000)]
Web Inspector: glass pane does not disappear after network panel's grid column resize.
https://bugs.webkit.org/show_bug.cgi?id=69607

Reviewed by Yury Semikhatsky.

* src/js/DevTools.js:

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

9 years agoUnreviewed build fix after r95604.
paroga@webkit.org [Fri, 7 Oct 2011 09:04:10 +0000 (09:04 +0000)]
Unreviewed build fix after r95604.

* WebCoreSupport/PlatformStrategiesWinCE.cpp:
(PlatformStrategiesWinCE::isLinkVisited):
(PlatformStrategiesWinCE::addVisitedLink):

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

9 years agoWeb Inspector: add Elements and Network panels to the compilation
pfeldman@chromium.org [Fri, 7 Oct 2011 08:31:59 +0000 (08:31 +0000)]
Web Inspector: add Elements and Network panels to the compilation
https://bugs.webkit.org/show_bug.cgi?id=69604

Patch by Pavel Feldman <pfeldman@chromium.org> on 2011-10-07
Reviewed by Yury Semikhatsky.

* inspector/compile-front-end.sh:
* inspector/front-end/BreakpointsSidebarPane.js:
(WebInspector.XHRBreakpointsSidebarPane.prototype._addButtonClicked):
(WebInspector.XHRBreakpointsSidebarPane.prototype._labelClicked):
* inspector/front-end/DOMAgent.js:
* inspector/front-end/DOMBreakpointsSidebarPane.js:
* inspector/front-end/DataGrid.js:
(WebInspector.DataGrid.prototype._startEditingConfig):
* inspector/front-end/Drawer.js:
* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype._hideSearchHighlights):
(WebInspector.ElementsPanel.prototype.updateBreadcrumb):
(WebInspector.ElementsPanel.prototype.updateBreadcrumbSizes.collapseDimmed):
(WebInspector.ElementsPanel.prototype.updateBreadcrumbSizes):
(WebInspector.ElementsPanel.prototype._registerShortcuts):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._startEditingAttribute):
(WebInspector.ElementsTreeElement.prototype._startEditingTextNode):
(WebInspector.ElementsTreeElement.prototype._startEditingTagName):
(WebInspector.ElementsTreeElement.prototype._startEditingAsHTML):
* inspector/front-end/GoToLineDialog.js:
(WebInspector.GoToLineDialog._show):
* inspector/front-end/MetricsSidebarPane.js:
(WebInspector.MetricsSidebarPane.prototype.startEditing):
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._onLoadEventFired):
(WebInspector.NetworkLogView.prototype._domContentLoadedEventFired):
(WebInspector.NetworkLogView.prototype._updateOffscreenRows):
(WebInspector.NetworkLogView.prototype._removeAllNodeHighlights):
(WebInspector.NetworkPanel.prototype._resourceByAnchor):
(WebInspector.NetworkDataGridNode.prototype._refreshInitiatorCell):
* inspector/front-end/ObjectPropertiesSection.js:
(WebInspector.ObjectPropertyTreeElement.prototype.startEditing):
* inspector/front-end/Panel.js:
* inspector/front-end/Popover.js:
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype._editBreakpointCondition):
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.startEditingSelector):
(WebInspector.StylePropertyTreeElement.prototype):
* inspector/front-end/TimelineGrid.js:
* inspector/front-end/UIUtils.js:
(WebInspector.EditingConfig):
(WebInspector.startEditing.editingCancelled):
(WebInspector.startEditing.editingCommitted):
(WebInspector.formatLocalized):
(WebInspector.openLinkExternallyLabel):
(WebInspector.openInNetworkPanelLabel):
(WebInspector.copyLinkAddressLabel):
* inspector/front-end/externs.js:
(WebInspector.extensionServer.notifyObjectSelected):
(WebInspector.openResource):
* inspector/front-end/inspector.js:
(WebInspector.resourceForURL):

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

9 years agoChange enum value names for TextTrack::readyState and TextTrack::mode
annacc@chromium.org [Fri, 7 Oct 2011 08:11:47 +0000 (08:11 +0000)]
Change enum value names for TextTrack::readyState and TextTrack::mode
https://bugs.webkit.org/show_bug.cgi?id=69603

Reviewed by David Levin.

No new tests. No new functionality.

* html/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::trackLoadStarted):
(WebCore::LoadableTextTrack::trackLoadError):
(WebCore::LoadableTextTrack::trackLoadCompleted):
* html/TextTrack.cpp:
(WebCore::TextTrack::TextTrack):
(WebCore::TextTrack::setMode):
* html/TextTrack.h:

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

9 years agoAdding parens in WebVTTParser.cpp to appease compiler preferences.
annacc@chromium.org [Fri, 7 Oct 2011 07:59:47 +0000 (07:59 +0000)]
Adding parens in WebVTTParser.cpp to appease compiler preferences.
https://bugs.webkit.org/show_bug.cgi?id=69602

Reviewed by David Levin.

No new tests. No new functionality.

* html/track/WebVTTParser.cpp:
(WebCore::WebVTTParser::constructTreeFromToken):

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

9 years agoAlways call setActive() in WebViewImpl::setFocus(),
japhet@chromium.org [Fri, 7 Oct 2011 07:43:10 +0000 (07:43 +0000)]
Always call setActive() in WebViewImpl::setFocus(),
not just when enabling focus.
https://bugs.webkit.org/show_bug.cgi?id=65220

Reviewed by Darin Fisher.

* WebKit.gyp:
* WebKit.gypi:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setFocus):
* tests/FrameTestHelpers.cpp: Added, refactored out of WebFrameTest.cpp.
(WebKit::FrameTestHelpers::registerMockedURLLoad):
(WebKit::FrameTestHelpers::loadFrame):
(WebKit::FrameTestHelpers::defaultWebFrameClient):
(WebKit::FrameTestHelpers::defaultWebViewClient):
(WebKit::FrameTestHelpers::createWebViewAndLoad):
* tests/FrameTestHelpers.h: Added, refactored out of WebFrameTest.cpp.
* tests/WebFrameTest.cpp:
* tests/WebViewTest.cpp: Added.

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

9 years agoTest update for r96893.
tkent@chromium.org [Fri, 7 Oct 2011 07:06:09 +0000 (07:06 +0000)]
Test update for r96893.
https://bugs.webkit.org/show_bug.cgi?id=53752

r96893 changed the behavior of dataset-gc.html and
dataset-xhtml.xhtml. We update these tests because the new
behavior matches to Firefox and Opera.

* fast/dom/dataset-gc-expected.txt:
* fast/dom/dataset-xhtml-expected.txt:
* fast/dom/script-tests/dataset-gc.js:
* fast/dom/script-tests/dataset-xhtml.js:
* platform/chromium/test_expectations.txt:

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

9 years agoAdds a field, "saveAs", to WebFileChooserParams to present the file chooser
bbudge@chromium.org [Fri, 7 Oct 2011 07:04:45 +0000 (07:04 +0000)]
Adds a field, "saveAs", to WebFileChooserParams to present the file chooser
dialog in "Save As" mode (allows the user to choose a possibly non-existent file
for saving).
https://bugs.webkit.org/show_bug.cgi?id=69301

Reviewed by Darin Fisher.

* public/WebFileChooserParams.h:
(WebKit::WebFileChooserParams::WebFileChooserParams):

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

9 years agoWebkit API for compositor
commit-queue@webkit.org [Fri, 7 Oct 2011 06:49:55 +0000 (06:49 +0000)]
Webkit API for compositor
https://bugs.webkit.org/show_bug.cgi?id=69107

Patch by Antoine Labour <piman@chromium.org> on 2011-10-06
Reviewed by Darin Fisher.

Source/WebCore:

Covered by existing compositing tests.

* platform/graphics/chromium/ContentLayerChromium.h:

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebContentLayer.h: Added.
(WebKit::WebContentLayer::WebContentLayer):
(WebKit::WebContentLayer::~WebContentLayer):
(WebKit::WebContentLayer::operator=):
* public/WebContentLayerClient.h: Added.
(WebKit::WebContentLayerClient::~WebContentLayerClient):
* public/WebLayer.h: Added.
(WebKit::WebLayer::WebLayer):
(WebKit::WebLayer::operator=):
(WebKit::WebLayer::to):
(WebKit::WebLayer::toConst):
(WebKit::WebLayer::unwrap):
(WebKit::WebLayer::constUnwrap):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebLayerClient.h: Added.
(WebKit::WebLayerClient::~WebLayerClient):
* public/WebLayerTreeView.h: Added.
(WebKit::WebLayerTreeView::Settings::Settings):
(WebKit::WebLayerTreeView::WebLayerTreeView):
(WebKit::WebLayerTreeView::~WebLayerTreeView):
(WebKit::WebLayerTreeView::operator=):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebLayerTreeViewClient.h: Added.
(WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
* src/WebContentLayer.cpp: Added.
(WebKit::WebContentLayer::create):
(WebKit::WebContentLayer::setDrawsContent):
(WebKit::WebContentLayer::drawsContent):
(WebKit::WebContentLayer::setNeedsDisplay):
(WebKit::WebContentLayer::dirtyRect):
(WebKit::WebContentLayer::WebContentLayer):
(WebKit::WebContentLayer::operator=):
(WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
* src/WebContentLayerImpl.cpp: Added.
(WebKit::WebContentLayerImpl::create):
(WebKit::WebContentLayerImpl::WebContentLayerImpl):
(WebKit::WebContentLayerImpl::~WebContentLayerImpl):
(WebKit::WebContentLayerImpl::setDrawsContent):
(WebKit::WebContentLayerImpl::drawsContent):
(WebKit::WebContentLayerImpl::paintContents):
(WebKit::WebContentLayerImpl::notifySyncRequired):
* src/WebContentLayerImpl.h: Added.
* src/WebLayer.cpp: Added.
(WebKit::WebLayer::create):
(WebKit::WebLayer::~WebLayer):
(WebKit::WebLayer::reset):
(WebKit::WebLayer::assign):
(WebKit::WebLayer::equals):
(WebKit::WebLayer::rootLayer):
(WebKit::WebLayer::parent):
(WebKit::WebLayer::addChild):
(WebKit::WebLayer::insertChild):
(WebKit::WebLayer::replaceChild):
(WebKit::WebLayer::removeFromParent):
(WebKit::WebLayer::removeAllChildren):
(WebKit::WebLayer::setAnchorPoint):
(WebKit::WebLayer::anchorPoint):
(WebKit::WebLayer::setAnchorPointZ):
(WebKit::WebLayer::anchorPointZ):
(WebKit::WebLayer::setBounds):
(WebKit::WebLayer::bounds):
(WebKit::WebLayer::setMasksToBounds):
(WebKit::WebLayer::masksToBounds):
(WebKit::WebLayer::setMaskLayer):
(WebKit::WebLayer::maskLayer):
(WebKit::WebLayer::setOpacity):
(WebKit::WebLayer::opacity):
(WebKit::WebLayer::setOpaque):
(WebKit::WebLayer::opaque):
(WebKit::WebLayer::setPosition):
(WebKit::WebLayer::position):
(WebKit::WebLayer::setSublayerTransform):
(WebKit::WebLayer::sublayerTransform):
(WebKit::WebLayer::setTransform):
(WebKit::WebLayer::transform):
(WebKit::WebLayer::WebLayer):
(WebKit::WebLayer::operator=):
(WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
* src/WebLayerImpl.cpp: Added.
(WebKit::WebLayerImpl::create):
(WebKit::WebLayerImpl::WebLayerImpl):
(WebKit::WebLayerImpl::~WebLayerImpl):
(WebKit::WebLayerImpl::drawsContent):
(WebKit::WebLayerImpl::paintContents):
(WebKit::WebLayerImpl::notifySyncRequired):
* src/WebLayerImpl.h: Added.
* src/WebLayerTreeView.cpp: Added.
(WebKit::WebLayerTreeView::Settings::operator CCSettings):
(WebKit::WebLayerTreeView::create):
(WebKit::WebLayerTreeView::reset):
(WebKit::WebLayerTreeView::assign):
(WebKit::WebLayerTreeView::equals):
(WebKit::WebLayerTreeView::composite):
(WebKit::WebLayerTreeView::setViewportSize):
(WebKit::WebLayerTreeView::viewportSize):
(WebKit::WebLayerTreeView::WebLayerTreeView):
(WebKit::WebLayerTreeView::operator=):
(WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
* src/WebLayerTreeViewImpl.cpp: Added.
(WebKit::WebLayerTreeViewImpl::create):
(WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
(WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
(WebKit::WebLayerTreeViewImpl::animateAndLayout):
(WebKit::WebLayerTreeViewImpl::applyScrollDelta):
(WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
(WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
(WebKit::WebLayerTreeViewImpl::scheduleComposite):
* src/WebLayerTreeViewImpl.h: Added.

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

9 years ago[Chromium] Build fix for r96907.
tkent@chromium.org [Fri, 7 Oct 2011 06:19:29 +0000 (06:19 +0000)]
[Chromium] Build fix for r96907.

* tests/PopupMenuTest.cpp:
(WebKit::TestPopupMenuClient::valueChanged):
Use HTMLSelectElement instead of SelectElement.

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

9 years agoRemove SelectElement class
tkent@chromium.org [Fri, 7 Oct 2011 06:05:18 +0000 (06:05 +0000)]
Remove SelectElement class
https://bugs.webkit.org/show_bug.cgi?id=69518

Reviewed by Ryosuke Niwa.

SelectElement used to be an abstract class for HTMLSelectElement
and WMLSelectElement. SelectElement is not needed anymore because
WML was removed.

This patch just removes SelectElement by moving SelectElement
functions to HTMLSelectElement.

No new tests. Just a refactoring.

* WebCore.vcproj/WebCore.vcproj:
Rename dom\SelectElementWin.cpp to html\HTMLSelectElementWin.cpp.
* accessibility/AccessibilityListBoxOption.cpp:
(WebCore::AccessibilityListBoxOption::setSelected):
Remove unnecessary cast.
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::stringValue):
Use HTMLSelectElement instead of SelectElement.
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(optionFromSelection): ditto.
(webkit_accessible_selection_get_selection_count): ditto.
* accessibility/gtk/AXObjectCacheAtk.cpp:
(notifyChildrenSelectionChange): ditto.
* dom/OptionElement.cpp:
(WebCore::OptionElement::optionIndex): ditto.
* dom/OptionElement.h: ditto.
* dom/SelectElement.cpp:
(WebCore::SelectElementData::checkListItems): ditto.
(WebCore::SelectElementData::listItems): ditto.
* dom/SelectElementWin.cpp: Removed.
* dom/SelectElement.h: Removed SelectElement class declaration.
* html/HTMLSelectElement.cpp: Move functions from SelectElement.cpp.
(WebCore::HTMLSelectElement::selectedIndex):
Removed 'SelectElement::' because the function is moved to HTMLSelectElement.
(WebCore::HTMLSelectElement::deselectItems): dito.
(WebCore::HTMLSelectElement::setSelectedIndex): dito.
(WebCore::HTMLSelectElement::setSelectedIndexByUser): ditto.
(WebCore::HTMLSelectElement::activeSelectionEndListIndex): ditto.
(WebCore::HTMLSelectElement::length): ditto.
(WebCore::HTMLSelectElement::saveFormControlState): ditto.
(WebCore::HTMLSelectElement::restoreFormControlState): ditto.
(WebCore::HTMLSelectElement::parseMappedAttribute): ditto.
(WebCore::HTMLSelectElement::selectAll): ditto.
(WebCore::HTMLSelectElement::appendFormData): ditto.
(WebCore::HTMLSelectElement::optionToListIndex): ditto.
(WebCore::HTMLSelectElement::listToOptionIndex): ditto.
(WebCore::HTMLSelectElement::recalcListItems): ditto.
(WebCore::HTMLSelectElement::setRecalcListItems): ditto.
(WebCore::HTMLSelectElement::reset): ditto.
(WebCore::HTMLSelectElement::dispatchFocusEvent): ditto.
(WebCore::HTMLSelectElement::dispatchBlurEvent): ditto.
(WebCore::HTMLSelectElement::defaultEventHandler): ditto.
(WebCore::HTMLSelectElement::setActiveSelectionAnchorIndex): ditto.
(WebCore::HTMLSelectElement::setActiveSelectionEndIndex): ditto.
(WebCore::HTMLSelectElement::updateListBoxSelection): ditto.
(WebCore::HTMLSelectElement::menuListOnChange): ditto.
(WebCore::HTMLSelectElement::listBoxOnChange): ditto.
(WebCore::HTMLSelectElement::saveLastSelection): ditto.
(WebCore::HTMLSelectElement::accessKeySetSelectedIndex): ditto.
(WebCore::HTMLSelectElement::scrollToSelection): ditto.
(WebCore::HTMLSelectElement::insertedIntoTree): ditto.
(WebCore::nextValidIndex): Moved from SelectElement.cpp.
(WebCore::nextSelectableListIndex): ditto.
(WebCore::previousSelectableListIndex): ditto.
(WebCore::firstSelectableListIndex): ditto.
(WebCore::lastSelectableListIndex): ditto.
(WebCore::nextSelectableListIndexPageAway): ditto.
(WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): ditto.
(WebCore::HTMLSelectElement::parseMultipleAttribute): ditto.
(WebCore::HTMLSelectElement::platformHandleKeydownEvent): ditto.
(WebCore::HTMLSelectElement::menuListDefaultEventHandler): ditto.
(WebCore::HTMLSelectElement::updateSelectedState): ditto.
(WebCore::HTMLSelectElement::listBoxDefaultEventHandler): ditto.
(WebCore::HTMLSelectElement::lastSelectedListIndex): ditto.
(WebCore::stripLeadingWhiteSpace): ditto.
(WebCore::HTMLSelectElement::typeAheadFind): ditto.
(WebCore::HTMLSelectElement::optionCount): ditto.
(WebCore::toSelectElement): ditto.
* html/HTMLSelectElementWin.cpp: Copied from Source/WebCore/dom/SelectElementWin.cpp.
(WebCore::HTMLSelectElement::platformHandleKeydownEvent):
* html/HTMLSelectElement.h: Removed 'virtual' of SelectElement functions.
(WebCore::HTMLSelectElement::size):
(WebCore::HTMLSelectElement::multiple):
(WebCore::HTMLSelectElement::listItems):
(WebCore::HTMLSelectElement::updateValidity):
* rendering/RenderListBox.cpp: Replace SelectElement with HTMLSelectElement
(WebCore::RenderListBox::RenderListBox):
(WebCore::RenderListBox::scrollToRevealSelection):
(WebCore::RenderListBox::addFocusRingRects):
(WebCore::RenderListBox::paintItemForeground):
(WebCore::RenderListBox::paintItemBackground):
(WebCore::RenderListBox::panScroll):
(WebCore::RenderListBox::autoscroll):
(WebCore::RenderListBox::valueChanged):
* rendering/RenderMenuList.cpp: Replace SelectElement with HTMLSelectElement
(WebCore::RenderMenuList::RenderMenuList):
(WebCore::RenderMenuList::setTextFromOption):
(WebCore::RenderMenuList::showPopup):
(WebCore::RenderMenuList::valueChanged):
(WebCore::RenderMenuList::listBoxSelectItem):
(WebCore::RenderMenuList::multiple):
(WebCore::RenderMenuList::didSetSelectedIndex):
(WebCore::RenderMenuList::didUpdateActiveOption):
(WebCore::RenderMenuList::itemText):
(WebCore::RenderMenuList::itemAccessibilityText):
(WebCore::RenderMenuList::itemToolTip):
(WebCore::RenderMenuList::itemIsEnabled):
(WebCore::RenderMenuList::itemStyle):
(WebCore::RenderMenuList::itemBackgroundColor):
(WebCore::RenderMenuList::listSize):
(WebCore::RenderMenuList::selectedIndex):
(WebCore::RenderMenuList::itemIsSeparator):
(WebCore::RenderMenuList::itemIsLabel):
(WebCore::RenderMenuList::itemIsSelected):
(WebCore::RenderMenuList::setTextFromItem):

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

9 years agoPort PixelZoomer to work in garden-o-matic
abarth@webkit.org [Fri, 7 Oct 2011 05:42:57 +0000 (05:42 +0000)]
Port PixelZoomer to work in garden-o-matic
https://bugs.webkit.org/show_bug.cgi?id=69577

Reviewed by David Levin.

Tools:

This implementation of PixelZoomer is basically a fork of the
implementation used by results.html.  These two apps have different
requirements on where this code lives.  results.html wants to be
self-contained whereas garden-o-matic wants to live in the public_html
folder of the buildbot.  We could do something fancy here to share the
code, but that's not likely to be of much benefit.

I had to change a few things about pixelzoomer to accounter for the
differences in DOM between results.html and garden-o-matic, but
surprisingly little.  I also moved all the code into an anonymous
function, which is the style we're suing for module separation in
garden-o-matic.  Finally, some jQuery-ims snuck in because I didn't
want to drag along too many extra functions from results.html.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/pixelzoomer.js: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/styles/pixelzoomer.css: Added.
(.pixel-zoom-container):
(.pixel-zoom-container > *):
(.pixel-zoom-container .scaled-image-container):
(.scaled-image-container > img):

LayoutTests:

Change the timeout constant to so that it matches garden-o-matic.  In
garden-o-matic, 200 MS was too fast because you mouse around the UI a
lot more.

* fast/harness/results.html:

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

9 years agoAdd Motorola Mobility to team.html
amruthraj@motorola.com [Fri, 7 Oct 2011 05:22:58 +0000 (05:22 +0000)]
Add Motorola Mobility to team.html
https://bugs.webkit.org/show_bug.cgi?id=69597

Reviewed by Ryosuke Niwa.

* team.html:

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

9 years ago[WinCairo] Correct improper identification of WKQC extensions.
bfulgham@webkit.org [Fri, 7 Oct 2011 05:16:02 +0000 (05:16 +0000)]
[WinCairo] Correct improper identification of WKQC extensions.
https://bugs.webkit.org/show_bug.cgi?id=69600

* DerivedSources.make: Make sure we are not building the
WinCairo variant.

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

9 years agoVersioning.
mrowe@apple.com [Fri, 7 Oct 2011 04:33:34 +0000 (04:33 +0000)]
Versioning.

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

9 years ago[Chromium] Fix test expectations. Broken test from r96870. Bug filed.
simonjam@chromium.org [Fri, 7 Oct 2011 04:21:32 +0000 (04:21 +0000)]
[Chromium] Fix test expectations. Broken test from r96870. Bug filed.

Unreviewed.

* platform/chromium/test_expectations.txt: Added smart-paste-008.html on all platforms.

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

9 years agoUnreviewed, rolling out r96896.
commit-queue@webkit.org [Fri, 7 Oct 2011 04:20:42 +0000 (04:20 +0000)]
Unreviewed, rolling out r96896.
http://trac.webkit.org/changeset/96896
https://bugs.webkit.org/show_bug.cgi?id=69601

broke windows and mac chromium builds (Requested by simonjam
on #webkit).

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

Source/WebCore:

* platform/graphics/chromium/ContentLayerChromium.h:

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebContentLayer.h: Removed.
* public/WebContentLayerClient.h: Removed.
* public/WebLayer.h: Removed.
* public/WebLayerClient.h: Removed.
* public/WebLayerTreeView.h: Removed.
* public/WebLayerTreeViewClient.h: Removed.
* src/WebContentLayer.cpp: Removed.
* src/WebContentLayerImpl.cpp: Removed.
* src/WebContentLayerImpl.h: Removed.
* src/WebLayer.cpp: Removed.
* src/WebLayerImpl.cpp: Removed.
* src/WebLayerImpl.h: Removed.
* src/WebLayerTreeView.cpp: Removed.
* src/WebLayerTreeViewImpl.cpp: Removed.
* src/WebLayerTreeViewImpl.h: Removed.

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

9 years agoUnreviewed. Rolled DEPS.
commit-queue@webkit.org [Fri, 7 Oct 2011 03:52:51 +0000 (03:52 +0000)]
Unreviewed.  Rolled DEPS.

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

* DEPS:

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

9 years agoWindows rebaseline after r96870. Also skip editing/pasteboard/smart-paste-008.html...
rniwa@webkit.org [Fri, 7 Oct 2011 03:23:06 +0000 (03:23 +0000)]
Windows rebaseline after r96870. Also skip editing/pasteboard/smart-paste-008.html because it's a real failure
(tracked by the bug 69587).

* platform/win/Skipped:
* platform/win/editing/deleting/delete-br-010-expected.txt:
* platform/win/editing/deleting/regional-indicators-expected.txt: Removed.
* platform/win/editing/inserting/insert-3907422-fix-expected.txt: Copied from LayoutTests/editing/inserting/insert-3907422-fix-expected.txt.
* platform/win/editing/pasteboard/paste-text-002-expected.txt: Copied from LayoutTests/editing/pasteboard/paste-text-002-expected.txt.
* platform/win/editing/pasteboard/paste-text-004-expected.txt: Copied from LayoutTests/platform/mac/editing/pasteboard/paste-text-004-expected.txt.
* platform/win/editing/pasteboard/paste-text-005-expected.txt: Copied from LayoutTests/platform/mac/editing/pasteboard/paste-text-005-expected.txt.
* platform/win/editing/pasteboard/paste-text-008-expected.txt: Copied from LayoutTests/platform/mac/editing/pasteboard/paste-text-008-expected.txt.
* platform/win/editing/spelling/spelling-backspace-between-lines-expected.txt:

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

9 years agoChromium Mac rebaselines after r96870.
rniwa@webkit.org [Fri, 7 Oct 2011 03:14:22 +0000 (03:14 +0000)]
Chromium Mac rebaselines after r96870.

* platform/chromium-cg-mac-snowleopard/editing: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting: Added.
* platform/chromium-cg-mac-snowleopard/editing/inserting/insert-3907422-fix-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/merge-end-blockquote-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-002-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-003-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-004-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-005-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/editing/pasteboard/paste-text-008-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/editing/spelling: Added.
* platform/chromium-cg-mac-snowleopard/editing/spelling/spelling-backspace-between-lines-expected.txt: Added.
* platform/chromium-cg-mac-snowleopard/fast/events: Added.
* platform/chromium-cg-mac-snowleopard/fast/events/ondragenter-expected.txt: Added.
* platform/chromium-mac-leopard/editing/pasteboard: Added.
* platform/chromium-mac-leopard/editing/pasteboard/merge-end-blockquote-expected.png: Added.
* platform/chromium-mac-snowleopard/editing: Added.
* platform/chromium-mac-snowleopard/editing/inserting: Added.
* platform/chromium-mac-snowleopard/editing/inserting/insert-3907422-fix-expected.txt: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/merge-end-blockquote-expected.png: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-002-expected.txt: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-003-expected.txt: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-004-expected.txt: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-005-expected.txt: Added.
* platform/chromium-mac-snowleopard/editing/pasteboard/paste-text-008-expected.txt: Added.
* platform/chromium-mac-snowleopard/editing/spelling: Added.
* platform/chromium-mac-snowleopard/editing/spelling/spelling-backspace-between-lines-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast: Added.
* platform/chromium-mac-snowleopard/fast/events: Added.
* platform/chromium-mac-snowleopard/fast/events/ondragenter-expected.txt: Added.
* platform/chromium-win/editing/spelling/spelling-backspace-between-lines-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years agoWebkit API for compositor
commit-queue@webkit.org [Fri, 7 Oct 2011 03:01:23 +0000 (03:01 +0000)]
Webkit API for compositor
https://bugs.webkit.org/show_bug.cgi?id=69107

Patch by Antoine Labour <piman@chromium.org> on 2011-10-06
Reviewed by Darin Fisher.

Source/WebCore:

Covered by existing compositing tests.

* platform/graphics/chromium/ContentLayerChromium.h:

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebContentLayer.h: Added.
(WebKit::WebContentLayer::WebContentLayer):
(WebKit::WebContentLayer::~WebContentLayer):
(WebKit::WebContentLayer::operator=):
* public/WebContentLayerClient.h: Added.
(WebKit::WebContentLayerClient::~WebContentLayerClient):
* public/WebLayer.h: Added.
(WebKit::WebLayer::WebLayer):
(WebKit::WebLayer::operator=):
(WebKit::WebLayer::to):
(WebKit::WebLayer::toConst):
(WebKit::WebLayer::unwrap):
(WebKit::WebLayer::constUnwrap):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebLayerClient.h: Added.
(WebKit::WebLayerClient::~WebLayerClient):
* public/WebLayerTreeView.h: Added.
(WebKit::WebLayerTreeView::Settings::Settings):
(WebKit::WebLayerTreeView::WebLayerTreeView):
(WebKit::WebLayerTreeView::~WebLayerTreeView):
(WebKit::WebLayerTreeView::operator=):
(WebKit::operator==):
(WebKit::operator!=):
* public/WebLayerTreeViewClient.h: Added.
(WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
* src/WebContentLayer.cpp: Added.
(WebKit::WebContentLayer::create):
(WebKit::WebContentLayer::setDrawsContent):
(WebKit::WebContentLayer::drawsContent):
(WebKit::WebContentLayer::setNeedsDisplay):
(WebKit::WebContentLayer::dirtyRect):
(WebKit::WebContentLayer::WebContentLayer):
(WebKit::WebContentLayer::operator=):
(WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
* src/WebContentLayerImpl.cpp: Added.
(WebKit::WebContentLayerImpl::create):
(WebKit::WebContentLayerImpl::WebContentLayerImpl):
(WebKit::WebContentLayerImpl::~WebContentLayerImpl):
(WebKit::WebContentLayerImpl::setDrawsContent):
(WebKit::WebContentLayerImpl::drawsContent):
(WebKit::WebContentLayerImpl::paintContents):
(WebKit::WebContentLayerImpl::notifySyncRequired):
* src/WebContentLayerImpl.h: Added.
* src/WebLayer.cpp: Added.
(WebKit::WebLayer::create):
(WebKit::WebLayer::~WebLayer):
(WebKit::WebLayer::reset):
(WebKit::WebLayer::assign):
(WebKit::WebLayer::equals):
(WebKit::WebLayer::rootLayer):
(WebKit::WebLayer::parent):
(WebKit::WebLayer::addChild):
(WebKit::WebLayer::insertChild):
(WebKit::WebLayer::replaceChild):
(WebKit::WebLayer::removeFromParent):
(WebKit::WebLayer::removeAllChildren):
(WebKit::WebLayer::setAnchorPoint):
(WebKit::WebLayer::anchorPoint):
(WebKit::WebLayer::setAnchorPointZ):
(WebKit::WebLayer::anchorPointZ):
(WebKit::WebLayer::setBounds):
(WebKit::WebLayer::bounds):
(WebKit::WebLayer::setMasksToBounds):
(WebKit::WebLayer::masksToBounds):
(WebKit::WebLayer::setMaskLayer):
(WebKit::WebLayer::maskLayer):
(WebKit::WebLayer::setOpacity):
(WebKit::WebLayer::opacity):
(WebKit::WebLayer::setOpaque):
(WebKit::WebLayer::opaque):
(WebKit::WebLayer::setPosition):
(WebKit::WebLayer::position):
(WebKit::WebLayer::setSublayerTransform):
(WebKit::WebLayer::sublayerTransform):
(WebKit::WebLayer::setTransform):
(WebKit::WebLayer::transform):
(WebKit::WebLayer::WebLayer):
(WebKit::WebLayer::operator=):
(WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
* src/WebLayerImpl.cpp: Added.
(WebKit::WebLayerImpl::create):
(WebKit::WebLayerImpl::WebLayerImpl):
(WebKit::WebLayerImpl::~WebLayerImpl):
(WebKit::WebLayerImpl::drawsContent):
(WebKit::WebLayerImpl::paintContents):
(WebKit::WebLayerImpl::notifySyncRequired):
* src/WebLayerImpl.h: Added.
* src/WebLayerTreeView.cpp: Added.
(WebKit::WebLayerTreeView::Settings::operator CCSettings):
(WebKit::WebLayerTreeView::create):
(WebKit::WebLayerTreeView::reset):
(WebKit::WebLayerTreeView::assign):
(WebKit::WebLayerTreeView::equals):
(WebKit::WebLayerTreeView::composite):
(WebKit::WebLayerTreeView::setViewportSize):
(WebKit::WebLayerTreeView::viewportSize):
(WebKit::WebLayerTreeView::WebLayerTreeView):
(WebKit::WebLayerTreeView::operator=):
(WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
* src/WebLayerTreeViewImpl.cpp: Added.
(WebKit::WebLayerTreeViewImpl::create):
(WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
(WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
(WebKit::WebLayerTreeViewImpl::animateAndLayout):
(WebKit::WebLayerTreeViewImpl::applyScrollDelta):
(WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
(WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
(WebKit::WebLayerTreeViewImpl::scheduleComposite):
* src/WebLayerTreeViewImpl.h: Added.

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

9 years agoReviewed by Kent Tamura.
joepeck@webkit.org [Fri, 7 Oct 2011 02:55:39 +0000 (02:55 +0000)]
Reviewed by Kent Tamura.

Pass "accept" mime type information into FileChooser at all call sites
https://bugs.webkit.org/show_bug.cgi?id=69592

No new tests. This only exposes some more information to
WebKit ports, no functionality change in WebCore.

* html/FileInputType.cpp:
(WebCore::FileInputType::receiveDropForDirectoryUpload):

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

9 years agoDFG should not always speculate that ConvertThis is operating on an object
fpizlo@apple.com [Fri, 7 Oct 2011 02:48:47 +0000 (02:48 +0000)]
DFG should not always speculate that ConvertThis is operating on an object
https://bugs.webkit.org/show_bug.cgi?id=69570

Reviewed by Oliver Hunt.

Mostly neutral, but with a slight regression in Kraken since it increases
coverage in DFG and thus reveals some performance pathologies (which I
prefer to think of as performance opportunities, in a good way).

* bytecode/PredictedType.cpp:
(JSC::predictionToString):
* bytecode/PredictedType.h:
(JSC::isOtherPrediction):
(JSC::mergePredictions):
* dfg/DFGPropagator.cpp:
(JSC::DFG::Propagator::propagateNodePredictions):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

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

9 years ago[JSC binding] Fix inconsistent behavior of DOMStringMap
tkent@chromium.org [Fri, 7 Oct 2011 02:44:52 +0000 (02:44 +0000)]
[JSC binding] Fix inconsistent behavior of DOMStringMap
https://bugs.webkit.org/show_bug.cgi?id=53752

Reviewed by Darin Adler.

Source/WebCore:

The dataset behavior was inconsistent. The get operation handled
data-* attributes first, and the put and delete operations handled
JavaScript properties first.

Like Firefox and Opera, the put and delete operations should
handle data-* attribute first.

* bindings/js/JSDOMStringMapCustom.cpp:
(WebCore::JSDOMStringMap::deleteProperty):
 Handles DOMStringMap first, then returns false if the DOMStringMap makes an error.
(WebCore::JSDOMStringMap::putDelegate): ditto.

LayoutTests:

* fast/dom/dataset-expected.txt:
* fast/dom/script-tests/dataset.js:
 - Change the expectation for a case deleting a property of which name can't be a data-* attribute.
   This behavior matches to Firefox and Opera.
 - Add test cases to check put/get/delete priorities.
* platform/chromium/test_expectations.txt:
 V8 binding is not ready for this change.

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

9 years ago[chromium] Let rule_binding use os.execvp() instead of subprocess.call() to spawn...
thakis@chromium.org [Fri, 7 Oct 2011 02:43:30 +0000 (02:43 +0000)]
[chromium] Let rule_binding use os.execvp() instead of subprocess.call() to spawn fewer processes.
https://bugs.webkit.org/show_bug.cgi?id=69589

Reviewed by Adam Barth.

When building with `make -j40`, all the binding rules are built en bloc. Since this script currently
uses subprocess.call(), that actually spawns 80 processes at once. OS X has a max process limit of
255 by default, so the build used to fail with
"open2: fork failed: Resource temporarily unavailable at ../bindings/scripts/preprocessor.pm line 60"
As a fix, use execvp() instead, which replaces the current process instead of spawning a new one.

* WebCore.gyp/scripts/rule_binding.py:

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

9 years agoSome media tests fail when run inside a directory path containing periods.
jer.noble@apple.com [Fri, 7 Oct 2011 02:33:23 +0000 (02:33 +0000)]
Some media tests fail when run inside a directory path containing periods.
https://bugs.webkit.org/show_bug.cgi?id=69580

Reviewed by Darin Adler.

To determine the extension, retrieve the last string following a period instead of the second.

* media/media-blocked-by-beforeload.html:
* media/video-source-load.html:
* media/video-source-moved.html:
* media/video-source-removed.html:

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

9 years ago[EFL] Change data type of parameter in ewk_view_viewport_attributes_get().
gyuyoung.kim@samsung.com [Fri, 7 Oct 2011 02:23:03 +0000 (02:23 +0000)]
[EFL] Change data type of parameter in ewk_view_viewport_attributes_get().
https://bugs.webkit.org/show_bug.cgi?id=69505

Reviewed by Andreas Kling.

Source/WebKit/efl:

ewk_view_viewport_attributes_get() has used implicit casting for width and height of viewport.
However, it is better to use *int* data type as parameter data type instead of *float* casting.

* ewk/ewk_view.cpp:
(ewk_view_viewport_attributes_get):
* ewk/ewk_view.h:

Tools:

* EWebLauncher/main.c: Use *int* variables for width and height of viewport meta tag.
(on_viewport_changed):

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

9 years agoWindows build fix
mhahnenberg@apple.com [Fri, 7 Oct 2011 02:09:35 +0000 (02:09 +0000)]
Windows build fix

Unreviewed build fix.  Weird runtime failures on Windows due to
linking issues caused by the ClassInfo struct in JSByteArray not
being declared with JS_EXPORTDATA.

* runtime/JSByteArray.h:

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

9 years agoChromium Windows and Chromium Linux rebaselines for r96870. Also skip editing/pastebo...
rniwa@webkit.org [Fri, 7 Oct 2011 01:56:25 +0000 (01:56 +0000)]
Chromium Windows and Chromium Linux rebaselines for r96870. Also skip editing/pasteboard/smart-paste-008.html
because it's a real failure (tracked by the bug 69587).

* platform/chromium-linux/editing/deleting/merge-whitespace-pre-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-001-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-002-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-003-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-004-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-005-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-006-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-007-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-008-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-009-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-010-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-012-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-013-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-014-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-015-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-016-expected.txt:
* platform/chromium-win/editing/deleting/delete-block-merge-contents-017-expected.txt:
* platform/chromium-win/editing/deleting/delete-br-010-expected.txt:
* platform/chromium-win/editing/deleting/delete-line-011-expected.txt:
* platform/chromium-win/editing/deleting/delete-line-012-expected.txt:
* platform/chromium-win/editing/deleting/delete-listitem-001-expected.txt:
* platform/chromium-win/editing/deleting/merge-whitespace-pre-expected.png:
* platform/chromium-win/editing/deleting/merge-whitespace-pre-expected.txt:
* platform/chromium-win/editing/inserting/insert-3907422-fix-expected.txt: Added.
* platform/chromium-win/editing/inserting/multiple-lines-selected-expected.txt:
* platform/chromium-win/editing/pasteboard/5032095-expected.txt:
* platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt: Added.
* platform/chromium-win/editing/pasteboard/merge-after-delete-1-expected.txt:
* platform/chromium-win/editing/pasteboard/merge-after-delete-2-expected.txt:
* platform/chromium-win/editing/pasteboard/merge-after-delete-expected.txt:
* platform/chromium-win/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-win/editing/pasteboard/merge-end-blockquote-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-match-style-001-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-text-002-expected.txt: Added.
* platform/chromium-win/editing/pasteboard/paste-text-003-expected.txt: Added.
* platform/chromium-win/editing/pasteboard/paste-text-004-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-text-005-expected.txt:
* platform/chromium-win/editing/pasteboard/paste-text-008-expected.txt:
* platform/chromium-win/fast/events/ondragenter-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

9 years ago[WinCairo] Unreviewed test correction.
bfulgham@webkit.org [Fri, 7 Oct 2011 01:09:19 +0000 (01:09 +0000)]
[WinCairo] Unreviewed test correction.

* Scripts/webkitdirs.pm:
(argumentsForConfiguration): Add 'wincairo' option to the set of
configuration flags used by run-javascript-core tests, so that it
does not attempt to run Apple's release version.

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

9 years agoQt rebaseline after r96870. Also skip editing/pasteboard/smart-paste-008.html because...
rniwa@webkit.org [Fri, 7 Oct 2011 01:02:35 +0000 (01:02 +0000)]
Qt rebaseline after r96870. Also skip editing/pasteboard/smart-paste-008.html because it's a real failure
(tracked by the bug 69587).

* platform/qt/Skipped:
* platform/qt/editing/deleting/delete-block-merge-contents-001-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-002-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-003-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-004-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-005-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-006-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-007-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-008-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-009-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-010-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-012-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-013-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-014-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-015-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-016-expected.txt:
* platform/qt/editing/deleting/delete-block-merge-contents-017-expected.txt:
* platform/qt/editing/deleting/delete-br-010-expected.txt:
* platform/qt/editing/deleting/delete-line-012-expected.txt:
* platform/qt/editing/deleting/delete-listitem-001-expected.txt:
* platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
* platform/qt/editing/inserting/insert-3907422-fix-expected.txt: Copied from LayoutTests/editing/inserting/insert-3907422-fix-expected.txt.
* platform/qt/editing/inserting/multiple-lines-selected-expected.txt:
* platform/qt/editing/pasteboard/5032095-expected.txt:
* platform/qt/editing/pasteboard/interchange-newline-1-expected.txt: Copied from LayoutTests/editing/pasteboard/interchange-newline-1-expected.txt.
* platform/qt/editing/pasteboard/merge-after-delete-1-expected.txt:
* platform/qt/editing/pasteboard/merge-after-delete-2-expected.txt:
* platform/qt/editing/pasteboard/merge-after-delete-expected.txt:
* platform/qt/editing/pasteboard/merge-end-blockquote-expected.txt:
* platform/qt/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:
* platform/qt/editing/pasteboard/paste-match-style-001-expected.txt:
* platform/qt/editing/pasteboard/paste-text-002-expected.txt: Copied from LayoutTests/editing/pasteboard/paste-text-002-expected.txt.
* platform/qt/editing/pasteboard/paste-text-003-expected.txt: Copied from LayoutTests/editing/pasteboard/paste-text-003-expected.txt.
* platform/qt/editing/pasteboard/paste-text-004-expected.txt:
* platform/qt/editing/pasteboard/paste-text-005-expected.txt:
* platform/qt/editing/pasteboard/paste-text-008-expected.txt:

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

9 years ago[WinCairo] Unreviewed test correction.
bfulgham@webkit.org [Fri, 7 Oct 2011 00:49:52 +0000 (00:49 +0000)]
[WinCairo] Unreviewed test correction.

* BuildSlaveSupport/test-result-archive: Add 'wincairo' to the set
 of known build slave types so that test-result-archive won't fail
 when running tests.

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

9 years ago[Chromium] Remove passing tests from test_expectations.txt.
simonjam@chromium.org [Fri, 7 Oct 2011 00:49:34 +0000 (00:49 +0000)]
[Chromium] Remove passing tests from test_expectations.txt.

Unreviewed.

* platform/chromium/test_expectations.txt:

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

9 years agoStructure does not reset m_previous when pinning the property map
fpizlo@apple.com [Fri, 7 Oct 2011 00:47:21 +0000 (00:47 +0000)]
Structure does not reset m_previous when pinning the property map
https://bugs.webkit.org/show_bug.cgi?id=69583

Reviewed by Gavin Barraclough.

This is an 0.6% performance improvement in V8, and 0.2% overall.

* runtime/Structure.cpp:
(JSC::Structure::changePrototypeTransition):
(JSC::Structure::despecifyFunctionTransition):
(JSC::Structure::getterSetterTransition):
(JSC::Structure::toDictionaryTransition):
(JSC::Structure::preventExtensionsTransition):
(JSC::Structure::addPropertyWithoutTransition):
(JSC::Structure::removePropertyWithoutTransition):
(JSC::Structure::pin):
* runtime/Structure.h:

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

9 years agoGTK rebaseline after r96870. Also skip editing/pasteboard/smart-paste-008.html becaus...
rniwa@webkit.org [Fri, 7 Oct 2011 00:43:39 +0000 (00:43 +0000)]
GTK rebaseline after r96870. Also skip editing/pasteboard/smart-paste-008.html because it's a real failure
(tracked by the bug 69587).

* platform/gtk/Skipped:
* platform/gtk/editing/deleting/delete-block-merge-contents-001-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-002-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-003-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-004-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-005-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-006-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-007-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-008-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-009-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-010-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-012-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-013-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-014-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-015-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-016-expected.txt:
* platform/gtk/editing/deleting/delete-block-merge-contents-017-expected.txt:
* platform/gtk/editing/deleting/delete-br-010-expected.txt:
* platform/gtk/editing/deleting/delete-line-012-expected.txt:
* platform/gtk/editing/deleting/delete-listitem-001-expected.txt:
* platform/gtk/editing/deleting/merge-whitespace-pre-expected.txt:
* platform/gtk/editing/inserting/insert-3907422-fix-expected.txt: Copied from
LayoutTests/editing/inserting/insert-3907422-fix-expected.txt.
* platform/gtk/editing/inserting/multiple-lines-selected-expected.txt:
* platform/gtk/editing/pasteboard/5032095-expected.txt:
* platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt: Copied from
LayoutTests/editing/pasteboard/interchange-newline-1-expected.txt.
* platform/gtk/editing/pasteboard/merge-after-delete-1-expected.txt:
* platform/gtk/editing/pasteboard/merge-after-delete-2-expected.txt:
* platform/gtk/editing/pasteboard/merge-after-delete-expected.txt:
* platform/gtk/editing/pasteboard/merge-end-blockquote-expected.txt:
* platform/gtk/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:
* platform/gtk/editing/pasteboard/paste-match-style-001-expected.txt:
* platform/gtk/editing/pasteboard/paste-text-002-expected.txt: Copied from
LayoutTests/editing/pasteboard/paste-text-002-expected.txt.
* platform/gtk/editing/pasteboard/paste-text-003-expected.txt: Copied from
LayoutTests/editing/pasteboard/paste-text-003-expected.txt.
* platform/gtk/editing/pasteboard/paste-text-004-expected.txt:
* platform/gtk/editing/pasteboard/paste-text-005-expected.txt:
* platform/gtk/editing/pasteboard/smart-paste-008-expected.txt:

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

9 years agoWhen building with clang, enable -Wglobal-constructors and -Wexit-time-destructors
andersca@apple.com [Fri, 7 Oct 2011 00:34:05 +0000 (00:34 +0000)]
When building with clang, enable -Wglobal-constructors and -Wexit-time-destructors
https://bugs.webkit.org/show_bug.cgi?id=69586

Reviewed by Darin Adler.

../JavaScriptCore:

* Configurations/Base.xcconfig:
Add -Wglobal-constructors and -Wexit-time-destructors when building with clang.

* JavaScriptCore.xcodeproj/project.pbxproj:
When building with clang, we don't need to run the check-for-global-initializers and
check-for-exit-time-destructors anymore.

* jsc.cpp:
(runInteractive):
Move interpreterName into runInteractive.

* wtf/StdLibExtras.h:
When building with clang, disable the -Wglobal-constructors and -Wexit-time-destructors
warnings around the variable declaration.

../JavaScriptGlue:

* Configurations/Base.xcconfig:
Add -Wglobal-constructors and -Wexit-time-destructors when building with clang.

* JavaScriptGlue.xcodeproj/project.pbxproj:
When building with clang, we don't need to run the check-for-global-initializers and
check-for-exit-time-destructors anymore.

../WebCore:

* Configurations/Base.xcconfig:
Add -Wglobal-constructors and -Wexit-time-destructors when building with clang.

* WebCore.xcodeproj/project.pbxproj:
When building with clang, we don't need to run the check-for-global-initializers and
check-for-exit-time-destructors anymore.

* platform/graphics/filters/FEGaussianBlur.cpp:
(gaussianKernelFactor):
(WebCore::FEGaussianBlur::calculateKernelSize):
(WebCore::FEGaussianBlur::calculateStdDeviation):
Change the gaussian kernel factor global to be an inline function instead.

../WebKit:

* WebKit.xcodeproj/project.pbxproj:
When building with clang, we don't need to run the check-for-global-initializers and
check-for-exit-time-destructors anymore.

../WebKit/mac:

* Configurations/Base.xcconfig:
Add -Wglobal-constructors and -Wexit-time-destructors when building with clang.

../WebKit2:

* Configurations/Base.xcconfig:
Add -Wglobal-constructors and -Wexit-time-destructors when building with clang.

* WebKit2.xcodeproj/project.pbxproj:
When building with clang, we don't need to run the check-for-global-initializers and
check-for-exit-time-destructors anymore.

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

9 years agoAdd DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
andersca@apple.com [Fri, 7 Oct 2011 00:20:23 +0000 (00:20 +0000)]
Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
https://bugs.webkit.org/show_bug.cgi?id=69584

Reviewed by Darin Adler.

../JavaScriptCore:

Add DEFINE_DEBUG_ONLY_GLOBAL macro.

* wtf/StdLibExtras.h:

../WebCore:

Adopt the DEFINE_DEBUG_ONLY_GLOBAL macro.

* bindings/js/JSLazyEventListener.cpp:
* dom/Node.cpp:
* dom/Range.cpp:
* history/CachedPage.cpp:
* loader/SubresourceLoader.cpp:
* loader/cache/CachedResource.cpp:
* page/Frame.cpp:
* page/Page.cpp:
* rendering/BidiRun.cpp:
* rendering/RenderObject.cpp:
* svg/SVGElementInstance.cpp:
* xml/XMLHttpRequest.cpp:

../WebKit/mac:

Adopt the DEFINE_DEBUG_ONLY_GLOBAL macro.

* Plugins/Hosted/HostedNetscapePluginStream.mm:
* Plugins/Hosted/NetscapePluginInstanceProxy.mm:

../WebKit2:

Adopt the DEFINE_DEBUG_ONLY_GLOBAL macro.

* UIProcess/WebContext.cpp:
* UIProcess/WebPageProxy.cpp:
* WebProcess/WebPage/WebFrame.cpp:
* WebProcess/WebPage/WebPage.cpp:

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

9 years ago[chromium] Remove USE(THREADED_COMPOSITING) from the tree
jamesr@google.com [Fri, 7 Oct 2011 00:17:49 +0000 (00:17 +0000)]
[chromium] Remove USE(THREADED_COMPOSITING) from the tree
https://bugs.webkit.org/show_bug.cgi?id=69489

Reviewed by Darin Fisher.

Source/WebCore:

This macro isn't needed any more since the logic it guarded is guarded by a runtime switch.

* platform/graphics/chromium/cc/CCLayerTreeHost.h:

Source/WebKit/chromium:

Updated CCLayerTreeHostTest::onEndTest() to pump all pending messages
after posting the Quit task and before tearing down any test
infrastructure.

* features.gypi:
* src/WebViewImpl.h:
* tests/CCLayerTreeHostTest.cpp:
(WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):

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

9 years ago[chromium] Remove obsolete WebWidgetClient::didActivateAcceleratedCompositing call
jamesr@google.com [Fri, 7 Oct 2011 00:16:26 +0000 (00:16 +0000)]
[chromium] Remove obsolete WebWidgetClient::didActivateAcceleratedCompositing call
https://bugs.webkit.org/show_bug.cgi?id=69576

Reviewed by Darin Fisher.

The chromium implementation of this function went away at r104017.

* public/WebWidgetClient.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):

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

9 years agoReturn null for the value of IDB key cursors instead of ASSERTing
dgrogan@chromium.org [Thu, 6 Oct 2011 23:58:10 +0000 (23:58 +0000)]
Return null for the value of IDB key cursors instead of ASSERTing
https://bugs.webkit.org/show_bug.cgi?id=69131

This is in support of the IndexedDB performance improvement here:
http://codereview.chromium.org/7834006/

Reviewed by Tony Chang.

* storage/IDBCursorBackendImpl.cpp:
(WebCore::IDBCursorBackendImpl::value):

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

9 years ago [Mac] Should be able to scroll embedded PDFs using mouse
ap@apple.com [Thu, 6 Oct 2011 23:52:21 +0000 (23:52 +0000)]
    [Mac] Should be able to scroll embedded PDFs using mouse
        https://bugs.webkit.org/show_bug.cgi?id=69579

        Reviewed by Darin Adler.

        Hit testing doesn't find scrollbars installed by a plug-in, so mouse events don't work.

        As we want to use WebKit scrollbars with PDF plug-in, a cleaner long-term solution would be
        to have a base class under PluginViewBase that can handle scrolling instead of doing that
        in PluginView and Plugin.

        * plugins/PluginViewBase.h:
        (WebCore::PluginViewBase::horizontalScrollbar):
        (WebCore::PluginViewBase::verticalScrollbar):
        Added accessors for scrollbars installed by plug-in.

        * rendering/nodeAtPoint.cpp: (WebCore::RenderEmbeddedObject::nodeAtPoint):
        Like RenderLayer, add scrollbars to hit result after normal  hit testing.

        * rendering/RenderEmbeddedObject.h: Added a nodeAtPoint override.

        * rendering/RenderWidget.h: Made nodeAtPoint() protected instead of private, so that
        RenderEmbeddedObject could call it.

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

9 years agoWrite barrier shouldn't allocate temporaries inside control flow
oliver@apple.com [Thu, 6 Oct 2011 23:48:06 +0000 (23:48 +0000)]
Write barrier shouldn't allocate temporaries inside control flow
https://bugs.webkit.org/show_bug.cgi?id=69582

Reviewed by Gavin Barraclough.

Reorder the code to avoid spill-related badness.

* dfg/DFGJITCodeGenerator.cpp:
(JSC::DFG::JITCodeGenerator::writeBarrier):

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

9 years ago<rdar://problem/9717490> Flash of white when navigating daringfireball.net
mitz@apple.com [Thu, 6 Oct 2011 23:42:57 +0000 (23:42 +0000)]
<rdar://problem/9717490> Flash of white when navigating daringfireball.net
https://bugs.webkit.org/show_bug.cgi?id=69581

Reviewed by Darin Adler.

* platform/ScrollView.cpp:
(WebCore::ScrollView::updateScrollbars): Moved the calls to Scrollbar::setEnabled() into the code
section where invalidation is suppressed if necessary, so that they do not trigger premature invalidation.

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

9 years agoAdded a comment explaining code added in r96834.
mitz@apple.com [Thu, 6 Oct 2011 23:40:22 +0000 (23:40 +0000)]
Added a comment explaining code added in r96834.

Suggested by Darin Adler.

* editing/FrameSelection.cpp:
(WebCore::FrameSelection::updateAppearance):

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

9 years ago[Qt][WK2] WebIconDatabase expects a file path not a directory.
alexis.menard@openbossa.org [Thu, 6 Oct 2011 23:39:25 +0000 (23:39 +0000)]
[Qt][WK2] WebIconDatabase expects a file path not a directory.
https://bugs.webkit.org/show_bug.cgi?id=69557

Reviewed by Andreas Kling.

WebIconDatabase::setDatabasePath expects a file path not a directory.
I used the same name as the Mac port.

* UIProcess/qt/WebContextQt.cpp:
(WebKit::WebContext::platformDefaultIconDatabasePath):

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

9 years agoDFG::shouldSpeculate methods are too complicated
fpizlo@apple.com [Thu, 6 Oct 2011 23:39:03 +0000 (23:39 +0000)]
DFG::shouldSpeculate methods are too complicated
https://bugs.webkit.org/show_bug.cgi?id=69560

Reviewed by Geoffrey Garen.

Moved shouldSpeculate methods to DFG::Node, and cleaned them up to
just use node predictions.

By itself this would have meant that SpeculativeJIT code would have
had to say things like m_jit.graph()[nodeIndex].shouldSpeculateXYZ().
So this adds an at(NodeIndex) method to JITCodeGenerator. I replaced
all uses of the m_jit.graph()[nodeIndex] idiom with at(nodeIndex).

This is an 0.4% progression overall that shows up in all benchmarks,
for reasons unknown.

* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::at):
(JSC::DFG::JITCodeGenerator::canReuse):
(JSC::DFG::JITCodeGenerator::isFilled):
(JSC::DFG::JITCodeGenerator::isFilledDouble):
(JSC::DFG::JITCodeGenerator::use):
(JSC::DFG::JITCodeGenerator::silentSpillFPR):
(JSC::DFG::JITCodeGenerator::silentFillGPR):
(JSC::DFG::JITCodeGenerator::silentFillFPR):
(JSC::DFG::detectPeepHoleBranch):
(JSC::DFG::integerResult):
(JSC::DFG::noResult):
(JSC::DFG::cellResult):
(JSC::DFG::jsValueResult):
(JSC::DFG::storageResult):
(JSC::DFG::doubleResult):
(JSC::DFG::initConstantInfo):
(JSC::DFG::appendCallWithExceptionCheck):
* dfg/DFGJITCodeGenerator32_64.cpp:
(JSC::DFG::JITCodeGenerator::fillInteger):
(JSC::DFG::JITCodeGenerator::fillDouble):
(JSC::DFG::JITCodeGenerator::fillJSValue):
(JSC::DFG::JITCodeGenerator::nonSpeculativeValueToNumber):
(JSC::DFG::JITCodeGenerator::nonSpeculativeValueToInt32):
(JSC::DFG::JITCodeGenerator::nonSpeculativeUInt32ToNumber):
(JSC::DFG::JITCodeGenerator::nonSpeculativeKnownConstantArithOp):
(JSC::DFG::JITCodeGenerator::nonSpeculativeBasicArithOp):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeBranchNull):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeBranch):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeStrictEq):
(JSC::DFG::JITCodeGenerator::emitCall):
* dfg/DFGJITCodeGenerator64.cpp:
(JSC::DFG::JITCodeGenerator::fillInteger):
(JSC::DFG::JITCodeGenerator::fillDouble):
(JSC::DFG::JITCodeGenerator::fillJSValue):
(JSC::DFG::JITCodeGenerator::nonSpeculativeValueToInt32):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeBranchNull):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeBranch):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeStrictEq):
(JSC::DFG::JITCodeGenerator::emitCall):
* dfg/DFGNode.h:
(JSC::DFG::Node::shouldSpeculateInteger):
(JSC::DFG::Node::shouldSpeculateDouble):
(JSC::DFG::Node::shouldSpeculateNumber):
(JSC::DFG::Node::shouldNotSpeculateInteger):
(JSC::DFG::Node::shouldSpeculateFinalObject):
(JSC::DFG::Node::shouldSpeculateFinalObjectOrOther):
(JSC::DFG::Node::shouldSpeculateArray):
(JSC::DFG::Node::shouldSpeculateArrayOrOther):
(JSC::DFG::Node::shouldSpeculateObject):
(JSC::DFG::Node::shouldSpeculateCell):
(JSC::DFG::Node::canSpeculateInteger):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compilePeepHoleDoubleBranch):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectEquality):
(JSC::DFG::SpeculativeJIT::compilePeepHoleIntegerBranch):
(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compile):
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
(JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::isInteger):
(JSC::DFG::SpeculativeJIT::isKnownArray):
(JSC::DFG::SpeculativeJIT::isKnownString):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::convertToDouble):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
(JSC::DFG::SpeculativeJIT::fillSpeculateCell):
(JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):

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

9 years agoDeleting line break before h1 converts h1 to span
rniwa@webkit.org [Thu, 6 Oct 2011 23:16:01 +0000 (23:16 +0000)]
Deleting line break before h1 converts h1 to span
https://bugs.webkit.org/show_bug.cgi?id=45784

Reviewed by Enrica Casucci.

Source/WebCore:

This patch fundamentally alters the kind of styles we preserve while merging or moving paragraphs.
StylizedMarkupAccumulator no longer wraps nodes by computed style when it's not annotating for interchange.
Instead, it accumulates implicit and inline styles of ancestors of the serialized contents.

The most significant code change is in StyledMarkupAccumulator::serializeNodes where we setup m_wrappingStyle
by merging implicit and inline style of ancestors with mergeInlineAndImplicitStyleOfElement. Because it walks up
the DOM tree upwards, it should not be overriding any CSS properties. Consequently, mergeStyle,
mergeInlineStyleOfElement, and mergeInlineAndImplicitStyleOfElement are modified to take CSSPropertyOverrideMode.

New behavior matches that of Internet Explorer and Firefox when merging paragraphs.

Tests: editing/deleting/merge-paragraph-from-address.html
       editing/deleting/merge-paragraph-from-h6-with-style-2.html
       editing/deleting/merge-paragraph-from-h6-with-style.html
       editing/deleting/merge-paragraph-from-h6.html
       editing/deleting/merge-paragraph-from-listing.html
       editing/deleting/merge-paragraph-from-p-with-style-2.html
       editing/deleting/merge-paragraph-from-p-with-style-3.html
       editing/deleting/merge-paragraph-from-p-with-style.html
       editing/deleting/merge-paragraph-into-h1-with-style.html
       editing/deleting/merge-paragraph-into-h1.html
       editing/deleting/merge-paragraph-into-pre.html

* css/CSSValueList.cpp:
(WebCore::CSSValueList::hasValue): Made const.
* css/CSSValueList.h:
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::removeInlineStyleFromElement): Calls mergeInlineStyleOfElement.
(WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Ditto.
* editing/EditingStyle.cpp:
(WebCore::copyEditingProperties): Takes a boolean includeBackgroundColor.
(WebCore::isEditingProperty): Extracted from elementIsStyledSpanOrHTMLEquivalent.
(WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent): Calls isEditingProperty.
(WebCore::EditingStyle::mergeTypingStyle): Calls mergeStyle.
(WebCore::EditingStyle::mergeInlineStyleOfElement): Takes CSSPropertyOverrideMode.
(WebCore::elementMatchesAndPropertyIsNotInInlineStyleDecl): Added.
(WebCore::EditingStyle::mergeInlineAndImplicitStyleOfElement): Added.
(WebCore::mergeTextDecorationValues): Extracted from mergeStyle.
(WebCore::EditingStyle::mergeStyle): Takes CSSPropertyOverrideMode.
* editing/EditingStyle.h:
* editing/ReplaceSelectionCommand.cpp:
(WebCore::nodeToSplitToAvoidPastingIntoInlineNodesWithStyle): Extracted from doApply.
(WebCore::ReplaceSelectionCommand::doApply): Calls nodeToSplitToAvoidPastingIntoInlineNodesWithStyle.
(WebCore::ReplaceSelectionCommand::performTrivialReplace): Exit early when we need to split the tree to avoid
pasting into inline nodes with style. Also remove a collapsed or spurious br.
* editing/markup.cpp:
(WebCore::StyledMarkupAccumulator::serializeNodes):

LayoutTests:

Many rebaselines are due to text nodes merged correctly after ReplaceSelectionCommand because
they started to use the fast path (perfromTrivialReplace).

New tests:
* editing/deleting/merge-paragraph-from-address-expected.txt: Added.
* editing/deleting/merge-paragraph-from-address.html: Added.
* editing/deleting/merge-paragraph-from-h6-expected.txt: Added.
* editing/deleting/merge-paragraph-from-h6-with-style-2-expected.txt: Added.
* editing/deleting/merge-paragraph-from-h6-with-style-2.html: Added.
* editing/deleting/merge-paragraph-from-h6-with-style-3-expected.txt: Added.
* editing/deleting/merge-paragraph-from-h6-with-style-3.html: Added.
* editing/deleting/merge-paragraph-from-h6-with-style-expected.txt: Added.
* editing/deleting/merge-paragraph-from-h6-with-style.html: Added.
* editing/deleting/merge-paragraph-from-h6.html: Added.
* editing/deleting/merge-paragraph-from-listing-expected.txt: Added.
* editing/deleting/merge-paragraph-from-listing.html: Added.
* editing/deleting/merge-paragraph-from-p-with-style-2-expected.txt: Added.
* editing/deleting/merge-paragraph-from-p-with-style-2.html: Added.
* editing/deleting/merge-paragraph-from-p-with-style-expected.txt: Added.
* editing/deleting/merge-paragraph-from-p-with-style.html: Added.
* editing/deleting/merge-paragraph-into-blockquote-expected.txt:
* editing/deleting/merge-paragraph-into-h1-expected.txt: Added.
* editing/deleting/merge-paragraph-into-h1-style-expected.txt: Added.
* editing/deleting/merge-paragraph-into-h1-with-style-expected.txt: Added.
* editing/deleting/merge-paragraph-into-h1-with-style.html: Added.
* editing/deleting/merge-paragraph-into-h1.html: Added.
* editing/deleting/merge-paragraph-into-pre-expected.txt: Added.
* editing/deleting/merge-paragraph-into-pre.html: Added.

Rebaselines:
* editing/pasteboard/5521237-expected.txt: A collapsed br at the end is removed.
* editing/spelling/script-tests/spelling-backspace-between-lines.js: text nodes are merged.
(testWithDelete):
(testWithForwardDelete):
* editing/spelling/spelling-backspace-between-lines-expected.txt:
* editing/style/apply-through-end-of-document-expected.txt: A collapsed br at the end is removed.
* platform/mac/editing/deleting/merge-whitespace-pre-expected.png:
* platform/mac/editing/deleting/merge-whitespace-pre-expected.txt: "bar" is merged into p from
pre and losing monospace style.
* platform/mac/editing/pasteboard/paste-match-style-001-expected.txt: A text node is split into
two with no visual effect.

Rebaselines due to text nodes being merged:
* editing/deleting/5032066-expected.txt:
* editing/deleting/delete-across-editable-content-boundaries-2-expected.txt:
* editing/deleting/delete-across-editable-content-boundaries-3-expected.txt:
* editing/deleting/delete-line-011-expected.txt:
* editing/deleting/delete-to-end-of-paragraph-expected.txt:
* editing/deleting/deleting-line-break-preserves-underline-color-expected.txt:
* editing/pasteboard/copy-null-characters-expected.txt:
* editing/pasteboard/insert-div-text-into-text-expected.txt:
* editing/pasteboard/interchange-newline-1-expected.txt:
* editing/pasteboard/interchange-newline-2-expected.txt:
* editing/pasteboard/merge-end-3-expected.txt:
* editing/pasteboard/merge-end-4-expected.txt:
* editing/pasteboard/merge-end-5-expected.txt:
* editing/pasteboard/merge-end-list-2-expected.txt:
* editing/pasteboard/merge-end-table-2-expected.txt:
* editing/pasteboard/paste-after-inline-style-element-expected.txt:
* editing/pasteboard/paste-blockquote-2-expected.txt:
* editing/pasteboard/paste-blockquote-3-expected.txt:
* editing/pasteboard/paste-blockquote-into-blockquote-2-expected.txt:
* editing/pasteboard/paste-blockquote-into-blockquote-expected.txt:
* editing/pasteboard/paste-into-blockquote-with-document-font-color-expected.txt:
* editing/pasteboard/pasting-word-in-div-extra-line-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-001-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-002-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-003-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-004-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-005-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-006-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-007-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-008-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-009-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-010-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-012-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-013-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-014-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-015-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-016-expected.txt:
* platform/mac/editing/deleting/delete-block-merge-contents-017-expected.txt:
* platform/mac/editing/deleting/delete-br-010-expected.txt:
* platform/mac/editing/deleting/delete-line-012-expected.txt:
* platform/mac/editing/deleting/delete-listitem-001-expected.txt:
* platform/mac/editing/inserting/multiple-lines-selected-expected.txt:
* platform/mac/editing/pasteboard/5032095-expected.txt:
* platform/mac/editing/pasteboard/merge-after-delete-1-expected.txt:
* platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
* platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
* platform/mac/editing/pasteboard/merge-end-blockquote-expected.txt:
* platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.txt:

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

9 years agoREGRESSION (r96595): First frame in assertion backtraces is no longer labeled "1"
gavinp@chromium.org [Thu, 6 Oct 2011 23:02:05 +0000 (23:02 +0000)]
REGRESSION (r96595): First frame in assertion backtraces is no longer labeled "1"
https://bugs.webkit.org/show_bug.cgi?id=69556

Reviewed by Adam Roben.

* wtf/Assertions.cpp:

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

9 years agoCrash in VisiblePosition::canonicalPosition.
inferno@chromium.org [Thu, 6 Oct 2011 22:55:20 +0000 (22:55 +0000)]
Crash in VisiblePosition::canonicalPosition.
https://bugs.webkit.org/show_bug.cgi?id=69568

Reviewed by Ryosuke Niwa.

Source/WebCore:

Move the position's containerNode calculation after layout is
complete(in updateLayoutIgnorePendingStylesheets).

Test: editing/selection/selection-plugin-clear-crash.html

* editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::canonicalPosition):

LayoutTests:

* editing/selection/selection-plugin-clear-crash-expected.txt: Added.
* editing/selection/selection-plugin-clear-crash.html: Added.

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

9 years agoUnreviewed, rolling out r96861.
commit-queue@webkit.org [Thu, 6 Oct 2011 22:47:17 +0000 (22:47 +0000)]
Unreviewed, rolling out r96861.
http://trac.webkit.org/changeset/96861
https://bugs.webkit.org/show_bug.cgi?id=69573

This patch didn't compile on windows (Requested by annacc on
#webkit).

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

Source/WebCore:

* html/track/WebVTTParser.cpp:
(WebCore::WebVTTParser::constructTreeFromToken):

Source/WebKit/chromium:

* features.gypi:

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

9 years agoThe GTK+ WebKit2 headers produce a lot of style warnings
commit-queue@webkit.org [Thu, 6 Oct 2011 22:44:45 +0000 (22:44 +0000)]
The GTK+ WebKit2 headers produce a lot of style warnings
https://bugs.webkit.org/show_bug.cgi?id=69481

Patch by Martin Robinson <mrobinson@igalia.com> on 2011-10-06
Reviewed by David Levin.

Prevent emitting so many style warnings for GTK+ API. We skip header
files in the WebKit2 GTK+ API directory and also avoid warnings about
identifier names that begin with "webkit_" in files that contain the
string "gtk".

* Scripts/webkitpy/style/checker.py: Do not check header files in
Source/WebKit2/UIProcess/API/gtk that do not end in Private.h. This required
adding the ability to specify a regular expression in the skip list. Remove
a few files from the skipped list that no longer exist.
* Scripts/webkitpy/style/checker_unittest.py: Added a test for this behavior.
* Scripts/webkitpy/style/checkers/cpp.py: If a path contains "gtk" don't warn
about identifiers that begin with "webkit_".
* Scripts/webkitpy/style/checkers/cpp_unittest.py: Added a test for this behavior.

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

9 years ago[WinCairo] Correct config.json for WinCairo Test builds.
bfulgham@webkit.org [Thu, 6 Oct 2011 22:43:40 +0000 (22:43 +0000)]
[WinCairo] Correct config.json for WinCairo Test builds.
https://bugs.webkit.org/show_bug.cgi?id=69272

Reviewed by Ryosuke Niwa.

* BuildSlaveSupport/build.webkit.org-config/config.json: Remove
 old 'WinCairo Debug (Build)' label and replace with correct
 'WinCairo Release' label.

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

9 years agoIn background window, page flashes white if it enters and then immediately leaves...
andersca@apple.com [Thu, 6 Oct 2011 21:59:05 +0000 (21:59 +0000)]
In background window, page flashes white if it enters and then immediately leaves compositing mode
https://bugs.webkit.org/show_bug.cgi?id=69566
<rdar://problem/9521192>

Reviewed by Dan Bernstein.

Don't update the backing store state if we're just about to exit accelerated compositing mode. Otherwise
the UI process will try to render an empty layer tree for a short period of time, leading to a white flash.

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::layerHostDidFlushLayers):

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

9 years agoAdd a style checker watchlist definition and add myself to it.
levin@chromium.org [Thu, 6 Oct 2011 21:58:12 +0000 (21:58 +0000)]
Add a style checker watchlist definition and add myself to it.
https://bugs.webkit.org/show_bug.cgi?id=69564

Reviewed by Daniel Bates.

* Scripts/webkitpy/common/config/watchlist:

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

9 years ago[Chromium] Remove passing tests from test_expectations.txt.
simonjam@chromium.org [Thu, 6 Oct 2011 21:56:29 +0000 (21:56 +0000)]
[Chromium] Remove passing tests from test_expectations.txt.

Unreviewed.

* platform/chromium/test_expectations.txt:

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

9 years agoSource/WebCore: Adding parens in WebVTTParser.cpp to appease compiler preferences.
annacc@chromium.org [Thu, 6 Oct 2011 21:44:31 +0000 (21:44 +0000)]
Source/WebCore: Adding parens in WebVTTParser.cpp to appease compiler preferences.
https://bugs.webkit.org/show_bug.cgi?id=69460

Reviewed by David Levin.

No new tests. No new functionality.

* html/track/WebVTTParser.cpp:
(WebCore::WebVTTParser::constructTreeFromToken):

Source/WebKit/chromium: Turn ENABLE_VIDEO_TRACK on for chromium.
https://bugs.webkit.org/show_bug.cgi?id=69460

Reviewed by David Levin.

* features.gypi:

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

9 years agoDFG implementation of UInt32ToNumber is missing a break statement
fpizlo@apple.com [Thu, 6 Oct 2011 21:43:00 +0000 (21:43 +0000)]
DFG implementation of UInt32ToNumber is missing a break statement
https://bugs.webkit.org/show_bug.cgi?id=69552

Reviewed by Oliver Hunt.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

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

9 years agoCode clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods...
fsamuel@chromium.org [Thu, 6 Oct 2011 21:36:30 +0000 (21:36 +0000)]
Code clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods const and make its parameter useTransforms no longer default to false
https://bugs.webkit.org/show_bug.cgi?id=69009

Reviewed by Simon Fraser.

.:

* Source/autotools/symbols.filter:

Source/WebCore:

Upcoming patches may make use of absoluteBoundingBoxRect on a const RenderObject, so this needed to be fixed.
Making useTransforms default to true instead of false and replacing instances of absoluteBoundingBoxRect() to
absoluteBoundingBoxRectIgnoringTransforms() partially addreses // FIXME: useTransforms should go away eventually.

* WebCore.exp.in:
* dom/Element.cpp:
(WebCore::Element::screenRect):
* dom/Node.cpp:
(WebCore::Node::getRect):
(WebCore::Node::renderRect):
* html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::setPositionFromPoint):
* html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::startSpeechInput):
* inspector/DOMNodeHighlighter.cpp:
* plugins/IFrameShimSupport.cpp:
(WebCore::getPluginOcclusions):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::absoluteRects):
(WebCore::RenderBlock::absoluteQuads):
* rendering/RenderBlock.h:
* rendering/RenderBox.cpp:
(WebCore::RenderBox::absoluteRects):
(WebCore::RenderBox::absoluteQuads):
* rendering/RenderBox.h:
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):
* rendering/RenderIFrame.cpp:
(WebCore::RenderIFrame::flattenFrame):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::absoluteRects):
(WebCore::RenderInline::culledInlineAbsoluteRects):
(WebCore::RenderInline::absoluteQuads):
(WebCore::RenderInline::culledInlineAbsoluteQuads):
* rendering/RenderInline.h:
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::showPopup):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::absoluteBoundingBoxRect):
(WebCore::RenderObject::addAbsoluteRectForLayer):
(WebCore::RenderObject::paintingRootRect):
* rendering/RenderObject.h:
(WebCore::RenderObject::absoluteRects):
(WebCore::RenderObject::absoluteBoundingBoxRectIgnoringTransforms):
(WebCore::RenderObject::absoluteQuads):
* rendering/RenderText.cpp:
(WebCore::RenderText::absoluteRects):
(WebCore::RenderText::absoluteQuads):
* rendering/RenderText.h:
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::showPopup):
* rendering/RenderThemeSafari.cpp:
(WebCore::RenderThemeSafari::paintSearchFieldCancelButton):
(WebCore::RenderThemeSafari::paintSearchFieldResultsDecoration):
(WebCore::RenderThemeSafari::paintSearchFieldResultsButton):
* rendering/RenderView.cpp:
(WebCore::RenderView::absoluteRects):
(WebCore::RenderView::absoluteQuads):
* rendering/RenderView.h:
* rendering/svg/RenderSVGBlock.cpp:
(WebCore::RenderSVGBlock::absoluteRects):
* rendering/svg/RenderSVGBlock.h:
* rendering/svg/RenderSVGHiddenContainer.cpp:
(WebCore::RenderSVGHiddenContainer::absoluteQuads):
* rendering/svg/RenderSVGHiddenContainer.h:
* rendering/svg/RenderSVGInline.cpp:
(WebCore::RenderSVGInline::absoluteQuads):
* rendering/svg/RenderSVGInline.h:
* rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::absoluteRects):
(WebCore::RenderSVGModelObject::absoluteQuads):
* rendering/svg/RenderSVGModelObject.h:
* rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::absoluteQuads):
* rendering/svg/RenderSVGText.h:
* testing/Internals.cpp:
(WebCore::Internals::boundingBox):

Source/WebKit/qt:

* Api/qwebframe.cpp:
(QWebHitTestResultPrivate::QWebHitTestResultPrivate):

Source/WebKit2:

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

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

9 years agoMove windows specific TextChecker implementation common to all ports.
commit-queue@webkit.org [Thu, 6 Oct 2011 21:34:12 +0000 (21:34 +0000)]
Move windows specific TextChecker implementation common to all ports.
https://bugs.webkit.org/show_bug.cgi?id=68532

Patch by Ravi Phaneendra Kasibhatla <ravi.kasibhatla@motorola.com> on 2011-10-06
Reviewed by Anders Carlsson.

All the TextChecker feature implementation files are moved outside of win port since they are
platform independent and can be moved across all ports. Only the implementation of TextChecker
class is platform dependent now and has been retained across all ports. Rest all files has been
moved for all ports usage.

* Shared/API/c/WKBase.h: Add WKGrammarDetailRef & WKTextCheckerRef types.
* Shared/API/c/win/WKBaseWin.h: Remove WKGrammarDetailRef & WKTextCheckerRef types.
* Shared/APIObject.h: Moved TypeGrammarDetail & TypeTextChecker from platform specific section to UIProcess types.
* UIProcess/API/C/WKAPICast.h: Added mapping for WKTextCheckerRef & WKGrammarDetailRef.
* UIProcess/API/C/WKGrammarDetail.cpp: Renamed from Source/WebKit2/UIProcess/API/C/win/WKGrammarDetail.cpp.
* UIProcess/API/C/WKGrammarDetail.h: Renamed from Source/WebKit2/UIProcess/API/C/win/WKGrammarDetail.h.
* UIProcess/API/C/WKTextChecker.cpp: Renamed from Source/WebKit2/UIProcess/API/C/win/WKTextChecker.cpp.
* UIProcess/API/C/WKTextChecker.h: Renamed from Source/WebKit2/UIProcess/API/C/win/WKTextChecker.h.
* UIProcess/API/C/win/WKAPICastWin.h: Removed mapping for WKTextCheckerRef & WKGrammarDetailRef.
* UIProcess/WebGrammarDetail.cpp: Renamed from Source/WebKit2/UIProcess/win/WebGrammarDetail.cpp.
* UIProcess/WebGrammarDetail.h: Renamed from Source/WebKit2/UIProcess/win/WebGrammarDetail.h.
* UIProcess/WebTextChecker.cpp: Renamed from Source/WebKit2/UIProcess/win/WebTextChecker.cpp.
* UIProcess/WebTextChecker.h: Renamed from Source/WebKit2/UIProcess/win/WebTextChecker.h.
* UIProcess/WebTextCheckerClient.cpp: Renamed from Source/WebKit2/UIProcess/win/WebTextCheckerClient.cpp.
* UIProcess/WebTextCheckerClient.h: Renamed from Source/WebKit2/UIProcess/win/WebTextCheckerClient.h.
* win/WebKit2.vcproj: Corrected paths for renamed files.
* win/WebKit2Generated.make: Corrected paths for renamed files.

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

9 years ago[Qt][Wk2] Fix build with Qt 5 when QtScript is built as standalone module
hausmann@webkit.org [Thu, 6 Oct 2011 21:26:33 +0000 (21:26 +0000)]
[Qt][Wk2] Fix build with Qt 5 when QtScript is built as standalone module
https://bugs.webkit.org/show_bug.cgi?id=69520

Reviewed by Csaba Osztrogon√°c.

.:

* Source/WebKit.pri: Introduce convenience qt5 scope.
* Source/WebKit.pro: Replace QT_MAJOR_VERSION stuff with qt5 scope.

Source/WebCore:

* WebCore.pri: Use qt5 scope.
* WebCore.pro: Use qt5 scope and pull in QtScript for the time being.

Source/WebKit/qt:

* QtWebKit.pro: Convenience, use qt5 scope.
* declarative/declarative.pro: Ditto.
* tests/tests.pri: Ditto.

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

9 years agolast frame of a multipart response is not displayed
tony@chromium.org [Thu, 6 Oct 2011 21:06:40 +0000 (21:06 +0000)]
last frame of a multipart response is not displayed
https://bugs.webkit.org/show_bug.cgi?id=69449

Reviewed by Adam Barth.

Source/WebCore:

Test: http/tests/multipart/load-last-non-html-frame.php

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::maybeFinishLoadingMultipartContent): for non-progressive load pages, commit the load so the
    last frame will be displayed.
* loader/DocumentLoader.h:
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::didFinishLoading):

LayoutTests:

* http/tests/multipart/load-last-non-html-frame-expected.txt: Added.
* http/tests/multipart/load-last-non-html-frame.php: Added.

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

9 years agoCrash when PluginProxy object is destroyed inside PluginProxy::pluginScriptableNPObject
andersca@apple.com [Thu, 6 Oct 2011 20:59:47 +0000 (20:59 +0000)]
Crash when PluginProxy object is destroyed inside PluginProxy::pluginScriptableNPObject
https://bugs.webkit.org/show_bug.cgi?id=69559
<rdar://problem/9704066>

Reviewed by Maciej Stachowiak.

Protect the plug-in itself in the call to pluginScriptableNPObject. In some cases, sending
the synchronous message to the plug-in process can end up causing the web process to handle
an incoming message that will destroy t he plug-in.

Unfortunately, this is highly timing-dependent and can't be tested reliably.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::pluginScriptableNPObject):

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

9 years agoUnreviewed build fix for DFG JIT 32_64 release builds.
barraclough@apple.com [Thu, 6 Oct 2011 20:49:50 +0000 (20:49 +0000)]
Unreviewed build fix for DFG JIT 32_64 release builds.

* dfg/DFGJITCompiler.cpp:
* dfg/DFGJITCompiler.h:
* dfg/DFGJITCompiler32_64.cpp:
    - Remove three unused methods.

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

9 years ago[Chromium] Rebaseline test missed in r96814.
simonjam@chromium.org [Thu, 6 Oct 2011 20:28:32 +0000 (20:28 +0000)]
[Chromium] Rebaseline test missed in r96814.

Unreviewed.

* platform/chromium-mac-snowleopard/printing/return-from-printing-mode-expected.png: Added.
* platform/chromium-mac/printing/return-from-printing-mode-expected.png: Removed.

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

9 years ago2011-10-06 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 6 Oct 2011 19:36:14 +0000 (19:36 +0000)]
2011-10-06  Dirk Schulze  <krit@webkit.org>

        Unreviewed: 3rd chunk of new SVG baseline for lion.

        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/script-handle-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-dom-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-dom-06-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-frag-06-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-group-03-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-image-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-image-06-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/struct-use-03-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/styling-css-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/styling-css-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/styling-css-03-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/styling-css-04-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-deco-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-intro-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-intro-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-intro-04-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-path-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-text-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-text-03-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-text-04-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-text-05-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-text-06-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-text-08-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-tref-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-tselect-02-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/script-handle-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-dom-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-dom-06-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-frag-06-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-group-03-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-image-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-image-06-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/struct-use-03-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-deco-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-intro-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-intro-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-intro-04-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-path-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-text-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-text-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-text-04-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-text-05-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-text-08-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-tref-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-tselect-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png:

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

9 years agoextend flexbox testing to test children and parents of the flexbox
ojan@chromium.org [Thu, 6 Oct 2011 19:33:43 +0000 (19:33 +0000)]
extend flexbox testing to test children and parents of the flexbox
https://bugs.webkit.org/show_bug.cgi?id=69495

Reviewed by Tony Chang.

Checking children of flex items allows for making sure that padding/border
get properly taken into account. Checking the parent of the flexbox allows
for checking that margins on the flexbox itself are applied correctly.

Also, make it so that failures print the outerHTML of the failing case to
make it easier to diagnose.

* css3/flexbox/001.html:
* css3/flexbox/resources/flexbox.js:
* css3/flexbox/writing-modes.html:

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

9 years agoNew chromium-mac image baselines for focus-ring fix in
caryclark@google.com [Thu, 6 Oct 2011 19:32:43 +0000 (19:32 +0000)]
New chromium-mac image baselines for focus-ring fix in
http://code.google.com/p/chromium/issues/detail?id=97956

Committed for Elliot Poger <epoger@google.com> by Cary Clark.
Unreviewed.

* platform/chromium-mac/editing/deleting/4922367-expected.png:
* platform/chromium-mac/editing/deleting/5099303-expected.png:
* platform/chromium-mac/editing/deleting/5126166-expected.png:
* platform/chromium-mac/editing/deleting/5144139-2-expected.png:
* platform/chromium-mac/editing/deleting/5206311-1-expected.png:
* platform/chromium-mac/editing/deleting/5272440-expected.png:
* platform/chromium-mac/editing/deleting/5369009-expected.png:
* platform/chromium-mac/editing/deleting/5433862-2-expected.png:
* platform/chromium-mac/editing/deleting/5483370-expected.png:
* platform/chromium-mac/editing/deleting/collapse-whitespace-3587601-fix-expected.png:
* platform/chromium-mac/editing/deleting/delete-3608445-fix-expected.png:
* platform/chromium-mac/editing/deleting/delete-3608462-fix-expected.png:
* platform/chromium-mac/editing/deleting/delete-3959464-fix-expected.png:
* platform/chromium-mac/editing/deleting/delete-4083333-fix-expected.png:
* platform/chromium-mac/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-and-undo-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-004-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-005-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-006-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-007-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-008-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-009-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-010-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-paragraph-boundaries-011-expected.png:
* platform/chromium-mac/editing/deleting/delete-at-start-or-end-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-contents-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-contents-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-contents-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-004-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-005-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-006-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-007-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-008-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-009-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-010-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-011-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-012-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-013-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-014-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-015-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-016-expected.png:
* platform/chromium-mac/editing/deleting/delete-block-merge-contents-017-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-004-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-005-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-006-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-007-expected.png:
* platform/chromium-mac/editing/deleting/delete-br-013-expected.png:
* platform/chromium-mac/editing/deleting/delete-character-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-contiguous-ws-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-first-list-item-expected.png:
* platform/chromium-mac/editing/deleting/delete-hr-expected.png:
* platform/chromium-mac/editing/deleting/delete-image-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-image-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-image-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-image-004-expected.png:
* platform/chromium-mac/editing/deleting/delete-leading-ws-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-line-015-expected.png:
* platform/chromium-mac/editing/deleting/delete-line-016-expected.png:
* platform/chromium-mac/editing/deleting/delete-line-017-expected.png:
* platform/chromium-mac/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-line-end-ws-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-listitem-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-listitem-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-selection-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-tab-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-tab-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-tab-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-tab-004-expected.png:
* platform/chromium-mac/editing/deleting/delete-to-select-table-expected.png:
* platform/chromium-mac/editing/deleting/delete-trailing-ws-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-trailing-ws-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-ws-fixup-001-expected.png:
* platform/chromium-mac/editing/deleting/delete-ws-fixup-002-expected.png:
* platform/chromium-mac/editing/deleting/delete-ws-fixup-003-expected.png:
* platform/chromium-mac/editing/deleting/delete-ws-fixup-004-expected.png:
* platform/chromium-mac/editing/deleting/list-item-1-expected.png:
* platform/chromium-mac/editing/deleting/merge-different-styles-expected.png:
* platform/chromium-mac/editing/deleting/merge-endOfParagraph-expected.png:
* platform/chromium-mac/editing/deleting/merge-into-empty-block-1-expected.png:
* platform/chromium-mac/editing/deleting/merge-into-empty-block-2-expected.png:
* platform/chromium-mac/editing/deleting/merge-no-br-expected.png:
* platform/chromium-mac/editing/deleting/merge-unrendered-space-expected.png:
* platform/chromium-mac/editing/deleting/merge-whitespace-pre-expected.png:
* platform/chromium-mac/editing/deleting/non-smart-delete-expected.png:
* platform/chromium-mac/editing/deleting/pruning-after-merge-2-expected.png:
* platform/chromium-mac/editing/deleting/smart-delete-001-expected.png:
* platform/chromium-mac/editing/deleting/smart-delete-002-expected.png:
* platform/chromium-mac/editing/deleting/smart-delete-003-expected.png:
* platform/chromium-mac/editing/deleting/smart-delete-004-expected.png:
* platform/chromium-mac/editing/deleting/table-cells-expected.png:
* platform/chromium-mac/editing/deleting/type-delete-after-quote-expected.png:
* platform/chromium-mac/editing/execCommand/4580583-1-expected.png:
* platform/chromium-mac/editing/execCommand/4580583-2-expected.png:
* platform/chromium-mac/editing/execCommand/4641880-1-expected.png:
* platform/chromium-mac/editing/execCommand/4641880-2-expected.png:
* platform/chromium-mac/editing/execCommand/4747450-expected.png:
* platform/chromium-mac/editing/execCommand/4916402-expected.png:
* platform/chromium-mac/editing/execCommand/4916541-expected.png:
* platform/chromium-mac/editing/execCommand/4924441-expected.png:
* platform/chromium-mac/editing/execCommand/5080333-1-expected.png:
* platform/chromium-mac/editing/execCommand/5080333-2-expected.png:
* platform/chromium-mac/editing/execCommand/5136770-expected.png:
* platform/chromium-mac/editing/execCommand/5138441-expected.png:
* platform/chromium-mac/editing/execCommand/5142012-1-expected.png:
* platform/chromium-mac/editing/execCommand/5481523-expected.png:
* platform/chromium-mac/editing/execCommand/5569741-expected.png:
* platform/chromium-mac/editing/execCommand/create-list-with-hr-expected.png:
* platform/chromium-mac/editing/execCommand/format-block-with-trailing-br-expected.png:
* platform/chromium-mac/editing/execCommand/indent-empty-root-expected.png:
* platform/chromium-mac/editing/execCommand/indent-list-item-expected.png:
* platform/chromium-mac/editing/execCommand/indent-selection-expected.png:
* platform/chromium-mac/editing/execCommand/insert-list-and-stitch-expected.png:
* platform/chromium-mac/editing/execCommand/insertHorizontalRule-expected.png:
* platform/chromium-mac/editing/execCommand/insertImage-expected.png:
* platform/chromium-mac/editing/execCommand/nsresponder-indent-expected.png:
* platform/chromium-mac/editing/execCommand/nsresponder-outdent-expected.png:
* platform/chromium-mac/editing/execCommand/print-expected.png:
* platform/chromium-mac/editing/execCommand/remove-list-from-range-selection-expected.png:
* platform/chromium-mac/editing/execCommand/remove-list-item-1-expected.png:
* platform/chromium-mac/editing/execCommand/selectAll-expected.png:
* platform/chromium-mac/editing/inserting/4278698-expected.png:
* platform/chromium-mac/editing/inserting/4840662-expected.png:
* platform/chromium-mac/editing/inserting/4875189-1-expected.png:
* platform/chromium-mac/editing/inserting/4875189-2-expected.png:
* platform/chromium-mac/editing/inserting/4959067-expected.png:
* platform/chromium-mac/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac/editing/inserting/4960120-2-expected.png:
* platform/chromium-mac/editing/inserting/5002441-expected.png:
* platform/chromium-mac/editing/inserting/5058163-1-expected.png:
* platform/chromium-mac/editing/inserting/5058163-2-expected.png:
* platform/chromium-mac/editing/inserting/5156401-2-expected.png:
* platform/chromium-mac/editing/inserting/5418891-expected.png:
* platform/chromium-mac/editing/inserting/5510537-expected.png:
* platform/chromium-mac/editing/inserting/5549929-2-expected.png:
* platform/chromium-mac/editing/inserting/5549929-3-expected.png:
* platform/chromium-mac/editing/inserting/6703873-expected.png:
* platform/chromium-mac/editing/inserting/before-after-input-element-expected.png:
* platform/chromium-mac/editing/inserting/break-blockquote-after-delete-expected.png:
* platform/chromium-mac/editing/inserting/edited-whitespace-1-expected.png:
* platform/chromium-mac/editing/inserting/editing-empty-divs-expected.png:
* platform/chromium-mac/editing/inserting/insert-3775316-fix-expected.png:
* platform/chromium-mac/editing/inserting/insert-3778059-fix-expected.png:
* platform/chromium-mac/editing/inserting/insert-3800346-fix-expected.png:
* platform/chromium-mac/editing/inserting/insert-after-delete-001-expected.png:
* platform/chromium-mac/editing/inserting/insert-at-end-01-expected.png:
* platform/chromium-mac/editing/inserting/insert-at-end-02-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-001-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-002-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-003-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-004-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-005-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-006-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-007-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-008-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-009-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-at-tabspan-001-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-at-tabspan-002-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-at-tabspan-003-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-quoted-001-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-quoted-002-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-quoted-003-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-quoted-004-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-quoted-005-expected.png:
* platform/chromium-mac/editing/inserting/insert-br-quoted-006-expected.png:
* platform/chromium-mac/editing/inserting/insert-div-025-expected.png:
* platform/chromium-mac/editing/inserting/insert-div-026-expected.png:
* platform/chromium-mac/editing/inserting/insert-paragraph-01-expected.png:
* platform/chromium-mac/editing/inserting/insert-paragraph-02-expected.png:
* platform/chromium-mac/editing/inserting/insert-paragraph-03-expected.png:
* platform/chromium-mac/editing/inserting/insert-paragraph-04-expected.png:
* platform/chromium-mac/editing/inserting/insert-paragraph-05-expected.png:
* platform/chromium-mac/editing/inserting/insert-space-in-empty-doc-expected.png:
* platform/chromium-mac/editing/inserting/insert-tab-001-expected.png:
* platform/chromium-mac/editing/inserting/insert-tab-002-expected.png:
* platform/chromium-mac/editing/inserting/insert-tab-003-expected.png:
* platform/chromium-mac/editing/inserting/insert-tab-004-expected.png:
* platform/chromium-mac/editing/inserting/insert-text-at-tabspan-001-expected.png:
* platform/chromium-mac/editing/inserting/insert-text-at-tabspan-002-expected.png:
* platform/chromium-mac/editing/inserting/insert-text-at-tabspan-003-expected.png:
* platform/chromium-mac/editing/inserting/insert-text-with-newlines-expected.png:
* platform/chromium-mac/editing/inserting/line-break-expected.png:
* platform/chromium-mac/editing/inserting/multiple-lines-selected-expected.png:
* platform/chromium-mac/editing/inserting/paragraph-separator-01-expected.png:
* platform/chromium-mac/editing/inserting/paragraph-separator-02-expected.png:
* platform/chromium-mac/editing/inserting/paragraph-separator-03-expected.png:
* platform/chromium-mac/editing/inserting/paragraph-separator-in-table-1-expected.png:
* platform/chromium-mac/editing/inserting/paragraph-separator-in-table-2-expected.png:
* platform/chromium-mac/editing/inserting/redo-expected.png:
* platform/chromium-mac/editing/inserting/return-key-with-selection-001-expected.png:
* platform/chromium-mac/editing/inserting/return-key-with-selection-002-expected.png:
* platform/chromium-mac/editing/inserting/return-key-with-selection-003-expected.png:
* platform/chromium-mac/editing/inserting/typing-001-expected.png:
* platform/chromium-mac/editing/inserting/typing-002-expected.png:
* platform/chromium-mac/editing/inserting/typing-003-expected.png:
* platform/chromium-mac/editing/inserting/typing-around-br-001-expected.png:
* platform/chromium-mac/editing/inserting/typing-around-image-001-expected.png:
* platform/chromium-mac/editing/pasteboard/3976872-expected.png:
* platform/chromium-mac/editing/pasteboard/4076267-2-expected.png:
* platform/chromium-mac/editing/pasteboard/4076267-3-expected.png:
* platform/chromium-mac/editing/pasteboard/4076267-expected.png:
* platform/chromium-mac/editing/pasteboard/4242293-expected.png:
* platform/chromium-mac/editing/pasteboard/4631972-expected.png:
* platform/chromium-mac/editing/pasteboard/4806874-expected.png:
* platform/chromium-mac/editing/pasteboard/4947130-expected.png:
* platform/chromium-mac/editing/pasteboard/5006779-expected.png:
* platform/chromium-mac/editing/pasteboard/5032095-expected.png:
* platform/chromium-mac/editing/pasteboard/5071074-2-expected.png:
* platform/chromium-mac/editing/pasteboard/5071074-expected.png:
* platform/chromium-mac/editing/pasteboard/5075944-expected.png:
* platform/chromium-mac/editing/pasteboard/5134759-expected.png:
* platform/chromium-mac/editing/pasteboard/5156401-1-expected.png:
* platform/chromium-mac/editing/pasteboard/5247341-expected.png:
* platform/chromium-mac/editing/pasteboard/5387578-expected.png:
* platform/chromium-mac/editing/pasteboard/5601583-1-expected.png:
* platform/chromium-mac/editing/pasteboard/8145-1-expected.png:
* platform/chromium-mac/editing/pasteboard/8145-2-expected.png:
* platform/chromium-mac/editing/pasteboard/8145-3-expected.png:
* platform/chromium-mac/editing/pasteboard/bad-placeholder-expected.png:
* platform/chromium-mac/editing/pasteboard/cut-text-001-expected.png:
* platform/chromium-mac/editing/pasteboard/displaced-generic-placeholder-expected.png:
* platform/chromium-mac/editing/pasteboard/displaced-placeholder-expected.png:
* platform/chromium-mac/editing/pasteboard/drag-drop-modifies-page-expected.png:
* platform/chromium-mac/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png:
* platform/chromium-mac/editing/pasteboard/input-field-1-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-after-delete-1-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-after-delete-2-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-after-delete-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-end-borders-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-start-blockquote-expected.png:
* platform/chromium-mac/editing/pasteboard/merge-start-list-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-4035648-fix-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-4038267-fix-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-blockquote-into-blockquote-4-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-001-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-002-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-003-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-004-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-005-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-006-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-007-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-008-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-009-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-line-endings-010-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-match-style-001-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-match-style-002-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-text-019-expected.png:
* platform/chromium-mac/editing/pasteboard/paste-text-at-tabspan-003-expected.png:
* platform/chromium-mac/editing/pasteboard/pasting-object-expected.png:
* platform/chromium-mac/editing/pasteboard/quirks-mode-br-1-expected.png:
* platform/chromium-mac/editing/pasteboard/smart-drag-drop-expected.png:
* platform/chromium-mac/editing/pasteboard/smart-paste-007-expected.png:
* platform/chromium-mac/editing/pasteboard/smart-paste-008-expected.png:
* platform/chromium-mac/editing/pasteboard/styled-element-markup-expected.png:
* platform/chromium-mac/editing/pasteboard/undoable-fragment-removes-expected.png:
* platform/chromium-mac/editing/pasteboard/unrendered-br-expected.png:
* platform/chromium-mac/editing/selection/13804-expected.png:
* platform/chromium-mac/editing/selection/4818145-expected.png:
* platform/chromium-mac/editing/selection/4866671-expected.png:
* platform/chromium-mac/editing/selection/4889598-expected.png:
* platform/chromium-mac/editing/selection/4895428-2-expected.png:
* platform/chromium-mac/editing/selection/4895428-3-expected.png:
* platform/chromium-mac/editing/selection/4932260-1-expected.png:
* platform/chromium-mac/editing/selection/4932260-2-expected.png:
* platform/chromium-mac/editing/selection/4932260-3-expected.png:
* platform/chromium-mac/editing/selection/4947387-expected.png:
* platform/chromium-mac/editing/selection/5007143-2-expected.png:
* platform/chromium-mac/editing/selection/5007143-expected.png:
* platform/chromium-mac/editing/selection/5057506-2-expected.png:
* platform/chromium-mac/editing/selection/5057506-expected.png:
* platform/chromium-mac/editing/selection/5076323-1-expected.png:
* platform/chromium-mac/editing/selection/5076323-2-expected.png:
* platform/chromium-mac/editing/selection/5076323-3-expected.png:
* platform/chromium-mac/editing/selection/5099303-expected.png:
* platform/chromium-mac/editing/selection/5131716-1-expected.png:
* platform/chromium-mac/editing/selection/5131716-2-expected.png:
* platform/chromium-mac/editing/selection/5131716-3-expected.png:
* platform/chromium-mac/editing/selection/5131716-4-expected.png:
* platform/chromium-mac/editing/selection/5195166-2-expected.png:
* platform/chromium-mac/editing/selection/5234383-1-expected.png:
* platform/chromium-mac/editing/selection/5234383-2-expected.png:
* platform/chromium-mac/editing/selection/6476-expected.png:
* platform/chromium-mac/editing/selection/after-line-wrap-expected.png:
* platform/chromium-mac/editing/selection/caret-ltr-2-expected.png:
* platform/chromium-mac/editing/selection/caret-ltr-2-left-expected.png:
* platform/chromium-mac/editing/selection/caret-ltr-expected.png:
* platform/chromium-mac/editing/selection/caret-ltr-right-expected.png:
* platform/chromium-mac/editing/selection/click-start-of-line-expected.png:
* platform/chromium-mac/editing/selection/contains-boundaries-expected.png:
* platform/chromium-mac/editing/selection/contenteditable-click-inside-expected.png:
* platform/chromium-mac/editing/selection/drag-select-1-expected.png:
* platform/chromium-mac/editing/selection/editable-non-editable-crash-expected.png:
* platform/chromium-mac/editing/selection/end-of-document-expected.png:
* platform/chromium-mac/editing/selection/expanding-selections-expected.png:
* platform/chromium-mac/editing/selection/expanding-selections2-expected.png:
* platform/chromium-mac/editing/selection/extend-by-character-001-expected.png:
* platform/chromium-mac/editing/selection/extend-by-character-002-expected.png:
* platform/chromium-mac/editing/selection/extend-by-character-003-expected.png:
* platform/chromium-mac/editing/selection/extend-by-character-004-expected.png:
* platform/chromium-mac/editing/selection/extend-by-character-005-expected.png:
* platform/chromium-mac/editing/selection/extend-by-character-006-expected.png:
* platform/chromium-mac/editing/selection/extend-by-sentence-001-expected.png:
* platform/chromium-mac/editing/selection/extend-by-word-001-expected.png:
* platform/chromium-mac/editing/selection/extend-by-word-002-expected.png:
* platform/chromium-mac/editing/selection/iframe-expected.png:
* platform/chromium-mac/editing/selection/image-before-linebreak-expected.png:
* platform/chromium-mac/editing/selection/inline-table-expected.png:
* platform/chromium-mac/editing/selection/leave-requested-block-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-3-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-4-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-5-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-6-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-7-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-8-expected.png:
* platform/chromium-mac/editing/selection/mixed-editability-9-expected.png:
* platform/chromium-mac/editing/selection/move-backwords-by-word-001-expected.png:
* platform/chromium-mac/editing/selection/move-between-blocks-no-001-expected.png:
* platform/chromium-mac/editing/selection/move-by-character-001-expected.png:
* platform/chromium-mac/editing/selection/move-by-character-002-expected.png:
* platform/chromium-mac/editing/selection/move-by-character-003-expected.png:
* platform/chromium-mac/editing/selection/move-by-character-004-expected.png:
* platform/chromium-mac/editing/selection/move-by-character-005-expected.png:
* platform/chromium-mac/editing/selection/move-by-character-6-expected.png:
* platform/chromium-mac/editing/selection/move-by-line-001-expected.png:
* platform/chromium-mac/editing/selection/move-by-line-002-expected.png:
* platform/chromium-mac/editing/selection/move-by-sentence-001-expected.png:
* platform/chromium-mac/editing/selection/move-by-sentence-linebreak-expected.png:
* platform/chromium-mac/editing/selection/move-by-word-001-expected.png:
* platform/chromium-mac/editing/selection/previous-line-position-expected.png:
* platform/chromium-mac/editing/selection/replace-selection-1-expected.png:
* platform/chromium-mac/editing/selection/replaced-boundaries-1-expected.png:
* platform/chromium-mac/editing/selection/replaced-boundaries-2-expected.png:
* platform/chromium-mac/editing/selection/select-all-001-expected.png:
* platform/chromium-mac/editing/selection/select-all-002-expected.png:
* platform/chromium-mac/editing/selection/select-missing-image-expected.png:
* platform/chromium-mac/editing/selection/table-caret-1-expected.png:
* platform/chromium-mac/editing/selection/table-caret-2-expected.png:
* platform/chromium-mac/editing/selection/table-caret-3-expected.png:
* platform/chromium-mac/editing/selection/triple-click-in-pre-expected.png:
* platform/chromium-mac/editing/selection/unrendered-001-expected.png:
* platform/chromium-mac/editing/selection/unrendered-002-expected.png:
* platform/chromium-mac/editing/selection/unrendered-003-expected.png:
* platform/chromium-mac/editing/selection/unrendered-004-expected.png:
* platform/chromium-mac/editing/selection/unrendered-005-expected.png:
* platform/chromium-mac/editing/selection/unrendered-space-expected.png:
* platform/chromium-mac/editing/selection/wrapped-line-caret-1-expected.png:
* platform/chromium-mac/editing/selection/wrapped-line-caret-2-expected.png:
* platform/chromium-mac/editing/spelling/spelling-expected.png:
* platform/chromium-mac/editing/style/4916887-expected.png:
* platform/chromium-mac/editing/style/5017613-1-expected.png:
* platform/chromium-mac/editing/style/5017613-2-expected.png:
* platform/chromium-mac/editing/style/5065910-expected.png:
* platform/chromium-mac/editing/style/5084241-expected.png:
* platform/chromium-mac/editing/style/5228141-expected.png:
* platform/chromium-mac/editing/style/5279521-expected.png:
* platform/chromium-mac/editing/style/block-styles-007-expected.png:
* platform/chromium-mac/editing/style/highlight-expected.png:
* platform/chromium-mac/editing/style/smoosh-styles-001-expected.png:
* platform/chromium-mac/editing/style/style-3681552-fix-001-expected.png:
* platform/chromium-mac/editing/style/style-3681552-fix-002-expected.png:
* platform/chromium-mac/editing/style/style-3998892-fix-expected.png:
* platform/chromium-mac/editing/style/style-boundary-001-expected.png:
* platform/chromium-mac/editing/style/style-boundary-002-expected.png:
* platform/chromium-mac/editing/style/style-boundary-003-expected.png:
* platform/chromium-mac/editing/style/style-boundary-004-expected.png:
* platform/chromium-mac/editing/style/style-boundary-005-expected.png:
* platform/chromium-mac/editing/style/typing-style-001-expected.png:
* platform/chromium-mac/editing/style/typing-style-002-expected.png:
* platform/chromium-mac/editing/style/unbold-in-bold-expected.png:
* platform/chromium-mac/editing/undo/4063751-expected.png:
* platform/chromium-mac/editing/undo/5378473-expected.png:
* platform/chromium-mac/editing/undo/redo-typing-001-expected.png:
* platform/chromium-mac/editing/undo/undo-combined-delete-boundary-expected.png:
* platform/chromium-mac/editing/undo/undo-combined-delete-expected.png:
* platform/chromium-mac/editing/undo/undo-delete-boundary-expected.png:
* platform/chromium-mac/editing/undo/undo-delete-expected.png:
* platform/chromium-mac/editing/undo/undo-forward-delete-boundary-expected.png:
* platform/chromium-mac/editing/undo/undo-forward-delete-expected.png:
* platform/chromium-mac/editing/undo/undo-misspellings-expected.png:
* platform/chromium-mac/editing/undo/undo-typing-001-expected.png:
* platform/chromium-mac/editing/unsupported-content/list-delete-001-expected.png:
* platform/chromium-mac/editing/unsupported-content/list-delete-003-expected.png:
* platform/chromium-mac/editing/unsupported-content/list-type-after-expected.png:
* platform/chromium-mac/editing/unsupported-content/list-type-before-expected.png:
* platform/chromium-mac/editing/unsupported-content/table-delete-001-expected.png:
* platform/chromium-mac/editing/unsupported-content/table-delete-002-expected.png:
* platform/chromium-mac/editing/unsupported-content/table-delete-003-expected.png:
* platform/chromium-mac/editing/unsupported-content/table-type-after-expected.png:
* platform/chromium-mac/editing/unsupported-content/table-type-before-expected.png:
* platform/chromium-mac/fast/css/focus-ring-multiline-writingmode-vertical-expected.png:
* platform/chromium-mac/fast/css/focus-ring-outline-color-expected.png:
* platform/chromium-mac/fast/css/focus-ring-outline-offset-expected.png:
* platform/chromium-mac/fast/dom/focus-contenteditable-expected.png:
* platform/chromium-mac/fast/events/reveal-link-when-focused-expected.png:
* platform/chromium-mac/fast/forms/input-paste-undo-expected.png:
* platform/chromium-mac/fast/forms/input-placeholder-visibility-1-expected.png:
* platform/chromium-mac/fast/forms/input-placeholder-visibility-3-expected.png:
* platform/chromium-mac/fast/forms/input-text-click-inside-expected.png:
* platform/chromium-mac/fast/forms/input-text-self-emptying-click-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac/fast/forms/textfield-focus-ring-expected.png:
* platform/chromium-mac/fast/forms/textfield-overflow-expected.png:
* platform/chromium-mac/fast/inline/25277-2-expected.png:
* platform/chromium-mac/fast/inline/25277-expected.png:
* platform/chromium-mac/fast/inline/inline-focus-ring-expected.png:
* platform/chromium-mac/fast/overflow/overflow-focus-ring-expected.png:
* platform/chromium-mac/fast/repaint/focus-layers-expected.png:
* platform/chromium-mac/fast/repaint/focus-ring-expected.png:
* platform/chromium-mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:
* platform/chromium-mac/fast/text/delete-hard-break-character-expected.png:
* platform/chromium-mac/fast/transforms/transformed-focused-text-input-expected.png:

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

9 years agoconditionalize m_cachedScript stacks to just Chromium port
gavinp@chromium.org [Thu, 6 Oct 2011 19:30:22 +0000 (19:30 +0000)]
conditionalize m_cachedScript stacks to just Chromium port
https://bugs.webkit.org/show_bug.cgi?id=69537

New stack saving telemetry code in ScriptElement shouldn't have
been put in all ports; just narrowing it to the chromium port will
save other ports the memory hit of this diagnostic code.

Reviewed by Nate Chapin.

No new tests.

* dom/ScriptElement.cpp:
(WebCore::ScriptElement::ScriptElement):
(WebCore::ScriptElement::requestScript):
(WebCore::ScriptElement::stopLoadRequest):
(WebCore::ScriptElement::notifyFinished):
* dom/ScriptElement.h:

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

9 years ago[EFL] DRT: Create icon database path in LayoutTestController::setIconDatabaseEnabled.
commit-queue@webkit.org [Thu, 6 Oct 2011 19:28:52 +0000 (19:28 +0000)]
[EFL] DRT: Create icon database path in LayoutTestController::setIconDatabaseEnabled.
https://bugs.webkit.org/show_bug.cgi?id=69450

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-10-06
Reviewed by Ryosuke Niwa.

This should avoid stderr messages when running
webarchive/test-link-rel-icon.html.

* DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
(LayoutTestController::setIconDatabaseEnabled):

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

9 years agoEnsure font loaded before calling Skia to drawPosText in Chrome sandbox
commit-queue@webkit.org [Thu, 6 Oct 2011 19:27:36 +0000 (19:27 +0000)]
Ensure font loaded before calling Skia to drawPosText in Chrome sandbox
https://bugs.webkit.org/show_bug.cgi?id=69370

Patch by Arthur Hsu <arthurhsu@chromium.org> on 2011-10-06
Reviewed by James Robinson.

* platform/graphics/chromium/FontChromiumWin.cpp:
(WebCore::Font::drawGlyphs):

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

9 years agoBiquadFilterNode must not reset filter state if type attribute is set to the same...
crogers@google.com [Thu, 6 Oct 2011 19:20:45 +0000 (19:20 +0000)]
BiquadFilterNode must not reset filter state if type attribute is set to the same type
https://bugs.webkit.org/show_bug.cgi?id=69485

Reviewed by Kenneth Russell.

No new tests.  This particular case is difficult to test with a layout test using OfflineAudioContext.

* webaudio/BiquadProcessor.cpp:
(WebCore::BiquadProcessor::setType):
* webaudio/BiquadProcessor.h:

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

9 years ago2011-10-06 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 6 Oct 2011 19:16:54 +0000 (19:16 +0000)]
2011-10-06  Dirk Schulze  <krit@webkit.org>

        Unreviewed: 2nd chunk of new SVG baseline for lion.

        * platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-84-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/color-prof-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/coords-trans-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/coords-trans-05-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/coords-trans-06-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/coords-units-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/coords-units-03-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-conv-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-light-04-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-offset-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-tile-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/interact-order-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/interact-order-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-a-04-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-a-05-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-a-07-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-uri-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/masking-path-03-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/masking-path-05-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/painting-marker-01-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/painting-render-01-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-01-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-02-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-03-f-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-04-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-05-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-06-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-08-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-09-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-10-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/paths-data-15-t-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.png: Added.
        * platform/mac-snowleopard/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/animate-elem-84-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/color-prof-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-trans-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-trans-05-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-trans-06-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-units-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-units-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-conv-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-light-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-offset-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-tile-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/interact-order-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/interact-order-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/linking-a-04-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/linking-a-05-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/linking-a-07-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/linking-uri-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/masking-path-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/masking-path-05-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/painting-marker-01-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/painting-render-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-01-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-02-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-03-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-04-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-05-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-06-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-08-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-09-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-10-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/paths-data-15-t-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.png:

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

9 years ago[EFL] Do not create cairo surfaces with the wrong size for form elements
commit-queue@webkit.org [Thu, 6 Oct 2011 19:15:57 +0000 (19:15 +0000)]
[EFL] Do not create cairo surfaces with the wrong size for form elements
https://bugs.webkit.org/show_bug.cgi?id=69533

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-10-06
Reviewed by Ryosuke Niwa.

RenderThemeEfl::cacheThemePartResizeAndReset resizes the Ecore_Evas
associated with an entry, but did not reset the `size` attribute of the
struct -- in practice, this meant the subsequent call to
themePartCacheEntrySurfaceCreate would create a cairo surface with the
previous size, thus rendering an element with the wrong size.

No new tests, this is triggered by running running pixel tests for
running, in this order, fast/forms/button-sizes.html,
fast/forms/input-appearance-preventDefault.html,
fast/forms/input-appearance-spinbutton-disabled-readonly.html,
fast/forms/input-appearance-width.html,
fast/forms/input-button-sizes.html,
fast/forms/input-placeholder-text-indent.html and
fast/forms/input-text-click-inside.html (!).

* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::cacheThemePartResizeAndReset): Reset the
size attribute when resizing the canvas.

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

9 years agoMake sure OfflineAudioContext can not be created with a sample-rate less than 44...
crogers@google.com [Thu, 6 Oct 2011 19:07:34 +0000 (19:07 +0000)]
Make sure OfflineAudioContext can not be created with a sample-rate less than 44.1KHz
https://bugs.webkit.org/show_bug.cgi?id=69483

Reviewed by Kenneth Russell.

No new tests.

* webaudio/AudioBuffer.cpp:
(WebCore::AudioBuffer::create):
* webaudio/AudioContext.cpp:
(WebCore::AudioContext::createBuffer):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=69544
hyatt@apple.com [Thu, 6 Oct 2011 19:03:46 +0000 (19:03 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=69544

[CSS3 Regions] Compute the starting and ending regions of a block, so that we can clamp
descendants to those regions. This is preparation for having true overflow in the boxes
in each region, and it's also a performance optimization to reduce the amount of
region walking that the RenderFlowThread is doing.

Add a range map to RenderFlowThread to cache the start/end regions for each box.

Amend everyone who calls renderRegionForLine to pass in the box that is making the query.
This box is then used to clamp to start and end regions so that any regions outside of that
range will never be examined.

Reviewed by Dan Bernstein.

Source/WebCore:

Test: fast/regions/top-overflow-out-of-second-region.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::hasNextPage):
(WebCore::RenderBlock::pageLogicalHeightForOffset):
(WebCore::RenderBlock::pageRemainingLogicalHeightForOffset):
(WebCore::RenderBlock::regionAtBlockOffset):
* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::~RenderFlowThread):
(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::renderRegionForLine):
(WebCore::RenderFlowThread::regionLogicalWidthForLine):
(WebCore::RenderFlowThread::regionLogicalHeightForLine):
(WebCore::RenderFlowThread::regionRemainingLogicalHeightForLine):
(WebCore::RenderFlowThread::mapFromFlowToRegion):
(WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
(WebCore::RenderFlowThread::logicalWidthChangedInRegions):
(WebCore::RenderFlowThread::setRegionRangeForBox):
(WebCore::RenderFlowThread::getRegionRangeForBox):
* rendering/RenderFlowThread.h:
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::takeRenderBoxRegionInfo):
(WebCore::RenderRegion::removeRenderBoxRegionInfo):
* rendering/RenderRegion.h:

LayoutTests:

* fast/regions/top-overflow-out-of-second-region.html: Added.
* platform/mac/fast/regions/top-overflow-out-of-second-region-expected.png: Added.
* platform/mac/fast/regions/top-overflow-out-of-second-region-expected.txt: Added.

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

9 years agoDFG JIT 32_64 should check type of values being filled by fillSpeculateInt
barraclough@apple.com [Thu, 6 Oct 2011 19:00:50 +0000 (19:00 +0000)]
DFG JIT 32_64 should check type of values being filled by fillSpeculateInt
https://bugs.webkit.org/show_bug.cgi?id=69549

Reviewed by Oliver Hunt.

This breaks sunspider/3d-cube.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
    - Speculation check on the tag.

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

9 years ago[Chromium] Add baselines for new Mac tests. Revert test_expectations breakage.
simonjam@chromium.org [Thu, 6 Oct 2011 18:58:04 +0000 (18:58 +0000)]
[Chromium] Add baselines for new Mac tests. Revert test_expectations breakage.

Unreviewed.

* platform/chromium-cg-mac-leopard/svg/dynamic-updates/SVGClipPathElement-transform-influences-hitTesting-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/fast/table/border-collapsing/cached-69296-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/dynamic-updates/SVGClipPathElement-transform-influences-hitTesting-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/svg/dynamic-updates/SVGClipPathElement-transform-influences-hitTesting-expected.png.
* platform/chromium/test_expectations.txt:

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

9 years agoAdd missing tests for LegacyDefaultOptionalArguments for setCustomValidity
abarth@webkit.org [Thu, 6 Oct 2011 18:55:23 +0000 (18:55 +0000)]
Add missing tests for LegacyDefaultOptionalArguments for setCustomValidity
https://bugs.webkit.org/show_bug.cgi?id=69532

Reviewed by Andreas Kling.

These APIs are relatively new and it's unlikely that many folks will
call them without their argument.  Making the parameters required
aligns WebKit more closely with the specifications for this API at
minimal compatibility cost.

* fast/dom/set-custom-validity-with-too-few-arguments-expected.txt: Added.
* fast/dom/set-custom-validity-with-too-few-arguments.html: Added.

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

9 years agoUnreviewed: irst chunk of new SVG baseline for lion.
krit@webkit.org [Thu, 6 Oct 2011 18:33:18 +0000 (18:33 +0000)]
Unreviewed: irst chunk of new SVG baseline for lion.

* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-03-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-11-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-23-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-26-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-32-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-37-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-39-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-46-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-60-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-61-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-62-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-63-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-64-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-66-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-67-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-68-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-69-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-70-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-77-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png: Added.
* platform/mac-snowleopard/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png: Added.
* platform/mac/svg/W3C-SVG-1.1/animate-elem-03-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-11-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-23-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-26-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-32-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-37-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-39-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-46-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-60-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-61-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-62-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-63-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-64-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-66-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-67-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-68-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-69-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-70-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-77-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png:

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

9 years agoSnow Leopard build fix
mhahnenberg@apple.com [Thu, 6 Oct 2011 18:31:04 +0000 (18:31 +0000)]
Snow Leopard build fix

Unreviewed build fix

* JavaScriptCore.exp:

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

9 years agoAdd explicit JSGlobalThis type.
barraclough@apple.com [Thu, 6 Oct 2011 18:17:07 +0000 (18:17 +0000)]
Add explicit JSGlobalThis type.
https://bugs.webkit.org/show_bug.cgi?id=69478

Reviewed by Darin Adler.

JSC supports a split global object, as used by WebCore for the Window. As a stage
of making this visible to JSC, make it so that if the global this value is not the
global object itself, it must be a subclass of JSGlobalThis.

Source/JavaScriptCore:

* API/JSCallbackObjectFunctions.h:
(JSC::::finishCreation):
    - Don't pass the thisValue to JSGlobalObject::finishCreation.
* JavaScriptCore.xcodeproj/project.pbxproj:
    - Added JSGlobalThis.h
* jsc.cpp:
(GlobalObject::finishCreation):
    - Don't pass the thisValue to JSGlobalObject::finishCreation.
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::create):
(JSC::JSGlobalObject::finishCreation):
    - finishCreation takes a JSGlobalThis, or thisValue is implicit.
* runtime/JSGlobalThis.h: Added.
(JSC::JSGlobalThis::create):
(JSC::JSGlobalThis::JSGlobalThis):
(JSC::JSGlobalThis::finishCreation):
    - Thin wrapper on JSNonFinalObject to allow type checking.
* testRegExp.cpp:
(GlobalObject::finishCreation):
    - Don't pass the thisValue to JSGlobalObject::finishCreation.

Source/JavaScriptGlue:

* JSRun.h:
(JSGlueGlobalObject::create):
    - Don't pass the thisValue to JSGlobalObject::finishCreation.

Source/WebCore:

* ForwardingHeaders/runtime/JSGlobalThis.h: Added.
    - Added forwarding header.
* bindings/js/JSDOMGlobalObject.cpp:
(WebCore::JSDOMGlobalObject::finishCreation):
* bindings/js/JSDOMGlobalObject.h:
    - finishCreation takes a JSGlobalThis, or thisValue is implicit.
* bindings/js/JSDOMWindowShell.h:
    - Make the window shell a subclass of JSGlobalThis.
* bindings/js/JSWorkerContextBase.cpp:
(WebCore::JSWorkerContextBase::finishCreation):
    - Don't pass the thisValue to JSGlobalObject::finishCreation.
* bindings/js/JSWorkerContextBase.h:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
    - Don't pass the thisValue to JSGlobalObject::finishCreation,
      for worker contexts.

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

9 years agoFix CodeGeneratorV8 for EnabledAtRuntime when class has no parent class.
annacc@chromium.org [Thu, 6 Oct 2011 18:10:08 +0000 (18:10 +0000)]
Fix CodeGeneratorV8 for EnabledAtRuntime when class has no parent class.
https://bugs.webkit.org/show_bug.cgi?id=69480

Reviewed by Adam Barth.

No new tests. No new functionality, yet.

* bindings/scripts/CodeGeneratorV8.pm:

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

9 years ago<rdar://problem/10232866> Assertion failure beneath blockSelectionGaps() when a selec...
mitz@apple.com [Thu, 6 Oct 2011 18:04:27 +0000 (18:04 +0000)]
<rdar://problem/10232866> Assertion failure beneath blockSelectionGaps() when a selected node is removed

Reviewed by Ryosuke Niwa.

Source/WebCore:

Test: editing/selection/invalid-in-RenderView.html

* editing/FrameSelection.cpp:
(WebCore::FrameSelection::updateAppearance): Ensure that the VisibleSelection used to set the selection
in the RenderView is valid, by reconstructing it from the current selection.

LayoutTests:

* editing/selection/invalid-in-RenderView-expected.txt: Added.
* editing/selection/invalid-in-RenderView.html: Added.

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

9 years ago[GTK] Add estimated-progress property to WebKitWebLoaderClient
carlosgc@webkit.org [Thu, 6 Oct 2011 18:03:11 +0000 (18:03 +0000)]
[GTK] Add estimated-progress property to WebKitWebLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=69509

Reviewed by Martin Robinson.

It allows to monitor the estimated progress of a lof operation by
connecting to the notify signal.

* UIProcess/API/gtk/WebKitWebLoaderClient.cpp:
(didChangeProgress): Update estimated-progress property and notify when
it changes.
(webkitWebLoaderClientConstructed): Add implementations for
didStartProgress, didChangeProgress and didFinishProgress.
(webkitWebLoaderClientGetProperty):
(webkit_web_loader_client_class_init): Add estimated-progress property.
(webkit_web_loader_client_get_estimated_progress): Returns the
value of estimated-progress property.
* UIProcess/API/gtk/WebKitWebLoaderClient.h:
* UIProcess/API/gtk/tests/testloading.c:
(webLoadingFixtureSetup):
(loadProgressEstimatedProgressChanged):
(loadProgressLoadFinished):
(testLoadProgress):
(main):

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

9 years agoInlineBox's virtualLogicalHeight() partially limited to builds with SVG.
commit-queue@webkit.org [Thu, 6 Oct 2011 17:53:18 +0000 (17:53 +0000)]
InlineBox's virtualLogicalHeight() partially limited to builds with SVG.
https://bugs.webkit.org/show_bug.cgi?id=69538

Patch by Andreas Kling <kling@webkit.org> on 2011-10-06
Reviewed by Dan Bernstein.

Remove erroneous ENABLE(SVG) guards around the initialization and use
of InlineBox::hasVirtualLogicalHeight.

This variable is used by TrailingFloatsRootInlineBox and should always
be respected regardless of SVG support.

* rendering/InlineBox.cpp:
(WebCore::InlineBox::logicalHeight):
* rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox):

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

9 years agoJSC objects need to know their own cell size at runtime.
mhahnenberg@apple.com [Thu, 6 Oct 2011 17:42:50 +0000 (17:42 +0000)]
JSC objects need to know their own cell size at runtime.
https://bugs.webkit.org/show_bug.cgi?id=69390

Reviewed by Geoffrey Garen.

Added the cellSize field to ClassInfo and the static calculation of
size of each class to the CREATE_METHOD_TABLE macro, which will be
renamed in a followup patch to make its name match its broader use.

Also added a few ClassInfo structs so that each object that is allocated has its
correct size.

* JavaScriptCore.exp:
* runtime/ClassInfo.h:

Changed JSByteArray s_defaultInfo to s_info so that the template will get the
correct ClassInfo struct from it when it's allocated.
* runtime/JSByteArray.cpp:
* runtime/JSByteArray.h:
* runtime/JSCell.h:
(JSC::allocateCell):
* runtime/JSNotAnObject.cpp:
* runtime/JSNotAnObject.h:
* runtime/JSObject.cpp:
* runtime/JSObject.h:
(JSC::JSCell::cellSize):
* runtime/JSStaticScopeObject.cpp:
* runtime/JSStaticScopeObject.h:
* runtime/StrictEvalActivation.cpp:
* runtime/StrictEvalActivation.h:

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

9 years ago2011-10-06 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 6 Oct 2011 17:41:04 +0000 (17:41 +0000)]
2011-10-06  Alejandro G. Castro  <alex@igalia.com>

        [WK2] [GTK] Add Skipped file for Webkit2 test runner
        https://bugs.webkit.org/show_bug.cgi?id=69517

        Reviewed by Martin Robinson.

        * platform/gtk-wk2/Skipped: Added.

2011-10-06  Alejandro G. Castro  <alex@igalia.com>

        [WK2] [GTK] Add Skipped file for Webkit2 test runner
        https://bugs.webkit.org/show_bug.cgi?id=69517

        Use the shared WK2 skipped file also in GTK port.

        Reviewed by Martin Robinson.

        * Scripts/old-run-webkit-tests:
        (readSkippedFiles):

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

9 years ago[GTK] Implement cache model for WebKit2
carlosgc@webkit.org [Thu, 6 Oct 2011 17:39:21 +0000 (17:39 +0000)]
[GTK] Implement cache model for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=68434

Reviewed by Martin Robinson.

Source/WebCore:

Add a function to FileSystem to get the free space of the file
system where the given path is on.

* platform/FileSystem.h:
* platform/gtk/FileSystemGtk.cpp:
(WebCore::getVolumeFreeSizeForPath):

Source/WebKit2:

* UIProcess/API/gtk/WebKitWebContext.cpp:
(webkit_web_context_set_cache_model):
(webkit_web_context_get_cache_model):
* UIProcess/API/gtk/WebKitWebContext.h:
* UIProcess/API/gtk/tests/testwebcontext.c:
(testWebContextCacheModel):
(main):
* WebProcess/gtk/WebProcessGtk.cpp:
(WebKit::getCacheDiskFreeSize): Helper function to get free space
of the file system where the cache directory is on.
(WebKit::getMemorySize): Helper function to get the total memory
of the system in MB.
(WebKit::WebProcess::platformSetCacheModel): Implement
platformSetCacheModel for Gtk port using calculateCacheSizes().

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

9 years agoAdding myself to the committers list.
amruthraj@motorola.com [Thu, 6 Oct 2011 17:34:42 +0000 (17:34 +0000)]
Adding myself to the committers list.

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

9 years agoTest how DOMTokenList methods react to too few arguments
commit-queue@webkit.org [Thu, 6 Oct 2011 17:22:45 +0000 (17:22 +0000)]
Test how DOMTokenList methods react to too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66537

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-06
Reviewed by Darin Adler.

* fast/dom/HTMLElement/class-list-expected.txt:
* fast/dom/HTMLElement/script-tests/class-list.js:
(createElement):

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

9 years agoAdd check for JavaScript URLs in HTMLPlugInImageElement::allowedToLoadFrameURL
commit-queue@webkit.org [Thu, 6 Oct 2011 17:14:11 +0000 (17:14 +0000)]
Add check for JavaScript URLs in HTMLPlugInImageElement::allowedToLoadFrameURL
https://bugs.webkit.org/show_bug.cgi?id=68813

Patch by Sergey Glazunov <serg.glazunov@gmail.com> on 2011-10-06
Reviewed by Adam Barth.

Source/WebCore:

Test: http/tests/security/xss-DENIED-object-element.html

* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::allowedToLoadFrameURL):

LayoutTests:

* http/tests/security/xss-DENIED-object-element-expected.txt: Added.
* http/tests/security/xss-DENIED-object-element.html: Added.

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

9 years agoWeb Inspector: avoid assertion failure in ~InspectorDebuggerAgent in case of workers
yurys@chromium.org [Thu, 6 Oct 2011 17:12:35 +0000 (17:12 +0000)]
Web Inspector: avoid assertion failure in ~InspectorDebuggerAgent in case of workers
https://bugs.webkit.org/show_bug.cgi?id=69534

Make sure frontend is disconnected before WorkerInspectorController is destroyed.

Reviewed by Pavel Feldman.

* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::~WorkerInspectorController):

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

9 years agoTest how filesystem methods react to too few arguments
commit-queue@webkit.org [Thu, 6 Oct 2011 17:05:09 +0000 (17:05 +0000)]
Test how filesystem methods react to too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66538

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-06
Reviewed by Darin Adler.

* fast/filesystem/filesystem-missing-arguments-expected.txt: Added.
* fast/filesystem/filesystem-missing-arguments.html: Added.

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

9 years ago https://bugs.webkit.org/show_bug.cgi?id=69492
ap@apple.com [Thu, 6 Oct 2011 17:04:49 +0000 (17:04 +0000)]
    https://bugs.webkit.org/show_bug.cgi?id=69492
        [Mac] Should be able to scroll embedded PDFs from keyboard

        Reviewed by Darin Adler.

        * WebProcess/Plugins/Plugin.h:
        * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
        (WebKit::NetscapePlugin::handleScroll):
        * WebProcess/Plugins/Netscape/NetscapePlugin.h:
        * WebProcess/Plugins/PluginProxy.cpp:
        (WebKit::PluginProxy::handleScroll):
        * WebProcess/Plugins/PluginProxy.h:
        Added a handleScroll method. A plug-in gets it if it doesn't handle a keyboard event, and
        WebCore decides that this is an event for scrolling. A plug-in can decide whether it scrolls
        main content, or some scrollable subview of its own.

        * WebProcess/Plugins/PDF/BuiltInPDFView.cpp:
        (WebKit::BuiltInPDFView::handleMouseEvent): Added a comment explaining returned value.
        (WebKit::BuiltInPDFView::handleScroll): Just call ScrollableArea, it will do everything.

        * WebProcess/Plugins/PDF/BuiltInPDFView.h: Added a handleScroll override.

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::scroll): Pass a PluginViewBase scroll to plug-in to handle.
        (WebKit::PluginView::handleEvent): Added a FIXME.
        * WebProcess/Plugins/PluginView.h:

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

9 years agoREGRESSION (r95852?): Disappearing Border on bugs.webkit.org attachments <table>
commit-queue@webkit.org [Thu, 6 Oct 2011 16:58:22 +0000 (16:58 +0000)]
REGRESSION (r95852?): Disappearing Border on bugs.webkit.org attachments <table>
https://bugs.webkit.org/show_bug.cgi?id=69296

Source/WebCore:

Patch by Konstantin Scheglov <scheglov@google.com> on 2011-10-06
Reviewed by David Hyatt.

Test: fast/table/border-collapsing/cached-69296.html

Remember BorderValue in CollapsedBorderValue by value.
See https://bugs.webkit.org/show_bug.cgi?id=69296#c7 for motivation.

* rendering/style/CollapsedBorderValue.h:
(WebCore::CollapsedBorderValue::CollapsedBorderValue):
(WebCore::CollapsedBorderValue::width):
(WebCore::CollapsedBorderValue::style):
(WebCore::CollapsedBorderValue::exists):
(WebCore::CollapsedBorderValue::isTransparent):
(WebCore::CollapsedBorderValue::operator==):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::collapsedStartBorder):
(WebCore::RenderTableCell::collapsedEndBorder):
(WebCore::RenderTableCell::collapsedBeforeBorder):
(WebCore::RenderTableCell::collapsedAfterBorder):

LayoutTests:

Patch by Konstantin Scheglov <scheglov@google.com> on 2011-10-06
Reviewed by David Hyatt.

Collapsed borders should not disappear.

* fast/table/border-collapsing/cached-69296-expected.png: Added.
* fast/table/border-collapsing/cached-69296-expected.txt: Added.
* fast/table/border-collapsing/cached-69296.html: Added.

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

9 years ago[GTK] Do not use C API in GTK+ API public headers
carlosgc@webkit.org [Thu, 6 Oct 2011 16:57:25 +0000 (16:57 +0000)]
[GTK] Do not use C API in GTK+ API public headers
https://bugs.webkit.org/show_bug.cgi?id=69506

Reviewed by Martin Robinson.

* GNUmakefile.am: Add new files to compilation.
* UIProcess/API/gtk/WebKitDefines.h: Added.
* UIProcess/API/gtk/WebKitError.h: Use WEBKIT_API instead of WK_EXPORT.
* UIProcess/API/gtk/WebKitWebContext.h: Ditto.
* UIProcess/API/gtk/WebKitWebLoaderClient.h: Ditto.
* UIProcess/API/gtk/WebKitWebView.h: Ditto.
* UIProcess/API/gtk/WebKitWebViewBase.h: Ditto.
* UIProcess/API/gtk/docs/GNUmakefile.am: Ignore WEBKIT_API
decorator in docs.
* UIProcess/API/gtk/webkit2.h: Include <webkit2/WebKitDefines.h>

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

9 years agoTest how media element TimeRange methods react to too few arguments
commit-queue@webkit.org [Thu, 6 Oct 2011 16:51:39 +0000 (16:51 +0000)]
Test how media element TimeRange methods react to too few arguments
https://bugs.webkit.org/show_bug.cgi?id=66532

Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-10-06
Reviewed by Adam Barth.

* media/video-buffered-too-few-arguments-expected.txt: Added.
* media/video-buffered-too-few-arguments.html: Added.

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