Open Bug 1838846 Opened 1 year ago Updated 1 year ago

Revise the deprecation warning message for MutationEvent

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

People

(Reporter: hsinyi, Unassigned)

References

(Blocks 1 open bug, )

Details

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

You need to log in before you can comment on or make changes to this bug.