Opened 12 years ago

Closed 12 years ago

#4446 closed defect (fixed)

doh runner.js has a reference to a non-existent module ("doh._base")

Reported by: guest Owned by: alex
Priority: high Milestone: 1.0
Component: TestFramework Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

The doh runner.js has a dojo.require statement for a module that I cannot find anyway in the pre-built and built versions of Dojo. The code path only hits this require statement if the code is not running within a browser :

if(dojo.isBrowser){

dojo.addOnLoad(function(){

if(dojo.byId("testList")){

var _tm = ( (dojo.global.testModule &&

dojo.global.testModule.length)

? dojo.global.testModule : "dojo.tests.module");

dojo.forEach(_tm.split(","), dojo.require, dojo); setTimeout(function(){

doh.run();

}, 500);

}

});

}else{

dojo.require("doh._base");

}

Thus it would not be possible to include the "doh.runner" module in a build.

Change History (3)

comment:1 Changed 12 years ago by alex

Milestone: 1.0

comment:2 Changed 12 years ago by alex

Status: newassigned

comment:3 Changed 12 years ago by alex

Resolution: fixed
Status: assignedclosed

(In [10945]) doh._base doesn't exist, and we pull in the other runners in other places. Fixes #4446

Note: See TracTickets for help on using tickets.