summaryrefslogtreecommitdiff
path: root/tests/unit/webstorage_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/webstorage_test.ts')
-rw-r--r--tests/unit/webstorage_test.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/webstorage_test.ts b/tests/unit/webstorage_test.ts
index 9dc560af1..aa832b1c4 100644
--- a/tests/unit/webstorage_test.ts
+++ b/tests/unit/webstorage_test.ts
@@ -50,3 +50,8 @@ Deno.test(function webstorageProxy() {
assertEquals(localStorage[symbol as any], "bar");
assertEquals(symbol in localStorage, true);
});
+
+Deno.test(function webstorageGetOwnPropertyDescriptorSymbol() {
+ localStorage.clear();
+ Object.getOwnPropertyDescriptor(localStorage, Symbol("foo"));
+});