mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Backed out changeset 29a1c6a34550 (bug 958782) for bustage on a CLOSED TREE
This commit is contained in:
parent
3f3edec80b
commit
c8e49575e2
@ -77,8 +77,21 @@ function addTest(text, segments, charsPerSegment, charsAvailableInLastSegment) {
|
||||
});
|
||||
}
|
||||
|
||||
addTest(null, 1, PDU_MAX_USER_DATA_7BIT,
|
||||
PDU_MAX_USER_DATA_7BIT - "null".length);
|
||||
function addTestThrows(text) {
|
||||
tasks.push(function() {
|
||||
log("Testing '" + text + "' ...");
|
||||
try {
|
||||
let domRequest = manager.getSegmentInfoForText(text);
|
||||
|
||||
ok(false, "Not thrown.");
|
||||
tasks.finish();
|
||||
} catch (e) {
|
||||
tasks.next();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
addTestThrows(null);
|
||||
|
||||
// Testing "undefined".
|
||||
addTest(undefined, 1, PDU_MAX_USER_DATA_7BIT,
|
||||
|
@ -21,7 +21,7 @@ var gData = [
|
||||
perm: ["sms"],
|
||||
needParentPerm: true,
|
||||
obj: "mozMobileMessage",
|
||||
webidl: "MozMobileMessageManager",
|
||||
idl: "nsIDOMMozMobileMessageManager",
|
||||
settings: [["dom.sms.enabled", true]],
|
||||
},
|
||||
]
|
||||
|
@ -667,7 +667,7 @@ var interfaceNamesInGlobalScope =
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileNetworkInfo", b2g: true, pref: "dom.mobileconnection.enabled"},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "MozMobileMessageManager", b2g: true, pref: "dom.sms.enabled"},
|
||||
"MozMobileMessageManager",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"MozMobileMessageThread",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
Loading…
Reference in New Issue
Block a user