Closed Bug 353456 Opened 19 years ago Closed 17 years ago

DOMContentLoaded and document.designMode redirects to about:blank

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: HeroreV, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060919 Minefield/3.0a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060919 Minefield/3.0a1 After refreshing a page, if a function is attached to the DOMContentLoaded event that sets document.designMode to "on", the page will be redirected to about:blank. Reproducible: Always Steps to Reproduce: 1. Open the testcase. 2. Edit the text a bit to see that the page is in design mode. 3. Refresh the page. Actual Results: The page is forwarded to about:blank. Expected Results: The page reappears as it appears when first loaded. I've tested with a clean profile on Firefox 1.5, 2.0b2, and a Sept 19 build of 3.0. This bug is present in all of them.
The testcase mentioned above.
Nightly builds of Firefox 3 aren't giving me this bug on Ubuntu 7.10, so it seems to be fixed on trunk. (Firefox 2 on Ubuntu 7.10 has this bug.) I'd close this bug, but I don't know if there's any special rules/procedures.
Blocks: 424615
Fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
No bug / patch referenced as the code fix. -> WORKSFORME
Resolution: FIXED → WORKSFORME
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: