Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Ajax/JavaScript
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      724
    • Status Whiteboard:
      Hide

      cat2 jsdoc size_small importance_large

      Show
      cat2 jsdoc size_small importance_large

      Description

      Script execution is standard in modern ajax engines like rich, ice or fry.

      If a piece of XHTML comes in via xhr and contains <script> tags the ajax engine
      should automatically trigger execution of these scripts. This is important if
      you want to replace a js function or if the scripts somehow initialize UI
      elements. It depends on a combination of the js replacement code
      (innerHTML/adjacentHTML/contextualFragment/...) and the browser platform whether
      the browsers automatically run these scripts, IE mostly doesn't run them FF
      mostly does so. The ajax engine should know whether the browser does
      automatically run the scripts and if it doesn't they should be triggered via js.

        Activity

        Hide
        rogerk added a comment -

        2.1_gf31_m5

        Show
        rogerk added a comment - 2.1_gf31_m5
        Hide
        rogerk added a comment -

        starting

        Show
        rogerk added a comment - starting
        Hide
        rogerk added a comment -

        I'm adding this section to the ajax.response jsdocs:

        "The implementation must check if <script> elements in the response can
        be automatically run, as some browsers support this feature and some do not.
        If they can not be run, then scripts should be extracted from the response and
        run separately."

        Show
        rogerk added a comment - I'm adding this section to the ajax.response jsdocs: "The implementation must check if <script> elements in the response can be automatically run, as some browsers support this feature and some do not. If they can not be run, then scripts should be extracted from the response and run separately."
        Hide
        rogerk added a comment -

        Checked In.

        Show
        rogerk added a comment - Checked In.
        Hide
        Manfred Riem added a comment -

        Closing resolved issue out

        Show
        Manfred Riem added a comment - Closing resolved issue out

          People

          • Assignee:
            rogerk
            Reporter:
            ganeshpuri
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: