Name Description Size
handlers.json 2086
head.js Initialization for tests related to invoking external handler applications. 2533
mailcap 57
test_badMIMEType.js 1119
test_defaults_handlerService.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 6693
test_filename_sanitize.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 12334
test_getFromTypeAndExtension.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4596
test_getMIMEInfo_pdf.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1083
test_getMIMEInfo_unknown_mime_type.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1304
test_getTypeFromExtension_ext_to_type_mapping.js Test for bug 508030 <https://bugzilla.mozilla.org/show_bug.cgi?id=508030>: nsIMIMEService.getTypeFromExtension fails to find a match in the "ext-to-type-mapping" category if the provided extension is not lowercase. 2200
test_getTypeFromExtension_with_empty_Content_Type.js Test for bug 484579 <https://bugzilla.mozilla.org/show_bug.cgi?id=484579>: nsIMIMEService.getTypeFromExtension may fail unexpectedly on Windows when "Content Type" is empty in the registry. 7129
test_handlerService.js // // Constants const handlerSvc = Cc["@mozilla.org/uriloader/handler-service;1"].getService( Ci.nsIHandlerService ); const mimeSvc = Cc["@mozilla.org/mime;1"].getService(Ci.nsIMIMEService); const protoSvc = Cc[ "@mozilla.org/uriloader/external-protocol-service;1" ].getService(Ci.nsIExternalProtocolService); const prefSvc = Services.prefs; let noMailto = false; if (mozinfo.os == "win") { // Check mailto handler from registry. // If registry entry is nothing, no mailto handler let regSvc = Cc["@mozilla.org/windows-registry-key;1"].createInstance( Ci.nsIWindowsRegKey ); try { regSvc.open(regSvc.ROOT_KEY_CLASSES_ROOT, "mailto", regSvc.ACCESS_READ); noMailto = false; } catch (ex) { noMailto = true; } regSvc.close(); } if (mozinfo.os == "linux") { // Check mailto handler from GIO // If there isn't one, then we have no mailto handler let gIOSvc = Cc["@mozilla.org/gio-service;1"].createInstance( Ci.nsIGIOService ); try { gIOSvc.getAppForURIScheme("mailto"); noMailto = false; } catch (ex) { noMailto = true; } } //* ************************************************************************ 18012
test_handlerService_store.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 26404
test_punycodeURIs.js 3722
xpcshell.toml 1216