repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git]
/
js
/
xpconnect
/
tests
/
unit
/
test_bug1170311.js
blob
cdbe62407a6e7a3aad47b5b2b0d969588dda0964
1
function run_test() {
2
do_check_throws_nsIException(() => Cu.getObjectPrincipal({}).equals(null), "NS_ERROR_ILLEGAL_VALUE");
3
do_check_throws_nsIException(() => Cu.getObjectPrincipal({}).subsumes(null), "NS_ERROR_ILLEGAL_VALUE");
4
}