Skip to content

Angular recorder error with plugin #6388

Closed
@vojtechjelinek

Description

Describe the bug
angular-recorder throws an error when browser plugin is used.

To Reproduce
Steps to reproduce the behavior:

  1. Use Firefox with Change Geolocation add-on
  2. Open oppia.org
  3. The page won't load and there is an error in the console.

Desktop (please complete the following information; delete this section if the issue does not arise on desktop):

Additional context
This is caused by this part of angular-recorder code. It tries to retrieve the src attribute of the last script-import and since the plugin inserts <script>…</script> without the src attribute it throws an error.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions