Bug 1177381 - View source from error console uses deprecated API. r=neil

This commit is contained in:
Ian Neal 2015-07-27 10:07:00 -04:00
parent e0396955ea
commit 56cb3d425b

View File

@ -538,7 +538,7 @@
var url = document.getBindingParent(this).mSourceName;
url = url.substring(url.lastIndexOf(" ") + 1);
var line = getAttribute("line");
gViewSourceUtils.viewSource(url, null, null, line);
gViewSourceUtils.viewSource({URL: url, lineNumber: line});
]]>
</handler>
</handlers>