Bug 1344443 followup: fix a bug in the test.

MozReview-Commit-ID: Ex52TL8trgd
This commit is contained in:
Boris Zbarsky 2017-03-08 22:29:20 -05:00
parent 947993dd6e
commit 7bff0683ed

View File

@ -149,7 +149,7 @@ addTest(function(exception_t) {
if (Reflect.setPrototypeOf) {
assert_false(Reflect.setPrototypeOf(C, new Object()),
"Reflect.setPrototypeOf on cross-origin Window");
assert_false(Reflect.setPrototypeOf(C, new Object()),
assert_false(Reflect.setPrototypeOf(C.location, new Object()),
"Reflect.setPrototypeOf on cross-origin Location");
}
}, "[[SetPrototypeOf]] should return false");