RESOLVED FIXED 76056
Web Inspector: make setOuterHTML use new DOMEditor, cover it with tests.
https://bugs.webkit.org/show_bug.cgi?id=76056
Summary Web Inspector: make setOuterHTML use new DOMEditor, cover it with tests.
Pavel Feldman
Reported 2012-01-11 06:14:53 PST
Patch to follow.
Attachments
Patch (38.12 KB, patch)
2012-01-11 06:17 PST, Pavel Feldman
yurys: review+
Pavel Feldman
Comment 1 2012-01-11 06:17:00 PST
Yury Semikhatsky
Comment 2 2012-01-11 07:44:02 PST
Comment on attachment 122013 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122013&action=review > Source/WebCore/inspector/DOMEditor.cpp:55 > + Digest(Node* node) : m_node(node) { } missing explicit modifier > Source/WebCore/inspector/DOMEditor.cpp:114 > + *errorString = "DOMException: failed to set outer html."; Can you return DOM exception description here? > Source/WebCore/inspector/DOMEditor.cpp:162 > if (oldDigest->m_node->nodeType() != Node::ELEMENT_NODE) oldNode->nodeType() != Node::ELEMENT_NODE
Pavel Feldman
Comment 3 2012-01-11 08:18:35 PST
Note You need to log in before you can comment on or make changes to this bug.