mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
added in cross origin type checks. assert_throws isn't working yet
This commit is contained in:
parent
af3940fbf0
commit
0316a0def6
2 changed files with 13 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue