Closed Bug 866701 Opened 12 years ago Closed 3 years ago

[OS.File] Cannot initialize OS.Constants in a xpcshell test

Categories

(Toolkit Graveyard :: OS.File, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sankha, Unassigned)

References

Details

(Whiteboard: [Async:team])

Attachments

(1 file)

Attached file Test Case (deleted) —
There seems to be some problem if we try to initialize OS.Constants in XPCShell Test. Here is the error log: 0:00.64 TEST-INFO | e:\developer\mozilla-central\obj-i686-pc-mingw32\_tests\xpcshell\dom\system\tests\unit\test_lazyConstants.js | running test ... 0:00.95 TEST-UNEXPECTED-FAIL | e:\developer\mozilla-central\obj-i686-pc-mingw32\_tests\xpcshell\dom\system\tests\unit\test_lazyConstants.js | test failed (with xpcshell return code: -1073741819), see following log: 0:00.95 >>>>>>> 0:00.95 <<<<<<< PROCESS-CRASH | e:\developer\mozilla-central\obj-i686-pc-mingw32\_tests\xpcshell\dom\system\tests\unit\test_lazyConstants.js | application crashed [Unknown top frame] Crash dump filename: e:\developer\mozilla-central\obj-i686-pc-mingw32\_tests\xpcshell\dom\system\tests\unit\20fe4990-4708-495f-bbf8-cca743640f52.dmp MINIDUMP_STACKWALK not set, can't process dump. 0:00.95 INFO | Result summary: 0:00.95 INFO | Passed: 0 0:00.95 INFO | Failed: 2 0:00.95 INFO | Todo: 0
Blocks: 750177
As a workaround, opening osfile.jsm seems to work: Cu.import("resource:///gre/modules/osfile.jsm");
Whiteboard: [Async] → [Async:team]

OSFIle is being replaced with IOUtils and PathUtils.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: