Closed Bug 460569 Opened 16 years ago Closed 16 years ago

e4x/Regress/regress-350238.js - NS_ERROR_XPC_BAD_CONVERT_JS

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

()

Details

Attachments

(1 file)

bug 455436 regressed this.

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  

"JS frame :: http://test.bclary.com//tests/mozilla.org/js/e4x/Regress/regress-350238.js :: anonymous :: line 54"  data: no];
Flags: in-testsuite+
Flags: in-litmus-
So I think this is actually a bug in the test script. You're calling appendChild with a string, not the new element:

> var iframe = document.createElement('iframe');
> document.body.appendChild('iframe');
(and hooray for slightly better error reporting!)
thanks. I should have seen that.
Assignee: nobody → bclary
Component: XPConnect → JavaScript Engine
Keywords: regression, testcase
QA Contact: xpconnect → general
Attached patch patchSplinter Review
Checking in e4x/Regress/regress-350238.js;
/cvsroot/mozilla/js/tests/e4x/Regress/regress-350238.js,v  <--  regress-350238.js
new revision: 1.4; previous revision: 1.3
done
Checking in public-failures.txt;
/cvsroot/mozilla/js/tests/public-failures.txt,v  <--  public-failures.txt
new revision: 1.99; previous revision: 1.98
done
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: