[CB-540] [weinre] easily navigate to spot in DOM
authorPatrick Mueller <pmuellr@apache.org>
Wed, 25 Apr 2012 12:10:16 +0000 (08:10 -0400)
committerPatrick Mueller <pmuellr@apache.org>
Wed, 25 Apr 2012 12:10:16 +0000 (08:10 -0400)
commit1356753525115913bb755b6695cfe370e8f223a6
treebff790dcb16162fedcd3c96a0c2e0a3d00bc155d
parent7ccffd765d7b78c9cb32b8f96a7a8c966b00fd3b
[CB-540] [weinre] easily navigate to spot in DOM

- Web Inspector has a few behaviors here that weinre didn't,
  and so these were added:

  - re-expanding to last selected DOM element on reload
  - expand to DOM element via the inspect() function

- most significant were WiDOMImpl:pushNodeByPathToFrontEnd
  and override in client of DOMNotify:setChildNodes to
  ignore calls made to previously set nodes

- a few drive-by clean ups were done

- added the common/Debug class which adds some nice logging
  methods for weinre developers
.wr
weinre.build/vendor.properties
weinre.web/modules/weinre/client/Client.coffee
weinre.web/modules/weinre/client/InspectorFrontendHostImpl.coffee
weinre.web/modules/weinre/common/Debug.coffee [new file with mode: 0644]
weinre.web/modules/weinre/common/MessageDispatcher.coffee
weinre.web/modules/weinre/target/InjectedScriptHostImpl.coffee
weinre.web/modules/weinre/target/NodeStore.coffee
weinre.web/modules/weinre/target/WiDOMImpl.coffee