Closed Bug 766756 Opened 12 years ago Closed 12 years ago

Show compatibility error if an add-on invokes queryCommandText or execCommandShowHelp

Categories

(addons.mozilla.org Graveyard :: Compatibility Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorgev, Assigned: basta)

Details

(Whiteboard: [fx14])

As explained in bug 742261, queryCommandText and execCommandShowHelp have been removed from nsIDOMHTMLDocument. We need to flag all instances of these methods and show an error.

This is a compatibility error, so the add-on should not be upgraded in this case.

Message:

The queryCommandText and execCommandShowHelp functions have been removed from the nsIDOMHTMLDocument interface. See <LINK> for more information.

Link: https://bugzilla.mozilla.org/show_bug.cgi?id=742261

Affected add-on:

https://addons.mozilla.org/en-US/firefox/addon/firebug/
Merged:

https://github.com/mozilla/amo-validator/commit/86d06cfabca5ede6ca0d5da072a5851bffde65be
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
> Affected add-on:
> 
> https://addons.mozilla.org/en-US/firefox/addon/firebug/

Jorge, basta tells me that firebug doesn't use these flagged methods in a way which would fail compatibility.

Are you aware of any other add-ons which do? mxr wasn't very helpful.
I only found Firebug-related add-ons that do this. If that code doesn't cause any compat problems, there's nothing else that needs testing.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.