Closed Bug 1033941 Opened 12 years ago Closed 8 years ago

[UnitTest][System] Error occur when executing bootstrap_test.js with the profile from |DEBUG=1 make|

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gweng, Unassigned)

Details

1. STR: a. Clone Gaia and |DEBUG=1 make && <nightly> -profile <path to profile-debug>| b. |make test-agent-server| c. change URL to |test-agent.gaiamobile.org:8080| in browser and see the test-agent app opened d. modify the test file and save it e. error occur 2. Kevin mentioned that the error would not occur if we run our tests with DESKTOP=0 which seems that "...our desktop shims are not playing nice yet again" 3. See the dev-gaia thread: https://groups.google.com/forum/#!topic/mozilla.dev.gaia/iFupoboQ_-0
This test is loading real implementation files for the whole world, but not the attention_screen.js (probably because it's not instantiated from bootstrap.js yet). But we can probably add it if it helps.
Including attention_screen.js, we get further, but surface another error, Uncaught Error: TypeError: callScreen.setVisible is not a function. It's strange though, because adding a console.log(new Error().stack) totally fixes it. It seems like we might be running into some platform bug here. One option would be to mock DialerAgent, but I would prefer to get some folks looking into why logging the stack fixes the error, to see if we can fix the platform issue.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.