diff options
Diffstat (limited to 'js/src/jit-test/tests/self-hosting/makeconstructible-function-inherited-prototype-property.js')
-rw-r--r-- | js/src/jit-test/tests/self-hosting/makeconstructible-function-inherited-prototype-property.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/self-hosting/makeconstructible-function-inherited-prototype-property.js b/js/src/jit-test/tests/self-hosting/makeconstructible-function-inherited-prototype-property.js new file mode 100644 index 0000000000..ff4d0c000a --- /dev/null +++ b/js/src/jit-test/tests/self-hosting/makeconstructible-function-inherited-prototype-property.js @@ -0,0 +1,3 @@ +var proxy = new Proxy({ get: function() { throw 42; } }, {}); +Function.prototype.__proto__ = proxy; +this.hasOwnProperty("Intl"); |