summaryrefslogtreecommitdiffstats
path: root/website
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-01-19 16:03:21 -0800
committerDavid Fugate <dfugate@microsoft.com>2012-01-19 16:03:21 -0800
commitd7619456faaa7abcfe97aa68a2dfa4a6145d58b4 (patch)
tree21dac0ecc516d2e45f2029fba70a9cf1de7eebca /website
parent98a0b9e10e3a0fc64dc69bf2b2dda84a4a28d359 (diff)
Generate one *.html per *.json in addition to the default.html which includes all tests.
Added support to create testcases_bestPractice.html without also adding them to default.html. Preliminary support for tests under test/suite/internationalization has been added.
Diffstat (limited to 'website')
-rw-r--r--website/json/bestPractice.json1
-rw-r--r--website/json/default.json2
-rw-r--r--website/json/testcases_bestPractice.json1
-rw-r--r--website/json/testcases_ch07.json1
-rw-r--r--website/json/testcases_ch08.json1
-rw-r--r--website/json/testcases_ch09.json1
-rw-r--r--website/json/testcases_ch10.json1
-rw-r--r--website/json/testcases_ch11.json1
-rw-r--r--website/json/testcases_ch12.json1
-rw-r--r--website/json/testcases_ch13.json1
-rw-r--r--website/json/testcases_ch14.json1
-rw-r--r--website/json/testcases_ch15.json1
-rw-r--r--website/testcases_bestPractice.html167
-rw-r--r--website/testcases_ch07.html167
-rw-r--r--website/testcases_ch08.html167
-rw-r--r--website/testcases_ch09.html167
-rw-r--r--website/testcases_ch10.html167
-rw-r--r--website/testcases_ch11.html167
-rw-r--r--website/testcases_ch12.html167
-rw-r--r--website/testcases_ch13.html167
-rw-r--r--website/testcases_ch14.html167
-rw-r--r--website/testcases_ch15.html167
22 files changed, 1682 insertions, 1 deletions
diff --git a/website/json/bestPractice.json b/website/json/bestPractice.json
new file mode 100644
index 000000000..644104d3e
--- /dev/null
+++ b/website/json/bestPractice.json
@@ -0,0 +1 @@
+{"testsCollection":{"name":"Chapter - bestPractice","numTests":"13","tests":[{"code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBDaGVjayBEby1XaGlsZSBTdGF0ZW1lbnQgZm9yIGF1dG9tYXRpYyBzZW1pY29sb24gaW5zZXJ0aW9uCiAqCiAqIEBwYXRoIGNoMDcvNy45L1M3LjlfQTlfVDMuanMKICogQGRlc2NyaXB0aW9uIEV4ZWN1dGUgZG8geyBcbiA7IFxuIH13aGlsZShmYWxzZSkgdHJ1ZQogKi8KCi8vQ0hFQ0sjMQpkbyB7CiAgOwp9IHdoaWxlIChmYWxzZSkgdHJ1ZQoK","commentary":"Check Do-While Statement for automatic semicolon insertion","description":"Execute do { \\n ; \\n }while(false) true","path":"TestCases/bestPractice/Sbp_7.9_A9_T3.js"},{"code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBDaGVjayBEby1XaGlsZSBTdGF0ZW1lbnQgZm9yIGF1dG9tYXRpYyBzZW1pY29sb24gaW5zZXJ0aW9uCiAqCiAqIEBwYXRoIGNoMDcvNy45L1M3LjlfQTlfVDQuanMKICogQGRlc2NyaXB0aW9uIEV4ZWN1dGUgZG8gOyB3aGlsZSBcbiAoZmFsc2UpIHRydWUKICovCgovL0NIRUNLIzEKZG8gOyB3aGlsZSAKKGZhbHNlKSB0cnVlCgo=","commentary":"Check Do-While Statement for automatic semicolon insertion","description":"Execute do ; while \\n (false) true","path":"TestCases/bestPractice/Sbp_7.9_A9_T4.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:make_non-standard_properties_configurable","code":"Ly8gQ29weXJpZ2h0IDIwMTEgR29vZ2xlIEluYy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBAcGF0aCBiZXN0UHJhY3RpY2UvU2JwX0ExMF9UMS5qcwogKiBAZGVzY3JpcHRpb24gQnVpbHQtaW4gZnVuY3Rpb25zIHNob3VsZCBub3QgaGF2ZSBhIG5vbi1kZWxldGFibGUsCiAqIG5vbi1wb2lzb25lZCAiY2FsbGVyIiBwcm9wZXJ0eS4KICogQGJlc3RQcmFjdGljZQogKiBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczptYWtlX25vbi1zdGFuZGFyZF9wcm9wZXJ0aWVzX2NvbmZpZ3VyYWJsZQogKi8KCihmdW5jdGlvbigpIHsKICAgdmFyIG1hcCA9IEFycmF5LnByb3RvdHlwZS5tYXA7CiAgIGlmICghbWFwKSB7IHJldHVybjsgfQogICB0cnkgewogICAgIGRlbGV0ZSBtYXAuY2FsbGVyOwogICB9IGNhdGNoIChlcnIxKSB7CiAgICAgLy8gaWdub3JlCiAgIH0KICAgaWYgKCdjYWxsZXInIGluIG1hcCkgewogICAgIHRyeSB7CiAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWFwLCAnY2FsbGVyJywgewogICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgIH0pOwogICAgIH0gY2F0Y2ggKGVycjIpIHsKICAgICAgIC8vIGlnbm9yZQogICAgIH0KICAgfQoKICAgZnVuY3Rpb24gZm9vKG0pIHsgcmV0dXJuIG0uY2FsbGVyOyB9CiAgIGZ1bmN0aW9uIHRlc3RmbihhLCBmKSB7IHJldHVybiBhLm1hcChmKVswXTsgfQogICB2YXIgYSA9IFttYXBdOwogICB2YXIgY2FsbGVyOwogICB0cnkgewogICAgIGNhbGxlciA9IHRlc3RmbihhLCBmb28pOwogICB9IGNhdGNoIChlcnIzKSB7CiAgICAgaWYgKGVycjMgaW5zdGFuY2VvZiBUeXBlRXJyb3IpIHsgcmV0dXJuOyB9CiAgICAgJEVSUk9SKCcjMTogQnVpbHQtaW4gImNhbGxlciIgZmFpbGVkIHdpdGg6ICcgKyBlcnIzKTsKICAgfQogICBpZiAobnVsbCA9PT0gY2FsbGVyIHx8IHZvaWQgMCA9PT0gY2FsbGVyKSB7IHJldHVybjsgfQogICBpZiAodGVzdGZuID09PSBjYWxsZXIpIHsKICAgICAkRVJST1IoJyMyOiBCdWlsdC1pbiByZXZlYWxlZCBjYWxsZXInKTsKICAgfQogICAkRVJST1IoJyMzOiBVbmV4cGVjdGVkICJjYWxsZXIiOiAnICsgY2FsbGVyKTsKfSkoKTs=","commentary":"","description":"Built-in functions should not have a non-deletable,\nnon-poisoned \"caller\" property.","path":"TestCases/bestPractice/Sbp_A10_T1.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:make_non-standard_properties_configurable","code":"Ly8gQ29weXJpZ2h0IDIwMTEgR29vZ2xlIEluYy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBAcGF0aCBiZXN0UHJhY3RpY2UvU2JwX0ExMF9UMi5qcwogKiBAZGVzY3JpcHRpb24gQnVpbHQtaW4gZnVuY3Rpb25zIHNob3VsZCBub3QgaGF2ZSBhIG5vbi1kZWxldGFibGUsCiAqIG5vbi1wb2lzb25lZCAiYXJndW1lbnRzIiBwcm9wZXJ0eS4KICogQGJlc3RQcmFjdGljZQogKiBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczptYWtlX25vbi1zdGFuZGFyZF9wcm9wZXJ0aWVzX2NvbmZpZ3VyYWJsZQogKi8KCihmdW5jdGlvbigpIHsKICAgdmFyIG1hcCA9IEFycmF5LnByb3RvdHlwZS5tYXA7CiAgIGlmICghbWFwKSB7IHJldHVybjsgfQogICB0cnkgewogICAgIGRlbGV0ZSBtYXAuYXJndW1lbnRzOwogICB9IGNhdGNoIChlcnIxKSB7CiAgICAgLy8gaWdub3JlCiAgIH0KICAgaWYgKCdhcmd1bWVudHMnIGluIG1hcCkgewogICAgIHRyeSB7CiAgICAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkobWFwLCAnYXJndW1lbnRzJywgewogICAgICAgICB3cml0YWJsZTogZmFsc2UsCiAgICAgICAgIGNvbmZpZ3VyYWJsZTogZmFsc2UKICAgICAgIH0pOwogICAgIH0gY2F0Y2ggKGVycjIpIHsKICAgICAgIC8vIGlnbm9yZQogICAgIH0KICAgfQoKICAgZnVuY3Rpb24gZm9vKG0pIHsgcmV0dXJuIG0uYXJndW1lbnRzOyB9CiAgIGZ1bmN0aW9uIHRlc3RmbihhLCBmKSB7IHJldHVybiBhLm1hcChmKVswXTsgfQogICB2YXIgYSA9IFttYXBdOwogICB2YXIgYXJnczsKICAgdHJ5IHsKICAgICBhcmdzID0gdGVzdGZuKGEsIGZvbyk7CiAgIH0gY2F0Y2ggKGVycjMpIHsKICAgICBpZiAoZXJyMyBpbnN0YW5jZW9mIFR5cGVFcnJvcikgeyByZXR1cm47IH0KICAgICAkRVJST1IoJyMxOiBCdWlsdC1pbiAiYXJndW1lbnRzIiBmYWlsZWQgd2l0aDogJyArIGVycjMpOwogICB9CiAgIGlmIChudWxsID09PSBhcmdzIHx8IHZvaWQgMCA9PT0gYXJncykgeyByZXR1cm47IH0KICAgaWYgKHRlc3RmbiA9PT0gYXJncykgewogICAgICRFUlJPUignIzI6IEJ1aWx0LWluIHJldmVhbGVkIGFyZ3VtZW50cycpOwogICB9CiAgICRFUlJPUignIzM6IFVuZXhwZWN0ZWQgImFyZ3VtZW50cyI6ICcgKyBhcmdzKTsKfSkoKTsK","commentary":"","description":"Built-in functions should not have a non-deletable,\nnon-poisoned \"arguments\" property.","path":"TestCases/bestPractice/Sbp_A10_T2.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBUaGUgcHJvZHVjdGlvbiBCbG9jayB7IH0gaW4gc3RyaWN0IGNvZGUgY2FuJ3QgY29udGFpbiBmdW5jdGlvbgogKiBkZWNsYXJhdGlvbjsKICoKICogQHBhdGggYmVzdFByYWN0aWNlL1NicF9BMV9UMS5qcwogKiBAZGVzY3JpcHRpb24gVHJ5aW5nIHRvIGRlY2xhcmUgZnVuY3Rpb24gYXQgdGhlIEJsb2NrIHN0YXRlbWVudAogKiBAb25seVN0cmljdAogKiBAbmVnYXRpdmUgU3ludGF4RXJyb3IKICogQGJlc3RQcmFjdGljZSBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczpub19ub25fc3RhbmRhcmRfc3RyaWN0X2RlY2xzCiAqLwoKInVzZSBzdHJpY3QiOwp7CiAgICBmdW5jdGlvbiBfX2Z1bmMoKXt9Cn0KCg==","commentary":"The production Block { } in strict code can't contain function\ndeclaration;","description":"Trying to declare function at the Block statement","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A1_T1.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbiBkZWNsYXJhdGlvbiB3aXRoaW4gYW4gImlmIiBzdGF0ZW1lbnQgaW4gc3RyaWN0IGNvZGUgaXMgbm90CiAqIGFsbG93ZWQKICoKICogQHBhdGggYmVzdFByYWN0aWNlL1NicF9BMl9UMS5qcwogKiBAZGVzY3JpcHRpb24gRGVjbGFyaW5nIGZ1bmN0aW9uIHdpdGhpbiBhIHN0cmljdCAiaWYiIHN0YXRlbWVudAogKiBAb25seVN0cmljdAogKiBAbmVnYXRpdmUgU3ludGF4RXJyb3IKICogQGJlc3RQcmFjdGljZSBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczpub19ub25fc3RhbmRhcmRfc3RyaWN0X2RlY2xzCiAqLwoKInVzZSBzdHJpY3QiOwppZiAodHJ1ZSkgewogICAgZnVuY3Rpb24gX19mdW5jKCl7fTsKfSBlbHNlIHsKICAgIGZ1bmN0aW9uIF9fZnVuYygpe307Cn0KCg==","commentary":"Function declaration within an \"if\" statement in strict code is not\nallowed","description":"Declaring function within a strict \"if\" statement","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A2_T1.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbiBkZWNsYXJhdGlvbiB3aXRoaW4gYW4gImlmIiBzdGF0ZW1lbnQgaW4gc3RyaWN0IGNvZGUgaXMgbm90IGFsbG93ZWQ7CiAqCiAqIEBwYXRoIGJlc3RQcmFjdGljZS9TYnBfQTJfVDIuanMKICogQGRlc2NyaXB0aW9uIERlY2xhcmluZyBmdW5jdGlvbiB3aXRoaW4gYW4gImlmIiB0aGF0IGlzIGRlY2xhcmVkCiAqIHdpdGhpbiB0aGUgc3RyaWN0IGZ1bmN0aW9uCiAqIEBvbmx5U3RyaWN0CiAqIEBuZWdhdGl2ZSBTeW50YXhFcnJvcgogKiBAYmVzdFByYWN0aWNlIGh0dHA6Ly93aWtpLmVjbWFzY3JpcHQub3JnL2Rva3UucGhwP2lkPWNvbnZlbnRpb25zOm5vX25vbl9zdGFuZGFyZF9zdHJpY3RfZGVjbHMKICovCgoidXNlIHN0cmljdCI7CihmdW5jdGlvbigpewogICBpZiAodHJ1ZSkgewogICAgIGZ1bmN0aW9uIF9fZnVuYygpe307CiAgIH0gZWxzZSB7CiAgICAgZnVuY3Rpb24gX19mdW5jKCl7fTsKICAgfQp9KTsKCg==","commentary":"Function declaration within an \"if\" statement in strict code is not allowed;","description":"Declaring function within an \"if\" that is declared\nwithin the strict function","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A2_T2.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbkRlY2xhcmF0aW9uIHdpdGhpbiBhICJkby13aGlsZSIgQmxvY2sgaW4gc3RyaWN0IGNvZGUgaXMgbm90CiAqIGFsbG93ZWQKICoKICogQHBhdGggYmVzdFByYWN0aWNlL1NicF9BM19UMS5qcwogKiBAZGVzY3JpcHRpb24gRGVjbGFyaW5nIGZ1bmN0aW9uIHdpdGhpbiBhICJkby13aGlsZSIgbG9vcAogKiBAb25seVN0cmljdAogKiBAbmVnYXRpdmUgU3ludGF4RXJyb3IKICogQGJlc3RQcmFjdGljZSBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczpub19ub25fc3RhbmRhcmRfc3RyaWN0X2RlY2xzCiAqLwoKInVzZSBzdHJpY3QiOwpkbyB7CiAgICBmdW5jdGlvbiBfX2Z1bmMoKXt9Owp9IHdoaWxlKDApOwoK","commentary":"FunctionDeclaration within a \"do-while\" Block in strict code is not\nallowed","description":"Declaring function within a \"do-while\" loop","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A3_T1.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbkRlY2xhcmF0aW9uIHdpdGhpbiBhICJkby13aGlsZSIgQmxvY2sgaW4gc3RyaWN0IGNvZGUgaXMgbm90IGFsbG93ZWQKICoKICogQHBhdGggYmVzdFByYWN0aWNlL1NicF9BM19UMi5qcwogKiBAZGVzY3JpcHRpb24gRGVjbGFyaW5nIGEgZnVuY3Rpb24gd2l0aGluIGEgImRvLXdoaWxlIiBsb29wIHRoYXQgaXMKICogd2l0aGluIGEgc3RyaWN0IGZ1bmN0aW9uCiAqIEBvbmx5U3RyaWN0CiAqIEBuZWdhdGl2ZSBTeW50YXhFcnJvcgogKiBAYmVzdFByYWN0aWNlIGh0dHA6Ly93aWtpLmVjbWFzY3JpcHQub3JnL2Rva3UucGhwP2lkPWNvbnZlbnRpb25zOm5vX25vbl9zdGFuZGFyZF9zdHJpY3RfZGVjbHMKICovCgoidXNlIHN0cmljdCI7CihmdW5jdGlvbigpewogICBkbyB7CiAgICAgZnVuY3Rpb24gX19mdW5jKCl7fTsKICAgfSB3aGlsZSgwKTsKfSk7Cgo=","commentary":"FunctionDeclaration within a \"do-while\" Block in strict code is not allowed","description":"Declaring a function within a \"do-while\" loop that is\nwithin a strict function","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A3_T2.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbkRlY2xhcmF0aW9uIHdpdGhpbiBhICJ3aGlsZSIgU3RhdGVtZW50IGlzIG5vdCBhbGxvd2VkCiAqCiAqIEBwYXRoIGJlc3RQcmFjdGljZS9TYnBfQTRfVDEuanMKICogQGRlc2NyaXB0aW9uIENoZWNraW5nIGlmIGRlY2xhcmluZyBhIGZ1bmN0aW9uIHdpdGhpbiBhICJ3aGlsZSIKICogU3RhdGVtZW50IGxlYWRzIHRvIGFuIGV4Y2VwdGlvbgogKiBAb25seVN0cmljdAogKiBAbmVnYXRpdmUgU3ludGF4RXJyb3IKICogQGJlc3RQcmFjdGljZSBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczpub19ub25fc3RhbmRhcmRfc3RyaWN0X2RlY2xzCiAqLwoKInVzZSBzdHJpY3QiOwp3aGlsZSAoMCkgewogICAgZnVuY3Rpb24gX19mdW5jKCl7fTsKfTsKCg==","commentary":"FunctionDeclaration within a \"while\" Statement is not allowed","description":"Checking if declaring a function within a \"while\"\nStatement leads to an exception","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A4_T1.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbkRlY2xhcmF0aW9uIHdpdGhpbiBhICJ3aGlsZSIgU3RhdGVtZW50IGlzIG5vdCBhbGxvd2VkCiAqCiAqIEBwYXRoIGJlc3RQcmFjdGljZS9TYnBfQTRfVDIuanMKICogQGRlc2NyaXB0aW9uIENoZWNraW5nIGlmIGRlY2xhcmluZyBhIGZ1bmN0aW9uIHdpdGhpbiBhICJ3aGlsZSIKICogIFN0YXRlbWVudCB0aGF0IGlzIGluIGEgZnVuY3Rpb24gY2FsbCBsZWFkcyB0byBhbiBleGNlcHRpb24KICogQG9ubHlTdHJpY3QKICogQG5lZ2F0aXZlIFN5bnRheEVycm9yCiAqIEBiZXN0UHJhY3RpY2UgaHR0cDovL3dpa2kuZWNtYXNjcmlwdC5vcmcvZG9rdS5waHA/aWQ9Y29udmVudGlvbnM6bm9fbm9uX3N0YW5kYXJkX3N0cmljdF9kZWNscwogKi8KCiJ1c2Ugc3RyaWN0IjsKKGZ1bmN0aW9uKCl7CiAgIHdoaWxlICgwKSB7CiAgICAgZnVuY3Rpb24gX19mdW5jKCl7fTsKICAgfTsKfSkoKTsKCg==","commentary":"FunctionDeclaration within a \"while\" Statement is not allowed","description":"Checking if declaring a function within a \"while\"\n Statement that is in a function call leads to an exception","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A4_T2.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbkRlY2xhcmF0aW9uIHdpdGhpbiBhICJmb3ItaW4iIFN0YXRlbWVudCBpcyBub3QgYWxsb3dlZAogKgogKiBAcGF0aCBiZXN0UHJhY3RpY2UvU2JwX0E1X1QxLmpzCiAqIEBkZXNjcmlwdGlvbiBEZWNsYXJpbmcgZnVuY3Rpb24gd2l0aGluIGEgImZvci1pbiIgU3RhdGVtZW50CiAqIEBvbmx5U3RyaWN0CiAqIEBuZWdhdGl2ZSBTeW50YXhFcnJvcgogKiBAYmVzdFByYWN0aWNlIGh0dHA6Ly93aWtpLmVjbWFzY3JpcHQub3JnL2Rva3UucGhwP2lkPWNvbnZlbnRpb25zOm5vX25vbl9zdGFuZGFyZF9zdHJpY3RfZGVjbHMKICovCgoidXNlIHN0cmljdCI7CmZvciAoeCBpbiB0aGlzKSB7CiAgICBmdW5jdGlvbiBfX2Z1bmMoKXt9Owp9Cgo=","commentary":"FunctionDeclaration within a \"for-in\" Statement is not allowed","description":"Declaring function within a \"for-in\" Statement","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A5_T1.js"},{"bestPractice":"http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls","code":"Ly8gQ29weXJpZ2h0IDIwMDkgdGhlIFNwdXRuaWsgYXV0aG9ycy4gIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8qKgogKiBGdW5jdGlvbkRlY2xhcmF0aW9uIHdpdGhpbiBhICJmb3ItaW4iIFN0YXRlbWVudCBpcyBub3QgYWxsb3dlZAogKgogKiBAcGF0aCBiZXN0UHJhY3RpY2UvU2JwX0E1X1QyLmpzCiAqIEBkZXNjcmlwdGlvbiBEZWNsYXJpbmcgZnVuY3Rpb24gd2l0aGluIGEgImZvci1pbiIgU3RhdGVtZW50IHRoYXQgaXMKICogd2l0aGluIGEgZnVuY3Rpb24gY2FsbAogKiBAb25seVN0cmljdAogKiBAbmVnYXRpdmUgU3ludGF4RXJyb3IKICogQGJlc3RQcmFjdGljZSBodHRwOi8vd2lraS5lY21hc2NyaXB0Lm9yZy9kb2t1LnBocD9pZD1jb252ZW50aW9uczpub19ub25fc3RhbmRhcmRfc3RyaWN0X2RlY2xzCiAqLwoKInVzZSBzdHJpY3QiOwooZnVuY3Rpb24oKXsKICAgZm9yICh4IGluIHRoaXMpIHsKICAgICBmdW5jdGlvbiBfX2Z1bmMoKXt9OwogICB9Cn0pKCk7Cgo=","commentary":"FunctionDeclaration within a \"for-in\" Statement is not allowed","description":"Declaring function within a \"for-in\" Statement that is\nwithin a function call","negative":"SyntaxError","onlyStrict":"","path":"TestCases/bestPractice/Sbp_A5_T2.js"}]}} \ No newline at end of file
diff --git a/website/json/default.json b/website/json/default.json
index 4c568c5e4..0c84f4bf4 100644
--- a/website/json/default.json
+++ b/website/json/default.json
@@ -1 +1 @@
-{"date":"2012-01-18","numTests":11181,"testSuite":["json/ch07.json","json/ch08.json","json/ch09.json","json/ch10.json","json/ch11.json","json/ch12.json","json/ch13.json","json/ch14.json","json/ch15.json"],"version":"ES5.1"} \ No newline at end of file
+{"date":"2012-01-19","numTests":11181,"testSuite":["json/ch07.json","json/ch08.json","json/ch09.json","json/ch10.json","json/ch11.json","json/ch12.json","json/ch13.json","json/ch14.json","json/ch15.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_bestPractice.json b/website/json/testcases_bestPractice.json
new file mode 100644
index 000000000..fb8237f99
--- /dev/null
+++ b/website/json/testcases_bestPractice.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":13,"testSuite":["json/bestPractice.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch07.json b/website/json/testcases_ch07.json
new file mode 100644
index 000000000..624cad272
--- /dev/null
+++ b/website/json/testcases_ch07.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":716,"testSuite":["json/ch07.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch08.json b/website/json/testcases_ch08.json
new file mode 100644
index 000000000..6c1261fb9
--- /dev/null
+++ b/website/json/testcases_ch08.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":124,"testSuite":["json/ch08.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch09.json b/website/json/testcases_ch09.json
new file mode 100644
index 000000000..929db6faf
--- /dev/null
+++ b/website/json/testcases_ch09.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":128,"testSuite":["json/ch09.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch10.json b/website/json/testcases_ch10.json
new file mode 100644
index 000000000..2e7b49ddd
--- /dev/null
+++ b/website/json/testcases_ch10.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":184,"testSuite":["json/ch10.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch11.json b/website/json/testcases_ch11.json
new file mode 100644
index 000000000..caaefe138
--- /dev/null
+++ b/website/json/testcases_ch11.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":1310,"testSuite":["json/ch11.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch12.json b/website/json/testcases_ch12.json
new file mode 100644
index 000000000..7022527e5
--- /dev/null
+++ b/website/json/testcases_ch12.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":525,"testSuite":["json/ch12.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch13.json b/website/json/testcases_ch13.json
new file mode 100644
index 000000000..0e7b43d04
--- /dev/null
+++ b/website/json/testcases_ch13.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":200,"testSuite":["json/ch13.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch14.json b/website/json/testcases_ch14.json
new file mode 100644
index 000000000..df46f4ec3
--- /dev/null
+++ b/website/json/testcases_ch14.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":24,"testSuite":["json/ch14.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/json/testcases_ch15.json b/website/json/testcases_ch15.json
new file mode 100644
index 000000000..57e1d618a
--- /dev/null
+++ b/website/json/testcases_ch15.json
@@ -0,0 +1 @@
+{"date":"2012-01-19","numTests":7970,"testSuite":["json/ch15.json"],"version":"ES5.1"} \ No newline at end of file
diff --git a/website/testcases_bestPractice.html b/website/testcases_bestPractice.html
new file mode 100644
index 000000000..30ed3c6ef
--- /dev/null
+++ b/website/testcases_bestPractice.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_bestPractice.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch07.html b/website/testcases_ch07.html
new file mode 100644
index 000000000..0f150dcfe
--- /dev/null
+++ b/website/testcases_ch07.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch07.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch08.html b/website/testcases_ch08.html
new file mode 100644
index 000000000..94b0920e0
--- /dev/null
+++ b/website/testcases_ch08.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch08.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch09.html b/website/testcases_ch09.html
new file mode 100644
index 000000000..b5ae235bc
--- /dev/null
+++ b/website/testcases_ch09.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch09.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch10.html b/website/testcases_ch10.html
new file mode 100644
index 000000000..9ebfdd93b
--- /dev/null
+++ b/website/testcases_ch10.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch10.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch11.html b/website/testcases_ch11.html
new file mode 100644
index 000000000..e9a4d725e
--- /dev/null
+++ b/website/testcases_ch11.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch11.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch12.html b/website/testcases_ch12.html
new file mode 100644
index 000000000..698758234
--- /dev/null
+++ b/website/testcases_ch12.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch12.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch13.html b/website/testcases_ch13.html
new file mode 100644
index 000000000..e4b978d94
--- /dev/null
+++ b/website/testcases_ch13.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch13.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch14.html b/website/testcases_ch14.html
new file mode 100644
index 000000000..75f72eb46
--- /dev/null
+++ b/website/testcases_ch14.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch14.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>
diff --git a/website/testcases_ch15.html b/website/testcases_ch15.html
new file mode 100644
index 000000000..5ffb339b6
--- /dev/null
+++ b/website/testcases_ch15.html
@@ -0,0 +1,167 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
+<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<script type="text/javascript" src="harness/jquery-1.4.2.min.js"></script>
+<script type="text/javascript" src="harness/sections.js"></script>
+<script type="text/javascript">
+ //Globals
+ var TEST_LIST_PATH = "json/testcases_ch15.json";
+</script>
+<script type="text/javascript" src="harness/sth.js"></script>
+<script type="text/javascript" src="harness/sta.js"></script>
+<script type="text/javascript" src="harness/jqueryprogressbar.js"></script>
+<script type="text/javascript" src="harness/helper.js"></script>
+<script type="text/javascript" src="harness/jquery.base64.js"></script>
+<script language="javascript" type="text/javascript">
+ //To support all the browsers
+ $(window).resize(ResizeLoadIndicator);
+ $(window).load(ResizeLoadIndicator);
+ function ResizeLoadIndicator() {
+ $(".indicatorContainer .disabledBackground").css({ height: ($(window).height() - 20) + "px" });
+ }
+
+ $(".indicatorContainer").click(function(e) {
+ if (!e) { var e = window.event; }
+ e.cancelBubble = true;
+ if (e.stopPropagation) { e.stopPropagation(); }
+ });
+</script>
+
+<title>ECMAScript Test262</title>
+<link href="styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
+</head>
+<body>
+ <div class="indicatorContainer" oncontextmenu="return false;">
+ <!--Blank div to disable back portion when indicator is shown-->
+ <div class="disabledBackground"></div>
+ <div id="loadingIndicator">
+ <div>
+ <img src="./images/spinner.gif" alt="Loading..." />
+ <span>Loading...</span>
+ </div>
+ </div>
+ </div>
+
+ <div class="wrapper">
+ <!-- This Container holds the Logo -->
+ <div class="logoHeader">
+ <div class="logoBg"><img src="images/logo.png" /></div>
+ <div class="ecmascriptbacklink">
+ <p><a href='javascript:void(window.open("http://www.ecmascript.org/"));'>ECMAScript.org</a></p>
+ </div>
+ </div>
+ <!-- This Container holds the Navigation -->
+ <div class="navBar">
+ <ul>
+ <li><a href="#" class="selected nav-link" id="home">Home</a></li>
+ <li><a href="#" class="nav-link" id="run">Run</a></li>
+ <li><a href="#" class="nav-link test-report-link" id="results">Results</a></li>
+ <li><a href="#" class="nav-link" id="development">Development</a></li>
+ </ul>
+ </div>
+ <div class="content-container" id="contentContainer">
+ <!-- This is the Main Content Container -->
+ <div class="content-home">
+ <p class="headers">What is test262?</p>
+ <p class="content">test262 is a test suite intended to check agreement between JavaScript implementations and the ECMA-262 Specification (currently 5th Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript specification.</p>
+ <p class="headers">What is ECMAScript?</p>
+ <p class="content">"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'>Technical Committee 39 (TC39)</a> of <a href='javascript:void(window.open("http://www.ecma-international.org/"));'>Ecma International</a>. The ECMAScript standard is officially known as ECMA-262. ECMAScript 5 (or just ES5) is short hand for the "ECMA-262, 5th Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5 was approved as an official Ecma standard by the Ecma General Assembly on December 3, 2009. <a href='javascript:void(window.open("http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf"));'>The ECMAScript 5 Specification (PDF)</a> is available from the Ecma International web site.</p>
+ <p class="headers">Who creates and maintains test262?</p>
+ <p class="content">Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.</p>
+ <p class="headers">What is the status of test262?</p>
+ <p class="content"><strong>test262 is not yet complete. It is still undergoing active development.</strong> Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.</p>
+ <p class="headers">Where can I found out more?</p>
+ <p class="content">Please visit our <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:faq"));'>Frequently Asked Questions</a> section on the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id="));'>ECMAScript Wiki</a>.</p>
+
+ <p class="headers">Running the Tests</p>
+ <p class="content">Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.</p>
+
+ <a href='javascript:void(window.open("http://www.ecma-international.org/memento/TC39.htm"));'></a>
+
+ </div>
+
+ <div class="content-dev">
+ <p class="headers">Development</p>
+ <p class="content">Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies, permit only Ecma
+ members to directly contribute code to the project. However, a <a href='javascript:void(window.open("http://mail.mozilla.org/pipermail/test262-discuss/"));'>public mailing list</a> is used to coordinate development of Test262. If you wish to participate in the discussion please <a href='javascript:void(window.open("http://mail.mozilla.org/listinfo/test262-discuss"));'>subscribe</a>. Bug reports and suggestions should be sent to the mailing list.
+ </p>
+ <p class="content">
+ Ecma members can find detailed instructions on Test262 development procedures at the <a href='javascript:void(window.open("http://wiki.ecmascript.org/doku.php?id=test262:test262"));'>Test262 Wiki</a>.
+ </p>
+ </div>
+
+ <div class="content-tests">
+ <!-- This is the Main Content Container -->
+ <p class="content">Please click on the Start button to start the test. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run.</p>
+<!--
+ <div class="progressBarHolder">
+ Chapter Index: <input type="text" size="2" maxlength="2" value="" id="chapterId" onkeypress="if(event.keyCode < 48 || event.keyCode > 57){return false;}"/>
+ </div>
+-->
+ <!-- This is the Progress Bar Holder -->
+ <div class="progressBarHolder">
+ <div id="progressbar"></div>
+ <div class="progressBarButtons">
+ <img src="images/reset.png" class="button-reset"/>&nbsp;<img src="images/start.png" class="button-start" id="btnStart"/>
+ </div>
+ <div style="clear: both;"></div>
+ </div>
+ <p class="hide">>
+ Timer Value(ms) : <input id="txtTimerValue" value="50" /> <input id="btnSetTimerValue" value="Set Timer Value" type="button"/>
+ </p>
+ <!-- This is the Results Text Holder -->
+ <div class="resultsHeader">
+ <!--Total Loaded: <strong><span id="totalLoadedCounter"></span></strong><span class="Separator">|</span>-->
+ Tests To Run: <strong><span class="teststorun-counter" id="testsToRun"></span></strong>&nbsp;<span class="separator">|</span>
+ Total Tests Ran: <strong><span class="total-counter" id="totalCounter"></span></strong> <span class="separator">|</span> Pass: <span class="pass" id="Pass"></span> <span class="separator">|</span> Fail: <span class="fail" id="Fail"></span>
+ <span class="separator">|</span>&nbsp;Failed To Load: <span class="fail" id="failedToLoadCounter1"></span>
+ <p><span id="nextActivity"></span></p>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder" id="tableLoggerParent">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-logger" id="tableLogger"></table>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ </div>
+
+ <div class="content-results">
+ <div class="crumbContainer">
+ <div class="crumbs"></div>
+ <div style="float:right;"><a class="setBlue hide" id="backlinkDiv" href="#"><< back</a></div>
+ <div style="clear : both;"></div>
+ </div>
+ <div class="resultsHeader"> <strong>Total Tests:<span class="totalCases"></span></strong><br />
+ Passed: <span class="passedCases"></span> <span class="separator">|</span> Failed: <span class="failedCases"></span> <span class="separator">|</span>
+ Failed To Load: <strong><span id="failedToLoadCounter"></span></strong>
+ </div>
+ <!-- This is the Table -->
+ <div class="resultsTableHolder">
+ <table width="100%" cellspacing="0" cellpadding="0" border="0" class="results-data-table"> </table>
+ <div id="resultMessage">Test results will be displayed after the tests are executed using the Run page.</div>
+ </div>
+ <div>
+ Test Suite Ver.: <span class="targetTestSuiteVersion"></span>&nbsp;<span class="separator">|</span>&nbsp;Test Suite Date: <span class="targetTestSuiteDate"></span>
+ </div>
+ <div class="downloadLinks">
+ <p><a class="anchor-download-xml" id="ancGenXMLReport"><strong>Download results as XML</strong></a></p> <!--| <strong><a href="scripts/testcases.zip">Download Source</a></strong></p>-->
+ </div>
+ <div id="legend" class="hide">
+ <label class="reportGreen">Green:</label>&nbsp;100%&nbsp;
+ <label class="reportLightGreen">Green:</label>&nbsp;75% to 99.9%&nbsp;
+ <label class="reportYellow">Yellow:</label>&nbsp;50% to 75% &nbsp;
+ <label class="reportRed">Red:</label>&nbsp;less than 50%
+ </div>
+ </div>
+ </div>
+ </div>
+ <!-- This is the Footer -->
+ <div class="footer">
+ <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>-->
+ <div class="copyright"> &copy; <a href='javascript:void(window.open("http://www.ecma-international.org"));'>Ecma International</a> </div>
+ </div>
+ <iframe id="scriptLoader" class="hide"></iframe>
+</body>
+</html>