Giter VIP home page Giter VIP logo

Comments (6)

annevk avatar annevk commented on June 6, 2024

That the URL can be fetched later is defined. The URL parser clones the Blob after all.

That open() errors or where we error exactly for closed blobs is not. If someone can work out what would be best there, including how that should work for FormData and the streaming case of directories I'd be most grateful. I agree though that failure for that should probably not happen during open()...

from xhr.

annevk avatar annevk commented on June 6, 2024

@mkruisselbrink @inexorabletash thoughts? What is the story for closed blobs these days?

from xhr.

annevk avatar annevk commented on June 6, 2024

Closed blobs are gone, but I created a WPT PR for the issue mentioned in OP. I think this is all defined already through the combination of URL and Fetch.

from xhr.

annevk avatar annevk commented on June 6, 2024

Bugs filed:

from xhr.

dmurph avatar dmurph commented on June 6, 2024

Huh. So what do we want to happen here?

from xhr.

annevk avatar annevk commented on June 6, 2024

@dmurph the way this works is that XMLHttpRequest invokes the URL parser during open(). And that ends up storing a cloned Blob object on the returned URL record: https://url.spec.whatwg.org/#concept-url-parser. That URL record gets passed to Fetch at some later point which uses the cloned Blob object.

from xhr.

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.