mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
wombat: don't log iframe.contentWindow access exception, safely ignorable
This commit is contained in:
parent
1aa273340c
commit
8d1823c1c2
@ -1813,14 +1813,6 @@ var wombat_internal = function($wbwindow) {
|
||||
|
||||
//============================================
|
||||
function init_iframe_wombat(iframe) {
|
||||
/*
|
||||
if (iframe._wombat) {
|
||||
return;
|
||||
}
|
||||
|
||||
iframe._wombat = true;
|
||||
*/
|
||||
|
||||
var win;
|
||||
|
||||
if (iframe._get_contentWindow) {
|
||||
@ -1831,10 +1823,10 @@ var wombat_internal = function($wbwindow) {
|
||||
|
||||
try {
|
||||
if (!win || win == $wbwindow || win._skip_wombat || win._wb_wombat) {
|
||||
return iframe;
|
||||
return;
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
return;
|
||||
}
|
||||
|
||||
//var src = iframe.src;
|
||||
|
Loading…
x
Reference in New Issue
Block a user