mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
b7a3ab7ad6
MozReview-Commit-ID: Kw0U6I0E94F --HG-- extra : rebase_source : 7f3ea6507bade3cd9d4afe45960340273cdb6bac
16 lines
753 B
JavaScript
16 lines
753 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
const { DOMLocalization } =
|
|
Components.utils.import("resource://gre/modules/DOMLocalization.jsm", {});
|
|
|
|
add_task(function test_methods_presence() {
|
|
equal(typeof DOMLocalization.prototype.getAttributes, "function");
|
|
equal(typeof DOMLocalization.prototype.setAttributes, "function");
|
|
equal(typeof DOMLocalization.prototype.translateElement, "function");
|
|
equal(typeof DOMLocalization.prototype.translateFragment, "function");
|
|
equal(typeof DOMLocalization.prototype.connectRoot, "function");
|
|
equal(typeof DOMLocalization.prototype.disconnectRoot, "function");
|
|
equal(typeof DOMLocalization.prototype.translateRoots, "function");
|
|
});
|