mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Bug 568707 - "key is not defined" results in broken form history service [r=mconnor]
Pretend to call a function with "key" to keep it around.
This commit is contained in:
parent
6c55e65cf7
commit
55e055bb98
@ -24,6 +24,9 @@ function FormNotifier() {
|
||||
continue;
|
||||
}
|
||||
|
||||
// XXX Bug 568707 Make use of "key" to prevent it from disappearing
|
||||
(function(){})(key);
|
||||
|
||||
// Wrap the function with notifications
|
||||
this[key] = function() {
|
||||
let args = Array.slice(arguments);
|
||||
|
Loading…
x
Reference in New Issue
Block a user