Closed Bug 1501294 Opened 6 years ago Closed 5 years ago

Some Tabs API functions don't work in debug builds

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 65.0

People

(Reporter: neil, Assigned: darktrojan)

References

Details

Attachments

(1 file)

Debug builds validate the values returned to the extension against the schema.

For instance, the tabs.create API returns Toolkit tab objects to the extension and the properties of this object are validated in debug builds.

However Thunderbird's schema doesn't contain all of the properties that Toolkit sets on tab objects so the validation fails.
Same patch, different bug.
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9029735 - Flags: review?(mkmelin+mozilla)
Attachment #9029735 - Flags: review?(mkmelin+mozilla) → review+
Keywords: checkin-needed
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c474610d2c81
Stop returning some useless properties in a WebExtensions tab object; r=mkmelin
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 65.0
Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: