| Summary: | window.windowName does not return the name of the window | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Yiwen Mao <yiwenv> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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 |
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"