Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki.
git-svn-id: svn://10.0.0.236/trunk@78418 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -464,6 +464,7 @@ NS_IMETHODIMP GlobalWindowImpl::HandleDOMEvent(nsIPresContext* aPresContext,
|
||||
// For now filter out load and unload, since they cause problems.
|
||||
if ((aEvent->message != NS_PAGE_LOAD) &&
|
||||
(aEvent->message != NS_PAGE_UNLOAD) &&
|
||||
(aEvent->message != NS_IMAGE_LOAD) &&
|
||||
(aEvent->message != NS_FOCUS_CONTENT) &&
|
||||
(aEvent->message != NS_BLUR_CONTENT)) {
|
||||
mChromeEventHandler->HandleChromeEvent(aPresContext, aEvent,
|
||||
|
||||
Reference in New Issue
Block a user