Make JSMarionette not rely on SpecialPowers

RESOLVED WORKSFORME

Status

Testing Graveyard
JSMarionette
RESOLVED WORKSFORME
3 years ago
3 months ago

People

(Reporter: jgriffin, Unassigned)

Tracking

Details

(Reporter)

Description

3 years ago
Even though JSMarionette doesn't explicitly use SpecialPowers, it apparently relies on some side effects of it.

We're trying to remove SpecialPowers from Marionette, so fixing this problem is a prerequisite.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=35351ca17444 illustrates the problem; all tests are failing with:

JavaScriptError: (17) Error: Permission denied to pass object to privileged code

at src: "      waitFor(marionetteScriptFinished, isBooted, timeout);"

which comes from:

gaia/node_modules/marionette-apps/lib/bootwatcher.js
Maybe Gareth could help here?
Flags: needinfo?(gaye)
(Reporter)

Comment 2

3 years ago
I was able to resolve this on the Marionette server side, current try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=53780d422fdf&exclusion_profile=false
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(gaye)
Resolution: --- → WORKSFORME

Updated

3 months ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.