Re: get current content document inside Firefox cpp code
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
On 11/11/09 4:19 AM, DONG Xinshu wrote: > Thanks, Boris. According to your hint, I found nsDocShell::SetCurrentURI > is what I want. But nsDocShell::OnLocationChange is not triggered when > document location changes. Why are you poking in the C++ code instead of just registering an onLocationChange observer on the browser you want to observe? -Boris