Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351233 - [client] common.js unit test failures on Firefox 4.0
Summary: [client] common.js unit test failures on Firefox 4.0
Status: RESOLVED INVALID
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 15:53 EDT by John Arthorne CLA
Modified: 2011-11-15 10:06 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-07-05 15:53:13 EDT
The common.js unit tests are consistently failing on FireFox 4.0

test AssertionError instanceof Error	Failure	[{"fileName":"http://localhost:42442/static/runner.js","lineNumber":462,"message":"expired.","name":"Error","stack":"(0)@http://localhost:42442/static/runner.js:462\n(0)@http://localhost:42442/static/runner.js:611\n"}]

Error: expired.


-----

[{"fileName":"http://localhost:42442/orion/asyncTestWrapper.js","lineNumber":89,"message":"testSuite[testName].testResult is undefined","name":"TypeError","stack":"([object Object],[object Object])@http://localhost:42442/orion/asyncTestWrapper.js:89\n((function (callbacks) {if (testSuite[testName].testResult.result !== true) {fail(testSuite[testName].testResult.message);}}),(function (errors) {q.finishStep_(errors);}))@http://localhost:42442/static/runner.js:1027\n()@http://localhost:42442/static/runner.js:1049\n()@http://localhost:42442/static/runner.js:1214\n((function (errors) {runner.finishTestMethod(errors);}),(function (queue) {if (first) {_launch(queue);first = false;}queue.call(\"Results: \" + testName, function (callbacks) {if (testSuite[testName].testResult.result !== true) {fail(testSuite[testName].testResult.message);}});}))@http://localhost:42442/static/runner.js:1718\n()@http://localhost:42442/static/runner.js:1754\n([object Array])@http://localhost:42442/static/runner.js:1743\n([object Array])@http://localhost:42442/static/runner.js:1728\n()@http://localhost:42442/static/runner.js:1053\n()@http://localhost:42442/static/runner.js:1214\n((function (errors) {runner.finishSetUp(errors);}),(void 0))@http://localhost:42442/static/runner.js:1718\n()@http://localhost:42442/static/runner.js:1729\n()@http://localhost:42442/static/runner.js:1685\n([object Array])@http://localhost:42442/static/runner.js:1791\n([object Array])@http://localhost:42442/static/runner.js:1775\n()@http://localhost:42442/static/runner.js:1053\n()@http://localhost:42442/static/runner.js:1214\n((function (errors) {runner.finishTearDown(errors);}),(void 0))@http://localhost:42442/static/runner.js:1718\n()@http://localhost:42442/static/runner.js:1776\n([object Array])@http://localhost:42442/static/runner.js:1765\n([object Array])@http://localhost:42442/static/runner.js:1753\n([object Array])@http://localhost:42442/static/runner.js:1061\n([object Array])@http://localhost:42442/static/runner.js:1050\n([object Array])@http://localhost:42442/static/runner.js:1061\n([object Array])@http://localhost:42442/static/runner.js:1020\n(0)@http://localhost:42442/static/runner.js:795\n"}]

TypeError: testSuite[testName].testResult is undefined

([object Object],[object Object])@http://localhost:42442/orion/asyncTestWrapper.js:89


---


etc...
Comment 1 John Arthorne CLA 2011-11-15 10:06:41 EST
These tests no longer fail, and we aren't targeting FF4 anymore.