Updated Branches: refs/heads/master b3578063f -> be7f2754d
Fix useSetTimeout not working on iOS (use .checked instead of .value) Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/be7f2754 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/be7f2754 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/be7f2754 Branch: refs/heads/master Commit: be7f2754d90707f93d4b55ebb1edcd7472d59247 Parents: b357806 Author: Andrew Grieve <agri...@chromium.org> Authored: Wed Oct 3 15:57:51 2012 -0400 Committer: Andrew Grieve <agri...@chromium.org> Committed: Wed Oct 3 15:57:51 2012 -0400 ---------------------------------------------------------------------- execbenchmark/index.html | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/be7f2754/execbenchmark/index.html ---------------------------------------------------------------------- diff --git a/execbenchmark/index.html b/execbenchmark/index.html index e63f53c..018b117 100644 --- a/execbenchmark/index.html +++ b/execbenchmark/index.html @@ -52,8 +52,8 @@ startTime = +new Date, callCount = 0, durationMs = parseInt(document.getElementById('test-duration').value, 10) * 1000, - asyncEcho = !!document.getElementById('async-echo').value, - useSetTimeout = !!document.getElementById('use-setTimeout').value, + asyncEcho = document.getElementById('async-echo').checked, + useSetTimeout = document.getElementById('use-setTimeout').checked, jsToNativeMode = document.getElementById('js-native-modes').value, nativeToJsMode = document.getElementById('native-js-modes').value, payloadSize = +document.getElementById('payload-size').value, @@ -83,7 +83,7 @@ echo(win, fail, payload, asyncEcho); } - var logMsg = 'Started exec benchmark with setTimeout: ' + useSetTimeout + ' payload length: ' + payload.length; + var logMsg = 'Started exec benchmark with setTimeout: ' + useSetTimeout + ' asyncEcho: ' + asyncEcho + ' payload length: ' + payload.length; if (jsToNativeMode) { exec.setJsToNativeBridgeMode(+jsToNativeMode); logMsg += ' jsToNativeMode: ' + jsToNativeMode;