Closed
Bug 821433
Opened 12 years ago
Closed 8 years ago
ipc/testshell/tests/test_ipcshell.js fails on B2G emulator
Categories
(Testing :: XPCShell Harness, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: ahal, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
1.50 KB,
patch
|
Details | Diff | Splinter Review |
Comment 1•11 years ago
|
||
It seems like the problem is that the path passed in _TEST_FILE doesn't actually refer to the test file, so any tests that use 'load' to re-load themselves fail. This simple test should show up the problem, if that's the case.
Comment 2•11 years ago
|
||
Here's a try push, for B2G xpcshell tests only: https://tbpl.mozilla.org/?tree=Try&rev=e9b5c26e19c3
Comment 3•11 years ago
|
||
That last try push worked; here's another one that does the 'load' in a content child process: https://tbpl.mozilla.org/?tree=Try&rev=ae959b431468
Comment 4•11 years ago
|
||
At last! That push failed! One more, with better diagnostics: https://tbpl.mozilla.org/?tree=Try&rev=271009bf647f
Comment 5•11 years ago
|
||
14:37:08 WARNING - TEST-UNEXPECTED-FAIL | test_load_self.js | Error: cannot open file 'test_load_self.js' for reading == true - See following stack: Okay, that makes it pretty clear. How can we sort out the difference between the parent and child process's situation such that the parent can load the file, but the child can't?
Comment 6•11 years ago
|
||
Attachment #734804 -
Attachment is obsolete: true
Comment 7•11 years ago
|
||
I'm told that B2G child processes do indeed have restricted access to the filesystem; all file I/O should be done by the parent, which should then ship the data to the child. So these tests are not properly written.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•