Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4059

String constructor should not appear off of string instances

    Details

    • Story Points:
      8

      Description

      JS.4.004 of the wiki Web Acceptance Suite says global methods should not appear in Content Assist list for quoted string objects, however if you enter this in a JavaScript file : "message". (quotes and dot operator included), the methods eval and String, which are classified as Global Functions at : http://www.w3schools.com/jsref/jsref_obj_global.asp, will appear in Content Assist.

      Steps to Replicate :

      1) Open Aptana Studio
      2) Open a JavaScript file
      3) Enter (including quotes and the dot operator) "characters".

      Actual Results :

      Content Assist will include the methods eval and String, which is classified as a Global Function at : http://www.w3schools.com/jsref/jsref_obj_global.asp.

      Expected Results :

      Wiki item JS.4.004 states Content Assist from quoted string objects should not contain Global methods.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                jwitt Joel Witt
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code