Closed Bug 1445374 Opened 8 years ago Closed 8 years ago

Port Bug 1443079: nsIScriptError::Init() has another argument now

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 61.0

People

(Reporter: jorgk-bmo, Assigned: jorgk-bmo)

Details

Attachments

(1 file)

mailnews/base/util/nsMsgDBFolder.cpp:3571:171: error: no matching function for call to 'nsIScriptError::Init(NS_ConvertUTF8toUTF16, const nsString&, const nsString&, int, int, nsIScriptError::<anonymous enum>, const char [9])' Patch should be easy.
Local compile running :-)
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/9bd75170c7ae Port Bug 1443079: nsIScriptError::Init() has another argument now. rs=bustage-fix DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Attachment #8958559 - Flags: review?(philipp)
Attachment #8958559 - Flags: review?(acelists)
I don't know where the default it set in JS if the argument is omitted, but TB doesn't do "private browsing" and the M-C changeset mostly uses 'false': https://hg.mozilla.org/mozilla-central/rev/47a89fa7cfd2
Target Milestone: --- → Thunderbird 61.0
Comment on attachment 8958559 [details] [diff] [review] 1445374-nsIScriptError.patch Review of attachment 8958559 [details] [diff] [review]: ----------------------------------------------------------------- Thanks.
Attachment #8958559 - Flags: review?(acelists) → review+
Comment on attachment 8958559 [details] [diff] [review] 1445374-nsIScriptError.patch Review of attachment 8958559 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. JS doesn't need a change since it is [optional]. The default for optional and unspecified args is undefined, which is falsey.
Attachment #8958559 - Flags: review?(philipp) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: