Closed Bug 387897 Opened 18 years ago Closed 18 years ago

invalid 'instanceof' operand EVAL_SANDBOX.Array error when calling getSessionState() API function

Categories

(Firefox :: Session Restore, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 387859

People

(Reporter: morac, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071205 Minefield/3.0a7pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071205 Minefield/3.0a7pre After upgrading to the latest nightly of Minefield I noticed that the Session Manager extension was not working. I noticed the following error in the error console: Error: invalid 'instanceof' operand EVAL_SANDBOX.Array Source File: file:///C:/Program%20Files/Minefield/components/nsSessionStore.js Line: 1923 This error occurs when any API function that calls the _toJSONString function in the nsSessionStore component is called, namely: getSessionState, getWindowState and getClosedTabData This effectively breaks the nsSessionStore component's API in Firefox 3.0. Reproducible: Always Steps to Reproduce: 1. Install Session Manager (or any extension that uses the SessionStore API) 2. Try to save a session (or issue a call to getSessionState()) Actual Results: Error: invalid 'instanceof' operand EVAL_SANDBOX.Array Source File: file:///C:/Program%20Files/Minefield/components/nsSessionStore.js Line: 1923 Expected Results: Returns the session state. This is a regression.
Flags: blocking-firefox3?
Version: unspecified → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Flags: blocking-firefox3?
Resolution: --- → DUPLICATE
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.