Get the nsINode corresponding with the context in nsDocShell.cpp and
nsScriptLoader.cpp