[Pkg-mozext-commits] [tabmixplus] 02/27: TypeError: doc.location is null LinkNodeUtils.jsm:52

David Prévot taffit at moszumanska.debian.org
Fri Dec 26 01:04:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit e049716720911704d152b7d399435db3eb00d61a
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Oct 29 12:32:34 2014 +0200

    TypeError: doc.location is null LinkNodeUtils.jsm:52
---
 modules/LinkNodeUtils.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/LinkNodeUtils.jsm b/modules/LinkNodeUtils.jsm
index abff011..dd07d49 100644
--- a/modules/LinkNodeUtils.jsm
+++ b/modules/LinkNodeUtils.jsm
@@ -49,7 +49,7 @@ this.LinkNodeUtils = {
           frameElement: !!doc.defaultView.frameElement
         },
         location: {
-          href: doc.location.href
+          href: doc.location ? doc.location.href : ""
         }
       },
       parentNode: {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list