Changes between Initial Version and Version 2 of Ticket #14439


Ignore:
Timestamp:
Dec 9, 2011, 11:30:56 PM (9 years ago)
Author:
bill
Comment:

In the past you needed to return doh.Deferred(). In 1.7 (and 1.6.1 and 1.5.2) you should be able to return dojo.Deferred(), see #12463. However, looks like you found a bug with that. The workaround is to keep using doh.Deferred.

As you mentioned, the documentation is inaccurate in that doh.Deferred still has the old names for methods: callback() and errback(), rather than resolve() and reject(). I'll update that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14439

    • Property Component changed from General to TestFramework
    • Property Summary changed from DOH runner.js and deferred test to error returning dojo.Deferred instead of doh.Deferred from DOH test
    • Property Priority changed from high to normal
    • Property Milestone changed from to 1.8
    • Property Owner set to bill
    • Property Severity changed from major to minor
  • Ticket #14439 – Description

    initial v2  
    1 Runner crushes and prevents other methods from executing
     1Runner crashes and prevents other methods from executing/
    22
    33Reason is line:
     4
     5{{{
    461328 doh._testFinished(groupName, fixture, ret.results[0]);
     7}}}
     8
    59in runner.js
    610and ret.results being undefined