Closed Bug 783795 Opened 12 years ago Closed 12 years ago

locationbar, personalbar, menubar, statusbar, and toolbar are true in a webapp - should be false

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P2)

17 Branch
ARM
Android
defect

Tracking

(firefox17 wontfix, firefox18 affected)

VERIFIED FIXED
Firefox 19
Tracking Status
firefox17 --- wontfix
firefox18 --- affected

People

(Reporter: jsmith, Assigned: mfinkle)

References

Details

(Whiteboard: [blocking-webrtandroid1-])

Attachments

(1 file)

Steps:

1. Go to http://ed.agadak.net/app
2. Install the web app
3. Launch it

Expected:

The locationbar, personalbar, menubar, statusbar, and toolbar values should all be false in a web app.

Actual:

Those values are all true. This prevents a web app from detecting when to show navigation or not if this is true.
What are these properties and are they relevant to mobile?
(In reply to Aaron Train [:aaronmt] from comment #1)
> What are these properties and are they relevant to mobile?

Location Bar: https://developer.mozilla.org/en-US/docs/DOM/window.locationbar
Menu Bar: https://developer.mozilla.org/en/DOM/window.menubar
Personal Bar: https://developer.mozilla.org/en/DOM/window.personalbar
Status Bar: https://developer.mozilla.org/en/DOM/window.statusbar
Toolbar: https://developer.mozilla.org/en/DOM/window.toolbar

The one that's relevant specifically is window.locationbar.visible - It's what we are advertising in our dev docs as a way for an app developer to detect when to show explicit navigation.
Priority: -- → P2
See Also: → 762195
Looks like we could make the same change here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/components/BrowserCLH.js#103

Just need to change the flags based on "pinned"
Whiteboard: [blocking-webrtandroid1-]
Attached patch patchSplinter Review
This patch simply controls adding "all" to the openWindow flags.
Assignee: nobody → mark.finkle
Attachment #670541 - Flags: review?(wjohnston)
Attachment #670541 - Flags: review?(wjohnston) → review+
https://hg.mozilla.org/mozilla-central/rev/04e1aafc9d7c
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Verified fixed on:
-build: Firefox for Android 22.0a1 (2013-03-15)
-device: Acer Iconia A500
-OS: Android 3.2.1
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: