Closed Bug 1016835 Opened 10 years ago Closed 6 years ago

marionette-apps.close() cannot close an app when it is on background

Categories

(Testing Graveyard :: JSMarionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: evanxd, Unassigned)

Details

Attachments

(1 file)

      No description provided.
Target Milestone: --- → 2.0 S3 (6june)
Target Milestone: 2.0 S3 (6june) → 2.0 S4 (20june)
Target Milestone: 2.0 S4 (20june) → ---
After Bug 1003788 is landed, the `close` method could not close an app run on background. Because currently the `switchToApp` method will wait for an app is with `transition-state` as `opened`.

I am trying to fix this issue, but I don't have a good idea yet. Do you guys have any idea? And I think it is also a good time to find a good way to deal with the dependencies between marionette-apps module and Gaia.
Flags: needinfo?(jlal)
Flags: needinfo?(gaye)
Flags: needinfo?(kgrandon)
I don't really have any ideas on a good solution until you can find a nice way to decouple gaia from marionette-apps, but that sounds challenging. I suppose there is always doing executeScript in the system app, but that doesn't sound like a good idea either. Maybe James/Gareth have better ideas than myself :)
Flags: needinfo?(kgrandon)
Assignee: evan → nobody
Flags: needinfo?(jlal)
Flags: needinfo?(gaye)
Bulk closed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1422750
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: