WICG / deprecation-reporting

Deprecation reporting (from Web Perf WG)
https://wicg.github.io/deprecation-reporting/
Other
3 stars 5 forks source link

"Date" is not a webIDL data type #2

Open bakulf opened 4 years ago

bakulf commented 4 years ago

Based on the webIDL spec, Date is not a data type: https://heycam.github.io/webidl/#es-type-mapping https://heycam.github.io/webidl/#idl-grammar

We should change readonly attribute Date? anticipatedRemoval to readonly attribute long long anticipatedRemoval, representing the number of milliseconds since the Unix Epoch. This is equivalent to Date.now() [ECMA-262].

clelland commented 4 years ago

Reopening; I accidentally closed this with #7, which fixes the "Not a WebIDL type" issue, but doesn't address the other question of whether we should be using an object in the first place.