e4x/Regress/regress-350238.js - NS_ERROR_XPC_BAD_CONVERT_JS

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: bc, Assigned: bc)

Tracking

Trunk
Points:
---
Bug Flags:
in-testsuite +
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
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!)
(Assignee)

Comment 3

10 years ago
thanks. I should have seen that.
Assignee: nobody → bclary
Component: XPConnect → JavaScript Engine
Keywords: regression, testcase
QA Contact: xpconnect → general
(Assignee)

Comment 4

10 years ago
Created attachment 350302 [details] [diff] [review]
patch
(Assignee)

Comment 5

10 years ago
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
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.