Open RedYetiDev opened 3 days ago
A JavaScript value value is a platform object if Type(value) is Object and if value has a [[PrimaryInterface]] internal slot.
The primary interface of a platform object is the value of the object’s [[PrimaryInterface]] internal slot, which is the most-derived interface that it implements.
Request's webidl declaration does not extend anything, therefore it's a platform object.
Hopefully this may help someone.
@nodejs/web-standards @joyeecheung
In Node.js, the following snippet succeeds, whereas, in the browser, it throws a
DataCloneError
:This is causing the following WPT to fail: