Open Bug 1476648 Opened 6 years ago Updated 2 years ago

The user can enter online mode without access to the remote config file

Categories

(Core :: AutoConfig (Mission Control Desktop), defect, P5)

62 Branch
Unspecified
All
defect

Tracking

()

Tracking Status
firefox62 --- affected
firefox63 --- affected

People

(Reporter: cbaica, Assigned: mkaply)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video work offline bug
[Affected versions]:
- Fx 62.0b9
- Fx 63.0a1

[Affected platforms]:
- Windows 10 x64
- Ubuntu 16.04 x64
- macOS 10.14 beta

[Preconditions]:

1.Create a file named autoconfig.js in the location: 
a. "/Applications/Firefox.app/Contents/Resources/defaults/pref/" (Mac) 
b. "C:\Program Files\Mozilla Firefox\defaults\pref" (Windows) 
and add the following text to it: 
// 
pref("general.config.filename", "firefox.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", true);

2.Create a file named autoadmin.js on a remote location and add the following text to it: 
// 
lockPref("browser.startup.homepage", "www.google.com");

3.Create a file named firefox.cfg in the location: 
a. "/Applications/Firefox.app/Contents/Resources/" (Mac)
b. "C:\Program Files\Mozilla Firefox" (Windows)
and add the following text in it:
//
lockPref("autoadmin.failover_to_cached", false);
lockPref("autoadmin.global_config_url","http://localhost:8080/autoadmin.js");

[Steps to reproduce]:
1. Launch Firefox (with a fresh profile).
2. Open a new tab and try to navigate to a website (e.g. www.youtube.com).
3. In the displayed page, click the 'Try Again' button.

[Expected result]:
- The user should be kept in 'Offline mode' and the website shouldn't load.

[Actual result]:
- The website is loaded, even though the user does not have access to the remote config file, the "Work Offline" is no longer checked but it is still grayed out.

[Notes]:
- Restarting Firefox by closing and opening it again will launch it again in "Offline mode".
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: