From 951537d80eca446280aefcbb0a8b35f4cad48b64 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sun, 10 Mar 2013 23:36:01 +0200 Subject: [PATCH] remove unnecessary testcases --- testcases/test-builtin-number.js | 38 -------------------------------- testcases/test-builtin-object.js | 20 ----------------- 2 files changed, 58 deletions(-) delete mode 100644 testcases/test-builtin-number.js delete mode 100644 testcases/test-builtin-object.js diff --git a/testcases/test-builtin-number.js b/testcases/test-builtin-number.js deleted file mode 100644 index aa6eb16f..00000000 --- a/testcases/test-builtin-number.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Number objects (E5 Section 15.7). - */ - -/*--- -{ - "skip": true -} ----*/ - -/* FIXME */ - -/*=== -undefined -true -true -false -===*/ - -/* When called as a constructor, a Number instance will always have the - * original Number.prototype regardless of what Number.prototype is now - * set to. E5 Section 15.7.2.1. - * - * However, Number.prototype is not writable or configurable, so this - * behavior doesn't need to be implemented explicitly; just ensure that - * Number.prototype is not writable. - */ - -var orig_prototype = Number.prototype; -var repl_prototype = { "foo": "bar" }; -Number.prototype = repl_prototype; /* this write will fail silently */ - -var num = new Number(123); -print(num.foo); -print(Object.getPrototypeOf(num) === Number.prototype); -print(Object.getPrototypeOf(num) === orig_prototype); -print(Object.getPrototypeOf(num) === repl_prototype); - diff --git a/testcases/test-builtin-object.js b/testcases/test-builtin-object.js deleted file mode 100644 index 1e98fa27..00000000 --- a/testcases/test-builtin-object.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Object objects (E5 Section 15.2). - */ - -/*--- -{ - "skip": true -} ----*/ - -/*=== -function -object -===*/ - -print(typeof Object); -print(typeof Object.prototype); - -/* FIXME */ -