Closed Bug 312816 Opened 19 years ago Closed 19 years ago

onload doesn't fire on page with warning at history.back()

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: cmess1na, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

268 bytes, text/html
Details
290 bytes, text/html
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 If a page with an onload have a warning and then I do an history.back(), the onload event doesn't fire. Reproducible: Always Steps to Reproduce: 1. Load pippo3.html 2. Click on 'seleziona' 3. Click on 'back' Expected Results: fire event onload
Attached file test case (obsolete) —
Work on Mozilla 1.0.4. Not working with Mozilla 1.5 beta!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051018 Firefox/1.6a1 ID:2005101804 Confirming. This doesn't occur when bfcache is off.
Summary: Onload doesn't fire on page with warning at history.back() → onload doesn't fire on page with warning at history.back()
Version: unspecified → Trunk
Attached file page for testcase
Attachment #199911 - Attachment is obsolete: true
Attached file testcase
Click the link, then click the link to go back. An alert should popup when onload is fired.
Keywords: testcase
I believe this is intentional. When pages are loaded from the bfcache, the onload handler doesn't fire. You can use the new pageshow event if you want something to happen every time the page is displayed. See http://developer.mozilla.org/en/docs/Using_Firefox_1.5_caching Changing resolution to RESOLVED INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
*** Bug 316850 has been marked as a duplicate of this bug. ***
*** Bug 316948 has been marked as a duplicate of this bug. ***
Component: History → Bookmarks & History
QA Contact: history → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: