Closed Bug 1565832 Opened 5 years ago Closed 5 years ago

Some extensions don't work anymore after landing patches from bug #1558914

Categories

(Firefox :: Extension Compatibility, defect)

70 Branch
x86_64
Windows 7
defect
Not set
critical

Tracking

()

VERIFIED WONTFIX
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- wontfix

People

(Reporter: Virtual, Unassigned)

References

(Regression)

Details

(Keywords: addon-compat, nightly-community, regression)

STR:

  1. Start Firefox Portable with clean new fresh profile without any addons (extensions, plugins, themes, etc.)
  2. Add "Download Star" extension ( https://addons.mozilla.org/en-US/firefox/addon/download-star/ )
    and see that it doesn't work anymore after landing patches from bug #1558914

Regression caused by:
Bug #1558914 - Remove BinAST tests with Array generics. r=arai

Differential Revision:
https://phabricator.services.mozilla.com/D37273

Has Regression Range: --- → yes
Has STR: --- → yes

I also sent extension developer email about this and I'm also ni & CC this person here.

Other extensions are probably also affected by it if they're using these deleted features.

I have a trivial fix for Download Star and will publish an update to the extension this weekend.

Flags: needinfo?(mark)

At least a function in Tree Style Tab is affected. Author is notified via:
https://github.com/piroor/treestyletab/issues/2332

Tom, are these issues expected (i.e. we expect extension owners to work around them?)

Flags: needinfo?(evilpies)

For web developers, I have already posted a compatibility note but it shouldn’t affect production sites because it’s a Firefox-only feature. For extension developers, someone has to communicate via blog or MDN.

Keywords: addon-compat

(In reply to Liz Henry (:lizzard) (use needinfo) from comment #4)

Tom, are these issues expected (i.e. we expect extension owners to work around them?)

We didn't have any idea how much extensions would be affected, but we expect extension authors to work around them. This is still Nightly only, so I think we can just wait for some more extensions to be fixed.

Flags: needinfo?(evilpies)

I thought https://mxr.mozilla.org/addons/ was available to Mozilla employees where you could search source code of AMO-hosted extensions. Do you have the successor?

Update: probably not.

Does AMO platform has some kind of scanner to search for deleted/obsolete features/things in Firefox extensions and inform extensions developers about it? I remember some discussion very long time ago about it, but I don't know results. Or maybe it was what Kohei Yoshino [:kohei] wrote in Comment #7?

Basing on Tom Schuster [:evilpie] reply in Comment #6, I'm changing Component to Extension Compatibility.

Component: JavaScript Engine → Extension Compatibility
Product: Core → Firefox

We don't have a suitable replacement in place. Maybe Andreas has ideas, but otherwise we should just announce the breaking change in the blog.

Flags: needinfo?(awagner)

Yes, unfortunately, we don't have something like that in place. If this is a major issue, we have a pattern that wouldn't cause too many false positives and someone (from Mozilla staff) would be willing to analyze the results, I can grep over all add-on code for that particular pattern. It would be a one-off though, it's not something we can do on a regular basis.

Flags: needinfo?(awagner)

Flagging this for caitlin, to see if she's okay posting in the add-ons blog.

Flags: needinfo?(cneiman)

If we are going to post this anyway, it would be nice to at least mention that we plan to remove toSource (Array.prototype.toSource, Function.prototype.toSource etc.) and uneval. (Bug 1418769)

Yes, we should post this to the Add-ons Blog and note the upcoming removal of toSource and uneval.

Kohei, we will point to your compatibility note about non-standard Array generics being deprecated. Do we have any similar documentation regarding toSource and uneval?

Flags: needinfo?(cneiman)

When you do post, can you comment here and link to the entry? After that, let's close this bug as WONTFIX. Thanks!

Flags: needinfo?(cneiman)

Marking as wontfix as per comment #14, removing tracking flag for 70 and marking as wontfix as this is a nightly only deprecation at the moment.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.