The default bug view has changed. See this FAQ.

navigator properties implemented with nsIDOMGlobalPropertyInitializer are not initialized on page reload

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: fabrice, Assigned: jst)

Tracking

Other Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Such properties get their init() method called during first load, getting a handle to the content window, but when reloading a page from the same origin init() is not called again while the content window has changed.

See http://mxr.mozilla.org/mozilla-central/source/dom/base/nsDOMClassInfo.cpp#7131 for a relevant comment.
(Reporter)

Updated

5 years ago
Assignee: nobody → jst
OS: Linux → All
Hardware: x86_64 → All
We should probably just fix Bug 690952.
(Assignee)

Comment 2

5 years ago
Fabrice, can you make sure your case is fixed now that the fix for bug 690952 got landed? If so, we should mark this fixed.
(Reporter)

Comment 3

5 years ago
That works fine, closing this one. Thanks!
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.