зеркало из https://github.com/mozilla/gecko-dev.git
Bug 865947 - Force all string event handlers to be evaluated in the content scope. r=jaws,bz
This commit is contained in:
Родитель
9e0ae56b05
Коммит
923472acd0
|
@ -259,7 +259,7 @@
|
|||
case "string":
|
||||
if (!aIgnoreNextCall) {
|
||||
try {
|
||||
this["_on" + aName] = new Function("event", aValue);
|
||||
this["_on" + aName] = new XPCNativeWrapper.unwrap(window).Function("event", aValue);
|
||||
}
|
||||
catch(e) {
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче