rem: if (form == undefined) { 
add: if (form == null) { 
context:     dispatchEvent: function(targetId, eventName, form, bubbles, cancelable, incremental) {        // Use the first XForms form on the page when no form is provided        if (form == undefined) {            for (var formIndex = 0; formIndex < document.forms.length; formIndex++) {                var candidateForm = document.forms[formIndex];                if (ORBEON.util.Dom.hasClass(candidateForm, "xforms-form")) {                    form = candidateForm;                    break;                }            }        }        // Create event and fire        var event = new ORBEON.xforms.Server.Event(form, targetId, null, null, eventName, bubbles, cancelable);        ORBEON.xforms.Server.fireEvents([event], incremental == undefined ? false : incremental);    },
meta: 9823	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9823/06cbc8dd6f1052cf99967ed0ba196184a8376447/xforms.js/buggy/src/resources-packaged/ops/javascript/xforms.js