Comments (6)
The problem is the order of the conditional. The READY_STATE must be checked FIRST before .status is checked.
Having to fork to patch for now unfortunately.
This is the fix needed, I'll issue a PR:
if (xhr[READY_STATE] === 2 && typeof xhr.status !== 'unknown') {
copyHead();
}
from xdomain.
Ok, upon forking and checking out the source, the unfortunate answer to an hour of investigating this is that the dist
on this repo is not up to date. The patch/fix actually exists on this repo but the dist
does not reflect the latest of the source code files.
from xdomain.
Ok, nevermind, actually my bower was pulling a cached version of the repo. The repo needs a bower.json file.
from xdomain.
Ok, nope that's not it either. bower install of this is just not the latest. Definitely needs a bower.json file to point to an appropriate version.
from xdomain.
from xdomain.
#16 addressed this, closing.
from xdomain.
Related Issues (20)
- Mask * don't allowed in slaves
- getAllResponseHeaders does not include trailing CRLF HOT 2
- Should CORS be abandoned?
- Facade responseText should default to empty string HOT 1
- ajax error
- xdomain breaking prototype chain of XMLHttpRequest HOT 2
- requires 'JSON' and this browser does not support it HOT 3
- proxy.html masters with file:// protocol HOT 1
- Faked 'load' event should set 'target' pointing to XHR instance
- Including xdomain into angular application gives "Illegal invocation" error
- XDOMAIN is interfering with Apple MapKit JS
- Google problem with XDomain
- Is there a fallback if loading iframe doesnt work? Currently, it blocks all requests
- Inaccessible path?
- Branches
- How can i send file to server HOT 1
- XD_BLOB args check issue in v0.8.2 HOT 1
- Does this library still work in 2021? HOT 1
- Global Namespace Pollution
- Create SECURITY.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdomain.