Bug 561748 - fix test_nsIAccessibleDocument.html test

This commit is contained in:
Alexander Surkov 2010-04-27 13:13:07 +09:00
parent e034e858a4
commit 5d668bd37a

View File

@ -54,7 +54,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=441737
// Test for correct nsIDOMDocument retrieval.
var domDoc = null;
try {
domDoc = docAcc.document.QueryInterface(nsIDOMDocument);
domDoc = docAcc.DOMDocument.QueryInterface(nsIDOMDocument);
} catch(e) {}
ok(domDoc, "no nsIDOMDocument for this doc accessible!");
is(domDoc, document, "Document nodes do not match!");