WebKit-https.git
8 years ago2011-05-02 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Tue, 3 May 2011 16:21:43 +0000 (16:21 +0000)]
2011-05-02  Adam Klein  <adamk@chromium.org>

        Reviewed by Tony Chang.

        Roll chromium DEPS to r83722, add new crypto directory to DEPS
        https://bugs.webkit.org/show_bug.cgi?id=59992

        * .gitignore:
        Ignore new chromium/crypto directory.
2011-05-02  Adam Klein  <adamk@chromium.org>

        Reviewed by Tony Chang.

        Roll chromium DEPS to r83722, add new crypto directory to DEPS
        https://bugs.webkit.org/show_bug.cgi?id=59992

        * DEPS:

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

8 years ago2011-05-03 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Tue, 3 May 2011 16:18:29 +0000 (16:18 +0000)]
2011-05-03  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] toV8(Node*) will enter infinite recursion when called with a node of type SHADOW_ROOT_NODE
        https://bugs.webkit.org/show_bug.cgi?id=60026

        Return a wrapper for Node in toV8(Node*) when called with a node of type
        SHADOW_ROOT_NODE instead of entering infinite recursion.

        * bindings/v8/custom/V8NodeCustom.cpp:
        (WebCore::toV8Slow):

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

8 years agoRevert r85550 and r85575.
jberlin@webkit.org [Tue, 3 May 2011 15:41:28 +0000 (15:41 +0000)]
Revert r85550 and r85575.

Rubber-stamped by Adam Roben.

Variables cannot be exported via the .def file. Instead, they should be annotated with
JS_EXPORTDATA.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* runtime/Structure.cpp:
(JSC::Structure::materializePropertyMap):
* runtime/Structure.h:
(JSC::Structure::typeInfo):
(JSC::Structure::previousID):
(JSC::Structure::propertyStorageCapacity):
(JSC::Structure::propertyStorageSize):
(JSC::Structure::get):
(JSC::Structure::materializePropertyMapIfNecessary):

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

8 years ago2011-05-03 Satish Sampath <satish@chromium.org>
satish@chromium.org [Tue, 3 May 2011 15:05:59 +0000 (15:05 +0000)]
2011-05-03  Satish Sampath  <satish@chromium.org>

        Reviewed by Tony Gentilcore.

        Rebaseline speech input layout test expectations for chromium.
        https://bugs.webkit.org/show_bug.cgi?id=59742

        * platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.png:
        * platform/chromium-linux/fast/speech/input-appearance-numberandspeech-expected.txt:
        * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.png:
        * platform/chromium-linux/fast/speech/input-appearance-searchandspeech-expected.txt:
        * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.png:
        * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.txt:
        * platform/chromium-mac-leopard/fast/speech/input-appearance-speechbutton-expected.png:
        * platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.png:
        * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.png:
        * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.txt:
        * platform/chromium/test_expectations.txt:

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

8 years agoAllow implicit conversion from nullptr_t to PassOwnPtr
aroben@apple.com [Tue, 3 May 2011 13:54:58 +0000 (13:54 +0000)]
Allow implicit conversion from nullptr_t to PassOwnPtr

This makes it a lot easier to write code that just wants a null PassOwnPtr, especially in
strict PassOwnPtr mode.

Fixes <http://webkit.org/b/59964> Implicit conversion from std::nullptr_t to PassOwnPtr
doesn't work, but should

Reviewed by Adam Barth.

Source/JavaScriptCore:

* wtf/PassOwnPtr.h:
(WTF::PassOwnPtr::PassOwnPtr): Added a non-explicit constructor that takes a nullptr_t.

* wtf/MessageQueue.h:
(WTF::::waitForMessageFilteredWithTimeout):
(WTF::::tryGetMessage):
Use the new implicit conversion.

Source/WebCore:

Take advantage of implicit conversion from nullptr_t to PassOwnPtr

* bindings/js/ScheduledAction.cpp:
* css/CSSStyleSelector.cpp:
* css/MediaList.cpp:
* css/MediaQueryMatcher.cpp:
* css/SVGCSSStyleSelector.cpp:
* dom/MessagePort.cpp:
* html/InputType.cpp:
* html/canvas/WebGLRenderingContext.cpp:
* inspector/InspectorStyleSheet.cpp:
* page/ContextMenuController.cpp:
* page/Page.cpp:
* platform/PlatformGestureRecognizer.cpp:
* platform/PurgeableBuffer.h:
* platform/graphics/ImageBuffer.h:
* platform/leveldb/LevelDBDatabase.cpp:
* platform/mac/PurgeableBufferMac.cpp:
* platform/text/RegularExpression.cpp:
* rendering/RenderTheme.cpp:
* rendering/RenderThemeMac.mm:
* rendering/style/RenderStyle.h:
* rendering/style/SVGRenderStyleDefs.cpp:
* rendering/style/ShadowData.cpp:
* rendering/style/StyleRareInheritedData.cpp:
* rendering/style/StyleRareNonInheritedData.cpp:
* rendering/svg/RenderSVGResourcePattern.cpp:

Source/WebKit/chromium:

Take advantage of implicit conversion from nullptr_t to PassOwnPtr

* src/WebMediaPlayerClientImpl.cpp:

Source/WebKit/mac:

Take advantage of implicit conversion from nullptr_t to PassOwnPtr

* History/WebHistory.mm:
* Plugins/WebNetscapePluginEventHandler.mm:
* WebView/WebView.mm:

Source/WebKit2:

Take advantage of implicit conversion from nullptr_t to PassOwnPtr

* Platform/CoreIPC/Connection.cpp:
* UIProcess/qt/WebContextMenuProxyQt.cpp:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
* WebProcess/WebPage/DrawingArea.cpp:

Tools:

Take advantage of implicit nullptr_t -> PassOwnPtr conversion

* DumpRenderTree/chromium/CppBoundClass.h:
* DumpRenderTree/chromium/WebViewHost.cpp:

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 3 May 2011 13:25:00 +0000 (13:25 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fix inspector status bar image glyph reference in network panel.

        * inspector/front-end/networkPanel.css:
        (.network-larger-resources-status-bar-item .glyph):

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

8 years ago2011-05-03 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 3 May 2011 13:11:52 +0000 (13:11 +0000)]
2011-05-03  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Provide Chromium test expectaions for new test.

        * platform/chromium/inspector/console/console-log-document-proto-expected.txt: Added.

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 3 May 2011 13:10:59 +0000 (13:10 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: rebaseline inspector test.

        * inspector/storage-panel-dom-storage-expected.txt:
        * inspector/storage-panel-dom-storage.html:

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

8 years ago[Qt] Add failing tests to ARM specific Skipped list
rgabor@webkit.org [Tue, 3 May 2011 13:02:58 +0000 (13:02 +0000)]
[Qt] Add failing tests to ARM specific Skipped list

Rubber-stamped by Csaba Osztrogonác.

* platform/qt-arm/Skipped:

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 3 May 2011 12:56:07 +0000 (12:56 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: rename BrowserDebugger agent to DOMDebugger.
        https://bugs.webkit.org/show_bug.cgi?id=60019

        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.json:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::connectFrontend):
        * inspector/front-end/BreakpointsSidebarPane.js:
        (WebInspector.XHRBreakpointsSidebarPane.prototype._setBreakpoint):
        (WebInspector.XHRBreakpointsSidebarPane.prototype._removeBreakpoint):
        (WebInspector.XHRBreakpointsSidebarPane.prototype._checkboxClicked):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._setBreakpoint):
        (WebInspector.EventListenerBreakpointsSidebarPane.prototype._removeBreakpoint):
        * inspector/generate-inspector-idl:

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

8 years ago2011-05-03 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 3 May 2011 12:48:30 +0000 (12:48 +0000)]
2011-05-03  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove special logic for type of document.__proto__
        https://bugs.webkit.org/show_bug.cgi?id=60014

        * inspector/console/console-log-document-proto-expected.txt: Added.
        * inspector/console/console-log-document-proto.html: Added.
        * inspector/console/console-log-toString-object-expected.txt:
        * inspector/console/console-log-toString-object.html:
2011-05-03  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove special logic for type of document.__proto__
        https://bugs.webkit.org/show_bug.cgi?id=60014

        Test: inspector/console/console-log-document-proto.html

        * inspector/InjectedScriptSource.js: removed unnecessary check nodeType === undefined

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

8 years ago2011-05-03 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Tue, 3 May 2011 09:53:26 +0000 (09:53 +0000)]
2011-05-03  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Build webkit1 even when webkit2 is enabled
        https://bugs.webkit.org/show_bug.cgi?id=59695

        * GNUmakefile.am:
        * configure.ac:
2011-05-03  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Eric Seidel.

        [GTK] Build webkit1 even when webkit2 is enabled
        https://bugs.webkit.org/show_bug.cgi?id=59695

        * GNUmakefile.am:

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

8 years ago2011-05-03 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Tue, 3 May 2011 09:30:54 +0000 (09:30 +0000)]
2011-05-03  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, unskip now passing test.

        [GTK] media/video-controls-transformed.html fails
        https://bugs.webkit.org/show_bug.cgi?id=50706

        * platform/gtk/Skipped:

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 3 May 2011 09:17:07 +0000 (09:17 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fixed typo in inspector style.

        * inspector/front-end/inspector.css:
        (.status-bar-item > .glyph):

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 3 May 2011 09:13:32 +0000 (09:13 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: re-applied r85589.

        * src/js/DevTools.js:
        (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 May 2011 09:01:34 +0000 (09:01 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: revision history storage is too slow.
        https://bugs.webkit.org/show_bug.cgi?id=59939

        It turns out that iterating localStorage keys is very
        expensive (results in slow inspector start), refactor revision
        history in order not to rely upon that operation.

        * inspector/front-end/Resource.js:
        (WebInspector.Resource):
        (WebInspector.Resource._resourceRevisionRegistry):
        (WebInspector.Resource.restoreRevisions.persist):
        (WebInspector.Resource.restoreRevisions):
        (WebInspector.Resource.persistRevision):
        (WebInspector.Resource.prototype._persistRevision):
        * inspector/front-end/ResourceTreeModel.js:
        (WebInspector.ResourceTreeModel.prototype._processCachedResources):
        (WebInspector.ResourceTreeModel.prototype._frameNavigated):

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

8 years ago2011-05-03 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 3 May 2011 08:55:44 +0000 (08:55 +0000)]
2011-05-03  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, needed rebaseline after revision r85499.

        * platform/gtk/fast/replaced/table-percent-height-expected.txt:

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 3 May 2011 08:00:21 +0000 (08:00 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [remote debugging] use document.title to set window name.
        https://bugs.webkit.org/show_bug.cgi?id=60012

        * src/js/DevTools.js:
        (WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 May 2011 07:54:35 +0000 (07:54 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: combine toolbar icon images.
        https://bugs.webkit.org/show_bug.cgi?id=59931

        * WebCore.gypi:
        * inspector/front-end/Images/auditsIcon.png: Removed.
        * inspector/front-end/Images/consoleIcon.png: Removed.
        * inspector/front-end/Images/elementsIcon.png: Removed.
        * inspector/front-end/Images/networkIcon.png: Removed.
        * inspector/front-end/Images/profilesIcon.png: Removed.
        * inspector/front-end/Images/resourcesIcon.png: Removed.
        * inspector/front-end/Images/scriptsIcon.png: Removed.
        * inspector/front-end/Images/timelineIcon.png: Removed.
        * inspector/front-end/Images/toolbarIcons.png: Added.
        * inspector/front-end/Images/toolbarIconsSmall.png: Added.
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.css:
        (.toolbar-icon):
        (#toolbar-dropdown .toolbar-icon):
        (.toolbar-item:active .toolbar-icon):
        (#toolbar-dropdown .toolbar-item:active .toolbar-icon):
        (.toolbar-item.elements .toolbar-icon):
        (.toolbar-item.resources .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.resources .toolbar-icon):
        (.toolbar-item.network .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.network .toolbar-icon):
        (.toolbar-item.scripts .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.scripts .toolbar-icon):
        (.toolbar-item.timeline .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.timeline .toolbar-icon):
        (.toolbar-item.profiles .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.profiles .toolbar-icon):
        (.toolbar-item.audits .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.audits .toolbar-icon):
        (.toolbar-item.console .toolbar-icon):
        (#toolbar-dropdown .toolbar-item.console .toolbar-icon):
        (.status-bar-item > .glyph):

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

8 years ago2011-05-03 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 3 May 2011 07:52:39 +0000 (07:52 +0000)]
2011-05-03  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: combine status bar button glyphs.
        https://bugs.webkit.org/show_bug.cgi?id=59885

        * WebCore.gypi:
        * inspector/front-end/Images/breakpointsActivateButtonGlyph.png: Removed.
        * inspector/front-end/Images/breakpointsDeactivateButtonGlyph.png: Removed.
        * inspector/front-end/Images/clearConsoleButtonGlyph.png: Removed.
        * inspector/front-end/Images/consoleButtonGlyph.png: Removed.
        * inspector/front-end/Images/dockButtonGlyph.png: Removed.
        * inspector/front-end/Images/enableOutlineButtonGlyph.png: Removed.
        * inspector/front-end/Images/enableSolidButtonGlyph.png: Removed.
        * inspector/front-end/Images/excludeButtonGlyph.png: Removed.
        * inspector/front-end/Images/focusButtonGlyph.png: Removed.
        * inspector/front-end/Images/garbageCollectButtonGlyph.png: Removed.
        * inspector/front-end/Images/gearButtonGlyph.png: Removed.
        * inspector/front-end/Images/helpButtonGlyph.png: Removed.
        * inspector/front-end/Images/largerResourcesButtonGlyph.png: Removed.
        * inspector/front-end/Images/nodeSearchButtonGlyph.png: Removed.
        * inspector/front-end/Images/pauseOnExceptionButtonGlyph.png: Removed.
        * inspector/front-end/Images/percentButtonGlyph.png: Removed.
        * inspector/front-end/Images/prettyPrintButtonGlyph.png: Removed.
        * inspector/front-end/Images/recordButtonGlyph.png: Removed.
        * inspector/front-end/Images/recordToggledButtonGlyph.png: Removed.
        * inspector/front-end/Images/reloadButtonGlyph.png: Removed.
        * inspector/front-end/Images/statusBarButtonGlyphs.png: Added.
        * inspector/front-end/Images/undockButtonGlyph.png: Removed.
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.css:
        (.status-bar-item > .glyph):
        (#dock-status-bar-item .glyph):
        (body.detached #dock-status-bar-item .glyph):
        (#console-status-bar-item .glyph):
        (.clear-status-bar-item .glyph):
        (button.enable-toggle-status-bar-item .glyph):
        (button.enable-toggle-status-bar-item.toggled-on .glyph):
        (.scripts-pause-on-exceptions-status-bar-item .glyph):
        (.scripts-toggle-pretty-print-status-bar-item .glyph):
        (.toggle-breakpoints .glyph):
        (.toggle-breakpoints.toggled-on .glyph):
        (.resources-larger-resources-status-bar-item .glyph):
        (.timeline-filter-status-bar-item .glyph):
        (.garbage-collect-status-bar-item .glyph):
        (.record-profile-status-bar-item .glyph):
        (.record-profile-status-bar-item.toggled-on .glyph):
        (.heap-snapshot-status-bar-item .glyph):
        (.node-search-status-bar-item .glyph):
        (.percent-time-status-bar-item .glyph):
        (.focus-profile-node-status-bar-item .glyph):
        (.exclude-profile-node-status-bar-item .glyph):
        (.reset-profile-status-bar-item .glyph):
        (.delete-storage-status-bar-item .glyph):
        (.refresh-storage-status-bar-item .glyph):
        * inspector/front-end/inspector.js:

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

8 years ago2011-05-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 3 May 2011 06:04:54 +0000 (06:04 +0000)]
2011-05-02  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Possible crash when removing elements with reflections
        https://bugs.webkit.org/show_bug.cgi?id=60009

        RenderLayer's destructor deleted its z-order list Vector pointers
        before removing the reflection layer. However, the reflection cleanup
        code could call back into the RenderLayer to dirty z-order lists,
        so move reflection cleanup to before z-order vector deletion.

        The test crashes when run manually a few times with MallocScribble enabled,
        but I was not able to create a test that crashed reliably.

        Test: fast/reflections/remove-reflection-crash.html

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

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

8 years ago2011-05-02 Ian Henderson <ianh@apple.com>
commit-queue@webkit.org [Tue, 3 May 2011 05:07:52 +0000 (05:07 +0000)]
2011-05-02  Ian Henderson  <ianh@apple.com>

        Reviewed by Dan Bernstein.

        CSS !important not respected by JavaScript
        https://bugs.webkit.org/show_bug.cgi?id=60007

        * fast/css/important-js-override-expected.txt: Added.
        * fast/css/important-js-override.html: Added.
2011-05-02  Ian Henderson  <ianh@apple.com>

        Reviewed by Dan Bernstein.

        CSS !important not respected by JavaScript
        https://bugs.webkit.org/show_bug.cgi?id=60007

        The addParsedProperty and addParsedProperties methods were subtly
        different.  The former did not check for !important before setting the
        given property.

        Change addParsedProperties to call addParsedProperty and move the
        relevant code.  The one other caller of this method, in
        editing/markup.cpp, probably wanted this behavior anyway.

        Test: fast/css/important-js-override.html

        * css/CSSMutableStyleDeclaration.cpp:
        (WebCore::CSSMutableStyleDeclaration::addParsedProperties):
        (WebCore::CSSMutableStyleDeclaration::addParsedProperty):

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

8 years ago2011-05-02 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Tue, 3 May 2011 05:02:39 +0000 (05:02 +0000)]
2011-05-02  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] White screen displays when using MiniBrowser with DrawingAreaImpl
        https://bugs.webkit.org/show_bug.cgi?id=60003

        When using DrawingAreaImpl, we need to properly pass the viewSize to the WebPage.
        Otherwise, the dirty rect will always be empty and we will not draw.

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPagePrivate::viewSize):

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

8 years ago2011-05-02 Martin Robinson <mrobinson@igalia.com>
commit-queue@webkit.org [Tue, 3 May 2011 04:45:58 +0000 (04:45 +0000)]
2011-05-02  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Compiler warning in Tools/MiniBrowser/main.c
        https://bugs.webkit.org/show_bug.cgi?id=59986

        Remove a compiler warning.

        * MiniBrowser/gtk/main.c: Use full array initializers to prevent some compilers
        from complaining.

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Tue, 3 May 2011 04:03:59 +0000 (04:03 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Fix Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Tue, 3 May 2011 04:03:42 +0000 (04:03 +0000)]
2011-05-02  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Unreviewed. Style error fix.

        * WebCoreSupport/ChromeClientEfl.cpp:

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Tue, 3 May 2011 03:57:05 +0000 (03:57 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        New baselines for SVG tests for Chromium Leopard build.

        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Added.
        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png: Added.
        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png: Added.
        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/filters/feLighting-crash-expected.png: Added.
        * platform/chromium-mac-leopard/tables/mozilla_expected_failures/other/test4-expected.png: Added.

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

8 years ago2011-05-02 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 3 May 2011 03:54:14 +0000 (03:54 +0000)]
2011-05-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, rolling out r85578.
        http://trac.webkit.org/changeset/85578
        https://bugs.webkit.org/show_bug.cgi?id=59976

        The test needs more lovin'. Voluntary rollout.

        * media/video-document-click-expected.txt: Removed.
        * media/video-document-click.html: Removed.

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

8 years ago2011-05-02 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 3 May 2011 02:28:01 +0000 (02:28 +0000)]
2011-05-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add layout tests for clicking in media documents.
        https://bugs.webkit.org/show_bug.cgi?id=59976

        * media/video-document-click-expected.txt: Added.
        * media/video-document-click.html: Added.

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

8 years ago2011-05-02 Ben Wells <benwells@chromium.org>
commit-queue@webkit.org [Tue, 3 May 2011 02:22:44 +0000 (02:22 +0000)]
2011-05-02  Ben Wells  <benwells@chromium.org>

        Reviewed by Simon Fraser.

        Cleanup variable usage in RenderObject.cpp paintOutline()
        https://bugs.webkit.org/show_bug.cgi?id=59911

        No new tests for this, there should be no change in behaviour.

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::paintOutline):

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

8 years agoFix crash that was introduced in r85515.
andersca@apple.com [Tue, 3 May 2011 02:03:19 +0000 (02:03 +0000)]
Fix crash that was introduced in r85515.

* Platform/CoreIPC/Connection.cpp:
(CoreIPC::Connection::dispatchSyncMessage):
If didReceiveSyncMessage returns ManualReply, the client took ownership of the reply
encoder so we must leak it to avoid a double-free.

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

8 years agoRemove an assertion that Windows was hitting on launch.
jberlin@webkit.org [Tue, 3 May 2011 02:00:32 +0000 (02:00 +0000)]
Remove an assertion that Windows was hitting on launch.

Rubber-stamped by Oliver Hunt.

* runtime/Structure.cpp:
(JSC::Structure::materializePropertyMap):
* runtime/Structure.h:
(JSC::Structure::typeInfo):
(JSC::Structure::previousID):
(JSC::Structure::propertyStorageCapacity):
(JSC::Structure::propertyStorageSize):
(JSC::Structure::get):
(JSC::Structure::materializePropertyMapIfNecessary):

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

8 years ago2011-05-02 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Tue, 3 May 2011 01:51:28 +0000 (01:51 +0000)]
2011-05-02  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: adding and removing values
        https://bugs.webkit.org/show_bug.cgi?id=59953

        * storage/indexeddb/mozilla/object-store-remove-values-expected.txt: Added.
        * storage/indexeddb/mozilla/object-store-remove-values.html: Added.

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 3 May 2011 01:48:32 +0000 (01:48 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        The web process locks up when the plug-in process crashes
        https://bugs.webkit.org/show_bug.cgi?id=59999
        <rdar://problem/8889303>

        Add a hash map from plug-in paths to CoreIPC connections to PluginProcessConnectionManager.
        Add PluginProcessConnectionManager::pluginProcessCrashed and make it look up the corresponding
        CoreIPC connection and call postConnectionDidCloseOnConnectionWorkQueue on it.

        * Platform/CoreIPC/Connection.cpp:
        (CoreIPC::Connection::postConnectionDidCloseOnConnectionWorkQueue):
        * Platform/CoreIPC/Connection.h:
        * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
        (WebKit::PluginProcessConnectionManager::getPluginProcessConnection):
        (WebKit::PluginProcessConnectionManager::removePluginProcessConnection):
        (WebKit::PluginProcessConnectionManager::pluginProcessCrashed):
        * WebProcess/Plugins/PluginProcessConnectionManager.h:
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::pluginProcessCrashed):

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

8 years ago2011-05-02 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 3 May 2011 01:46:46 +0000 (01:46 +0000)]
2011-05-02  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by James Robinson.

        REGRESSION(r84672): showTree doesn't work for input/textarea elements
        https://bugs.webkit.org/show_bug.cgi?id=60001

        When shadow is null, try retrieving the inner element of a render text control.

        * dom/Node.cpp:
        (WebCore::traverseTreeAndMark):

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

8 years agoTry to fix Windows build.
andersca@apple.com [Tue, 3 May 2011 01:34:51 +0000 (01:34 +0000)]
Try to fix Windows build.

* Scripts/webkit2/messages.py:
* Scripts/webkit2/messages_unittest.py:

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 3 May 2011 01:19:07 +0000 (01:19 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Oliver Hunt.

        Dispatch the PluginProcessCrashed on the connection work queue
        https://bugs.webkit.org/show_bug.cgi?id=59996

        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::initialize):
        Add the web process as a queue client.

        (WebKit::WebProcess::terminate):
        Remove the web process as a queue client.

        (WebKit::WebProcess::willProcessMessageOnClientRunLoop):
        Try calling willProcessWebProcessMessageOnClientRunLoop.

        * WebProcess/WebProcess.messages.in:
        Add the DispatchOnConnectionQueue attribute to PluginProcessCrashed.

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 3 May 2011 01:12:40 +0000 (01:12 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Send a PluginProcessCrashed message to all web processes when a plug-in crashes
        https://bugs.webkit.org/show_bug.cgi?id=59994

        * UIProcess/Plugins/PluginProcessProxy.cpp:
        (WebKit::PluginProcessProxy::didClose):
        Iterate over all contexts and send PluginProcessCrashed to all web processes in each context.

        (WebKit::PluginProcessProxy::didFinishLaunching):
        Call setShouldCloseConnectionOnMachExceptions on the CoreIPC connection.

        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::pluginProcessCrashed):
        Add empty stub.

        * WebProcess/WebProcess.messages.in:
        Add message.

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

8 years ago<rdar://problem/9371948> JavaScriptCore should build with GCC 4.2
mrowe@apple.com [Tue, 3 May 2011 01:04:10 +0000 (01:04 +0000)]
<rdar://problem/9371948> JavaScriptCore should build with GCC 4.2

Reviewed by Geoff Garen.

* Configurations/CompilerVersion.xcconfig:

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 3 May 2011 01:02:42 +0000 (01:02 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Simon Fraser.

        Plug-in not completely repainted after a crash
        https://bugs.webkit.org/show_bug.cgi?id=59991

        Call Widget::invalidate().

        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::pluginProcessCrashed):

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 3 May 2011 00:53:03 +0000 (00:53 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Make PluginProcessConnectionManager a member of WebProcess
        https://bugs.webkit.org/show_bug.cgi?id=59989

        * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
        * WebProcess/Plugins/PluginProcessConnectionManager.h:
        * WebProcess/Plugins/PluginProxy.cpp:
        (WebKit::PluginProxy::initialize):
        * WebProcess/WebProcess.h:
        (WebKit::WebProcess::pluginProcessConnectionManager):

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Tue, 3 May 2011 00:43:32 +0000 (00:43 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Expectation for new test.

        * platform/chromium/test_expectations.txt:

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

8 years ago<rdar://problem/9371289> WebKit2 can persist an invalid current back/forward item...
mrowe@apple.com [Tue, 3 May 2011 00:36:17 +0000 (00:36 +0000)]
<rdar://problem/9371289> WebKit2 can persist an invalid current back/forward item index when URLs are filtered from back/forward list

Reviewed by Brady Eidson.

* UIProcess/cf/WebBackForwardListCF.cpp:
(WebKit::WebBackForwardList::createCFDictionaryRepresentation): We need to update the current index to account for filtered items
for all items before the current item in the array.

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Tue, 3 May 2011 00:28:40 +0000 (00:28 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

8 years agoARMv7 build fix.
barraclough@apple.com [Tue, 3 May 2011 00:24:22 +0000 (00:24 +0000)]
ARMv7 build fix.

* assembler/AbstractMacroAssembler.h:
(JSC::AbstractMacroAssembler::Jump::link):
(JSC::AbstractMacroAssembler::Jump::linkTo):

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

8 years ago2011-05-02 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 3 May 2011 00:20:46 +0000 (00:20 +0000)]
2011-05-02  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by David Kilzer.

        Respect fixed text-indent on ::-webkit-input-placeholder
        https://bugs.webkit.org/show_bug.cgi?id=59825

        Placeholder text does not appear in the render tree
        dumps, so this is a pixel test for the position of
        the placeholder affected by text-indent.

        * fast/forms/input-placeholder-text-indent.html: Added.
        * platform/mac/fast/forms/input-placeholder-text-indent-expected.png: Added.
        * platform/mac/fast/forms/input-placeholder-text-indent-expected.txt: Added.

2011-05-02  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by David Kilzer.

        Respect fixed text-indent on ::-webkit-input-placeholder
        https://bugs.webkit.org/show_bug.cgi?id=59825

        Test: fast/forms/input-placeholder-text-indent.html

        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::paintPlaceholder): indent by
        a fixed text-indent size specified on the placeholder style.

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

8 years ago2011-05-02 Eric Uhrhane <ericu@chromium.org>
ericu@chromium.org [Tue, 3 May 2011 00:10:45 +0000 (00:10 +0000)]
2011-05-02  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Eric Seidel.

        Some FileWriter progress events should be queued
        https://bugs.webkit.org/show_bug.cgi?id=50846

        * fileapi/FileWriter.cpp:
        * fileapi/FileWriter.h:
        Create a new asynchronous Task [FileWriterCompletionEventTask] that will set readyState to DONE and fire off the right events.
2011-05-02  Eric Uhrhane  <ericu@chromium.org>

        Reviewed by Eric Seidel.

        Some FileWriter progress events should be queued
        https://bugs.webkit.org/show_bug.cgi?id=50846

        * fast/filesystem/resources/file-writer-events.js:
        (onWrite): Expect readyState at onwrite to be DONE now, not WRITING.
        * fast/filesystem/resources/file-writer-utils.js:
        Switch to using onwrite, now that it works.

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

8 years ago2011-05-02 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Mon, 2 May 2011 23:51:07 +0000 (23:51 +0000)]
2011-05-02  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: cursor mutation in object store
        https://bugs.webkit.org/show_bug.cgi?id=59933

        This is a test case *adapted* from a test in Mozilla's IndexedDB
        test suite. The original test checked cursor mutation while iterating
        an index cursor (tracked as bug 59822). This test checks whether the
        cursor mutation is successfully recognized while iterating a straight
        objectstore cursor. Specifically, it deletes a record that's already
        been iterated, then adds a record to the objectstore during iteration,
        then checks that no records were skipped and that the added record is
        eventually found during iteration.

        * storage/indexeddb/mozilla/cursor-mutation-objectstore-only-expected.txt: Added.
        * storage/indexeddb/mozilla/cursor-mutation-objectstore-only.html: Added.

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

8 years ago2011-05-02 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Mon, 2 May 2011 23:43:37 +0000 (23:43 +0000)]
2011-05-02  Jia Pu  <jpu@apple.com>

        Reviewed by Alexey Proskuryakov.

        [Mac] Need to truncate the string sent to "Look Up … " menu item, if it's too long.
        https://bugs.webkit.org/show_bug.cgi?id=59836
        <rdar://problem/9275983>

        * platform/DefaultLocalizationStrategy.cpp:
        (WebCore::truncatedStringForLookupMenuItem):
        (WebCore::DefaultLocalizationStrategy::contextMenuItemTagLookUpInDictionary):

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

8 years agoWindows build fix.
oliver@apple.com [Mon, 2 May 2011 23:42:38 +0000 (23:42 +0000)]
Windows build fix.

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

8 years ago<rdar://problem/9340945> and https://bugs.webkit.org/show_bug.cgi?id=59973
beidson@apple.com [Mon, 2 May 2011 23:41:47 +0000 (23:41 +0000)]
<rdar://problem/9340945> and https://bugs.webkit.org/show_bug.cgi?id=59973
In Aperture, a WebView might be dealloc'ed before it finishes loading.

Reviewed by Anders Carlsson.

../WebCore:

* WebCore.exp.in:
* platform/RuntimeApplicationChecks.cpp:
(WebCore::applicationIsAperture): Perform a com.apple.Aperture bundle check.
* platform/RuntimeApplicationChecks.h:

../WebKit/mac:

* WebView/WebView.mm:
(needsSelfRetainWhileLoadingQuirk):
(-[WebView _didStartProvisionalLoadForFrame:]): If we need the quirk, retain self.
(-[WebView _didFinishLoadForFrame:]): If we need the quirk, release self on a delay.
(-[WebView _didFailLoadWithError:forFrame:]): Ditto.
(-[WebView _didFailProvisionalLoadWithError:forFrame:]): Ditto.

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

8 years ago2011-05-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 2 May 2011 23:40:31 +0000 (23:40 +0000)]
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add runtests_unittest.py
        https://bugs.webkit.org/show_bug.cgi?id=59955

        I forgot to add this file in a previous patch.

        * Scripts/webkitpy/tool/steps/runtests_unittest.py: Added.

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

8 years agoUpdate Qt specific expected result after r85499.
ossy@webkit.org [Mon, 2 May 2011 23:28:00 +0000 (23:28 +0000)]
Update Qt specific expected result after r85499.

* platform/qt/fast/replaced/table-percent-height-expected.png:
* platform/qt/fast/replaced/table-percent-height-expected.txt:

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 23:22:53 +0000 (23:22 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Test expectation for new test.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Mon, 2 May 2011 23:19:36 +0000 (23:19 +0000)]
2011-05-02  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        crash in JSC::RegExp::match
        https://bugs.webkit.org/show_bug.cgi?id=58922

        New tests to check for proper clearing and chaining of backtrack
        data labels.

        * fast/regex/parentheses-expected.txt:
        * fast/regex/script-tests/parentheses.js:
2011-05-02  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        crash in JSC::RegExp::match
        https://bugs.webkit.org/show_bug.cgi?id=58922

        Cleared chained backtrack data label when linking label even if that
        label doesn't chain itself.  This is needed so that subsequent
        backtrack data labels point to the next outer paren and not within
        the current paren.

        * yarr/YarrJIT.cpp:
        (JSC::Yarr::YarrGenerator::TermGenerationState::linkDataLabelToBacktrackIfExists):

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

8 years ago2011-05-02 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 2 May 2011 23:18:32 +0000 (23:18 +0000)]
2011-05-02  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Avoid wasted cycles updating paths when popping the context stack
        https://bugs.webkit.org/show_bug.cgi?id=59967

        CanvasRenderingContext2D has to map the current path through
        transforms whenever the context stack is popped, which creates
        a lot of platform path objects. Avoid extra work here when the
        path is empty, or when the transform is identity.

        * platform/graphics/cg/PathCG.cpp:
        (WebCore::Path::transform):

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

8 years ago2011-05-02 Adrienne Walker <enne@google.com>
enne@google.com [Mon, 2 May 2011 23:13:25 +0000 (23:13 +0000)]
2011-05-02  Adrienne Walker  <enne@google.com>

        [chromium] Unreviewed, rebaseline small scrollbar image differences after r85527
        https://bugs.webkit.org/show_bug.cgi?id=58907

        This could be tickling the same bug that is showing up in bug 58587.

        * platform/chromium-gpu-linux/compositing/direct-image-compositing-expected.png:
        * platform/chromium-gpu-linux/compositing/geometry/fixed-in-composited-expected.png:
        * platform/chromium-gpu-linux/compositing/geometry/tall-page-composited-expected.png:
        * platform/chromium-gpu-linux/compositing/masks/masked-ancestor-expected.png:
        * platform/chromium-gpu-linux/compositing/masks/simple-composited-mask-expected.png:
        * platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.png:
        * platform/chromium-gpu-linux/platform/chromium/compositing/layout-width-change-expected.png:

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 23:12:37 +0000 (23:12 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Fix Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 2 May 2011 23:05:51 +0000 (23:05 +0000)]
2011-05-02  Adam Barth  <abarth@webkit.org>

        Change the testing EWS to log failures explicitly to avoid an infinite loop.

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

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 23:04:06 +0000 (23:04 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Fix Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

8 years agoText does not split on white space when typing to the edge of window.
enrica@apple.com [Mon, 2 May 2011 22:46:06 +0000 (22:46 +0000)]
Text does not split on white space when typing to the edge of window.
https://bugs.webkit.org/show_bug.cgi?id=59968
<rdar://problem/9112683>

Reviewed by Dan Bernstein.

Source/WebCore:

Test: editing/inserting/typing-at-end-of-line.html

This is a regression introduced when we converted the line box tree to
floating point in r78846. In findNextLineBreak, there was still one place where
the character width was treated as int and truncated and we were inconsistent
in the way we treated a character that did not fit entirely in the line.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::findNextLineBreak):

LayoutTests:

* editing/inserting/typing-at-end-of-line.html: Added.
* platform/mac/editing/inserting/typing-at-end-of-line-expected.txt: Added.

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 22:40:51 +0000 (22:40 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Test expectations for Chromium Mac port.

        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-baseFrequency-attr-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

8 years agoTiny bit of heap cleanup.
ggaren@apple.com [Mon, 2 May 2011 22:38:06 +0000 (22:38 +0000)]
Tiny bit of heap cleanup.

Reviewed by Oliver Hunt.

* heap/MarkedBlock.h:
(JSC::MarkedBlock::contains): Tightened up an assertion and a comment.

* heap/MarkedSpace.h:
(JSC::MarkedSpace::globalData):
(JSC::MarkedSpace::highWaterMark):
(JSC::MarkedSpace::setHighWaterMark): Moved inlines out of the class
definition, for better clarity.

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

8 years ago2011-05-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 2 May 2011 22:37:42 +0000 (22:37 +0000)]
2011-05-02  Tony Chang  <tony@chromium.org>

        Remove unused files.

        * platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.checksum: Removed. This file differs from
            the value in the png file, but I assume that the png is correct (more recently generated).
        * platform/mac/fast/table/dynamic-caption-add-before-child-expected.checksum: Removed.
        * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.checksum: Removed.
        * platform/mac/fast/table/multiple-captions-display-expected.checksum: Removed.

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

8 years ago2011-05-02 Adrienne Walker <enne@google.com>
enne@google.com [Mon, 2 May 2011 22:30:32 +0000 (22:30 +0000)]
2011-05-02  Adrienne Walker  <enne@google.com>

        Unreviewed, fix misspelled contributor name.

        * Scripts/webkitpy/common/config/committers.py:

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

8 years agoUpdate Qt specific expected result after r85499.
ossy@webkit.org [Mon, 2 May 2011 22:23:55 +0000 (22:23 +0000)]
Update Qt specific expected result after r85499.

* platform/qt/fast/replaced/table-percent-height-expected.png:
* platform/qt/fast/replaced/table-percent-height-expected.txt:

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

8 years ago2011-05-02 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Mon, 2 May 2011 22:20:21 +0000 (22:20 +0000)]
2011-05-02  Chang Shu  <cshu@webkit.org>

        Reviewed by Martin Robinson.

        [GTK][Qt] fast/events/keydown-1.html fails
        https://bugs.webkit.org/show_bug.cgi?id=59586

        Replace mac-specific keys with cross-platform keys to make the test
        pass on GTK and Qt platforms.

        * fast/events/keydown-1.html:
        * platform/gtk/Skipped:
        * platform/qt/Skipped:

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

8 years ago2011-04-27 Adrienne Walker <enne@google.com>
enne@google.com [Mon, 2 May 2011 22:13:38 +0000 (22:13 +0000)]
2011-04-27  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        Add test for multiple invalidations of the same size.
        https://bugs.webkit.org/show_bug.cgi?id=58907

        This tests a bug in Chromium where canvas state was not being properly
        reset between draw calls and a cached canvas of the same size was
        being used to paint into that retained incorrect state.

        * compositing/repaint/same-size-invalidation-expected.txt: Added.
        * compositing/repaint/same-size-invalidation.html: Added.
        * platform/chromium-gpu/compositing/repaint/same-size-invalidation-expected.png: Added.
2011-04-19  Adrienne Walker  <enne@google.com>

        Reviewed by James Robinson.

        [chromium] Don't unnecessarily resize skia/cg canvases when painting in compositor
        https://bugs.webkit.org/show_bug.cgi?id=58907

        Additionally, move the context save/restore logic to a place where it
        will reset the translation added in LayerTilerChromium.

        Test: compositing/repaint/same-size-invalidation.html

        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerPainter::paint):
        * platform/graphics/chromium/PlatformCanvas.cpp:
        (WebCore::PlatformCanvas::resize):
        (WebCore::PlatformCanvas::Painter::Painter):
        (WebCore::PlatformCanvas::Painter::~Painter):
        * platform/graphics/chromium/PlatformCanvas.h:

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

8 years agoEnable strict OwnPtr for Qt
ossy@webkit.org [Mon, 2 May 2011 22:04:57 +0000 (22:04 +0000)]
Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

Unreviewed buildfix after r85343.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::GraphicsContext3D):

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 21:55:23 +0000 (21:55 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Add test expectations for SVG changes.

        * platform/chromium-mac-leopard/editing/selection/3690703-2-expected.png:
        * platform/chromium-mac-leopard/editing/selection/3690703-expected.png:
        * platform/chromium-mac-leopard/editing/selection/3690719-expected.png:
        * platform/chromium-mac-leopard/editing/selection/4975120-expected.png:
        * platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.png:
        * platform/chromium-mac-leopard/editing/style/5046875-1-expected.png:
        * platform/chromium-mac-leopard/fast/forms/input-appearance-focus-expected.png:
        * platform/chromium-mac-leopard/fast/forms/input-appearance-readonly-expected.png:
        * platform/chromium-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.png:
        * platform/chromium-mac-leopard/fast/repaint/japanese-rl-selection-repaint-expected.png:
        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/text-tselect-02-f-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/mouse-move-on-svg-container-expected.png:
        * platform/chromium-mac-leopard/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
        * platform/chromium-mac-leopard/svg/text/text-intro-05-t-expected.png:
        * platform/chromium-mac/editing/selection/3690703-2-expected.png: Added.
        * platform/chromium-mac/editing/selection/3690703-expected.png: Added.
        * platform/chromium-mac/editing/selection/3690719-expected.png: Added.
        * platform/chromium-mac/editing/selection/4975120-expected.png: Added.
        * platform/chromium-mac/editing/selection/extend-selection-bidi-expected.png: Added.
        * platform/chromium-mac/editing/style/5046875-1-expected.png: Added.
        * platform/chromium-mac/fast/borders/svg-as-border-image-2-expected.png: Removed.
        * platform/chromium-mac/fast/borders/svg-as-border-image-expected.png: Added.
        * platform/chromium-mac/fast/forms/input-appearance-focus-expected.png: Added.
        * platform/chromium-mac/fast/forms/input-appearance-readonly-expected.png: Added.
        * platform/chromium-mac/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
        * platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/text-tselect-02-f-expected.png: Added.
        * platform/chromium-mac/svg/css/circle-in-mask-with-shadow-expected.png:
        * platform/chromium-mac/svg/custom/mouse-move-on-svg-container-expected.png: Added.
        * platform/chromium-mac/svg/custom/mouse-move-on-svg-container-standalone-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-in-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularConstant-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-specularExponent-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-dom-suraceScale-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-in-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularConstant-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-specularExponent-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFESpecularLightingElement-svgdom-suraceScale-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-numOctaves-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-seed-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-type-attr-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-numOctaves-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-seed-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-type-prop-expected.png: Added.
        * platform/chromium-mac/svg/filters/feLighting-crash-expected.png: Added.
        * platform/chromium-mac/svg/text/text-intro-05-t-expected.png:
        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 2 May 2011 21:43:29 +0000 (21:43 +0000)]
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        cr-linux-ews should run tests
        https://bugs.webkit.org/show_bug.cgi?id=59272

        This patch turns on testing for the cr-linux-ews.  Yay!

        * Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
        * Scripts/webkitpy/tool/steps/runtests.py:
        * Scripts/webkitpy/tool/steps/steps_unittest.py:

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

8 years ago2011-05-02 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Mon, 2 May 2011 21:36:57 +0000 (21:36 +0000)]
2011-05-02  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Correct marking of interpreter data in mixed mode builds
        https://bugs.webkit.org/show_bug.cgi?id=59962

        We had a few places in mixed mode builds where we would not
        track data used by the interpreter for marking.  This patch
        corrects the problem and adds a number of assertions to catch
        live Structures being collected.

        * JavaScriptCore.exp:
        * assembler/ARMv7Assembler.h:
        (JSC::ARMv7Assembler::ARMInstructionFormatter::debugOffset):
        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::dump):
        * bytecode/CodeBlock.h:
        (JSC::CodeBlock::addPropertyAccessInstruction):
        (JSC::CodeBlock::addGlobalResolveInstruction):
        (JSC::CodeBlock::addStructureStubInfo):
        (JSC::CodeBlock::addGlobalResolveInfo):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::emitResolve):
        (JSC::BytecodeGenerator::emitResolveWithBase):
        (JSC::BytecodeGenerator::emitGetById):
        (JSC::BytecodeGenerator::emitPutById):
        (JSC::BytecodeGenerator::emitDirectPutById):
        * runtime/Structure.cpp:
        (JSC::Structure::materializePropertyMap):
        * runtime/Structure.h:
        (JSC::Structure::typeInfo):
        (JSC::Structure::previousID):
        (JSC::Structure::propertyStorageCapacity):
        (JSC::Structure::propertyStorageSize):
        (JSC::Structure::get):
        (JSC::Structure::materializePropertyMapIfNecessary):

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 21:18:34 +0000 (21:18 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Add test expectations to accomodate new tests.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 2 May 2011 21:13:00 +0000 (21:13 +0000)]
2011-05-02  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Alexey Proskuryakov.

        Use native NullPtr when using GCC 4.6.0 and C++0x
        https://bugs.webkit.org/show_bug.cgi?id=59252

        GCC 4.6.0 has nullptr support, use it when possible.

        * wtf/NullPtr.cpp: include config.h to pull in Platform.h before
        NullPtr.h, since we need the GCC_VERSION_AT_LEAST definition.
        * wtf/NullPtr.h: check for GCC >= 4.6.0 and C++0x in order to
        use native nullptr.

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 21:05:47 +0000 (21:05 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Adjust test expectations.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 2 May 2011 21:04:58 +0000 (21:04 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam Roben.

        Handle DispatchOnConnectionQueue for asynchronous messages
        https://bugs.webkit.org/show_bug.cgi?id=59959

        If any asynchronous messages have the DispatchOnConnectionQueue attribute,
        create a new willProcess{Receiver}MessageOnClientRunLoop.

        * Scripts/webkit2/messages.py:
        - Fix a regex bug where we would only parse attributes on synchronous messages.
        - Collect messages with the dispatch_on_connection_queue flag set. We only handle
          asynchronous messages currently; sync message support will be added when/if the
          need arises.

        * Scripts/webkit2/messages_unittest.py:
        Update test.

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

8 years ago2011-05-02 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 2 May 2011 21:04:42 +0000 (21:04 +0000)]
2011-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r85483.
        http://trac.webkit.org/changeset/85483
        https://bugs.webkit.org/show_bug.cgi?id=59958

        Causes media test failures. (Requested by eric_carlson on
        #webkit).

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::HTMLMediaElement):
        (WebCore::HTMLMediaElement::prepareForLoad):
        (WebCore::HTMLMediaElement::seek):
        (WebCore::HTMLMediaElement::updatePlayState):
        * html/HTMLMediaElement.h:
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
        (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
        (WebCore::MediaPlayerPrivateAVFoundation::resumeLoad):
        (WebCore::MediaPlayerPrivateAVFoundation::load):
        (WebCore::MediaPlayerPrivateAVFoundation::prepareToPlay):
        (WebCore::MediaPlayerPrivateAVFoundation::paint):
        (WebCore::MediaPlayerPrivateAVFoundation::duration):
        (WebCore::MediaPlayerPrivateAVFoundation::seeking):
        (WebCore::MediaPlayerPrivateAVFoundation::updateStates):
        (WebCore::MediaPlayerPrivateAVFoundation::hasAvailableVideoFrame):
        (WebCore::MediaPlayerPrivateAVFoundation::metadataLoaded):
        (WebCore::MediaPlayerPrivateAVFoundation::loadedTimeRangesChanged):
        (WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
        (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
        (WebCore::MediaPlayerPrivateAVFoundation::repaint):
        (WebCore::MediaPlayerPrivateAVFoundation::setPreload):
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
        (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::videoLayerIsReadyToDisplay):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerForURL):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerForCacheResource):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::beginLoadingMetadata):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::playerItemStatus):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::platformDuration):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::assetStatus):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::paint):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::tracksChanged):
        (WebCore::MediaPlayerPrivateAVFoundationObjC::sizeChanged):

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

8 years ago2011-05-02 Mark Pilgrim <pilgrim@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 20:49:38 +0000 (20:49 +0000)]
2011-05-02  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: inline autoincrement key added on put
        https://bugs.webkit.org/show_bug.cgi?id=59936

        * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-expected.txt: Added.
        * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put.html: Added.

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

8 years ago2011-05-02 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 2 May 2011 20:45:24 +0000 (20:45 +0000)]
2011-05-02  Martin Robinson  <mrobinson@igalia.com>

        Incorporate a review comment that I mistakenly omitted from my last commit.

        * DumpRenderTree/gtk/EventSender.cpp: Use unsigned here instead of unsigned int.

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

8 years ago2011-05-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 2 May 2011 20:37:15 +0000 (20:37 +0000)]
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        PLATFORM(MAC) should (almost!) build with strict PassOwnPtr
        https://bugs.webkit.org/show_bug.cgi?id=59924

        * css/CSSGrammar.y:
        * platform/graphics/mac/SimpleFontDataMac.mm:
            - Memory management for the font cache is somewhat... complext.
              This will require some careful thought to sort out.
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        PLATFORM(MAC) should (almost!) build with strict PassOwnPtr
        https://bugs.webkit.org/show_bug.cgi?id=59924

        * History/WebHistory.mm:
        (-[WebHistory _visitedURL:withTitle:method:wasFailure:increaseVisitCount:]):
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::savePlatformDataToCachedFrame):
        * WebView/WebView.mm:
        (-[WebView _injectMailQuirksScript]):
        (-[WebView _injectOutlookQuirksScript]):
        (toStringVector):
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        PLATFORM(MAC) should (almost!) build with strict PassOwnPtr
        https://bugs.webkit.org/show_bug.cgi?id=59924

        * Platform/CoreIPC/Connection.cpp:
        (CoreIPC::Connection::sendSyncMessage):
        (CoreIPC::Connection::waitForSyncReply):
        (CoreIPC::Connection::dispatchSyncMessage):
        * Platform/CoreIPC/Connection.h:
        (CoreIPC::Connection::Message::releaseArguments):
            - The memory management for this class is very strange.  I wrote a
              large comment.  Hopefully a kind soul will come by and fix it.
        * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
        (WebKit::NetscapePluginModule::unload):
        * UIProcess/API/mac/WKView.mm:
        (-[WKView _setFindIndicator:fadeOut:]):
        * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm:
        (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer):
        * WebProcess/InjectedBundle/InjectedBundle.cpp:
        (WebKit::toStringVector):
        * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
        (WebKit::NetscapePluginStream::stop):
        * WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
        (WebKit::WebInspectorFrontendClient::WebInspectorFrontendClient):
        * WebProcess/WebPage/DrawingArea.cpp:
        (WebKit::DrawingArea::create):

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

8 years ago2011-05-02 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Mon, 2 May 2011 20:32:17 +0000 (20:32 +0000)]
2011-05-02  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: inline autoincrement key added on put
        https://bugs.webkit.org/show_bug.cgi?id=59936

        * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-expected.txt: Added.
        * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put.html: Added.

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

8 years ago2011-05-02 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Mon, 2 May 2011 20:23:21 +0000 (20:23 +0000)]
2011-05-02  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        showLineTree/showLineTreeForThis would make working with the line box tree easier
        https://bugs.webkit.org/show_bug.cgi?id=59662

        Adding a showLineTree/showLineTreeForThis method to help visualize and debug
        the line tree. Also adding a missing showRenderTreeForThis method to RenderObject.

        No new tests since this is a debugging feature only and not compiled in release.

        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::showLineTreeForThis):
        (WebCore::InlineBox::showLineTreeAndMark):
        (WebCore::InlineBox::showBox):
        (showLineTree):
        * rendering/InlineBox.h:
        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::showLineTreeAndMark):
        * rendering/InlineFlowBox.h:
        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::showBox):
        * rendering/InlineTextBox.h:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::showLineTreeAndMark):
        * rendering/RenderBlock.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::showRenderTreeForThis):
        (WebCore::RenderObject::showLineTreeForThis):
        (showTree):
        (showLineTree):
        * rendering/RenderObject.h:

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 20:20:05 +0000 (20:20 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewd. Build fix.

        Adjust test expectations to make build bots happy.

        * platform/chromium/test_expectations.txt:

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

8 years ago2011-05-02 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 2 May 2011 20:19:12 +0000 (20:19 +0000)]
2011-05-02  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Carlson.

        REGRESSIONS (r71934): In standalone media documents, (double-)clicking the media element doesn’t play/pause
        https://bugs.webkit.org/show_bug.cgi?id=59917

        Since default event handlers are not retargeted, we should always attempt ancestor
        traversal to find out whether the event.

        * html/MediaDocument.cpp:
        (WebCore::ancestorVideoElement): Added ancestor-traversing helper.
        (WebCore::MediaDocument::defaultEventHandler): Changed to use ancestorVideoElement.

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

8 years ago2011-05-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 2 May 2011 20:02:52 +0000 (20:02 +0000)]
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        EWS should report the list of unexpected failures
        https://bugs.webkit.org/show_bug.cgi?id=59923

        We cache the results of the first layout test results run on the task
        so the EWS can grab them later.  Another option is to include them in
        the exception that's thrown, but this approach seemed slightly more
        aesthetic.

        * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
        * Scripts/webkitpy/tool/bot/patchanalysistask.py:

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

8 years ago2011-04-29 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Mon, 2 May 2011 19:55:15 +0000 (19:55 +0000)]
2011-04-29  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Pages with accelerated compositing do not redraw unless scrolled
        https://bugs.webkit.org/show_bug.cgi?id=59851

        Added a setNeedDisplay on the non-composited content layer after
        the size is changed so it paints the full size of the layer. Called
        only for the areas newly exposed, if any.

        * WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
        (WebKit::LayerTreeHostCA::sizeDidChange):

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

8 years agoAttempt to fix the Leopard build.
weinig@apple.com [Mon, 2 May 2011 19:50:49 +0000 (19:50 +0000)]
Attempt to fix the Leopard build.

* platform/graphics/FontPlatformData.h:
* platform/graphics/mac/ComplexTextController.h:
* platform/graphics/mac/ComplexTextControllerATSUI.cpp:
* platform/mac/WebCoreSystemInterface.h:

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

8 years ago2011-05-02 Alpha Lam <hclam@chromium.org>
hclam@chromium.org [Mon, 2 May 2011 19:49:20 +0000 (19:49 +0000)]
2011-05-02  Alpha Lam  <hclam@chromium.org>

        Not reviewed. Build fix.

        Rebaseline SVG layout tests for chromium port.

        * platform/chromium-linux-x86_64/svg/text/text-text-01-b-expected.png:
        * platform/chromium-linux/editing/style/block-style-003-expected.png:
        * platform/chromium-linux/editing/style/create-block-for-style-005-expected.png:
        * platform/chromium-linux/editing/style/create-block-for-style-006-expected.png:
        * platform/chromium-linux/editing/style/create-block-for-style-010-expected.png:
        * platform/chromium-linux/editing/style/create-block-for-style-011-expected.png:
        * platform/chromium-linux/editing/style/create-block-for-style-012-expected.png:
        * platform/chromium-linux/editing/style/table-selection-expected.png:
        * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.png:
        * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-squeeze-1-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-squeeze-2-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-squeeze-3-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-squeeze-4-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-1-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-2-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-3-expected.png:
        * platform/chromium-linux/svg/text/select-textLength-spacing-stretch-4-expected.png:
        * platform/chromium-linux/svg/text/text-align-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-align-02-b-expected.png:
        * platform/chromium-linux/svg/text/text-align-03-b-expected.png:
        * platform/chromium-linux/svg/text/text-align-04-b-expected.png:
        * platform/chromium-linux/svg/text/text-align-05-b-expected.png:
        * platform/chromium-linux/svg/text/text-align-06-b-expected.png:
        * platform/chromium-linux/svg/text/text-altglyph-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-deco-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-fonts-02-t-expected.png:
        * platform/chromium-linux/svg/text/text-path-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-text-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-text-03-b-expected.png:
        * platform/chromium-linux/svg/text/text-text-05-t-expected.png:
        * platform/chromium-linux/svg/text/text-text-06-t-expected.png:
        * platform/chromium-linux/svg/text/text-text-07-t-expected.png:
        * platform/chromium-linux/svg/text/text-text-08-b-expected.png:
        * platform/chromium-linux/svg/text/text-tref-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-tselect-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-tspan-01-b-expected.png:
        * platform/chromium-linux/svg/text/text-ws-01-t-expected.png:
        * platform/chromium-linux/svg/text/text-ws-02-t-expected.png:
        * platform/chromium-linux/svg/text/textPathBoundsBug-expected.png:
        * platform/chromium-mac-leopard/editing/style/table-selection-expected.png:
        * platform/chromium-mac-leopard/svg/text/text-align-02-b-expected.png:
        * platform/chromium-mac-leopard/svg/text/text-fonts-02-t-expected.png:
        * platform/chromium-mac-leopard/svg/text/text-text-01-b-expected.png:
        * platform/chromium-mac-leopard/svg/text/text-tspan-01-b-expected.png: Removed.
        * platform/chromium-mac/editing/style/block-style-003-expected.png: Added.
        * platform/chromium-mac/editing/style/create-block-for-style-005-expected.png: Added.
        * platform/chromium-mac/editing/style/create-block-for-style-006-expected.png: Added.
        * platform/chromium-mac/editing/style/create-block-for-style-010-expected.png: Added.
        * platform/chromium-mac/editing/style/create-block-for-style-011-expected.png: Added.
        * platform/chromium-mac/editing/style/create-block-for-style-012-expected.png: Added.
        * platform/chromium-mac/editing/style/table-selection-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/text/textPathBoundsBug-expected.png.
        * platform/chromium-mac/svg/text/select-textLength-spacing-squeeze-1-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-squeeze-2-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-squeeze-3-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-squeeze-4-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-stretch-1-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-stretch-2-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-stretch-3-expected.png: Added.
        * platform/chromium-mac/svg/text/select-textLength-spacing-stretch-4-expected.png: Added.
        * platform/chromium-mac/svg/text/text-align-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-align-02-b-expected.png:
        * platform/chromium-mac/svg/text/text-align-03-b-expected.png:
        * platform/chromium-mac/svg/text/text-align-04-b-expected.png:
        * platform/chromium-mac/svg/text/text-align-05-b-expected.png:
        * platform/chromium-mac/svg/text/text-align-06-b-expected.png:
        * platform/chromium-mac/svg/text/text-altglyph-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-deco-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-fonts-02-t-expected.png:
        * platform/chromium-mac/svg/text/text-path-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-text-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-text-03-b-expected.png:
        * platform/chromium-mac/svg/text/text-text-05-t-expected.png:
        * platform/chromium-mac/svg/text/text-text-06-t-expected.png:
        * platform/chromium-mac/svg/text/text-text-07-t-expected.png:
        * platform/chromium-mac/svg/text/text-text-08-b-expected.png:
        * platform/chromium-mac/svg/text/text-tref-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-tselect-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-tselect-02-f-expected.png:
        * platform/chromium-mac/svg/text/text-tspan-01-b-expected.png:
        * platform/chromium-mac/svg/text/text-ws-01-t-expected.png:
        * platform/chromium-mac/svg/text/text-ws-02-t-expected.png:
        * platform/chromium-mac/svg/text/textPathBoundsBug-expected.png:
        * platform/chromium-win/editing/style/block-style-003-expected.png:
        * platform/chromium-win/editing/style/create-block-for-style-005-expected.png:
        * platform/chromium-win/editing/style/create-block-for-style-006-expected.png:
        * platform/chromium-win/editing/style/create-block-for-style-010-expected.png:
        * platform/chromium-win/editing/style/create-block-for-style-011-expected.png:
        * platform/chromium-win/editing/style/create-block-for-style-012-expected.png:
        * platform/chromium-win/editing/style/table-selection-expected.png:
        * platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.png:
        * platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-1-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-2-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-3-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-squeeze-4-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-1-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-2-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-3-expected.png:
        * platform/chromium-win/svg/text/select-textLength-spacing-stretch-4-expected.png:
        * platform/chromium-win/svg/text/text-align-01-b-expected.png:
        * platform/chromium-win/svg/text/text-align-02-b-expected.png:
        * platform/chromium-win/svg/text/text-align-03-b-expected.png:
        * platform/chromium-win/svg/text/text-align-04-b-expected.png:
        * platform/chromium-win/svg/text/text-align-05-b-expected.png:
        * platform/chromium-win/svg/text/text-align-06-b-expected.png:
        * platform/chromium-win/svg/text/text-altglyph-01-b-expected.png:
        * platform/chromium-win/svg/text/text-deco-01-b-expected.png:
        * platform/chromium-win/svg/text/text-fonts-02-t-expected.png:
        * platform/chromium-win/svg/text/text-path-01-b-expected.png:
        * platform/chromium-win/svg/text/text-text-01-b-expected.png:
        * platform/chromium-win/svg/text/text-text-03-b-expected.png:
        * platform/chromium-win/svg/text/text-text-05-t-expected.png:
        * platform/chromium-win/svg/text/text-text-06-t-expected.png:
        * platform/chromium-win/svg/text/text-text-07-t-expected.png:
        * platform/chromium-win/svg/text/text-text-08-b-expected.png:
        * platform/chromium-win/svg/text/text-tref-01-b-expected.png:
        * platform/chromium-win/svg/text/text-tselect-01-b-expected.png:
        * platform/chromium-win/svg/text/text-tselect-02-f-expected.png:
        * platform/chromium-win/svg/text/text-tspan-01-b-expected.png:
        * platform/chromium-win/svg/text/text-ws-01-t-expected.png:
        * platform/chromium-win/svg/text/text-ws-02-t-expected.png:
        * platform/chromium-win/svg/text/textPathBoundsBug-expected.png:

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

8 years ago2011-05-02 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 2 May 2011 19:43:48 +0000 (19:43 +0000)]
2011-05-02  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        convert manual-tests/bugzilla-6821.html to a layout test
        https://bugs.webkit.org/show_bug.cgi?id=59404

        * fast/css/hover-update-expected.txt: Added.
        * fast/css/hover-update.html: Added.
2011-05-02  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        convert manual-tests/bugzilla-6821.html to a layout test
        https://bugs.webkit.org/show_bug.cgi?id=59404

        Test: fast/css/hover-update.html

        * manual-tests/bugzilla-6821.html: Removed.

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

8 years ago2011-05-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 2 May 2011 19:42:27 +0000 (19:42 +0000)]
2011-05-02  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add base case for a test-running EWS
        https://bugs.webkit.org/show_bug.cgi?id=59920

        Later I will subclass this to run the Chromium Linux EWS.

        * Scripts/webkitpy/tool/bot/earlywarningsystemtask.py: Added.
        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
        * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:

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

8 years ago2011-05-02 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 2 May 2011 19:41:26 +0000 (19:41 +0000)]
2011-05-02  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam Roben.

        Need a way to handle CoreIPC messages on the connection work queue
        https://bugs.webkit.org/show_bug.cgi?id=59954

        Add a Connection::QueueClient abstract class. This class has a single pure virtual
        member function, willProcessMessageOnClientRunLoop which should return true if the message
        should be forwarded to the next Connection::QueueClient in the list or Connection::Client's
        run loop for processing and false otherwise. Users of Connection can use addQueueClient to
        add clients and all messages will be dispatched  to the queue clients first.

        * Platform/CoreIPC/Connection.cpp:
        (CoreIPC::Connection::addQueueClient):
        (CoreIPC::Connection::removeQueueClient):
        (CoreIPC::Connection::processIncomingMessage):
        * Platform/CoreIPC/Connection.h:
        (CoreIPC::Connection::QueueClient::~QueueClient):

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

8 years ago2011-05-02 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Mon, 2 May 2011 19:24:26 +0000 (19:24 +0000)]
2011-05-02  Jeff Miller  <jeffm@apple.com>

        Reviewed by Adam Roben.

        WebKit2 thinks the web process is unresponsive when a plugin displays a context menu
        https://bugs.webkit.org/show_bug.cgi?id=59124
        <rdar://problem/9318600>

        This is the Windows version of <https://bugs.webkit.org/show_bug.cgi?id=58943>.

        Since we have no control over how long a plugin will take to handle an event, we need
        to tell the UI process to stop its responsive timer when we're about to send an event
        to the plugin. The downside of doing this is that if the plugin does become unresponsive,
        the user won't know this immediately until they click on the web page again.  At that point,
        if the web process is unresponsive because of a hung plugin, the responsiveness timer will fire.

        We're only doing this on Windows currently when running plugins in the web process (Anders fixed
        bug 58943 in a different way when running plugins in a separate plugin process on the Mac).

        * PluginProcess/PluginControllerProxy.cpp:
        (WebKit::PluginControllerProxy::willSendEventToPlugin): Added, not used when running plugins in a separate process.
        * PluginProcess/PluginControllerProxy.h: Added willSendEventToPlugin().

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::stopResponsivenessTimer): Added.
        * UIProcess/WebPageProxy.h: Added stopResponsivenessTimer().
        * UIProcess/WebPageProxy.messages.in: Added StopResponsivenessTimer message.

        * WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp:
        (WebKit::NetscapePlugin::platformPaint): Tell our controller when we're about to send an event to the plugin.
        (WebKit::NetscapePlugin::platformHandleMouseEvent): Ditto.
        (WebKit::NetscapePlugin::platformHandleMouseEnterEvent): Ditto.
        (WebKit::NetscapePlugin::platformHandleMouseLeaveEvent): Ditto.

        * WebProcess/Plugins/PluginController.h: Added willSendEventToPlugin().
        * WebProcess/Plugins/PluginView.cpp:
        (WebKit::PluginView::willSendEventToPlugin): Added, tell the UI process to stop its responsiveness timer.
        * WebProcess/Plugins/PluginView.h: Added willSendEventToPlugin().

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

8 years ago2011-05-02 Sam Weinig <sam@webkit.org>
weinig@apple.com [Mon, 2 May 2011 19:11:17 +0000 (19:11 +0000)]
2011-05-02  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Prune ApplicationServices.h out of the headers
        https://bugs.webkit.org/show_bug.cgi?id=59952

        More forward declares are better.

        * html/canvas/CanvasRenderingContext2D.cpp:
        * html/canvas/CanvasRenderingContext2D.h:
        * platform/graphics/GlyphBuffer.h:
        * platform/graphics/cg/ImageBufferCG.cpp:
        * platform/graphics/cg/PDFDocumentImage.cpp:
        * platform/graphics/cg/PDFDocumentImage.h:
        * platform/graphics/mac/ComplexTextController.h:
        * platform/graphics/mac/ComplexTextControllerCoreText.cpp:
        * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
        * platform/mac/ScrollAnimatorMac.h:
        * platform/mac/ScrollAnimatorMac.mm:
        * platform/mac/ScrollbarThemeMac.h:
        * platform/mac/ScrollbarThemeMac.mm:
        * platform/mac/WebCoreNSStringExtras.h:
        * platform/mac/WebCoreSystemInterface.h:

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

8 years ago2011-05-02 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Mon, 2 May 2011 19:09:42 +0000 (19:09 +0000)]
2011-05-02  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Remove passing tests after rebaselines from r85365.

        * platform/chromium/test_expectations.txt:

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

8 years ago<rdar://problem/7972529> Images with percentage based height/max-height are missing...
mitz@apple.com [Mon, 2 May 2011 18:50:41 +0000 (18:50 +0000)]
<rdar://problem/7972529> Images with percentage based height/max-height are missing when they are inside blocks inside tables
https://bugs.webkit.org/show_bug.cgi?id=58006

Reviewed by Simon Fraser.

Source/WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalHeightUsing): Expanded the scope of the fix for
<http://webkit.org/b/15359> from r29039 to cover not just the case of a auto-or-percent-height
table cell as the immediate containing block, but any case where all containing block ancestors
up to and including a table cell are auto-or-percent height.

LayoutTests:

* fast/replaced/table-percent-height-expected.txt: Updated.
* fast/replaced/table-percent-height.html: Added a test case with a replaced object nested in an
auto-height block inside a table cell.

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

8 years agoBuild fix.
andersca@apple.com [Mon, 2 May 2011 18:38:59 +0000 (18:38 +0000)]
Build fix.

* WebKitTestRunner/InjectedBundle/LayoutTestController.h:
* WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:

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

8 years agohttps://bugs.webkit.org/show_bug.cgi?id=59950
barraclough@apple.com [Mon, 2 May 2011 18:30:03 +0000 (18:30 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=59950
Clean up AssemblerBuffer to use a Vector internally.

Reviewed by Oliver Hunt.

AssemblerBuffer handles reallocing a byte array itself - stop that.

* assembler/ARMAssembler.cpp:
(JSC::ARMAssembler::executableCopy):
* assembler/AssemblerBuffer.h:
(JSC::AssemblerLabel::AssemblerLabel):
(JSC::AssemblerLabel::labelAtOffset):
(JSC::AssemblerBuffer::AssemblerBuffer):
(JSC::AssemblerBuffer::~AssemblerBuffer):
(JSC::AssemblerBuffer::isAvailable):
(JSC::AssemblerBuffer::ensureSpace):
(JSC::AssemblerBuffer::isAligned):
(JSC::AssemblerBuffer::putIntegral):
(JSC::AssemblerBuffer::putIntegralUnchecked):
(JSC::AssemblerBuffer::putByteUnchecked):
(JSC::AssemblerBuffer::putByte):
(JSC::AssemblerBuffer::putShortUnchecked):
(JSC::AssemblerBuffer::putShort):
(JSC::AssemblerBuffer::putIntUnchecked):
(JSC::AssemblerBuffer::putInt):
(JSC::AssemblerBuffer::putInt64Unchecked):
(JSC::AssemblerBuffer::putInt64):
(JSC::AssemblerBuffer::codeSize):
(JSC::AssemblerBuffer::label):
(JSC::AssemblerBuffer::executableCopy):
(JSC::AssemblerBuffer::rewindToLabel):
(JSC::AssemblerBuffer::debugOffset):
(JSC::AssemblerBuffer::append):
(JSC::AssemblerBuffer::grow):
* assembler/AssemblerBufferWithConstantPool.h:
* assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::linkCall):
* assembler/X86Assembler.h:
(JSC::X86Assembler::X86InstructionFormatter::rewindToLabel):

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

8 years agoAvoid potential buffer overflow in WTFLog() and WTFLogVerbose()
jeffm@apple.com [Mon, 2 May 2011 18:20:03 +0000 (18:20 +0000)]
Avoid potential buffer overflow in WTFLog() and WTFLogVerbose()
https://bugs.webkit.org/show_bug.cgi?id=59949

Reviewed by Alexy Proskuryakov.

* wtf/Assertions.cpp: Check for 0 or empty format string in WTFLog() and WTFLogVerbose().

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

8 years ago2011-05-02 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Mon, 2 May 2011 18:14:43 +0000 (18:14 +0000)]
2011-05-02  Daniel Bates  <dbates@webkit.org>

        Reviewed by Sam Weinig.

        Convert manual test onblur-remove.html to a DRT test; onblur-remove.html fails
        https://bugs.webkit.org/show_bug.cgi?id=59379

        Make onblur-remove.html a DRT test. As of 04/25/2011 this test fails. See bug #59379
        for more details.

        * fast/events/onblur-remove-expected.txt: Added; expected failure results.
        * fast/events/onblur-remove.html: Copied from Source/WebCore/manual-tests/onblur-remove.html.
2011-05-02  Daniel Bates  <dbates@webkit.org>

        Reviewed by Sam Weinig.

        Convert manual test onblur-remove.html to a DRT test; onblur-remove.html fails
        https://bugs.webkit.org/show_bug.cgi?id=59379

        Move manual test onblur-remove.html to LayoutTests/fast/events.

        Test: fast/events/onblur-remove.html

        * manual-tests/onblur-remove.html: Removed.

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

8 years ago2011-04-29 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Mon, 2 May 2011 18:04:06 +0000 (18:04 +0000)]
2011-04-29  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Maciej Stachowiak.

        Plug-in failed to initialize message should be called when Java fails to initialize
        https://bugs.webkit.org/show_bug.cgi?id=59856

        To match the WebKit1 behavior, WebKit2 should dispatch the plug-in failed
        to initialize message when we can't instantiate the Java plug-in.

        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::createJavaAppletWidget):

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