mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Duh.
This commit is contained in:
parent
9721bdfe63
commit
0bc43fbec1
@ -201,8 +201,6 @@ function toObject(v, r, rn) {
|
||||
return v;
|
||||
}
|
||||
var message = r + " (type " + (typeof v) + ") has no properties";
|
||||
if (r instanceof Reference)
|
||||
message += ", not even " + r.propertyName;
|
||||
throw rn ? new TypeError(message, rn.filename, rn.lineno)
|
||||
: new TypeError(message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user