For example, "C-h i ]]" would previously give many errors like the following:

Console error: [JavaScript Warning: "reference to undefined property 
children[k].alt" {file: "chrome://conkeror/content/follow-relationship.js" 
line: 72}]
---

I think the errors are only seen with xulrunner-1.9.1.
---
 modules/follow-relationship.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/follow-relationship.js b/modules/follow-relationship.js
index 8d5c9ff..f8d30c9 100644
--- a/modules/follow-relationship.js
+++ b/modules/follow-relationship.js
@@ -68,7 +68,7 @@ function document_get_element_by_relationship (doc, patterns, 
relationship) {
             // images with alt text being href
             var children = elems[i].childNodes;
             for (var k = 0; k < children.length; k++) {
-                if (pattern.test(children[k].alt))
+                if (children[k].alt && pattern.test(children[k].alt))
                     return elems[i];
             }
         }
-- 
1.6.5

_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to