Re:The Firefox UI Is Now Built with Web Components
by kick on Wednesday November 20, 2019 @01:42PM
(#21586976)
Remember when a tab freezing didn't make Firefox's UI chrome unresponsive? I do, too.
[ Parent
| on HN ]
Re:The Firefox UI Is Now Built with Web Components
by floatboth on Wednesday November 20, 2019 @02:49PM
(#21587722)
I remember when it did — before the "Electrolysis" project, when everything ran in one process. This was quite a long time ago already.
Re:The Firefox UI Is Now Built with Web Components
by skrebbel on Wednesday November 20, 2019 @02:24PM
(#21587449)
I'd assume that the Firefox chrome runs in its own process. Why would the switch to web components for the chrome change that?
Re:The Firefox UI Is Now Built with Web Components
by amelius on Wednesday November 20, 2019 @01:55PM
(#21587136)
Every tab's UI (and the main UI) can still run in a different thread or process, I suppose ...
Re:The Firefox UI Is Now Built with Web Components
by MikusR on Wednesday November 20, 2019 @02:35PM
(#21587582)
When was that?
Re:The Firefox UI Is Now Built with Web Components
by pessimizer on Wednesday November 20, 2019 @01:49PM
(#21587070)
Web 4.0 is the internet of race conditions. Thanks, javascript everywhere.
Re:The Firefox UI Is Now Built with Web Components
by hombre_fatal on Wednesday November 20, 2019 @02:07PM
(#21587279)
I don't get it. Javascript would have categorically improved on this compared to more traditional multi-threaded solutions.
Re:The Firefox UI Is Now Built with Web Components
by GrayShade on Wednesday November 20, 2019 @03:34PM
(#21588195)
You can still have race conditions in single-threaded async code.
Re:The Firefox UI Is Now Built with Web Components
by cjones26 on Wednesday November 20, 2019 @04:04PM
(#21588493)
Well I don't think that could technically be considered a race condition, as it's clearly a design problem in the code causing what would appear to be a "pseudo" race condition.
Re:The Firefox UI Is Now Built with Web Components
by GrayShade on Wednesday November 20, 2019 @04:35PM
(#21588812)
Why not? It is a race condition, just like TOCTTOU is a race condition that doesn't necessarily involve threads.
Note the difference between race conditions in general and data races that involve unsynchronized access to shared memory.
Re:The Firefox UI Is Now Built with Web Components
by minitech on Thursday November 21, 2019 @01:39AM
(#21591930)
And “Javascript would have categorically improved on this compared to more traditional multi-threaded solutions” remains true nevertheless.