Open
Bug 941729
Opened 11 years ago
Updated 1 year ago
GeckoConsole: [JavaScript Warning: "Use of Mutation Events is deprecated. Use MutationObserver instead." {file: "chrome://reftest/content/reftest-content.js" line: 526}]
Categories
(Testing :: Reftest, defect)
Testing
Reftest
Tracking
(Not tracked)
NEW
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
(Blocks 1 open bug)
Details
This warning is printed for every crashtest AFAICT.
We should fix the underlying issue.
https://tbpl.mozilla.org/php/getParsedLog.php?id=30865332&tree=Mozilla-Inbound
Comment 1•11 years ago
|
||
The reftest harness looks for DOMAttrModified events to find when class="reftest-wait" is removed for reftests that need to do work onload:
http://hg.mozilla.org/mozilla-central/annotate/3c4fc4279e6a/layout/tools/reftest/reftest-content.js#l474
I don't think it's particularly complicated, probably an easy fix.
Comment 2•11 years ago
|
||
Use a MutationObserver?
(new MutationObserver(function(r, m) {
m.disconnect();
AttrModifiedListener();
})).observe(contentRootElement, { attributes: true })
Updated•11 years ago
|
Summary: GeckoConsole: [JavaScript Warning: "Use of Mutation Events is deprecated. Use MutationObserver instead." {file: "chrome://reftest/content/reftest-content.js" line: 466}] → GeckoConsole: [JavaScript Warning: "Use of Mutation Events is deprecated. Use MutationObserver instead." {file: "chrome://reftest/content/reftest-content.js" line: 526}]
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•