Bug 1130411 - request complete logs for browser_change_app_handler.js to help figure out why it's breaking, rs=trivial,test-only

This commit is contained in:
Gijs Kruitbosch 2015-03-13 11:44:51 +00:00
parent dd30ee99df
commit 76032952c0

View File

@ -3,6 +3,8 @@ let gHandlerSvc = Cc["@mozilla.org/uriloader/handler-service;1"].getService(Ci.n
Services.prefs.setBoolPref("browser.preferences.inContent", true);
SimpleTest.requestCompleteLog();
function setupFakeHandler() {
let info = gMimeSvc.getFromTypeAndExtension("text/plain", "foo.txt");
ok(info.possibleLocalHandlers.length, "Should have at least one known handler");