mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 761707 followup. Restore an assert that should not have gone away. r=ms2ger
This commit is contained in:
parent
d550dd40f0
commit
f2c8c366eb
@ -70,6 +70,8 @@ template <class T>
|
||||
inline T*
|
||||
UnwrapDOMObject(JSObject* obj)
|
||||
{
|
||||
MOZ_ASSERT(IsDOMClass(JS_GetClass(obj)));
|
||||
|
||||
JS::Value val = js::GetReservedSlot(obj, DOM_OBJECT_SLOT);
|
||||
// XXXbz/khuey worker code tries to unwrap interface objects (which have
|
||||
// nothing here). That needs to stop.
|
||||
|
Loading…
Reference in New Issue
Block a user