Bug 1071177 - Support symbol keys and throw exception on unique symbols with CPOWs. r=billm
This commit is contained in:
@@ -440,7 +440,8 @@ JavaScriptShared::toSymbolVariant(JSContext *cx, JS::Symbol *symArg, SymbolVaria
|
||||
*symVarp = RegisteredSymbol(autoStr);
|
||||
return true;
|
||||
}
|
||||
MOZ_CRASH("unique symbols not yet implemented");
|
||||
|
||||
JS_ReportError(cx, "unique symbol can't be used with CPOW");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user