Ticket #2683 (closed defect: fixed)

Opened 20 months ago

Last modified 18 months ago

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

Reported by: jburke Owned by: jburke
Priority: normal Milestone:
Component: PackageSystem Version: 0.4.2
Severity: normal Keywords:
Cc:

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

Changed 20 months ago by jburke

There is a test case in tests/loader/2683

Changed 20 months ago by jburke

  • status changed from new to closed
  • resolution set to fixed

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

Changed 20 months ago by jburke

  • status changed from closed to closed
  • resolution set to fixed

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

Changed 20 months ago by jburke

  • status changed from closed to closed
  • resolution set to fixed

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

Changed 20 months ago by jburke

  • status changed from closed to reopened
  • resolution deleted

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

Changed 20 months ago by jburke

  • status changed from reopened to closed
  • resolution set to fixed

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

Changed 20 months ago by jburke

  • status changed from closed to closed
  • resolution set to 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.

Changed 20 months ago by jburke

  • status changed from closed to closed
  • resolution set to 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.

Changed 18 months ago by anonymous

  • milestone deleted

Milestone 0.4.3 deleted

Note: See TracTickets for help on using tickets.