[Kst] [Bug 159103] New: javaScript allows different tabs to have the same name

Andrew Walker arwalker at sumusltd.com
Mon Mar 10 22:40:24 CET 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=159103         
           Summary: javaScript allows different tabs to have the same name
           Product: kst
           Version: 1.4.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: arwalker sumusltd com


Version:           1.4.0 (using KDE 3.5.9)
Installed from:    Compiled From Sources
OS:                Linux

The javaScript extensions allows the user to rename windows such that two or more windows have the same name

STEPS TO REPRODUCE
Start Kst
Create a new tab
Select Tools... Show JavaScript Console...
Enter the following:
Kst.windows[0].name="test"
kst.windows[1].name="test"

RESULTS:
Both tabs are now called "test"

EXPECTED RESULTS:
The renaming of the second tab should fail


More information about the Kst mailing list