Bug 940446:  Log a variable that's guaranteed to exist, so we don't throw an exception from the exception handler and break the URL bar and search bar.  r=smacleod
Backed out changeset a8808a02a661 (bug 880625) for PSL test failure