Page MenuHomePhabricator

VisualEditor: Avoid triggering "XMLHttpRequest cannot load. Origin is not allowed by Access-Control-Allow-Origin."
Closed, InvalidPublic

Description

Feedback is one-way, we don't need to read the reponse (and we can't, due to origin policy). So we should convert this into a regular POST without XHR so that it doesn't error.

Apparently though the current method does work for one-way (the request isn't blocked in Chrome).


Version: unspecified
Severity: normal

Details

Reference
bz42974

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:05 AM
bzimport set Reference to bz42974.

De-prioritising and pulling from target milestone.

I'm watching this bug. Parsoid does support CORS headers via a configuration in localsettings.js (although maybe not yet on this particular response), so if you do decide to fix this on the parsoid end let me know.

We're scrapping this feedback system, so marking as INVALID.