Closed
Bug 1597653
Opened 5 years ago
Closed 5 years ago
test_bug453650.xhtml uses various unknown properties Ci.<interface>.equals
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
Following the recent move of the test file from xul to xhtml, ESLint is able to process more of it. I have a script that checks for undefined Ci.* properties in use, and it picked up this bit:
QueryInterface: function (iid) {
if (Ci.nsIReflowObserver.equals(iid) ||
Ci.nsISupportsWeakReference.equals(iid) ||
Ci.nsISupports.equals(iid))
return this;
throw Cr.NS_ERROR_NO_INTERFACE;
},
The interfaces have either never supported .equals
or only did so a long time ago, so these are all uses of an unknown property. In addition, this should just be changed to use ChromeUtils.generateQI
.
Assignee | ||
Comment 1•5 years ago
|
||
Change the QueryInterface function to use ChromeUtils.generateQI.
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6290bf0c39f7
Fix uses of unknown property 'equals' in test_bug453650.xhtml. r=smaug
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in
before you can comment on or make changes to this bug.
Description
•