Skip to content

jQuery.ajax: make dataType: "script" not execute scripts on unsuccessful HTTP status #4250

@mgol

Description

@mgol

Description

A followup of PR #4243 and an extension of issue #4126. We should stop evaluating scripts returned with an unsuccessful HTTP status when loaded via jQuery.ajax with dataType: "script". The fix in #4243 only targets DOM manipulation.

Link to test case

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions