Closed Bug 392018 Opened 17 years ago Closed 6 years ago

Dialogs opened with the option "modal=yes" causes JavaScript errors.

Categories

(Core :: XPConnect, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: m.kou, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7) Gecko/2007080210 GranParadiso/3.0a7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7) Gecko/2007080210 GranParadiso/3.0a7

When I open a new dialog window with the option "modal=yes" (which should be ignored), modifying the dialog window would cause JavaScript errors.

This bug is breaking Gran Paradiso's compatibility with FCKeditor 2.4.x.

Reproducible: Always

Steps to Reproduce:
To reproduce:
1. Open a new, blank window to with window.open() and the option flags "dialog=yes,modal=yes";
2. Set a property within the new window, say with windowObject.myProp = 1.
3. A JavaScript error occurs saying we're setting a property with only a getter.
4. Move the new window around by windowObject.moveTo(x, y).
5. A JavaScript error occurs.
6. Resize the new window by windowObject.resizeTo(width, height).
7. Yet another JavaScript error occurs.
Actual Results:  
Many JavaScript errors

Expected Results:  
The JavaScript errors should not occur unless we're attempting XSS - but we're not.
The above URL doesn't seem to be online anymore. Is there any other testcase for this bug?
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.