Skip to content

Commit 56d2b34

Browse files
BasixKORdomenic
authored andcommitted
Add BigInt objects to structured cloning test
BigInts were missing on the structured clone test although it was defined in the HTML specification.
1 parent 5b0e164 commit 56d2b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IndexedDB/structured-clone.any.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const strings = [
120120
}));
121121

122122
// "Primitive" Objects (Boolean, Number, BigInt, String)
123-
[].concat(booleans, numbers, strings)
123+
[].concat(booleans, numbers, bigints, strings)
124124
.forEach(value => cloneObjectTest(Object(value), (orig, clone) => {
125125
assert_equals(orig.valueOf(), clone.valueOf());
126126
}));

0 commit comments

Comments
 (0)