Currently bindings are only discarded when setting 0 document.
Created attachment 34967 [details] patch
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/InspectorDOMAgent.cpp Committed r47364