Closed Bug 594181 Opened 14 years ago Closed 14 years ago

TM: xpcshell "main" needs own compartment

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 593294

People

(Reporter: gwagner, Assigned: jorendorff)

References

Details

js/src/xpconnect/shell/xpcshell.cpp:1972

#0  0x000000010192e478 in JS_Assert (s=0x101d5ff90 "cx->compartment != cx->runtime->defaultCompartment", file=0x101d5f928 "/Users/idefix2/moz/ws1/js/src/jsapi.cpp", ln=4239) at /Users/idefix2/moz/ws1/js/src/jsutil.cpp:80
#1  0x00000001017c6d99 in JS_DefineFunctions (cx=0x106006200, obj=0x1080035b0, fs=0x10001eee0) at /Users/idefix2/moz/ws1/js/src/jsapi.cpp:4239
#2  0x00000001000058ff in main (argc=2, argv=0x7fff5fbff8a0, envp=0x7fff5fbff8b8) at /Users/idefix2/moz/ws1/js/src/xpconnect/shell/xpcshell.cpp:1972

(from test: ./dist/bin/xpcshell _tests/xpcshell/browser/components/dirprovider/tests/unit/test_bookmark_pref.js)
Blocks: 594455
Assignee: general → jorendorff
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.