Open Bug 950001 Opened 12 years ago Updated 3 years ago

TEST-UNEXPECTED-FAIL | _tests/xpcshell/toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js | "/tmp/tmpfbNupO" == "/tmp/tmpfbNupO/Downloads"

Categories

(Toolkit :: Downloads API, defect)

All
FreeBSD
defect

Tracking

()

People

(Reporter: jbeich, Unassigned)

References

Details

Attachments

(1 file)

$ ./mach xpcshell-test toolkit/components/jsdownloads ... TEST-UNEXPECTED-FAIL | _tests/xpcshell/toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js | test failed (with xpcshell return code: 0), see following log: >>>>>>> TEST-INFO | (xpcshell/head.js) | test MAIN run_test pending (1) TEST-INFO | (xpcshell/head.js) | test run_next_test 0 pending (2) TEST-INFO | (xpcshell/head.js) | test MAIN run_test finished (2) TEST-INFO | (xpcshell/head.js) | running event loop TEST-INFO | _tests/xpcshell/toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js | Starting test_common_initialize TEST-INFO | (xpcshell/head.js) | test test_common_initialize pending (2) TEST-INFO | (xpcshell/head.js) | test run_next_test 1 pending (3) TEST-INFO | (xpcshell/head.js) | test test_common_initialize finished (3) TEST-INFO | (xpcshell/head.js) | test run_next_test 0 finished (2) TEST-INFO | _tests/xpcshell/toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js | Starting test_getSystemDownloadsDirectory TEST-INFO | (xpcshell/head.js) | test test_getSystemDownloadsDirectory pending (2) TEST-INFO | (xpcshell/head.js) | test run_next_test 1 finished (2) TEST-UNEXPECTED-FAIL | _tests/xpcshell/toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js | "/tmp/tmpfbNupO" == "/tmp/tmpfbNupO/Downloads" - See following stack: JS frame :: _tests/xpcshell/toolkit/components/jsdownloads/test/unit/test_DownloadIntegration.js :: test_getSystemDownloadsDirectory :: line 103 JS frame :: resource://gre/modules/Task.jsm :: TaskImpl_run :: line 233 JS frame :: resource://gre/modules/commonjs/sdk/core/promise.js :: resolve :: line 118 JS frame :: resource://gre/modules/commonjs/sdk/core/promise.js :: then :: line 43 JS frame :: resource://gre/modules/commonjs/sdk/core/promise.js :: then :: line 153 JS frame :: resource://gre/modules/Task.jsm :: TaskImpl_handleResultValue :: line 269 JS frame :: resource://gre/modules/Task.jsm :: TaskImpl_run :: line 235 JS frame :: resource://gre/modules/Promise.jsm :: Handler.prototype.process :: line 767 JS frame :: resource://gre/modules/Promise.jsm :: this.PromiseWalker.walkerLoop :: line 531 native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0 TEST-INFO | (xpcshell/head.js) | exiting test TEST-UNEXPECTED-FAIL | resource://gre/modules/commonjs/sdk/core/promise.js | Unexpected exception 2147500036 TEST-INFO | (xpcshell/head.js) | exiting test !!! error running onStopped callback: TypeError: callback is not a function <<<<<<<
Attachment #8347179 - Flags: review?(paolo.mozmail)
Hm, is there a way to match the preprocessor tests in DownloadIntegration.jsm with JavaScript tests, but without having to write a list of values for the appinfo.OS property? Maybe using a different property or test?
Comment on attachment 8347179 [details] [diff] [review] extend conditional to include BSDs Given there has been no answer to comment 1 and I didn't find a better test either, I think checking a few more system names is fine to fix this report until we find a better solution.
Attachment #8347179 - Flags: review?(paolo.mozmail) → review+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: