Closed Bug 613071 Opened 14 years ago Closed 14 years ago

"XHR's delegated methods should return" xhr test fails

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: myk, Unassigned)

References

Details

The "XHR's delegated methods should return" xhr module test fails when testing against the latest trunk nightly:

error: fail: XHR's delegated methods should return
info: Traceback (most recent call last):
  File "resource://testpkgs-jetpack-core-lib/xhr.js", line 150, in anonymous
    self._orsc.apply(self, arguments);
  File "resource://testpkgs-jetpack-core-tests/test-xhr.js", line 54, in anonymous
    "XHR's delegated methods should return");
  File "resource://testpkgs-jetpack-core-lib/unit-test.js", line 164, in assert
    this.fail(message);
  File "resource://testpkgs-jetpack-core-lib/unit-test.js", line 113, in fail
    console.trace();
Looks like the problem was bug 608939, which changed the return value of XMLHttpRequest::getAllResponseHeaders() from null to the empty string.

Fixed:

https://github.com/mozilla/addon-sdk/commit/d4088b04c0f77fe92e9108fd9caacc0f259e2a54
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Depends on: 613366
Blocks: 613366
No longer depends on: 613366
No longer blocks: 613366
Depends on: 613366
You need to log in before you can comment on or make changes to this bug.