Closed
Bug 1020896
Opened 12 years ago
Closed 12 years ago
[Vertical] dispatching home event from system frame does not cause homescreen to leave edit mode.
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: zcampbell, Unassigned)
References
Details
With the old homescreen, the following code causes the homescreen to leave edit mode:
# switch to system frame
self.marionette.switch_to_frame()
# dispatch le event
self.marionette.execute_script("window.wrappedJSObject.dispatchEvent(new CustomEvent('home'));")
With the vertical homescreen it does not leave edit mode.
The edit mode class and curtain persists
<body class="edit-mode">
Which can also be verified visually.
Device: Flame
Gaia d2cfef555dabab415085e548ed44c48a99be5c32
Gecko https://hg.mozilla.org/mozilla-central/rev/51b428be6213
BuildID 20140604235615
Version 32.0a1
ro.build.version.incremental=eng.cltbld.20140605.031251
ro.build.date=Thu Jun 5 03:13:01 EDT 2014
| Reporter | ||
Comment 1•12 years ago
|
||
Some magic happened and now this works.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•