Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

278
Views
¿Cuándo es posible que XHR `ontimeout` se llame cuando `timeout` es 0?

¿Hay alguna condición que pueda provocar que se ontimeout el tiempo de espera cuando el tiempo de timeout se establece en 0?

 var xhr = new XMLHttpRequest(); xhr.open('POST', '/something', true); xhr.timeout = 0; // No timeout xhr.ontimeout = function (e) { // Any circumstances to get here? }; xhr.send(...);

¿Algún tipo de conexión lenta? ¿O el tiempo de espera de conexión/lectura del navegador interno es muy largo?

Encontré que algunos usuarios del sitio que mantengo caen en este problema y quiero averiguar por qué.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!