[Spice-devel] [spice-html5]Converting to NodeJS

Cedric Bosdonnat cbosdonnat at suse.com
Mon Feb 4 14:47:24 UTC 2019


On Mon, 2019-02-04 at 08:30 -0600, Jeremy White wrote:
> > > I'd be delighted if spice-html5 had a proper name space!
> > 
> > How should we proceed? I could implement this using ES6 exports,
> > but
> > that rules out really old browsers. Not sure if CommonJS exports
> > would
> > cover a broader audience thought.
> 
> To some extent, spice-html5 does not support truly old browsers, so
> I 
> think it would make sense to use ES6.  We'll probably want to couple 
> this with a substantial version increment (1.0?) which will also
> help 
> folks understand the distinction.

Well, after checking ES6 imports are super recent in Firefox (starting
with 60 back in May).

> > I saw in the code some workarounds for IE10... Do we still need to
> > care
> > about Internet Explorer?
> 
> I'd like to be sure that a 'stock' Windows 10 box can run spice-
> html5. 
> (A few years ago, I would have included Windows 7, but I think we're 
> close enough to it's EOL that we can let it go).

For sure Windows 10 comes with Egde now.

> So if Edge supplies the features IE lacks, then perhaps we could let 
> those go.  (I think the two main issues were the lack of data uri 
> support, which requires 'simulatecursor.js' and the addition of
> slice() 
> in spicearraybuffer.js).

So we can drop the spicearraybuffer.js since this is in IE 11 and Egde.
For the simulatecursor.js, I have no idea.



More information about the Spice-devel mailing list