webcompat / webcompat-reporter-extensions

Browser extensions to help report site compatibilty issues.
26 stars 21 forks source link

Fixes #52: Port Firefox WebExtension to bootstrap.js add-on #57

Closed miketaylr closed 7 years ago

miketaylr commented 7 years ago

TODO:

r? @denschub

(My plan here is to incorporate any/all review feedback from Dennis before submitting patches in Bugzilla to get merged into moz-central -- I suppose this is a weird way around a feedback? request!)

miketaylr commented 7 years ago

Note: you can test this by going to about:debugging and from "Load Temporary Add-on" select bootstrap.js.

miketaylr commented 7 years ago

Let me explain the basic architecture:

miketaylr commented 7 years ago

Oops, lost some fixup commits when rebasing!

miketaylr commented 7 years ago

ok @denschub -- ready for another round!

miketaylr commented 7 years ago

I can install it, but when I restart the browser, I hit that exception

Ah, that's the missing STR. Thanks!

miketaylr commented 7 years ago

OK, @denschub, made some tweaks and have uploaded latest to https://miketaylr.com/tmp/reporter.html. Whatcha think?

(note: I did just find a bug that i'm not removing all tab listeners when you uninstall the add-on. i'm not super worried about that, but will come up with something tomorrow).

miketaylr commented 7 years ago

Last commit fixed the uninstall bug. r? @denschub

miketaylr commented 7 years ago

Totally forgot that this version doesn't add the context menu stuff, but that can be a different bug. :)