summaryrefslogtreecommitdiffstats
path: root/dom/bindings/test
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-02 21:24:22 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:08 -0500
commit2d31ebf6b6bba8c1b90982f687346e5c6a0ff6ef (patch)
tree6608bac749f8ec0d2a334f49ab79f99ec232ccd4 /dom/bindings/test
parentbc8543bf793b5c203600c57565214b5e20f54592 (diff)
downloadUXP-2d31ebf6b6bba8c1b90982f687346e5c6a0ff6ef.tar
UXP-2d31ebf6b6bba8c1b90982f687346e5c6a0ff6ef.tar.gz
UXP-2d31ebf6b6bba8c1b90982f687346e5c6a0ff6ef.tar.lz
UXP-2d31ebf6b6bba8c1b90982f687346e5c6a0ff6ef.tar.xz
UXP-2d31ebf6b6bba8c1b90982f687346e5c6a0ff6ef.zip
Bug 1274159 - Part 1: Support looking up definitions by using constructor as a key;
Tag UXP Issue #1344
Diffstat (limited to 'dom/bindings/test')
-rw-r--r--dom/bindings/test/test_bug560072.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/bindings/test/test_bug560072.html b/dom/bindings/test/test_bug560072.html
index 82bb1c2c6..0eebff116 100644
--- a/dom/bindings/test/test_bug560072.html
+++ b/dom/bindings/test/test_bug560072.html
@@ -20,11 +20,12 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=560072
/** Test for Bug 560072 **/
is(document.body,
- Object.getOwnPropertyDescriptor(HTMLDocument.prototype, "body").get.call(document),
+ Object.getOwnPropertyDescriptor(Document.prototype, "body").get.call(document),
"Should get body out of property descriptor");
is(document.body,
- Object.getOwnPropertyDescriptor(Object.getPrototypeOf(document), "body").get.call(document),
+ Object.getOwnPropertyDescriptor(
+ Object.getPrototypeOf(Object.getPrototypeOf(document)), "body").get.call(document),
"Should get body out of property descriptor this way too");
</script>