mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 08:07:59 +01:00
Fix CompletionContext#allItems in wake of quoting fixes in revision 8ea6242902e4; other small fixes.
This commit is contained in:
@@ -46,8 +46,11 @@ const JavaScript = Module("javascript", {
|
||||
// Properties aren't visible in an XPCNativeWrapper until
|
||||
// they're accessed.
|
||||
for (let key in properties(this.getKey(obj, "wrappedJSObject"), !toplevel))
|
||||
if (key in obj && !set.has(seen, key))
|
||||
yield key;
|
||||
try {
|
||||
if (key in obj && !set.has(seen, key))
|
||||
yield key;
|
||||
}
|
||||
catch (e) {}
|
||||
},
|
||||
|
||||
objectKeys: function objectKeys(obj, toplevel) {
|
||||
|
||||
Reference in New Issue
Block a user