honestbleeps / BabelExt

BabelExt is a cross browser boilerplate/library for extension development
http://babelext.com/
MIT License
227 stars 36 forks source link

Not working in Firefox? #20

Closed isync closed 10 years ago

isync commented 10 years ago

For me, BabelExt and the "Kitchen Sink Demo" works in Chrome, but under cfx run (Firefox 29) I see no page modifications on http://babelext.com/sink.html. Seems the add-on is not running, although cfx/Firefox lists it under Add-Ons. Is it the URL selector in main.js ("*.babelext.com" vs bare "babelext.com")? - dunno.

Just another note: the makelinks.sh script only works (on Ubuntu) with the shebang #!/bin/bash.

honestbleeps commented 10 years ago

I will try and test this later tonight, I haven't tested in Firefox in a while as I've been swamped with other work. I'll have a look. Are you getting any useful error messages in the console / terminal window?

isync commented 10 years ago

Not really. I think I've already silenced some by changing the BabelExt require lines to point to require("sdk/some-library") instead of require("some-library") - I've had warnings about that which are gone now... What remains is this sort of thing (on a visit to /sink.html):

(Sorry for being such a Mozilla-internals-noob, not contributing much apart from raising an issue...)

(addon-sdk-1.16)user@machine: ~/BabelExt/Firefox$ cfx run
Using binary at '/usr/bin/firefox'.

(process:7106): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Using profile at '/tmp/tmpD3cXc9.mozrunner'.

(process:7110): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[7110] WARNING: Attempt to add property GnomeProgram::sm-connect after class was initialised: 'glib warning', file /build/buildd/firefox-29.0+build1/toolkit/xre/nsSigHandlers.cpp, line 127

(firefox:7110): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
[7110] WARNING: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised: 'glib warning', file /build/buildd/firefox-29.0+build1/toolkit/xre/nsSigHandlers.cpp, line 127

(firefox:7110): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
[7110] WARNING: Attempt to add property GnomeProgram::display after class was initialised: 'glib warning', file /build/buildd/firefox-29.0+build1/toolkit/xre/nsSigHandlers.cpp, line 127

(firefox:7110): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
[7110] WARNING: Attempt to add property GnomeProgram::default-icon after class was initialised: 'glib warning', file /build/buildd/firefox-29.0+build1/toolkit/xre/nsSigHandlers.cpp, line 127

(firefox:7110): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
JavaScript strict warning: chrome://global/content/bindings/textbox.xml, line 119: reference to undefined property this.inputField.selectionStart

[snip snip (seems even more uninteresting)]

JavaScript strict warning: http://babelext.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js?ver=3.0.83c, line 17: reference to undefined property k['html-script']
JavaScript strict warning: http://babelext.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js?ver=3.0.83c, line 17: assignment to undeclared variable className
JavaScript strict warning: http://babelext.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js?ver=3.0.83c, line 17: assignment to undeclared variable gutter
JavaScript strict warning: https://apis.google.com/js/plusone.js, line 46: reference to undefined property b.cookiepolicy
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 4: function Ia does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 13: function Pc does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 27: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 27: anonymous function does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 28: function b does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 40: anonymous function does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 42: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 43: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 43: anonymous function does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 44: anonymous function does not always return a value
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 4: reference to undefined property this.R[(this.prefix + a)]
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 14: reference to undefined property a[c]
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 31: reference to undefined property b.dh
JavaScript strict warning: http://www.google-analytics.com/ga.js, line 22: reference to undefined property b[m[la](...)]
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: function o does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: function R does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: function at does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: function In does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: function zn does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: function Zn does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: test for equality (==) mistyped as assignment (=)?
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 5: anonymous function does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: reference to undefined property d.attributes[c].expando
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 3: reference to undefined property e.selector
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1, line 2: function a does not always return a value
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1, line 2: reference to undefined property jQuery.migrateMute
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1, line 2: reference to undefined property e.migrateTrace
console.error: babelext_your_name_here: 
  Error opening input stream (invalid filename?)
console.error: babelext_your_name_here: 
  Error opening input stream (invalid filename?)
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: reference to undefined property x.event.triggered
JavaScript strict warning: http://babelext.com/wp-includes/js/jquery/jquery.js?ver=1.10.2, line 4: reference to undefined property x.cache[e[x.expando]]
console.error: babelext_your_name_here: 
  Error opening input stream (invalid filename?)
console.error: babelext_your_name_here: 
  Error opening input stream (invalid filename?)
´´´
honestbleeps commented 10 years ago

my apologies for leaving this one open, but I was never able to replicate the issue and still cannot replicate.

did you ever get around the issue, or did you just give up and move on?