summaryrefslogtreecommitdiff
path: root/dom/bindings
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
commit444f4e9d444f4cdf583d96137637e6fab52f9a4f (patch)
tree6608bac749f8ec0d2a334f49ab79f99ec232ccd4 /dom/bindings
parent65436275d79fc19c52db59b642b002ca2753af20 (diff)
downloaduxp-444f4e9d444f4cdf583d96137637e6fab52f9a4f.tar.gz
Bug 1274159 - Part 1: Support looking up definitions by using constructor as a key;
Tag UXP Issue mcp-graveyard/UXP#1344
Diffstat (limited to 'dom/bindings')
-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 82bb1c2c6d..0eebff1160 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>