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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user