Testing in the browser only works with Firefox ond not with chrome

18 views
Skip to first unread message

Sebastian

unread,
Jul 25, 2010, 8:26:25 AM7/25/10
to jspec
I have have Chromium and Firefox installed on my Ubuntu machine. JSpec
works - slowly - as expected with firefox. But Chrome does not show a
result. When I look in the chrome-inspector I the see the following
JavaScript Error:

XMLHttpRequest cannot load file:///home/sz/projekte/foobar/spec/unit/spec.js.
Cross origin requests are only supported for HTTP.
jspec.js:1725Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101
JSpec.loadjspec.js:1725
JSpec.execjspec.js:1745
runSuitesdom.html:11
(anonymous function)dom.html:17
onloaddom.html:18
Reply all
Reply to author
Forward
0 new messages