summaryrefslogtreecommitdiff
path: root/tests/specs/run/unsafe_proto_flag/unsafe_proto/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/run/unsafe_proto_flag/unsafe_proto/worker.js')
-rw-r--r--tests/specs/run/unsafe_proto_flag/unsafe_proto/worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/specs/run/unsafe_proto_flag/unsafe_proto/worker.js b/tests/specs/run/unsafe_proto_flag/unsafe_proto/worker.js
new file mode 100644
index 000000000..b22bc8713
--- /dev/null
+++ b/tests/specs/run/unsafe_proto_flag/unsafe_proto/worker.js
@@ -0,0 +1,2 @@
+console.log(Object.hasOwn(Object.prototype, "__proto__"));
+close();