Open Bug 336139 Opened 18 years ago Updated 2 years ago

Incorrect behaviour when submitting form under designMode

Categories

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

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugs, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2

If design mode is activated form submission triggers the following sequence:

- New window opens showing the message:
> File not found
> --
> Firefox can't find the file at /res/[xpconnect wrapped nsIURI].

- Original window goes to blank page under design mode.

If the form's action attribute is BLANK the new window will show a blank error message.

Reproducible: Always

Steps to Reproduce:
1. Activate Design Mode
2. Submit a form

Actual Results:  
New window opens at the URL:

resource://gre/res/%5Bxpconnect%20wrapped%20nsIURI%5D

showing above error message.

Expected Results:  
Form submitted, target page opened under design mode

Confirmed on the following builds

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060430 BonEcho/2.0a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060501 Minefield/3.0a1
Component: JavaScript Engine → HTML: Form Submission
Was confirned on

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060430 BonEcho/2.0a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060501 Minefield/3.0a1

We believe it has something to do with the way submissions to own windows are handled in relation to designMode being active.

Change in location of the submit has same effect.
OS: Windows Server 2003 → Windows XP
Assignee: general → form-submission
QA Contact: general → ian
Depends on: 335978
Keywords: testcase
Summary: Incorrect behaviour when submitting form under design mode → Incorrect behaviour when submitting form under designMode
I just noticed the testcase attachment does not demonstrate the effect but the testcase at the URL does.
Blocks: 424615
Assignee: form-submission → nobody
QA Contact: ian → form-submission
Component: HTML: Form Submission → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: