After
chrome.debugger.sendCommand({tabId:tabId}, "DOM.enable")
, I found only event DOM.documentUpdated
can be triggered, but others:
DOM.attributeModified
DOM.attributeRemoved
DOM.characterDataModified
DOM.childNodeCountUpdated
DOM.childNodeInserted
DOM.childNodeRemoved
can not be triggered. I think I should miss some calls to set something like MutationObserver options:
{
boolean childList = false;
boolean attributes;
boolean characterData;
boolean subtree = false;
boolean attributeOldValue;
boolean characterDataOldValue;
sequence<DOMString> attributeFilter;
}
Any other chrome.debugger command I need to call for this?
Thanks.