Open Bug 326260 Opened 19 years ago Updated 2 years ago

onpageshow/onpagehide inline event handler attachment doesn't work for XUL documents

Categories

(Core :: XUL, defect)

defect

Tracking

()

People

(Reporter: bugs, Unassigned)

Details

The following XUL test case:

<?xml version="1.0"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onpageshow="dump('pageshow!');" onpagehide="dump('pagehide!');">

</window>

does not result in 'pageshow!' or 'pagehide!' being shown as the user navigates to and from the page.

Attaching using addEventListener works, but it's more cumbersome.
Assignee: bryner → nobody
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.