Closed Bug 300663 Opened 20 years ago Closed 20 years ago

background doesn't repaint on back with iframe in certain situations with bfcache

Categories

(Core :: DOM: Navigation, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: brewt-bugzilla.mozilla.org, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(3 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050713 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050713 Firefox/1.0+ With the supplied simple test case URL, the combination of an iframe with a page which links to another page that contains a javascript focus() on window.onload causes background repaint issues on back (when bfcache is enabled). See the URL for more details. Reproducible: Always Steps to Reproduce: 1. Visit test case URL 2. Click on link inside iframe 3. Press back Actual Results: The background of the initial iframe page is incorrect (black in windows, static garbage in linux). Expected Results: The background should be normal (white).
Confirmed, changing status to new. This bug does not occur with bfcache disabled. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050714 Firefox/1.0+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Has this always been broken with fastback enabled or is this a recent problem?
I'm not sure, I only started using the trunk builds again a few days ago.
*** Bug 299853 has been marked as a duplicate of this bug. ***
Please attach the testcase to the bug so it doesn't go away?
Attached file iframe page2
Attached file iframe page1
Attached file simple test case
This appears to WFM with the latest pacifica build. Adrian, can you confirm?
Yup, it looks like it WFM in the hourly linux build. However, here's another unrelated bug I've noticed (again with bfcache): - open up a new window - go to any page - now go to the test url (http://devrandom.com/test/firefox/iframe.html) - click on the link to go to the 2nd iframe page - go to any page - now if you press back 3 times to go back to the first page everything is fine... - however, if you go forward to the test page, you get the 2nd iframe page instead of the 1st one. - go forward again and you get the 2nd iframe page (correct) - go forward, then back and you get the 1st iframe page instead of the 2nd. from there it alternates between the two. I guess I need to file another bug for this one.
Please file a new bug for that and CC me. Marking fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
So this got fixed sometime since this morning? This morning's builds do show the problem....
Boris, WFM with the following build: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050719 Firefox/1.0+ ID:2005071916
(In reply to comment #11) > Please file a new bug for that and CC me. Marking fixed. Filed as bug 301397 and added you to the CC list.
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: