Giter VIP home page Giter VIP logo

Comments (3)

naugtur avatar naugtur commented on June 27, 2024

After digging in electron, I'm back here.

099da66#diff-8e402bf78d4c5f8a4fb797709e5bc7a3L12

window.location is set to file:// protocol now, so:

  • mock option is now cross-domain
  • window.origin is null and correct CORS requests are not possible.

This is a big breaking change for my case.

from browser-run.

TehShrike avatar TehShrike commented on June 27, 2024

Probable duplicate of #135

from browser-run.

naugtur avatar naugtur commented on June 27, 2024

Protocol is fixed and things got better, but there's still something wrong.
xhr tests work in 3.5.0, fail miserably later, then 10 failures occur on 4.0.2
I'll be looking into why that is happening.

from browser-run.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.