From 3692a4dc4dd3b83fa1bda6f002aeb86c0df2cc5f Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 19 Jul 2010 01:22:47 +0200 Subject: Explaining why #2 has been wontfixed. --- lib/bzpage.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/bzpage.js') diff --git a/lib/bzpage.js b/lib/bzpage.js index bb9e58f..6d04f52 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -270,6 +270,14 @@ BZPage.prototype.centralCommandDispatch = function centralCommandDispatch (cmdLa * Fetches the command object from this.installedPackages and then * goes through all commands contained in it, and calls * this.centralCommandDispatch to execute them. + * + * PROBLEM: according to https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference\ + * /Statements/for...in there is no guaranteed order of execution of + * commands (i.e., key, commentObj[key] pairs) in for..in cycle. + * According to https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference\ + * /Operators/Special_Operators/delete_Operator#Cross-browser_issues it seems that + * everywhere except of Internet Explorer this should work well, but waiting + * impatiently when this bite us. */ BZPage.prototype.executeCommand = function executeCommand (cmd) { var cmdArr = cmd.split("//"); -- cgit