Closed Bug 910907 Opened 11 years ago Closed 7 years ago

Make test_idleapi_permissions.html work in b2g mochitest

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file)

Attached patch test_idleapipermissions.diff (deleted) — Splinter Review
test_idleapi_permissions.html is failing in b2g mochitest, because the test file assumes that the browser can't add idle observers by default. This is not the case in b2g mochitest, because the tests are run inside a certified app. A strange thing, I tried to rewrite the file to pushPermissions (see patch), but then I got errors on tryserver like this (on all platforms): ERROR TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/general/test_idleapi_permissions.html | Should be able to add idle observer with permission. Standalone, I don't see the failure, but apparently, it's failing inside the test run.
Assignee: nobody → martijn.martijn
Mass resolving of B2G mochitest bugs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: