Closed Bug 1191638 Opened 9 years ago Closed 6 years ago

Settings app navigation need to honour History API

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: shinglyu, Unassigned)

Details

Attachments

(1 file)

*** Description
Currently, the setting app does not follow History API, so History.back() won't work. This is a inconsistent behavior for addon developers.

*** Steps to Reproduce
* Debug the Settings app using WebIDE
* Wait for the Settings app to show up
* Go into WiFi menu
* Use WebIDE's console to issue a history.back()

*** Expected Results
It should go back to the top-level Settings menu

*** Actual Results
Nothing happens

*** Other Notes


*** Reproduction Frequency
100%

*** Build
Build ID               20150709163311
Gaia Revision          fc6643dd3da2ccdf2ab284479643836bb3698644
Gaia Date              2015-07-08 11:09:51
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/917e7b01ea54
Gecko Version          42.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150619.224059
Firmware Date          Fri Jun 19 22:41:08 UTC 2015
Bootloader             s1
Flags: needinfo?(gasolin)
Though gaia settings app does not use navigation as normal web pages. It's a good exercise to support that.

I've come out an prototype with page navigation, but I'm sure there are some edge cases that might fail the operations. (ex: go to build-in keyboard, config wifi from quick settings...)
Flags: needinfo?(gasolin)
nice to have feature
Assignee: nobody → gasolin
Assignee: gasolin → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: