Javascript Firefox操作不安全

Javascript Firefox操作不安全,javascript,firefox,extjs,Javascript,Firefox,Extjs,我的代码同时适用于ie和chrome,只有firefox会出现此错误 我已经在我的容器中添加了一个带有url的ajax请求 Ext.Ajax.request({ url: 'attachment/uploadAttachment', scope: this, params: { projectId: this.projectId, draftNumber: th

我的代码同时适用于ie和chrome,只有firefox会出现此错误

我已经在我的容器中添加了一个带有url的ajax请求

Ext.Ajax.request({
            url: 'attachment/uploadAttachment',
            scope: this,
            params: {
                projectId: this.projectId,
                draftNumber: this.draftNumber
            },
            success: function(form, action) {

            },
    })
我在ui端使用ExtJS3.4框架

我在firefox上看到:

{"raw":["SecurityError: The operation is insecure."
"http://localhost:8080/MySupplierInvoices/plugins/my-apps-ext-js-common-0.1/js/overrides/Ext.form.Field.js?_debugResources=y&n=1380786192461"
21]

这看起来像是一个跨域问题。显然与您发布的代码无关。查看邮件中的URL。。。你在用什么类加载器吗?我想上传文件setRawValue:function(v){if(Ext.isString(v)){v=Ext.util.Format.decodegaterthanandlessthanssymbols(v);}返回this.rendered?(this.el.dom.value=(Ext.isEmpty(v)?“”:v)):“”;},`错误指向
返回