[Kst] [Bug 163647] New: window.windowName does not return the name of the window
Yiwen Mao
yiwenv at live.ca
Mon Jun 9 20:16:52 CEST 2008
------- 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=163647
Summary: window.windowName does not return the name of the window
Product: kst
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst kde org
ReportedBy: yiwenv live ca
Version: 1.7 (using KDE 4.0.1)
Installed from: Unspecified
OS: Linux
The windowName property does not return the name of the window
Open JavaScript console in Kst. Type the following codes
kst> w=new Window("Test")
Window
kst> w.windowName
undefined
kst> p=new Plot(w.windowName)
Error: TypeError: Plot: Argument 0 was not of the expected type.
kst> p=new Plot("Test")
Plot
p=new Plot(w.windowName) and p=new Plot("Test") should construct the same plot on the winodw since w.windowName is "Test"; however w.windowName fails to return "Test"
More information about the Kst
mailing list