Community
Participate
Working Groups
When call to /workspace returns 401 the error is not returned, but instead an error from plugin.js (line 37) is returned, therefore login prompt is not displayed. Simon, you've been changing something in those lines recently? Maybe it has something to do with it? To reproduce open navigator while not authenticated. stack trace: [Exception... "The object could not be cloned." code: "25" nsresult: "0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR)" location: "http://localhost:8080/orion/plugin.js Line: 37"] (?)(x=[Exception... "The object could not be cloned." code: "25" nsresult: "0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR)" location: "http://localhost:8080/orion/plugin.js Line: 37"] { constructor=DOMException, lineNumber=37, code=25, more...})dojo.j...ssed.js (line 4142) errback(error=[Exception... "The object could not be cloned." code: "25" nsresult: "0x80530019 (NS_ERROR_DOM_DATA_CLONE_ERR)" location: "http://localhost:8080/orion/plugin.js Line: 37"] { constructor=DOMException, lineNumber=37, code=25, more...})dojo.j...ssed.js (line 4142) notify()dojo.j...ssed.js (line 4112) complete(value= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4087) callback(value= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4129) notify()dojo.j...ssed.js (line 4109) complete(value= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4087) errback(error= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4139) notify()dojo.j...ssed.js (line 4116) complete(value= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4087) callback(value= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4129) notify()dojo.j...ssed.js (line 4109) complete(value= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4087) errback(error= Error: Unable to load /workspace status:401 [Break On This Error] var err = new Error("Unable to load...Args.url + " status:" + xhr.status); dojo.j...ssed.js (line 10588) )dojo.j...ssed.js (line 4139) _resHandle(dfd=Object { promise={...}, ioArgs={...}, startTime=1315921668097, more...})dojo.j...ssed.js (line 10591) func()dojo.j...ssed.js (line 10471) _watchInFlight()dojo.j...ssed.js (line 10490) (dojo.config.deferredOnError || function(x){ console.error(x); })(error); dojo.j...ssed.js (line 4142)
Sorry Gosia, this is a further symptom of the change I did to add binary support. *** This bug has been marked as a duplicate of bug 357487 ***
Re-opening -- the problem here is that we're trying to send an error object over postMessage. We need to sanitize it first to allow it to be sent safely.
The problem is fixed now. Thanks Simon!