Commit a187207
committed
Normative: Permit serialization of BigInt wrappers
The goal of this PR is to integrate BigInt with HTML serialization.
This patch
- Adds BigInt to the "safe list" of primitives permitted for
serialization.
- Adds serialization of BigInt wrappers, analogous to other wrappers.
Note that BigInt, like (the unserializable) Symbol does not have a
new-able constructor: use of wrappers is explicitly discouraged by
the specification. Nevertheless, this patch adds serialization support
for consistency with other wrappers.
web-platform-tests against postMessage on BigInt are out for review in
web-platform-tests/wpt#95651 parent fc82f4f commit a187207
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8127 | 8127 | | |
8128 | 8128 | | |
8129 | 8129 | | |
8130 | | - | |
| 8130 | + | |
8131 | 8131 | | |
8132 | 8132 | | |
8133 | 8133 | | |
| |||
8149 | 8149 | | |
8150 | 8150 | | |
8151 | 8151 | | |
| 8152 | + | |
| 8153 | + | |
| 8154 | + | |
| 8155 | + | |
8152 | 8156 | | |
8153 | 8157 | | |
8154 | 8158 | | |
| |||
8554 | 8558 | | |
8555 | 8559 | | |
8556 | 8560 | | |
| 8561 | + | |
| 8562 | + | |
| 8563 | + | |
| 8564 | + | |
8557 | 8565 | | |
8558 | 8566 | | |
8559 | 8567 | | |
| |||
0 commit comments