-
apavlov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81902 Source/WebCore: When registering a detached root, DOMAgent always presumes it is a node, while it can also be a document. Reviewed by Vsevolod Vlasov. Test: inspector/console/console-xml-document.html * inspector/front-end/ConsoleMessage.js: (WebInspector.ConsoleMessageImpl.prototype._formatParameterAsNode): * inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype._setDetachedRoot): LayoutTests: Reviewed by Vsevolod Vlasov. * inspector/console/console-xml-document-expected.txt: Added. * inspector/console/console-xml-document.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ad50b0b8