* Fwd: Re: question about FormData and Blob
@ 2022-08-26 1:28 Kevin Carhart
0 siblings, 0 replies; only message in thread
From: Kevin Carhart @ 2022-08-26 1:28 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 2685 bytes --]
For the list.. we wrote to the author of FormData and he replied just to me, so I am sending it on.
----- Original message -----
From: "Jimmy Wärting" <firstname.lastname@example.org>
To: Kevin Carhart <email@example.com>
Subject: Re: question about FormData and Blob
Date: Thursday, August 25, 2022 4:59 AM
Yea maybe they are incompatible with each other. I'm a bit surprised that people still include Blob and FormData polyfills still to this day. All browsers, even NodeJS and Deno include a built-in Blob and FromData class natively nowadays.
I can play around with them and see if there is any issue when using them both together. but i'm a bit busy right now. I saw that edbrowse is actually running quickjs. and isn't actually running in an actual browser such as chrome, firefox or safari.
I'm a bit impressed by what has been built and re-implemented in edbrowse to build a cli browser. It takes a lot to build a browser from the ground up and make everything spec compatible with new browser standard APIs poping in all the time now.
I wouldn't even dare to take on such a huge job. I would just have built something with a headless browser and depend on the blink engine to do all the job and then use puppeteer to integrate with the browser programmatically through the command line.
Den tors 25 aug. 2022 kl 11:44 skrev Kevin Carhart <firstname.lastname@example.org>:
> Hi Jimmy
> I help develop a CLI browser project called edbrowse.. we implement the DOM and users can load websites in edbrowse.
> And for a while now we have incorporated Eli's Blob.js. Now we would like to do the same with your FormData.js. But we are not sure if the two pieces of code will interoperate. Is there a conflict between how yours and Eli's uses Blob? Specifically, from yours we would use...
> From Eli's we would use
> Place them one after the next in a new js file and load it in at initialization-time.
> From Blob.js we already have Blob, File, FileReader and URL as it says in the comment.
> We want to integrate this with your FormData implementation. Is there some way we can "get the best of both worlds"? It seems at the moment that when I include both without performing any extra steps, FormData is not recognized in the edbrowse console.
> Whereas.. as a test of where we would like to get to, if I go to the firefox console and enter
> It returns
> function ()
> thanks for the help
[-- Attachment #2: Type: text/html, Size: 4473 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-26 1:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 1:28 Fwd: Re: question about FormData and Blob Kevin Carhart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).