httpd.js swallows ReferenceErrors and spits them out as 500 errors

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
9 years ago
8 months ago

People

(Reporter: jdm, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
I had a typo in a handler argument name and it took me forever to realize it because I just kept getting uninformative 500 errors back.

Comment 1

9 years ago
This is mostly by design; returning error messages in pages can be a security hole in some cases.  (Yes, I treat the server as though it were being used seriously, and it is quite paranoid about malformed inputs and such.)  If you want debugging information, try out the technique implemented in bug 540633 (speaking of which, that should be documented -- I'll poke zwol about it when he gets back from PTO) -- or tweak testing/mochitest/server.js by adding |DEBUG = true;| to it.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WONTFIX
(Assignee)

Updated

8 months ago
Component: httpd.js → General
Product: Testing → Testing
You need to log in before you can comment on or make changes to this bug.