thouis / numpy-trac-migration

numpy Trac to github issues migration
2 stars 3 forks source link

Offline documentation search triggers JS error in Chrome (Trac #2132) #5928

Open numpy-gitbot opened 11 years ago

numpy-gitbot commented 11 years ago

Original ticket http://projects.scipy.org/numpy/ticket/2132 on 2012-05-15 by trac user talcite, assigned to unknown.

When entering a search query the offline documentation in chrome, a JS error is triggers in the developer console and the search does not complete. (Actual behavior: waits forever)

The error in the developer console is: "XMLHttpRequest cannot load file:///home//Downloads/numpy-html/searchindex.js. Origin null is not allowed by Access-Control-Allow-Origin."

There is no problem in Firefox with this JS error.