 + * http://opensource.org/licenses/BSD-3-Clause
 + */
 +
-+define('gclitest/index', ['require', 'exports', 'module' , 'test/examiner', 'gclitest/testTokenize', 'gclitest/testSplit', 'gclitest/testCli', 'gclitest/testHistory', 'gclitest/testRequire'], function(require, exports, module) {
++define('gclitest/index', ['require', 'exports', 'module' , 'gcli/index', 'test/examiner', 'gclitest/testTokenize', 'gclitest/testSplit', 'gclitest/testCli', 'gclitest/testHistory', 'gclitest/testRequire'], function(require, exports, module) {
++
++  // We need to make sure GCLI is initialized before we begin testing it
++  require('gcli/index');
 +
 +  var examiner = require('test/examiner');
 +

new file mode 100644
--- /dev/null
+++ b/browser/devtools/webconsole/test/browser/browser_gcli_web.js
@@ -0,0 +1,1401 @@
+/*
+ * Copyright 2009-2011 Mozilla Foundation and contributors
+ * Licensed under the New BSD license. See LICENSE.txt or:

# HG changeset patch
# Parent 7a9eedf7aa10680b6333e254d80a4aca3d14160b
# User Joe Walker <jwalker@mozilla.com>
Bug 690822 - GCLI web tests should be capable of being run in the browser

