Closed Bug 1034497 Opened 10 years ago Closed 8 years ago

Captive portal should block loading apps until logged in

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(tracking-b2g:+, ux-b2g:2.1)

RESOLVED WONTFIX
tracking-b2g +
ux-b2g 2.1

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

Reproduced with 2.0 aurora from end of june (28th), on Flame. User is in a captive portal coverage zone, but is not authenticated on the captive portal. So any web page opened is getting redirected on the captive portal.

STR:
 0. Make sure you have WiFi on
 1. Make sure you are under a captive portal coverage
 2. Do not authenticate on the captive portal
 3. Launch an hosted app

Expected:
 I should get a "You don't have network connectivity" layer, and not loading the page

Actual:
 App is started and its content shows the captive portal.

This was reproduced for sure with "Word Wars" from Marketplace. Any hosted app should do this.
Adding qawanted to check if this is a regression and help understand what happens in 1.4/1,3 with with STR above.
Keywords: qawanted
I don't think this is a regression. I used to see this in previous versions. If it's not a regression, we should fix it in 2.1 based on UX specs.
Alexandre, I am unsure how set up the STR you have listed in Comment 0.  If you could explain how to use/identify a 'Captive Portal' and how to not authenticate it, that would be very helpful?  Thanks!
Flags: needinfo?(lissyx+mozillians)
QA Contact: ddixon
(In reply to Duane Dixon (ddixon) from comment #3)
> Alexandre, I am unsure how set up the STR you have listed in Comment 0.  If
> you could explain how to use/identify a 'Captive Portal' and how to not
> authenticate it, that would be very helpful?  Thanks!

This isn't something I think you'll be able to help test. William knows how to test captive portal though, so let me ask him to take a look.
Flags: needinfo?(lissyx+mozillians) → needinfo?(whsu)
(In reply to Jason Smith [:jsmith] from comment #4)
> (In reply to Duane Dixon (ddixon) from comment #3)
> > Alexandre, I am unsure how set up the STR you have listed in Comment 0.  If
> > you could explain how to use/identify a 'Captive Portal' and how to not
> > authenticate it, that would be very helpful?  Thanks!
> 
> This isn't something I think you'll be able to help test. William knows how
> to test captive portal though, so let me ask him to take a look.

Thanks, Jason! :D

--- -- - --- -- - --- -- - --- -- - --- -- - --- -- - --- -- -
In reply to Alexandre's question, this is current design from v1.0~present.
If user connects to the internet via Captive portal but is not authenticated, we should pop up authentication page instead of displaying the warning message.
Think about the user flow. If you want to use a "hosted app" but it pops up the following message, what will you do? Go to setting page?
- "You don't have network connectivity"
Also, this message can help user know the current network connection.

If you think this is inappropriate, please needinfo UX team to review it.
Thanks.
Flags: needinfo?(whsu)
I guess it's too late for 2.0 but lets try to fix it for 2.1.
blocking-b2g: 2.0? → ---
feature-b2g: --- → 2.1
Flags: needinfo?(firefoxos-ux-bugzilla)
My recollection matches Gregor's. I don't think this is a regression, either, and I too used to see this in previous versions. We can add UX specs for this to 2.1.
ux-b2g: --- → 2.1
Flags: needinfo?(firefoxos-ux-bugzilla)
Keywords: qawanted
Looks like no progress in this bug. Are we still targeting to land this in 2.1? Can we move it to 2.2?
Flags: needinfo?(anygregor)
feature-b2g: 2.1 → 2.2
Flags: needinfo?(anygregor)
Use feature-b2g:2.2? rather than just 2.2.
feature-b2g: 2.2 → 2.2?
Hi Henry, can you help to check this issue? Is it something related to system app?
Flags: needinfo?(hchang)
This is not committed in 2.2 time frame.
blocking-b2g: --- → backlog
feature-b2g: 2.2? → ---
tracking-b2g: --- → +
(In reply to Vincent Chang[:vchang] from comment #10)
> Hi Henry, can you help to check this issue? Is it something related to
> system app?

I remember we discussed this issue with Tim a couple of months ago.
He said the "You don't have network connectivity" layer is not rendered
by system app but gecko. 

The behavior that Alexandre expected is like how iOS handles captive portal
and pretty different from Android. Firefox OS currently acts like android.
Flags: needinfo?(hchang)
blocking-b2g: backlog → ---
See Also: → 1165260
Assignee: nobody → lissyx+mozillians
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.