aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-19 01:22:47 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-19 01:23:27 +0200
commit3692a4dc4dd3b83fa1bda6f002aeb86c0df2cc5f (patch)
tree5801008fc7362920eda1c4c2e9acc70093a4094f /lib
parent6bfea9fe58a028de3262f04275149b3495654ef8 (diff)
downloadbugzilla-triage-3692a4dc4dd3b83fa1bda6f002aeb86c0df2cc5f.tar.gz
Explaining why #2 has been wontfixed.
Diffstat (limited to 'lib')
-rw-r--r--lib/bzpage.js8
1 files changed, 8 insertions, 0 deletions
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("//");