The data doesn't send: NS_BINDING_ABORTED and page redirection on Firefox #3106
RomainPastureau
started this conversation in
General
Replies: 2 comments
-
Hi @RomainPastureau, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, thanks for your reply :) The problem came with Firefox. We ended up finding a solution that seems to work by calling a Promise, I will leave the code below for posterity
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
I am trying to code a jsPsych experiment, hosted on a LAMP server. Everything works well; at the end, I am trying to move to the next task by performing a redirection.
Here is the code:
Despite waiting for a confirmation that the data is posted using xhr.readyState === XMLHttpRequest.DONE and xhr.status === 200 before calling the function to perform the redirection, running the experiment on Firefox induces a NS_BINDING_ABORTED error. I understand that what is happening is that the request gets cancelled by the redirection (as running the experiment without the redirection works properly and the data is sent).
Would anyone have an idea of what is going wrong?
Beta Was this translation helpful? Give feedback.
All reactions