Comment 36 for bug 239952

Revision history for this message
In , Mh+mozilla (mh+mozilla) wrote :

(In reply to comment #10)
> > But what is supposed to happen when 'someType' is something that doesn't exist
>
> You mean a type we know nothing about? Return a MIME info with that type, and
> our best guess at the extensions for it. Since we know nothing about those,
> the only thing we can put in there is 'someExtension'.

Interestingly, that's not what the windows port does. The windows port returns the set of extensions for the type it guesses from the 'someExtension'
i.e getFromTypeAndExtention('wrong/type', 'eps') has ['eps', 'ps', 'ai'] as extensions.

Anyways, actually most of the test suite I already wrote worked almost unmodified but I'll try to have a better (faked) controlled environment to have all environments return the same (faked) values (we can't really depend on a specific OS configuration, right ?)

Would you mind doing another tryserver build with xpcshell, but for mac, this time ?

PS: Maybe all this should go in yet another bug, titled 'enhance helper service xpcshell test suite'.