Closed Bug 1838846 Opened 1 year ago Closed 5 months ago

Revise the deprecation warning message for MutationEvent

Categories

(Core :: DOM: Events, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: hsinyi, Assigned: mathew.hodson)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

The warning message of using MutationEvent was added in bug 749920 for more than 10 years. The usage rate is still high.

We should consider to revise the warning message to get more attentions and to send a stronger signal to call for developers' support.

The current message is

Use of Mutation Events is deprecated. Use MutationObserver instead.

Suggestion:

Mutation Events are deprecated and will be removed soon. Use MutationObserver instead. [Learn More]

...where learn more is a link to https://developer.mozilla.org/en-US/docs/Web/API/MutationEvent

Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED
Component: DOM: Core & HTML → DOM: Events
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/533d6e78c12c Update MutationEvent deprecated warning messages r=masayuki,flod https://hg.mozilla.org/integration/autoland/rev/5af89b939313 1838848: apply code formatting via Lando
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: