[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 144884] New: kjs thinks that the pattern "{code} (expression)"
From: Marco Monteiro <masm () acm ! org>
Date: 2007-04-30 17:43:27
Message-ID: 20070430194327.144884.masm () acm ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=144884
Summary: kjs thinks that the pattern "{code} (expression)" is a
function call.
Product: konqueror
Version: unspecified
Platform: Fedora RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: kjs
AssignedTo: konq-bugs kde org
ReportedBy: masm acm org
Version: (using KDE KDE 3.5.6)
Installed from: Fedora RPMs
Any Javascript code than has that general pattern fails to execute with the error:
"TypeError: Object [object Object] (result of expression { }) does not allow calls."
I get this error for all of the following code segments:
"{} (x);"
"if (true) {} (x);"
"while (false) {} (x);"
There is no error in the following:
"function f() {} (x);"
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic