Open
Bug 378666
Opened 18 years ago
Updated 3 years ago
Incorrect error message "The expression is not a legal expression" when XPath namespace resolver is bogus
Categories
(Core :: XML, defect)
Tracking
()
NEW
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
> ppp = document.createExpression("//html:body", function(){ throw 3; } )
NS_ERROR_DOM_INVALID_EXPRESSION_ERR on line 1: The expression is not a legal expression.
(I think that either the original exception |3| or the 'JavaScript component threw a number as an exception' message that appears on the error console should probably bubble up.)
> ppp = document.createExpression("//html:body", /g/)
NS_ERROR_DOM_INVALID_EXPRESSION_ERR on line 1: The expression is not a legal expression.
(The error message should refer to the namespace resolver, or whatever error XPConnect complains about should bubble up as a JavaScript exception.)
Updated•16 years ago
|
Assignee: xml → nobody
QA Contact: ashshbhatt → xml
| Reporter | ||
Comment 1•16 years ago
|
||
Bug still exists on trunk.
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•