DescriptionFix TagWatcher when a text node is added.
The previous implementation was causing Javascript errors, when a text node got inserted to the document. This patch fixes this issue by checking if the inserted node is an Element node.
TEST=(1) Add a <webview...></webview> node in inspector, (2) add <div><webview...></webview></div> node, (3) add text node in inspector.
BUG=222663
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194138
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed comments. #Messages
Total messages: 6 (0 generated)
|