Implement the [Exposed] extended attribute on interfaces.

Fixes #2823.
This commit is contained in:
Ms2ger 2016-07-08 15:48:55 +02:00
parent c064c4950d
commit d678b20616
4 changed files with 54 additions and 16 deletions

View file

@ -93,6 +93,9 @@ pub struct DOMClass {
/// The HeapSizeOf function wrapper for that interface.
pub heap_size_of: unsafe fn(*const c_void) -> usize,
/// The `Globals` flag for this global interface, if any.
pub global: InterfaceObjectMap::Globals,
}
unsafe impl Sync for DOMClass {}