Opened 6 years ago

Closed 6 years ago

#16826 closed defect (invalid)

doh breakOnError doesn't work

Reported by: jandockx Owned by:
Priority: undecided Milestone: tbd
Component: TestFramework Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Although we set breakOnError=false in the runner.html request parameters, both FF FireBug? and the WebKit? debugger break on error during tests.

util/doh/runner.js, line 36 - 38:

if (doh.breakOnError) {

I have no idea why doh.breakOnError is true during a run, although we use the following URL:

  <meta http-equiv="refresh" content="0;url=../../util/doh/runner.html?breakOnError=false&sandbox=true&async=true&boot=../../MYPROJECT/test/_dohConfig.js,../../dojo/dojo.js&testModule=MYPROJECT/test/module" />

Change History (2)

comment:1 Changed 6 years ago by jandockx

A followup: apparently this works as designed. Both breakOnError and sandbox are set to true if the argument appears in the URL arguments, whatever its value.

Not very intuitive, but it is clear to me now.

comment:2 Changed 6 years ago by bill

Description: modified (diff)
Resolution: invalid
Status: newclosed

Agreed that is a bit confusing, but probably won't be fixed.

Note: See TracTickets for help on using tickets.