Open Bug 189216 Opened 22 years ago Updated 2 years ago

data: URLs do not provide error messages

Categories

(Core :: Networking, enhancement, P5)

enhancement

Tracking

()

Future

People

(Reporter: benc, Unassigned)

References

()

Details

(Whiteboard: [necko-would-take])

STEPS:
use any data URL in HTML or in URL bar that has invalid parameters.
OBSERVED
data: will fail to processes
EXPECTED
some kind of error notification.

I think a dialog would be overkill, but based on my experience from reviewing
the RFC and writing a test suite, data: URLs do not give any feedback when they
fail to process.

It would be nice to see a couple basic error messages for the following conditions:

"No data" - common because you need a comma after parameters, before the data.

"Decode failure" - from bad base64 encoded data.

"Character set unavailable" - for incorrect or missing character set references
in the "media "section.
Target Milestone: --- → Future
Blocks: 144766
mass reassigning to nobody.
Assignee: dougt → nobody
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.