Closed Bug 471861 Opened 15 years ago Closed 15 years ago

Frames generated by javascript-URLS within a local document are not showing up when opening Firefox/re-opening closed tab (sessionStore)

Categories

(Firefox :: Session Restore, defect)

3.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: peter, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5

When re-opening a closed tab (or starting firefox) I get the following message for each frame, generated by Javascript (in the Error Console):
SessionStore: [Exception... "Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIObjectInputStream.readObject]"  nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)"  location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_deserializeHistoryEntry :: line 1671"  data: no]
The excepted pages are not showing up.

HTML source:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitonal.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>title</title>
</head>
<frameset rows="20,200,*">
<frame src="javascript:document.write('some HTML');document.close();" name="nav"/>
<frameset cols="*,50%" id="wframes">
 <frame src="javascript:document.write('<a href=&quot;page.html&quot;>caption</a>');document.close();" name="main"/>
 <frame src="javascript:document.write('<a href=&quot;page2.html&quot;>caption</a>');document.close();" name="main2"/>
</frameset>
<frame src="about:blank" name="other"/>
</frameset>
</html>


Reproducible: Always

Steps to Reproduce:
1.Open a HTML document with frames (for an example, see details)
2a.Close it, and re-open it by CTRL+SHIFT+T or History>Recent closed tabs>[nam of the html document]
2b.Restart firefox.

Actual Results:  
Empty frames are showing up, and the error console logs an error (notice from SessionStore)

Expected Results:  
The frames generated by Javascript should show up.
WORKSFORME with the latest Firefox 3.1 builds.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
WFM for me as well.
Umm, maybe firefox is out of memory, as the error suggests?
This could also be an extension incompatibility issue. Does the same issue happen in Safe Mode as well?
Whiteboard: [worksforme?]
Oh, I forgot to mention that it occurs to local files (file:///D:/somepath/somefile.html)
I used this file for it:
http://home.deds.nl/~lekensteyn/p/bugzilla/471861.html
Still WORKSFORME. Have you tried http://support.mozilla.com/kb/Safe+Mode already?
No, I'll try now
The problem is still occurring in Safe Mode.
Version: unspecified → 3.0 Branch
Summary: Frames generated by javascript-URLS are not showing up when opening Firefox/re-opening closed tab (sessionStore) → Frames generated by javascript-URLS within a local document are not showing up when opening Firefox/re-opening closed tab (sessionStore)
(In reply to comment #7)
Also on a new profile (see <http://support.mozilla.com/kb/Managing+profiles>)?
(In reply to comment #8)
> (In reply to comment #7)
> Also on a new profile (see <http://support.mozilla.com/kb/Managing+profiles>)?

Strange, the problem doesn't occur in a new profile.
You could now try to slowly clone your original profile step by step until the error occurs again...
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Whiteboard: [worksforme?]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: