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

178
Views
jsdom y canvas obtienen recursos como imagen

tengo un jsdom

 new JSDOM( `<!DOCTYPE html> <html> <head> <script src="https://www.websitewithjs.js"></script></head> <body> <p>My Test page</p> </body> </html>`, { runScripts: "dangerously", url: `${origin}`, origin: `${origin}`, pretendToBeVisual: true, virtualConsole: createVirtualConsole(), resources: "usable" } );

Este dom carga un js que carga y agrega otro js externo (no bajo mi control) que ejecuta algunas funciones que modifican el DOM anterior y recibo un error al cargar uno de esos recursos cuando se carga como una imagen

 Could not load img: "https://externalimageserver.com/v1/get/?qp=1&qp2=value"

El servidor devuelve 204 con respuesta vacía y creo que esa podría ser la clave del problema.

Tengo canvas como dependencia, pero no estoy seguro de por qué recibo este error.

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!