Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2683 closed defect (fixed)

xdomain: loading a local file after page load causes an error.

Reported by: James Burke Owned by: James Burke
Priority: high Milestone:
Component: Loader Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description

Using an xdomain build, after page load, if you do:

dojo.require("something.local");
dojo.addOnLoad(function(){
    something.local.foo();
});

The addOnLoad listener function will be called immediately, but the module is still waiting for the xd loader to do the final eval of the module.

Change History (9)

comment:1 Changed 12 years ago by James Burke

There is a test case in tests/loader/2683

comment:2 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [7884]) Fixes #2683. Loading local modules after page load should work now.

comment:3 Changed 12 years ago by James Burke

Resolution: fixed

(In [7885]) (merge from 0.4 branch) Fixes #2683. Loading local modules after page load should work now.

comment:4 Changed 12 years ago by James Burke

Resolution: fixed

(In [7886]) (merge from 0.4 branch) Fixes #2683. Loading local modules after page load should work now.

comment:5 Changed 12 years ago by James Burke

Resolution: fixed
Status: closedreopened

Fix did not address the debugAtAllCosts case. Reopening. Also, I think the core issue is fixing something that happened in r7590

comment:6 Changed 12 years ago by James Burke

Resolution: fixed
Status: reopenedclosed

(In [8005]) Fixes #2683. Did not fix debugAtAllCosts case with previous fix, and I was trying to fix it in the wrong way.

comment:7 Changed 12 years ago by James Burke

Resolution: fixed

(In [8006]) (merge from 0.4 branch) Fixes #2683. Did not fix debugAtAllCosts case with previous fix, and I was trying to fix it in the wrong way.

comment:8 Changed 12 years ago by James Burke

Resolution: fixed

(In [8007]) (merge from 0.4 branch) Fixes #2683. Did not fix debugAtAllCosts case with previous fix, and I was trying to fix it in the wrong way.

comment:9 Changed 12 years ago by (none)

Milestone: 0.4.3

Milestone 0.4.3 deleted

Note: See TracTickets for help on using tickets.