[Webkit-unassigned] [Bug 15200] New: JavaScript: 'return' statement should be illegal outside the body of a function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 12 22:43:15 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15200
Summary: JavaScript: 'return' statement should be illegal outside
the body of a function
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Keywords: HasReduction
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
CC: johneseif at gmail.com
* SUMMARY
A 'return' statement outside of the body of a function should be syntactically
incorrect. JavaScriptCore currently accepts such a construct.
* STEPS TO REPRODUCE
1. Open test case in Safari/WebKit.
* EXPECTED RESULTS
"PASS" should appear on the page.
* ACTUAL RESULTS
"FAIL" appears on the page.
* REGRESSION
This is not a regression as Safari 2.0.4 (419.3) with original WebKit on Mac OS
X 10.4.10 (8R218) behaves the same way.
Tested with a local debug build of WebKit r25505 with Safari 3 Public Beta v.
3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list