added in cross origin type checks. assert_throws isn't working yet

This commit is contained in:
ddh 2017-05-15 17:06:47 +01:00
parent af3940fbf0
commit 0316a0def6
2 changed files with 13 additions and 10 deletions

View file

@ -77,6 +77,9 @@ enum WrapperType {
Opaque,
}
/* this is duplicate code. there's some in C in jsglue.cpp.
* TODO decide what to do about this
*/
#[derive(Debug, PartialEq)]
enum CrossOriginObjectType {
CrossOriginWindow,