WICG / deprecation-reporting

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

Don't use Date as a Web IDL type #7

Closed foolip closed 4 years ago

foolip commented 4 years ago

Unfortunately Date is not in https://heycam.github.io/webidl/#idl-types.

Instead, one has to use object in the Web IDL definition. Other examples: https://html.spec.whatwg.org/multipage/media.html#dom-media-getstartdate https://html.spec.whatwg.org/multipage/input.html#dom-input-valueasdate

foolip commented 4 years ago

@clelland can you review this? Note that I didn't update index.html, since I made this change from GitHub's web UI.

clelland commented 4 years ago

Looks good; I'll rebuild and push with the updated IDL.

foolip commented 4 years ago

@clelland maybe you're planning it separately, but I see that index.html wasn't updated yet.

clelland commented 4 years ago

Fixed now, thanks