Closed Bug 1144007 Opened 9 years ago Closed 9 years ago

[MCTS][v2.2] web-platform-tests cannot be executed correctly

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: atsai, Assigned: atsai)

References

Details

Attachments

(2 files)

Attached file report.html
web-platform-tests cannot be executed correctly. I got errors with failing on launching app.

AssertionError: Failed to launch app with name 'CertTest App'
Seems like the test failed due to unable to install embeded apps with javascript.

LOG: Thread-Log INFO STDOUT: 1427183725255	Marionette	INFO	sendToClient: {"from":"0","value":"Failed install uploaded packaged app: installationFailed: Installing apps with any of these permissions is forbidden: embed-apps,engineering-mode,embed-widgets"}, {0a18d6cc-e06d-4771-9b1e-575c4dfc7465}, {0a18d6cc-e06d-4771-9b1e-575c4dfc7465}
James owns wptrunner.

The permissions in question are indeed "forbidden"; see https://dxr.mozilla.org/mozilla-central/source/modules/libpref/init/all.js#820

We had to update fxos-appgen not to create apps with these permissions; see https://github.com/mozilla-b2g/fxos-appgen/commit/f355a5702fdc89a43d00fb98529c2d46ed20aa3f.

It looks like the certtest_app needs to be updated here: https://github.com/w3c/wptrunner/tree/master/wptrunner/browsers/b2g_setup
Flags: needinfo?(james)
Yeah, it seems like it's requesting embed-apps. Should be quite straightforward to remove this request from the manifest file, I would think.
Flags: needinfo?(james)
Assignee: nobody → atsai
Attachment #8585915 - Flags: review?(james)
Attachment #8585915 - Flags: review?(james) → review+
the patch was merged.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: