News for hackers. Stuff that matters.
Re:The Firefox UI Is Now Built with Web Components by BoumTAC on Wednesday November 20, 2019 @02:19PM (#21587399)
can it cause perfomance issue ?

I know for example the devtool is written in react and it's a lot slower than chrome devtools (I don't know how chrome devtool is written) and the javascript debugger is sometime not even usable because it's so slow.

Re:The Firefox UI Is Now Built with Web Components by jasonlaster11 on Wednesday November 20, 2019 @02:47PM (#21587694)
Hi, Firefox DevTools Debugger engineer here.

We've focused on performance and quality over the past six months and believe it should be much better.

If you're still seeing issues, feel free to record a performance profile and send it to us:

- https://profiler.firefox.com/ - https://bugzilla.mozilla.org/enter_bug.cgi?product=DevTools&...

I'd be happy to fix it!

Re:The Firefox UI Is Now Built with Web Components by the8472 on Wednesday November 20, 2019 @06:46PM (#21589897)
I find it mildly amusing that there's a profiler in the devtools. And yet there is another profiler that is at times more powerful than it. I have used the gecko profiler from time to time to identify which feature the page was using that slowed down the entire browser. Multi-process means just debugging a single tab doesn't give you the whole picture.
Re:The Firefox UI Is Now Built with Web Components by everybodyknows on Thursday November 21, 2019 @12:28PM (#21596730)
To any other devs who like me who want to use Firefox Debugger, but were driven back to the devil Chromium by need for consistent, seamless copy-paste and select-middlemouse interaction: Give 70.0.1 a try. Much, much better. So much that I've dropped Chromium. (Ubuntu 18.04)
Re:The Firefox UI Is Now Built with Web Components by alexkoeh on Thursday November 21, 2019 @11:51AM (#21596138)
Is it possible for Cmd+P to work when you don't have the Debugger tab in focus? That one of the few things I miss from Chrome dev tools.

Performance-wise it's been running great for me. The hard work you've put into this definitely shows.

Re:The Firefox UI Is Now Built with Web Components by abacadaba on Wednesday November 20, 2019 @06:34PM (#21589810)
ty for the effort! this is pretty much what has kept me developing chrome first.
Re:The Firefox UI Is Now Built with Web Components by jkaptur on Wednesday November 20, 2019 @02:34PM (#21587570)
Chrome devtools is also a JS application: https://github.com/ChromeDevTools/devtools-frontend.
Re:The Firefox UI Is Now Built with Web Components by ergo14 on Wednesday November 20, 2019 @02:47PM (#21587704)
In fact it looks like it is also webcomponents.

https://github.com/ChromeDevTools/devtools-frontend/blob/mas...

Re:The Firefox UI Is Now Built with Web Components by Touche on Wednesday November 20, 2019 @02:32PM (#21587540)
Using web components or something else is only one small part of the performance question. They could be using both web components and React for all we know. They could be using any number of JavaScript libraries that could be harming performance. They could be using raw DOM manipulation which could be either very fast or somewhat slow depending on how well it was implemented. All we can say is that using JavaScript in general is slower than using C++ but they weren't using C++ before anyways.
Re:The Firefox UI Is Now Built with Web Components by warpech on Wednesday November 20, 2019 @02:29PM (#21587502)
Chrome DevTools use Web Components: https://github.com/ChromeDevTools/devtools-frontend
Re:The Firefox UI Is Now Built with Web Components by thayne on Wednesday November 20, 2019 @02:33PM (#21587546)
chrome devtools are also written in javascript (although I'm not sure which framework if any they use). You can even debug the chrome devtools with chrome devtools (I think the same applies to firefox, although I've never accidentally gotten into that state like I have in chrome).
Re:The Firefox UI Is Now Built with Web Components by the8472 on Wednesday November 20, 2019 @06:49PM (#21589913)
about:config -> devtools.chrome.enabled = true

then you should have additional entries in the tools -> web developer menu.

Re:The Firefox UI Is Now Built with Web Components by saagarjha on Wednesday November 20, 2019 @02:31PM (#21587526)
I believe the developer consoles for all three major desktop browsers (Chrome, Firefox, and Safari) are written using web technologies.
Re:The Firefox UI Is Now Built with Web Components by floatboth on Wednesday November 20, 2019 @02:59PM (#21587840)
Yes. In fact, "Safari devtools" are really a part of upstream WebKit. You get them in e.g. Epiphany (GNOME Web) too.
Re:The Firefox UI Is Now Built with Web Components by saagarjha on Wednesday November 20, 2019 @03:02PM (#21587858)
Yup, I'm aware and use the on GNOME Web too. It's fun to point the web inspector at itself :)
Re:The Firefox UI Is Now Built with Web Components by kart23 on Wednesday November 20, 2019 @03:30PM (#21588141)
Really? I prefer the firefox devtools over chrome. They're pretty similar though.