ignore TypeError: Attempted to assign to readonly property.

This commit is contained in:
j 2015-02-06 11:02:19 +05:30
parent 243c1958c1
commit 8c39aa37d0

View file

@ -22,6 +22,9 @@ appPanel
(function() { (function() {
window.onerror = function(error, url, line) { window.onerror = function(error, url, line) {
if(error == 'TypeError: Attempted to assign to readonly property.') {
return
}
try { try {
!isMSIE && !/^resource:/.test(url) && pandora.api.logError({ !isMSIE && !/^resource:/.test(url) && pandora.api.logError({
text: error, text: error,