Bug 18197

Summary: Render of vbolshov.org.ru/samples/svgraph failed
Product: WebKit Reporter: Eugene Pimenov <libc.mail>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2    
Version: 525.x (Safari 3.1)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://vbolshov.org.ru/samples/svgraph/

Description Eugene Pimenov 2008-03-28 16:43:09 PDT
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
Comment 1 Alexey Proskuryakov 2008-03-31 23:48:19 PDT
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.
Comment 2 Alexey Proskuryakov 2008-03-31 23:55:37 PDT
I asked around, at it seems that we don't want to break the standard in this regard, closing as INVALID.