context: function getCommandContext (id, event){    var cx = { originalEvent: event };        if (id in client.menuSpecs)    {        if ("getContext" in client.menuSpecs[id])            cx = client.menuSpecs[id].getContext(cx);        else if ("cx" in client.menuManager)         {            //dd ("using existing context");            cx = client.menuManager.cx;        }        else        {            //no context.        }    }    else    {        dd ("getCommandContext: unknown menu id " + id);    }    if (typeof cx == "object")    {        if (!("menuManager" in cx))            cx.menuManager = client.menuManager;        if (!("contextSource" in cx))            cx.contextSource = id;        if ("dbgContexts" in client && client.dbgContexts)            dd ("context '" + id + "'\n" + dumpObjectTree(cx));    }    return cx;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/cbc167a7099167af1fe105a28565c817cc9514d8/menus.js/buggy/xul/content/menus.js