Closed Bug 557974 Opened 15 years ago Closed 14 years ago

Intermittent failure in test_XHRSendData.html | Wrong Content-Type sent - got null, expected "foo/bar; charset=IsO-8859-1" (and other errors, followed by timeout while running test_bug199959.html)

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: intermittent-failure)

I wanted to blame this on bug 527102, since it actually happened on the push for that, but I guess I can't. http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270679304.1270680002.2650.gz OS X 10.5.2 mozilla-central debug test mochitests-1/5 on 2010/04/07 15:28:24 s: moz2-darwin9-slave10 4540 INFO TEST-PASS | /tests/content/base/test/test_XHRSendData.html | Wrong body Assertion failure: cx->requestDepth > 0, at /builds/slave/mozilla-central-macosx-debug/build/js/src/jsgc.cpp:2485 --DOMWINDOW == 22 (0xf588f90) [serial = 167] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_NodeIterator_basics_filters.xhtml] --DOMWINDOW == 21 (0xddd81a0) [serial = 153] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_CrossSiteXHR_origin.html] --DOMWINDOW == 20 (0xebf16f0) [serial = 154] [outer = 0x0] [url = data:text/html,%3C%21DOCTYPE%20HTML%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%3Cscript%3E%0Awindow.addEventListener%28%22message%22%2C%20function%28e%29%20%7B%0A%0A%20%20sendData%20%3D%20null%3B%0A%0A%20%20req%20%3D%20eval%28e.data%29%3B%0A%20%20var%20res%20%3D%20%7B%0A%20%20%20%20didFail%3A%20false%2C%0A%20%20%20%20events%3A%20%5B%5D%2C%0A%20%20%20%20progressEvents%3A%200%0A%20%20%7D%3B%0A%20%20%0A%20%20var%20xhr%20%3D%20new%20XMLHttpRequest%28%29%3B%0A%20%20for%20each%28type%20in%20%5B%22load%22%2C%20%22abort%22%2C%20%22error%22%2C%20%22loadstart%22%5D%29%20%7B%0A%20%20%20%20xhr.addEventListener%28type%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20res.events.push%28e.type%29%3B%0A%20%20%20%20%7D%2C%20false%29%3B%0A%20%20%7D%0A%20%20xhr.addEventListener%28%22readystatechange%22%2C%20function%28e%29%20%7B%0A%20%20%20%20res.events.push%28%22rs%22%20+%20xhr.readyState%29%3B%0A%20%20%7D%2C%20false%29%3B%0A%20%20xhr.addEventListener%28%22progress%22%2C%20function%28e%29%20%7B%0A%20%20%20%20res.progressEvents++%3B%0A%20%20%7D%2C%20false%29%3B%0A%20%20if%20%28req.uploadProgress%29%20%7B%0A%20%20%20%20if%20%28req.uploadProgress%20%3D%3D%20%22uploadProgress%22%29%20%7B%0A%20%20%20%20%20%20xhr.addEventListener%28%22uploadProgress%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20res.progressEvents++%3B%0A%20%20%20%20%20%20%7D%2C%20false%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20else%20%7B%0A%20%20%20%20%20%20xhr.upload.addEventListener%28req.uploadProgress%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20res.progressEvents++%3B%0A%20%20%20%20%20%20%7D%2C%20false%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20xhr.onload%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20res.status%20%3D%20xhr.status%3B%0A%20%20%20%20res.statusText%20%3D%20xhr.statusText%3B%0A%20%20%20%20res.responseXML%20%3D%20xhr.responseXML%20%3F%0A%20%20%20%20%20%20%28new%20XMLSerializer%28%29%29.serializeToString%28xhr.responseXML%29%20%3A%0A%20%20%20%20%20%20null%3B%0A%20%20%20%20res.responseText%20%3D%20xhr.responseText%3B%0A%20%20%20%20post%28e%2C%20res%29%3B%0A%20%20%7D%3B%0A%20%20xhr.onerror%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20res.didFail%20%3D%20true%3B%0A%20%20%20%20res.status%20%3D%20xhr.status%3B%0A%20%20%20%20try%20%7B%0A%20%20%20%20%20%20res.statusText%20%3D%20xhr.statusText%3B%0A%20%20%20%20%7D%20catch%20%28e%29%20%7B%0A%20%20%20%20%7D%0A%20%20%20%20res.responseXML%20%3D%20xhr.responseXML%20%3F%0A%20%20%20%20%20%20%28new%20XMLSerializer%28%29%29.serializeToString%28xhr.responseXML%29%20%3A%0A%20%20%20%20%20%20null%3B%0A%20%20%20%20res.responseText%20%3D%20xhr.responseText%3B%0A%20%20%20%20post%28e%2C%20res%29%3B%0A%20%20%7D%0A%0A%20%20if%20%28req.withCred%29%0A%20%20%20%20xhr.withCredentials%20%3D%20true%3B%0A%20%20if%20%28req.body%29%0A%20%20%20%20sendData%20%3D%20req.body%3B%0A%0A%20%20res.events.push%28%22opening%22%29%3B%0A%20%20xhr.open%28req.method%2C%20req.url%2C%20true%29%3B%0A%0A%20%20for%20%28header%20in%20req.headers%29%20%7B%0A%20%20%20%20xhr.setRequestHeader%28header%2C%20req.headers%5Bheader%5D%29%3B%0A%20%20%7D%0A%0A%20%20res.events.push%28%22sending%22%29%3B%0A%20%20xhr.send%28sendData%29%3B%0A%0A%7D%2C%20false%29%3B%0A%0Afunction%20post%28e%2C%20res%29%20%7B%0A%20%20e.source.postMessage%28res.toSource%28%29%2C%20%22*%22%29%3B%0A%7D%0A%0A%3C/script%3E%0A%3C/head%3E%0A%3Cbody%3E%0AInner%20page%0A%3C/body%3E%0A%3C/html%3E] --DOMWINDOW == 19 (0xf507a30) [serial = 166] [outer = 0x0] [url = data:text/html,%3C%21DOCTYPE%20HTML%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%3Cscript%3E%0Awindow.addEventListener%28%22message%22%2C%20function%28e%29%20%7B%0A%0A%20%20sendData%20%3D%20null%3B%0A%0A%20%20req%20%3D%20eval%28e.data%29%3B%0A%20%20var%20res%20%3D%20%7B%0A%20%20%20%20didFail%3A%20false%2C%0A%20%20%20%20events%3A%20%5B%5D%2C%0A%20%20%20%20progressEvents%3A%200%0A%20%20%7D%3B%0A%20%20%0A%20%20var%20xhr%20%3D%20new%20XMLHttpRequest%28%29%3B%0A%20%20for%20each%28type%20in%20%5B%22load%22%2C%20%22abort%22%2C%20%22error%22%2C%20%22loadstart%22%5D%29%20%7B%0A%20%20%20%20xhr.addEventListener%28type%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20res.events.push%28e.type%29%3B%0A%20%20%20%20%7D%2C%20false%29%3B%0A%20%20%7D%0A%20%20xhr.addEventListener%28%22readystatechange%22%2C%20function%28e%29%20%7B%0A%20%20%20%20res.events.push%28%22rs%22%20+%20xhr.readyState%29%3B%0A%20%20%7D%2C%20false%29%3B%0A%20%20xhr.addEventListener%28%22progress%22%2C%20function%28e%29%20%7B%0A%20%20%20%20res.progressEvents++%3B%0A%20%20%7D%2C%20false%29%3B%0A%20%20if%20%28req.uploadProgress%29%20%7B%0A%20%20%20%20if%20%28req.uploadProgress%20%3D%3D%20%22uploadProgress%22%29%20%7B%0A%20%20%20%20%20%20xhr.addEventListener%28%22uploadProgress%22%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20res.progressEvents++%3B%0A%20%20%20%20%20%20%7D%2C%20false%29%3B%0A%20%20%20%20%7D%0A%20%20%20%20else%20%7B%0A%20%20%20%20%20%20xhr.upload.addEventListener%28req.uploadProgress%2C%20function%28e%29%20%7B%0A%20%20%20%20%20%20%20%20res.progressEvents++%3B%0A%20%20%20%20%20%20%7D%2C%20false%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20xhr.onload%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20res.status%20%3D%20xhr.status%3B%0A%20%20%20%20res.statusText%20%3D%20xhr.statusText%3B%0A%20%20%20%20res.responseXML%20%3D%20xhr.responseXML%20%3F%0A%20%20%20%20%20%20%28new%20XMLSerializer%28%29%29.serializeToString%28xhr.responseXML%29%20%3A%0A%20%20%20%20%20%20null%3B%0A%20%20%20%20res.responseText%20%3D%20xhr.responseText%3B%0A%20%20%20%20post%28e%2C%20res%29%3B%0A%20%20%7D%3B%0A%20%20xhr.onerror%20%3D%20function%20%28%29%20%7B%0A%20%20%20%20res.didFail%20%3D%20true%3B%0A%20%20%20%20res.status%20%3D%20xhr.status%3B%0A%20%20%20%20try%20%7B%0A%20%20%20%20%20%20res.statusText%20%3D%20xhr.statusText%3B%0A%20%20%20%20%7D%20catch%20%28e%29%20%7B%0A%20%20%20%20%7D%0A%20%20%20%20res.responseXML%20%3D%20xhr.responseXML%20%3F%0A%20%20%20%20%20%20%28new%20XMLSerializer%28%29%29.serializeToString%28xhr.responseXML%29%20%3A%0A%20%20%20%20%20%20null%3B%0A%20%20%20%20res.responseText%20%3D%20xhr.responseText%3B%0A%20%20%20%20post%28e%2C%20res%29%3B%0A%20%20%7D%0A%0A%20%20if%20%28req.withCred%29%0A%20%20%20%20xhr.withCredentials%20%3D%20true%3B%0A%20%20if%20%28req.body%29%0A%20%20%20%20sendData%20%3D%20req.body%3B%0A%0A%20%20res.events.push%28%22opening%22%29%3B%0A%20%20xhr.open%28req.method%2C%20req.url%2C%20true%29%3B%0A%0A%20%20for%20%28header%20in%20req.headers%29%20%7B%0A%20%20%20%20xhr.setRequestHeader%28header%2C%20req.headers%5Bheader%5D%29%3B%0A%20%20%7D%0A%0A%20%20res.events.push%28%22sending%22%29%3B%0A%20%20xhr.send%28sendData%29%3B%0A%0A%7D%2C%20false%29%3B%0A%0Afunction%20post%28e%2C%20res%29%20%7B%0A%20%20e.source.postMessage%28res.toSource%28%29%2C%20%22*%22%29%3B%0A%7D%0A%0A%3C/script%3E%0A%3C/head%3E%0A%3Cbody%3E%0AInner%20page%0A%3C/body%3E%0A%3C/html%3E] --DOMWINDOW == 18 (0xf45cd30) [serial = 174] [outer = 0xde66b30] [url = about:blank] --DOCSHELL 0x7d3a6f0 == 7 --DOMWINDOW == 17 (0xde66b60) [serial = 173] [outer = 0x0] [url = about:blank] --DOMWINDOW == 16 (0x879aff0) [serial = 172] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_XHRDocURI.html] --DOMWINDOW == 15 (0x4a10cb0) [serial = 171] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_XHR.html] --DOMWINDOW == 14 (0xc60e510) [serial = 170] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_NodeIterator_mutations_3.html] --DOMWINDOW == 13 (0xde81d60) [serial = 169] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_NodeIterator_mutations_2.html] --DOMWINDOW == 12 (0x8577850) [serial = 168] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_NodeIterator_mutations_1.xhtml] NEXT ERROR 4541 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_XHRSendData.html | Wrong Content-Type sent - got null, expected "foo/bar; charset=IsO-8859-1" 4542 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_XHRSendData.html | Wrong body - got "", expected "<!-- comment -->\n<out>hi</out>" 4543 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_XHRSendData.html | [SimpleTest/SimpleTest.js, window.onerror] An error occurred - uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://mochi.test:8888/tests/content/base/test/test_XHRSendData.html :: <TOP_LEVEL> :: line 164" data: no] at :0 JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://mochi.test:8888/tests/content/base/test/test_XHRSendData.html :: <TOP_LEVEL> :: line 164" data: no] 4545 INFO Running /tests/content/base/test/test_bug199959.html... ++DOMWINDOW == 13 (0xc67ae20) [serial = 176] [outer = 0x7b20400] --DOMWINDOW == 12 (0xf4f4160) [serial = 175] [outer = 0x7b20400] [url = http://mochi.test:8888/tests/content/base/test/test_XHRSendData.html] WARNING: An event was posted to a thread that will never run it (rejected): file /builds/slave/mozilla-central-macosx-debug/build/xpcom/threads/nsThread.cpp, line 362 WARNING: leaking reference to nsTimerImpl: file /builds/slave/mozilla-central-macosx-debug/build/xpcom/threads/nsTimerImpl.cpp, line 493 TEST-UNEXPECTED-FAIL | automation.py | application timed out after 330 seconds with no output Can't trigger Breakpad, just killing process
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.