Bug 865947 - Force all string event handlers to be evaluated in the content scope. r=jaws,bz

This commit is contained in:
Bobby Holley 2013-04-29 14:37:36 -07:00
Родитель 9e0ae56b05
Коммит 923472acd0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;