Opened 8 years ago
Closed 7 years ago
#17768 closed defect (patchwelcome)
Elements of failed Scripts are never removed
Reported by: | seijikun | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | Loader | Version: | 1.9.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The <script>
-elements in the document's <head>
-element that have failed (for example with 404) are never removed from the DOM. This might be the reason for the error callback of the loader only being invoked once:
require.on('error', function(err){ //I am only called once. });
First try:
require(['not/existing/module'], function(module){ //I am not called });
Second try:
require(['not/existing/module'], function(module){ //I am again not called });
After the first try, neither the error-callback nor the require()
's callback are invoked.
Change History (1)
comment:1 Changed 7 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!