Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.

git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2005-07-25 22:09:39 +00:00
parent 561cb53e78
commit 1f319207af
20 changed files with 55 additions and 42 deletions

View File

@@ -5035,7 +5035,7 @@ nsDocShell::FinishRestore()
if (doc) {
// Finally, we remove the request from the loadgroup. This will
// cause onStateChange(STATE_STOP) to fire, which will fire the
// PageShow event to the chrome.
// pageshow event to the chrome.
nsIChannel *channel = doc->GetChannel();
if (channel) {