Closed Bug 741390 Opened 12 years ago Closed 12 years ago

TEST FAILED: test-content-proxy.testXMLHttpRequest (timed out) - window.XMLHttpRequest is not a function

Categories

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

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Unassigned)

References

Details

The tree is orange again. It was introduced by a merge from inbound:
  https://tbpl.mozilla.org/?noignore=1&jobname=jetpack&rev=bbe5086163c9

Here is the failing test:
  info: executing 'test-content-proxy.testXMLHttpRequest'
  ... traceback ...
  TypeError: window.XMLHttpRequest is not a function
  "]
  error: TEST FAILED: test-content-proxy.testXMLHttpRequest (timed out)

Most likely due to:
  https://hg.mozilla.org/mozilla-central/rev/1bdb337e3136
  https://bugzilla.mozilla.org/show_bug.cgi?id=740069
Here's hoping the fix for either/both bug 741267 and bug 741367 fix this for us.
Looks like bug 741267 is the one.
Depends on: 741267
Odd, this tbpl run is still failing the testXMLHttpRequest with a (timed out) error, and it includes the fix from bug 741267: https://tbpl.mozilla.org/php/getParsedLog.php?id=11310218&tree=Firefox&full=1
Oh, now we're hitting the "can't access dead object" thing.

info: executing 'test-content-proxy.testXMLHttpRequest'
error: An exception occurred.
Traceback (most recent call last):
  File "resource://be19b78f-ab3e-47eb-9d88-4314221f207a-at-jetpack/api-utils/lib/observer-service.js", line 144, in 
    this.callback(subject, data);
  File "resource://be19b78f-ab3e-47eb-9d88-4314221f207a-at-jetpack/api-utils/lib/content/symbiont.js", line 132, in onStar
    if (window && window == frame.contentWindow) {
TypeError: can't access dead object
Blocks: hueyfix
In today's nightly I'm not having "can't access dead object" exception, but following error instead:

  TypeError: Function.prototype.toString called on incompatible object
  error: TEST FAILED: test-content-proxy.testXMLHttpRequest (timed out)

Is that dead object exception on by default? Has it been backed out?
So I'm only facing bug 742156. (toString called on incompatible object)
But nothing about bug 695480. (dead object)
Depends on: 742156
(In reply to Alexandre Poirot (:ochameau) from comment #5)
> In today's nightly I'm not having "can't access dead object" exception, but
> following error instead:
> 
>   TypeError: Function.prototype.toString called on incompatible object
>   error: TEST FAILED: test-content-proxy.testXMLHttpRequest (timed out)
> 
> Is that dead object exception on by default? Has it been backed out?

More likely, I saw the dead object exception a few lines after that and mixed up the two issues.

So yeah, I'm only seeing bug 742156 here.
No longer blocks: hueyfix
TBPL says we're (mostly) green now. Marking this FIXED.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.