B2G/gecko/dom/apps/tests/unit/test_manifestSanitizer.js
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .
function testEntryPoint(aRoot) {
  do_check_true(aRoot.name == "hello world");
  do_check_true(aRoot.description == "A bold name");
  do_check_true(aRoot.developer.name == "Blink Inc.");
  let permissions = aRoot.permissions;
  do_check_true(permissions.contacts.description == "Required for autocompletion in the share screen");
  do_check_true(permissions.alarms.description == "Required to schedule notifications");
}
function testEntryPoint ( aRoot ) { do_check_true ( aRoot . name == "hello world" ) ; do_check_true ( aRoot . description == "A bold name" ) ; do_check_true ( aRoot . developer . name == "Blink Inc." ) ; let permissions = aRoot . permissions ; do_check_true ( permissions . contacts . description == "Required for autocompletion in the share screen" ) ; do_check_true ( permissions . alarms . description == "Required to schedule notifications" ) ; }
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .