Bug 163647

Summary: window.windowName does not return the name of the window
Product: [Applications] kst Reporter: Yiwen Mao <yiwenv>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Yiwen Mao 2008-06-09 20:16:51 UTC
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"
Comment 1 Andrew Walker 2008-06-11 21:01:01 UTC
SVN commit 819682 by arwalker:

BUG:163647 The documentation incorrectly refered to windowName. The actual javaScript property is 'name'

 M  +1 -1      bind_window.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=819682