When you open this URL you'll different HTML in View Source and Web Inspector. And it produce syntax errors because of it.
In opera and ff everything is OK.
Tested on nightly and 3.1
This problem is caused by a function named "import" - this is a reserved word, so it cannot be used for a function name. See ECMAScript-262 paragraph 7.5.3.
According to bug 6179 comment 6, we also match IE here.
I asked around, at it seems that we don't want to break the standard in this regard, closing as INVALID.