browser_gcli_keyboard5.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * Copyright 2012, Mozilla Foundation and contributors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. "use strict";
  17. // THIS FILE IS GENERATED FROM SOURCE IN THE GCLI PROJECT
  18. // PLEASE TALK TO SOMEONE IN DEVELOPER TOOLS BEFORE EDITING IT
  19. const exports = {};
  20. function test() {
  21. helpers.runTestModule(exports, "browser_gcli_keyboard5.js");
  22. }
  23. // var helpers = require('./helpers');
  24. exports.testCompleteDown = function (options) {
  25. return helpers.audit(options, [
  26. {
  27. setup: "tsn e<DOWN><DOWN><DOWN><DOWN><DOWN><TAB>",
  28. check: { input: "tsn exte " }
  29. },
  30. {
  31. setup: "tsn e<DOWN><DOWN><DOWN><DOWN><TAB>",
  32. check: { input: "tsn ext " }
  33. },
  34. {
  35. setup: "tsn e<DOWN><DOWN><DOWN><TAB>",
  36. check: { input: "tsn extend " }
  37. },
  38. {
  39. setup: "tsn e<DOWN><DOWN><TAB>",
  40. check: { input: "tsn exten " }
  41. },
  42. {
  43. setup: "tsn e<DOWN><TAB>",
  44. check: { input: "tsn exte " }
  45. },
  46. {
  47. setup: "tsn e<TAB>",
  48. check: { input: "tsn ext " }
  49. }
  50. ]);
  51. };