Cocoa file picker does not specify interfaces for its file enumerators
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
People
(Reporter: kmag, Assigned: kmag)
References
Details
Attachments
(1 file)
Other platforms do, which means that JS callers which don't explicitly query each element are broken only on OS-X.
Assignee | ||
Comment 1•4 years ago
|
||
Without this, JS callers which don't explicitly query every element returned
by the enumerator are broken only on MacOS.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
It looks like the original motivation for this was a bug on Thunderbird based on ESR, so it might be nice to backport this fix if it is appropriate, in case there are other issues lurking there.
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
It might be nice, yeah, but I think their fix may be enough for those purposes. I think there's only one place in mozilla-central that would be affected by this, but there's an instanceof nsIFile
check that makes it work even if the enumerator doesn't return the correct interface.
I was mainly worried about new code that lands and works correctly on automation and most platforms, but then blows up on OS-X when it actually ships.
Comment 5•4 years ago
|
||
bugherder |
Comment 6•4 years ago
|
||
The patch landed in nightly and beta is affected.
:kmag, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Description
•