diff --git a/modules/testrunner/firephoque/commons-io-2.4.jar b/modules/testrunner/firephoque/commons-io-2.4.jar deleted file mode 100644 index 90035a4fe0..0000000000 Binary files a/modules/testrunner/firephoque/commons-io-2.4.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/commons-io-2.5.jar b/modules/testrunner/firephoque/commons-io-2.5.jar new file mode 100644 index 0000000000..107b061f5f Binary files /dev/null and b/modules/testrunner/firephoque/commons-io-2.5.jar differ diff --git a/modules/testrunner/firephoque/cssparser-0.9.18.jar b/modules/testrunner/firephoque/cssparser-0.9.18.jar deleted file mode 100644 index aee7e29f69..0000000000 Binary files a/modules/testrunner/firephoque/cssparser-0.9.18.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/cssparser-0.9.20.jar b/modules/testrunner/firephoque/cssparser-0.9.20.jar new file mode 100644 index 0000000000..2f9a78b7eb Binary files /dev/null and b/modules/testrunner/firephoque/cssparser-0.9.20.jar differ diff --git a/modules/testrunner/firephoque/htmlunit-2.19.jar b/modules/testrunner/firephoque/htmlunit-2.19.jar deleted file mode 100644 index 44f7a5201c..0000000000 Binary files a/modules/testrunner/firephoque/htmlunit-2.19.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/htmlunit-2.23.jar b/modules/testrunner/firephoque/htmlunit-2.23.jar new file mode 100644 index 0000000000..7812646e54 Binary files /dev/null and b/modules/testrunner/firephoque/htmlunit-2.23.jar differ diff --git a/modules/testrunner/firephoque/htmlunit-core-js-2.17.jar b/modules/testrunner/firephoque/htmlunit-core-js-2.17.jar deleted file mode 100644 index 1f19ff0acb..0000000000 Binary files a/modules/testrunner/firephoque/htmlunit-core-js-2.17.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/htmlunit-core-js-2.23.jar b/modules/testrunner/firephoque/htmlunit-core-js-2.23.jar new file mode 100644 index 0000000000..49c96e0a9c Binary files /dev/null and b/modules/testrunner/firephoque/htmlunit-core-js-2.23.jar differ diff --git a/modules/testrunner/firephoque/httpclient-4.5.1.jar b/modules/testrunner/firephoque/httpclient-4.5.2.jar similarity index 61% rename from modules/testrunner/firephoque/httpclient-4.5.1.jar rename to modules/testrunner/firephoque/httpclient-4.5.2.jar index b9c0c1c250..701609fcc8 100644 Binary files a/modules/testrunner/firephoque/httpclient-4.5.1.jar and b/modules/testrunner/firephoque/httpclient-4.5.2.jar differ diff --git a/modules/testrunner/firephoque/httpcore-4.4.3.jar b/modules/testrunner/firephoque/httpcore-4.4.4.jar similarity index 85% rename from modules/testrunner/firephoque/httpcore-4.4.3.jar rename to modules/testrunner/firephoque/httpcore-4.4.4.jar index 9f91ef663e..ac4a877302 100644 Binary files a/modules/testrunner/firephoque/httpcore-4.4.3.jar and b/modules/testrunner/firephoque/httpcore-4.4.4.jar differ diff --git a/modules/testrunner/firephoque/httpmime-4.5.1.jar b/modules/testrunner/firephoque/httpmime-4.5.2.jar similarity index 68% rename from modules/testrunner/firephoque/httpmime-4.5.1.jar rename to modules/testrunner/firephoque/httpmime-4.5.2.jar index 53a6420129..474670a65a 100644 Binary files a/modules/testrunner/firephoque/httpmime-4.5.1.jar and b/modules/testrunner/firephoque/httpmime-4.5.2.jar differ diff --git a/modules/testrunner/firephoque/jetty-http-9.2.10.v20150310.jar b/modules/testrunner/firephoque/jetty-http-9.2.10.v20150310.jar deleted file mode 100644 index 15aff51050..0000000000 Binary files a/modules/testrunner/firephoque/jetty-http-9.2.10.v20150310.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/jetty-http-9.2.17.v20160517.jar b/modules/testrunner/firephoque/jetty-http-9.2.17.v20160517.jar new file mode 100644 index 0000000000..57dba992c0 Binary files /dev/null and b/modules/testrunner/firephoque/jetty-http-9.2.17.v20160517.jar differ diff --git a/modules/testrunner/firephoque/jetty-io-9.2.13.v20150730.jar b/modules/testrunner/firephoque/jetty-io-9.2.13.v20150730.jar deleted file mode 100644 index 3fd1d182ff..0000000000 Binary files a/modules/testrunner/firephoque/jetty-io-9.2.13.v20150730.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/jetty-io-9.2.18.v20160721.jar b/modules/testrunner/firephoque/jetty-io-9.2.18.v20160721.jar new file mode 100644 index 0000000000..a71f26d5b2 Binary files /dev/null and b/modules/testrunner/firephoque/jetty-io-9.2.18.v20160721.jar differ diff --git a/modules/testrunner/firephoque/jetty-util-9.2.13.v20150730.jar b/modules/testrunner/firephoque/jetty-util-9.2.18.v20160721.jar similarity index 78% rename from modules/testrunner/firephoque/jetty-util-9.2.13.v20150730.jar rename to modules/testrunner/firephoque/jetty-util-9.2.18.v20160721.jar index 93e97ad9aa..59fb34d82d 100644 Binary files a/modules/testrunner/firephoque/jetty-util-9.2.13.v20150730.jar and b/modules/testrunner/firephoque/jetty-util-9.2.18.v20160721.jar differ diff --git a/modules/testrunner/firephoque/neko-htmlunit-2.23.jar b/modules/testrunner/firephoque/neko-htmlunit-2.23.jar new file mode 100644 index 0000000000..d48f4f272c Binary files /dev/null and b/modules/testrunner/firephoque/neko-htmlunit-2.23.jar differ diff --git a/modules/testrunner/firephoque/nekohtml-1.9.22.jar b/modules/testrunner/firephoque/nekohtml-1.9.22.jar deleted file mode 100644 index 6a2e7828d6..0000000000 Binary files a/modules/testrunner/firephoque/nekohtml-1.9.22.jar and /dev/null differ diff --git a/modules/testrunner/firephoque/websocket-api-9.2.13.v20150730.jar b/modules/testrunner/firephoque/websocket-api-9.2.18.v20160721.jar similarity index 77% rename from modules/testrunner/firephoque/websocket-api-9.2.13.v20150730.jar rename to modules/testrunner/firephoque/websocket-api-9.2.18.v20160721.jar index 67346d7930..ff2904bc63 100644 Binary files a/modules/testrunner/firephoque/websocket-api-9.2.13.v20150730.jar and b/modules/testrunner/firephoque/websocket-api-9.2.18.v20160721.jar differ diff --git a/modules/testrunner/firephoque/websocket-client-9.2.13.v20150730.jar b/modules/testrunner/firephoque/websocket-client-9.2.18.v20160721.jar similarity index 85% rename from modules/testrunner/firephoque/websocket-client-9.2.13.v20150730.jar rename to modules/testrunner/firephoque/websocket-client-9.2.18.v20160721.jar index ccc894787d..30bc1ddf84 100644 Binary files a/modules/testrunner/firephoque/websocket-client-9.2.13.v20150730.jar and b/modules/testrunner/firephoque/websocket-client-9.2.18.v20160721.jar differ diff --git a/modules/testrunner/firephoque/websocket-common-9.2.13.v20150730.jar b/modules/testrunner/firephoque/websocket-common-9.2.18.v20160721.jar similarity index 63% rename from modules/testrunner/firephoque/websocket-common-9.2.13.v20150730.jar rename to modules/testrunner/firephoque/websocket-common-9.2.18.v20160721.jar index 51541d8632..dd047e10bb 100644 Binary files a/modules/testrunner/firephoque/websocket-common-9.2.13.v20150730.jar and b/modules/testrunner/firephoque/websocket-common-9.2.18.v20160721.jar differ diff --git a/modules/testrunner/public/test-runner/selenium/RemoteRunner.hta b/modules/testrunner/public/test-runner/selenium/RemoteRunner.hta index ddff5acf31..fb8bf68372 100644 --- a/modules/testrunner/public/test-runner/selenium/RemoteRunner.hta +++ b/modules/testrunner/public/test-runner/selenium/RemoteRunner.hta @@ -41,7 +41,7 @@ http-equiv="content-type"> - + - + - + diff --git a/modules/testrunner/public/test-runner/selenium/TestRunner.html b/modules/testrunner/public/test-runner/selenium/TestRunner.html index cbe6c09a11..18a23bacec 100644 --- a/modules/testrunner/public/test-runner/selenium/TestRunner.html +++ b/modules/testrunner/public/test-runner/selenium/TestRunner.html @@ -26,7 +26,6 @@ Selenium Functional Test Runner - - @@ -59,7 +57,7 @@ - + diff --git a/modules/testrunner/public/test-runner/selenium/scripts/atoms.js b/modules/testrunner/public/test-runner/selenium/scripts/atoms.js index 00cdad0f41..23062eb442 100644 --- a/modules/testrunner/public/test-runner/selenium/scripts/atoms.js +++ b/modules/testrunner/public/test-runner/selenium/scripts/atoms.js @@ -20,28 +20,73 @@ goog.DEBUG = !0; goog.LOCALE = "en"; goog.TRUSTED_SITE = !0; goog.STRICT_MODE_COMPATIBLE = !1; +goog.DISALLOW_TEST_ONLY_CODE = COMPILED && !goog.DEBUG; +goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING = !1; goog.provide = function(a) { + if (!COMPILED && goog.isProvided_(a)) { + throw Error('Namespace "' + a + '" already declared.'); + } + goog.constructNamespace_(a); +}; +goog.constructNamespace_ = function(a, b) { + if (!COMPILED) { + delete goog.implicitNamespaces_[a]; + for (var c = a;(c = c.substring(0, c.lastIndexOf("."))) && !goog.getObjectByName(c);) { + goog.implicitNamespaces_[c] = !0; + } + } + goog.exportPath_(a, b); +}; +goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/; +goog.module = function(a) { + if (!goog.isString(a) || !a || -1 == a.search(goog.VALID_MODULE_RE_)) { + throw Error("Invalid module identifier"); + } + if (!goog.isInModuleLoader_()) { + throw Error("Module " + a + " has been loaded incorrectly."); + } + if (goog.moduleLoaderState_.moduleName) { + throw Error("goog.module may only be called once per module."); + } + goog.moduleLoaderState_.moduleName = a; if (!COMPILED) { if (goog.isProvided_(a)) { throw Error('Namespace "' + a + '" already declared.'); } delete goog.implicitNamespaces_[a]; - for (var b = a;(b = b.substring(0, b.lastIndexOf("."))) && !goog.getObjectByName(b);) { - goog.implicitNamespaces_[b] = !0; - } } - goog.exportPath_(a); +}; +goog.module.get = function(a) { + return goog.module.getInternal_(a); +}; +goog.module.getInternal_ = function(a) { + if (!COMPILED) { + return goog.isProvided_(a) ? a in goog.loadedModules_ ? goog.loadedModules_[a] : goog.getObjectByName(a) : null; + } +}; +goog.moduleLoaderState_ = null; +goog.isInModuleLoader_ = function() { + return null != goog.moduleLoaderState_; +}; +goog.module.declareLegacyNamespace = function() { + if (!COMPILED && !goog.isInModuleLoader_()) { + throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module"); + } + if (!COMPILED && !goog.moduleLoaderState_.moduleName) { + throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace."); + } + goog.moduleLoaderState_.declareLegacyNamespace = !0; }; goog.setTestOnly = function(a) { - if (COMPILED && !goog.DEBUG) { - throw a = a || "", Error("Importing test-only code into non-debug environment" + a ? ": " + a : "."); + if (goog.DISALLOW_TEST_ONLY_CODE) { + throw a = a || "", Error("Importing test-only code into non-debug environment" + (a ? ": " + a : ".")); } }; goog.forwardDeclare = function(a) { }; COMPILED || (goog.isProvided_ = function(a) { - return!goog.implicitNamespaces_[a] && goog.isDefAndNotNull(goog.getObjectByName(a)); -}, goog.implicitNamespaces_ = {}); + return a in goog.loadedModules_ || !goog.implicitNamespaces_[a] && goog.isDefAndNotNull(goog.getObjectByName(a)); +}, goog.implicitNamespaces_ = {"goog.module":!0}); goog.getObjectByName = function(a, b) { for (var c = a.split("."), d = b || goog.global, e;e = c.shift();) { if (goog.isDefAndNotNull(d[e])) { @@ -58,40 +103,44 @@ goog.globalize = function(a, b) { c[d] = a[d]; } }; -goog.addDependency = function(a, b, c) { +goog.addDependency = function(a, b, c, d) { if (goog.DEPENDENCIES_ENABLED) { - var d; + var e; a = a.replace(/\\/g, "/"); - for (var e = goog.dependencies_, f = 0;d = b[f];f++) { - e.nameToPath[d] = a, a in e.pathToNames || (e.pathToNames[a] = {}), e.pathToNames[a][d] = !0; + var f = goog.dependencies_; + d && "boolean" !== typeof d || (d = d ? {module:"goog"} : {}); + for (var g = 0;e = b[g];g++) { + f.nameToPath[e] = a, f.pathIsModule[a] = "goog" == d.module; } for (d = 0;b = c[d];d++) { - a in e.requires || (e.requires[a] = {}), e.requires[a][b] = !0; + a in f.requires || (f.requires[a] = {}), f.requires[a][b] = !0; } } }; goog.ENABLE_DEBUG_LOADER = !0; +goog.logToConsole_ = function(a) { + goog.global.console && goog.global.console.error(a); +}; goog.require = function(a) { - if (!COMPILED && !goog.isProvided_(a)) { + if (!COMPILED) { + goog.ENABLE_DEBUG_LOADER && goog.IS_OLD_IE_ && goog.maybeProcessDeferredDep_(a); + if (goog.isProvided_(a)) { + return goog.isInModuleLoader_() ? goog.module.getInternal_(a) : null; + } if (goog.ENABLE_DEBUG_LOADER) { var b = goog.getPathFromDeps_(a); if (b) { - goog.included_[b] = !0; - goog.writeScripts_(); - return; + return goog.writeScripts_(b), null; } } a = "goog.require could not find: " + a; - goog.global.console && goog.global.console.error(a); + goog.logToConsole_(a); throw Error(a); } }; goog.basePath = ""; goog.nullFunction = function() { }; -goog.identityFunction = function(a, b) { - return a; -}; goog.abstractMethod = function() { throw Error("unimplemented abstract method"); }; @@ -105,16 +154,19 @@ goog.addSingletonGetter = function(a) { }; }; goog.instantiatedSingletons_ = []; +goog.LOAD_MODULE_USING_EVAL = !0; +goog.SEAL_MODULE_EXPORTS = goog.DEBUG; +goog.loadedModules_ = {}; goog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER; -goog.DEPENDENCIES_ENABLED && (goog.included_ = {}, goog.dependencies_ = {pathToNames:{}, nameToPath:{}, requires:{}, visited:{}, written:{}}, goog.inHtmlDocument_ = function() { +goog.DEPENDENCIES_ENABLED && (goog.dependencies_ = {pathIsModule:{}, nameToPath:{}, requires:{}, visited:{}, written:{}, deferred:{}}, goog.inHtmlDocument_ = function() { var a = goog.global.document; - return "undefined" != typeof a && "write" in a; + return null != a && "write" in a; }, goog.findBasePath_ = function() { - if (goog.global.CLOSURE_BASE_PATH) { + if (goog.isDef(goog.global.CLOSURE_BASE_PATH)) { goog.basePath = goog.global.CLOSURE_BASE_PATH; } else { if (goog.inHtmlDocument_()) { - for (var a = goog.global.document.getElementsByTagName("script"), b = a.length - 1;0 <= b;--b) { + for (var a = goog.global.document.getElementsByTagName("SCRIPT"), b = a.length - 1;0 <= b;--b) { var c = a[b].src, d = c.lastIndexOf("?"), d = -1 == d ? c.length : d; if ("base.js" == c.substr(d - 7, 7)) { goog.basePath = c.substr(0, d - 7); @@ -123,53 +175,159 @@ goog.DEPENDENCIES_ENABLED && (goog.included_ = {}, goog.dependencies_ = {pathToN } } } -}, goog.importScript_ = function(a) { - var b = goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_; - !goog.dependencies_.written[a] && b(a) && (goog.dependencies_.written[a] = !0); -}, goog.writeScriptTag_ = function(a) { +}, goog.importScript_ = function(a, b) { + (goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_)(a, b) && (goog.dependencies_.written[a] = !0); +}, goog.IS_OLD_IE_ = !(goog.global.atob || !goog.global.document || !goog.global.document.all), goog.importModule_ = function(a) { + goog.importScript_("", 'goog.retrieveAndExecModule_("' + a + '");') && (goog.dependencies_.written[a] = !0); +}, goog.queuedModules_ = [], goog.wrapModule_ = function(a, b) { + return goog.LOAD_MODULE_USING_EVAL && goog.isDef(goog.global.JSON) ? "goog.loadModule(" + goog.global.JSON.stringify(b + "\n//# sourceURL=" + a + "\n") + ");" : 'goog.loadModule(function(exports) {"use strict";' + b + "\n;return exports});\n//# sourceURL=" + a + "\n"; +}, goog.loadQueuedModules_ = function() { + var a = goog.queuedModules_.length; + if (0 < a) { + var b = goog.queuedModules_; + goog.queuedModules_ = []; + for (var c = 0;c < a;c++) { + goog.maybeProcessDeferredPath_(b[c]); + } + } +}, goog.maybeProcessDeferredDep_ = function(a) { + goog.isDeferredModule_(a) && goog.allDepsAreAvailable_(a) && (a = goog.getPathFromDeps_(a), goog.maybeProcessDeferredPath_(goog.basePath + a)); +}, goog.isDeferredModule_ = function(a) { + return (a = goog.getPathFromDeps_(a)) && goog.dependencies_.pathIsModule[a] ? goog.basePath + a in goog.dependencies_.deferred : !1; +}, goog.allDepsAreAvailable_ = function(a) { + if ((a = goog.getPathFromDeps_(a)) && a in goog.dependencies_.requires) { + for (var b in goog.dependencies_.requires[a]) { + if (!goog.isProvided_(b) && !goog.isDeferredModule_(b)) { + return !1; + } + } + } + return !0; +}, goog.maybeProcessDeferredPath_ = function(a) { + if (a in goog.dependencies_.deferred) { + var b = goog.dependencies_.deferred[a]; + delete goog.dependencies_.deferred[a]; + goog.globalEval(b); + } +}, goog.loadModuleFromUrl = function(a) { + goog.retrieveAndExecModule_(a); +}, goog.loadModule = function(a) { + var b = goog.moduleLoaderState_; + try { + goog.moduleLoaderState_ = {moduleName:void 0, declareLegacyNamespace:!1}; + var c; + if (goog.isFunction(a)) { + c = a.call(goog.global, {}); + } else { + if (goog.isString(a)) { + c = goog.loadModuleFromSource_.call(goog.global, a); + } else { + throw Error("Invalid module definition"); + } + } + var d = goog.moduleLoaderState_.moduleName; + if (!goog.isString(d) || !d) { + throw Error('Invalid module name "' + d + '"'); + } + goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(d, c) : goog.SEAL_MODULE_EXPORTS && Object.seal && Object.seal(c); + goog.loadedModules_[d] = c; + } finally { + goog.moduleLoaderState_ = b; + } +}, goog.loadModuleFromSource_ = function(a) { + eval(a); + return {}; +}, goog.writeScriptSrcNode_ = function(a) { + goog.global.document.write('