Source object should maintain URL of the script source as a private field

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b82
    • generic
    • generic

      We have many compileScript and evaluateScript overloads in Context. We should get URL of the script source from Source object itself rather than passing URL separately. Source can keep URL in a private final field and return it via a getter. Context can the URL (if non-null) for CodeSource.

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: