Closed
Bug 359253
Opened 18 years ago
Closed 18 years ago
Function.prototype not maintaining properties in popups
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 355161
People
(Reporter: mbulman, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Javascript:
Any extensions made to Function.prototype in a page after a remote dependency is loaded (ie, a script tag or link tag for a css file) are lost if the window is opened in a popup.
I use the Prototype library which relies heavily on Function.prototype. This is being used in a key popup in my application which has both script includes as well as stylesheets. There is no way for me to work around this.
Reproducible: Always
Steps to Reproduce:
1. Visit the example url (www.rocknerd.com/ffbug/test.html)
2. Click the popup button
Actual Results:
The alert says "undefined"
Expected Results:
The alert should say "it works!"
I have found this only happens in certain configurations. For some it happens right out of the box, others only when the adblock plus extension is installed, others only when the talkback extension is not enabled. Its very weird, but something that our users have seen consistently.
Comment 1•18 years ago
|
||
I think this is a dupe. If it is not fixed when bug 355161 is fixed, please reopen.
*** This bug has been marked as a duplicate of 355161 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•