[GTK] Assert failure in svg/batik/text/textDecoration.svg,textEffect3.svg for 64bit Debug bot
https://bugs.webkit.org/show_bug.cgi?id=89104

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-06-19
Reviewed by Nikolas Zimmermann.

Source/WebCore:

Adding SVGInline to assertion to fix assertion failure. Same assertion was hit on Chromium.

Covered by existing tests
svg/batik/text/textDecoration.svg
svg/batik/text/textEffect3.svg
where the assertion failure was hit.

* rendering/svg/RenderSVGResourceContainer.cpp:
(WebCore::RenderSVGResourceContainer::shouldTransformOnTextPainting):

LayoutTests:

Removing CRASH expectations after assertion failure is now fixed.

* platform/chromium/TestExpectations:
* platform/gtk/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Replaced printf with fprintf in DEBUG_AUDIONODE_REFERENCES

Change printf to fprintf in DEBUG_AUDIONODE_REFERENCES
https://bugs.webkit.org/show_bug.cgi?id=86564

Patch by Andrei Poenaru <poenaru@adobe.com> on 2012-06-19
Reviewed by Csaba Osztrogonác.

There is no need for new tests: writing data to stderr, instead of stdout.

* Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::~AudioContext):
* Modules/webaudio/AudioNode.cpp:
(WebCore::AudioNode::~AudioNode):
(WebCore::AudioNode::ref):
(WebCore::AudioNode::finishDeref):
(WebCore::AudioNode::printNodeCounts):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
New inspector/styles/inject-stylesheet.html fails
https://bugs.webkit.org/show_bug.cgi?id=89364

Reviewed by Zoltan Herczeg.

LayoutTestController in Chromium injects testRunner into the Inspector window, while its other implementations don't.
Additionally, testRunner.addUserStyleSheet() behavior differs across platforms: Chromium injects stylesheets
with the "Author" level, while the others do with the "User" level, so the Chromium expectation stands apart.

* inspector/styles/inject-stylesheet-expected.txt:
* inspector/styles/inject-stylesheet.html:
* platform/chromium/inspector/styles/inject-stylesheet-expected.txt: Copied from LayoutTests/inspector/styles/inject-stylesheet-expected.txt.
* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Support 'Restart frame' in protocol and backend
https://bugs.webkit.org/show_bug.cgi?id=89147

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-06-19
Reviewed by Yury Semikhatsky.

Inspector.json got new command in Debugger domain.
A call path from InspectorDebuggerAgent to V8 Debug.LiveEdit.RestartFrame API
is built.
JSC implementation is a stub with fix me (40300).

* bindings/js/JSJavaScriptCallFrameCustom.cpp:
(WebCore::JSJavaScriptCallFrame::restart):
(WebCore):
* bindings/js/ScriptDebugServer.cpp:
(WebCore):
(WebCore::ScriptDebugServer::updateCallStack):
* bindings/js/ScriptDebugServer.h:
(ScriptDebugServer):
* bindings/v8/DebuggerScript.js:
(.):
* bindings/v8/JavaScriptCallFrame.cpp:
(WebCore::JavaScriptCallFrame::restart):
(WebCore):
* bindings/v8/JavaScriptCallFrame.h:
(JavaScriptCallFrame):
* bindings/v8/ScriptDebugServer.cpp:
(WebCore):
(WebCore::ScriptDebugServer::updateCallStack):
* bindings/v8/ScriptDebugServer.h:
* bindings/v8/ScriptFunctionCall.cpp:
(WebCore::ScriptFunctionCall::call):
* bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp:
(WebCore::V8JavaScriptCallFrame::restartCallback):
(WebCore):
* inspector/InjectedScript.cpp:
(WebCore::InjectedScript::restartFrame):
(WebCore):
* inspector/InjectedScript.h:
(InjectedScript):
* inspector/InjectedScriptExterns.js:
(JavaScriptCallFrame.prototype.restart):
* inspector/InjectedScriptSource.js:
(.):
* inspector/Inspector.json:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::restartFrame):
* inspector/InspectorDebuggerAgent.h:
(InspectorDebuggerAgent):
* inspector/JavaScriptCallFrame.idl:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Make text in WebSocket Frames tab selectable
https://bugs.webkit.org/show_bug.cgi?id=89307

Patch by Nikita Vasilyev <me@elv1s.ru> on 2012-06-19
Reviewed by Yury Semikhatsky.

* inspector/front-end/ResourceWebSocketFrameView.js:
(WebInspector.ResourceWebSocketFrameView):
* inspector/front-end/networkPanel.css:
(.resource-websocket-frame-view):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the function ScriptDebugServer::supportsNativeBreakpoints()
https://bugs.webkit.org/show_bug.cgi?id=88759

Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2012-06-19
Reviewed by Pavel Feldman.

Source/WebCore:

Since both JSC and V8 support DOM breakpoint now, remove the conditional interface and related code.
So there is no new tests.

* bindings/js/ScriptDebugServer.h:
* bindings/v8/ScriptDebugServer.h:
* inspector/Inspector.json:
* inspector/InspectorDebuggerAgent.cpp:
* inspector/InspectorDebuggerAgent.h:
(InspectorDebuggerAgent):
* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel):
(WebInspector.ElementsPanel.prototype.wasShown):
(WebInspector.ElementsPanel.prototype._populateContextMenu):
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._createTable):
(WebInspector.NetworkLogView.prototype.switchToDetailedView):
(WebInspector.NetworkLogView.prototype.switchToBriefView):
(WebInspector.NetworkDataGridNode.prototype.createCells):
(WebInspector.NetworkDataGridNode.prototype.refreshRequest):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.wasShown):
(WebInspector.ScriptsPanel.prototype._clearInterface):
* inspector/front-end/Settings.js:
* inspector/front-end/inspector.js:
(WebInspector.doLoadedDone):

Source/WebKit/chromium:

* src/js/DevTools.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed typo fix.

* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Fix the Windows build when Qt is built without -release or -debug
https://bugs.webkit.org/show_bug.cgi?id=89471

Reviewed by Tor Arne Vestbø.

Make sure that we at least remove build_all on Windows for api.pri,
as WebCore wasn't built for all configurations.

* Source/api.pri:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the GTK+ build by adding some missing source files to the source list.

* GNUmakefile.list.am: WebGLDepthTexture.cpp/h to the source list.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, skip one more failing test.

* platform/qt-5.0-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Style Fix in WebDeviceOrientationController
https://bugs.webkit.org/show_bug.cgi?id=89337

Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-19
Reviewed by Steve Block.

Changing a local variable from a PassRefPtr to a RefPtr in order to be consistent with the style guide.

* src/WebDeviceOrientationController.cpp:
(WebKit::WebDeviceOrientationController::didChangeDeviceOrientation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixing Typos in DeviceOrientation and DeviceMotion Tests
https://bugs.webkit.org/show_bug.cgi?id=89339

Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-19
Reviewed by Steve Block.

* fast/dom/DeviceMotion/create-event-expected.txt:
* fast/dom/DeviceMotion/script-tests/create-event.js:
* fast/dom/DeviceOrientation/no-synchronous-events-expected.txt:
* fast/dom/DeviceOrientation/script-tests/no-synchronous-events.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] AudioFileReader::createBus() leaks an AudioBufferList if ExtAudioFileRead() returns an error
https://bugs.webkit.org/show_bug.cgi?id=89429

Reviewed by Darin Adler.

* platform/audio/mac/AudioFileReaderMac.cpp:
(WebCore::AudioFileReader::createBus): Call destroyAudioBufferList()
before returning if ExtAudioFileRead() returns an error.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[JSC] Implement support for JSDictionary::convertValue(Vector<String>& result)
https://bugs.webkit.org/show_bug.cgi?id=89447

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-06-19
Reviewed by Adam Barth.

Add implementation for JSDictionary::convertValue(Vector<String>& result)
so that IDBDatabase::createObjectStore() compiles with JSC.

Tests: storage/indexeddb

* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
(WebCore):
* bindings/js/JSDictionary.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, skip one more failing test.

* platform/qt-5.0-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make RenderTableSection - nodeAtPoint and paintObject reuse spanning logic.
https://bugs.webkit.org/show_bug.cgi?id=88066

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-06-19
Reviewed by Julien Chaffraix.

Makes dirtiedRows and dirtiedColumns reuse spannedRows and spannedColumns
internally. This also changes their API to accept a damage-rect flipped
by logicalRectForWritingModeAndDirection.

The generic code in spannedRows and spannedColumns solves a few FIXMEs
surrounding RTL tables, which should improve performance.

* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::dirtiedRows):
(WebCore::RenderTableSection::dirtiedColumns):
(WebCore::RenderTableSection::paintObject):
* rendering/RenderTableSection.h:
(WebCore::CellSpan::start):
(WebCore::CellSpan::end):
(CellSpan):
(RenderTableSection):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, remove unnecessary expected files.

* platform/qt-5.0/fast/dom/DeviceMotion/create-event-expected.txt: Removed.
* platform/qt-5.0/fast/dom/DeviceOrientation/create-event-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening, remove unnecessary expected files.

* platform/qt/animations/combo-transform-translate+scale-expected.txt: Removed.
* platform/qt/compositing/geometry/object-clip-rects-assertion-expected.txt: Removed.
* platform/qt/css3/calc/getComputedStyle-margin-percentage-expected.txt: Removed.
* platform/qt/css3/filters/remove-filter-rendering-expected.txt: Removed.
* platform/qt/editing/inserting/return-key-in-hidden-field-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-4039777-fix-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-noscript-expected.txt: Removed.
* platform/qt/editing/pasteboard/select-element-1-expected.txt: Removed.
* platform/qt/editing/selection/select-line-break-with-opposite-directionality-expected.txt: Removed.
* platform/qt/fast/css/border-solid-single-edge-antialias-expected.txt: Removed.
* platform/qt/fast/dom/Window/window-resize-contents-expected.txt: Removed.
* platform/qt/fast/events/mouse-relative-position-expected.txt: Removed.
* platform/qt/fast/preloader/document-write-noscript-expected.txt: Removed.
* platform/qt/fast/repaint/table-hover-on-link-expected.txt: Removed.
* platform/qt/http/tests/misc/SVGFont-delayed-load-expected.txt: Removed.
* platform/qt/http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt: Removed.
* platform/qt/svg/custom/acid3-test-77-expected.txt: Removed.
* platform/qt/svg/custom/circular-marker-reference-1-expected.txt: Removed.
* platform/qt/svg/custom/glyph-setting-d-attribute-expected.txt: Removed.
* platform/qt/svg/custom/insertItemBefore-from-non-list-origin-expected.txt: Removed.
* platform/qt/svg/custom/use-transfer-width-height-properties-to-svg-expected.txt: Removed.
* platform/qt/svg/custom/use-transfer-width-height-properties-to-symbol2-expected.txt: Removed.
* platform/qt/svg/dom/baseVal-animVal-crash-expected.txt: Removed.
* platform/qt/svg/dom/css-transforms-expected.txt: Removed.
* platform/qt/svg/dom/font-face-elements-expected.txt: Removed.
* platform/qt/svg/hixie/links/001-expected.txt: Removed.
* platform/qt/tables/mozilla_expected_failures/bugs/bug3517-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][Mac] Skip new failing and crashing tests to try to paint the bot green.

* platform/qt-mac/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] -[WebPDFView _menuItemsFromPDFKitForEvent:] leaks NSMenuItems
https://bugs.webkit.org/show_bug.cgi?id=89434

Reviewed by Darin Adler.

* WebView/WebPDFView.mm:
(-[WebPDFView _menuItemsFromPDFKitForEvent:]): Release copied
NSMenuItems once they're stored in copiedItems.

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