What would cause a page to be canceled? I have a screenshot of the Chrome Developer Tools.
This happens often but not every time. It seems like once some other resources are cached, a page refresh will load the LeftPane.aspx. And what's really odd is this only happens in Google Chrome, not Internet Explorer 8. Any ideas why Chrome would cancel a request?
In my case the code to show e-mail client window caused Chrome to stop loading images:
moving it to $(window).load(function () {...}) instead of $(function () {...}) helped.
Here's what happened to me: the server was returning a malformed "Location" header for a 302 redirect. Chrome failed to tell me this, of course. I opened the page in firefox, and immediately discovered the problem. Nice to have multiple tools :)
happened to me the same when calling a. js file with $. ajax, and make an ajax request, what I did was call normally.
You might want to check the "X-Frame-Options" header tag. If its set to SAMEORIGIN or DENY then the iFrame insertion will be canceled by Chrome (and other browsers) per the spec.
Also, note that some browsers support the ALLOW-FROM setting but Chrome does not.
To resolve this, you will need to remove the "X-Frame-Options" header tag. This could leave you open to clickjacking attacks so you will need to decide what the risks are and how to mitigate them.
Chrome Version 33.0.1750.154 m consistently cancels image loads if I am using the Mobile Emulation pointed at my localhost; specifically with User Agent spoofing on (vs. just Screen settings).
When I turn User Agent spoofing off; image requests aren't canceled, I see the images.
I still don't understand why; in the former case, where the request is cancelled the Request Headers (CAUTION: Provisional headers are shown) have only
In the latter case, all of those plus others like:
Shrug
For anyone coming from LoopbackJS and attempting to use the custom stream method like provided in their chart example. I was getting this error using a
PersistedModel
, switching to a basicModel
fixed my issue of theeventsource
status cancelling out.Again, this is specifically for the loopback api. And since this is a top answer and top on google i figured i'de throw this in the mix of answers.