tenfourfox/dom/mobileconnection/tests/marionette/test_mobile_neighboring_cell_ids.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

19 lines
573 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
MARIONETTE_TIMEOUT = 30000;
MARIONETTE_HEAD_JS = "head_chrome.js";
// Start test.
startTestBase(function() {
// Emulator doesn't support REQUEST_GET_NEIGHBORING_CELL_IDS, so we expect to
// get an 'RequestNotSupported' error here.
return getNeighboringCellIds()
.then(() => {
ok(false, "should not success");
}, (aErrorMsg) => {
is(aErrorMsg, "RequestNotSupported",
"Failed to getNeighboringCellIds: " + aErrorMsg);
});
});