projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faba665
)
Don't fail on same origin policy violations #349.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 6 May 2017 22:50:38 +0000
(
00:50
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 6 May 2017 23:32:10 +0000
(
01:32
+0200)
src/scripts/hints.js
patch
|
blob
|
history
diff --git
a/src/scripts/hints.js
b/src/scripts/hints.js
index
c381e45
..
80c5df2
100644
(file)
--- a/
src/scripts/hints.js
+++ b/
src/scripts/hints.js
@@
-209,9
+209,11
@@
var hints = Object.freeze((function(){
/* recurse into any iframe or frame element */
for (i = 0; i < win.frames.length; i++) {
- var rect,
- f = win.frames[i],
- e = f.frameElement;
+ try {
+ var rect, f = win.frames[i], e = f.frameElement;
+ } catch (ex) {
+ continue;
+ }
if (isVisible(e)) {
rect = e.getBoundingClientRect();