mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 735589 - B2G SMS: ctypes undefined error in systemlib.js in xpcshell tests for SMS. r=philikon
This commit is contained in:
parent
acff7e4a3b
commit
c01312d158
@ -45,6 +45,9 @@ function newWorker(custom_ns) {
|
||||
// The 'self' variable in a worker points to the worker's own namespace.
|
||||
worker_ns.self = worker_ns;
|
||||
|
||||
// systemlibs.js utilizes ctypes for loading native libraries.
|
||||
Cu.import("resource://gre/modules/ctypes.jsm", worker_ns);
|
||||
|
||||
// Copy the custom definitions over.
|
||||
for (let key in custom_ns) {
|
||||
worker_ns[key] = custom_ns[key];
|
||||
|
Loading…
Reference in New Issue
Block a user