Closed Bug 367079 Opened 18 years ago Closed 16 years ago

"about:neterror" page in iframe does not fire "onload" event

Categories

(Core :: DOM: Events, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 444165

People

(Reporter: nrlz, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9
Build Identifier: 

We are trying to submit a form to an iframe and detecting when the request is complete by listening for "onload" on the iframe. In normal operations this works. But for certain server errors which trigger the "about:neterror" page, namely "413 Request Entity Too Large" and "DNS errors", the "onload" event doesn't fire. FYI: "Request Entity Too Large" is when the user uploads a large file to Apache and Apache rejects it at the proxy level before the backend scripts even begin to process it. 

I would suspect that this technique will be used more and more as the web uses more AJAX methods. This technique is the only way to upload files to a server and to detect when they are complete.

Reproducible: Always

Steps to Reproduce:
1. See testcase.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: