Bug 1027131 - Remove invalid assertion. r=gabor

If a clone happens between two same-origin scopes, we'll end up with CCWs here
that are neither Xrays nor reflectors.
This commit is contained in:
Bobby Holley 2014-06-23 13:25:07 -07:00
parent ec0021861b
commit 5cb601631e

View File

@ -48,8 +48,6 @@ CloneNonReflectorsRead(JSContext *cx, JSStructuredCloneReader *reader, uint32_t
if (!JS_WrapObject(cx, &reflector))
return nullptr;
MOZ_ASSERT(WrapperFactory::IsXrayWrapper(reflector) ||
IsReflector(reflector));
return reflector;
}