Closed Bug 1236877 Opened 8 years ago Closed 8 years ago

Intermittent test_tree-model-10.js | Test timed out

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cbook, Unassigned)

References

()

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/logviewer.html#?job_id=19277242&repo=mozilla-inbound

 11:26:34 WARNING - TEST-UNEXPECTED-TIMEOUT | devtools/client/performance/test/unit/test_tree-model-10.js | Test timed out
PROCESS | 19524 | JavaScript strict warning: resource://devtools/shared/Loader.jsm, line 462: ReferenceError: reference to undefined property Services.appinfo.name

Any idea why this line would fail in an xpcshell test? Do we not have appinfo?

`invisibleToDebugger: Services.appinfo.name !== "Firefox"`

Looks like one of those failures where even accessing a property gives an error, unlike a standard privleged `Services.appinfo is undefined`[0]

[0] http://stackoverflow.com/questions/3789277/javascript-reference-to-undefined-property
Flags: needinfo?(jryans)
I believe this error appears in many test runs, but AFAIK the loader still works correctly.  Just confirmed with a random test that this line does appear, but the test passes correctly.

Services.appinfo may not be defined for XPCShell unless you load testing/modules/AppInfo.jsm, which we don't do in most of our tests.
Flags: needinfo?(jryans)
Triaging. Filter on LULUGUBRIOUSUS.
Blocks: perf-orange
No longer blocks: perf-orange
Might be fixed now that the patch in bug 1245886 has landed. Triaging this for now, filter on ORANGENGESCHMACK, if it reoccurs please reopen or file a new bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.