mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1344443 followup: fix a bug in the test.
MozReview-Commit-ID: Ex52TL8trgd
This commit is contained in:
parent
947993dd6e
commit
7bff0683ed
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user