Closed Bug 402168 Opened 16 years ago Closed 13 years ago

designMode does not successfully close.


(Firefox :: General, defect)

Not set





(Reporter: X-Fi6, Unassigned)




(Whiteboard: [CLOSEME 2010-11-01])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071025 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071025 Firefox/

After enabling the designMode with JavaScript (document.designMode = "on"), the browser goes into the Designer Mode where you can edit the pages.

When you turn off designMode, it prevents you from editing the pages. However, the right-click menu still acts like from a text area, submit buttons go to "resource://gre/res/%5Bxpconnect%20wrapped%20nsIURI%5D", and numerous other glitches occur.

The only way to completely leave designMode is to either restart the browser or close the tab.

Reproducible: Always

Steps to Reproduce:
1. Open Firefox and look at the normal right-click menus and such.
2. Enable designMode with javascript:designMode = "on"; void 0.
3. Look at the right-click menus and such again.
4. Disable designMode with javascript:designMode = "on"; void 0.
5. Notice how the right-click menus and such still have not reverted back.
Actual Results:  
The designMode still prevents you from editing, as normal, but the right-click menus, submit buttons, and more still do not revert back.

Expected Results:  
The right-click menus / buttons should have gone to the way they were before designMode was turned on.

This is a minor but very annoying glitch. For a demonstration, go to . This all happens with a Vanilla installation of Firefox on Windows XP. This is not exactly a security problem but a nuisance problem instead.
Blocks: 424615
This is a mass search for bugs that are in the Firefox General component, are
UNCO, and have not been changed for 800 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10, create a fresh profile,, and test again. If you
still see the bug, please update this bug. If the issue is gone, please set the
resolution to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile ( If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.