DOM event attributeModified/attributeRemoved/characterDataModified... are not triggered

209 Views Asked by At

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.

0

There are 0 best solutions below