Closed Bug 1477269 Opened 6 years ago Closed 5 years ago

Thunderbird : List message in folder

Categories

(Developer Documentation Graveyard :: General, enhancement, P5)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: staub.jch, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
I use this tutorial "Listing Messages in a Folder" : https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_extensions/HowTos/Folders_and_message_lists

What happened?
==============
I have this error : TypeError: invalid 'in' operand aEnum  iteratorUtils.jsm:85:7

What should have happened?
==========================
o bug

Is there anything else we should know?
======================================
Component: API → General
Product: developer.mozilla.org → Developer Documentation
The staff team is not actively documenting Thunderbird. Requesting assistance from Thunderbird team. :squib -- can you find someone to take a look at the example snippet here and make sure it's correct?
Flags: needinfo?(jporter+bmo)
I'm not really sure who'd be best, but my guess is that `in` should read `of`. If that doesn't work, I could look into it further...
Flags: needinfo?(jporter+bmo)
Thanks, Jim. zz10 -- does changing "in" to "of" in the code snippet resolve the problem?
Flags: needinfo?(staub.jch)
Priority: -- → P5
Yes, those iterators have changed, 'of' should do it, see:
https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57#Changes_in_thunderbird57
Who is taking on updating the doc?
Or is the doc correct and this bug is invalid?
Flags: needinfo?(staub.jch)

(In reply to Wayne Mery (:wsmwk) from comment #5)

Who is taking on updating the doc?
Or is the doc correct and this bug is invalid [i.e. MDN is no longer our official documentation site]?

Flags: needinfo?(jorgk)

Well, our documentation lives here now and there's a team maintaining it:
https://developer.thunderbird.net/add-ons/tb68

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jorgk)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.