Closed Bug 1611509 Opened 2 years ago Closed 2 years ago

Remove Date support

Categories

(Core :: DOM: Bindings (WebIDL), defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(3 files)

It's been gone from the spec for years. See https://github.com/heycam/webidl/pull/69 and https://www.w3.org/Bugs/Public/show_bug.cgi?id=22824

The only non-test consumers we have are:

  1. HTMLInputElement.valueAsDate. This is defined to return object in the spec now; we can just change to that without too much trouble.
  2. DeprecationReportBody.anticipatedRemoval. This doesn't exist in the reporting api draft, as far as I can see; can we just remove it? In any case, https://github.com/w3c/reporting/issues/132 talks about this and ends up with "don't use an ES Date", right?
Priority: -- → P2
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ac6f554eb279
part 1.  Stop using Date in HTMLInputElement.webidl.  r=baku
https://hg.mozilla.org/integration/autoland/rev/6a6ab9ca6a0a
part 2.  Stop using Date in Reporting.webidl.  r=baku
https://hg.mozilla.org/integration/autoland/rev/874c47828960
part 3.  Remove the Date type from Web IDL.  r=edgar
You need to log in before you can comment on or make changes to this bug.