Closed Bug 1058601 Opened 10 years ago Closed 10 years ago

Unable to close app: JavascriptException: TypeError: manager.getRunningApps is not a function on FxOS >= 2.0

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ato, Unassigned)

References

Details

Attachments

(1 file)

Originally reported in bug 1058345, but I believe this is a separate bug.  It looks like we're not catering for app management Firefox OS >= 2.0.

certapp.py is the Python-Marionette bindings for app_management.js.

test_end for webapi_tests.tcp_socket.test_tcp_socket.TestTcpSocketFormality.test_properties logged while not in progress. Logged with data: {"status": "ERROR", "extra": {}, "expected": "PASS", "test": "webapi_tests.tcp_socket.test_tcp_socket.TestTcpSocketFormality.test_properties", "message": "CloseError: Unable to close app: JavascriptException: TypeError: manager.getRunningApps is not a function\nstacktrace:\n\texecute_async_script @certapp.py, line 121\n\tinline javascript, line 154\n\tsrc: \" let runningApps = manager.getRunningApps();\"\n\n\n", "stack": "Traceback (most recent call last):\n File \"/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/webapi_tests/semiauto/testcase.py\", line 43, in cleanup\n certapp.kill(self.marionette, app=self.app)\n File \"/home/jgriffin/fxos-certsuite/certsuite_venv/local/lib/python2.7/site-packages/fxos_certsuite-0.1-py2.7.egg/webapi_tests/certapp.py\", line 123, in kill\n raise CloseError(\"Unable to close app: %s\" % e)\n"}
Looks like we just need to update app_management.js; I'll have a patch shortly.
https://github.com/mozilla-b2g/fxos-certsuite/commit/caa88de7281e2d3ac00ba46702cf9976ecdd4063
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8480241 - Flags: review?(ato) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: