Sputnik (JavaScript conformance test) explained

Sputnik
Owner:Google Inc.
Author:Christian Plesner Hansen, Sandholm
Launched:29 June 2009
Current Status:active (version 1234)
Commercial:No
Content License:New BSD License
Registration:No
Url:https://v8.github.io/test262/website/default.html

Sputnik was a JavaScript conformance test suite. The purpose of the test suite was to determine how well a JavaScript implementation adheres to the ECMA-262 specification, 5th edition, looking only at those features that were also present in the 3rd edition.[1] It contained over 5000 tests that touched all aspects of the JavaScript language.[2]

The test was created in Russia for testing the conformance of the V8 JavaScript engine used in Google Chrome.

As part of phasing out Google Labs, Google has shut down Sputnik. All current Sputnik tests have been incorporated into ECMA's Test262 test suite.

Browsers that do not pass

As an example of a browser that does not pass, Konqueror 4.10.1 still only passes 91.8% of the 11573 tests.

Desktop browsers

Scores represent the number of failed tests – a perfect score is 0 (100%).

Desktop browser results in Sputnik
Browser nameScore of current releaseScore of preview release
Internet ExplorerInternet Explorer 11.0.9600.17420
Google ChromeGoogle Chrome 30.0.1599.66
Google Chrome 32.0.1700.39
SafariSafari 6.0.2
No preview results available
Mozilla FirefoxFirefox 33.1.1
Firefox 68.0a1
OperaOpera 11.60 (build 1185) Opera 12.00 (build 1191)

ECMAScript testsuite

Google has handed the tests from Sputnik test suite to Ecma International for inclusion in its ECMAScript 262 test suite. Some Sputnik tests however have been found to have issues and do not conform to ECMAScript 5th edition specification.[3]

Mobile browsers

Mobile browsers
Browser nameScore of current releaseScore of preview release
Androidno preview version
Safari (iOS 6.0.2)no preview version
Internet Explorer MobileInternet Explorer Mobile 7 Internet Explorer Mobile 9 (SDK emulator)

See also

External links

Notes and References

  1. Web site: Hansen. Christian Plesner. The Chromium Blog. Launching Sputnik into Orbit. Google. 8 September 2010. 29 June 2009.
  2. Web site: The winners are: Opera, IE, Firefox, Chrome, Safari; in that order.. kristopolous. 6 December 2011. 11 November 2011.
  3. https://bugs.ecmascript.org/show_bug.cgi?id=18 Bug 18 -several tests assume it's okay to have a FunctionDeclaration in a Statement context