News for hackers. Stuff that matters.
Re:Mozilla Servo alpha will be released in June by pcwalton on Monday March 14, 2016 @11:31PM (#11287261)
To echo what Paul said, this will not be a browser you will want to use as a replacement for all your day-to-day browsing. If you try to, you won't end up happy.

Web compatibility is a long road, and it's crucial for us to be able to know what missing functionality is most important and the places where we need to focus on performance the most. The purpose of the package is to help us find and prioritize bugs and missing features. We want to know which sites are the most broken (and, even more importantly, which missing features are breaking those sites). From the Web developer side, we also want early feedback on use cases that may be slow today, so that the browser engine can eventually become a great experience for everyone.

Re:Mozilla Servo alpha will be released in June by annnnd on Tuesday March 15, 2016 @03:07AM (#11287990)
Thank you for the warning, but I suspect I for one might end up happy anyway. :)

I already see lots of broken pages because of NoScript, I often use bookmarklets to strip the page of excessive (mis)use of design... so as long as you can show me the text I will be fine, thank you. ;) Not the typical user though, I know.

On the other hand I am thrilled about security and privacy possibilities this brings to the table! So I can't wait to try it out. Keep up the good work!

Re:Mozilla Servo alpha will be released in June by Touche on Tuesday March 15, 2016 @07:54AM (#11288919)
No, it really is alpha quality; it's not really usable even if you're willing to put up with bugs.
Re:Mozilla Servo alpha will be released in June by conceit on Wednesday March 16, 2016 @09:27AM (#11297068)
ironically, it's NoScript that blocks the javascript URI scheme. I just never bothered to find out how to unblock it selectively (to stop sites linking to those) or at all.
Re:Mozilla Servo alpha will be released in June by lake99 on Tuesday March 15, 2016 @01:47AM (#11287687)
I already use a crippled browser for my day-to-day browsing: Tor Browser. I'd be happy with a browser that's as non-leaky as that. Tor Browser works fairly well, but I'd prefer a lighter browser if I had the option.
Re:Mozilla Servo alpha will be released in June by zmanian on Tuesday March 15, 2016 @02:23AM (#11287839)
Given the security properties of Rust, it would be pretty compelling to use Servo over Tor
Re:Mozilla Servo alpha will be released in June by Manishearth on Tuesday March 15, 2016 @03:31AM (#11288058)
I would recommend against using the Servo alpha against Tor, though; some web security features (eg stuff like CORS, though our CORS support is okay) aren't there yet IIRC.

(Of course, this will change over time, just that I don't expect it to be 100% secure by June)

Re:Mozilla Servo alpha will be released in June by lake99 on Tuesday March 15, 2016 @03:46AM (#11288106)
Rust is secondary to the issue. I am more concerned about how much browsers divulge when asked. Test your browser at https://www.browserleaks.com/
Re:Mozilla Servo alpha will be released in June by yoodenvranx on Tuesday March 15, 2016 @06:19AM (#11288616)
> From the Web developer side, we also want early feedback on use cases that may be slow today

Have you ever tried Google+? In my experience this is one of the most demanding pages out there and it is almost unusable in Firefox for me. The only reasonable way for me to use it is to switch to Chrome. (Linux, cheap Intel Celeron with 2.6 GHz)

Re:Mozilla Servo alpha will be released in June by kough on Tuesday March 15, 2016 @12:18PM (#11290752)
Even worse, Google Keep with ~3 years of notes. Actually unusable in a web browser for me at this point - chrome, Safari, Firefox, doesn't matter. Trying to figure out the best way to export all my notes. Sucks, because it's fantastic on mobile, and the built in reminder features are really useful. Anyone have a good mobile + webpage alternative?
Re:Mozilla Servo alpha will be released in June by btrask on Wednesday March 16, 2016 @09:04PM (#11301931)
Out of curiosity, how many notes? No suggestions, sorry.
Re:Mozilla Servo alpha will be released in June by kough on Thursday March 17, 2016 @11:21PM (#11309647)
I would give you a count if I could. My guess is on the order of thousands, but not tens of thousands. Seems like the browsers are trying to download every single note I've ever created at once (from looking at the network requests and seeing the huge amounts of data being transferred).

Also, just tried loading the site on a much faster internet connection and everything worked, although text entry was slightly laggy on a new note. Still couldn't figure out how to get a count of my notes though.

Re:Mozilla Servo alpha will be released in June by userbinator on Tuesday March 15, 2016 @06:30AM (#11288646)
Have you tried spoofing user-agent (and other identifiers) to Chrome?
Re:Mozilla Servo alpha will be released in June by acdha on Tuesday March 15, 2016 @10:59AM (#11290095)
Have you tried it without any extensions enabled? Google+ has always performed roughly the same in Firefox as Chrome in my usage — fairly good but not great due to the massive amount of work they're doing in JS. That's improved over the years but it's taken a long time to approach native scrolling performance in any browser.
Re:Mozilla Servo alpha will be released in June by ksec on Tuesday March 15, 2016 @12:46AM (#11287507)
Will there be any Telemetry for this packages? Or will we have to report it by hand?
Re:Mozilla Servo alpha will be released in June by whazor on Tuesday March 15, 2016 @06:20AM (#11288618)
I have an idea to give Servo a great use case. At this moment, for crawling websites and testing web apps phantomjs and Selenium are used. While those libraries are okay, it can definitely be replaced by something better.
Re:Mozilla Servo alpha will be released in June by ZenoArrow on Tuesday March 15, 2016 @08:54AM (#11289209)
PhantomJS is based on WebKit, which is a commonly used HTML rendering engine, using Servo in PhantomJS will only make sense once Servo has double digit market share. Selenium isn't a browser engine, so not sure how Servo could replace it.
Re:Mozilla Servo alpha will be released in June by sandstrom on Tuesday March 15, 2016 @04:21PM (#11292663)
I don't think its a terrible idea.

There has been talk in PhantomJS on making multiple engines available. It's the 11th most commented issue[1], out of 1k+ issues.

Sometimes a broadly used browser-engine is important, but other things servo could be useful.

One issue with PhantomJS (on webkit) is that it crashes quite frequently and use a lot of memory[2], areas where Servo may do better.

[1] https://github.com/ariya/phantomjs/issues/10209

[2] https://github.com/ariya/phantomjs/issues?utf8=%E2%9C%93&q=i...

Re:Mozilla Servo alpha will be released in June by k_bx on Tuesday March 15, 2016 @04:31AM (#11288225)
Are there daily binaries available somewhere? It stopped building for me starting some time ago and I was too lazy figuring out what's wrong (plus, build-times for prod-build are quite long).
Re:Mozilla Servo alpha will be released in June by callahad on Tuesday March 15, 2016 @04:15PM (#11292629)
Are you on OS X? Apple stopped shipping an OpenSSL header that's needed by a Servo dependency (https://github.com/servo/servo/issues/7303). If you're using Homebrew, you should be able to build by manually pointing to a brew-installed copy of OpenSSL:

    export OPENSSL_INCLUDE_DIR=$(brew --prefix openssl)/include 
    export DEP_OPENSSL_INCLUDE=$(brew --prefix openssl)/include
    ./mach build
Alternatively, if you don't mind shadowing the system's default version of OpenSSL, you can try `brew link --force openssl`.
Re:Mozilla Servo alpha will be released in June by coldtea on Tuesday March 15, 2016 @06:32AM (#11288656)
>To echo what Paul said, this will not be a browser you will want to use as a replacement for all your day-to-day browsing. If you try to, you won't end up happy.

Well, we obviously all gonna use it that way though :-)

Re:Mozilla Servo alpha will be released in June by jerf on Tuesday March 15, 2016 @12:30PM (#11290862)
Congratulations to both the Servo and Rust team for making it this far. You set out to slay not one, but two of the biggest dragons in all of software engineering, at the same time, and while you may not be done yet, you, uh, err.... have the lance definitely sliding pretty far in and the dragons are definitely noticing and quite upset?

Sorry. The metaphor kinda broke down there. Point is, congratulations. Rust+Servo is one of the most absurdly ambitious projects I've seen in the last twenty years, to make a new browser engine and a new systems-level language. The level of success achieved even to this point is astonishing. I know the road is still long, but I wish you the best in finishing this journey!

Re:Mozilla Servo alpha will be released in June by paulrouget on Monday March 14, 2016 @11:13PM (#11287220)
To be clear, this will be a very early release (nightly builds) of Servo with a HTML UI (browser.html). You won't be able to replace your current browser with Servo just yet :) … there's still a long way to go. The goal is to make it easier for people to test Servo and file bugs.
Re:Mozilla Servo alpha will be released in June by ndesaulniers on Tuesday March 15, 2016 @02:32AM (#11287873)
Make it easy to file bugs from the UI then.
Re:Mozilla Servo alpha will be released in June by paulrouget on Tuesday March 15, 2016 @03:00AM (#11287970)
That's the plan :)
Re:Mozilla Servo alpha will be released in June by acdha on Tuesday March 15, 2016 @02:09PM (#11291712)
Do you have any advice for how quick we should be to report bugs? I just noticed my old homepage[1] crashes webrender (not normal rendering) after scrolling a bit and was wondering whether that kind of thing is worth reporting or if the code is in such active work that it's not worth wasting someone's time managing the issue.

1. http://chris.improbable.org

Re:Mozilla Servo alpha will be released in June by Manishearth on Tuesday March 15, 2016 @03:14PM (#11292212)
Please report it :)

If it's a known bug we'll just close it. If you want, see if you can find dupes on the issue tracker before filing, but don't spend too much time doing that.

Re:Mozilla Servo alpha will be released in June by acdha on Tuesday March 15, 2016 @03:45PM (#11292427)
Thanks – RUST_BACKTRACE was enough to turn up https://github.com/servo/servo/issues/9931. I opened https://github.com/servo/servo/issues/10018 as well.
Re:Mozilla Servo alpha will be released in June by stp-ip on Tuesday March 15, 2016 @09:39AM (#11289489)
Can't wait to check it out.
Re:Mozilla Servo alpha will be released in June by gedrap on Tuesday March 15, 2016 @07:57AM (#11288933)
A year or so ago, I've read that servo project is fairly easy to contribute to even if you have no prior rust knowledge, other than the core basics, and are willing to learn it as you go. The reasoning was that there are tons of core functionality missing, therefore there are plenty of low hanging fruits.

I was wondering, is it still true (or ever was true)?

Re:Mozilla Servo alpha will be released in June by Manishearth on Tuesday March 15, 2016 @09:10AM (#11289303)
(sorry, might have accidentally downvoted from mobile)

See https://starters.servo.org/

This is still true. We're pretty good at creating easy issues, though there's also a steady flow of newcomers so often they get snapped up quickly. A lot of the low hanging fruit is gone, but with careful planning it's easy to create more.

Re:Mozilla Servo alpha will be released in June by Bognar on Tuesday March 15, 2016 @10:34AM (#11289878)
It's definitely true. I've only written a couple toy projects in Rust (no more than a few hundred lines total), and I jumped into the Servo codebase and started contributing. It can be slow going as you wrestle with the language and learn the codebase, but the project maintainers are very helpful.
Re:Mozilla Servo alpha will be released in June by bitdivision on Tuesday March 15, 2016 @08:40AM (#11289136)
You can filter the issues by E-Easy labels [1]. As far as I know, these issues are generally intended for people who haven't contributed before.

Additionally, the rust / servo community is very good, so you can usually get help pretty quickly on IRC.

[1]: https://github.com/servo/servo/issues?q=is%3Aopen+is%3Aissue...

Re:Mozilla Servo alpha will be released in June by Sanddancer on Tuesday March 15, 2016 @01:08AM (#11287562)
Is there any chance we'll get a browser with support for discretionary access controls in the render processes? Given that pretty much every OS supports locking down rights processes have, it would be a big win, security-wise, if the OS could catch anything the browser doesn't.
Re:Mozilla Servo alpha will be released in June by savanaly on Tuesday March 15, 2016 @12:15PM (#11290735)
Could someone in the know clarify for me what the difference is in aims of this new Browser ("Servo") and Firefox? The Servo landing page said its aims are

    Servo project aims to achieve better parallelism,
    security, modularity, and performance.
But aren't those the goals of every browser?
Re:Mozilla Servo alpha will be released in June by grayrest on Tuesday March 15, 2016 @01:13PM (#11291205)
> But aren't those the goals of every browser?

They are but they're Servo's goals "for reals".

Parallelism: All current browsers are written to do layout in a single thread and the specs were written assuming this. When Servo started, whether you could write a parallel layout algorithm for the web was an open question. Servo has a multithreaded layout system that's faster than Firefox per-thread.

Security: The Rust programming language is memory safe. This prevents a large class of security vulnerabilities from happening. The number I saw was ~50% of the critical security vulnerabilities reported in Firefox in 2014 wouldn't be possible in Rust. It's also architected from the ground up to be multi-process sandboxed. I think there are other layers of defense but those are the two I know about.

Modularity: The pieces of Servo are in seperate repositories and the repos (crates) are actually used by the Rust community. Similarly, Servo pulls in crates from the broader community. This combined with the desire to port bits and pieces to Gecko makes the browser a lot more modular than you might expect. It's also designed for embedding and (I think) matches the CEF api so it should be usable wherever webkit/blink are but I haven't been keeping up with things there.

Performance: Parallel layout with a GPU-based scene graph [1] should result in a browser that's several times faster than anything currently available. The Servo team has been hesitant to really push benchmarks given the incomplete support but everything published is really promising.

[1] https://news.ycombinator.com/item?id=11175258

Re:Mozilla Servo alpha will be released in June by e1ven on Tuesday March 15, 2016 @12:46PM (#11290985)
Servo is a research project by Mozilla as a part of their Rust programming language. It gives them a "real world" app to build in Rust, so they don't end up doing ivory-tower designs that don't work well in real apps.

Despite the way some news articles might write about it, Mozilla does not intend this to be a new browser for regular people - It's an extension of their new language, and R&D.

Over time, Firefox may incorporate components written in Rust, potentially including parts from Servo, but AFAIK there is no timeline for that.

Re:Mozilla Servo alpha will be released in June by Manishearth on Wednesday March 16, 2016 @03:54AM (#11295698)
> Mozilla does not intend this to be a new browser for regular people - It's an extension of their new language, and R&D.

I disagree. While I'm not sure what the internal planning is, we are doing a bunch of things to move towards having a shippable Servo browser. If Servo was more of an experiment with no possibility of shipping there would be a whole host of features that we wouldn't even bother implementing it.

Servo's existence is also not to serve as a use case for Rust. If anything, it's the other way around, Mozilla was interested in Rust development because of Servo. However, over time Rust has gained a life of its own which is pretty awesome. (Yes, Servo does serve as a pretty good canary for Rust, but it's not the raison d'etre)

As far as Servo's future is concerned, there are a bunch of non-mutually-exclusive steps that can be taken going forward:

- Start moving components into Gecko (already being done) and write new ones (already being done): https://wiki.mozilla.org/Oxidation . Gecko can use Servo's URL parser, and wrote its own MP4 metadata parser. There's active work going on replacing Gecko's style/CSS system, and discussions about webrender. I've also seen some interest in dropping Rust into Spidermonkey.

- Expose a webview-like library (not being done yet, but there's interest)

- Release servo as its own browser, perhaps using browser.html (this is being coordinated at browser.html)

- Replace Gecko on Firefox for Android (this is not too hard, since the browser UI is simpler. Not being done yet)

- Replace Gecko in Firefox for Desktop (this is pretty hard -- there's no clear delineation between "Gecko" and "Firefox" and the UI uses things like XUL which I'd rather keep out of Servo). This is not being done yet.

Re:Mozilla Servo alpha will be released in June by drzaiusapelord on Tuesday March 15, 2016 @01:59PM (#11291643)
Gecko is something of a pig. I find it hard to believe that Servo will be developed and then thrown away as purely a research exercise. I suspect Mozilla is hesitant to lay out a roadmap considering how young Rust is and how long rendering engines take to write, but it seems to me that its likely Servo will replace Gecko when its mature.
Re:Mozilla Servo alpha will be released in June by Manishearth on Wednesday March 16, 2016 @03:54AM (#11295702)
Note that not replacing Gecko with Servo doesn't mean that Servo will be "thrown away", see https://news.ycombinator.com/item?id=11295698
Re:Mozilla Servo alpha will be released in June by ibotty on Tuesday March 15, 2016 @01:13PM (#11291201)
There is an open bug report on firefox' bugzilla to incorporate servo's css engine (afaict):

https://bugzilla.mozilla.org/show_bug.cgi?id=1243581

Re:Mozilla Servo alpha will be released in June by ZenoArrow on Tuesday March 15, 2016 @01:13PM (#11291204)
> "It's an extension of their new language, and R&D."

I'd suggest there's another set of aims that comes out of the work to make Servo easier to embed than Gecko, but the time isn't right to make the most of that yet.

Re:Mozilla Servo alpha will be released in June by stonogo on Tuesday March 15, 2016 @12:20PM (#11290768)
Sharing goals doesn't necessarily imply sharing approaches.
Re:Mozilla Servo alpha will be released in June by stp-ip on Tuesday March 15, 2016 @09:42AM (#11289502)
Any plans to make the browser cache aware of cross domain resources? Basically a hash based cache, where as long as the hash is valid it can be used from a hash based caching pool. This could be integrated with SRI to reduce unnecessary network load without compromising user privacy. Will not provide complete privacy, but might reduce exposure to 3rd party CDNs.

If something like this is implemented, providing frequently used resources via a plugin, privacy aware CDN or even a custom CDN similar to https://addons.mozilla.org/en-US/firefox/addon/decentraleyes... would be possible.

Re:Mozilla Servo alpha will be released in June by bobajeff on Tuesday March 15, 2016 @12:11AM (#11287382)
I wonder if the other browser vendors are working on a similar parallel browser engine? Perhaps using some custom version of Clang that applies Bjarne Stroustrup's C++ Core Guidelines to errors/warnings.
Re:Mozilla Servo alpha will be released in June by kibwen on Tuesday March 15, 2016 @01:08PM (#11291158)
I don't remember the C++ Core Guidelines having anything to say about parallelism, nor proposing any sort of lint or static analysis involving concurrent code. Though I may be misremembering, it's a rather long document.
Re:Mozilla Servo alpha will be released in June by steveklabnik on Tuesday March 15, 2016 @02:19PM (#11291803)
Last thing they published still had a bit question mark around concurrency.
Re:Mozilla Servo alpha will be released in June by dkhenry on Tuesday March 15, 2016 @09:22AM (#11289370)
I am more interested to see how a major Rust project holds up when its attack surface gets larger. So the question is when does Servo get added to the Pwn2Own
Re:Mozilla Servo alpha will be released in June by bzbarsky on Tuesday March 15, 2016 @09:48AM (#11289543)
That's a political question, not a technical one. Things get added to Pwn2Own when its sponsors (including, e.g. Google and Microsoft) push for them to be added, as far as I can tell.
Re:Mozilla Servo alpha will be released in June by bhauer on Monday March 14, 2016 @11:10PM (#11287207)
Awesome. I've not been following it as closely as I should. Is there an ETA on Windows builds? Or is it too early to say?
Re:Mozilla Servo alpha will be released in June by paulrouget on Monday March 14, 2016 @11:16PM (#11287228)
Support landed a month ago (https://github.com/servo/servo/pull/9385). No nightly builds yet.
Re:Mozilla Servo alpha will be released in June by zobzu on Tuesday March 15, 2016 @03:42AM (#11288091)
interestingly its not using mercurial, bugzilla, etc. basically none of the mozilla stuff
Re:Mozilla Servo alpha will be released in June by Manishearth on Tuesday March 15, 2016 @04:08AM (#11288181)
Mercurial isn't a mozilla thing. Firefox uses mercurial. A lot of other Mozilla projects (Gaia, emscripten, shumway, Servo, Browser.html) use GitHub, and others (Bugzilla) use Git directly (over gitolite or something).

We occasionally have discussions on whether or not to switch to Bugzilla. Github has some limitations when it comes to organizing things; however it's more newbie-friendly so there's a tradeoff.

Re:Mozilla Servo alpha will be released in June by rat87 on Tuesday March 15, 2016 @03:59AM (#11288155)
I think most of the rust stuff is on github.
Re:Mozilla Servo alpha will be released in June by BenoitP on Tuesday March 15, 2016 @09:15AM (#11289339)
What does he mean by meta bug?
Re:Mozilla Servo alpha will be released in June by robin_reala on Tuesday March 15, 2016 @09:24AM (#11289383)
A meta bug in Mozilla parlance is basically the same as epic. It’s a bug that acts as a collection of bugs, that can be closed when all its dependencies are closed but doesn’t have any direct work associated to itself.
Re:Mozilla Servo alpha will be released in June by shmerl on Monday March 14, 2016 @11:19PM (#11287232)
What about Firefox based on Servo?
Re:Mozilla Servo alpha will be released in June by cpeterso on Tuesday March 15, 2016 @12:19AM (#11287414)
Firefox (Gecko) is importing bits of Rust code from Servo, such as Servo's CSS system: https://bugzil.la/stylo
Re:Mozilla Servo alpha will be released in June by shmerl on Tuesday March 15, 2016 @12:42AM (#11287492)
Yeah, I mean full usage of Servo.
Re:Mozilla Servo alpha will be released in June by lambda on Tuesday March 15, 2016 @12:58AM (#11287539)
It's still much too early to say when and how this would work.
Re:Mozilla Servo alpha will be released in June by sonnyp on Monday March 14, 2016 @08:27PM (#11286627)
firefox.html not servo
Re:Mozilla Servo alpha will be released in June by capnrefsmmat on Monday March 14, 2016 @11:06PM (#11287190)
Server+Browser.html, so Servo running an HTML-based browser UI. (Instead of XUL, as used by Firefox.)