[Pkg-mozext-commits] [firebug] 15/68: Fix for dom/attributes test, failing in Nightly. Related to issue 3790
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.
commit 774f899ce9e556b25bc59a8ced39c0942df5f81b
Author: Jan Odvarko <odvarko at gmail.com>
Date: Wed Mar 13 19:00:39 2013 +0100
Fix for dom/attributes test, failing in Nightly. Related to issue 3790
---
extension/content/firebug/chrome/reps.js | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/extension/content/firebug/chrome/reps.js b/extension/content/firebug/chrome/reps.js
index 544cfd0..0d8e1a8 100644
--- a/extension/content/firebug/chrome/reps.js
+++ b/extension/content/firebug/chrome/reps.js
@@ -3184,7 +3184,22 @@ FirebugReps.NamedNodeMap = domplate(Firebug.Rep,
supportsObject: function(object, type)
{
- return (object instanceof window.NamedNodeMap);
+ try
+ {
+ return (object instanceof window.NamedNodeMap);
+ }
+ catch (err)
+ {
+ // Fails in Firefox 22
+ }
+
+ try
+ {
+ return (object instanceof window.MozNamedAttrMap);
+ }
+ catch (err)
+ {
+ }
},
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list