Sputnik (JavaScript conformance test)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
Sputnik
128px
Web address test262.ecmascript.org/
Commercial? No
Registration No
Content license
New BSD License
Owner Google Inc.
Created by Christian Plesner Hansen, Sandholm
Launched 29 June 2009[1]

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.[1][2]

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

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 example, Konqueror 4.10.1 still only passes 91.8% of the 11573 tests.

Desktop browsers

Lua error in package.lua at line 80: module 'strict' not found. Scores represent the number of failed tests – a perfect score is 0 (100%).

Desktop browser results in Sputnik
Browser name Score of current release Score of preview release
Internet Explorer Internet Explorer 11.0.9600.17420
8/11578
(99.93%)

Internet Explorer 11.0.9879.0
3/11578
(99.97%)
Google Chrome Google Chrome 30.0.1599.66
9/11578
(99.92%)

Google Chrome 32.0.1700.39
10/11578
(99.91%)
Safari Safari 6.0.2
8/11578
(99.93%)

No preview results available
Mozilla Firefox Firefox 33.1.1
53/11578
(99.54%)

Firefox 28.0a1
48/11578
(99.59%)
Opera Opera 11.60 (build 1185)
1/11578
(99.99%)
Opera 12.00 (build 1191)
1/11578
(99.99%)

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 name Score of current release Score of preview release
Android
128/11578
(98.89%)
no preview version
Safari (iOS 6.0.2)
30/11578
(99.74%)
no preview version
Internet Explorer Mobile Internet Explorer Mobile 7
477/11578
(95.88%)
Internet Explorer Mobile 9 (SDK emulator)
88/11578
(99.24%)

See also

References

<templatestyles src="Reflist/styles.css" />

Cite error: Invalid <references> tag; parameter "group" is allowed only.

Use <references />, or <references group="..." />

External links

  1. 1.0 1.1 1.2 1.3 Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Bug 18 -several tests assume it's okay to have a FunctionDeclaration in a Statement context