Closed Bug 410005 Opened 17 years ago Closed 6 years ago

JSON stream encoding unit tests fail on windows

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows Server 2003
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
blocking2.0 --- -

People

(Reporter: sayrer, Assigned: sayrer)

References

(Depends on 1 open bug)

Details

Probably just a permissions problem.
Blocks: 387522
Version: unspecified → Trunk
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011005 Well, the compiled nsIJSON IDL seems not to be shipped with the Win32 builds at all. Trying to get a nsJSON instance through Cc["@mozilla.org/dom/json;1"].createInstance(Ci.nsIJSON) results in the following Error: Component returned failure code: 0x80570018 (NS_ERROR_XPC_BAD_IID) [nsIJSCID.createInstance]
Strange, the rest of the tests are passing on Windows.
Looks like dom_json.xpt needs to be added to packages-static. Probably not related to the unit test bustage (the unit test machines run builds from the objdir, I think).
(In reply to comment #3) > Looks like dom_json.xpt needs to be added to packages-static. Filed that as bug 412025.
blocking2.0: --- → beta6+
blocking2.0: beta7+ → betaN+
Not blocking on this bug from 2007. And is there even more work to do here?
blocking2.0: betaN+ → -
Yes. This still fails, and it fails due to bug 456603. We're going to add a workaround in bug 633934.
Depends on: 456603
nsIJSON is gone and the bug description doesn't have enough info about which tests failed to see if the tests remain.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.