1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 07:25:46 +01:00

Work around more Tracemonkey brokenness.

This commit is contained in:
Kris Maglione
2010-11-05 15:03:50 -04:00
parent 97589ce40b
commit 22610a10a9
3 changed files with 17 additions and 10 deletions

View File

@@ -217,8 +217,7 @@ function debuggerProperties(obj) {
* @returns {Generator}
*/
function prototype(obj)
// Temporary hack:
typeof obj === "xml" || obj.__proto__ !== obj.__proto__ ? null :
/* Temporary hack: */ typeof obj === "xml" || obj.__proto__ !== obj.__proto__ ? null :
obj.__proto__ || Object.getPrototypeOf(obj) ||
XPCNativeWrapper.unwrap(obj).__proto__ ||
Object.getPrototypeOf(XPCNativeWrapper.unwrap(obj));