Closed
Bug 1491601
Opened 6 years ago
Closed 6 years ago
TypeError: frame is undefined subdialogs.js:355:5, on resizing a preferences subdialogue, like about:config
Categories
(Thunderbird :: Preferences, defect)
Tracking
(thunderbird_esr6063+ fixed, thunderbird63 wontfix, thunderbird64 fixed)
RESOLVED
FIXED
Thunderbird 64.0
People
(Reporter: jorgk-bmo, Assigned: Paenglab)
Details
Attachments
(2 files, 1 obsolete file)
1.19 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
5.60 KB,
patch
|
Paenglab
:
review+
darktrojan
:
feedback+
|
Details | Diff | Splinter Review |
I came here from bug 1491562 comment #8. Already broken in TB 60 ESR.
Comment 2•6 years ago
|
||
I've got this.
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Flags: needinfo?(acelists)
Attachment #9015102 -
Flags: review?(jorgk)
Assignee | ||
Comment 3•6 years ago
|
||
You beat me. I synchronized subdialogs.js with the m-c version.
Reporter | ||
Comment 4•6 years ago
|
||
Comment on attachment 9015103 [details] [diff] [review] 1491601-subdialog.patch Review of attachment 9015103 [details] [diff] [review]: ----------------------------------------------------------------- Geoff and Richard, I prefer to keep in sync with FF as much as we can here. Apart from one hunk, this seems reasonable. Could you please cast an eye onto it. Thanks. r+ with the comment addressed. ::: mail/components/preferences/subdialogs.js @@ +276,5 @@ > + // > + // In that case, we expect them to define a Promise which will delay measuring > + // until the promise is fulfilled. > + if (aEvent.target.contentDocument.mozSubdialogReady) { > + await aEvent.target.contentDocument.mozSubdialogReady; I tried this the other day when looking for the missing Fluent labels and that doesn't work, so we can't port it.
Attachment #9015103 -
Flags: review+
Attachment #9015103 -
Flags: feedback?(geoff)
Reporter | ||
Comment 5•6 years ago
|
||
Comment on attachment 9015102 [details] [diff] [review] 1491601-subdialogs-undefined-1.diff Thanks, I prefer the other patch if you approve.
Attachment #9015102 -
Flags: review?(jorgk) → review+
Reporter | ||
Comment 6•6 years ago
|
||
Maybe we can use the "small" solution for TB 60 since keeping in sync is not required there.
Assignee | ||
Comment 7•6 years ago
|
||
Addressed comment. I saw no difference with or without this hunk, especially in the Fonts dialog. Carrying over the r+ and f? from previous patch but waiting for the check-in needed.
Attachment #9015103 -
Attachment is obsolete: true
Attachment #9015103 -
Flags: feedback?(geoff)
Attachment #9015105 -
Flags: review+
Attachment #9015105 -
Flags: feedback?(geoff)
Reporter | ||
Comment 8•6 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #7) > Addressed comment. I saw no difference with or without this hunk, ... When operating the language alternatives menu, you get this in the error console (and the debug windows if you have one): TypeError: aEvent.target.contentDocument is undefined; can't access its "mozSubdialogReady" property - subdialogs.js:279:5 As I said, I saw this the other day when I was looking for the missing Fluent strings.
Reporter | ||
Updated•6 years ago
|
Attachment #9015102 -
Flags: approval-comm-esr60+
Reporter | ||
Comment 9•6 years ago
|
||
TB 60.3 ESR: https://hg.mozilla.org/releases/comm-esr60/rev/147e5e18d4ca65efd9f186a9067199f784474210 (Geoff's patch)
status-thunderbird63:
--- → affected
status-thunderbird_esr60:
--- → fixed
tracking-thunderbird_esr60:
--- → 63+
Reporter | ||
Comment 10•6 years ago
|
||
Confirmed working in ESR build.
Reporter | ||
Updated•6 years ago
|
Attachment #9015102 -
Flags: approval-comm-beta+
Updated•6 years ago
|
Attachment #9015105 -
Flags: feedback?(geoff) → feedback+
Comment 11•6 years ago
|
||
Might as well assign this to somebody who made a decent effort. :)
Assignee: geoff → richard.marti
Comment 12•6 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/eaaaf728d1d6 Synchronize subdialog.js with M-C to fix JS TypeError. r=jorgk
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 64.0
Reporter | ||
Comment 13•6 years ago
|
||
TB 63.0b2: https://hg.mozilla.org/releases/comm-beta/rev/04ee89d424ba (Geoff's patch)
Reporter | ||
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•