Launching Sputnik into Orbit
Monday, June 29, 2009
Today we're releasing the Sputnik JavaScript test suite. Sputnik is a comprehensive set of more than 5000 tests that touch all aspects of the JavaScript language as defined in the ECMA-262 standard.
Soon after the V8 project started we also began work on what would become the Sputnik tests. The goal was to create a test suite based directly on the language spec that checked the behavior of every object, function and individual algorithm in the language. The task was given to a team in Russia – hence the name "Sputnik" – which went about systematically producing tests. As the test suite grew we used it to ensure that V8 conformed to the spec and to detect unexpected changes in our behavior.
Now that the test suite is complete we're happy to be able to release it as an open source project, under the BSD license. We hope Sputnik can be as useful to other implementers of JavaScript as it has been to us, particularly at a time where implementations change rapidly.
The goal is not that all implementations should pass all tests. V8 set out with that intention and we learned the hard way that sometimes you have to be incompatible with the spec to be compatible with the web. Rather, we want Sputnik to be a tool for identifying differences between implementations.
One of the biggest challenges for web developers today is the many incompatibilities between browsers. Finding these differences is the first step towards removing them. In an ideal world web developers would not have to worry about which browser is being used to view their site and users would not have to worry about whether a site supported their browser. We hope the Sputnik tests will make the browser community take another step towards making that a reality.

24 comments:
Photar said...
Sweet!
June 29, 2009 1:32 PM
AdamK said...
There are already few open source packagas with 'Sputnik' name. Not a very good choice then.
June 29, 2009 1:47 PM
Yuri said...
As a maintainer of a project named "Sputnik" currently showing up on the first page in Google, I find this name-grabbing very unfortunate.
June 29, 2009 3:11 PM
joebeone said...
I suppose you didn't notice that there's a nice Lua-based wiki called Sputnik? http://sputnik.freewisdom.org/
June 29, 2009 3:16 PM
Gallagher said...
I guess the people commenting about Sputnik name grabbing didn't realize that there was a satellite with that name some time ago.
Oh wait, that's a satellite so its OK to use the name because these projects are different.
Cue realization that your project and this one are different, and that you should apply the same logic.
June 29, 2009 3:25 PM
boggle said...
There are rational reasons for naming software packages differently. It makes life tremendously more easy for packagers, distributions and users. Secondly, its just plain impolite and shows a lack of awareness to not check for existing projects with a similiar name. It is even worse in this case, since for google projects it is much easier to create buzz and attention. While some smaller independent open source project away from the bigger organisations has to take quite some effort to achieve similiar visibility. So please don't be the elephant in the porcelain shop and behave as the good netizen people have come to know google most of the time.
June 29, 2009 4:10 PM
Evgeny said...
So this "Sputnik" works with anything other than V8, or not? This ECMA-262 is from 1999, so surely there must be more than just V8 it will work with. Right?
SpiderMonkey? Rhino?
WRONG!
Try running it with Rhino, and then try to guess whos fault is it that it will break on 10% of the tests. Rhino's or Sputnik's?
Please - Google - do some preliminary in-house testing of your code before you release it to the world. Until now there was the ECMA standard, but now I wont be surprised if everyone will try to comply with the Google-ECMA standard. And it is just wrong. Leave standards to be standards, sit on the commissions, but don't try to own them.
June 29, 2009 4:40 PM
Christian Plesner Hansen said...
@Evgeny: I just tried running the tests with rhino and it only fails around 5% of the tests. For comparison v8 fails around 3%. Please consider filing an issue at http://code.google.com/p/sputniktests/issues/entry with some more details about how you run the tests.
We're not making a new standard, just testing whether or not implementations follow the existing one.
June 30, 2009 12:52 AM
Jan de Mooij said...
@evgeny: that's nonsense IMHO. Google *does not* introduce its own standard here. They went through the official spec, writing as many tests as possible.
I think this is a great project. Hopefully other browser vendors will use it to fix bugs and spot regressions. We can only benefit from that :)
June 30, 2009 12:57 AM
Evgeny said...
@Christian that was really not nice of you to delete all the comments on the wiki. They were valid points, and people coming to that page will actually try to run sputnik with a browser. You should fix the page somehow - add a warning or something.
Would be nice to see on the wiki the results (5%) of current javascript implementations, and the command you used to run them.
And why python? Why not run it in a browser? Today's browsers are capable of running javascript, and if the browser "breaks" javascript somehow - then sputnik is worthless if it only runs on the "pure" javascript vm on the command line.
June 30, 2009 1:41 AM
Mike said...
How do we execute this on other JavaScript engines? For e.g. the one shipped in Internet Explorer
June 30, 2009 6:24 PM
Alex Molina said...
Still no RSS support...? :(
July 5, 2009 8:51 AM
Akira said...
i would like to test the webkit native engine, how can i do that?
July 8, 2009 3:39 AM
spiralofhope said...
There's already a Sputnik wiki.
July 8, 2009 2:58 PM
Brian said...
We love google chrome, if only there was a way to change the background to black, that would be less of an Eyesore. This isn't the right area, and I assume it will be deleted, but I said it.
July 9, 2009 12:55 AM
Abaye said...
I love your browser and will most likely love the up and coming operating system...I am wondering if somebody could make a password protected incognito mode or at least and option to install without it...I want my kids to be safe on the net. Thanks
July 10, 2009 9:21 PM
Ricardo Z. Vendramini said...
Nice idea, Abaye
July 11, 2009 6:07 AM
user said...
gucci mens shoes site:http://www.guccimensshoes.net
Replica Louboutin site: http://www.replicalouboutin.com
hugo boss inmotion site: http://www.hugobossinmotion.com
replica louis site: http://www.replicalouis.com
nokian99 site: http://www.nokian99.net
edhardy t shirts site: http://www.edhardytshirts.net
SEO site: http://www.seo9seo.com
Wholesale site: http://www.ourwholesale.net
B2B site: http://www.b2btradeplatform.com
July 21, 2009 12:42 AM
user said...
A good idea,it just product news.
gucci mens shoes Replica Louboutin hugo boss inmotion replica louis nokian99 edhardy t shirts SEO Wholesale B2B
July 21, 2009 12:42 AM
yqj0033 said...
ed hardy intimates lingerie
ed hardy hoody
July 31, 2009 12:33 AM
money said...
uggs outletGood share!!Wholesale and retail are both acceptable to us. Welcome to our site and free to look! Thank you and wish you a nice day. Good Luck!
December 21, 2009 5:48 PM
uggs-outlet said...
Nike basketball shoes
Adidas basketball shoes
NBA basketball shoes
December 22, 2009 12:38 AM
zada1 said...
uggs outlet
cheap uggs
cheap ugg
ugg outlet
January 13, 2010 6:29 PM
DDD said...
Uggs
Uggs On sale
Ugg Boots
January 27, 2010 6:52 PM
Post a Comment