WebKit.git
9 years ago[Qt][WK2] Move QQuickWebView::downloadRequested signal into experimental
jesus@webkit.org [Wed, 23 Nov 2011 22:03:54 +0000 (22:03 +0000)]
[Qt][WK2] Move QQuickWebView::downloadRequested signal into experimental
https://bugs.webkit.org/show_bug.cgi?id=72914

Reviewed by Andreas Kling.

Make the signal downloadRequested an experimental API from QQuickWebView
and modify the qml test to use a WebView instead of a DesktopWebView.

* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/tests/qmltests/WebView/tst_download.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_download.qml.
* UIProcess/API/qt/tests/qmltests/common/download.html: Removed.
* UIProcess/API/qt/tests/qmltests/qmltests.pro:
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::didReceiveDownloadResponse):

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

9 years agoBinding CodeGenerators don't support Conditional= on constants
arv@chromium.org [Wed, 23 Nov 2011 22:03:20 +0000 (22:03 +0000)]
Binding CodeGenerators don't support Conditional= on constants
https://bugs.webkit.org/show_bug.cgi?id=67666

Reviewed by Adam Barth.

Adds support for [Conditional=LABEL] to const IDL fields.

* bindings/scripts/CodeGenerator.pm:
(GenerateConditionalStringFromAttributeValue): Moved out of CodeGenerator{CPP,JS,V8}.pm.
(GenerateCompileTimeCheckForEnumsIfNeeded): Wrap in conditional #if.
* bindings/scripts/CodeGeneratorCPP.pm:
(GenerateConditionalString):
(GenerateHeader): Ditto.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateConditionalString):
(GenerateHeader): Ditto.
(GenerateImplementation): Ditto.
(GenerateHashTable):
(WriteData):
* bindings/scripts/CodeGeneratorObjC.pm:
(GenerateHeader): Ditto.
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateConditionalString): Ditto.
(GenerateImplementation):
(WriteData):
* bindings/scripts/test/CPP/WebDOMTestObj.h: Generated code now wraps conditional const in #if.
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjCONDITIONAL_CONST): Ditto
* bindings/scripts/test/JS/JSTestObj.h: Ditto
* bindings/scripts/test/ObjC/DOMTestObj.h: Ditto
* bindings/scripts/test/TestObj.idl: Added a conditional const.
* bindings/scripts/test/V8/V8TestObj.cpp: Generated code now wraps conditional const in #if.

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

9 years ago[MutationObservers] Modifications to the style property don't dispatch "attributes...
commit-queue@webkit.org [Wed, 23 Nov 2011 21:40:06 +0000 (21:40 +0000)]
[MutationObservers] Modifications to the style property don't dispatch "attributes" Mutation Records
https://bugs.webkit.org/show_bug.cgi?id=70137

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

Source/WebCore:

This patch adds a private AttributesMutationScope mechanism to CSSMutableStyleDeclaration (which uses
the RAII pattern similar to the public ChildListMutationScope). This manages the (sometimes conditional)
pre-change serialization of the style attribute (if an observer has requested oldValue), creation of
the mutation record, and dispatch if the declaration was actual affected.

* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::removeProperty):
(WebCore::CSSMutableStyleDeclaration::setProperty):
(WebCore::CSSMutableStyleDeclaration::setPropertyInternal):
(WebCore::CSSMutableStyleDeclaration::parseDeclaration):
(WebCore::CSSMutableStyleDeclaration::addParsedProperties):
(WebCore::CSSMutableStyleDeclaration::addParsedProperty):
(WebCore::CSSMutableStyleDeclaration::setCssText):
(WebCore::CSSMutableStyleDeclaration::merge):
(WebCore::CSSMutableStyleDeclaration::removePropertiesInSet):
* dom/Element.cpp:
(WebCore::Element::setAttribute):

LayoutTests:

Added tests asserting that changes to the style property are observable and work correctly if oldValue is requested.

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

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

9 years agoRemove BlackBerry OS support from RandomNumberSeed, making QNX=UNIX.
staikos@webkit.org [Wed, 23 Nov 2011 20:18:15 +0000 (20:18 +0000)]
Remove BlackBerry OS support from RandomNumberSeed, making QNX=UNIX.
https://bugs.webkit.org/show_bug.cgi?id=73028

Reviewed by Daniel Bates.

* wtf/RandomNumberSeed.h:
(WTF::initializeRandomNumberGenerator):

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

9 years agoUnreviewed, rebaseline binding tests after http://trac.webkit.org/changeset/101064.
dslomov@google.com [Wed, 23 Nov 2011 19:58:31 +0000 (19:58 +0000)]
Unreviewed, rebaseline binding tests after trac.webkit.org/changeset/101064.

* bindings/scripts/test/JS/JSFloat64Array.cpp:
(WebCore::toFloat64Array):
* bindings/scripts/test/V8/V8Float64Array.cpp:
(WebCore::V8Float64Array::wrapSlow):

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

9 years agoRebaseline Chromium after r101056. Unreviewed gardening.
adamk@chromium.org [Wed, 23 Nov 2011 19:40:41 +0000 (19:40 +0000)]
Rebaseline Chromium after r101056. Unreviewed gardening.

* platform/chromium-linux/svg/dom/length-list-parser-expected.txt: Removed.

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

9 years agoChromium rebaselines after r101062. Unreviewed gardening.
adamk@chromium.org [Wed, 23 Nov 2011 19:30:08 +0000 (19:30 +0000)]
Chromium rebaselines after r101062. Unreviewed gardening.

* platform/chromium-linux-x86/svg/custom/pointer-events-image-css-transform-expected.txt: Added.
* platform/chromium-linux-x86/svg/custom/pointer-events-text-css-transform-expected.txt: Added.
* platform/chromium-linux-x86/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
* platform/chromium-linux-x86/svg/transforms/svg-css-transforms-expected.txt: Added.
* platform/chromium-linux/svg/custom/pointer-events-image-css-transform-expected.png: Added.
* platform/chromium-linux/svg/custom/pointer-events-image-css-transform-expected.txt: Added.
* platform/chromium-linux/svg/custom/pointer-events-text-css-transform-expected.png: Added.
* platform/chromium-linux/svg/custom/pointer-events-text-css-transform-expected.txt: Added.
* platform/chromium-linux/svg/transforms/svg-css-transforms-clip-path-expected.png: Added.
* platform/chromium-linux/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
* platform/chromium-linux/svg/transforms/svg-css-transforms-expected.png: Added.
* platform/chromium-linux/svg/transforms/svg-css-transforms-expected.txt: Added.
* platform/chromium-win-vista/svg/custom/pointer-events-image-css-transform-expected.png: Added.
* platform/chromium-win-vista/svg/custom/pointer-events-image-css-transform-expected.txt: Added.
* platform/chromium-win-vista/svg/custom/pointer-events-text-css-transform-expected.png: Added.
* platform/chromium-win-vista/svg/custom/pointer-events-text-css-transform-expected.txt: Added.
* platform/chromium-win-vista/svg/transforms/svg-css-transforms-clip-path-expected.png: Added.
* platform/chromium-win-vista/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
* platform/chromium-win-vista/svg/transforms/svg-css-transforms-expected.png: Added.
* platform/chromium-win-vista/svg/transforms/svg-css-transforms-expected.txt: Added.
* platform/chromium-win-xp/svg/custom/pointer-events-image-css-transform-expected.txt: Added.
* platform/chromium-win-xp/svg/custom/pointer-events-text-css-transform-expected.txt: Added.
* platform/chromium-win-xp/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
* platform/chromium-win-xp/svg/transforms/svg-css-transforms-expected.txt: Added.

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

9 years agoLast rebaseline (really this time) for video-zoom-controls.html.
adamk@chromium.org [Wed, 23 Nov 2011 19:18:52 +0000 (19:18 +0000)]
Last rebaseline (really this time) for video-zoom-controls.html.

Unreviewed gardening.

* platform/chromium-gpu-cg-mac/media/video-zoom-controls-expected.png: Copied by hand from bot's zip file.

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

9 years agoUnreviewed, rolling out r101069.
commit-queue@webkit.org [Wed, 23 Nov 2011 19:04:48 +0000 (19:04 +0000)]
Unreviewed, rolling out r101069.
http://trac.webkit.org/changeset/101069
https://bugs.webkit.org/show_bug.cgi?id=73032

New test always times out (Requested by aklein on #webkit).

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

Source/WebCore:

* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._bindScriptToRawSourceCode):
(WebInspector.DebuggerPresentationModel.prototype.evaluateInSelectedCallFrame):
(WebInspector.DebuggerPresentationModel.prototype.get executionLineLocation):
(WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
(WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
(WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):

LayoutTests:

* http/tests/inspector/compiler-source-mapping-debug-expected.txt: Removed.
* http/tests/inspector/compiler-source-mapping-debug.html: Removed.
* http/tests/inspector/resources/source-map.json:
* http/tests/inspector/resources/source1.js:
(window.onload):
* http/tests/inspector/resources/source2.js:
(ClickHandler.prototype.handle):
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:

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

9 years ago[chromium] Crash in webkit::npapi::PluginInstance::NPP_SetWindow
adamk@chromium.org [Wed, 23 Nov 2011 18:51:58 +0000 (18:51 +0000)]
[chromium] Crash in webkit::npapi::PluginInstance::NPP_SetWindow
https://bugs.webkit.org/show_bug.cgi?id=72271

Unreviewed gardening.

* platform/chromium/test_expectations.txt: Mark fast/dom/node-iterator-reference-node-moved-crash.html as flaky

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

9 years agoLayout Test http/tests/loading/307-after-303-after-post.html is flaky on cr-mac
adamk@chromium.org [Wed, 23 Nov 2011 18:41:08 +0000 (18:41 +0000)]
Layout Test http/tests/loading/307-after-303-after-post.html is flaky on cr-mac
https://bugs.webkit.org/show_bug.cgi?id=73030

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=72354
antti@apple.com [Wed, 23 Nov 2011 18:33:59 +0000 (18:33 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=72354
Image pointer in FillLayer not cleared correctly

Reviewed by Dan Bernstein.

Source/WebCore:

Test: fast/css/fill-layer-crash.html

We should clear the image pointer too, not just the m_imageSet bit.

* rendering/style/FillLayer.h:
(WebCore::FillLayer::clearImage):

LayoutTests:

* fast/css/fill-layer-crash-expected.txt: Added.
* fast/css/fill-layer-crash.html: Added.

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

9 years ago[skia] need rebaselining after skia rev. 2735 lands
reed@google.com [Wed, 23 Nov 2011 18:29:05 +0000 (18:29 +0000)]
[skia] need rebaselining after skia rev. 2735 lands
https://bugs.webkit.org/show_bug.cgi?id=73023

unreviewed, expectations update

* platform/chromium/test_expectations.txt:

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

9 years ago[Qt] Re-generate QtWebKit API forwarding headers when API changes
vestbo@webkit.org [Wed, 23 Nov 2011 18:19:18 +0000 (18:19 +0000)]
[Qt] Re-generate QtWebKit API forwarding headers when API changes

The forwarding headers are generated by syncqt, and syncqt is run by qmake,
so we need sync.profile to live in the same directory as the project file
that will be touched when adding/removing API (api.pri in our case).

Since the WebKit2 APIs live in a separate static library, we have to
add the project file for WebKit2 as a dependency of the api.pri file
as well, so that any changes to the WebKit2 API will still trigger a
run of qmake (and then syncqt).

Lastly, we use the new QMAKE_SYNCQT_OUTDIR variable in Qt 5 to ensure
that the forwarding headers are still generated in the root build dir,
not in the Source dir along with the internal forwarding headers.

Reviewed by Andreas Kling.

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

9 years agoUnreviewed, rolling out r101057.
commit-queue@webkit.org [Wed, 23 Nov 2011 18:12:59 +0000 (18:12 +0000)]
Unreviewed, rolling out r101057.
http://trac.webkit.org/changeset/101057
https://bugs.webkit.org/show_bug.cgi?id=73027

Broke Chromium Windows build (Requested by aklein on #webkit).

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

Source/WebCore:

* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::HTMLTrackElement):
(WebCore::HTMLTrackElement::didCompleteLoad):
(WebCore::HTMLTrackElement::textTrackReadyStateChanged):
* html/HTMLTrackElement.h:
* html/HTMLTrackElement.idl:
* html/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::loadTimerFired):
(WebCore::LoadableTextTrack::cueLoadingStarted):
(WebCore::LoadableTextTrack::cueLoadingCompleted):
* html/TextTrack.cpp:
(WebCore::TextTrack::TextTrack):
(WebCore::TextTrack::setReadyState):
* html/TextTrack.h:
(WebCore::TextTrack::readyState):
* html/TextTrack.idl:

LayoutTests:

* media/track/track-add-track-expected.txt:
* media/track/track-add-track.html:
* media/track/track-constants-expected.txt:
* media/track/track-constants.html:
* media/track/track-load-error-readyState-expected.txt:
* media/track/track-load-error-readyState.html:
* media/track/track-load-from-element-readyState-expected.txt:
* media/track/track-load-from-element-readyState.html:
* media/track/track-load-from-src-readyState-expected.txt:
* media/track/track-load-from-src-readyState.html:

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

9 years ago[chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
commit-queue@webkit.org [Wed, 23 Nov 2011 17:49:43 +0000 (17:49 +0000)]
[chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
https://bugs.webkit.org/show_bug.cgi?id=73010

Patch by Tommy Widenflycht <tommyw@google.com> on 2011-11-23
Reviewed by Darin Fisher.

* public/WebMediaStreamRegistry.h:

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

9 years ago[Qt] [WK2] Expose onNavigationRequested signal instead of expecting a slot be defined...
caio.oliveira@openbossa.org [Wed, 23 Nov 2011 16:52:54 +0000 (16:52 +0000)]
[Qt] [WK2] Expose onNavigationRequested signal instead of expecting a slot be defined from QML
https://bugs.webkit.org/show_bug.cgi?id=72976

Reviewed by Tor Arne Vestbø.

Expecting slots/methods to be implemented in QML isn't very idiomatic in
comparison with the alternative of having a signal. So we now use a signal
for handling navigation requests, and expose a 'request' object with relevant
metadata. There's also a settable property 'action' used to indicate whether
the navigation should be ignored or trigger a download.

The pattern signal with an object parameter that can keep the reply is common in QML,
and used for example for mouse signals.

* UIProcess/API/qt/qquickwebview.cpp:
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/qquickwebview_p_p.h:
* UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationPolicyForUrl.qml.
* UIProcess/API/qt/tests/qmltests/qmltests.pro:
* UIProcess/qt/QtWebPagePolicyClient.cpp:
(NavigationRequest::NavigationRequest):
(NavigationRequest::url):
(NavigationRequest::button):
(NavigationRequest::modifiers):
(NavigationRequest::action):
(NavigationRequest::setAction):
(QtWebPagePolicyClient::decidePolicyForNavigationAction):
* UIProcess/qt/QtWebPagePolicyClient.h:

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

9 years ago2011-11-23 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 23 Nov 2011 16:04:50 +0000 (16:04 +0000)]
2011-11-23  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Build fix. Added missing ENABLE(WORKERS) guards.

        * inspector/WorkerConsoleAgent.cpp:
        * inspector/WorkerConsoleAgent.h:
        * inspector/WorkerRuntimeAgent.cpp:
        * inspector/WorkerRuntimeAgent.h:

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

9 years agoUnreviewed, skip another svg test on GTK showing signed zero issues.
philn@webkit.org [Wed, 23 Nov 2011 15:53:18 +0000 (15:53 +0000)]
Unreviewed, skip another svg test on GTK showing signed zero issues.

* platform/gtk/Skipped: Skip svg/dom/css-transforms.xhtml.

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

9 years agoUnreviewed, GTK rebaseline after r101060.
philn@webkit.org [Wed, 23 Nov 2011 15:36:45 +0000 (15:36 +0000)]
Unreviewed, GTK rebaseline after r101060.

* platform/gtk/fast/dom/Window/window-properties-expected.txt:
* platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
* platform/gtk/fast/js/global-constructors-expected.txt:

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

9 years ago[GStreamer] improper usage of gst_object_ref_sink
philn@webkit.org [Wed, 23 Nov 2011 15:33:19 +0000 (15:33 +0000)]
[GStreamer] improper usage of gst_object_ref_sink
https://bugs.webkit.org/show_bug.cgi?id=73014

Reviewed by Martin Robinson.

No new tests. Existing tests cover this already.

* platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
(WTF::adoptGRef): Ensure this is called with non-floating GstObjects.
(WTF::GstElement): Replace gst_object_ref_sink with
gst_object_ref+gst_object_sink like advised in the GstObject documentation.
(WTF::GstPad): Ditto.
* platform/graphics/gstreamer/GRefPtrGStreamer.h:

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

9 years agoWeb Inspector: split console agent into worker and page console agents
yurys@chromium.org [Wed, 23 Nov 2011 15:28:40 +0000 (15:28 +0000)]
Web Inspector: split console agent into worker and page console agents
https://bugs.webkit.org/show_bug.cgi?id=73019

InspectorConsoleAgent now has two descendants: WorkerConsoleAgent and PageConsoleAgent
which encapsulate functionality specific for the type of inspected instance.

Reviewed by Pavel Feldman.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* inspector/InspectorConsoleAgent.cpp:
(WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
(WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
(WebCore::InspectorConsoleAgent::clearMessages):
(WebCore::InspectorConsoleAgent::addMessageToConsole):
(WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
(WebCore::InspectorConsoleAgent::didReceiveResponse):
(WebCore::InspectorConsoleAgent::didFailLoading):
(WebCore::InspectorConsoleAgent::addConsoleMessage):
* inspector/InspectorConsoleAgent.h:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorStyleTextEditor.cpp:
* inspector/InspectorStyleTextEditor.h:
* inspector/PageConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.cpp.
(WebCore::PageConsoleAgent::PageConsoleAgent):
(WebCore::PageConsoleAgent::~PageConsoleAgent):
(WebCore::PageConsoleAgent::clearMessages):
(WebCore::PageConsoleAgent::addInspectedNode):
(WebCore::PageConsoleAgent::developerExtrasEnabled):
* inspector/PageConsoleAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
* inspector/PageDebuggerAgent.cpp:
* inspector/PageDebuggerAgent.h:
* inspector/PageRuntimeAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
(WebCore::PageRuntimeAgent::PageRuntimeAgent): PageRuntimeAgent was moved into its own file.
(WebCore::PageRuntimeAgent::~PageRuntimeAgent):
(WebCore::PageRuntimeAgent::scriptStateForFrameId):
(WebCore::PageRuntimeAgent::getDefaultInspectedState):
* inspector/PageRuntimeAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
* inspector/WorkerConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
(WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
(WebCore::WorkerConsoleAgent::~WorkerConsoleAgent):
(WebCore::WorkerConsoleAgent::addInspectedNode):
(WebCore::WorkerConsoleAgent::developerExtrasEnabled):
* inspector/WorkerConsoleAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
* inspector/WorkerDebuggerAgent.cpp:
* inspector/WorkerDebuggerAgent.h:
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
* inspector/WorkerInspectorController.h:
* inspector/WorkerRuntimeAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
(WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent): WorkerRuntimeAgent was moved into its own file.
(WebCore::WorkerRuntimeAgent::~WorkerRuntimeAgent):
(WebCore::WorkerRuntimeAgent::scriptStateForFrameId):
(WebCore::WorkerRuntimeAgent::getDefaultInspectedState):
* inspector/WorkerRuntimeAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.

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

9 years agoWeb Inspector: warning icon for unrecognized style rule should have tooltip
apavlov@chromium.org [Wed, 23 Nov 2011 14:34:09 +0000 (14:34 +0000)]
Web Inspector: warning icon for unrecognized style rule should have tooltip
https://bugs.webkit.org/show_bug.cgi?id=50638

Reviewed by Yury Semikhatsky.

* English.lproj/localizedStrings.js: Add new tooltip strings.
* inspector/front-end/CSSCompletions.js:
(WebInspector.CSSCompletions.prototype.keySet): Added.
* inspector/front-end/StylesSidebarPane.js: Create a separate IMG element for an exclamation mark.
* inspector/front-end/elementsPanel.css:
(.styles-section .properties li.not-parsed-ok img.exclamation-mark):

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

9 years ago[EFL] Add zlib depend when freetype is used.
commit-queue@webkit.org [Wed, 23 Nov 2011 14:25:45 +0000 (14:25 +0000)]
[EFL] Add zlib depend when freetype is used.
https://bugs.webkit.org/show_bug.cgi?id=66365

Unreviewed build fix.

When freetype is enabled, uncompress() function is used by
WOFFFileFormat.cpp. Since zlib is not required by freetype, we need to
add libz as dependency for fix linking issue.

.:

Patch by Halton Huo <halton.huo@intel.com> on 2011-11-23

* Source/cmake/OptionsEfl.cmake: search for ZLIB

Source/WebCore:

No new test because this change is only to fix linking issue.

Patch by Halton Huo <halton.huo@intel.com> on 2011-11-23

* PlatformEfl.cmake: add ZLIB as dependency when using freetype

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

9 years agoCSS Exclusions: parse the shorthand "wrap" property
mihnea@adobe.com [Wed, 23 Nov 2011 14:23:22 +0000 (14:23 +0000)]
CSS Exclusions: parse the shorthand "wrap" property
https://bugs.webkit.org/show_bug.cgi?id=71905

Reviewed by Dean Jackson.

Source/WebCore:

Test: fast/exclusions/wrap-parsing.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::getPropertyValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyLonghand.cpp:
(WebCore::initShorthandMap):
* css/CSSPropertyNames.in:
* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):

LayoutTests:

* fast/exclusions/script-tests/wrap-parsing.js: Added.
* fast/exclusions/wrap-parsing-expected.txt: Added.
* fast/exclusions/wrap-parsing.html: Added.

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

9 years ago[CSS Filters] WebKit crashes when changing the filter
achicu@adobe.com [Wed, 23 Nov 2011 14:14:47 +0000 (14:14 +0000)]
[CSS Filters] WebKit crashes when changing the filter
https://bugs.webkit.org/show_bug.cgi?id=72723

Reviewed by Simon Fraser.

Source/WebCore:

There are three things fixed with this patch:
1. The list of effects wasn't cleared when the FilterOperations were changed.
2. The sourceImage was going to be 0, because the m_sourceGraphicBuffer.release()
was also clearing the reference to m_sourceGraphicBuffer. Next time the build() method
was called m_graphicsBufferAttached was set to false, but the m_sourceGraphicBuffer was
not regenerated, because the size was not invalidated.
3. maxEffectRects were not updated when a new list of effects was built.

Test: css3/filters/crash-filter-change.html

* rendering/FilterEffectRenderer.cpp:
(WebCore::FilterEffectRenderer::build):
(WebCore::FilterEffectRenderer::prepare):
* rendering/FilterEffectRenderer.h:
(WebCore::FilterEffectRenderer::setSourceImageRect):

LayoutTests:

* css3/filters/crash-filter-change-expected.png: Added.
* css3/filters/crash-filter-change-expected.txt: Added.
* css3/filters/crash-filter-change.html: Added.

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

9 years agoSet right default value to baseURL in LayoutTestController::queueLoadHTMLString.
jnd@chromium.org [Wed, 23 Nov 2011 14:12:12 +0000 (14:12 +0000)]
Set right default value to baseURL in LayoutTestController::queueLoadHTMLString.
https://bugs.webkit.org/show_bug.cgi?id=72950

Reviewed by Tony Chang.

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::queueLoadHTMLString):

LayoutTests:

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed rebaselining: update incorrectly generated baseline images
caryclark@google.com [Wed, 23 Nov 2011 14:09:40 +0000 (14:09 +0000)]
Unreviewed rebaselining: update incorrectly generated baseline images
that masked http://crbug.com/105025 ('Regression: WebGL content flipped
with use_skia enabled on mac.')

Marking these tests as expected to fail until we fix the underlying bug.

* platform/chromium-mac/fast/canvas/webgl/css-webkit-canvas-expected.png: Removed.
* platform/chromium-mac/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Removed.
* platform/chromium/test_expectations.txt:

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

9 years agogarden-o-matic should display a message if it can't find results to display
abarth@webkit.org [Wed, 23 Nov 2011 13:58:02 +0000 (13:58 +0000)]
garden-o-matic should display a message if it can't find results to display
https://bugs.webkit.org/show_bug.cgi?id=72991

Reviewed by Dimitri Glazkov.

Not all failures (e.g., TIMEOUT) have results that we can display.
This patch adds a short message so that the user can see that we're
done trying to load the results.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui_unittests.js:

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

9 years ago[Skia] fix duplicate symbol __ZN7WebCore11BitmapImage16initPlatformDataEv error
commit-queue@webkit.org [Wed, 23 Nov 2011 13:45:31 +0000 (13:45 +0000)]
[Skia] fix duplicate symbol __ZN7WebCore11BitmapImage16initPlatformDataEv error
https://bugs.webkit.org/show_bug.cgi?id=72954

Patch by Elliot Poger <epoger@google.com> on 2011-11-23
Reviewed by Adam Barth.

* WebCore.gyp/WebCore.gyp:

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

9 years agogarden-o-matic should explain more clearly what the builder lists at the top of the...
abarth@webkit.org [Wed, 23 Nov 2011 13:38:49 +0000 (13:38 +0000)]
garden-o-matic should explain more clearly what the builder lists at the top of the page mean
https://bugs.webkit.org/show_bug.cgi?id=72992

Reviewed by Dimitri Glazkov.

This patch also prepares us to list other sorts of failures, like
performance and unit test.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/controllers.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/garden-o-matic.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:

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

9 years ago[Qt] [WK2] Move PagePolicyClient related code to QtWebPagePolicyClient
caio.oliveira@openbossa.org [Wed, 23 Nov 2011 13:20:01 +0000 (13:20 +0000)]
[Qt] [WK2] Move PagePolicyClient related code to QtWebPagePolicyClient
https://bugs.webkit.org/show_bug.cgi?id=72959

Reviewed by Andreas Kling.

Split PagePolicyClient related code from QtWebPageProxy/ClientImpl. The new
QtWebPagePolicyClient registers itself with WKPageRef and it's owned by the
QQuickWebViewPrivate. This is a move to clean up QtWebPageProxy object.

QtPolicyInterface abstraction was not helping us as much as the separation of
the client code will. It was more useful when we had multiple WebViews.

* Target.pri:
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewPrivate::QQuickWebViewPrivate):
(toPolicyAction):
(QQuickWebViewPrivate::navigationPolicyForURL):
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/qquickwebview_p_p.h:
* UIProcess/qt/ClientImpl.cpp:
* UIProcess/qt/ClientImpl.h:
* UIProcess/qt/QtWebPagePolicyClient.cpp: Added.
(QtWebPagePolicyClient::QtWebPagePolicyClient):
(QtWebPagePolicyClient::decidePolicyForNavigationAction):
(toQtWebPagePolicyClient):
(toQtMouseButton):
(toQtKeyboardModifiers):
(QtWebPagePolicyClient::decidePolicyForResponse):
* UIProcess/qt/QtWebPagePolicyClient.h: Renamed from Source/WebKit2/UIProcess/qt/QtPolicyInterface.h.
* UIProcess/qt/QtWebPageProxy.cpp:
(QtWebPageProxy::QtWebPageProxy):
(QtWebPageProxy::init):
* UIProcess/qt/QtWebPageProxy.h:

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

9 years agoAdd new Chromium tests to the flakiness dashboard
commit-queue@webkit.org [Wed, 23 Nov 2011 13:15:41 +0000 (13:15 +0000)]
Add new Chromium tests to the flakiness dashboard
https://bugs.webkit.org/show_bug.cgi?id=72997

Patch by Ryan Sleevi <rsleevi@chromium.org> on 2011-11-23
Reviewed by Ojan Vafai.

* TestResultServer/static-dashboards/dashboard_base.js:
():

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

9 years agoWeb Inspector: add integration test for compiler source maps.
podivilov@chromium.org [Wed, 23 Nov 2011 13:10:27 +0000 (13:10 +0000)]
Web Inspector: add integration test for compiler source maps.
https://bugs.webkit.org/show_bug.cgi?id=72730

Reviewed by Pavel Feldman.

Source/WebCore:

Test: http/tests/inspector/compiler-source-mapping-debug.html

* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._bindScriptToRawSourceCode):
(WebInspector.DebuggerPresentationModel.prototype.setCompilerSourceMapping):
(WebInspector.DebuggerPresentationModel.prototype.evaluateInSelectedCallFrame):
(WebInspector.DebuggerPresentationModel.prototype.get executionLineLocation):
(WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
(WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
(WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):

LayoutTests:

* http/tests/inspector/compiler-source-mapping-debug-expected.txt: Added.
* http/tests/inspector/compiler-source-mapping-debug.html: Added.
* http/tests/inspector/resources/source-map.json:
* http/tests/inspector/resources/source1.js:
* http/tests/inspector/resources/source2.js:
(ClickHandler.prototype.handle):

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

9 years agogarden-o-matic should support AUDIO failures
abarth@webkit.org [Wed, 23 Nov 2011 13:03:25 +0000 (13:03 +0000)]
garden-o-matic should support AUDIO failures
https://bugs.webkit.org/show_bug.cgi?id=69477

Reviewed by Dimitri Glazkov.

This is a first iteration at supporting AUDIO failures in
garden-o-matic.  We'll probably need to iterate a bit when we have a
real audio failure in the tree to play with.  For example, we'll
probably want to add and <audio> element to the "Examine" view to hear
the differences, but that all can be done in a subsequent patch.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:

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

9 years agoBuild fix for GTK+.
mrobinson@webkit.org [Wed, 23 Nov 2011 12:48:12 +0000 (12:48 +0000)]
Build fix for GTK+.

* platform/graphics/gtk/DrawingBufferGtk.cpp:
(WebCore::DrawingBuffer::DrawingBuffer): Update signature and ASSERT
for the GTK+ port.

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

9 years agoRemove notifyChange from the public interface of CSSMutableStyleDeclaration
commit-queue@webkit.org [Wed, 23 Nov 2011 12:19:33 +0000 (12:19 +0000)]
Remove notifyChange from the public interface of CSSMutableStyleDeclaration
https://bugs.webkit.org/show_bug.cgi?id=72660

Patch by Rafael Weinstein <rafaelw@chromium.org> on 2011-11-23
Reviewed by Ojan Vafai.

No tests needed. This is only a refactor.

* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::CSSMutableStyleDeclaration):
(WebCore::CSSMutableStyleDeclaration::addParsedProperty):
* css/CSSMutableStyleDeclaration.h:
(WebCore::CSSMutableStyleDeclaration::setProperty):
(WebCore::CSSMutableStyleDeclaration::removeProperty):
(WebCore::CSSMutableStyleDeclaration::removePropertiesInSet):
* css/CSSStyleSelector.cpp:
(WebCore::leftToRightDeclaration):
(WebCore::rightToLeftDeclaration):
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::setContentEditable):

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

9 years agoAdding gamepad support
commit-queue@webkit.org [Wed, 23 Nov 2011 12:16:13 +0000 (12:16 +0000)]
Adding gamepad support
https://bugs.webkit.org/show_bug.cgi?id=69451

Source/WebCore:

Patch by Scott Graham <scottmg@chromium.org> on 2011-11-23
Reviewed by Darin Fisher.

Plumb gamepad data access through platform.

Test: gamepad/gamepad-polling-access.html

* WebCore.gypi:
* page/Navigator.cpp:
(WebCore::Navigator::webkitGamepads):
* page/Navigator.h:
* platform/Gamepads.h: Added.
* platform/chromium/GamepadsChromium.cpp: Added.
(WebCore::sampleGamepads):
* platform/chromium/PlatformSupport.h:

Source/WebKit/chromium:

Add implementation of sampleGamepads in Chromium platform. Retrieves
gamepad data from Chromium port and converts to DOM format, i.e.
GamepadList.

Patch by Scott Graham <scottmg@chromium.org> on 2011-11-23
Reviewed by Darin Fisher.

* src/PlatformSupport.cpp:
(WebCore::PlatformSupport::sampleGamepads):

Tools:

Patch by Scott Graham <scottmg@chromium.org> on 2011-11-23
Reviewed by Darin Fisher.

Add a 'gamepadController' to Chromium DRT. Allows for setting of mock
gamepad data that will be retrieved when JS code pulls via API access.

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/GamepadController.cpp: Added.
(GamepadController::GamepadController):
(GamepadController::bindToJavascript):
(GamepadController::reset):
(GamepadController::connect):
(GamepadController::disconnect):
(GamepadController::setId):
(GamepadController::setButtonCount):
(GamepadController::setButtonData):
(GamepadController::setAxisCount):
(GamepadController::setAxisData):
(GamepadController::fallbackCallback):
* DumpRenderTree/chromium/GamepadController.h: Added.
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::TestShell):
(TestShell::resetTestController):
(TestShell::bindJSObjectsToWindow):
* DumpRenderTree/chromium/TestShell.h:
(TestShell::gamepadController):

LayoutTests:

Patch by Scott Graham <scottmg@chromium.org> on 2011-11-23
Reviewed by Darin Fisher.

* fast/dom/script-tests/prototype-inheritance.js: Exclude
gamepadController from enumeration.
* gamepad/gamepad-polling-access-expected.txt: Added.
* gamepad/gamepad-polling-access.html: Added.

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

9 years agoSource/WebCore: Get rid of WebCore dependencies from TypedArray implementation types
dslomov@google.com [Wed, 23 Nov 2011 12:06:49 +0000 (12:06 +0000)]
Source/WebCore: Get rid of WebCore dependencies from TypedArray implementation types
https://bugs.webkit.org/show_bug.cgi?id=72783

Reviewed by David Levin.

Remove WebCore specific logic for neutering Typed Array implementations.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* bindings/scripts/CodeGeneratorV8.pm:
* html/canvas/ArrayBuffer.cpp:
(WTF::ArrayBuffer::transfer):
* html/canvas/ArrayBuffer.h:
* html/canvas/ArrayBufferView.cpp:
(WTF::ArrayBufferView::neuter):
* html/canvas/ArrayBufferView.h:
* html/canvas/DataView.cpp:
(WebCore::DataView::neuter):
* html/canvas/DataView.h:
* html/canvas/Float32Array.h:
* html/canvas/Float64Array.h:
* html/canvas/Int16Array.h:
* html/canvas/Int32Array.h:
* html/canvas/Int8Array.h:
* html/canvas/Uint16Array.h:
* html/canvas/Uint32Array.h:
* html/canvas/Uint8Array.h:

Source/WebKit/chromium: Get rid of WebCore dependencies from TypedArray implementation types
https://bugs.webkit.org/show_bug.cgi?id=72783
Reviewed by David Levin.

* src/WebArrayBufferView.cpp: WebCore replaced with WTF

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

9 years ago2011-11-23 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Wed, 23 Nov 2011 11:55:12 +0000 (11:55 +0000)]
2011-11-23  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Rebaseline win results after r101052.

        Win/Mac share the same results now, I suspect the same will hold true for gtk/qt/cr.

        * platform/win/svg/dom: Removed.
        * platform/win/svg/dom/length-list-parser-expected.txt: Removed.

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

9 years agoFirst step towards http://webkit.org/b/70025
commit-queue@webkit.org [Wed, 23 Nov 2011 11:34:37 +0000 (11:34 +0000)]
First step towards http://webkit.org/b/70025

Allow -webkit-transform to be have effect to SVG elements.
Currently, the CSS transform takes precedence over the SVG transform attribute

Allow SVG elements to be transformed using webkit-transform
https://bugs.webkit.org/show_bug.cgi?id=71309

Patch by Raul Hudea <rhudea@adobe.com> on 2011-11-23
Reviewed by Nikolas Zimmermann.

Source/WebCore:

Tests: svg/clip-path/clip-path-css-transform-1.svg
       svg/clip-path/clip-path-css-transform-2.svg
       svg/custom/clip-path-with-css-transform-1.svg
       svg/custom/clip-path-with-css-transform-2.svg
       svg/custom/pointer-events-image-css-transform.svg
       svg/custom/pointer-events-text-css-transform.svg
       svg/dom/css-transforms.xhtml
       svg/dynamic-updates/SVG-dynamic-css-transform.html
       svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting.html
       svg/transforms/svg-css-transforms-clip-path.xhtml
       svg/transforms/svg-css-transforms.xhtml

* manual-tests/svg-animation-css-transform.html: Added.
* manual-tests/svg-css-animate-compound.html: Added.
* manual-tests/svg-css-transition-compound.html: Added.
* rendering/svg/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::styleWillChange):

Set the updateTransform flag on SVG elements whenever a CSS transform is present on the style

* svg/SVGStyledTransformableElement.cpp:
(WebCore::SVGStyledTransformableElement::animatedLocalTransform):

Use the RenderStyle's transform (if it exists) over the SVG's transform

* svg/SVGTextElement.cpp:
(WebCore::SVGTextElement::animatedLocalTransform):

Use the RenderStyle's transform (if it exists) over the SVG's transform

LayoutTests:

* platform/chromium/test_expectations.txt:
* platform/mac/svg/clip-path/clip-path-css-transform-1-expected.png: Added.
* platform/mac/svg/clip-path/clip-path-css-transform-1-expected.txt: Added.
* platform/mac/svg/clip-path/clip-path-css-transform-2-expected.png: Added.
* platform/mac/svg/clip-path/clip-path-css-transform-2-expected.txt: Added.
* platform/mac/svg/custom/clip-path-with-css-transform-1-expected.png: Added.
* platform/mac/svg/custom/clip-path-with-css-transform-1-expected.txt: Added.
* platform/mac/svg/custom/clip-path-with-css-transform-2-expected.png: Added.
* platform/mac/svg/custom/clip-path-with-css-transform-2-expected.txt: Added.
* platform/mac/svg/custom/pointer-events-image-css-transform-expected.png: Added.
* platform/mac/svg/custom/pointer-events-image-css-transform-expected.txt: Added.
* platform/mac/svg/custom/pointer-events-text-css-transform-expected.png: Added.
* platform/mac/svg/custom/pointer-events-text-css-transform-expected.txt: Added.
* platform/mac/svg/dom/css-transforms-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting-expected.png: Added.
* platform/mac/svg/transforms/svg-css-transforms-clip-path-expected.png: Added.
* platform/mac/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
* platform/mac/svg/transforms/svg-css-transforms-expected.png: Added.
* platform/mac/svg/transforms/svg-css-transforms-expected.txt: Added.
* svg/clip-path/clip-path-css-transform-1.svg: Added.
* svg/clip-path/clip-path-css-transform-2.svg: Added.
* svg/custom/clip-path-with-css-transform-1.svg: Added.
* svg/custom/clip-path-with-css-transform-2.svg: Added.
* svg/custom/pointer-events-image-css-transform.svg: Added.
* svg/custom/pointer-events-text-css-transform.svg: Added.
* svg/dom/css-transforms-expected.txt: Added.
* svg/dom/css-transforms.xhtml: Added.
* svg/dynamic-updates/SVG-dynamic-css-transform-expected.txt: Added.
* svg/dynamic-updates/SVG-dynamic-css-transform.html: Added.
* svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting-expected.txt: Added.
* svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting.html: Added.
* svg/dynamic-updates/script-tests/SVGClipPathElement-css-transform-influences-hitTesting.js: Added.
(executeBackgroundTest):
(executeTest):
* svg/transforms/svg-css-transforms-clip-path.xhtml: Added.
* svg/transforms/svg-css-transforms.xhtml: Added.

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

9 years ago[MutationObservers] Cleanup duplicated code in Element & CharacterData
commit-queue@webkit.org [Wed, 23 Nov 2011 10:46:04 +0000 (10:46 +0000)]
[MutationObservers] Cleanup duplicated code in Element & CharacterData
https://bugs.webkit.org/show_bug.cgi?id=72986

Patch by Rafael Weinstein <rafaelw@chromium.org> on 2011-11-23
Reviewed by Ojan Vafai.

This patch creates a MutationObserverInterestGroup which represents the set
of MutationObservers which should receive all mutations of a given type generated
from a specific node.

No tests needed. This patch is only a refactor.

* dom/CharacterData.cpp:
(WebCore::CharacterData::dispatchModifiedEvent):
* dom/ChildListMutationScope.cpp:
(WebCore::MutationAccumulationRouter::ChildListMutationAccumulator::ChildListMutationAccumulator):
(WebCore::MutationAccumulationRouter::ChildListMutationAccumulator::enqueueMutationRecord):
(WebCore::MutationAccumulationRouter::MutationAccumulationRouter::incrementScopingLevel):
* dom/Element.cpp:
(WebCore::enqueueAttributesMutationRecord):
* dom/WebKitMutationObserver.cpp:
(WebCore::MutationObserverInterestGroup::createForChildListMutation):
(WebCore::MutationObserverInterestGroup::createForCharacterDataMutation):
(WebCore::MutationObserverInterestGroup::createForAttributesMutation):
(WebCore::MutationObserverInterestGroup::MutationObserverInterestGroup):
(WebCore::MutationObserverInterestGroup::isOldValueRequested):
(WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
* dom/WebKitMutationObserver.h:
(WebCore::MutationObserverInterestGroup::isEmpty):
(WebCore::MutationObserverInterestGroup::hasOldValue):

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

9 years ago[GTK] Enable WebGL by default
mrobinson@webkit.org [Wed, 23 Nov 2011 10:35:16 +0000 (10:35 +0000)]
[GTK] Enable WebGL by default
https://bugs.webkit.org/show_bug.cgi?id=69706

Reviewed by Xan Lopez.

.:

* configure.ac: Enable WebGL by default if the build target is X11.

LayoutTests:

* platform/gtk/Skipped: Skip all WebGL tests until we can ensure they
run properly on the bots.
* platform/platform/gtk-wk2/Skipped: Ditto.

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

9 years ago[chromium] HDC leak in Uniscribe Helper
commit-queue@webkit.org [Wed, 23 Nov 2011 10:10:29 +0000 (10:10 +0000)]
[chromium] HDC leak in Uniscribe Helper
https://bugs.webkit.org/show_bug.cgi?id=68598

Patch by Marc-Andre Decoste <mad@chromium.org> on 2011-11-23
Reviewed by Darin Fisher.

For some reason the Script functions on Windows sometimes return
E_PENDING even with a non-NULL DC, so we must handle that case.
Also, we should not use the screen DC to select font since this
refreshes the whole desktop, so I added a cached compatible DC.

Note that this doesn't reproduce with WebKit alone, it only reproduces
within Chrome, so we can't write a WebKit test for it. A chromium
browser test will be added once this change gets rolled in the
chromium DEPS file.

* platform/graphics/chromium/UniscribeHelper.cpp:
(WebCore::UniscribeHelper::shape):
(WebCore::UniscribeHelper::EnsureCachedDCCreated):
(WebCore::UniscribeHelper::fillShapes):
* platform/graphics/chromium/UniscribeHelper.h:

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

9 years ago[chromium] MediaStream API: Adding embedding code for GetUserMedia
commit-queue@webkit.org [Wed, 23 Nov 2011 10:02:27 +0000 (10:02 +0000)]
[chromium] MediaStream API: Adding embedding code for GetUserMedia
https://bugs.webkit.org/show_bug.cgi?id=71678

This patch includes a fix for https://bugs.webkit.org/show_bug.cgi?id=72925.

Patch by Tommy Widenflycht <tommyw@google.com> on 2011-11-23
Reviewed by Darin Fisher.

* WebKit.gyp:
* public/WebUserMediaClient.h: Added.
(WebKit::WebUserMediaClient::~WebUserMediaClient):
* public/WebUserMediaRequest.h: Added.
(WebKit::WebUserMediaRequest::WebUserMediaRequest):
(WebKit::WebUserMediaRequest::~WebUserMediaRequest):
(WebKit::WebUserMediaRequest::operator=):
(WebKit::WebUserMediaRequest::isNull):
(WebKit::operator==):
* public/WebViewClient.h:
(WebKit::WebViewClient::userMediaClient):
* src/UserMediaClientImpl.cpp: Added.
(WebKit::UserMediaClientImpl::UserMediaClientImpl):
(WebKit::UserMediaClientImpl::pageDestroyed):
(WebKit::UserMediaClientImpl::requestUserMedia):
(WebKit::UserMediaClientImpl::cancelUserMediaRequest):
* src/UserMediaClientImpl.h: Added.
* src/WebUserMediaRequest.cpp: Added.
(WebKit::WebUserMediaRequest::WebUserMediaRequest):
(WebKit::WebUserMediaRequest::reset):
(WebKit::WebUserMediaRequest::audio):
(WebKit::WebUserMediaRequest::video):
(WebKit::WebUserMediaRequest::cameraPreferenceUser):
(WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
(WebKit::WebUserMediaRequest::securityOrigin):
(WebKit::WebUserMediaRequest::requestSucceeded):
(WebKit::WebUserMediaRequest::requestFailed):
(WebKit::WebUserMediaRequest::equals):
(WebKit::WebUserMediaRequest::assign):
(WebKit::WebUserMediaRequest::operator UserMediaRequest*):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
* src/WebViewImpl.h:

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

9 years agoMove readyState from TextTrack to HTMLTrackElement
annacc@chromium.org [Wed, 23 Nov 2011 09:25:39 +0000 (09:25 +0000)]
Move readyState from TextTrack to HTMLTrackElement
https://bugs.webkit.org/show_bug.cgi?id=72553

Reviewed by Eric Carlson.

Source/WebCore:

* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::HTMLTrackElement):
    Set initial readyState to NONE.
(WebCore::HTMLTrackElement::didCompleteLoad):
    Set readyState based on load completed status.
(WebCore::HTMLTrackElement::setReadyState):
    This replaces textTrackReadyStateChanged() because only LoadableTextTrack
    needs to notify HTMLTrackElement of readyState changes (i.e.
    textTrackReadyStateChanged() is no longer required of TextTrackClient).
* html/HTMLTrackElement.h:
    ReadyState enum and m_readyState member variable moved from TextTrack.
(WebCore::HTMLTrackElement::readyState):
    New: readyState() getter.
* html/HTMLTrackElement.idl:
    Add readyState attribute and associated constants.

* html/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::loadTimerFired): Set readyState on HTMLTrackElement.
(WebCore::LoadableTextTrack::cueLoadingStarted): Ditto.
(WebCore::LoadableTextTrack::cueLoadingCompleted): Move code to set readyState
    to HTMLTrackElement (it can set it based on loading status).

* html/TextTrack.cpp: Remove readyState from TextTrack.
(WebCore::TextTrack::TextTrack): Ditto.
* html/TextTrack.h: Ditto.
* html/TextTrack.idl: Ditto.

LayoutTests:

* media/track/track-add-track-expected.txt:
* media/track/track-add-track.html:
* media/track/track-constants-expected.txt:
* media/track/track-constants.html:
* media/track/track-load-error-readyState-expected.txt:
* media/track/track-load-error-readyState.html:
* media/track/track-load-from-element-readyState-expected.txt:
* media/track/track-load-from-element-readyState.html:
* media/track/track-load-from-src-readyState-expected.txt:
* media/track/track-load-from-src-readyState.html:

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

9 years agoAdd flags/precision arguments to String::number(double) to allow fine-grained control...
zimmermann@webkit.org [Wed, 23 Nov 2011 09:22:55 +0000 (09:22 +0000)]
Add flags/precision arguments to String::number(double) to allow fine-grained control over the result string
https://bugs.webkit.org/show_bug.cgi?id=72793

Reviewed by Zoltan Herczeg.

Source/JavaScriptCore:

This new code will be used in follow-up patches to replace the String::format("%.2f") usage in
platform/text/TextStream.cpp, and String::format("%.6lg") usage in svg/SVGPathStringBuilder.cpp.

The String::number(double) currently calls String::format("%.6lg") in trunk. In order to replace
this by a variant that properly rounds to six significant figures, JSC code could be refactored.
JSCs Number.toPrecision/toFixed uses wtf/dtoa/double-conversion which provides all features we need,
except truncating trailing zeros, needed to mimic the "g" format, which is either f or e but with
trailing zeros removed, producing shorter results. Changed the default signature to:

"static String number(double, unsigned = ShouldRoundSignificantFigures | ShouldTruncateTrailingZeros, unsigned precision = 6);".

In WebCore we can now replace String::format() calls like this:
String::format("%.2f", f) -> String::number(f, ShouldRoundDecimalPlaces, 2)
String::format("%.6lg", f) -> String::number(f)

The default parameters for precison & flags exactly match the format of the string produced now, except that the result
is rounded according to the rounding mode / formatting mode and precision. This paves the way towards reliable results
in the d="" attribute dumps of SVG paths  across platforms. The dtoa rounding code enforces a unique zero, resolving
all 0.0 vs. -0.0 issues currently seen on Windows, and some Gtk/Qt bots.

This patch needs a rebaseline of svg/dom/length-list-parser.html as we don't perfecly mimic the String::format() "lg" mode
result for exponentials, we used to return eg. "e-7" and now return "e-07" - the trailing zero truncation hasn't been
implemented for exponentials, as this really affects only this test and thus wasn't worth the trouble - in contrary the
trailing zero truncation is needed for thousands of other results in "f" notation, and thus needed to match the DRT results.

Here's a performance comparision using a JSC release build and some arbitary numbers:
Converting 123.456 using old approach took 95.527100ms. avg 0.000955ms/call.
Converting 123.456 using new approach took 28.126953ms. avg 0.000281ms/call.

Converting 123 using old approach took 85.411133ms. avg 0.000854ms/call.
Converting 123 using new approach took 24.190186ms. avg 0.000242ms/call.

Converting 0.1 using old approach took 92.622803ms. avg 0.000926ms/call.
Converting 0.1 using new approach took 23.317871ms. avg 0.000233ms/call.

Converting 1/i using old approach took 106.893066ms. avg 0.001069ms/call.
Converting 1/i using new approach took 27.164062ms. avg 0.000272ms/call.

For all numbers I've tested in RoundingSignificantFigures mode and 6 digit precision the speedup was at least 250%.

* JavaScriptCore.exp: Change String::number(double) signature.
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Ditto.
* runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToFixed): Refactor this into numberToFixedPrecisionString(), move to wtf/dtoa.cpp.
(JSC::numberProtoFuncToPrecision): Ditto, refactor this into numberToFixedWidthString.
* wtf/dtoa.cpp: Moved fixedWidth/Precision helpers into dtoa, extend numberToFixedPrecisionString(). Add a mode which allows to truncate trailing zeros/decimal point.
                to make it possible to use them to generate strings that match the output from String::format("%6.lg"), while using our dtoas rounding facilities.
* wtf/dtoa.h:
* wtf/dtoa/utils.h: Expose new helper method, which allows us to truncate the result, before generating the output const char*.
(WTF::double_conversion::StringBuilder::SetPosition):
* wtf/text/WTFString.cpp:
(WTF::String::number): Remove String::format("%6.lg") usage! Switch to rounding to six significant figures, while matching the output of String::format.
* wtf/text/WTFString.h:

LayoutTests:

Rebaseline one test result, after the String::number(double) changes. Trailing zeros are no longer removed
in the exponential form of the string: e-07 is reported instead of e-7 now. It was decided to leave it as-is
and not introduce trailing zero removal for the exponential formatting, as it only affects this test.

I'll rebaseline other platforms once results are available.

* svg/dom/length-list-parser-expected.txt:

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

9 years ago[chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
commit-queue@webkit.org [Wed, 23 Nov 2011 09:20:42 +0000 (09:20 +0000)]
[chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
https://bugs.webkit.org/show_bug.cgi?id=72973

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

* public/WebLayerTreeView.h:
(WebKit::WebLayerTreeView::Settings::Settings):
* src/WebLayerTreeView.cpp:
(WebKit::WebLayerTreeView::Settings::operator CCSettings):

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

9 years agoWTF::String has extra WTF_EXPORT_PRIVATE
commit-queue@webkit.org [Wed, 23 Nov 2011 09:10:52 +0000 (09:10 +0000)]
WTF::String has extra WTF_EXPORT_PRIVATE
https://bugs.webkit.org/show_bug.cgi?id=72858

Patch by Hajime Morrita <morrita@chromium.org> on 2011-11-23
Reviewed by Kevin Ollivier.

* wtf/text/WTFString.h:
(WTF::String::String):

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

9 years agoUnreviewed, skip failing accessibility test on GTK.
philn@webkit.org [Wed, 23 Nov 2011 09:09:56 +0000 (09:09 +0000)]
Unreviewed, skip failing accessibility test on GTK.

* platform/gtk/Skipped: Skip accessibility/multiselect-list-reports-active-option.html

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

9 years ago[CMake] Move the top-level logic to the top-level directory.
paroga@webkit.org [Wed, 23 Nov 2011 09:08:11 +0000 (09:08 +0000)]
[CMake] Move the top-level logic to the top-level directory.
https://bugs.webkit.org/show_bug.cgi?id=72685

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-11-23
Reviewed by Brent Fulgham.

.:

Move most of the top-level code in Source/CMakeLists.txt to
CMakeLists.txt. This allows us to replace some INCLUDE() hacks with
proper ADD_SUBDIRECTORY() calls, and actually moves non-Source related
to a non-Source directory.

* CMakeLists.txt: Copied from Source/CMakeLists.txt.

Source/JavaScriptCore:

* CMakeLists.txt: Point to the right Source/ directory.
* wtf/CMakeLists.txt: Ditto.

Source/WebCore:

No new tests, this is a buildsystem changes.

* CMakeLists.txt: Adjust the Source/ directory.
* PlatformBlackBerry.cmake: Ditto.

Source/WebKit:

* blackberry/CMakeListsBlackBerry.txt: Adjust the Source/ directory.

Source/WebKit2:

* CMakeLists.txt: Adjust Source/ directory.

Tools:

* CMakeLists.txt: Added.
* DumpRenderTree/efl/CMakeLists.txt: Keep building into Programs/.
* EWebLauncher/CMakeLists.txt: Renamed from Tools/CMakeListsEfl.txt.
* Scripts/webkitdirs.pm:
(generateBuildSystemFromCMakeProject):
* WinCELauncher/CMakeLists.txt: Renamed from Tools/CMakeListsWinCE.txt.

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

9 years agoUnreviewed, GTK baselines for 3 new tests.
philn@webkit.org [Wed, 23 Nov 2011 09:00:50 +0000 (09:00 +0000)]
Unreviewed, GTK baselines for 3 new tests.

* platform/gtk/animations/additive-transform-animations-expected.txt: Added.
* platform/gtk/css3/images/cross-fade-overflow-position-expected.txt: Added.
* platform/gtk/fast/css-generated-content/nested-tables-with-before-after-content-crash-expected.txt: Added.

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

9 years agoUnreviewed, skip failing editing/spelling/spellcheck-async.html
philn@webkit.org [Wed, 23 Nov 2011 08:55:46 +0000 (08:55 +0000)]
Unreviewed, skip failing editing/spelling/spellcheck-async.html
test on GTK.

* platform/gtk/Skipped:

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

9 years agoDocumentation fix for load-committed in webkitwebframe
commit-queue@webkit.org [Wed, 23 Nov 2011 08:48:23 +0000 (08:48 +0000)]
Documentation fix for load-committed in webkitwebframe
https://bugs.webkit.org/show_bug.cgi?id=72927

Patch by Kaustubh Atrawalkar <kaustubh@motorola.com> on 2011-11-23
Reviewed by Martin Robinson.

* webkit/webkitwebframe.cpp:
(webkit_web_frame_class_init):

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

9 years agoCSS Exclusions: update the name of the shape CSS properties
mihnea@adobe.com [Wed, 23 Nov 2011 08:42:10 +0000 (08:42 +0000)]
CSS Exclusions: update the name of the shape CSS properties
https://bugs.webkit.org/show_bug.cgi?id=71898
Instead of a single wrap-shape property, we have wrap-shape-inside and wrap-shape-outside.

Reviewed by Dean Jackson.

Source/WebCore:

Tests: fast/exclusions/parsing-wrap-shape-inside.html
       fast/exclusions/parsing-wrap-shape-outside.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseWrapShape):
* css/CSSParser.h:
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::setWrapShapeInside):
(WebCore::InheritedFlags::wrapShapeInside):
(WebCore::InheritedFlags::setWrapShapeOutside):
(WebCore::InheritedFlags::wrapShapeOutside):
(WebCore::InheritedFlags::initialWrapShapeInside):
(WebCore::InheritedFlags::initialWrapShapeOutside):
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
(WebCore::StyleRareNonInheritedData::operator==):
* rendering/style/StyleRareNonInheritedData.h:

LayoutTests:

* fast/exclusions/parsing-wrap-shape-inside-expected.txt: Copied from LayoutTests/fast/exclusions/parsing-wrap-shape-expected.txt.
* fast/exclusions/parsing-wrap-shape-inside.html: Copied from LayoutTests/fast/exclusions/parsing-wrap-shape.html.
* fast/exclusions/parsing-wrap-shape-outside-expected.txt: Renamed from LayoutTests/fast/exclusions/parsing-wrap-shape-expected.txt.
* fast/exclusions/parsing-wrap-shape-outside.html: Renamed from LayoutTests/fast/exclusions/parsing-wrap-shape.html.
* fast/exclusions/script-tests/parsing-wrap-shape-inside.js: Copied from LayoutTests/fast/exclusions/script-tests/parsing-wrap-shape.js.
* fast/exclusions/script-tests/parsing-wrap-shape-outside.js: Renamed from LayoutTests/fast/exclusions/script-tests/parsing-wrap-shape.js.

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

9 years agoWeb Inspector: [Extensions API] avoid exception in initExtensions() if elements panel...
caseq@chromium.org [Wed, 23 Nov 2011 08:29:09 +0000 (08:29 +0000)]
Web Inspector: [Extensions API] avoid exception in initExtensions() if elements panel is not present
https://bugs.webkit.org/show_bug.cgi?id=73007

Reviewed by Yury Semikhatsky.

* inspector/front-end/ExtensionServer.js:

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

9 years agoUse new name for pixel config field of GrTextureDesc
commit-queue@webkit.org [Wed, 23 Nov 2011 08:26:17 +0000 (08:26 +0000)]
Use new name for pixel config field of GrTextureDesc
https://bugs.webkit.org/show_bug.cgi?id=72543

Patch by Brian Salomon <bsalomon@google.com> on 2011-11-23
Reviewed by Stephen White.

Tested by every canvas2d layout test.

* platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::createAcceleratedCanvas):

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

9 years agoChange remaining scrollTop/Left/Width/Height methods back to int
eae@chromium.org [Wed, 23 Nov 2011 08:21:18 +0000 (08:21 +0000)]
Change remaining scrollTop/Left/Width/Height methods back to int
https://bugs.webkit.org/show_bug.cgi?id=72771

Reviewed by Eric Seidel.

Change remaining scrollTop/Left/Width/Height, setScrollLeft/Top and
verticalScrollbarWidth, horizontalScrollbarHeight methods back to int as
scrolling will remain int based to line up with device pixels.

No new tests.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::scrollWidth):
(WebCore::RenderBox::scrollHeight):
(WebCore::RenderBox::scrollLeft):
(WebCore::RenderBox::scrollTop):
(WebCore::RenderBox::setScrollLeft):
(WebCore::RenderBox::setScrollTop):
(WebCore::RenderBox::verticalScrollbarWidth):
(WebCore::RenderBox::horizontalScrollbarHeight):
* rendering/RenderBox.h:
(WebCore::RenderBox::scrollbarLogicalHeight):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::verticalScrollbarWidth):
(WebCore::RenderListBox::scrollHeight):
(WebCore::RenderListBox::scrollLeft):
(WebCore::RenderListBox::setScrollLeft):
(WebCore::RenderListBox::scrollTop):
(WebCore::RenderListBox::setScrollTop):
* rendering/RenderListBox.h:
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::scrollWidth):
(WebCore::RenderTextControlSingleLine::scrollHeight):
(WebCore::RenderTextControlSingleLine::scrollLeft):
(WebCore::RenderTextControlSingleLine::scrollTop):
(WebCore::RenderTextControlSingleLine::setScrollLeft):
(WebCore::RenderTextControlSingleLine::setScrollTop):
* rendering/RenderTextControlSingleLine.h:

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

9 years agoRoll DEPS to r111325 to fix an issue with the linux build
dpranke@chromium.org [Wed, 23 Nov 2011 07:12:57 +0000 (07:12 +0000)]
Roll DEPS to r111325 to fix an issue with the linux build

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

Unreviewed, build fix.

There appears to be a bug in the Makefile generator for gyp
that is causing make to not rebuild DRT on Linux.

* DEPS:

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

9 years ago[Qt][GTK] editing/spelling/spellcheck-async.html fails
ossy@webkit.org [Wed, 23 Nov 2011 07:09:25 +0000 (07:09 +0000)]
[Qt][GTK] editing/spelling/spellcheck-async.html fails
https://bugs.webkit.org/show_bug.cgi?id=73003

Unreviewed morning gardening.

* platform/qt/Skipped: Skip editing/spelling/spellcheck-async.html.

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

9 years agoStrength reduction for Mul and Mod operations for known constants in DFG
yuqiang.xian@intel.com [Wed, 23 Nov 2011 04:08:49 +0000 (04:08 +0000)]
Strength reduction for Mul and Mod operations for known constants in DFG
https://bugs.webkit.org/show_bug.cgi?id=72878

Reviewed by Filip Pizlo.

Also the code should be commonly shared by both 32_64 and 64.

* dfg/DFGNode.h:
(JSC::DFG::nodeMayOverflow):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::fmodAsDFGOperation):
(JSC::DFG::SpeculativeJIT::compileInstanceOf):
(JSC::DFG::isPowerOfTwo):
(JSC::DFG::logTwo):
(JSC::DFG::SpeculativeJIT::compileSoftModulo):
(JSC::DFG::SpeculativeJIT::compileArithMul):
(JSC::DFG::SpeculativeJIT::compileArithMod):
* dfg/DFGSpeculativeJIT.h:
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

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

9 years agoAdd WTF infrastructure for the BlackBerry port
dbates@webkit.org [Wed, 23 Nov 2011 03:30:34 +0000 (03:30 +0000)]
Add WTF infrastructure for the BlackBerry port
https://bugs.webkit.org/show_bug.cgi?id=72970

Reviewed by Antonio Gomes.

* wtf/Assertions.cpp: Added BlackBerry-specific logging directive.
* wtf/MathExtras.h:
(abs): Added; stdlib doesn't contain abs() on QNX.
* wtf/Platform.h: Define WTF_PLATFORM_BLACKBERRY and enable some platform features.
* wtf/RandomNumberSeed.h:
(WTF::initializeRandomNumberGenerator): For the BlackBerry port, we initialize
the bad pseudo random number generator using time(3) before initializing the
Mersenne Twister random number generator.
* wtf/ThreadingPthreads.cpp:
(WTF::createThreadInternal): Added.
* wtf/blackberry: Added.
* wtf/blackberry/MainThreadBlackBerry.cpp: Added.
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
* wtf/text/WTFString.h: Added constructor and conversion operator for
BlackBerry WebString string object.

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

9 years agoUnreviewed : remove empty folders related to TouchWebView and DesktopWebView
alexis.menard@openbossa.org [Wed, 23 Nov 2011 02:58:26 +0000 (02:58 +0000)]
Unreviewed : remove empty folders related to TouchWebView and DesktopWebView
https://bugs.webkit.org/show_bug.cgi?id=72985

Patch by Gopal Raghavan <gopal.1.raghavan@nokia.com> on 2011-11-22

* UIProcess/API/qt/tests/qmltests/DesktopWebView: Removed.
* UIProcess/API/qt/tests/qmltests/TouchWebView: Removed.

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

9 years agoAdd new WebKit/chromium/dbus directory to .gitignore.
adamk@chromium.org [Wed, 23 Nov 2011 02:15:40 +0000 (02:15 +0000)]
Add new WebKit/chromium/dbus directory to .gitignore.

* .gitignore:

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

9 years ago[chromium] Support Core Animation plugins in compositor
kbr@google.com [Wed, 23 Nov 2011 02:01:07 +0000 (02:01 +0000)]
[chromium] Support Core Animation plugins in compositor
https://bugs.webkit.org/show_bug.cgi?id=72921

Reviewed by Stephen White.

Source/WebCore:

Added support to PluginLayerChromium and CCPluginLayerImpl for
using an IOSurface as the backing store for a plugin. Added minimal
ARB_texture_rectangle support to Extensions3D.h and a Chromium-
specific extension for binding an IOSurface to a texture.

These changes themselves do not have any effect. A follow-on
Chromium CL will make the switch to this new code path.

Tested manually both with and without the Chromium side changes;
Chromium's DumpRenderTree port does not support Core Animation
plugins. Ran video and Stage3D in Flash, and Unity 3D content, to
verify.

* platform/graphics/Extensions3D.h:
* platform/graphics/chromium/Extensions3DChromium.h:
* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::initialize):
(WebCore::LayerRendererChromium::pluginLayerTexRectProgram):
(WebCore::LayerRendererChromium::pluginLayerTexRectProgramFlip):
* platform/graphics/chromium/LayerRendererChromium.h:
* platform/graphics/chromium/PluginLayerChromium.cpp:
(WebCore::PluginLayerChromium::PluginLayerChromium):
(WebCore::PluginLayerChromium::setIOSurfaceProperties):
(WebCore::PluginLayerChromium::getIOSurfaceId):
(WebCore::PluginLayerChromium::pushPropertiesTo):
* platform/graphics/chromium/PluginLayerChromium.h:
* platform/graphics/chromium/ShaderChromium.cpp:
(WebCore::FragmentShaderRGBATexRectFlipAlpha::getShaderString):
(WebCore::FragmentShaderRGBATexRectAlpha::getShaderString):
* platform/graphics/chromium/ShaderChromium.h:
* platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
(PluginProgramBinding::TexStretchPluginProgramBinding::set):
(PluginProgramBinding::TexTransformPluginProgramBinding::set):
(WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
(WebCore::CCPluginLayerImpl::~CCPluginLayerImpl):
(WebCore::CCPluginLayerImpl::draw):
(WebCore::CCPluginLayerImpl::setIOSurfaceProperties):
(WebCore::CCPluginLayerImpl::cleanupResources):
* platform/graphics/chromium/cc/CCPluginLayerImpl.h:

Source/WebKit/chromium:

Added IOSurface support to WebPluginContainer. This code path is
used only on Mac OS X, but is defined in the header on all
platforms for simplicity.

* public/WebGraphicsContext3D.h:
(WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
* public/WebPluginContainer.h:
* src/Extensions3DChromium.cpp:
(WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
* src/GraphicsContext3DChromium.cpp:
* src/GraphicsContext3DPrivate.h:
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
(WebKit::WebPluginContainerImpl::platformLayer):
(WebKit::WebPluginContainerImpl::handleKeyboardEvent):
* src/WebPluginContainerImpl.h:

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

9 years agoUnreviewed. Fix ChangeLog typo in r101031.
dcheng@chromium.org [Wed, 23 Nov 2011 00:44:43 +0000 (00:44 +0000)]
Unreviewed. Fix ChangeLog typo in r101031.

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

9 years agoRemove some flaky expectations added by me five months ago.
adamk@chromium.org [Wed, 23 Nov 2011 00:44:36 +0000 (00:44 +0000)]
Remove some flaky expectations added by me five months ago.
Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years ago[chromium] Fix plumbing for differentiating between clipboard/selection pastes.
dcheng@chromium.org [Wed, 23 Nov 2011 00:39:29 +0000 (00:39 +0000)]
[chromium] Fix plumbing for differentiating between clipboard/selection pastes.
https://bugs.webkit.org/show_bug.cgi?id=72056

Reviewed by tony@chromium.org.

Source/WebCore:

Add a buffer parameter when retrieving the clipboard sequence number and fix several call
sites that incorrectly assume use of the standard buffer in pastes.

* platform/chromium/ChromiumDataObject.cpp:
(WebCore::ChromiumDataObject::types):
(WebCore::ChromiumDataObject::getData):
(WebCore::ChromiumDataObject::containsFilenames):
* platform/chromium/ChromiumDataObject.h:
* platform/chromium/ClipboardChromium.cpp:
(WebCore::ClipboardChromium::ClipboardChromium):
(WebCore::ClipboardChromium::getData):
(WebCore::ClipboardChromium::platformClipboardChanged):
* platform/chromium/ClipboardUtilitiesChromium.cpp:
(WebCore::currentPasteboardBuffer):
* platform/chromium/ClipboardUtilitiesChromium.h:
* platform/chromium/DataTransferItemChromium.cpp:
(WebCore::DataTransferItemChromium::getAsString):
* platform/chromium/PlatformSupport.h:

Source/WebKit/chromium:

Add a buffer parameter when retrieving the clipboard sequence number.

* public/WebClipboard.h:
(WebKit::WebClipboard::sequenceNumber):
* src/PlatformSupport.cpp:
(WebCore::PlatformSupport::clipboardSequenceNumber):

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

9 years agoMake two accessibility tests as PASS TIMEOUT on Windows.
adamk@chromium.org [Wed, 23 Nov 2011 00:24:41 +0000 (00:24 +0000)]
Make two accessibility tests as PASS TIMEOUT on Windows.
Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoOne more video-zoom-controls rebaseline for Linux GPU.
adamk@chromium.org [Wed, 23 Nov 2011 00:12:50 +0000 (00:12 +0000)]
One more video-zoom-controls rebaseline for Linux GPU.

* platform/chromium-gpu-linux/media/video-zoom-controls-expected.png:

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

9 years agosvg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
adamk@chromium.org [Tue, 22 Nov 2011 23:09:35 +0000 (23:09 +0000)]
svg/zoom/page/zoom-svg-through-object-with-*.xhtml are flaky
https://bugs.webkit.org/show_bug.cgi?id=63186

Unreviewed gardening.

Rebaseline these tests as they should be stable since r99937.

* platform/chromium-cg-mac-leopard/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png:
* platform/chromium-cg-mac-leopard/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-cg-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-cg-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-cg-mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Removed.
* platform/chromium-gpu-cg-mac/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png.
* platform/chromium-gpu-cg-mac/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-gpu-cg-mac/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-gpu-cg-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-gpu-cg-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-gpu-cg-mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-gpu-cg-mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-gpu-cg-mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-linux-x86/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
* platform/chromium-linux-x86/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-linux-x86/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-linux/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
* platform/chromium-linux/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-linux/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Copied from LayoutTests/platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Copied from LayoutTests/platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:
* platform/chromium-mac-leopard/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
* platform/chromium-mac-leopard/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-mac-leopard/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-mac-leopard/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Renamed from LayoutTests/platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png.
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-win-vista/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
* platform/chromium-win-vista/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-win-vista/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png:
* platform/chromium-win-vista/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Removed.
* platform/chromium-win-xp/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
* platform/chromium-win-xp/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-win-xp/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-win/svg/as-object/embedded-svg-immediate-offsetWidth-query-expected.png: Added.
* platform/chromium-win/svg/as-object/embedded-svg-size-changes-expected.png: Added.
* platform/chromium-win/svg/as-object/nested-embedded-svg-size-changes-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt: Copied from LayoutTests/platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt: Renamed from LayoutTests/platform/chromium-mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Renamed from LayoutTests/platform/chromium-cg-mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.png: Added.
* platform/chromium-win/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt: Renamed from LayoutTests/platform/chromium-linux/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt.
* platform/chromium/test_expectations.txt:

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

9 years agoLayout Test media/video-zoom-controls.html is failing
adamk@chromium.org [Tue, 22 Nov 2011 22:42:39 +0000 (22:42 +0000)]
Layout Test media/video-zoom-controls.html is failing
https://bugs.webkit.org/show_bug.cgi?id=67913

Rebaseline video-zoom-controls: it had already been
partially-rebaselined for WinXP, so the options were to remove those
baselines and let the test fail as expected, mark it as passing on
only XP, or rebaseline with what seem to be reasonable visual changes
(along with some extra noise in the render tree).

Unreviewed gardening.

* platform/chromium-gpu-cg-mac/media/video-zoom-controls-expected.png:
* platform/chromium-gpu-mac/media/video-zoom-controls-expected.png:
* platform/chromium-gpu-win/media/video-zoom-controls-expected.png:
* platform/chromium-linux/media/video-zoom-controls-expected.png:
* platform/chromium-mac-snowleopard/media/video-zoom-controls-expected.png:
* platform/chromium-win-xp/media/video-zoom-controls-expected.png: Removed.
* platform/chromium-win-xp/media/video-zoom-controls-expected.txt: Removed.
* platform/chromium-win/media/video-zoom-controls-expected.png:
* platform/chromium-win/media/video-zoom-controls-expected.txt:
* platform/chromium/media/video-zoom-controls-expected.txt:
* platform/chromium/test_expectations.txt:

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

9 years agoRebaselines and expectation-removal for now-passing Mac tests.
adamk@chromium.org [Tue, 22 Nov 2011 21:51:02 +0000 (21:51 +0000)]
Rebaselines and expectation-removal for now-passing Mac tests.
Unreviewed gardening.

* platform/chromium-mac-leopard/fullscreen/full-screen-iframe-zIndex-expected.png:
* platform/chromium-mac-leopard/fullscreen/full-screen-remove-ancestor-after-expected.png:
* platform/chromium-mac-leopard/fullscreen/full-screen-zIndex-after-expected.png:
* platform/chromium/test_expectations.txt:

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

9 years agoPointer Lock: Initial Tests for navigator.webkitPonter
scheib@chromium.org [Tue, 22 Nov 2011 21:41:13 +0000 (21:41 +0000)]
Pointer Lock: Initial Tests for navigator.webkitPonter
https://bugs.webkit.org/show_bug.cgi?id=72659

Reviewed by Darin Fisher.

Tools:

* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::TestShell):
    Enabling PointerLock in TestShell

LayoutTests:

* platform/efl/Skipped:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:
* pointer-lock/mouse-event-api-expected.txt:
* pointer-lock/mouse-event-api.html:
* pointer-lock/pointer-lock-api-expected.txt:
* pointer-lock/pointer-lock-api.html:

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

9 years agoUnreviewed gardening, remove expectations for now-passing tests.
adamk@chromium.org [Tue, 22 Nov 2011 20:39:54 +0000 (20:39 +0000)]
Unreviewed gardening, remove expectations for now-passing tests.

* platform/chromium/test_expectations.txt:

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

9 years agoExpand slowness of dispatch-message-string-data.html to debug builds.
adamk@chromium.org [Tue, 22 Nov 2011 20:30:36 +0000 (20:30 +0000)]
Expand slowness of dispatch-message-string-data.html to debug builds.
Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoIgnore more gyp-generated build files in WTF.gyp.
adamk@chromium.org [Tue, 22 Nov 2011 20:28:49 +0000 (20:28 +0000)]
Ignore more gyp-generated build files in WTF.gyp.

* .gitignore:

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

9 years agoEmpty API for web intents
commit-queue@webkit.org [Tue, 22 Nov 2011 19:45:27 +0000 (19:45 +0000)]
Empty API for web intents
https://bugs.webkit.org/show_bug.cgi?id=69870

Patch by Greg Billock <gbillock@google.com> on 2011-11-22
Reviewed by Darin Fisher.

* WebKit.gyp:
* public/WebIntent.h: Added.
* public/WebIntentServiceInfo.h: Added.
* public/WebFrame.h:
* public/WebFrameClient.h:

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

9 years agoMore rebaselines from Skia roll.
adamk@chromium.org [Tue, 22 Nov 2011 19:39:02 +0000 (19:39 +0000)]
More rebaselines from Skia roll.
Unreviewed gardening.

* platform/chromium-cg-mac-snowleopard/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
* platform/chromium-mac/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
* platform/chromium-win-xp/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
* platform/chromium-win/fast/repaint/moving-shadow-on-path-expected.txt:
* platform/chromium/fast/repaint/moving-shadow-on-path-expected.txt: Renamed from LayoutTests/platform/chromium-cg-mac/fast/repaint/moving-shadow-on-path-expected.txt.

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

9 years agoUpdate flakiness dashboard for new Chromium builders and tests
commit-queue@webkit.org [Tue, 22 Nov 2011 19:13:38 +0000 (19:13 +0000)]
Update flakiness dashboard for new Chromium builders and tests
https://bugs.webkit.org/show_bug.cgi?id=72931

Patch by Ryan Sleevi <rsleevi@chromium.org> on 2011-11-22
Reviewed by Ojan Vafai.

* TestResultServer/static-dashboards/builders.js:
* TestResultServer/static-dashboards/dashboard_base.js:

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

9 years agoRoll Chromium DEPS
dpranke@chromium.org [Tue, 22 Nov 2011 19:10:05 +0000 (19:10 +0000)]
Roll Chromium DEPS
https://bugs.webkit.org/show_bug.cgi?id=72972

Add dbus in Chromium as pulled dep and update to HEAD.

Patch by Scott Graham <scottmg@chromium.org> on 2011-11-22
Reviewed by Dirk Pranke.

* DEPS:

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

9 years agoExpand MISSING expectation for form-associated-element-crash3.html.
adamk@chromium.org [Tue, 22 Nov 2011 19:08:13 +0000 (19:08 +0000)]
Expand MISSING expectation for form-associated-element-crash3.html.
Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoMark file-writer-abort.html as flakily crashing on Mac Debug.
adamk@chromium.org [Tue, 22 Nov 2011 19:02:39 +0000 (19:02 +0000)]
Mark file-writer-abort.html as flakily crashing on Mac Debug.
Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoMark some tests as passing after Skia roll in http://crrev.com/111151.
adamk@chromium.org [Tue, 22 Nov 2011 18:55:34 +0000 (18:55 +0000)]
Mark some tests as passing after Skia roll in crrev.com/111151.

Unreviewed gardening.

* platform/chromium-mac/canvas/philip/tests/2d.shadow.canvas.alpha-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.shadow.canvas.basic-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.shadow.canvas.transparent.2-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.shadow.image.alpha-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.shadow.image.basic-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.shadow.image.scale-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.shadow.image.transparent.2-expected.txt: Removed.
* platform/chromium/test_expectations.txt:

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

9 years agoLayout Test inspector/extensions/extensions-events.html is timing out
caseq@chromium.org [Tue, 22 Nov 2011 18:37:53 +0000 (18:37 +0000)]
Layout Test inspector/extensions/extensions-events.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=72966

Reviewed by Pavel Feldman.

- always bind to {add,remove}EventListener() of event target, not WebInspector.Object

* inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer.prototype._registerAutosubscriptionHandler):

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

9 years agoFix .dir-locals.el to only apply to specific modes
commit-queue@webkit.org [Tue, 22 Nov 2011 18:35:41 +0000 (18:35 +0000)]
Fix .dir-locals.el to only apply to specific modes
https://bugs.webkit.org/show_bug.cgi?id=72963

Patch by Andy Wingo <wingo@igalia.com> on 2011-11-22
Reviewed by Xan Lopez.

* .dir-locals.el: Remove `nil' block, as it was causing
makefile-mode not to insert tabs.

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

9 years agoMove splitView.css (added in r100991) to the correct target.
adamk@chromium.org [Tue, 22 Nov 2011 18:33:03 +0000 (18:33 +0000)]
Move splitView.css (added in r100991) to the correct target.

* WebCore.gypi:

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

9 years agoRoll Chromium DEPS to r110960 and set the disable_nacl flag.
dpranke@chromium.org [Tue, 22 Nov 2011 18:30:20 +0000 (18:30 +0000)]
Roll Chromium DEPS to r110960 and set the disable_nacl flag.
https://bugs.webkit.org/show_bug.cgi?id=72911

Unreviewed, build fix.

ppapi starts to depend on the NaCl gyp files as of r109739, so
we need to pass disable_nacl when running gyp to avoid pulling
in too much of NaCl.

* DEPS:
* gyp_webkit:

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

9 years agoLayout Test inspector/extensions/extensions-events.html is timing out
adamk@chromium.org [Tue, 22 Nov 2011 18:10:47 +0000 (18:10 +0000)]
Layout Test inspector/extensions/extensions-events.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=72966

Unreviewed gardening.

* platform/chromium/test_expectations.txt:

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

9 years agoRebaselines after Skia roll (http://crrev.com/111151).
adamk@chromium.org [Tue, 22 Nov 2011 17:55:43 +0000 (17:55 +0000)]
Rebaselines after Skia roll (crrev.com/111151).

Unreviewed gardening.

* platform/chromium-linux-x86/fast/box-shadow/box-shadow-clipped-slices-expected.png: Removed.
* platform/chromium-linux-x86/fast/box-shadow/single-pixel-shadow-expected.png: Removed.
* platform/chromium-linux/fast/box-shadow/single-pixel-shadow-expected.png: Removed.
* platform/chromium-mac-leopard/fast/box-shadow/box-shadow-clipped-slices-expected.png: Removed.
* platform/chromium-mac-leopard/fast/box-shadow/single-pixel-shadow-expected.png: Removed.
* platform/chromium-mac/fast/box-shadow/single-pixel-shadow-expected.png: Removed.
* platform/chromium-win-xp/fast/css/shadow-multiple-expected.png:
* platform/chromium-win-xp/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-win-xp/fast/repaint/moving-shadow-on-path-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/repaint/moving-shadow-on-path-expected.txt.
* platform/chromium-win/fast/box-shadow/box-shadow-clipped-slices-expected.png:
* platform/chromium-win/fast/box-shadow/single-pixel-shadow-expected.png:
* platform/chromium-win/fast/css/shadow-multiple-expected.png:
* platform/chromium-win/fast/multicol/shadow-breaking-expected.png:
* platform/chromium-win/fast/repaint/moving-shadow-on-path-expected.png:
* platform/chromium-win/fast/repaint/moving-shadow-on-path-expected.txt:
* platform/chromium/test_expectations.txt:

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

9 years agoCSSProperty: Remove unnecessary operator overloads.
commit-queue@webkit.org [Tue, 22 Nov 2011 17:42:42 +0000 (17:42 +0000)]
CSSProperty: Remove unnecessary operator overloads.
<http://webkit.org/b/72953>

Patch by Andreas Kling <kling@webkit.org> on 2011-11-22
Reviewed by Antti Koivisto.

* css/CSSProperty.cpp:
* css/CSSProperty.h:

    Remove operator= and operator== from CSSProperty. They were neither
    implemented correctly nor used anywhere.

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

9 years agoCSSStyleDeclaration: Kill FIXME in setProperty().
commit-queue@webkit.org [Tue, 22 Nov 2011 17:39:54 +0000 (17:39 +0000)]
CSSStyleDeclaration: Kill FIXME in setProperty().
<http://webkit.org/b/72958>

Patch by Andreas Kling <kling@webkit.org> on 2011-11-22
Reviewed by Antonio Gomes.

Remove FIXME about possibly throwing an exception when setProperty()
is called with an invalid property name. CSSOM specifies that the
method should simply return in this case.

Spec: http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-setproperty

* css/CSSStyleDeclaration.cpp:
(WebCore::CSSStyleDeclaration::setProperty):

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

9 years agoRemove some debugging code I accidentally left in r101005
aroben@apple.com [Tue, 22 Nov 2011 17:03:17 +0000 (17:03 +0000)]
Remove some debugging code I accidentally left in r101005

* Scripts/prepare-ChangeLog:
(get_function_line_ranges_for_python):

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

9 years agoTeach prepare-ChangeLog how to find changed classes/methods/functions in Python files
aroben@apple.com [Tue, 22 Nov 2011 16:52:44 +0000 (16:52 +0000)]
Teach prepare-ChangeLog how to find changed classes/methods/functions in Python files

Fixes <http://webkit.org/b/57008> prepare-ChangeLog doesn't find names of modified
classes/methods in Python source files

Reviewed by Dan Bates.

* Scripts/prepare-ChangeLog:
(get_function_line_ranges): Call get_function_line_ranges_for_python for files ending in .py
or that use python as their interpreter. Modified the code that extracts the interpreter to
ignore a leading "/usr/bin/env " in the interpreter line, as is common for our Python
scripts.
(get_function_line_ranges_for_python): Added. Does simple parsing of Python files to look
for class/def lines and generate ranges based on them.

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

9 years agoEnsure web process before starting a download
carlosgc@webkit.org [Tue, 22 Nov 2011 16:43:21 +0000 (16:43 +0000)]
Ensure web process before starting a download
https://bugs.webkit.org/show_bug.cgi?id=72499

Reviewed by Anders Carlsson.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::download): Call ensureWebProcess().

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

9 years agoUnreviewed buildfix after r101001.
ossy@webkit.org [Tue, 22 Nov 2011 15:40:52 +0000 (15:40 +0000)]
Unreviewed buildfix after r101001.

* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::openInspectorFrontend): Use ASSERT_UNUSED instead of ASSERT.

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

9 years agoSource/WebCore: Spellcheck should be able to run asynchronously.
commit-queue@webkit.org [Tue, 22 Nov 2011 15:39:57 +0000 (15:39 +0000)]
Source/WebCore: Spellcheck should be able to run asynchronously.
https://bugs.webkit.org/show_bug.cgi?id=71991

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-22
Reviewed by Hajime Morita.

Run asynchronous spell checker if both asynchronous flag and unified text checker flag are ON.

When multiple asynchronous spellchecking are requested, only the first request will be processed.

Test: editing/spelling/spellcheck-async.html

* editing/Editor.cpp:
(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
  Uses asynchronous spell checker if asynchronous flag is ON.

LayoutTests: Spellcheck should be able to run asynchronously
https://bugs.webkit.org/show_bug.cgi?id=71991

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-22
Reviewed by Hajime Morita.

Added asynchronouse spell checking tests.
Fixed tests that fails tearing down.

* editing/spelling/script-tests/spellcheck-paste.js: Fixed tearing down.
* editing/spelling/spellcheck-async-expected.txt: Added.
* editing/spelling/spellcheck-async.html: Added.
* editing/spelling/spelling-unified-emulation.html: Fixed tearing down.

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

9 years agocvel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 22 Nov 2011 15:18:02 +0000 (15:18 +0000)]
cvel Feldman  <pfeldman@google.com>

        Not reviewed: moving inspector frontend creation out of assert in WebKit2.

        * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
        (WebKit::WebInspectorClient::openInspectorFrontend):lean

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

9 years agoWeb Inspector: [SuggestBox] Grayed prompt displayed with non-collapsed selection...
apavlov@chromium.org [Tue, 22 Nov 2011 14:43:00 +0000 (14:43 +0000)]
Web Inspector: [SuggestBox] Grayed prompt displayed with non-collapsed selection in place
https://bugs.webkit.org/show_bug.cgi?id=72951

Reviewed by Pavel Feldman.

* inspector/front-end/TextPrompt.js:
(WebInspector.TextPrompt.prototype.complete):

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

9 years ago2011-11-22 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 22 Nov 2011 14:37:41 +0000 (14:37 +0000)]
2011-11-22  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: fix inspector front-end compilation.

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

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