browser/devtools/commandline/test/browser_cmd_restart.js

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

     1 /* Any copyright is dedicated to the Public Domain.
     2  * http://creativecommons.org/publicdomain/zero/1.0/ */
     4 // Test that restart command works properly (input wise)
     6 const TEST_URI = "data:text/html;charset=utf-8,gcli-command-restart";
     8 function test() {
     9   helpers.addTabWithToolbar(TEST_URI, function(options) {
    10     return helpers.audit(options, [
    11       {
    12         setup: 'restart',
    13         check: {
    14           input:  'restart',
    15           markup: 'VVVVVVV',
    16           status: 'VALID',
    17           args: {
    18             nocache: { value: false },
    19           }
    20         },
    21       },
    22       {
    23         setup: 'restart --nocache',
    24         check: {
    25           input:  'restart --nocache',
    26           markup: 'VVVVVVVVVVVVVVVVV',
    27           status: 'VALID',
    28           args: {
    29             nocache: { value: true },
    30           }
    31         },
    32       },
    33     ]);
    34   }).then(finish, helpers.handleError);
    35 }

mercurial