Open
Bug 1358434
Opened 7 years ago
Updated 2 years ago
Obscure error when registering path handler without prefix /
Categories
(Testing :: General, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: leplatrem, Unassigned)
Details
I had this obscure error when writing tests. 0:02.21 LOG: Thread-1 ERROR Unexpected exception 2147942487 And nothing else. It seemed related to rust gecko bindings: servo/components/style/gecko_bindings/structs_release.rs 8989: NS_ERROR_ILLEGAL_VALUE = 2147942487, After some research, I could see that it was coming from a missing leading '/' when doing this: const testserver = createHttpServer(); gPort = testserver.identity.primaryPort; testserver.registerPathHandler("url/path/", handleRequest); Would it be possible to raise some explicit error message in that case?
Reporter | ||
Updated•7 years ago
|
Summary: Obscure error when registering pat handler without prefix / → Obscure error when registering path handler without prefix /
Assignee | ||
Updated•6 years ago
|
Component: httpd.js → General
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•