[Webkit-unassigned] [Bug 29481] [Qt] QWebFrame::evaluateJavaScript() always returns null
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 29 06:21:12 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29481
jedrzej.nowacki at nokia.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jedrzej.nowacki at nokia.com
--- Comment #1 from jedrzej.nowacki at nokia.com 2009-10-29 06:21:12 PDT ---
In example JavaScript code: "alert('hi'); return true;" throw an exception.
SyntaxError: Invalid return statement.
Return key word can't be used outside functions body.
Should be:
"alert('hi'); a = true;" or just "alert('hi'); true;"
The test case is wrong. Please close the bug.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list