mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-12 05:45:52 +01:00
Don't block the entire Firefox process during io.system.
--HG-- extra : rebase_source : 7e3889e5bf19cdd1726fdd5c3dcdb98f4f0374f5
This commit is contained in:
@@ -38,7 +38,10 @@ if (!Object.defineProperty)
|
||||
if ("value" in desc)
|
||||
if (desc.writable && !objproto.__lookupGetter__.call(obj, prop)
|
||||
&& !objproto.__lookupSetter__.call(obj, prop))
|
||||
obj[prop] = value;
|
||||
try {
|
||||
obj[prop] = value;
|
||||
}
|
||||
catch (e if e instanceof TypeError) {}
|
||||
else {
|
||||
objproto.__defineGetter__.call(obj, prop, function () value);
|
||||
if (desc.writable)
|
||||
|
||||
Reference in New Issue
Block a user